From ebe003ede02157309f5f94aa4ee9fdf7cd4091ca Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Fri, 7 Jul 2023 13:07:14 +0200 Subject: [PATCH] Serve UI from api server (#6954) * Serve UI from api server * Build UI static files + check generation with GHAction * Update UI static files * Use specific commit for verify-changed-files action * Add pkg/apiserver-impl/ui to .gitattributes * Ignore pkg/apiserver-impl/ui/** for sonar --- .gitattributes | 1 + .github/workflows/check-generated-files.yaml | 25 + .sonarcloud.properties | 2 +- Makefile | 4 + pkg/apiserver-impl/starterserver.go | 14 +- pkg/apiserver-impl/ui/103.a91ee51a71a891e1.js | 1 + pkg/apiserver-impl/ui/11.056f3ebd8a590b3c.js | 1 + pkg/apiserver-impl/ui/276.9f963a0fd1365056.js | 1 + pkg/apiserver-impl/ui/299.b6bd942dffceeea6.js | 1 + pkg/apiserver-impl/ui/322.ae1afb6543b1e4a4.js | 1 + pkg/apiserver-impl/ui/330.aa8e97600a53f037.js | 1 + pkg/apiserver-impl/ui/3rdpartylicenses.txt | 1630 +++++++++++++++++ pkg/apiserver-impl/ui/450.1756491cf50c2969.js | 1 + pkg/apiserver-impl/ui/571.d4ff05732590cfb8.js | 1 + pkg/apiserver-impl/ui/598.45cf43e9a099cc7e.js | 1 + pkg/apiserver-impl/ui/6.e9c32fa3193aa48e.js | 1 + pkg/apiserver-impl/ui/608.906465dee653ee56.js | 1 + pkg/apiserver-impl/ui/61.021401352c8fac58.js | 1 + pkg/apiserver-impl/ui/612.634d6c1c5de81831.js | 1 + pkg/apiserver-impl/ui/719.83bb129036b7dcdd.js | 1 + pkg/apiserver-impl/ui/736.6667486e1f659685.js | 1 + pkg/apiserver-impl/ui/784.f79a6e5c423dd7d1.js | 1 + pkg/apiserver-impl/ui/806.c6ff18a1f12536c9.js | 1 + pkg/apiserver-impl/ui/807.04e2b45e478bfa14.js | 1 + pkg/apiserver-impl/ui/883.8dbb7430ed8af2ea.js | 1 + pkg/apiserver-impl/ui/905.32f9d8e99950acca.js | 1 + pkg/apiserver-impl/ui/911.f351650d584d08a4.js | 1 + pkg/apiserver-impl/ui/963.b8dda41c64c45e9f.js | 1 + pkg/apiserver-impl/ui/964.301dc27cc2e0e79c.js | 1 + pkg/apiserver-impl/ui/97.24bb8167eebd4975.js | 1 + pkg/apiserver-impl/ui/973.fabe6d6ee4bc5e5a.js | 1 + pkg/apiserver-impl/ui/CNAME | 1 + pkg/apiserver-impl/ui/assets/github-24.svg | 4 + .../ui/common.a64b1ed6000c8d46.js | 1 + pkg/apiserver-impl/ui/favicon.ico | Bin 0 -> 948 bytes pkg/apiserver-impl/ui/index.html | 16 + .../ui/main.cf0a00d9d9051ab2.js | 1 + .../ui/polyfills.8b3b37cedaf377c3.js | 1 + .../ui/runtime.35da7df5cf523a35.js | 1 + .../ui/styles.5ea7ce8b76eff1c2.css | 1 + 40 files changed, 1725 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/check-generated-files.yaml create mode 100644 pkg/apiserver-impl/ui/103.a91ee51a71a891e1.js create mode 100644 pkg/apiserver-impl/ui/11.056f3ebd8a590b3c.js create mode 100644 pkg/apiserver-impl/ui/276.9f963a0fd1365056.js create mode 100644 pkg/apiserver-impl/ui/299.b6bd942dffceeea6.js create mode 100644 pkg/apiserver-impl/ui/322.ae1afb6543b1e4a4.js create mode 100644 pkg/apiserver-impl/ui/330.aa8e97600a53f037.js create mode 100644 pkg/apiserver-impl/ui/3rdpartylicenses.txt create mode 100644 pkg/apiserver-impl/ui/450.1756491cf50c2969.js create mode 100644 pkg/apiserver-impl/ui/571.d4ff05732590cfb8.js create mode 100644 pkg/apiserver-impl/ui/598.45cf43e9a099cc7e.js create mode 100644 pkg/apiserver-impl/ui/6.e9c32fa3193aa48e.js create mode 100644 pkg/apiserver-impl/ui/608.906465dee653ee56.js create mode 100644 pkg/apiserver-impl/ui/61.021401352c8fac58.js create mode 100644 pkg/apiserver-impl/ui/612.634d6c1c5de81831.js create mode 100644 pkg/apiserver-impl/ui/719.83bb129036b7dcdd.js create mode 100644 pkg/apiserver-impl/ui/736.6667486e1f659685.js create mode 100644 pkg/apiserver-impl/ui/784.f79a6e5c423dd7d1.js create mode 100644 pkg/apiserver-impl/ui/806.c6ff18a1f12536c9.js create mode 100644 pkg/apiserver-impl/ui/807.04e2b45e478bfa14.js create mode 100644 pkg/apiserver-impl/ui/883.8dbb7430ed8af2ea.js create mode 100644 pkg/apiserver-impl/ui/905.32f9d8e99950acca.js create mode 100644 pkg/apiserver-impl/ui/911.f351650d584d08a4.js create mode 100644 pkg/apiserver-impl/ui/963.b8dda41c64c45e9f.js create mode 100644 pkg/apiserver-impl/ui/964.301dc27cc2e0e79c.js create mode 100644 pkg/apiserver-impl/ui/97.24bb8167eebd4975.js create mode 100644 pkg/apiserver-impl/ui/973.fabe6d6ee4bc5e5a.js create mode 100644 pkg/apiserver-impl/ui/CNAME create mode 100644 pkg/apiserver-impl/ui/assets/github-24.svg create mode 100644 pkg/apiserver-impl/ui/common.a64b1ed6000c8d46.js create mode 100644 pkg/apiserver-impl/ui/favicon.ico create mode 100644 pkg/apiserver-impl/ui/index.html create mode 100644 pkg/apiserver-impl/ui/main.cf0a00d9d9051ab2.js create mode 100644 pkg/apiserver-impl/ui/polyfills.8b3b37cedaf377c3.js create mode 100644 pkg/apiserver-impl/ui/runtime.35da7df5cf523a35.js create mode 100644 pkg/apiserver-impl/ui/styles.5ea7ce8b76eff1c2.css diff --git a/.gitattributes b/.gitattributes index 434491cd3..a754655ce 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,3 +13,4 @@ pkg/**/mock.go linguist-generated=true pkg/**/mock_Backend.go linguist-generated=true pkg/**/mock_Client.go linguist-generated=true ui/src/app/api-gen/**/* linguist-generated=true +pkg/apiserver-impl/ui/**/* linguist-generated=true \ No newline at end of file diff --git a/.github/workflows/check-generated-files.yaml b/.github/workflows/check-generated-files.yaml new file mode 100644 index 000000000..851695c63 --- /dev/null +++ b/.github/workflows/check-generated-files.yaml @@ -0,0 +1,25 @@ +name: check-generated-files +on: + pull_request: + branches: + - main + +jobs: + check-ui-static-files: + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Generate static files for UI + run: make ui-static + + - name: Verify Changed files + uses: tj-actions/verify-changed-files@7f1b21ceb7ef533b97b46e89e2f882ee5cb17ae0 + id: verify-changed-files + + - name: Some files have changed + if: steps.verify-changed-files.outputs.files_changed == 'true' + run: | + echo "::error Changed files: ${{ steps.verify-changed-files.outputs.changed_files }} -- Please regenerate with make ui-static" + exit 1 diff --git a/.sonarcloud.properties b/.sonarcloud.properties index 5dc946fd0..190a1e3ee 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -4,7 +4,7 @@ sonar.organization=redhat-developer # Path to sources sonar.sources=cmd,pkg # Source File Exclusions: Patterns used to exclude some source files from analysis. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,pkg/apiserver-impl/ui/** # Source File Inclusions : Patterns used to include some source files and only these ones in analysis. # sonar.inclusions= diff --git a/Makefile b/Makefile index c2c2b4025..eb4a974e2 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,10 @@ default: bin help: ## Show this help. @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) +.PHONY: ui-static +ui-static: ## build static files for UI to be served by embedded API server + (cd ui && npm install && npm run build) && rm -rf pkg/apiserver-impl/ui/* && mv ui/dist/devfile-builder/* pkg/apiserver-impl/ui/ + .PHONY: bin bin: ## build the odo binary go build ${BUILD_FLAGS} cmd/odo/odo.go diff --git a/pkg/apiserver-impl/starterserver.go b/pkg/apiserver-impl/starterserver.go index bd36e6d5a..5b0dfad3f 100644 --- a/pkg/apiserver-impl/starterserver.go +++ b/pkg/apiserver-impl/starterserver.go @@ -2,7 +2,9 @@ package apiserver_impl import ( "context" + "embed" "fmt" + "io/fs" "net" "net/http" @@ -15,6 +17,9 @@ import ( "k8s.io/klog" ) +//go:embed ui/* +var staticFiles embed.FS + type ApiServer struct { PushWatcher <-chan struct{} } @@ -28,6 +33,7 @@ func StartServer( stateClient state.Client, preferenceClient preference.Client, ) ApiServer { + var err error pushWatcher := make(chan struct{}) defaultApiService := NewDefaultApiService( @@ -42,7 +48,13 @@ func StartServer( router := openapi.NewRouter(defaultApiController) - var err error + fSys, err := fs.Sub(staticFiles, "ui") + if err != nil { + // Assertion, error can only happen if the path "ui" is not valid + panic(err) + } + staticServer := http.FileServer(http.FS(fSys)) + router.PathPrefix("/").Handler(staticServer) if port == 0 { port, err = util.NextFreePort(20000, 30001, nil, "") diff --git a/pkg/apiserver-impl/ui/103.a91ee51a71a891e1.js b/pkg/apiserver-impl/ui/103.a91ee51a71a891e1.js new file mode 100644 index 000000000..7f1205429 --- /dev/null +++ b/pkg/apiserver-impl/ui/103.a91ee51a71a891e1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[103],{103:(X,T,p)=>{p.r(T),p.d(T,{diagram:()=>B});var k=p(855),F=p(6012),w=p(5703),O=(p(2735),p(1764),function(){var h=function(c,t,e,n){for(e=e||{},n=c.length;n--;e[c[n]]=t);return e},f=[6,9,10],x={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,i,r,s,b){switch(r){case 1:return i;case 4:break;case 6:i.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},h(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},h(f,[2,3]),h(f,[2,4]),h(f,[2,5]),h(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var n=[0],i=[],r=[null],s=[],b=this.table,$="",E=0,j=0,W=s.slice.call(arguments,1),o=Object.create(this.lexer),g={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(g.yy[P]=this.yy[P]);o.setInput(t,g.yy),g.yy.lexer=o,g.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var A=o.yylloc;s.push(A);var u,z=o.options&&o.options.ranges;this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var l,_,a,L,I,y,S,v={};;){if(this.defaultActions[_=n[n.length-1]]?a=this.defaultActions[_]:((null===l||typeof l>"u")&&(u=void 0,"number"!=typeof(u=i.pop()||o.lex()||1)&&(u instanceof Array&&(u=(i=u).pop()),u=this.symbols_[u]||u),l=u),a=b[_]&&b[_][l]),typeof a>"u"||!a.length||!a[0]){var M;for(I in S=[],b[_])this.terminals_[I]&&I>2&&S.push("'"+this.terminals_[I]+"'");M=o.showPosition?"Parse error on line "+(E+1)+":\n"+o.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[l]||l)+"'":"Parse error on line "+(E+1)+": Unexpected "+(1==l?"end of input":"'"+(this.terminals_[l]||l)+"'"),this.parseError(M,{text:o.match,token:this.terminals_[l]||l,line:o.yylineno,loc:A,expected:S})}if(a[0]instanceof Array&&a.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+l);switch(a[0]){case 1:n.push(l),r.push(o.yytext),s.push(o.yylloc),n.push(a[1]),l=null,j=o.yyleng,$=o.yytext,E=o.yylineno,A=o.yylloc;break;case 2:if(v.$=r[r.length-(y=this.productions_[a[1]][1])],v._$={first_line:s[s.length-(y||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(y||1)].first_column,last_column:s[s.length-1].last_column},z&&(v._$.range=[s[s.length-(y||1)].range[0],s[s.length-1].range[1]]),typeof(L=this.performAction.apply(v,[$,j,E,g.yy,a[1],r,s].concat(W)))<"u")return L;y&&(n=n.slice(0,-1*y*2),r=r.slice(0,-1*y),s=s.slice(0,-1*y)),n.push(this.productions_[a[1]][0]),r.push(v.$),s.push(v._$),n.push(b[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function m(){this.yy={}}return x.lexer={EOF:1,parseError:function(e,n){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,n)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in r)this[s]=r[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;se[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,n,i,r){switch(i){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}},m.prototype=x,x.Parser=m,new m}());O.parser=O;var R="",D=!1;const B={parser:O,db:{setMessage:h=>{k.l.debug("Setting message to: "+h),R=h},getMessage:()=>R,setInfo:h=>{D=h},getInfo:()=>D,clear:F.f},renderer:{draw:(h,f,x)=>{try{k.l.debug("Rendering info diagram\n"+h);const d=(0,k.g)().securityLevel;let m;"sandbox"===d&&(m=(0,w.Ys)("#i"+f));const t=(0,w.Ys)("sandbox"===d?m.nodes()[0].contentDocument.body:"body").select("#"+f);t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+x),t.attr("height",100),t.attr("width",400)}catch(d){k.l.error("Error while rendering info diagram"),k.l.error(d.message)}}},styles:()=>""}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/11.056f3ebd8a590b3c.js b/pkg/apiserver-impl/ui/11.056f3ebd8a590b3c.js new file mode 100644 index 000000000..39863f15b --- /dev/null +++ b/pkg/apiserver-impl/ui/11.056f3ebd8a590b3c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[11],{4011:(U,D,u)=>{u.r(D),u.d(D,{diagram:()=>t});var v=u(3612),B=u(5703),y=u(9006),A=u(8814),_=u(855),P=u(5299),W=u(1775);u(6780),u(2735),u(1764);let k={};const x=function(a){const n=Object.entries(k).find(s=>s[1].label===a);if(n)return n[0]},t={parser:v.p,db:v.d,renderer:{draw:function(a,n,s,o){const l=(0,_.g)().class;k={},_.l.info("Rendering diagram "+a);const p=(0,_.g)().securityLevel;let h;"sandbox"===p&&(h=(0,B.Ys)("#i"+n));const M=(0,B.Ys)("sandbox"===p?h.nodes()[0].contentDocument.body:"body"),c=M.select(`[id='${n}']`);!function(a){a.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),a.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),a.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")}(c);const d=new A.k({multigraph:!0});d.setGraph({isMultiGraph:!0}),d.setDefaultEdgeLabel(function(){return{}});const b=o.db.getClasses(),w=Object.keys(b);for(const r of w){const T=P.s.drawClass(c,b[r],l,o);k[T.id]=T,d.setNode(T.id,T),_.l.info("Org height: "+T.height)}o.db.getRelations().forEach(function(r){_.l.info("tjoho"+x(r.id1)+x(r.id2)+JSON.stringify(r)),d.setEdge(x(r.id1),x(r.id2),{relation:r},r.title||"DEFAULT")}),o.db.getNotes().forEach(function(r){_.l.debug(`Adding note: ${JSON.stringify(r)}`);const L=P.s.drawNote(c,r,l,o);k[L.id]=L,d.setNode(L.id,L),r.class&&r.class in b&&d.setEdge(r.id,x(r.class),{relation:{id1:r.id,id2:r.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),(0,y.bK)(d),d.nodes().forEach(function(r){void 0!==r&&void 0!==d.node(r)&&(_.l.debug("Node "+r+": "+JSON.stringify(d.node(r))),M.select("#"+(o.db.lookUpDomId(r)||r)).attr("transform","translate("+(d.node(r).x-d.node(r).width/2)+","+(d.node(r).y-d.node(r).height/2)+" )"))}),d.edges().forEach(function(r){void 0!==r&&void 0!==d.edge(r)&&(_.l.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(d.edge(r))),P.s.drawEdge(c,d.edge(r),d.edge(r).relation,l,o))});const m=c.node().getBBox(),g=m.width+40,E=m.height+40;(0,W.c)(c,E,g,l.useMaxWidth);const f=`${m.x-20} ${m.y-20} ${g} ${E}`;_.l.debug(`viewBox ${f}`),c.attr("viewBox",f)}},styles:v.s,init:a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute,v.d.clear()}}},5299:(U,D,u)=>{u.d(D,{p:()=>S,s:()=>I});var v=u(5703),B=u(9111),y=u(855);let A=0;const S=function(e){let a=e.match(/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/),n=e.match(/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/);return a&&!n?R(a):n?H(n):k(e)},R=function(e){let i="",t="";try{let a=e[1]?e[1].trim():"",n=e[2]?e[2].trim():"",s=e[3]?(0,y.p)(e[3].trim()):"",o=e[4]?e[4].trim():"",l=e[5]?e[5].trim():"";t=a+n+s+" "+o,i=x(l)}catch{t=e}return{displayText:t,cssStyle:i}},H=function(e){let i="",t="";try{let a=e[1]?e[1].trim():"",n=e[2]?e[2].trim():"",s=e[3]?(0,y.p)(e[3].trim()):"",o=e[4]?e[4].trim():"";t=a+n+"("+s+")"+(e[5]?" : "+(0,y.p)(e[5]).trim():""),i=x(o)}catch{t=e}return{displayText:t,cssStyle:i}},k=function(e){let i="",t="",a="",n=e.indexOf("("),s=e.indexOf(")");if(n>1&&s>n&&s<=e.length){let o="",l="",p=e.substring(0,1);p.match(/\w/)?l=e.substring(0,n).trim():(p.match(/[#+~-]/)&&(o=p),l=e.substring(1,n).trim());const h=e.substring(n+1,s);e.substring(s+1,1),t=x(e.substring(s+1,s+2)),i=o+l+"("+(0,y.p)(h.trim())+")",s");const M=l.append("tspan").text(h).attr("class","title");p||M.attr("dy",t.textHeight);const c=l.node().getBBox().height,d=o.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin/2).attr("y2",t.padding+c+t.dividerMargin/2),b=o.append("text").attr("x",t.padding).attr("y",c+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");p=!0,i.members.forEach(function(r){O(b,r,p,t),p=!1});const w=b.node().getBBox(),C=o.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin+w.height).attr("y2",t.padding+c+t.dividerMargin+w.height),N=o.append("text").attr("x",t.padding).attr("y",c+2*t.dividerMargin+w.height+t.textHeight).attr("fill","white").attr("class","classText");p=!0,i.methods.forEach(function(r){O(N,r,p,t),p=!1});const m=o.node().getBBox();var g=" ";i.cssClasses.length>0&&(g+=i.cssClasses.join(" "));const f=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",g).node().getBBox().width;return l.node().childNodes.forEach(function(r){r.setAttribute("x",(f-r.getBBox().width)/2)}),i.tooltip&&l.insert("title").text(i.tooltip),d.attr("x2",f),C.attr("x2",f),s.width=f,s.height=m.height+t.padding+.5*t.dividerMargin,s},drawEdge:function(e,i,t,a,n){const s=function(g){switch(g){case n.db.relationType.AGGREGATION:return"aggregation";case n.db.relationType.EXTENSION:return"extension";case n.db.relationType.COMPOSITION:return"composition";case n.db.relationType.DEPENDENCY:return"dependency";case n.db.relationType.LOLLIPOP:return"lollipop"}};i.points=i.points.filter(g=>!Number.isNaN(g.y));const o=i.points,l=(0,v.jvg)().x(function(g){return g.x}).y(function(g){return g.y}).curve(v.$0Z),p=e.append("path").attr("d",l(o)).attr("id","edge"+A).attr("class","relation");let M,c,h="";a.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),1==t.relation.lineType&&p.attr("class","relation dashed-line"),10==t.relation.lineType&&p.attr("class","relation dotted-line"),"none"!==t.relation.type1&&p.attr("marker-start","url("+h+"#"+s(t.relation.type1)+"Start)"),"none"!==t.relation.type2&&p.attr("marker-end","url("+h+"#"+s(t.relation.type2)+"End)");const d=i.points.length;let w,C,N,m,b=B.u.calcLabelPosition(i.points);if(M=b.x,c=b.y,d%2!=0&&d>1){let g=B.u.calcCardinalityPosition("none"!==t.relation.type1,i.points,i.points[0]),E=B.u.calcCardinalityPosition("none"!==t.relation.type2,i.points,i.points[d-1]);y.l.debug("cardinality_1_point "+JSON.stringify(g)),y.l.debug("cardinality_2_point "+JSON.stringify(E)),w=g.x,C=g.y,N=E.x,m=E.y}if(void 0!==t.title){const g=e.append("g").attr("class","classLabel"),E=g.append("text").attr("class","label").attr("x",M).attr("y",c).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=E;const f=E.node().getBBox();g.insert("rect",":first-child").attr("class","box").attr("x",f.x-a.padding/2).attr("y",f.y-a.padding/2).attr("width",f.width+a.padding).attr("height",f.height+a.padding)}y.l.info("Rendering relation "+JSON.stringify(t)),void 0!==t.relationTitle1&&"none"!==t.relationTitle1&&e.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",w).attr("y",C).attr("fill","black").attr("font-size","6").text(t.relationTitle1),void 0!==t.relationTitle2&&"none"!==t.relationTitle2&&e.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",N).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle2),A++},drawNote:function(e,i,t,a){y.l.debug("Rendering note ",i,t);const n=i.id,s={id:n,text:i.text,width:0,height:0},o=e.append("g").attr("id",n).attr("class","classGroup");let l=o.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const p=JSON.parse(`"${i.text}"`).split("\n");p.forEach(function(d){y.l.debug(`Adding line: ${d}`),l.append("tspan").text(d).attr("class","title").attr("dy",t.textHeight)});const h=o.node().getBBox(),c=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",h.width+2*t.padding).attr("height",h.height+p.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return l.node().childNodes.forEach(function(d){d.setAttribute("x",(c-d.getBBox().width)/2)}),s.width=c,s.height=h.height+p.length*t.textHeight+t.padding+.5*t.dividerMargin,s},parseMember:S}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/276.9f963a0fd1365056.js b/pkg/apiserver-impl/ui/276.9f963a0fd1365056.js new file mode 100644 index 000000000..719ea4be4 --- /dev/null +++ b/pkg/apiserver-impl/ui/276.9f963a0fd1365056.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[276],{9276:(yt,fe,T)=>{T.r(fe),T.d(fe,{diagram:()=>ut});var q=T(855),Me=T(4169),G=T(6012),Z=T(5703),Ce=T(9006),we=T(8814),$e=T(1775),le=(T(2735),T(1764),T(6780),function(){var e=function(C,r,s,l){for(s=s||{},l=C.length;l--;s[C[l]]=r);return s},t=[1,3],a=[1,5],c=[1,6],d=[1,7],u=[1,8],_=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],h=[1,22],o=[2,13],y=[1,26],R=[1,27],x=[1,28],S=[1,29],v=[1,30],A=[1,31],O=[1,24],N=[1,32],D=[1,33],be=[1,36],U=[71,72],Te=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],ke=[1,56],Se=[1,57],ve=[1,58],Ne=[1,59],xe=[1,60],Ae=[1,61],Oe=[1,62],w=[62,63],B=[1,74],Y=[1,70],W=[1,71],K=[1,72],Q=[1,73],H=[1,75],ee=[1,79],te=[1,80],ie=[1,77],re=[1,78],I=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],he={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(r,s,l,i,E,n,J){var p=n.length-1;switch(E){case 6:this.$=n[p].trim(),i.setAccTitle(this.$);break;case 7:case 8:this.$=n[p].trim(),i.setAccDescription(this.$);break;case 9:i.parseDirective("%%{","open_directive");break;case 10:i.parseDirective(n[p],"type_directive");break;case 11:n[p]=n[p].trim().replace(/'/g,'"'),i.parseDirective(n[p],"arg_directive");break;case 12:i.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:i.addRequirement(n[p-3],n[p-4]);break;case 20:i.setNewReqId(n[p-2]);break;case 21:i.setNewReqText(n[p-2]);break;case 22:i.setNewReqRisk(n[p-2]);break;case 23:i.setNewReqVerifyMethod(n[p-2]);break;case 26:this.$=i.RequirementType.REQUIREMENT;break;case 27:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=i.RiskLevel.LOW_RISK;break;case 33:this.$=i.RiskLevel.MED_RISK;break;case 34:this.$=i.RiskLevel.HIGH_RISK;break;case 35:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=i.VerifyType.VERIFY_TEST;break;case 39:i.addElement(n[p-3]);break;case 40:i.setNewElementType(n[p-2]);break;case 41:i.setNewElementDocRef(n[p-2]);break;case 44:i.addRelationship(n[p-2],n[p],n[p-4]);break;case 45:i.addRelationship(n[p-2],n[p-4],n[p]);break;case 46:this.$=i.Relationships.CONTAINS;break;case 47:this.$=i.Relationships.COPIES;break;case 48:this.$=i.Relationships.DERIVES;break;case 49:this.$=i.Relationships.SATISFIES;break;case 50:this.$=i.Relationships.VERIFIES;break;case 51:this.$=i.Relationships.REFINES;break;case 52:this.$=i.Relationships.TRACES}},table:[{3:1,4:2,6:t,9:4,14:a,16:c,18:d,19:u},{1:[3]},{3:10,4:2,5:[1,9],6:t,9:4,14:a,16:c,18:d,19:u},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},e(_,[2,8]),{20:[2,9]},{3:16,4:2,6:t,9:4,14:a,16:c,18:d,19:u},{1:[2,2]},{4:21,5:h,7:17,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{11:34,12:[1,35],22:be},e([12,22],[2,10]),e(_,[2,6]),e(_,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:h,7:38,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{4:21,5:h,7:39,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{4:21,5:h,7:40,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{4:21,5:h,7:41,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{4:21,5:h,7:42,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},e(U,[2,26]),e(U,[2,27]),e(U,[2,28]),e(U,[2,29]),e(U,[2,30]),e(U,[2,31]),e(Te,[2,55]),e(Te,[2,56]),e(_,[2,4]),{13:51,21:[1,52]},e(_,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:ke,65:Se,66:ve,67:Ne,68:xe,69:Ae,70:Oe},{61:63,64:ke,65:Se,66:ve,67:Ne,68:xe,69:Ae,70:Oe},{11:64,22:be},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},e(w,[2,46]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),{63:[1,68]},e(_,[2,5]),{5:B,29:69,30:Y,33:W,35:K,37:Q,39:H},{5:ee,39:te,55:76,56:ie,58:re},{32:81,71:N,72:D},{32:82,71:N,72:D},e(I,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:B,29:87,30:Y,33:W,35:K,37:Q,39:H},e(I,[2,25]),e(I,[2,39]),{31:[1,88]},{31:[1,89]},{5:ee,39:te,55:90,56:ie,58:re},e(I,[2,43]),e(I,[2,44]),e(I,[2,45]),{32:91,71:N,72:D},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},e(I,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},e(I,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:B,29:116,30:Y,33:W,35:K,37:Q,39:H},{5:B,29:117,30:Y,33:W,35:K,37:Q,39:H},{5:B,29:118,30:Y,33:W,35:K,37:Q,39:H},{5:B,29:119,30:Y,33:W,35:K,37:Q,39:H},{5:ee,39:te,55:120,56:ie,58:re},{5:ee,39:te,55:121,56:ie,58:re},e(I,[2,20]),e(I,[2,21]),e(I,[2,22]),e(I,[2,23]),e(I,[2,40]),e(I,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(r,s){if(!s.recoverable){var l=new Error(r);throw l.hash=s,l}this.trace(r)},parse:function(r){var l=[0],i=[],E=[null],n=[],J=this.table,p="",ne=0,De=0,pt=n.slice.call(arguments,1),g=Object.create(this.lexer),$={yy:{}};for(var de in this.yy)Object.prototype.hasOwnProperty.call(this.yy,de)&&($.yy[de]=this.yy[de]);g.setInput(r,$.yy),$.yy.lexer=g,$.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var _e=g.yylloc;n.push(_e);var V,Et=g.options&&g.options.ranges;this.parseError="function"==typeof $.yy.parseError?$.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,P,k,pe,se,L,ae,j={};;){if(this.defaultActions[P=l[l.length-1]]?k=this.defaultActions[P]:((null===b||typeof b>"u")&&(V=void 0,"number"!=typeof(V=i.pop()||g.lex()||1)&&(V instanceof Array&&(V=(i=V).pop()),V=this.symbols_[V]||V),b=V),k=J[P]&&J[P][b]),typeof k>"u"||!k.length||!k[0]){var Ee;for(se in ae=[],J[P])this.terminals_[se]&&se>2&&ae.push("'"+this.terminals_[se]+"'");Ee=g.showPosition?"Parse error on line "+(ne+1)+":\n"+g.showPosition()+"\nExpecting "+ae.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(ne+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(Ee,{text:g.match,token:this.terminals_[b]||b,line:g.yylineno,loc:_e,expected:ae})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+b);switch(k[0]){case 1:l.push(b),E.push(g.yytext),n.push(g.yylloc),l.push(k[1]),b=null,De=g.yyleng,p=g.yytext,ne=g.yylineno,_e=g.yylloc;break;case 2:if(j.$=E[E.length-(L=this.productions_[k[1]][1])],j._$={first_line:n[n.length-(L||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(L||1)].first_column,last_column:n[n.length-1].last_column},Et&&(j._$.range=[n[n.length-(L||1)].range[0],n[n.length-1].range[1]]),typeof(pe=this.performAction.apply(j,[p,De,ne,$.yy,k[1],E,n].concat(pt)))<"u")return pe;L&&(l=l.slice(0,-1*L*2),E=E.slice(0,-1*L),n=n.slice(0,-1*L)),l.push(this.productions_[k[1]][0]),E.push(j.$),n.push(j._$),l.push(J[l[l.length-2]][l[l.length-1]]);break;case 3:return!0}}return!0}};function ue(){this.yy={}}return he.lexer={EOF:1,parseError:function(s,l){if(!this.yy.parser)throw new Error(s);this.yy.parser.parseError(s,l)},setInput:function(r,s){return this.yy=s||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];return this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,r.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var s=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===i.length?this.yylloc.first_column:0)+i[i.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),s=new Array(r.length+1).join("-");return r+this.upcomingInput()+"\n"+s+"^"},test_match:function(r,s){var l,i,E;if(this.options.backtrack_lexer&&(E={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(E.yylloc.range=this.yylloc.range.slice(0))),(i=r[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],l=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var n in E)this[n]=E[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var r,s,l,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var E=this._currentRules(),n=0;ns[0].length)){if(s=l,i=n,this.options.backtrack_lexer){if(!1!==(r=this.test_match(l,E[n])))return r;if(this._backtrack){s=!1;continue}return!1}if(!this.options.flex)break}return s?!1!==(r=this.test_match(s,E[i]))&&r:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(s){return(s=this.conditionStack.length-1-Math.abs(s||0))>=0?this.conditionStack[s]:"INITIAL"},pushState:function(s){this.begin(s)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(s,l,i,E){switch(i){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return l.yytext=l.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}},ue.prototype=he,he.Parser=ue,new ue}());le.parser=le;let ce=[],m={},z={},M={},X={};const oe={CONTAINS:"contains",ARROW:"arrow"},ye_ReqMarkers=oe;let f={},ge=0;const Re=(e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",f.rect_min_width+"px").attr("height",f.rect_min_height+"px"),me=(e,t,a)=>{let c=f.rect_min_width/2,d=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",c).attr("y",f.rect_padding).attr("dominant-baseline","hanging"),u=0;a.forEach(y=>{0==u?d.append("tspan").attr("text-anchor","middle").attr("x",f.rect_min_width/2).attr("dy",0).text(y):d.append("tspan").attr("text-anchor","middle").attr("x",f.rect_min_width/2).attr("dy",.75*f.line_height).text(y),u++});let o=1.5*f.rect_padding+u*f.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",f.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:d,y:o}},Ie=(e,t,a,c)=>{let d=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",f.rect_padding).attr("y",c).attr("dominant-baseline","hanging"),u=0,h=[];return a.forEach(o=>{let y=o.length;for(;y>30&&u<3;){let R=o.substring(0,30);y=(o=o.substring(30,o.length)).length,h[h.length]=R,u++}if(3==u){let R=h[h.length-1];h[h.length-1]=R.substring(0,R.length-4)+"..."}else h[h.length]=o;u=0}),h.forEach(o=>{d.append("tspan").attr("x",f.rect_padding).attr("dy",f.line_height).text(o)}),d},F=e=>e.replace(/\s/g,"").replace(/\./g,"_"),ut={parser:le,db:{RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},parseDirective:function(e,t,a){Me.m.parseDirective(this,e,t,a)},getConfig:()=>(0,q.g)().req,addRequirement:(e,t)=>(void 0===z[e]&&(z[e]={name:e,type:t,id:m.id,text:m.text,risk:m.risk,verifyMethod:m.verifyMethod}),m={},z[e]),getRequirements:()=>z,setNewReqId:e=>{void 0!==m&&(m.id=e)},setNewReqText:e=>{void 0!==m&&(m.text=e)},setNewReqRisk:e=>{void 0!==m&&(m.risk=e)},setNewReqVerifyMethod:e=>{void 0!==m&&(m.verifyMethod=e)},setAccTitle:G.s,getAccTitle:G.g,setAccDescription:G.b,getAccDescription:G.a,addElement:e=>(void 0===X[e]&&(X[e]={name:e,type:M.type,docRef:M.docRef},q.l.info("Added new requirement: ",e)),M={},X[e]),getElements:()=>X,setNewElementType:e=>{void 0!==M&&(M.type=e)},setNewElementDocRef:e=>{void 0!==M&&(M.docRef=e)},addRelationship:(e,t,a)=>{ce.push({type:e,src:t,dst:a})},getRelationships:()=>ce,clear:()=>{ce=[],m={},z={},M={},X={},(0,G.f)()}},renderer:{draw:(e,t,a,c)=>{f=(0,q.g)().requirement,c.db.clear(),c.parser.parse(e);const d=f.securityLevel;let u;"sandbox"===d&&(u=(0,Z.Ys)("#i"+t));const h=(0,Z.Ys)("sandbox"===d?u.nodes()[0].contentDocument.body:"body").select(`[id='${t}']`);((e,t)=>{let a=e.append("defs").append("marker").attr("id",oe.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");a.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),a.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),a.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",oe.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${t.line_height},${t.line_height/2}\n M${t.line_height},${t.line_height/2}\n L0,${t.line_height}`).attr("stroke-width",1)})(h,f);const o=new we.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:f.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let y=c.db.getRequirements(),R=c.db.getElements(),x=c.db.getRelationships();((e,t,a)=>{Object.keys(e).forEach(c=>{let d=e[c];c=F(c),q.l.info("Added new requirement: ",c);const u=a.append("g").attr("id",c),h=Re(u,"req-"+c);let o=me(u,c+"_title",[`<<${d.type}>>`,`${d.name}`]);Ie(u,c+"_body",[`Id: ${d.id}`,`Text: ${d.text}`,`Risk: ${d.risk}`,`Verification: ${d.verifyMethod}`],o.y);const y=h.node().getBBox();t.setNode(c,{width:y.width,height:y.height,shape:"rect",id:c})})})(y,o,h),((e,t,a)=>{Object.keys(e).forEach(c=>{let d=e[c];const u=F(c),_=a.append("g").attr("id",u),h="element-"+u,o=Re(_,h);let y=me(_,h+"_title",["<>",`${c}`]);Ie(_,h+"_body",[`Type: ${d.type||"Not Specified"}`,`Doc Ref: ${d.docRef||"None"}`],y.y);const R=o.node().getBBox();t.setNode(u,{width:R.width,height:R.height,shape:"rect",id:u})})})(R,o,h),((e,t)=>{e.forEach(function(a){let c=F(a.src),d=F(a.dst);t.setEdge(c,d,{relationship:a})})})(x,o),(0,Ce.bK)(o),function(e,t){t.nodes().forEach(function(a){void 0!==a&&void 0!==t.node(a)&&(e.select("#"+a),e.select("#"+a).attr("transform","translate("+(t.node(a).x-t.node(a).width/2)+","+(t.node(a).y-t.node(a).height/2)+" )"))})}(h,o),x.forEach(function(N){!function(e,t,a,c,d){const u=a.edge(F(t.src),F(t.dst)),_=(0,Z.jvg)().x(function(o){return o.x}).y(function(o){return o.y}),h=e.insert("path","#"+c).attr("class","er relationshipLine").attr("d",_(u.points)).attr("fill","none");t.type==d.db.Relationships.CONTAINS?h.attr("marker-start","url("+q.d.getUrl(f.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(h.attr("stroke-dasharray","10,7"),h.attr("marker-end","url("+q.d.getUrl(f.arrowMarkerAbsolute)+"#"+ye_ReqMarkers.ARROW+"_line_ending)")),((e,t,a,c)=>{const d=t.node().getTotalLength(),u=t.node().getPointAtLength(.5*d),_="rel"+ge;ge++;const o=e.append("text").attr("class","req relationshipLabel").attr("id",_).attr("x",u.x).attr("y",u.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(c).node().getBBox();e.insert("rect","#"+_).attr("class","req reqLabelBox").attr("x",u.x-o.width/2).attr("y",u.y-o.height/2).attr("width",o.width).attr("height",o.height).attr("fill","white").attr("fill-opacity","85%")})(e,h,0,`<<${t.type}>>`)}(h,N,o,t,c)});const S=f.rect_padding,v=h.node().getBBox(),A=v.width+2*S,O=v.height+2*S;(0,$e.c)(h,O,A,f.useMaxWidth),h.attr("viewBox",`${v.x-S} ${v.y-S} ${A} ${O}`)}},styles:e=>`\n\n marker {\n fill: ${e.relationColor};\n stroke: ${e.relationColor};\n }\n\n marker.cross {\n stroke: ${e.lineColor};\n }\n\n svg {\n font-family: ${e.fontFamily};\n font-size: ${e.fontSize};\n }\n\n .reqBox {\n fill: ${e.requirementBackground};\n fill-opacity: 100%;\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${e.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${e.relationLabelBackground};\n fill-opacity: 100%;\n }\n\n .req-title-line {\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${e.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${e.relationLabelColor};\n }\n\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/299.b6bd942dffceeea6.js b/pkg/apiserver-impl/ui/299.b6bd942dffceeea6.js new file mode 100644 index 000000000..f9cff6358 --- /dev/null +++ b/pkg/apiserver-impl/ui/299.b6bd942dffceeea6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[299],{4299:(P0,pe,Y)=>{Y.r(pe),Y.d(pe,{diagram:()=>O0});var Me=Y(4169),L=Y(855),Xt=Y(6012),zt=Y(5703),ye=Y(6780),z=Y(9111),Le=Y(1775),Qt=(Y(2735),Y(1764),function(){var e=function(Mt,b,x,m){for(x=x||{},m=Mt.length;m--;x[Mt[m]]=b);return x},t=[1,6],n=[1,7],o=[1,8],l=[1,9],i=[1,16],a=[1,11],r=[1,12],s=[1,13],u=[1,14],y=[1,15],d=[1,27],p=[1,33],C=[1,34],T=[1,35],R=[1,36],P=[1,37],B=[1,72],F=[1,73],J=[1,74],Z=[1,75],$=[1,76],tt=[1,77],et=[1,78],it=[1,38],nt=[1,39],st=[1,40],at=[1,41],rt=[1,42],lt=[1,43],ot=[1,44],ct=[1,45],ht=[1,46],ut=[1,47],dt=[1,48],ft=[1,49],pt=[1,50],yt=[1,51],_t=[1,52],gt=[1,53],bt=[1,54],xt=[1,55],mt=[1,56],Et=[1,57],vt=[1,59],At=[1,60],kt=[1,61],Ct=[1,62],Ot=[1,63],Tt=[1,64],wt=[1,65],Rt=[1,66],Dt=[1,67],St=[1,68],Pt=[1,69],Yt=[24,52],re=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],Ft=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],E=[1,94],v=[1,95],A=[1,96],k=[1,97],O=[15,24,52],we=[7,8,9,10,18,22,25,26,27,28],Re=[15,24,43,52],Zt=[15,24,43,52,86,87,89,90],Lt=[15,43],le=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],oe={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(b,x,m,_,w,h,Wt){var f=h.length-1;switch(w){case 4:_.setDirection("TB");break;case 5:_.setDirection("BT");break;case 6:_.setDirection("RL");break;case 7:_.setDirection("LR");break;case 11:_.parseDirective("%%{","open_directive");break;case 12:break;case 13:h[f]=h[f].trim().replace(/'/g,'"'),_.parseDirective(h[f],"arg_directive");break;case 14:_.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:_.setC4Type(h[f-3]);break;case 26:_.setTitle(h[f].substring(6)),this.$=h[f].substring(6);break;case 27:_.setAccDescription(h[f].substring(15)),this.$=h[f].substring(15);break;case 28:this.$=h[f].trim(),_.setTitle(this.$);break;case 29:case 30:this.$=h[f].trim(),_.setAccDescription(this.$);break;case 35:case 36:h[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 37:_.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 38:h[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...h[f]),this.$=h[f];break;case 39:_.addDeploymentNode("node",...h[f]),this.$=h[f];break;case 40:_.addDeploymentNode("nodeL",...h[f]),this.$=h[f];break;case 41:_.addDeploymentNode("nodeR",...h[f]),this.$=h[f];break;case 42:_.popBoundaryParseStack();break;case 46:_.addPersonOrSystem("person",...h[f]),this.$=h[f];break;case 47:_.addPersonOrSystem("external_person",...h[f]),this.$=h[f];break;case 48:_.addPersonOrSystem("system",...h[f]),this.$=h[f];break;case 49:_.addPersonOrSystem("system_db",...h[f]),this.$=h[f];break;case 50:_.addPersonOrSystem("system_queue",...h[f]),this.$=h[f];break;case 51:_.addPersonOrSystem("external_system",...h[f]),this.$=h[f];break;case 52:_.addPersonOrSystem("external_system_db",...h[f]),this.$=h[f];break;case 53:_.addPersonOrSystem("external_system_queue",...h[f]),this.$=h[f];break;case 54:_.addContainer("container",...h[f]),this.$=h[f];break;case 55:_.addContainer("container_db",...h[f]),this.$=h[f];break;case 56:_.addContainer("container_queue",...h[f]),this.$=h[f];break;case 57:_.addContainer("external_container",...h[f]),this.$=h[f];break;case 58:_.addContainer("external_container_db",...h[f]),this.$=h[f];break;case 59:_.addContainer("external_container_queue",...h[f]),this.$=h[f];break;case 60:_.addComponent("component",...h[f]),this.$=h[f];break;case 61:_.addComponent("component_db",...h[f]),this.$=h[f];break;case 62:_.addComponent("component_queue",...h[f]),this.$=h[f];break;case 63:_.addComponent("external_component",...h[f]),this.$=h[f];break;case 64:_.addComponent("external_component_db",...h[f]),this.$=h[f];break;case 65:_.addComponent("external_component_queue",...h[f]),this.$=h[f];break;case 67:_.addRel("rel",...h[f]),this.$=h[f];break;case 68:_.addRel("birel",...h[f]),this.$=h[f];break;case 69:_.addRel("rel_u",...h[f]),this.$=h[f];break;case 70:_.addRel("rel_d",...h[f]),this.$=h[f];break;case 71:_.addRel("rel_l",...h[f]),this.$=h[f];break;case 72:_.addRel("rel_r",...h[f]),this.$=h[f];break;case 73:_.addRel("rel_b",...h[f]),this.$=h[f];break;case 74:h[f].splice(0,1),_.addRel("rel",...h[f]),this.$=h[f];break;case 75:_.updateElStyle("update_el_style",...h[f]),this.$=h[f];break;case 76:_.updateRelStyle("update_rel_style",...h[f]),this.$=h[f];break;case 77:_.updateLayoutConfig("update_layout_config",...h[f]),this.$=h[f];break;case 78:this.$=[h[f]];break;case 79:h[f].unshift(h[f-1]),this.$=h[f];break;case 80:case 82:this.$=h[f].trim();break;case 81:let Bt={};Bt[h[f-1].trim()]=h[f].trim(),this.$=Bt;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:t,8:n,9:o,10:l,11:5,12:10,18:i,22:a,25:r,26:s,27:u,28:y},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:t,8:n,9:o,10:l,11:5,12:10,18:i,22:a,25:r,26:s,27:u,28:y},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:d},e([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:P,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{23:79,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:P,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{23:80,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:P,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{23:81,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:P,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{23:82,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:P,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},e(Yt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt}),e(Yt,[2,21]),e(re,[2,23],{15:[1,88]}),e(Yt,[2,43],{15:[1,89]}),e(Ft,[2,26]),e(Ft,[2,27]),{35:[1,90]},{37:[1,91]},e(Ft,[2,30]),{45:92,85:93,86:E,87:v,89:A,90:k},{45:98,85:93,86:E,87:v,89:A,90:k},{45:99,85:93,86:E,87:v,89:A,90:k},{45:100,85:93,86:E,87:v,89:A,90:k},{45:101,85:93,86:E,87:v,89:A,90:k},{45:102,85:93,86:E,87:v,89:A,90:k},{45:103,85:93,86:E,87:v,89:A,90:k},{45:104,85:93,86:E,87:v,89:A,90:k},{45:105,85:93,86:E,87:v,89:A,90:k},{45:106,85:93,86:E,87:v,89:A,90:k},{45:107,85:93,86:E,87:v,89:A,90:k},{45:108,85:93,86:E,87:v,89:A,90:k},{45:109,85:93,86:E,87:v,89:A,90:k},{45:110,85:93,86:E,87:v,89:A,90:k},{45:111,85:93,86:E,87:v,89:A,90:k},{45:112,85:93,86:E,87:v,89:A,90:k},{45:113,85:93,86:E,87:v,89:A,90:k},{45:114,85:93,86:E,87:v,89:A,90:k},{45:115,85:93,86:E,87:v,89:A,90:k},{45:116,85:93,86:E,87:v,89:A,90:k},e(O,[2,66]),{45:117,85:93,86:E,87:v,89:A,90:k},{45:118,85:93,86:E,87:v,89:A,90:k},{45:119,85:93,86:E,87:v,89:A,90:k},{45:120,85:93,86:E,87:v,89:A,90:k},{45:121,85:93,86:E,87:v,89:A,90:k},{45:122,85:93,86:E,87:v,89:A,90:k},{45:123,85:93,86:E,87:v,89:A,90:k},{45:124,85:93,86:E,87:v,89:A,90:k},{45:125,85:93,86:E,87:v,89:A,90:k},{45:126,85:93,86:E,87:v,89:A,90:k},{45:127,85:93,86:E,87:v,89:A,90:k},{30:128,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{15:[1,130],43:[1,129]},{45:131,85:93,86:E,87:v,89:A,90:k},{45:132,85:93,86:E,87:v,89:A,90:k},{45:133,85:93,86:E,87:v,89:A,90:k},{45:134,85:93,86:E,87:v,89:A,90:k},{45:135,85:93,86:E,87:v,89:A,90:k},{45:136,85:93,86:E,87:v,89:A,90:k},{45:137,85:93,86:E,87:v,89:A,90:k},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},e(we,[2,9]),{14:142,21:d},{21:[2,13]},{1:[2,15]},e(Yt,[2,22]),e(re,[2,24],{31:31,29:143,32:p,33:C,34:T,36:R,38:P}),e(Yt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:C,34:T,36:R,38:P,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt}),e(Ft,[2,28]),e(Ft,[2,29]),e(O,[2,46]),e(Re,[2,78],{85:93,45:145,86:E,87:v,89:A,90:k}),e(Zt,[2,80]),{88:[1,146]},e(Zt,[2,82]),e(Zt,[2,83]),e(O,[2,47]),e(O,[2,48]),e(O,[2,49]),e(O,[2,50]),e(O,[2,51]),e(O,[2,52]),e(O,[2,53]),e(O,[2,54]),e(O,[2,55]),e(O,[2,56]),e(O,[2,57]),e(O,[2,58]),e(O,[2,59]),e(O,[2,60]),e(O,[2,61]),e(O,[2,62]),e(O,[2,63]),e(O,[2,64]),e(O,[2,65]),e(O,[2,67]),e(O,[2,68]),e(O,[2,69]),e(O,[2,70]),e(O,[2,71]),e(O,[2,72]),e(O,[2,73]),e(O,[2,74]),e(O,[2,75]),e(O,[2,76]),e(O,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},e(Lt,[2,35]),e(Lt,[2,36]),e(Lt,[2,37]),e(Lt,[2,38]),e(Lt,[2,39]),e(Lt,[2,40]),e(Lt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},e(re,[2,25]),e(Yt,[2,45]),e(Re,[2,79]),e(Zt,[2,81]),e(O,[2,31]),e(O,[2,42]),e(le,[2,32]),e(le,[2,33],{15:[1,152]}),e(we,[2,10]),e(le,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(b,x){if(!x.recoverable){var m=new Error(b);throw m.hash=x,m}this.trace(b)},parse:function(b){var m=[0],_=[],w=[null],h=[],Wt=this.table,f="",Bt=0,De=0,R0=h.slice.call(arguments,1),D=Object.create(this.lexer),It={yy:{}};for(var he in this.yy)Object.prototype.hasOwnProperty.call(this.yy,he)&&(It.yy[he]=this.yy[he]);D.setInput(b,It.yy),It.yy.lexer=D,It.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ue=D.yylloc;h.push(ue);var K,D0=D.options&&D.options.ranges;this.parseError="function"==typeof It.yy.parseError?It.yy.parseError:Object.getPrototypeOf(this).parseError;for(var M,Nt,N,de,$t,H,te,jt={};;){if(this.defaultActions[Nt=m[m.length-1]]?N=this.defaultActions[Nt]:((null===M||typeof M>"u")&&(K=void 0,"number"!=typeof(K=_.pop()||D.lex()||1)&&(K instanceof Array&&(K=(_=K).pop()),K=this.symbols_[K]||K),M=K),N=Wt[Nt]&&Wt[Nt][M]),typeof N>"u"||!N.length||!N[0]){var fe;for($t in te=[],Wt[Nt])this.terminals_[$t]&&$t>2&&te.push("'"+this.terminals_[$t]+"'");fe=D.showPosition?"Parse error on line "+(Bt+1)+":\n"+D.showPosition()+"\nExpecting "+te.join(", ")+", got '"+(this.terminals_[M]||M)+"'":"Parse error on line "+(Bt+1)+": Unexpected "+(1==M?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(fe,{text:D.match,token:this.terminals_[M]||M,line:D.yylineno,loc:ue,expected:te})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Nt+", token: "+M);switch(N[0]){case 1:m.push(M),w.push(D.yytext),h.push(D.yylloc),m.push(N[1]),M=null,De=D.yyleng,f=D.yytext,Bt=D.yylineno,ue=D.yylloc;break;case 2:if(jt.$=w[w.length-(H=this.productions_[N[1]][1])],jt._$={first_line:h[h.length-(H||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(H||1)].first_column,last_column:h[h.length-1].last_column},D0&&(jt._$.range=[h[h.length-(H||1)].range[0],h[h.length-1].range[1]]),typeof(de=this.performAction.apply(jt,[f,De,Bt,It.yy,N[1],w,h].concat(R0)))<"u")return de;H&&(m=m.slice(0,-1*H*2),w=w.slice(0,-1*H),h=h.slice(0,-1*H)),m.push(this.productions_[N[1]][0]),w.push(jt.$),h.push(jt._$),m.push(Wt[m[m.length-2]][m[m.length-1]]);break;case 3:return!0}}return!0}};function ce(){this.yy={}}return oe.lexer={EOF:1,parseError:function(x,m){if(!this.yy.parser)throw new Error(x);this.yy.parser.parseError(x,m)},setInput:function(b,x){return this.yy=x||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var b=this._input[0];return this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b,b.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},unput:function(b){var x=b.length,m=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===_.length?this.yylloc.first_column:0)+_[_.length-m.length].length-m[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(b){this.unput(this.match.slice(b))},pastInput:function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var b=this.pastInput(),x=new Array(b.length+1).join("-");return b+this.upcomingInput()+"\n"+x+"^"},test_match:function(b,x){var m,_,w;if(this.options.backtrack_lexer&&(w={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(w.yylloc.range=this.yylloc.range.slice(0))),(_=b[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=_.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_?_[_.length-1].length-_[_.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],m=this.performAction.call(this,this.yy,this,x,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),m)return m;if(this._backtrack){for(var h in w)this[h]=w[h];return!1}return!1},next:function(){if(this.done)return this.EOF;var b,x,m,_;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),h=0;hx[0].length)){if(x=m,_=h,this.options.backtrack_lexer){if(!1!==(b=this.test_match(m,w[h])))return b;if(this._backtrack){x=!1;continue}return!1}if(!this.options.flex)break}return x?!1!==(b=this.test_match(x,w[_]))&&b:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(x){this.conditionStack.push(x)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(x){return(x=this.conditionStack.length-1-Math.abs(x||0))>=0?this.conditionStack[x]:"INITIAL"},pushState:function(x){this.begin(x)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(x,m,_,w){switch(_){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 78:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 21:case 75:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:case 58:return this.begin("rel_u"),76;case 59:case 60:return this.begin("rel_d"),77;case 61:case 62:return this.begin("rel_l"),78;case 63:case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:case 84:this.popState(),this.popState();break;case 74:case 76:return 90;case 77:this.begin("string");break;case 79:case 85:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}},ce.prototype=oe,oe.Parser=ce,new ce}());Qt.parser=Qt;const Be=Qt;let j=[],G=[""],S="global",U="",W=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],Ut=[],ee="",ie=!1,Ht=4,Kt=2;var _e;const ge=function(e){return null==e?j:j.filter(t=>t.parentBoundary===e)},q=function(){return ie},be={addPersonOrSystem:function(e,t,n,o,l,i,a){if(null===t||null===n)return;let r={};const s=j.find(u=>u.alias===t);if(s&&t===s.alias?r=s:(r.alias=t,j.push(r)),r.label=null==n?{text:""}:{text:n},null==o)r.descr={text:""};else if("object"==typeof o){let[u,y]=Object.entries(o)[0];r[u]={text:y}}else r.descr={text:o};if("object"==typeof l){let[u,y]=Object.entries(l)[0];r[u]=y}else r.sprite=l;if("object"==typeof i){let[u,y]=Object.entries(i)[0];r[u]=y}else r.tags=i;if("object"==typeof a){let[u,y]=Object.entries(a)[0];r[u]=y}else r.link=a;r.typeC4Shape={text:e},r.parentBoundary=S,r.wrap=q()},addPersonOrSystemBoundary:function(e,t,n,o,l){if(null===e||null===t)return;let i={};const a=W.find(r=>r.alias===e);if(a&&e===a.alias?i=a:(i.alias=e,W.push(i)),i.label=null==t?{text:""}:{text:t},null==n)i.type={text:"system"};else if("object"==typeof n){let[r,s]=Object.entries(n)[0];i[r]={text:s}}else i.type={text:n};if("object"==typeof o){let[r,s]=Object.entries(o)[0];i[r]=s}else i.tags=o;if("object"==typeof l){let[r,s]=Object.entries(l)[0];i[r]=s}else i.link=l;i.parentBoundary=S,i.wrap=q(),U=S,S=e,G.push(U)},addContainer:function(e,t,n,o,l,i,a,r){if(null===t||null===n)return;let s={};const u=j.find(y=>y.alias===t);if(u&&t===u.alias?s=u:(s.alias=t,j.push(s)),s.label=null==n?{text:""}:{text:n},null==o)s.techn={text:""};else if("object"==typeof o){let[y,d]=Object.entries(o)[0];s[y]={text:d}}else s.techn={text:o};if(null==l)s.descr={text:""};else if("object"==typeof l){let[y,d]=Object.entries(l)[0];s[y]={text:d}}else s.descr={text:l};if("object"==typeof i){let[y,d]=Object.entries(i)[0];s[y]=d}else s.sprite=i;if("object"==typeof a){let[y,d]=Object.entries(a)[0];s[y]=d}else s.tags=a;if("object"==typeof r){let[y,d]=Object.entries(r)[0];s[y]=d}else s.link=r;s.wrap=q(),s.typeC4Shape={text:e},s.parentBoundary=S},addContainerBoundary:function(e,t,n,o,l){if(null===e||null===t)return;let i={};const a=W.find(r=>r.alias===e);if(a&&e===a.alias?i=a:(i.alias=e,W.push(i)),i.label=null==t?{text:""}:{text:t},null==n)i.type={text:"container"};else if("object"==typeof n){let[r,s]=Object.entries(n)[0];i[r]={text:s}}else i.type={text:n};if("object"==typeof o){let[r,s]=Object.entries(o)[0];i[r]=s}else i.tags=o;if("object"==typeof l){let[r,s]=Object.entries(l)[0];i[r]=s}else i.link=l;i.parentBoundary=S,i.wrap=q(),U=S,S=e,G.push(U)},addComponent:function(e,t,n,o,l,i,a,r){if(null===t||null===n)return;let s={};const u=j.find(y=>y.alias===t);if(u&&t===u.alias?s=u:(s.alias=t,j.push(s)),s.label=null==n?{text:""}:{text:n},null==o)s.techn={text:""};else if("object"==typeof o){let[y,d]=Object.entries(o)[0];s[y]={text:d}}else s.techn={text:o};if(null==l)s.descr={text:""};else if("object"==typeof l){let[y,d]=Object.entries(l)[0];s[y]={text:d}}else s.descr={text:l};if("object"==typeof i){let[y,d]=Object.entries(i)[0];s[y]=d}else s.sprite=i;if("object"==typeof a){let[y,d]=Object.entries(a)[0];s[y]=d}else s.tags=a;if("object"==typeof r){let[y,d]=Object.entries(r)[0];s[y]=d}else s.link=r;s.wrap=q(),s.typeC4Shape={text:e},s.parentBoundary=S},addDeploymentNode:function(e,t,n,o,l,i,a,r){if(null===t||null===n)return;let s={};const u=W.find(y=>y.alias===t);if(u&&t===u.alias?s=u:(s.alias=t,W.push(s)),s.label=null==n?{text:""}:{text:n},null==o)s.type={text:"node"};else if("object"==typeof o){let[y,d]=Object.entries(o)[0];s[y]={text:d}}else s.type={text:o};if(null==l)s.descr={text:""};else if("object"==typeof l){let[y,d]=Object.entries(l)[0];s[y]={text:d}}else s.descr={text:l};if("object"==typeof a){let[y,d]=Object.entries(a)[0];s[y]=d}else s.tags=a;if("object"==typeof r){let[y,d]=Object.entries(r)[0];s[y]=d}else s.link=r;s.nodeType=e,s.parentBoundary=S,s.wrap=q(),U=S,S=t,G.push(U)},popBoundaryParseStack:function(){S=U,G.pop(),U=G.pop(),G.push(U)},addRel:function(e,t,n,o,l,i,a,r,s){if(null==e||null==t||null==n||null==o)return;let u={};const y=Ut.find(d=>d.from===t&&d.to===n);if(y?u=y:Ut.push(u),u.type=e,u.from=t,u.to=n,u.label={text:o},null==l)u.techn={text:""};else if("object"==typeof l){let[d,p]=Object.entries(l)[0];u[d]={text:p}}else u.techn={text:l};if(null==i)u.descr={text:""};else if("object"==typeof i){let[d,p]=Object.entries(i)[0];u[d]={text:p}}else u.descr={text:i};if("object"==typeof a){let[d,p]=Object.entries(a)[0];u[d]=p}else u.sprite=a;if("object"==typeof r){let[d,p]=Object.entries(r)[0];u[d]=p}else u.tags=r;if("object"==typeof s){let[d,p]=Object.entries(s)[0];u[d]=p}else u.link=s;u.wrap=q()},updateElStyle:function(e,t,n,o,l,i,a,r,s,u,y){let d=j.find(p=>p.alias===t);if(void 0!==d||(d=W.find(p=>p.alias===t),void 0!==d)){if(null!=n)if("object"==typeof n){let[p,C]=Object.entries(n)[0];d[p]=C}else d.bgColor=n;if(null!=o)if("object"==typeof o){let[p,C]=Object.entries(o)[0];d[p]=C}else d.fontColor=o;if(null!=l)if("object"==typeof l){let[p,C]=Object.entries(l)[0];d[p]=C}else d.borderColor=l;if(null!=i)if("object"==typeof i){let[p,C]=Object.entries(i)[0];d[p]=C}else d.shadowing=i;if(null!=a)if("object"==typeof a){let[p,C]=Object.entries(a)[0];d[p]=C}else d.shape=a;if(null!=r)if("object"==typeof r){let[p,C]=Object.entries(r)[0];d[p]=C}else d.sprite=r;if(null!=s)if("object"==typeof s){let[p,C]=Object.entries(s)[0];d[p]=C}else d.techn=s;if(null!=u)if("object"==typeof u){let[p,C]=Object.entries(u)[0];d[p]=C}else d.legendText=u;if(null!=y)if("object"==typeof y){let[p,C]=Object.entries(y)[0];d[p]=C}else d.legendSprite=y}},updateRelStyle:function(e,t,n,o,l,i,a){const r=Ut.find(s=>s.from===t&&s.to===n);if(void 0!==r){if(null!=o)if("object"==typeof o){let[s,u]=Object.entries(o)[0];r[s]=u}else r.textColor=o;if(null!=l)if("object"==typeof l){let[s,u]=Object.entries(l)[0];r[s]=u}else r.lineColor=l;if(null!=i)if("object"==typeof i){let[s,u]=Object.entries(i)[0];r[s]=parseInt(u)}else r.offsetX=parseInt(i);if(null!=a)if("object"==typeof a){let[s,u]=Object.entries(a)[0];r[s]=parseInt(u)}else r.offsetY=parseInt(a)}},updateLayoutConfig:function(e,t,n){let o=Ht,l=Kt;if("object"==typeof t){const i=Object.values(t)[0];o=parseInt(i)}else o=parseInt(t);if("object"==typeof n){const i=Object.values(n)[0];l=parseInt(i)}else l=parseInt(n);o>=1&&(Ht=o),l>=1&&(Kt=l)},autoWrap:q,setWrap:function(e){ie=e},getC4ShapeArray:ge,getC4Shape:function(e){return j.find(t=>t.alias===e)},getC4ShapeKeys:function(e){return Object.keys(ge(e))},getBoundarys:function(e){return null==e?W:W.filter(t=>t.parentBoundary===e)},getCurrentBoundaryParse:function(){return S},getParentBoundaryParse:function(){return U},getRels:function(){return Ut},getTitle:function(){return ee},getC4Type:function(){return _e},getC4ShapeInRow:function(){return Ht},getC4BoundaryInRow:function(){return Kt},setAccTitle:Xt.s,getAccTitle:Xt.g,getAccDescription:Xt.a,setAccDescription:Xt.b,parseDirective:function(e,t,n){Me.m.parseDirective(this,e,t,n)},getConfig:()=>(0,L.g)().c4,clear:function(){j=[],W=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],U="",S="global",G=[""],Ut=[],G=[""],ee="",ie=!1,Ht=4,Kt=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(e){ee=(0,L.b)(e,(0,L.g)())},setC4Type:function(e){_e=(0,L.b)(e,(0,L.g)())}},ne=function(e,t){const n=e.append("rect");if(n.attr("x",t.x),n.attr("y",t.y),n.attr("fill",t.fill),n.attr("stroke",t.stroke),n.attr("width",t.width),n.attr("height",t.height),n.attr("rx",t.rx),n.attr("ry",t.ry),"undefined"!==t.attrs&&null!==t.attrs)for(let o in t.attrs)n.attr(o,t.attrs[o]);return"undefined"!==t.class&&n.attr("class",t.class),n},Q=function(){function e(l,i,a,r,s,u,y){o(i.append("text").attr("x",a+s/2).attr("y",r+u/2+5).style("text-anchor","middle").text(l),y)}function t(l,i,a,r,s,u,y,d){const{fontSize:p,fontFamily:C,fontWeight:T}=d,R=l.split(L.d.lineBreakRegex);for(let P=0;P({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}))(n,t.typeC4Shape.text);switch(s.append("text").attr("fill",a).attr("font-family",y.fontFamily).attr("font-size",y.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",t.typeC4Shape.width).attr("x",t.x+t.width/2-t.typeC4Shape.width/2).attr("y",t.y+t.typeC4Shape.Y).text("<<"+t.typeC4Shape.text+">>"),t.typeC4Shape.text){case"person":case"external_person":!function(e,t,n,o,l,i){const a=e.append("image");a.attr("width",t),a.attr("height",n),a.attr("x",o),a.attr("y",l);let r=i.startsWith("data:image/png;base64")?i:(0,ye.N)(i);a.attr("xlink:href",r)}(s,48,48,t.x+t.width/2-24,t.y+t.image.Y,r)}let d=n[t.typeC4Shape.text+"Font"]();return d.fontWeight="bold",d.fontSize=d.fontSize+2,d.fontColor=a,Q(n)(t.label.text,s,t.x,t.y+t.label.Y,t.width,t.height,{fill:a},d),d=n[t.typeC4Shape.text+"Font"](),d.fontColor=a,t.techn&&""!==(null==(o=t.techn)?void 0:o.text)?Q(n)(t.techn.text,s,t.x,t.y+t.techn.Y,t.width,t.height,{fill:a,"font-style":"italic"},d):t.type&&""!==t.type.text&&Q(n)(t.type.text,s,t.x,t.y+t.type.Y,t.width,t.height,{fill:a,"font-style":"italic"},d),t.descr&&""!==t.descr.text&&(d=n.personFont(),d.fontColor=a,Q(n)(t.descr.text,s,t.x,t.y+t.descr.Y,t.width,t.height,{fill:a},d)),t.height};let Gt=0,qt=0,Ee=4,se=2;Qt.yy=be;let g={};class ve{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,ae(t.db.getConfig())}setData(t,n,o,l){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=n,this.nextData.starty=this.data.starty=o,this.nextData.stopy=this.data.stopy=l}updateVal(t,n,o,l){t[n]=void 0===t[n]?o:l(o,t[n])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let n=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,o=n+t.width,l=this.nextData.starty+2*t.margin,i=l+t.height;(n>=this.data.widthLimit||o>=this.data.widthLimit||this.nextData.cnt>Ee)&&(n=this.nextData.startx+t.margin+g.nextLinePaddingX,l=this.nextData.stopy+2*t.margin,this.nextData.stopx=o=n+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=l+t.height,this.nextData.cnt=1),t.x=n,t.y=l,this.updateVal(this.data,"startx",n,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",o,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",n,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",o,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},ae(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const ae=function(e){(0,L.c)(g,e),e.fontFamily&&(g.personFontFamily=g.systemFontFamily=g.messageFontFamily=e.fontFamily),e.fontSize&&(g.personFontSize=g.systemFontSize=g.messageFontSize=e.fontSize),e.fontWeight&&(g.personFontWeight=g.systemFontWeight=g.messageFontWeight=e.fontWeight)},Vt=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),Jt=e=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),A0=e=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight});function V(e,t,n,o,l){if(!t[e].width)if(n)t[e].text=(0,z.w)(t[e].text,l,o),t[e].textLines=t[e].text.split(L.d.lineBreakRegex).length,t[e].width=l,t[e].height=(0,z.k)(t[e].text,o);else{let i=t[e].text.split(L.d.lineBreakRegex);t[e].textLines=i.length;let a=0;t[e].height=0,t[e].width=0;for(const r of i)t[e].width=Math.max((0,z.j)(r,o),t[e].width),a=(0,z.k)(r,o),t[e].height=t[e].height+a}}const Ae=function(e,t,n){t.x=n.data.startx,t.y=n.data.starty,t.width=n.data.stopx-n.data.startx,t.height=n.data.stopy-n.data.starty,t.label.y=g.c4ShapeMargin-35;let o=t.wrap&&g.wrap,l=Jt(g);l.fontSize=l.fontSize+2,l.fontWeight="bold",V("label",t,o,l,(0,z.j)(t.label.text,l)),function(e,t,n){const o=e.append("g");let a=t.fontColor?t.fontColor:"black",r={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};t.nodeType&&(r={"stroke-width":1}),ne(o,{x:t.x,y:t.y,fill:t.bgColor?t.bgColor:"none",stroke:t.borderColor?t.borderColor:"#444444",width:t.width,height:t.height,rx:2.5,ry:2.5,attrs:r});let u=n.boundaryFont();u.fontWeight="bold",u.fontSize=u.fontSize+2,u.fontColor=a,Q(n)(t.label.text,o,t.x,t.y+t.label.Y,t.width,t.height,{fill:"#444444"},u),t.type&&""!==t.type.text&&(u=n.boundaryFont(),u.fontColor=a,Q(n)(t.type.text,o,t.x,t.y+t.type.Y,t.width,t.height,{fill:"#444444"},u)),t.descr&&""!==t.descr.text&&(u=n.boundaryFont(),u.fontSize=u.fontSize-2,u.fontColor=a,Q(n)(t.descr.text,o,t.x,t.y+t.descr.Y,t.width,t.height,{fill:"#444444"},u))}(e,t,g)},ke=function(e,t,n,o){let l=0;for(const i of o){l=0;const a=n[i];let r=Vt(g,a.typeC4Shape.text);switch(r.fontSize=r.fontSize-2,a.typeC4Shape.width=(0,z.j)("<<"+a.typeC4Shape.text+">>",r),a.typeC4Shape.height=r.fontSize+2,a.typeC4Shape.Y=g.c4ShapePadding,l=a.typeC4Shape.Y+a.typeC4Shape.height-4,a.image={width:0,height:0,Y:0},a.typeC4Shape.text){case"person":case"external_person":a.image.width=48,a.image.height=48,a.image.Y=l,l=a.image.Y+a.image.height}a.sprite&&(a.image.width=48,a.image.height=48,a.image.Y=l,l=a.image.Y+a.image.height);let s=a.wrap&&g.wrap,u=g.width-2*g.c4ShapePadding,y=Vt(g,a.typeC4Shape.text);y.fontSize=y.fontSize+2,y.fontWeight="bold",V("label",a,s,y,u),a.label.Y=l+8,l=a.label.Y+a.label.height,a.type&&""!==a.type.text?(a.type.text="["+a.type.text+"]",V("type",a,s,Vt(g,a.typeC4Shape.text),u),a.type.Y=l+5,l=a.type.Y+a.type.height):a.techn&&""!==a.techn.text&&(a.techn.text="["+a.techn.text+"]",V("techn",a,s,Vt(g,a.techn.text),u),a.techn.Y=l+5,l=a.techn.Y+a.techn.height);let d=l,p=a.label.width;a.descr&&""!==a.descr.text&&(V("descr",a,s,Vt(g,a.typeC4Shape.text),u),a.descr.Y=l+20,l=a.descr.Y+a.descr.height,p=Math.max(a.label.width,a.descr.width),d=l-5*a.descr.textLines),p+=g.c4ShapePadding,a.width=Math.max(a.width||g.width,p,g.width),a.height=Math.max(a.height||g.height,d,g.height),a.margin=a.margin||g.c4ShapeMargin,e.insert(a),X_drawC4Shape(t,a,g)}e.bumpLastMargin(g.c4ShapeMargin)};class I{constructor(t,n){this.x=t,this.y=n}}let Ce=function(e,t){let n=e.x,o=e.y,l=t.x,i=t.y,a=n+e.width/2,r=o+e.height/2,s=Math.abs(n-l),u=Math.abs(o-i),y=u/s,d=e.height/e.width,p=null;return o==i&&nl?p=new I(n,r):n==l&&oi&&(p=new I(a,o)),n>l&&o=y?new I(n,r+y*e.width/2):new I(a-s/u*e.height/2,o+e.height):n=y?new I(n+e.width,r+y*e.width/2):new I(a+s/u*e.height/2,o+e.height):ni?p=d>=y?new I(n+e.width,r-y*e.width/2):new I(a+e.height/2*s/u,o):n>l&&o>i&&(p=d>=y?new I(n,r-e.width/2*y):new I(a-e.height/2*s/u,o)),p},k0=function(e,t){let n={x:0,y:0};n.x=t.x+t.width/2,n.y=t.y+t.height/2;let o=Ce(e,n);return n.x=e.x+e.width/2,n.y=e.y+e.height/2,{startPoint:o,endPoint:Ce(t,n)}};function Oe(e,t,n,o,l){let i=new ve(l);i.data.widthLimit=n.data.widthLimit/Math.min(se,o.length);for(let[a,r]of o.entries()){let s=0;r.image={width:0,height:0,Y:0},r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=s,s=r.image.Y+r.image.height);let u=r.wrap&&g.wrap,y=Jt(g);if(y.fontSize=y.fontSize+2,y.fontWeight="bold",V("label",r,u,y,i.data.widthLimit),r.label.Y=s+8,s=r.label.Y+r.label.height,r.type&&""!==r.type.text&&(r.type.text="["+r.type.text+"]",V("type",r,u,Jt(g),i.data.widthLimit),r.type.Y=s+5,s=r.type.Y+r.type.height),r.descr&&""!==r.descr.text){let T=Jt(g);T.fontSize=T.fontSize-2,V("descr",r,u,T,i.data.widthLimit),r.descr.Y=s+20,s=r.descr.Y+r.descr.height}if(0==a||a%se==0){let T=n.data.startx+g.diagramMarginX,R=n.data.stopy+g.diagramMarginY+s;i.setData(T,T,R,R)}else{let T=i.data.stopx!==i.data.startx?i.data.stopx+g.diagramMarginX:i.data.startx,R=i.data.starty;i.setData(T,T,R,R)}i.name=r.alias;let d=l.db.getC4ShapeArray(r.alias),p=l.db.getC4ShapeKeys(r.alias);p.length>0&&ke(i,e,d,p);let C=l.db.getBoundarys(t=r.alias);C.length>0&&Oe(e,t,i,C,l),"global"!==r.alias&&Ae(e,r,i),n.data.stopy=Math.max(i.data.stopy+g.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(i.data.stopx+g.c4ShapeMargin,n.data.stopx),Gt=Math.max(Gt,n.data.stopx),qt=Math.max(qt,n.data.stopy)}}const Te={drawPersonOrSystemArray:ke,drawBoundary:Ae,setConf:ae,draw:function(e,t,n,o){g=(0,L.g)().c4;const l=(0,L.g)().securityLevel;let i;"sandbox"===l&&(i=(0,zt.Ys)("#i"+t));const a=(0,zt.Ys)("sandbox"===l?i.nodes()[0].contentDocument.body:"body");let r=o.db;o.db.setWrap(g.wrap),Ee=r.getC4ShapeInRow(),se=r.getC4BoundaryInRow(),L.l.debug(`C:${JSON.stringify(g,null,2)}`);const s="sandbox"===l?a.select(`[id="${t}"]`):(0,zt.Ys)(`[id="${t}"]`);(function(e){e.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")})(s),function(e){e.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")}(s),function(e){e.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")}(s);let u=new ve(o);u.setData(g.diagramMarginX,g.diagramMarginX,g.diagramMarginY,g.diagramMarginY),u.data.widthLimit=screen.availWidth,Gt=g.diagramMarginX,qt=g.diagramMarginY;const y=o.db.getTitle();Oe(s,"",u,o.db.getBoundarys(""),o),function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")}(s),function(e){e.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")}(s),function(e){const n=e.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);n.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),n.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")}(s),function(e){e.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")}(s),function(e,t,n,o){let l=0;for(let i of t){l+=1;let a=i.wrap&&g.wrap,r=A0(g);"C4Dynamic"===o.db.getC4Type()&&(i.label.text=l+": "+i.label.text);let u=(0,z.j)(i.label.text,r);V("label",i,a,r,u),i.techn&&""!==i.techn.text&&(u=(0,z.j)(i.techn.text,r),V("techn",i,a,r,u)),i.descr&&""!==i.descr.text&&(u=(0,z.j)(i.descr.text,r),V("descr",i,a,r,u));let y=n(i.from),d=n(i.to),p=k0(y,d);i.startPoint=p.startPoint,i.endPoint=p.endPoint}((e,t,n)=>{const o=e.append("g");let l=0;for(let i of t){let a=i.textColor?i.textColor:"#444444",r=i.lineColor?i.lineColor:"#444444",s=i.offsetX?parseInt(i.offsetX):0,u=i.offsetY?parseInt(i.offsetY):0,y="";if(0===l){let p=o.append("line");p.attr("x1",i.startPoint.x),p.attr("y1",i.startPoint.y),p.attr("x2",i.endPoint.x),p.attr("y2",i.endPoint.y),p.attr("stroke-width","1"),p.attr("stroke",r),p.style("fill","none"),"rel_b"!==i.type&&p.attr("marker-end","url("+y+"#arrowhead)"),("birel"===i.type||"rel_b"===i.type)&&p.attr("marker-start","url("+y+"#arrowend)"),l=-1}else{let p=o.append("path");p.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",i.startPoint.x).replaceAll("starty",i.startPoint.y).replaceAll("controlx",i.startPoint.x+(i.endPoint.x-i.startPoint.x)/2-(i.endPoint.x-i.startPoint.x)/4).replaceAll("controly",i.startPoint.y+(i.endPoint.y-i.startPoint.y)/2).replaceAll("stopx",i.endPoint.x).replaceAll("stopy",i.endPoint.y)),"rel_b"!==i.type&&p.attr("marker-end","url("+y+"#arrowhead)"),("birel"===i.type||"rel_b"===i.type)&&p.attr("marker-start","url("+y+"#arrowend)")}let d=n.messageFont();Q(n)(i.label.text,o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+s,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+u,i.label.width,i.label.height,{fill:a},d),i.techn&&""!==i.techn.text&&(d=n.messageFont(),Q(n)("["+i.techn.text+"]",o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+s,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+n.messageFontSize+5+u,Math.max(i.label.width,i.techn.width),i.techn.height,{fill:a,"font-style":"italic"},d))}})(e,t,g)}(s,o.db.getRels(),o.db.getC4Shape,o),u.data.stopx=Gt,u.data.stopy=qt;const p=u.data;let T=p.stopy-p.starty+2*g.diagramMarginY;const P=p.stopx-p.startx+2*g.diagramMarginX;y&&s.append("text").text(y).attr("x",(p.stopx-p.startx)/2-4*g.diagramMarginX).attr("y",p.starty+g.diagramMarginY),(0,Le.c)(s,T,P,g.useMaxWidth);const B=y?60:0;s.attr("viewBox",p.startx-g.diagramMarginX+" -"+(g.diagramMarginY+B)+" "+P+" "+(T+B)),L.l.debug("models:",p)}},O0={parser:Be,db:be,renderer:Te,styles:e=>`.person {\n stroke: ${e.personBorder};\n fill: ${e.personBkg};\n }\n`,init:e=>{Te.setConf(e.c4)}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/322.ae1afb6543b1e4a4.js b/pkg/apiserver-impl/ui/322.ae1afb6543b1e4a4.js new file mode 100644 index 000000000..2660b1348 --- /dev/null +++ b/pkg/apiserver-impl/ui/322.ae1afb6543b1e4a4.js @@ -0,0 +1 @@ +(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[322],{2405:function(Xr,Ne,_e){var de;Xr.exports=(de=_e(5982),function(G){var P={};function T(S){if(P[S])return P[S].exports;var I=P[S]={i:S,l:!1,exports:{}};return G[S].call(I.exports,I,I.exports,T),I.l=!0,I.exports}return T.m=G,T.c=P,T.i=function(S){return S},T.d=function(S,I,V){T.o(S,I)||Object.defineProperty(S,I,{configurable:!1,enumerable:!0,get:V})},T.n=function(S){var I=S&&S.__esModule?function(){return S.default}:function(){return S};return T.d(I,"a",I),I},T.o=function(S,I){return Object.prototype.hasOwnProperty.call(S,I)},T.p="",T(T.s=7)}([function(G,P){G.exports=de},function(G,P,T){"use strict";var S=T(0).FDLayoutConstants;function I(){}for(var V in S)I[V]=S[V];I.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,I.DEFAULT_RADIAL_SEPARATION=S.DEFAULT_EDGE_LENGTH,I.DEFAULT_COMPONENT_SEPERATION=60,I.TILE=!0,I.TILING_PADDING_VERTICAL=10,I.TILING_PADDING_HORIZONTAL=10,I.TREE_REDUCTION_ON_INCREMENTAL=!1,G.exports=I},function(G,P,T){"use strict";var S=T(0).FDLayoutEdge;function I(R,X,D){S.call(this,R,X,D)}for(var V in I.prototype=Object.create(S.prototype),S)I[V]=S[V];G.exports=I},function(G,P,T){"use strict";var S=T(0).LGraph;function I(R,X,D){S.call(this,R,X,D)}for(var V in I.prototype=Object.create(S.prototype),S)I[V]=S[V];G.exports=I},function(G,P,T){"use strict";var S=T(0).LGraphManager;function I(R){S.call(this,R)}for(var V in I.prototype=Object.create(S.prototype),S)I[V]=S[V];G.exports=I},function(G,P,T){"use strict";var S=T(0).FDLayoutNode,I=T(0).IMath;function V(X,D,z,$){S.call(this,X,D,z,$)}for(var R in V.prototype=Object.create(S.prototype),S)V[R]=S[R];V.prototype.move=function(){var X=this.graphManager.getLayout();this.displacementX=X.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=X.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>X.coolingFactor*X.maxNodeDisplacement&&(this.displacementX=X.coolingFactor*X.maxNodeDisplacement*I.sign(this.displacementX)),Math.abs(this.displacementY)>X.coolingFactor*X.maxNodeDisplacement&&(this.displacementY=X.coolingFactor*X.maxNodeDisplacement*I.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),X.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},V.prototype.propogateDisplacementToChildren=function(X,D){for(var $,z=this.getChild().getNodes(),q=0;q0?this.positionNodesRadially(x):(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),W=new Set(this.getAllNodes()),_=this.nodesWithGravity.filter(function(ee){return W.has(ee)}),this.graphManager.setAllNodesToApplyGravitation(_),this.positionNodesRandomly())}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},oe.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%z.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var x=new Set(this.getAllNodes()),W=this.nodesWithGravity.filter(function(he){return x.has(he)});this.graphManager.setAllNodesToApplyGravitation(W),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=z.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=z.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var _=!this.isTreeGrowing&&!this.isGrowthFinished,ee=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(_,ee),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},oe.prototype.getPositionsData=function(){for(var x=this.graphManager.getAllNodes(),W={},_=0;_1)for(Pe=0;Peee&&(ee=Math.floor(Ie.y)),Ae=Math.floor(Ie.x+D.DEFAULT_COMPONENT_SEPERATION)}this.transform(new K($.WORLD_CENTER_X-Ie.x/2,$.WORLD_CENTER_Y-Ie.y/2))},oe.radialLayout=function(x,W,_){var ee=Math.max(this.maxDiagonalInTree(x),D.DEFAULT_RADIAL_SEPARATION);oe.branchRadialLayout(W,null,0,359,0,ee);var he=re.calculateBounds(x),Ae=new Te;Ae.setDeviceOrgX(he.getMinX()),Ae.setDeviceOrgY(he.getMinY()),Ae.setWorldOrgX(_.x),Ae.setWorldOrgY(_.y);for(var Ie=0;Ie1;){var Ht=It[0];It.splice(0,1);var St=He.indexOf(Ht);St>=0&&He.splice(St,1),dt--,rt--}Ut=null!=W?(He.indexOf(It[0])+1)%dt:0;for(var vr=Math.abs(ee-_)/rt,gr=Ut;ct!=rt;gr=++gr%dt){var en=He[gr].getOtherEnd(x);if(en!=W){var tn=(_+ct*vr)%360;oe.branchRadialLayout(en,x,tn,(tn+vr)%360,he+Ae,Ae),ct++}}},oe.maxDiagonalInTree=function(x){for(var W=ae.MIN_VALUE,_=0;_W&&(W=he)}return W},oe.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},oe.prototype.groupZeroDegreeMembers=function(){var x=this,W={};this.memberGroups={},this.idToDummyNode={};for(var _=[],ee=this.graphManager.getAllNodes(),he=0;he"u"&&(W[Pe]=[]),W[Pe]=W[Pe].concat(Ae)}Object.keys(W).forEach(function(et){if(W[et].length>1){var Ze="DummyCompound_"+et;x.memberGroups[Ze]=W[et];var Dt=W[et][0].getParent(),Ot=new R(x.graphManager);Ot.id=Ze,Ot.paddingLeft=Dt.paddingLeft||0,Ot.paddingRight=Dt.paddingRight||0,Ot.paddingBottom=Dt.paddingBottom||0,Ot.paddingTop=Dt.paddingTop||0,x.idToDummyNode[Ze]=Ot;var He=x.getGraphManager().add(x.newGraph(),Ot),rt=Dt.getChild();rt.add(Ot);for(var ct=0;ct=0;x--){var W=this.compoundOrder[x];this.adjustLocations(this.tiledMemberPack[W.id],W.rect.x,W.rect.y,W.paddingLeft,W.paddingTop)}},oe.prototype.repopulateZeroDegreeMembers=function(){var x=this,W=this.tiledZeroDegreePack;Object.keys(W).forEach(function(_){var ee=x.idToDummyNode[_];x.adjustLocations(W[_],ee.rect.x,ee.rect.y,ee.paddingLeft,ee.paddingTop)})},oe.prototype.getToBeTiled=function(x){var W=x.id;if(null!=this.toBeTiled[W])return this.toBeTiled[W];var _=x.getChild();if(null==_)return this.toBeTiled[W]=!1,!1;for(var ee=_.getNodes(),he=0;he0)return this.toBeTiled[W]=!1,!1;if(null!=Ae.getChild()){if(!this.getToBeTiled(Ae))return this.toBeTiled[W]=!1,!1}else this.toBeTiled[Ae.id]=!1}return this.toBeTiled[W]=!0,!0},oe.prototype.getNodeDegree=function(x){for(var _=x.getEdges(),ee=0,he=0;he<_.length;he++){var Ae=_[he];Ae.getSource().id!==Ae.getTarget().id&&(ee+=1)}return ee},oe.prototype.getNodeDegreeWithChildren=function(x){var W=this.getNodeDegree(x);if(null==x.getChild())return W;for(var _=x.getChild().getNodes(),ee=0;ee<_.length;ee++)W+=this.getNodeDegreeWithChildren(_[ee]);return W},oe.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},oe.prototype.fillCompexOrderByDFS=function(x){for(var W=0;Wet&&(et=Dt.rect.height)}_+=et+x.verticalPadding}},oe.prototype.tileCompoundMembers=function(x,W){var _=this;this.tiledMemberPack=[],Object.keys(x).forEach(function(ee){var he=W[ee];_.tiledMemberPack[ee]=_.tileNodes(x[ee],he.paddingLeft+he.paddingRight),he.rect.width=_.tiledMemberPack[ee].width,he.rect.height=_.tiledMemberPack[ee].height})},oe.prototype.tileNodes=function(x,W){var he={rows:[],rowWidth:[],rowHeight:[],width:0,height:W,verticalPadding:D.TILING_PADDING_VERTICAL,horizontalPadding:D.TILING_PADDING_HORIZONTAL};x.sort(function(Pe,et){return Pe.rect.width*Pe.rect.height>et.rect.width*et.rect.height?-1:Pe.rect.width*Pe.rect.height0&&(Ie+=x.horizontalPadding),x.rowWidth[_]=Ie,x.width0&&(Pe+=x.verticalPadding);var et=0;Pe>x.rowHeight[_]&&(et=x.rowHeight[_],x.rowHeight[_]=Pe,et=x.rowHeight[_]-et),x.height+=et,x.rows[_].push(W)},oe.prototype.getShortestRowIndex=function(x){for(var W=-1,_=Number.MAX_VALUE,ee=0;ee_&&(W=ee,_=x.rowWidth[ee]);return W},oe.prototype.canAddHorizontal=function(x,W,_){var ee=this.getShortestRowIndex(x);if(ee<0)return!0;var he=x.rowWidth[ee];if(he+x.horizontalPadding+W<=x.width)return!0;var Ie,Pe,Ae=0;return x.rowHeight[ee]<_&&ee>0&&(Ae=_+x.verticalPadding-x.rowHeight[ee]),Ie=x.width-he>=W+x.horizontalPadding?(x.height+Ae)/(he+W+x.horizontalPadding):(x.height+Ae)/x.width,Ae=_+x.verticalPadding,(Pe=x.widthAe&&W!=_){ee.splice(-1,1),x.rows[_].push(he),x.rowWidth[W]=x.rowWidth[W]-Ae,x.rowWidth[_]=x.rowWidth[_]+Ae,x.width=x.rowWidth[instance.getLongestRowIndex(x)];for(var Ie=Number.MIN_VALUE,Pe=0;PeIe&&(Ie=ee[Pe].height);W>0&&(Ie+=x.verticalPadding);var et=x.rowHeight[W]+x.rowHeight[_];x.rowHeight[W]=Ie,x.rowHeight[_]0)for(var rt=he;rt<=Ae;rt++)He[0]+=this.grid[rt][Ie-1].length+this.grid[rt][Ie].length-1;if(Ae0)for(rt=Ie;rt<=Pe;rt++)He[3]+=this.grid[he-1][rt].length+this.grid[he][rt].length-1;for(var dt,Ut,ct=ae.MAX_VALUE,It=0;It0&&(Pe=Te.getGraphManager().add(Te.newGraph(),_),this.processChildrenList(Pe,W,Te))}},K.prototype.stop=function(){return this.stopped=!0,this};var ae=function(re){re("layout","cose-bilkent",K)};typeof cytoscape<"u"&&ae(cytoscape),G.exports=ae}]))},7403:function(Xr){Xr.exports=function(){"use strict";function Ne(t){return(Ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function _e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,a=new Array(e);r"u"?null:window,z=D?D.navigator:null,$=Ne(""),q=Ne({}),K=Ne(function(){}),se=typeof HTMLElement>"u"?"undefined":Ne(HTMLElement),ae=function(e){return e&&e.instanceString&&re(e.instanceString)?e.instanceString():null},Z=function(e){return null!=e&&Ne(e)==$},re=function(e){return null!=e&&Ne(e)===K},Te=function(e){return!ee(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},oe=function(e){return null!=e&&Ne(e)===q&&!Te(e)&&e.constructor===Object},x=function(e){return null!=e&&Ne(e)===Ne(1)&&!isNaN(e)},_=function(e){if("undefined"!==se)return null!=e&&e instanceof HTMLElement},ee=function(e){return he(e)||Ae(e)},he=function(e){return"collection"===ae(e)&&e._private.single},Ae=function(e){return"collection"===ae(e)&&!e._private.single},Ie=function(e){return"core"===ae(e)},Pe=function(e){return"stylesheet"===ae(e)},Ze=function(e){return null==e||!(""!==e&&!e.match(/^\s+$/))},He=function(e){return function(e){return null!=e&&Ne(e)===q}(e)&&re(e.then)},rt=function(){return z&&z.userAgent.match(/msie|trident|edge/i)},ct=function(e,r){r||(r=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var i=[],s=0;sr?1:0},Qe=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments,r=1;r255)return;r.push(Math.floor(s))}if((n[1]||n[2]||n[3])&&!(n[1]&&n[2]&&n[3]))return;var u=a[4];if(void 0!==u){if((u=parseFloat(u))<0||u>1)return;r.push(u)}}return r}(e)||function(e){var r,a,n,i,s,o,l,u;function f(d,g,y){return y<0&&(y+=1),y>1&&(y-=1),y<1/6?d+6*(g-d)*y:y<.5?g:y<2/3?d+(g-d)*(2/3-y)*6:d}var h=new RegExp("^"+en+"$").exec(e);if(h){if((a=parseInt(h[1]))<0?a=(360- -1*a%360)%360:a>360&&(a%=360),a/=360,(n=parseFloat(h[2]))<0||n>100||(n/=100,(i=parseFloat(h[3]))<0||i>100)||(i/=100,void 0!==(s=h[4])&&((s=parseFloat(s))<0||s>1)))return;if(0===n)o=l=u=Math.round(255*i);else{var c=i<.5?i*(1+n):i+n-i*n,v=2*i-c;o=Math.round(255*f(v,c,a+1/3)),l=Math.round(255*f(v,c,a)),u=Math.round(255*f(v,c,a-1/3))}r=[o,l,u,s]}return r}(e)},Bs={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},$n=function(e){for(var r=e.map,a=e.keys,n=a.length,i=0;i=e||w<0||h&&L-u>=i}function p(){var L=jt();if(y(L))return m(L);o=setTimeout(p,function g(L){var C=e-(L-l);return h?un(C,i-(L-u)):C}(L))}function m(L){return o=void 0,c&&a?v(L):(a=n=void 0,s)}function O(){var L=jt(),w=y(L);if(a=arguments,n=this,l=L,w){if(void 0===o)return function d(L){return u=L,o=setTimeout(p,e),f?v(L):s}(l);if(h)return clearTimeout(o),o=setTimeout(p,e),v(l)}return void 0===o&&(o=setTimeout(p,e)),s}return e=yr(e)||0,ve(r)&&(f=!!r.leading,i=(h="maxWait"in r)?Sa(yr(r.maxWait)||0,e):i,c="trailing"in r?!!r.trailing:c),O.cancel=function b(){void 0!==o&&clearTimeout(o),u=0,a=l=n=o=void 0},O.flush=function E(){return void 0===o?s:m(jt())},O},Yi=D?D.performance:null,Fs=Yi&&Yi.now?function(){return Yi.now()}:function(){return Date.now()},pl=function(){if(D){if(D.requestAnimationFrame)return function(t){D.requestAnimationFrame(t)};if(D.mozRequestAnimationFrame)return function(t){D.mozRequestAnimationFrame(t)};if(D.webkitRequestAnimationFrame)return function(t){D.webkitRequestAnimationFrame(t)};if(D.msRequestAnimationFrame)return function(t){D.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout(function(){t(Fs())},1e3/60)}}(),Wn=function(e){return pl(e)},Gr=Fs,La=9261,zs=65599,ln=5381,Gs=function(e){for(var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:La;!(n=e.next()).done;)a=a*zs+n.value|0;return a},fn=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:La)*zs+e|0},hn=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ln;return(r<<5)+r+e|0},_r=function(e){return 2097152*e[0]+e[1]},_n=function(e,r){return[fn(e[0],r[0]),hn(e[1],r[1])]},fa=function(e,r){var a={value:0,done:!1},n=0,i=e.length;return Gs({next:function(){return n=0&&(e[n]!==r||(e.splice(n,1),!a));n--);},Wi=function(e){e.splice(0,e.length)},Tr=function(e,r,a){return a&&(r=It(a,r)),e[r]},Kr=function(e,r,a,n){a&&(r=It(a,r)),e[r]=n},Sl=function(){function t(){_e(this,t),this._obj={}}return G(t,[{key:"set",value:function(r,a){return this._obj[r]=a,this}},{key:"delete",value:function(r){return this._obj[r]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(r){return void 0!==this._obj[r]}},{key:"get",value:function(r){return this._obj[r]}}]),t}(),Ir=typeof Map<"u"?Map:Sl,Al=function(){function t(e){if(_e(this,t),this._obj=Object.create(null),this.size=0,null!=e){var r;r=null!=e.instanceString&&e.instanceString()===this.instanceString()?e.toArray():e;for(var a=0;a"u"?"undefined":Ne(Set))?Set:Al,Kn=function(e,r){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==r&&Ie(e)){var n=r.group;if(null==n&&(n=r.data&&null!=r.data.source&&null!=r.data.target?"edges":"nodes"),"nodes"===n||"edges"===n){this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:r.data||{},position:r.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:n,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!r.selected,selectable:void 0===r.selectable||!!r.selectable,locked:!!r.locked,grabbed:!1,grabbable:void 0===r.grabbable||!!r.grabbable,pannable:void 0===r.pannable?"edges"===n:!!r.pannable,active:!1,classes:new Aa,animation:{current:[],queue:[]},rscratch:{},scratch:r.scratch||{},edges:[],children:[],parent:r.parent&&r.parent.isNode()?r.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),r.renderedPosition){var s=r.renderedPosition,o=e.pan(),l=e.zoom();i.position={x:(s.x-o.x)/l,y:(s.y-o.y)/l}}var u=[];Te(r.classes)?u=r.classes:Z(r.classes)&&(u=r.classes.split(/\s+/));for(var f=0,h=u.length;fm?1:0},f=function(p,m,b,E,O){var L;if(null==b&&(b=0),null==O&&(O=a),b<0)throw new Error("lo must be non-negative");for(null==E&&(E=p.length);bk;0<=k?C++:C--)M.push(C);return M}.apply(this).reverse()).length;EB;0<=B?++M:--M)N.push(s(p,b));return N},g=function(p,m,b,E){var O,L,w;for(null==E&&(E=a),O=p[b];b>m&&E(O,L=p[w=b-1>>1])<0;)p[b]=L,b=w;return p[b]=O},y=function(p,m,b){var E,O,L,w,M;for(null==b&&(b=a),O=p.length,M=m,L=p[m],E=2*m+1;E0;){var L=m.pop(),w=y(L),M=L.id();if(c[M]=w,w!==1/0)for(var C=L.neighborhood().intersect(d),k=0;k0)for(j.unshift(H);h[fe];){var te=h[fe];j.unshift(te.edge),j.unshift(te.node),fe=(ne=te.node).id()}return o.spawn(j)}}}},Il={kruskal:function(e){e=e||function(b){return 1};for(var r=this.byGroup(),a=r.nodes,n=r.edges,i=a.length,s=new Array(i),o=a,l=function(E){for(var O=0;O0;){if(b=d.pop(),E=b.id(),g.delete(E),w++,E===f){for(var M=[],C=i,k=f,B=p[k];M.unshift(C),null!=B&&M.unshift(B),null!=(C=y[k]);)B=p[k=C.id()];return{found:!0,distance:h[E],path:this.spawn(M),steps:w}}v[E]=!0;for(var N=b._private.edges,U=0;UB&&(d[k]=B,m[k]=C,b[k]=O),!i){var N=C*f+M;!i&&d[N]>B&&(d[N]=B,m[N]=M,b[N]=O)}}}for(var U=0;U1&&void 0!==arguments[1]?arguments[1]:s,st=[],je=b(Be);;){if(null==je)return r.spawn();var De=m(je),A=De.edge,ie=De.pred;if(st.unshift(je[0]),je.same(Xe)&&st.length>0)break;null!=A&&st.unshift(A),je=ie}return l.spawn(st)},hasNegativeWeightCycle:g,negativeWeightCycles:y}}},Gl=Math.sqrt(2),Vl=function(e,r,a){0===a.length&&Bt("Karger-Stein must be run on a connected (sub)graph");for(var n=a[e],o=r[n[1]],l=r[n[2]],u=a,f=u.length-1;f>=0;f--){var h=u[f],c=h[1],v=h[2];(r[c]===o&&r[v]===l||r[c]===l&&r[v]===o)&&u.splice(f,1)}for(var d=0;dn;){var i=Math.floor(Math.random()*r.length);r=Vl(i,e,r),a--}return r},$l={kargerStein:function(){var e=this,r=this.byGroup(),a=r.nodes,n=r.edges;n.unmergeBy(function(j){return j.isLoop()});var i=a.length,s=n.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),l=Math.floor(i/Gl);if(!(i<2)){for(var u=[],f=0;f0?1:e<0?-1:0},ha=function(e,r){return Math.sqrt(ca(e,r))},ca=function(e,r){var a=r.x-e.x,n=r.y-e.y;return a*a+n*n},ql=function(e){for(var r=e.length,a=0,n=0;n=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Jl=function(e,r){e.x1=Math.min(e.x1,r.x1),e.x2=Math.max(e.x2,r.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,r.y1),e.y2=Math.max(e.y2,r.y2),e.h=e.y2-e.y1},jl=function(e,r,a){e.x1=Math.min(e.x1,r),e.x2=Math.max(e.x2,r),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,a),e.y2=Math.max(e.y2,a),e.h=e.y2-e.y1},Jn=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=r,e.x2+=r,e.y1-=r,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Ki=function(e){var a,n,i,s,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===r.length)a=n=i=s=r[0];else if(2===r.length)a=i=r[0],s=n=r[1];else if(4===r.length){var o=T(r,4);a=o[0],n=o[1],i=o[2],s=o[3]}return e.x1-=s,e.x2+=n,e.y1-=a,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Zs=function(e,r){e.x1=r.x1,e.y1=r.y1,e.x2=r.x2,e.y2=r.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},Zi=function(e,r){return!(e.x1>r.x2||r.x1>e.x2||e.x2r.y2||r.y1>e.y2)},Na=function(e,r,a){return e.x1<=r&&r<=e.x2&&e.y1<=a&&a<=e.y2},ef=function(e,r){return Na(e,r.x,r.y)},Qs=function(e,r){return Na(e,r.x1,r.y1)&&Na(e,r.x2,r.y2)},Js=function(e,r,a,n,i,s,o){var h,l=yn(i,s),u=i/2,f=s/2,v=n-f-o;if((h=Zr(e,r,a,n,a-u+l-o,v,a+u-l+o,v,!1)).length>0)return h;var y=a+u+o;if((h=Zr(e,r,a,n,y,n-f+l-o,y,n+f-l+o,!1)).length>0)return h;var O=n+f+o;if((h=Zr(e,r,a,n,a-u+l-o,O,a+u-l+o,O,!1)).length>0)return h;var N,M=a-u-o;if((h=Zr(e,r,a,n,M,n-f+l-o,M,n+f-l+o,!1)).length>0)return h;var U=a-u+l,F=n-f+l;if((N=gn(e,r,a,n,U,F,l+o)).length>0&&N[0]<=U&&N[1]<=F)return[N[0],N[1]];var Q=a+u-l,Y=n-f+l;if((N=gn(e,r,a,n,Q,Y,l+o)).length>0&&N[0]>=Q&&N[1]<=Y)return[N[0],N[1]];var H=a+u-l,j=n+f-l;if((N=gn(e,r,a,n,H,j,l+o)).length>0&&N[0]>=H&&N[1]>=j)return[N[0],N[1]];var ne=a-u+l,fe=n+f-l;return(N=gn(e,r,a,n,ne,fe,l+o)).length>0&&N[0]<=ne&&N[1]>=fe?[N[0],N[1]]:[]},tf=function(e,r,a,n,i,s,o){var l=o,u=Math.min(a,i),f=Math.max(a,i),h=Math.min(n,s),c=Math.max(n,s);return u-l<=e&&e<=f+l&&h-l<=r&&r<=c+l},rf=function(e,r,a,n,i,s,o,l,u){var f_x1=Math.min(a,o,i)-u,f_x2=Math.max(a,o,i)+u,f_y1=Math.min(n,l,s)-u,f_y2=Math.max(n,l,s)+u;return!(ef_x2||rf_y2)},sf=function(e,r,a,n,i,s,o,l){var v=[];!function(e,r,a,n,i){var o,l,u,f,h,c,v,d;0===e&&(e=1e-5),u=-27*(n/=e)+(r/=e)*(9*(a/=e)-r*r*2),o=(l=(3*a-r*r)/9)*l*l+(u/=54)*u,i[1]=0,v=r/3,o>0?(h=(h=u+Math.sqrt(o))<0?-Math.pow(-h,1/3):Math.pow(h,1/3),c=(c=u-Math.sqrt(o))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-v+h+c,i[4]=i[2]=-(v+=(h+c)/2),v=Math.sqrt(3)*(-c+h)/2,i[3]=v,i[5]=-v):(i[5]=i[3]=0,0===o?(d=u<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=2*d-v,i[4]=i[2]=-(d+v)):(f=(l=-l)*l*l,f=Math.acos(u/Math.sqrt(f)),d=2*Math.sqrt(l),i[0]=-v+d*Math.cos(f/3),i[2]=-v+d*Math.cos((f+2*Math.PI)/3),i[4]=-v+d*Math.cos((f+4*Math.PI)/3)))}(1*a*a-4*a*i+2*a*o+4*i*i-4*i*o+o*o+n*n-4*n*s+2*n*l+4*s*s-4*s*l+l*l,9*a*i-3*a*a-3*a*o-6*i*i+3*i*o+9*n*s-3*n*n-3*n*l-6*s*s+3*s*l,3*a*a-6*a*i+a*o-a*e+2*i*i+2*i*e-o*e+3*n*n-6*n*s+n*l-n*r+2*s*s+2*s*r-l*r,1*a*i-a*a+a*e-i*e+n*s-n*n+n*r-s*r,v);for(var g=[],y=0;y<6;y+=2)Math.abs(v[y+1])<1e-7&&v[y]>=0&&v[y]<=1&&g.push(v[y]);g.push(1),g.push(0);for(var m,b,E,p=-1,O=0;O=0?Eu?(e-i)*(e-i)+(r-s)*(r-s):f-c},fr=function(e,r,a){for(var n,i,s,o,u=0,f=0;f=e&&e>=s||n<=e&&e<=s))continue;(e-n)/(s-n)*(o-i)+i>r&&u++}return u%2!=0},Vr=function(e,r,a,n,i,s,o,l,u){var h,g,f=new Array(a.length);null!=l[0]?(h=Math.atan(l[1]/l[0]),l[0]<0?h+=Math.PI/2:h=-h-Math.PI/2):h=l;for(var c=Math.cos(-h),v=Math.sin(-h),d=0;d0){var y=eo(f,-u);g=js(y)}else g=f;return fr(e,r,g)},js=function(e){for(var o,l,u,f,r=new Array(e.length/2),h=0;h=0&&y<=1&&m.push(y),p>=0&&p<=1&&m.push(p),0===m.length)return[];var b=m[0]*l[0]+e,E=m[0]*l[1]+r;return m.length>1?m[0]==m[1]?[b,E]:[b,E,m[1]*l[0]+e,m[1]*l[1]+r]:[b,E]},Qi=function(e,r,a){return r<=e&&e<=a||a<=e&&e<=r?e:e<=r&&r<=a||a<=r&&r<=e?r:a},Zr=function(e,r,a,n,i,s,o,l,u){var f=e-i,h=a-e,c=o-i,v=r-s,d=n-r,g=l-s,y=c*v-g*f,p=h*v-d*f,m=g*h-c*d;if(0!==m){var b=y/m,E=p/m,L=-.001;return L<=b&&b<=1.001&&L<=E&&E<=1.001||u?[e+b*h,r+b*d]:[]}return 0===y||0===p?Qi(e,a,o)===o?[o,l]:Qi(e,a,i)===i?[i,s]:Qi(i,o,a)===a?[a,n]:[]:[]},pn=function(e,r,a,n,i,s,o,l){var f,v,u=[],h=new Array(a.length),c=!0;if(null==s&&(c=!1),c){for(var d=0;d0){var g=eo(h,-l);v=js(g)}else v=h}else v=a;for(var m,b,E=0;Ef&&(f=E)},get:function(b){return u[b]}},c=0;c0?Q.edgesTo(F)[0]:F.edgesTo(Q)[0];var H=n(Y);F=F.id(),M[F]>M[N]+H&&(M[F]=M[N]+H,C.nodes.indexOf(F)<0?C.push(F):C.updateItem(F),w[F]=0,L[F]=[]),M[F]==M[N]+H&&(w[F]=w[F]+w[N],L[F].push(N))}else for(var j=0;j0;){for(var le=O.pop(),be=0;be0&&o.push(a[l]);0!==o.length&&i.push(n.collection(o))}return i}(f,l,r,n);return function(e){for(var r=0;r5&&void 0!==arguments[5]?arguments[5]:Lf,o=n,f=0;f=2?mn(e,r,a,0,lo,Af):mn(e,r,a,0,uo)},squaredEuclidean:function(e,r,a){return mn(e,r,a,0,lo)},manhattan:function(e,r,a){return mn(e,r,a,0,uo)},max:function(e,r,a){return mn(e,r,a,-1/0,Of)}};function ei(t,e,r,a,n,i){var s;return s=re(t)?t:ka[t]||ka.euclidean,0===e&&re(t)?s(n,i):s(e,r,a,n,i)}ka["squared-euclidean"]=ka.squaredEuclidean,ka.squaredeuclidean=ka.squaredEuclidean;var Mf=Wt({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),rs=function(e){return Mf(e)},ti=function(e,r,a,n,i){var o="kMedoids"!==i?function(h){return a[h]}:function(h){return n[h](a)};return ei(e,n.length,o,function(c){return n[c](r)},a,r)},as=function(e,r,a){for(var n=a.length,i=new Array(n),s=new Array(n),o=new Array(r),l=null,u=0;ua)return!1;return!0},Rf=function(e,r,a){for(var n=0;no&&(o=r[u][f],l=f);i[l].push(e[u])}for(var h=0;h=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var y,d=r[s],g=r[n[s]];y="dendrogram"===i.mode?{left:d,right:g,key:d.key}:{value:d.value.concat(g.value),key:d.key},e[d.index]=y,e.splice(g.index,1),r[d.key]=y;for(var p=0;pa[g.key][m.key]&&(l=a[g.key][m.key])):"max"===i.linkage?(l=a[d.key][m.key],a[d.key][m.key]1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(a0&&e.splice(0,r)):e=e.slice(r,a);for(var o=0,l=e.length-1;l>=0;l--)s?isFinite(e[l])||(e[l]=-1/0,o++):e.splice(l,1);i&&e.sort(function(c,v){return c-v});var f=e.length,h=Math.floor(f/2);return f%2!=0?e[h+1+o]:(e[h-1+o]+e[h+o])/2}(e):"mean"===r?function(e){for(var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,n=0,i=0,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;s2&&void 0!==arguments[2]?arguments[2]:e.length,n=1/0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;i2&&void 0!==arguments[2]?arguments[2]:e.length,n=-1/0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;io&&(s=u,o=r[i*e+u])}s>0&&n.push(s)}for(var f=0;f=B?(N=B,B=F,U=Q):F>N&&(N=F);for(var Y=0;Y0?1:0;w[C%n.minIterations*o+le]=be,te+=be}if(te>0&&(C>=n.minIterations-1||C==n.maxIterations-1)){for(var we=0,me=0;me0&&n.push(i);return n}(o,h,c),Ee=function(e,r,a){for(var n=mo(e,r,a),i=0;iu&&(l=f,u=h)}a[i]=s[l]}return mo(e,r,a)}(o,u,J),xe={},Oe=0;Oe1||L>1)&&(o=!0),h[b]=[],m.outgoers().forEach(function(M){M.isEdge()&&h[b].push(M.id())})}else c[b]=[void 0,m.target().id()]}:function(m){var b=m.id();m.isNode()?(m.degree(!0)%2&&(l?u?o=!0:u=b:l=b),h[b]=[],m.connectedEdges().forEach(function(O){return h[b].push(O.id())})):c[b]=[m.source().id(),m.target().id()]});var v={found:!1,trail:void 0};if(o)return v;if(u&&l)if(i){if(f&&u!=f)return v;f=u}else{if(f&&u!=f&&l!=f)return v;f||(f=u)}else f||(f=s[0].id());var d=function(b){for(var L,w,M,E=b,O=[b];h[E].length;)L=h[E].shift(),w=c[L][0],E!=(M=c[L][1])?(h[M]=h[M].filter(function(C){return C!=L}),E=M):!i&&E!=w&&(h[w]=h[w].filter(function(C){return C!=L}),E=w),O.unshift(L),O.unshift(E);return O},g=[],y=[];for(y=d(f);1!=y.length;)0==h[y[0]].length?(g.unshift(s.getElementById(y.shift())),g.unshift(s.getElementById(y.shift()))):y=d(y.shift()).concat(y);for(var p in g.unshift(s.getElementById(y.shift())),h)if(h[p].length)return v;return v.found=!0,v.trail=this.spawn(g,!0),v}},ai=function(){var e=this,r={},a=0,n=0,i=[],s=[],o={},u=function h(c,v,d){c===d&&(n+=1),r[v]={id:a,low:a++,cutVertex:!1};var y,p,m,b,g=e.getElementById(v).connectedEdges().intersection(e);0===g.size()?i.push(e.spawn(e.getElementById(v))):g.forEach(function(E){y=E.source().id(),p=E.target().id(),(m=y===v?p:y)!==d&&(b=E.id(),o[b]||(o[b]=!0,s.push({x:v,y:m,edge:E})),m in r?r[v].low=Math.min(r[v].low,r[m].id):(h(c,m,v),r[v].low=Math.min(r[v].low,r[m].low),r[v].id<=r[m].low&&(r[v].cutVertex=!0,function(c,v){for(var d=s.length-1,g=[],y=e.spawn();s[d].x!=c||s[d].y!=v;)g.push(s.pop().edge),d--;g.push(s.pop().edge),g.forEach(function(p){var m=p.connectedNodes().intersection(e);y.merge(p),m.forEach(function(b){var E=b.id(),O=b.connectedEdges().intersection(e);y.merge(b),y.merge(r[E].cutVertex?O.filter(function(L){return L.isLoop()}):O)})}),i.push(y)}(v,m))))})};e.forEach(function(h){if(h.isNode()){var c=h.id();c in r||(n=0,u(c,c),r[c].cutVertex=n>1)}});var f=Object.keys(r).filter(function(h){return r[h].cutVertex}).map(function(h){return e.getElementById(h)});return{cut:e.spawn(f),components:i}},ni=function(){var e=this,r={},a=0,n=[],i=[],s=e.spawn(e),o=function l(u){if(i.push(u),r[u]={index:a,low:a++,explored:!1},e.getElementById(u).connectedEdges().intersection(e).forEach(function(g){var y=g.target().id();y!==u&&(y in r||l(y),r[y].explored||(r[u].low=Math.min(r[u].low,r[y].low)))}),r[u].index===r[u].low){for(var h=e.spawn();;){var c=i.pop();if(h.merge(e.getElementById(c)),r[c].low=r[u].index,r[c].explored=!0,c===u)break}var v=h.edgesWith(h),d=h.merge(v);n.push(d),s=s.difference(d)}};return e.forEach(function(l){if(l.isNode()){var u=l.id();u in r||o(u)}}),{cut:s,components:n}},Eo={};[cn,Nl,Il,kl,Bl,zl,$l,vf,Ia,Ra,ts,Sf,Gf,Xf,Jf,eh,{hopcroftTarjanBiconnected:ai,htbc:ai,htb:ai,hopcroftTarjanBiconnectedComponents:ai},{tarjanStronglyConnected:ni,tsc:ni,tscc:ni,tarjanStronglyConnectedComponents:ni}].forEach(function(t){Qe(Eo,t)});var $r=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof e&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))};$r.prototype={fulfill:function(e){return Co(this,1,"fulfillValue",e)},reject:function(e){return Co(this,2,"rejectReason",e)},then:function(e,r){var a=this,n=new $r;return a.onFulfilled.push(Lo(e,n,"fulfill")),a.onRejected.push(Lo(r,n,"reject")),Do(a),n.proxy}};var Co=function(e,r,a,n){return 0===e.state&&(e.state=r,e[a]=n,Do(e)),e},Do=function(e){1===e.state?So(e,"onFulfilled",e.fulfillValue):2===e.state&&So(e,"onRejected",e.rejectReason)},So=function(e,r,a){if(0!==e[r].length){var n=e[r];e[r]=[];var i=function(){for(var o=0;o0:void 0}},clearQueue:function(){return function(){var r=this,n=void 0!==r.length?r:[r];if(!(this._private.cy||this).styleEnabled())return this;for(var s=0;s-1};var hc=function fc(t,e){var r=this.__data__,a=si(r,t);return a<0?(++this.size,r.push([t,e])):r[a][1]=e,this};function Fa(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t0&&this.spawn(n).updateStyle().emit("class"),r},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var r=this[0];return null!=r&&r._private.classes.has(e)},toggleClass:function(e,r){Te(e)||(e=e.match(/\S+/g)||[]);for(var a=this,n=void 0===r,i=[],s=0,o=a.length;s0&&this.spawn(i).updateStyle().emit("class"),a},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,r){var a=this;if(null==r)r=250;else if(0===r)return a;return a.addClass(e),setTimeout(function(){a.removeClass(e)},r),a}};ui.className=ui.classNames=ui.classes;var gt={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:St,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};gt.variable="(?:[\\w-.]|(?:\\\\"+gt.metaChar+"))+",gt.className="(?:[\\w-]|(?:\\\\"+gt.metaChar+"))+",gt.value=gt.string+"|"+gt.number,gt.id=gt.variable,function(){var t,e,r;for(t=gt.comparatorOp.split("|"),r=0;r=0)&&"="!==e&&(gt.comparatorOp+="|\\!"+e)}();var Ve_GROUP=0,Ve_COLLECTION=1,Ve_FILTER=2,Ve_DATA_COMPARE=3,Ve_DATA_EXIST=4,Ve_DATA_BOOL=5,Ve_META_COMPARE=6,Ve_STATE=7,Ve_ID=8,Ve_CLASS=9,Ve_UNDIRECTED_EDGE=10,Ve_DIRECTED_EDGE=11,Ve_NODE_SOURCE=12,Ve_NODE_TARGET=13,Ve_NODE_NEIGHBOR=14,Ve_CHILD=15,Ve_DESCENDANT=16,Ve_PARENT=17,Ve_ANCESTOR=18,Ve_COMPOUND_SPLIT=19,Ve_TRUE=20,ls=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(t,e){return function(e,r){return-1*Gn(e,r)}(t.selector,e.selector)}),gv=function(){for(var e,t={},r=0;r0&&f.edgeCount>0)return wt("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(f.edgeCount>1)return wt("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===f.edgeCount&&wt("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(f){return f??""},r=function(f){return Z(f)?'"'+f+'"':e(f)},a=function(f){return" "+f+" "},i=function(f,h){return f.checks.reduce(function(c,v,d){return c+(h===f&&0===d?"$":"")+function(f,h){var v=f.value;switch(f.type){case Ve_GROUP:var d=e(v);return d.substring(0,d.length-1);case Ve_DATA_COMPARE:return"["+f.field+a(e(f.operator))+r(v)+"]";case Ve_DATA_BOOL:var m=f.field;return"["+e(f.operator)+m+"]";case Ve_DATA_EXIST:return"["+f.field+"]";case Ve_META_COMPARE:return"[["+f.field+a(e(f.operator))+r(v)+"]]";case Ve_STATE:return v;case Ve_ID:return"#"+v;case Ve_CLASS:return"."+v;case Ve_PARENT:case Ve_CHILD:return i(f.parent,h)+a(">")+i(f.child,h);case Ve_ANCESTOR:case Ve_DESCENDANT:return i(f.ancestor,h)+" "+i(f.descendant,h);case Ve_COMPOUND_SPLIT:var L=i(f.left,h),w=i(f.subject,h),M=i(f.right,h);return L+(L.length>0?" ":"")+w+M;case Ve_TRUE:return""}}(v,h)},"")},s="",o=0;o1&&o=0&&(r=r.replace("!",""),h=!0),r.indexOf("@")>=0&&(r=r.replace("@",""),f=!0),(i||o||f)&&(l=i||s?""+e:"",u=""+a),f&&(e=l=l.toLowerCase(),a=u=u.toLowerCase()),r){case"*=":n=l.indexOf(u)>=0;break;case"$=":n=l.indexOf(u,l.length-u.length)>=0;break;case"^=":n=0===l.indexOf(u);break;case"=":n=e===a;break;case">":c=!0,n=e>a;break;case">=":c=!0,n=e>=a;break;case"<":c=!0,n=e0;){var f=n.shift();e(f),i.add(f.id()),o&&a(n,i,f)}return t}function $o(t,e,r){if(r.isParent())for(var a=r._private.children,n=0;n1&&void 0!==arguments[1])||arguments[1],$o)},Va.forEachUp=function(t){return cs(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Uo)},Va.forEachUpAndDown=function(t){return cs(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ov)},Va.ancestors=Va.parents,(En=Yo={data:xt.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:xt.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:xt.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:xt.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:xt.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:xt.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=En.data,En.removeAttr=En.removeData;var Mv=Yo,li={};function vs(t){return function(e){var r=this;if(void 0===e&&(e=!0),0===r.length);else if(r.isNode()&&!r.removed()){for(var a=0,n=r[0],i=n._private.edges,s=0;se}),minIndegree:$a("indegree",function(t,e){return te}),minOutdegree:$a("outdegree",function(t,e){return te})}),Qe(li,{totalDegree:function(e){for(var r=0,a=this.nodes(),n=0;n0;y&&(g=g[0]);var m=y?g.position():{x:0,y:0};return i={x:d.x-m.x,y:d.y-m.y},void 0===e?i:i[e]}for(var l=0;l0;h&&(f=f[0]);var v=h?f.position():{x:0,y:0};void 0!==r?u.position(e,r+v[e]):void 0!==i&&u.position({x:i.x+v.x,y:i.y+v.y})}}else if(!s)return;return this}}).modelPosition=Cr.point=Cr.position,Cr.modelPositions=Cr.points=Cr.positions,Cr.renderedPoint=Cr.renderedPosition,Cr.relativePoint=Cr.relativePosition;var Ua,ta,Nv=Ho;Ua=ta={},ta.renderedBoundingBox=function(t){var e=this.boundingBox(t),r=this.cy(),a=r.zoom(),n=r.pan(),i=e.x1*a+n.x,s=e.x2*a+n.x,o=e.y1*a+n.y,l=e.y2*a+n.y;return{x1:i,x2:s,y1:o,y2:l,w:s-i,h:l-o}},ta.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp(function(r){if(r.isParent()){var a=r._private;a.compoundBoundsClean=!1,a.bbCache=null,t||r.emitAndNotify("bounds")}}),this):this},ta.updateCompoundBounds=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function r(s){if(s.isParent()){var o=s._private,l=s.children(),u="include"===s.pstyle("compound-sizing-wrt-labels").value,f={width:{val:s.pstyle("min-width").pfValue,left:s.pstyle("min-width-bias-left"),right:s.pstyle("min-width-bias-right")},height:{val:s.pstyle("min-height").pfValue,top:s.pstyle("min-height-bias-top"),bottom:s.pstyle("min-height-bias-bottom")}},h=l.boundingBox({includeLabels:u,includeOverlays:!1,useCache:!1}),c=o.position;(0===h.w||0===h.h)&&((h={w:s.pstyle("width").pfValue,h:s.pstyle("height").pfValue}).x1=c.x-h.w/2,h.x2=c.x+h.w/2,h.y1=c.y-h.h/2,h.y2=c.y+h.h/2);var g=f.width.left.value;"px"===f.width.left.units&&f.width.val>0&&(g=100*g/f.width.val);var y=f.width.right.value;"px"===f.width.right.units&&f.width.val>0&&(y=100*y/f.width.val);var p=f.height.top.value;"px"===f.height.top.units&&f.height.val>0&&(p=100*p/f.height.val);var m=f.height.bottom.value;"px"===f.height.bottom.units&&f.height.val>0&&(m=100*m/f.height.val);var b=v(f.width.val-h.w,g,y),E=b.biasDiff,O=b.biasComplementDiff,L=v(f.height.val-h.h,p,m),w=L.biasDiff,M=L.biasComplementDiff;o.autoPadding=function d(C,k,B,N){if("%"!==B.units)return"px"===B.units?B.pfValue:0;switch(N){case"width":return C>0?B.pfValue*C:0;case"height":return k>0?B.pfValue*k:0;case"average":return C>0&&k>0?B.pfValue*(C+k)/2:0;case"min":return C>0&&k>0?C>k?B.pfValue*k:B.pfValue*C:0;case"max":return C>0&&k>0?C>k?B.pfValue*C:B.pfValue*k:0;default:return 0}}(h.w,h.h,s.pstyle("padding"),s.pstyle("padding-relative-to").value),o.autoWidth=Math.max(h.w,f.width.val),c.x=(-E+h.x1+h.x2+O)/2,o.autoHeight=Math.max(h.h,f.height.val),c.y=(-w+h.y1+h.y2+M)/2}function v(C,k,B){var N=0,U=0,F=k+B;return C>0&&F>0&&(N=k/F*C,U=B/F*C),{biasDiff:N,biasComplementDiff:U}}}for(var a=0;ae.x2?n:e.x2,e.y1=ae.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},ga=function(e,r){return null==r?e:Dr(e,r.x1,r.y1,r.x2,r.y2)},wn=function(e,r,a){return Tr(e,r,a)},fi=function(e,r,a){if(!r.cy().headless()){var l,u,n=r._private,i=n.rstyle,s=i.arrowWidth/2;if("none"!==r.pstyle(a+"-arrow-shape").value){"source"===a?(l=i.srcX,u=i.srcY):"target"===a?(l=i.tgtX,u=i.tgtY):(l=i.midX,u=i.midY);var f=n.arrowBounds=n.arrowBounds||{},h=f[a]=f[a]||{};h.x1=l-s,h.y1=u-s,h.x2=l+s,h.y2=u+s,h.w=h.x2-h.x1,h.h=h.y2-h.y1,Jn(h,1),Dr(e,h.x1,h.y1,h.x2,h.y2)}}},ds=function(e,r,a){if(!r.cy().headless()){var n,i=r._private,s=i.rstyle;if(r.pstyle((n=a?a+"-":"")+"label").strValue){var B,N,U,F,l=r.pstyle("text-halign"),u=r.pstyle("text-valign"),f=wn(s,"labelWidth",a),h=wn(s,"labelHeight",a),c=wn(s,"labelX",a),v=wn(s,"labelY",a),d=r.pstyle(n+"text-margin-x").pfValue,g=r.pstyle(n+"text-margin-y").pfValue,y=r.isEdge(),p=r.pstyle(n+"text-rotation"),m=r.pstyle("text-outline-width").pfValue,E=r.pstyle("text-border-width").pfValue/2,O=r.pstyle("text-background-padding").pfValue,w=h,M=f,C=M/2,k=w/2;if(y)B=c-C,N=c+C,U=v-k,F=v+k;else{switch(l.value){case"left":B=c-M,N=c;break;case"center":B=c-C,N=c+C;break;case"right":B=c,N=c+M}switch(u.value){case"top":U=v-w,F=v;break;case"center":U=v-k,F=v+k;break;case"bottom":U=v,F=v+w}}B+=d-Math.max(m,E)-O-2,N+=d+Math.max(m,E)+O+2,U+=g-Math.max(m,E)-O-2,F+=g+Math.max(m,E)+O+2;var Q=a||"main",Y=i.labelBounds,H=Y[Q]=Y[Q]||{};H.x1=B,H.y1=U,H.x2=N,H.y2=F,H.w=N-B,H.h=F-U;var j=y&&"autorotate"===p.strValue;if(j||null!=p.pfValue&&0!==p.pfValue){var fe=j?wn(i.rstyle,"labelAngle",a):p.pfValue,te=Math.cos(fe),le=Math.sin(fe),be=(B+N)/2,we=(U+F)/2;if(!y){switch(l.value){case"left":be=N;break;case"right":be=B}switch(u.value){case"top":we=F;break;case"bottom":we=U}}var me=function(nt,ke){return{x:(nt-=be)*te-(ke-=we)*le+be,y:nt*le+ke*te+we}},ge=me(B,U),J=me(B,F),Ee=me(N,U),xe=me(N,F);B=Math.min(ge.x,J.x,Ee.x,xe.x),N=Math.max(ge.x,J.x,Ee.x,xe.x),U=Math.min(ge.y,J.y,Ee.y,xe.y),F=Math.max(ge.y,J.y,Ee.y,xe.y)}var Oe=Q+"Rot",Re=Y[Oe]=Y[Oe]||{};Re.x1=B,Re.y1=U,Re.x2=N,Re.y2=F,Re.w=N-B,Re.h=F-U,Dr(e,B,U,N,F),Dr(i.labelBounds.all,B,U,N,F)}return e}},_o=function(e){var r=0,a=function(s){return(s?1:0)<(h=H[1].x)){var j=f;f=h,h=j}if((c=H[0].y)>(v=H[1].y)){var ne=c;c=v,v=ne}Dr(s,f-k,c-k,h+k,v+k)}}else if("bezier"===Y||"unbundled-bezier"===Y||"segments"===Y||"taxi"===Y){var fe;switch(Y){case"bezier":case"unbundled-bezier":fe=y.bezierPts;break;case"segments":case"taxi":fe=y.linePts}if(null!=fe)for(var te=0;te(h=ge.x)){var J=f;f=h,h=J}if((c=we.y)>(v=ge.y)){var Ee=c;c=v,v=Ee}Dr(s,f-=k,c-=k,h+=k,v+=k)}if(n&&r.includeEdges&&u&&(fi(s,e,"mid-source"),fi(s,e,"mid-target"),fi(s,e,"source"),fi(s,e,"target")),n&&"yes"===e.pstyle("ghost").value){var Oe=e.pstyle("ghost-offset-x").pfValue,Re=e.pstyle("ghost-offset-y").pfValue;Dr(s,s.x1+Oe,s.y1+Re,s.x2+Oe,s.y2+Re)}var tt=o.bodyBounds=o.bodyBounds||{};Zs(tt,s),Ki(tt,p),Jn(tt,1),n&&Dr(s,(f=s.x1)-M,(c=s.y1)-M,(h=s.x2)+M,(v=s.y2)+M);var nt=o.overlayBounds=o.overlayBounds||{};Zs(nt,s),Ki(nt,p),Jn(nt,1);var ke=o.labelBounds=o.labelBounds||{};null!=ke.all?function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0}(ke.all):ke.all=lr(),n&&r.includeLabels&&(r.includeMainLabels&&ds(s,e,null),u&&(r.includeSourceLabels&&ds(s,e,"source"),r.includeTargetLabels&&ds(s,e,"target")))}return s.x1=br(s.x1),s.y1=br(s.y1),s.x2=br(s.x2),s.y2=br(s.y2),s.w=br(s.x2-s.x1),s.h=br(s.y2-s.y1),s.w>0&&s.h>0&&b&&(Ki(s,p),Jn(s,1)),s}(e,xn),a.bbCache=n,a.bbCachePosKey=l):n=a.bbCache,!o){var v=e.isNode();n=lr(),(r.includeNodes&&v||r.includeEdges&&!v)&&ga(n,r.includeOverlays?a.overlayBounds:a.bodyBounds),r.includeLabels&&(r.includeMainLabels&&(!i||r.includeSourceLabels&&r.includeTargetLabels)?ga(n,a.labelBounds.all):(r.includeMainLabels&&ga(n,a.labelBounds.mainRot),r.includeSourceLabels&&ga(n,a.labelBounds.sourceRot),r.includeTargetLabels&&ga(n,a.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},xn={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},Zo=_o(xn),Qo=Wt(xn);ta.boundingBox=function(t){var e;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==t&&void 0!==t.useCache&&!0!==t.useCache){e=lr();var r=Qo(t=t||xn),a=this;if(a.cy().styleEnabled())for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:_v,e=arguments.length>1?arguments[1]:void 0,r=0;r=0;o--)s(o);return this},ra.removeAllListeners=function(){return this.removeListener("*")},ra.emit=ra.trigger=function(t,e,r){var a=this.listeners,n=a.length;return this.emitting++,Te(e)||(e=[e]),qv(this,function(i,s){null!=r&&(n=(a=[{event:s.event,type:s.type,namespace:s.namespace,callback:r}]).length);for(var o=function(f){var h=a[f];if(h.type===s.type&&(!h.namespace||h.namespace===s.namespace||".*"===h.namespace)&&i.eventMatches(i.context,h,s)){var c=[s];null!=e&&function(e,r){for(var a=0;a1&&e!==this.length-1){var o=this.length-1,l=this[o],u=l._private.data.id;this[o]=void 0,this[e]=l,i.set(u,{ele:l,index:e})}return this.length--,this},unmergeOne:function(e){var i=this._private.map.get((e=e[0])._private.data.id);return i?(this.unmergeAt(i.index),this):this},unmerge:function(e){var r=this._private.cy;if(!e)return this;if(e&&Z(e)){var a=e;e=r.mutableElements().filter(a)}for(var n=0;n=0;r--)e(this[r])&&this.unmergeAt(r);return this},map:function(e,r){for(var a=[],n=this,i=0;ia&&(a=l,n=o)}return{value:a,ele:n}},min:function(e,r){for(var n,a=1/0,i=this,s=0;s=0&&i"u"?"undefined":Ne(Symbol))!=e&&Ne(Symbol.iterator)!=e&&(di[Symbol.iterator]=function(){var a=this,n={value:void 0,done:!1},i=0,s=this.length;return P({next:function(){return i1&&void 0!==arguments[1])||arguments[1],a=this[0],n=a.cy();if(n.styleEnabled()&&a)return this.cleanStyle(),a._private.style[e]??(r?n.style().getDefaultProperty(e):null)},numericStyle:function(e){var r=this[0];if(r.cy().styleEnabled()&&r){var a=r.pstyle(e);return void 0!==a.pfValue?a.pfValue:a.value}},numericStyleUnits:function(e){var r=this[0];if(r.cy().styleEnabled()&&r)return r.pstyle(e).units},renderedStyle:function(e){var r=this.cy();if(!r.styleEnabled())return this;var a=this[0];return a?r.style().getRenderedStyle(a,e):void 0},style:function(e,r){var a=this.cy();if(!a.styleEnabled())return this;var i=a.style();if(oe(e))i.applyBypass(this,e,false),this.emitAndNotify("style");else if(Z(e)){if(void 0===r){var o=this[0];return o?i.getStylePropertyValue(o,e):void 0}i.applyBypass(this,e,r,false),this.emitAndNotify("style")}else if(void 0===e){var l=this[0];return l?i.getRawStyle(l):void 0}return this},removeStyle:function(e){var r=this.cy();if(!r.styleEnabled())return this;var n=r.style(),i=this;if(void 0===e)for(var s=0;s0&&e.push(f[0]),e.push(o[0])}return this.spawn(e,!0).filter(t)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),er.neighbourhood=er.neighborhood,er.closedNeighbourhood=er.closedNeighborhood,er.openNeighbourhood=er.openNeighborhood,Qe(er,{source:mr(function(e){var a,r=this[0];return r&&(a=r._private.source||r.cy().collection()),a&&e?a.filter(e):a},"source"),target:mr(function(e){var a,r=this[0];return r&&(a=r._private.target||r.cy().collection()),a&&e?a.filter(e):a},"target"),sources:du({attr:"source"}),targets:du({attr:"target"})}),Qe(er,{edgesWith:mr(gu(),"edgesWith"),edgesTo:mr(gu({thisIsSrc:!0}),"edgesTo")}),Qe(er,{connectedEdges:mr(function(t){for(var e=[],a=0;a0);return s},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),er.componentsOf=er.components;var qt=function(e,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var i=new Ir,s=!1;if(r){if(r.length>0&&oe(r[0])&&!he(r[0])){s=!0;for(var o=[],l=new Aa,u=0,f=r.length;u0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,a=r.cy(),n=a._private,i=[],s=[],l=0,u=r.length;l0){for(var ne=o.length===r.length?r:new qt(a,o),fe=0;fe0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,a=[],n={},i=r._private.cy;function l(F){var Q=n[F.id()];e&&F.removed()||Q||(n[F.id()]=!0,F.isNode()?(a.push(F),function s(F){for(var Q=F._private.edges,Y=0;Y0&&(t?B.emitAndNotify("remove"):e&&B.emit("remove"));for(var N=0;N=i?function m(k,B){for(var N=0;N0?N=F:B=F}while(Math.abs(U)>s&&++Qf&&Math.abs(d.v)>f;);return c?function(g){return l[g*(l.length-1)|0]}:u}}(),Nt=function(e,r,a,n){var i=nd(e,r,a,n);return function(s,o,l){return s+(o-s)*i(l)}},mi={linear:function(e,r,a){return e+(r-e)*a},ease:Nt(.25,.1,.25,1),"ease-in":Nt(.42,0,1,1),"ease-out":Nt(0,0,.58,1),"ease-in-out":Nt(.42,0,.58,1),"ease-in-sine":Nt(.47,0,.745,.715),"ease-out-sine":Nt(.39,.575,.565,1),"ease-in-out-sine":Nt(.445,.05,.55,.95),"ease-in-quad":Nt(.55,.085,.68,.53),"ease-out-quad":Nt(.25,.46,.45,.94),"ease-in-out-quad":Nt(.455,.03,.515,.955),"ease-in-cubic":Nt(.55,.055,.675,.19),"ease-out-cubic":Nt(.215,.61,.355,1),"ease-in-out-cubic":Nt(.645,.045,.355,1),"ease-in-quart":Nt(.895,.03,.685,.22),"ease-out-quart":Nt(.165,.84,.44,1),"ease-in-out-quart":Nt(.77,0,.175,1),"ease-in-quint":Nt(.755,.05,.855,.06),"ease-out-quint":Nt(.23,1,.32,1),"ease-in-out-quint":Nt(.86,0,.07,1),"ease-in-expo":Nt(.95,.05,.795,.035),"ease-out-expo":Nt(.19,1,.22,1),"ease-in-out-expo":Nt(1,0,0,1),"ease-in-circ":Nt(.6,.04,.98,.335),"ease-out-circ":Nt(.075,.82,.165,1),"ease-in-out-circ":Nt(.785,.135,.15,.86),spring:function(e,r,a){if(0===a)return mi.linear;var n=id(e,r,a);return function(i,s,o){return i+(s-i)*n(o)}},"cubic-bezier":Nt};function yu(t,e,r,a,n){if(1===a||e===r)return r;var i=n(e,r,a);return null==t||((t.roundValue||t.color)&&(i=Math.round(i)),void 0!==t.min&&(i=Math.max(i,t.min)),void 0!==t.max&&(i=Math.min(i,t.max))),i}function mu(t,e){return null!=t.pfValue||null!=t.value?null==t.pfValue||null!=e&&"%"===e.type.units?t.value:t.pfValue:t}function Xa(t,e,r,a,n){var i=null!=n?n.type:null;r<0?r=0:r>1&&(r=1);var s=mu(t,n),o=mu(e,n);if(x(s)&&x(o))return yu(i,s,o,r,a);if(Te(s)&&Te(o)){for(var l=[],u=0;u0?("spring"===v&&d.push(s.duration),s.easingImpl=mi[v].apply(null,d)):s.easingImpl=mi[v]}var y,g=s.easingImpl;if(y=0===s.duration?1:(r-l)/s.duration,s.applying&&(y=s.progress),y<0?y=0:y>1&&(y=1),null==s.delay){var p=s.startPosition,m=s.position;if(m&&n&&!t.locked()){var b={};Sn(p.x,m.x)&&(b.x=Xa(p.x,m.x,y,g)),Sn(p.y,m.y)&&(b.y=Xa(p.y,m.y,y,g)),t.position(b)}var E=s.startPan,O=s.pan,L=i.pan,w=null!=O&&a;w&&(Sn(E.x,O.x)&&(L.x=Xa(E.x,O.x,y,g)),Sn(E.y,O.y)&&(L.y=Xa(E.y,O.y,y,g)),t.emit("pan"));var M=s.startZoom,C=s.zoom,k=null!=C&&a;k&&(Sn(M,C)&&(i.zoom=dn(i.minZoom,Xa(M,C,y,g),i.maxZoom)),t.emit("zoom")),(w||k)&&t.emit("viewport");var B=s.style;if(B&&B.length>0&&n){for(var N=0;N=0;w--)(0,L[w])();L.splice(0,L.length)},m=v.length-1;m>=0;m--){var b=v[m],E=b._private;E.stopped?(v.splice(m,1),E.hooked=!1,E.playing=!1,E.started=!1,p(E.frames)):!E.playing&&!E.applying||(E.playing&&E.applying&&(E.applying=!1),E.started||od(0,b,t),sd(f,b,t,h),E.applying&&(E.applying=!1),p(E.frames),null!=E.step&&E.step(t),b.completed()&&(v.splice(m,1),E.hooked=!1,E.playing=!1,E.started=!1,p(E.completes)),g=!0)}return!h&&0===v.length&&0===d.length&&a.push(f),g}for(var i=!1,s=0;s0?e.notify("draw",r):e.notify("draw")),r.unmerge(a),e.emit("step")}var ud={animate:xt.animate(),animation:xt.animation(),animated:xt.animated(),clearQueue:xt.clearQueue(),delay:xt.delay(),delayAnimation:xt.delayAnimation(),stop:xt.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var a=e.renderer();a&&a.beforeRender?a.beforeRender(function(i,s){bu(s,e)},a.beforeRenderPriorities.animations):function r(){e._private.animationsRunning&&Wn(function(i){bu(i,e),r()})}()}}},ld={qualifierCompare:function(e,r){return null==e||null==r?null==e&&null==r:e.sameText(r)},eventMatches:function(e,r,a){var n=r.qualifier;return null==n||e!==a.target&&he(a.target)&&n.matches(a.target)},addEventFields:function(e,r){r.cy=e,r.target=e},callbackContext:function(e,r,a){return null!=r.qualifier?a.target:e}},bi=function(e){return Z(e)?new Jr(e):e},Eu={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new ci(ld,this)),this},emitter:function(){return this._private.emitter},on:function(e,r,a){return this.emitter().on(e,bi(r),a),this},removeListener:function(e,r,a){return this.emitter().removeListener(e,bi(r),a),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,r,a){return this.emitter().one(e,bi(r),a),this},once:function(e,r,a){return this.emitter().one(e,bi(r),a),this},emit:function(e,r){return this.emitter().emit(e,r),this},emitAndNotify:function(e,r){return this.emit(e),this.notify(e,r),this}};xt.eventAliasesOn(Eu);var ys={png:function(e){return this._private.renderer.png(e=e||{})},jpg:function(e){var r=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",r.jpg(e)}};ys.jpeg=ys.jpg;var Ei={layout:function(e){var r=this;if(null!=e)if(null!=e.name){var i,a=e.name,n=r.extension("layout",a);if(null!=n)return i=Z(e.eles)?r.$(e.eles):null!=e.eles?e.eles:r.$(),new n(Qe({},e,{cy:r,eles:i}));Bt("No such layout `"+a+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Bt("A `name` must be specified to make a layout");else Bt("Layout options must be specified to make a layout")}};Ei.createLayout=Ei.makeLayout=Ei.layout;var fd={notify:function(e,r){var a=this._private;if(this.batching()){a.batchNotifications=a.batchNotifications||{};var n=a.batchNotifications[e]=a.batchNotifications[e]||this.collection();null!=r&&n.merge(r)}else if(a.notificationsEnabled){var i=this.renderer();this.destroyed()||!i||i.notify(e,r)}},notifications:function(e){var r=this._private;return void 0===e?r.notificationsEnabled:(r.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var r=this.renderer();Object.keys(e.batchNotifications).forEach(function(a){var n=e.batchNotifications[a];n.empty()?r.notify(a):r.notify(a,n)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var r=this;return this.batch(function(){for(var a=Object.keys(e),n=0;n0;)r.removeChild(r.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach(function(a){var n=a._private;n.rscratch={},n.rstyle={},n.animation.current=[],n.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};ms.invalidateDimensions=ms.resize;var wi={collection:function(e,r){return Z(e)?this.$(e):ee(e)?e.collection():Te(e)?(r||(r={}),new qt(this,e,r.unique,r.removed)):new qt(this)},nodes:function(e){var r=this.$(function(a){return a.isNode()});return e?r.filter(e):r},edges:function(e){var r=this.$(function(a){return a.isEdge()});return e?r.filter(e):r},$:function(e){var r=this._private.elements;return e?r.filter(e):r.spawnSelf()},mutableElements:function(){return this._private.elements}};wi.elements=wi.filter=wi.$;var tr={};tr.apply=function(t){for(var e=this,n=e._private.cy.collection(),i=0;i0;if(c||h&&v){var d=void 0;c&&v||c?d=u.properties:v&&(d=u.mappedProperties);for(var g=0;g1&&(E=1),o.color){var L=a.valueMin[0],M=a.valueMin[1],C=a.valueMax[1],k=a.valueMin[2],B=a.valueMax[2],N=null==a.valueMin[3]?1:a.valueMin[3],U=null==a.valueMax[3]?1:a.valueMax[3],F=[Math.round(L+(a.valueMax[0]-L)*E),Math.round(M+(C-M)*E),Math.round(k+(B-k)*E),Math.round(N+(U-N)*E)];i={bypass:a.bypass,name:a.name,value:F,strValue:"rgb("+F[0]+", "+F[1]+", "+F[2]+")"}}else{if(!o.number)return!1;i=this.parse(a.name,a.valueMin+(a.valueMax-a.valueMin)*E,a.bypass,c)}if(!i)return g(),!1;i.mapping=a,a=i;break;case s.data:for(var Y=a.field.split("."),H=h.data,j=0;j0&&i>0){for(var o={},l=!1,u=0;u0?t.delayAnimation(s).play().promise().then(b):b()}).then(function(){return t.animation({style:o,duration:i,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){r.removeBypasses(t,n),t.emitAndNotify("style"),a.transitioning=!1})}else a.transitioning&&(this.removeBypasses(t,n),t.emitAndNotify("style"),a.transitioning=!1)},tr.checkTrigger=function(t,e,r,a,n,i){var s=this.properties[e],o=n(s);null!=o&&o(r,a)&&i(s)},tr.checkZOrderTrigger=function(t,e,r,a){var n=this;this.checkTrigger(t,e,r,a,function(i){return i.triggersZOrder},function(){n._private.cy.notify("zorder",t)})},tr.checkBoundsTrigger=function(t,e,r,a){this.checkTrigger(t,e,r,a,function(n){return n.triggersBounds},function(n){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),n.triggersBoundsOfParallelBeziers&&("curve-style"===e&&("bezier"===r||"bezier"===a)||"display"===e&&("none"===r||"none"===a))&&t.parallelEdges().forEach(function(i){i.isBundledBezier()&&i.dirtyBoundingBoxCache()})})},tr.checkTriggers=function(t,e,r,a){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,r,a),this.checkBoundsTrigger(t,e,r,a)};var An={applyBypass:function(t,e,r,a){var i=[];if("*"===e||"**"===e){if(void 0!==r)for(var o=0;on.length?a.substr(n.length):""}function l(){i=i.length>s.length?i.substr(s.length):""}for(a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");!a.match(/^\s*$/);){var f=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!f){wt("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}n=f[0];var h=f[1];if("core"!==h&&new Jr(h).invalid)wt("Skipping parsing of block: Invalid selector found in string stylesheet: "+h),o();else{var v=f[2],d=!1;i=v;for(var g=[];!i.match(/^\s*$/);){var p=i.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!p){wt("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+v),d=!0;break}s=p[0];var m=p[1],b=p[2];this.properties[m]?r.parse(m,b)?(g.push({name:m,val:b}),l()):(wt("Skipping property: Invalid property definition in: "+s),l()):(wt("Skipping property: Invalid property name in: "+s),l())}if(d){o();break}r.selector(h);for(var L=0;L=7&&"d"===e[0]&&(f=new RegExp(o.data.regex).exec(e)))return!r&&{name:t,value:f,strValue:""+e,mapped:o.data,field:f[1],bypass:r};if(e.length>=10&&"m"===e[0]&&(h=new RegExp(o.mapData.regex).exec(e))){if(r||u.multiple)return!1;var v=o.mapData;if(!u.color&&!u.number)return!1;var d=this.parse(t,h[4]);if(!d||d.mapped)return!1;var g=this.parse(t,h[5]);if(!g||g.mapped)return!1;if(d.pfValue===g.pfValue||d.strValue===g.strValue)return wt("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+d.strValue+"`"),this.parse(t,d.strValue);if(u.color){var y=d.value,p=g.value;if(!(y[0]!==p[0]||y[1]!==p[1]||y[2]!==p[2]||y[3]!==p[3]&&(null!=y[3]&&1!==y[3]||null!=p[3]&&1!==p[3])))return!1}return{name:t,value:h,strValue:""+e,mapped:v,field:h[1],fieldMin:parseFloat(h[2]),fieldMax:parseFloat(h[3]),valueMin:d.value,valueMax:g.value,bypass:r}}}if(u.multiple&&"multiple"!==a){var b;if(b=l?e.split(/\s+/):Te(e)?e:[e],u.evenMultiple&&b.length%2!=0)return null;for(var E=[],O=[],L=[],w="",M=!1,C=0;C0?" ":"")+k.strValue}return u.validate&&!u.validate(E,O)?null:u.singleEnum&&M?1===E.length&&Z(E[0])?{name:t,value:E[0],strValue:E[0],bypass:r}:null:{name:t,value:E,pfValue:L,strValue:w,bypass:r,units:O}}var B=function(){for(var xe=0;xeu.max||u.strictMax&&e===u.max))return null;var Y={name:t,value:e,strValue:""+e+(N||""),units:N,bypass:r};return Y.pfValue=u.unitless||"px"!==N&&"em"!==N?e:"px"!==N&&N?this.getEmSizeInPixels()*e:e,("ms"===N||"s"===N)&&(Y.pfValue="ms"===N?e:1e3*e),("deg"===N||"rad"===N)&&(Y.pfValue="rad"===N?e:function(e){return Math.PI*e/180}(e)),"%"===N&&(Y.pfValue=e/100),Y}if(u.propList){var H=[],j=""+e;if("none"!==j){for(var ne=j.split(/\s*,\s*|\s+/),fe=0;fe0&&o>0&&!isNaN(a.w)&&!isNaN(a.h)&&a.w>0&&a.h>0)return{zoom:l=(l=(l=Math.min((s-2*r)/a.w,(o-2*r)/a.h))>this._private.maxZoom?this._private.maxZoom:l)=a.minZoom&&(a.maxZoom=r),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var i,s,r=this._private,a=r.pan,n=r.zoom,o=!1;return r.zoomingEnabled||(o=!0),x(e)?s=e:oe(e)&&(s=e.level,null!=e.position?i=Zn(e.position,n,a):null!=e.renderedPosition&&(i=e.renderedPosition),null!=i&&!r.panningEnabled&&(o=!0)),s=(s=s>r.maxZoom?r.maxZoom:s)r.maxZoom||!r.zoomingEnabled?s=!0:(r.zoom=l,i.push("zoom"))}if(n&&(!s||!e.cancelOnFailedZoom)&&r.panningEnabled){var u=e.pan;x(u.x)&&(r.pan.x=u.x,o=!1),x(u.y)&&(r.pan.y=u.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var r=this.getCenterPan(e);return r&&(this._private.pan=r,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,r){if(this._private.panningEnabled){if(Z(e)){var a=e;e=this.mutableElements().filter(a)}else ee(e)||(e=this.mutableElements());if(0!==e.length){var n=e.boundingBox(),i=this.width(),s=this.height();return{x:(i-(r=void 0===r?this._private.zoom:r)*(n.x1+n.x2))/2,y:(s-r*(n.y1+n.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var a,n,e=this._private,r=e.container;return e.sizeCache=e.sizeCache||(r?(a=D.getComputedStyle(r),{width:r.clientWidth-(n=function(s){return parseFloat(a.getPropertyValue(s))})("padding-left")-n("padding-right"),height:r.clientHeight-n("padding-top")-n("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,r=this._private.zoom,a=this.renderedExtent(),n={x1:(a.x1-e.x)/r,x2:(a.x2-e.x)/r,y1:(a.y1-e.y)/r,y2:(a.y2-e.y)/r};return n.w=n.x2-n.x1,n.h=n.y2-n.y1,n},renderedExtent:function(){var e=this.width(),r=this.height();return{x1:0,y1:0,x2:e,y2:r,w:e,h:r}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};pa.centre=pa.center,pa.autolockNodes=pa.autolock,pa.autoungrabifyNodes=pa.autoungrabify;var On={data:xt.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:xt.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:xt.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:xt.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};On.attr=On.data,On.removeAttr=On.removeData;var Mn=function(e){var r=this,a=(e=Qe({},e)).container;a&&!_(a)&&_(a[0])&&(a=a[0]);var n=a?a._cyreg:null;(n=n||{})&&n.cy&&(n.cy.destroy(),n={});var i=n.readies=n.readies||[];a&&(a._cyreg=n),n.cy=r;var s=void 0!==D&&void 0!==a&&!e.headless,o=e;o.layout=Qe({name:s?"grid":"null"},o.layout),o.renderer=Qe({name:s?"canvas":"null"},o.renderer);var l=function(d,g,y){return void 0!==g?g:void 0!==y?y:d},u=this._private={container:a,ready:!1,options:o,elements:new qt(this),listeners:[],aniEles:new qt(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:l(!0,o.zoomingEnabled),userZoomingEnabled:l(!0,o.userZoomingEnabled),panningEnabled:l(!0,o.panningEnabled),userPanningEnabled:l(!0,o.userPanningEnabled),boxSelectionEnabled:l(!0,o.boxSelectionEnabled),autolock:l(!1,o.autolock,o.autolockNodes),autoungrabify:l(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:l(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?s:o.styleEnabled,zoom:x(o.zoom)?o.zoom:1,pan:{x:oe(o.pan)&&x(o.pan.x)?o.pan.x:0,y:oe(o.pan)&&x(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:l(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom});u.styleEnabled&&r.setStyle([]);var h=Qe({},o,o.renderer);r.initRenderer(h);!function(d,g){if(d.some(He))return Pa.all(d).then(g);g(d)}([o.style,o.elements],function(v){var d=v[0],g=v[1];u.styleEnabled&&r.style().append(d),function(d,g,y){r.notifications(!1);var p=r.mutableElements();p.length>0&&p.remove(),null!=d&&(oe(d)||Te(d))&&r.add(d),r.one("layoutready",function(b){r.notifications(!0),r.emit(b),r.one("load",g),r.emitAndNotify("load")}).one("layoutstop",function(){r.one("done",y),r.emit("done")});var m=Qe({},r._private.options.layout);m.eles=r.elements(),r.layout(m).run()}(g,function(){r.startAnimationLoop(),u.ready=!0,re(o.ready)&&r.on("ready",o.ready);for(var y=0;y0,l=lr(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(ee(e.roots))u=e.roots;else if(Te(e.roots)){for(var f=[],h=0;h0;){var Q=B.shift(),Y=k(Q,N);if(Y)Q.outgoers().filter(function(ke){return ke.isNode()&&a.has(ke)}).forEach(U);else if(null===Y){wt("Detected double maximal shift for node `"+Q.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}C();var H=0;if(e.avoidOverlap)for(var j=0;j0&&p[0].length<=3?je/2:0),ie=2*Math.PI/p[$e].length*Be;return 0===$e&&1===p[0].length&&(A=1),{x:Re_x+A*Math.cos(ie),y:Re_y+A*Math.sin(ie)}}return{x:Re_x+(Be+1-(Xe+1)/2)*ht,y:($e+1)*st}}),this};var pd={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function Tu(t){this.options=Qe({},pd,t)}Tu.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,i=a.nodes().not(":parent");e.sort&&(i=i.sort(e.sort));for(var f,s=lr(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),o={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===e.sweep?2*Math.PI-2*Math.PI/i.length:e.sweep)/Math.max(1,i.length-1),h=0,c=0;c1&&e.avoidOverlap){h*=1.75;var p=Math.cos(u)-Math.cos(0),m=Math.sin(u)-Math.sin(0),b=Math.sqrt(h*h/(p*p+m*m));f=Math.max(b,f)}return a.nodes().layoutPositions(this,e,function(L,w){var M=e.startAngle+w*u*(n?1:-1),C=f*Math.cos(M),k=f*Math.sin(M);return{x:o.x+C,y:o.y+k}}),this};var yd={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function Cu(t){this.options=Qe({},yd,t)}Cu.prototype.run=function(){for(var t=this.options,e=t,r=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,a=t.cy,n=e.eles,i=n.nodes().not(":parent"),s=lr(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:a.width(),h:a.height()}),o={x:s.x1+s.w/2,y:s.y1+s.h/2},l=[],u=0,f=0;f0&&Math.abs(m[0].value-E.value)>=y&&p.push(m=[]),m.push(E)}var L=u+e.minNodeSpacing;if(!e.avoidOverlap){var w=p.length>0&&p[0].length>1,M=Math.min(s.w,s.h)/2-L;L=Math.min(L,M/(p.length+w?1:0))}for(var k=0,B=0;B1&&e.avoidOverlap){var Q=Math.cos(F)-Math.cos(0),Y=Math.sin(F)-Math.sin(0),H=Math.sqrt(L*L/(Q*Q+Y*Y));k=Math.max(H,k)}N.r=k,k+=L}if(e.equidistant){for(var j=0,ne=0,fe=0;fe=t.numIter||(Dd(a,t),a.temperature=a.temperature*t.coolingFactor,a.temperature=t.animationThreshold&&i(),Wn(h)):(Lu(a,t),o())}();else{for(;u;)u=s(l),l++;Lu(a,t),o()}return this},Di.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},Di.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var bd=function(e,r,a){for(var n=a.eles.edges(),i=a.eles.nodes(),s={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:n.size(),temperature:a.initialTemp,clientWidth:e.width(),clientHeight:e.width(),boundingBox:lr(a.boundingBox?a.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()})},o=a.eles.components(),l={},u=0;u0)for(s.graphSet.push(w),u=0;un.count?0:n.graph},wd=function t(e,r,a,n){var i=n.graphSet[a];if(-10)var v=(h=n.nodeOverlap*f)*o/(c=Math.sqrt(o*o+l*l)),d=h*l/c;else{var h,g=Si(e,o,l),y=Si(r,-1*o,-1*l),p=y.x-g.x,m=y.y-g.y,b=p*p+m*m,c=Math.sqrt(b);v=(h=(e.nodeRepulsion+r.nodeRepulsion)/b)*p/c,d=h*m/c}e.isLocked||(e.offsetX-=v,e.offsetY-=d),r.isLocked||(r.offsetX+=v,r.offsetY+=d)}},Ad=function(e,r,a,n){if(a>0)var i=e.maxX-r.minX;else i=r.maxX-e.minX;if(n>0)var s=e.maxY-r.minY;else s=r.maxY-e.minY;return i>=0&&s>=0?Math.sqrt(i*i+s*s):0},Si=function(e,r,a){var n=e.positionX,i=e.positionY,s=e.height||1,o=e.width||1,l=a/r,u=s/o,f={};return 0===r&&0a?(f.x=n,f.y=i+s/2,f):0r&&-1*u<=l&&l<=u?(f.x=n-o/2,f.y=i-o*a/2/r,f):0=u)?(f.x=n+s*r/2/a,f.y=i+s/2,f):(0>a&&(l<=-1*u||l>=u)&&(f.x=n-s*r/2/a,f.y=i-s/2),f)},Od=function(e,r){for(var a=0;a1){var p=r.gravity*d/g;c.offsetX+=r.gravity*v/g,c.offsetY+=p}}}}},Nd=function(e,r){var a=[],n=0,i=-1;for(a.push.apply(a,e.graphSet[0]),i+=e.graphSet[0].length;n<=i;){var s=a[n++],l=e.layoutNodes[e.idToIndex[s]],u=l.children;if(0a)var i={x:a*e/n,y:a*r/n};else i={x:e,y:r};return i},kd=function t(e,r){var a=e.parentId;if(null!=a){var n=r.layoutNodes[r.idToIndex[a]],i=!1;if((null==n.maxX||e.maxX+n.padRight>n.maxX)&&(n.maxX=e.maxX+n.padRight,i=!0),(null==n.minX||e.minX-n.padLeftn.maxY)&&(n.maxY=e.maxY+n.padBottom,i=!0),(null==n.minY||e.minY-n.padTopp&&(d+=y+r.componentSpacing,v=0,g=0,y=0)}}},Pd={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function Au(t){this.options=Qe({},Pd,t)}Au.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=a.nodes().not(":parent");e.sort&&(n=n.sort(e.sort));var i=lr(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(0===i.h||0===i.w)a.nodes().layoutPositions(this,e,function(be){return{x:i.x1,y:i.y1}});else{var s=n.size(),o=Math.sqrt(s*i.h/i.w),l=Math.round(o),u=Math.round(i.w/i.h*o),f=function(we){if(null==we)return Math.min(l,u);Math.min(l,u)==l?l=we:u=we},h=function(we){if(null==we)return Math.max(l,u);Math.max(l,u)==l?l=we:u=we},c=e.rows,v=null!=e.cols?e.cols:e.columns;if(null!=c&&null!=v)l=c,u=v;else if(null!=c&&null==v)l=c,u=Math.ceil(s/l);else if(null==c&&null!=v)u=v,l=Math.ceil(s/u);else if(u*l>s){var d=f(),g=h();(d-1)*g>=s?f(d-1):(g-1)*d>=s&&h(g-1)}else for(;u*l=s?h(p+1):f(y+1)}var m=i.w/u,b=i.h/l;if(e.condense&&(m=0,b=0),e.avoidOverlap)for(var E=0;E=u&&(Q=0,F++)},H={},j=0;j(Q=of(t,e,Y[H],Y[H+1],Y[H+2],Y[H+3])))return y(w,Q),!0}else if("bezier"===C.edgeType||"multibezier"===C.edgeType||"self"===C.edgeType||"compound"===C.edgeType)for(Y=C.allpts,H=0;H+5(Q=sf(t,e,Y[H],Y[H+1],Y[H+2],Y[H+3],Y[H+4],Y[H+5])))return y(w,Q),!0;j=j||M.source,ne=ne||M.target;var fe=n.getArrowWidth(k,B),te=[{name:"source",x:C.arrowStartX,y:C.arrowStartY,angle:C.srcArrowAngle},{name:"target",x:C.arrowEndX,y:C.arrowEndY,angle:C.tgtArrowAngle},{name:"mid-source",x:C.midX,y:C.midY,angle:C.midsrcArrowAngle},{name:"mid-target",x:C.midX,y:C.midY,angle:C.midtgtArrowAngle}];for(H=0;H0&&(p(j),p(ne))}function b(w,M,C){return Tr(w,M,C)}function E(w,M){var B,C=w._private,k=c;B=M?M+"-":"",w.boundingBox();var N=C.labelBounds[M||"main"],U=w.pstyle(B+"label").value;if("yes"===w.pstyle("text-events").strValue&&U){var Q=b(C.rscratch,"labelX",M),Y=b(C.rscratch,"labelY",M),H=b(C.rscratch,"labelAngle",M),j=w.pstyle(B+"text-margin-x").pfValue,ne=w.pstyle(B+"text-margin-y").pfValue,fe=N.x1-k-j,te=N.x2+k-j,le=N.y1-k-ne,be=N.y2+k-ne;if(H){var we=Math.cos(H),me=Math.sin(H),ge=function(nt,ke){return{x:(nt-=Q)*we-(ke-=Y)*me+Q,y:nt*me+ke*we+Y}},J=ge(fe,le),Ee=ge(fe,be),xe=ge(te,le),Oe=ge(te,be);if(fr(t,e,[J.x+j,J.y+ne,xe.x+j,xe.y+ne,Oe.x+j,Oe.y+ne,Ee.x+j,Ee.y+ne]))return y(w),!0}else if(Na(N,t,e))return y(w),!0}}r&&(s=s.interactive);for(var O=s.length-1;O>=0;O--){var L=s[O];L.isNode()?p(L)||E(L):m(L)||E(L)||E(L,"source")||E(L,"target")}return o},getAllInBox:function(t,e,r,a){for(var n=this.getCachedZSortedEles().interactive,i=[],s=Math.min(t,r),o=Math.max(t,r),l=Math.min(e,a),u=Math.max(e,a),f=lr({x1:t=s,y1:e=l,x2:r=o,y2:a=u}),h=0;h0?Math.max(Ye-vt,0):Math.min(Ye+vt,0)},U=N(k,y?(h+v)/2:0),F=N(B,C),Q=!1;"auto"===m?p=Math.abs(U)>Math.abs(F)?n:a:m===l||m===o?(p=a,Q=!0):(m===i||m===s)&&(p=n,Q=!0);var te,Y=p===a,H=Y?F:U,j=Y?B:k,ne=Ks(j),fe=!1;(!Q||!E&&!L)&&(m===o&&j<0||m===l&&j>0||m===i&&j>0||m===s&&j<0)&&(H=(ne*=-1)*Math.abs(H),fe=!0);var we=function(Ye){return Math.abs(Ye)=Math.abs(H)},me=we(te=E?(O<0?1+O:O)*H:(O<0?H:0)+O*ne),ge=we(Math.abs(H)-Math.abs(te));if(!me&&!ge||fe)if(Y){var A=f.y1+te+(y?c/2*ne:0);r.segpts=[f.x1,A,f.x2,A]}else{var pe=f.x1+te+(y?h/2*ne:0);r.segpts=[pe,f.y1,pe,f.y2]}else if(Y){var Ee=Math.abs(j)<=c/2,xe=Math.abs(k)<=v/2;if(Ee){var Oe=(f.x1+f.x2)/2;r.segpts=[Oe,f.y1,Oe,f.y2]}else if(xe){var nt=(f.y1+f.y2)/2;r.segpts=[f.x1,nt,f.x2,nt]}else r.segpts=[f.x1,f.y2]}else{var Ke=Math.abs(j)<=h/2,$e=Math.abs(B)<=d/2;if(Ke){var Be=(f.y1+f.y2)/2;r.segpts=[f.x1,Be,f.x2,Be]}else if($e){var st=(f.x1+f.x2)/2;r.segpts=[st,f.y1,st,f.y2]}else r.segpts=[f.x2,f.y1]}},sr.tryToCorrectInvalidPoints=function(t,e){var r=t._private.rscratch;if("bezier"===r.edgeType){var a=e.srcPos,n=e.tgtPos,i=e.srcW,s=e.srcH,o=e.tgtW,l=e.tgtH,u=e.srcShape,f=e.tgtShape,h=!x(r.startX)||!x(r.startY),c=!x(r.arrowStartX)||!x(r.arrowStartY),v=!x(r.endX)||!x(r.endY),d=!x(r.arrowEndX)||!x(r.arrowEndY),p=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,m=ha({x:r.ctrlpts[0],y:r.ctrlpts[1]},{x:r.startX,y:r.startY}),b=mF.poolIndex()){var Q=U;U=F,F=Q}var Y=C.srcPos=U.position(),H=C.tgtPos=F.position(),j=C.srcW=U.outerWidth(),ne=C.srcH=U.outerHeight(),fe=C.tgtW=F.outerWidth(),te=C.tgtH=F.outerHeight(),le=C.srcShape=r.nodeShapes[e.getNodeShape(U)],be=C.tgtShape=r.nodeShapes[e.getNodeShape(F)];C.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var we=0;we0){var Ee=i,xe=ca(Ee,Oa(r)),Oe=ca(Ee,Oa(J)),Re=xe;Oe2&&ca(Ee,{x:J[2],y:J[3]})0){var ie=s,Ce=ca(ie,Oa(r)),pe=ca(ie,Oa(A)),ye=Ce;pe2&&ca(ie,{x:A[2],y:A[3]})=d||b===g.length-1&&O===E.segments.length-1){y={cp:E,segment:L};break}}if(y)break}var M=y.cp,C=y.segment,k=(d-p)/C.length,B=C.t1-C.t0,N=v?C.t0+B*k:C.t1-B*k;N=dn(0,N,1),e=Ma(M.p0,M.p1,M.p2,N),c=function(e,r,a,n){var i=dn(0,n-.001,1),s=dn(0,n+.001,1),o=Ma(e,r,a,i),l=Ma(e,r,a,s);return Bu(o,l)}(M.p0,M.p1,M.p2,N);break;case"straight":case"segments":case"haystack":for(var F,Q,Y,H,U=0,j=a.allpts.length,ne=0;ne+3=d));ne+=2);var te=(d-Q)/F;te=dn(0,te,1),e=function(e,r,a,n){var i_x=r.x-e.x,i_y=r.y-e.y,s=ha(e,r);return a=a??0,{x:e.x+i_x/s*(n=n??a*s),y:e.y+i_y/s*n}}(Y,H,te),c=Bu(Y,H)}s("labelX",h,e.x),s("labelY",h,e.y),s("labelAutoAngle",h,c)}};u("source"),u("target"),this.applyLabelDimensions(t)}},kr.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))},kr.applyPrefixedLabelDimensions=function(t,e){var r=t._private,a=this.getLabelText(t,e),n=this.calculateLabelDimensions(t,a),i=t.pstyle("line-height").pfValue,s=t.pstyle("text-wrap").strValue,o=Tr(r.rscratch,"labelWrapCachedLines",e)||[],l="wrap"!==s?1:Math.max(o.length,1),u=n.height/l,f=u*i,h=n.width,c=n.height+(l-1)*(i-1)*u;Kr(r.rstyle,"labelWidth",e,h),Kr(r.rscratch,"labelWidth",e,h),Kr(r.rstyle,"labelHeight",e,c),Kr(r.rscratch,"labelHeight",e,c),Kr(r.rscratch,"labelLineHeight",e,f)},kr.getLabelText=function(t,e){var r=t._private,n=t.pstyle((e?e+"-":"")+"label").strValue,i=t.pstyle("text-transform").value,s=function(fe,te){return te?(Kr(r.rscratch,fe,e,te),te):Tr(r.rscratch,fe,e)};if(!n)return"";"none"==i||("uppercase"==i?n=n.toUpperCase():"lowercase"==i&&(n=n.toLowerCase()));var o=t.pstyle("text-wrap").value;if("wrap"===o){var l=s("labelKey");if(null!=l&&s("labelWrapKey")===l)return s("labelWrapCachedText");for(var f=n.split("\n"),h=t.pstyle("text-max-width").pfValue,v="anywhere"===t.pstyle("text-overflow-wrap").value,d=[],g=/[\s\u200b]+/,y=v?"":" ",p=0;ph){for(var L=m.split(g),w="",M=0;MU);H++)F+=n[H],H===n.length-1&&(Y=!0);return Y||(F+="\u2026"),F}return n},kr.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,r=t.pstyle("text-halign").strValue;if("auto"!==e)return e;if(!t.isNode())return"center";switch(r){case"left":return"right";case"right":return"left";default:return"center"}},kr.calculateLabelDimensions=function(t,e){var a=fa(e,t._private.labelDimsKey),n=this.labelDimCache||(this.labelDimCache=[]),i=n[a];if(null!=i)return i;var o=t.pstyle("font-style").strValue,l=t.pstyle("font-size").pfValue,u=t.pstyle("font-family").strValue,f=t.pstyle("font-weight").strValue,h=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=document.createElement("canvas"),c=this.labelCalcCanvasContext=h.getContext("2d");var v=h.style;v.position="absolute",v.left="-9999px",v.top="-9999px",v.zIndex="-1",v.visibility="hidden",v.pointerEvents="none"}c.font="".concat(o," ").concat(f," ").concat(l,"px ").concat(u);for(var d=0,g=0,y=e.split("\n"),p=0;p1&&void 0!==arguments[1])||arguments[1];if(e.merge(s),o)for(var l=0;l"u")&&e instanceof HTMLElement}(t);if(null==e.supportsPassiveEvents){var a=!1;try{var n=Object.defineProperty({},"passive",{get:function(){return a=!0,!0}});window.addEventListener("test",null,n)}catch{}e.supportsPassiveEvents=a}var i=function(o,l,u){var f=Array.prototype.slice.call(arguments);return r&&e.supportsPassiveEvents&&(f[2]={capture:u??!1,passive:!1,once:!1}),e.bindings.push({target:t,args:f}),(t.addEventListener||t.on).apply(t,f),this};return{on:i,addEventListener:i,addListener:i,bind:i}},nodeIsDraggable:function(t){return t&&t.isNode()&&!t.locked()&&t.grabbable()},nodeIsGrabbable:function(t){return this.nodeIsDraggable(t)&&t.interactive()},load:function(){var t=this,e=function(A){return A.selected()},r=function(A,ie,Ce,pe){null==A&&(A=t.cy);for(var ye=0;ye=t.desktopTapThreshold2}var Hr=a(A);Qt&&(t.hoverData.tapholdCancelled=!0);Ce=!0,r(lt,["mousemove","vmousemove","tapdrag"],A,{x:Se[0],y:Se[1]});var Ja=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||pe.emit({originalEvent:A,type:"boxstart",position:{x:Se[0],y:Se[1]}}),Tt[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(3===t.hoverData.which){if(Qt){var wa={originalEvent:A,type:"cxtdrag",position:{x:Se[0],y:Se[1]}};ut?ut.emit(wa):pe.emit(wa),t.hoverData.cxtDragged=!0,(!t.hoverData.cxtOver||lt!==t.hoverData.cxtOver)&&(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:A,type:"cxtdragout",position:{x:Se[0],y:Se[1]}}),t.hoverData.cxtOver=lt,lt&<.emit({originalEvent:A,type:"cxtdragover",position:{x:Se[0],y:Se[1]}}))}}else if(t.hoverData.dragging){if(Ce=!0,pe.panningEnabled()&&pe.userPanningEnabled()){var ja;if(t.hoverData.justStartedPan){var Ri=t.hoverData.mdownPos;ja={x:(Se[0]-Ri[0])*ye,y:(Se[1]-Ri[1])*ye},t.hoverData.justStartedPan=!1}else ja={x:ft[0]*ye,y:ft[1]*ye};pe.panBy(ja),pe.emit("dragpan"),t.hoverData.dragged=!0}Se=t.projectIntoViewport(A.clientX,A.clientY)}else if(1!=Tt[4]||null!=ut&&!ut.pannable()){if(ut&&ut.pannable()&&ut.active()&&ut.unactivate(),(!ut||!ut.grabbed())&<!=mt&&(mt&&r(mt,["mouseout","tapdragout"],A,{x:Se[0],y:Se[1]}),lt&&r(lt,["mouseover","tapdragover"],A,{x:Se[0],y:Se[1]}),t.hoverData.last=lt),ut)if(Qt){if(pe.boxSelectionEnabled()&&Hr)ut&&ut.grabbed()&&(g(zt),ut.emit("freeon"),zt.emit("free"),t.dragData.didDrag&&(ut.emit("dragfreeon"),zt.emit("dragfree"))),Ja();else if(ut&&ut.grabbed()&&t.nodeIsDraggable(ut)){var hr=!t.dragData.didDrag;hr&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||v(zt,{inDragLayer:!0});var nr={x:0,y:0};if(x(ft[0])&&x(ft[1])&&(nr.x+=ft[0],nr.y+=ft[1],hr)){var cr=t.hoverData.dragDelta;cr&&x(cr[0])&&x(cr[1])&&(nr.x+=cr[0],nr.y+=cr[1])}t.hoverData.draggingEles=!0,zt.silentShift(nr).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else 0===(Br=t.hoverData.dragDelta=t.hoverData.dragDelta||[]).length?(Br.push(ft[0]),Br.push(ft[1])):(Br[0]+=ft[0],Br[1]+=ft[1]);Ce=!0}else Qt&&(t.hoverData.dragging||!pe.boxSelectionEnabled()||!Hr&&pe.panningEnabled()&&pe.userPanningEnabled()?!t.hoverData.selecting&&pe.panningEnabled()&&pe.userPanningEnabled()&&n(ut,t.hoverData.downs)&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,Tt[4]=0,t.data.bgActivePosistion=Oa(Ye),t.redrawHint("select",!0),t.redraw()):Ja(),ut&&ut.pannable()&&ut.active()&&ut.unactivate());if(Tt[2]=Se[0],Tt[3]=Se[1],Ce)return A.stopPropagation&&A.stopPropagation(),A.preventDefault&&A.preventDefault(),!1}var Br},!1),t.registerBinding(window,"mouseup",function(A){if(t.hoverData.capture){t.hoverData.capture=!1;var Ce=t.cy,pe=t.projectIntoViewport(A.clientX,A.clientY),ye=t.selection,ot=t.findNearestElement(pe[0],pe[1],!0,!1),Se=t.dragData.possibleDragElements,Ye=t.hoverData.down,vt=a(A);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,Ye&&Ye.unactivate(),3===t.hoverData.which){var Tt={originalEvent:A,type:"cxttapend",position:{x:pe[0],y:pe[1]}};if(Ye?Ye.emit(Tt):Ce.emit(Tt),!t.hoverData.cxtDragged){var lt={originalEvent:A,type:"cxttap",position:{x:pe[0],y:pe[1]}};Ye?Ye.emit(lt):Ce.emit(lt)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(1===t.hoverData.which){if(r(ot,["mouseup","tapend","vmouseup"],A,{x:pe[0],y:pe[1]}),!t.dragData.didDrag&&!t.hoverData.dragged&&!t.hoverData.selecting&&!t.hoverData.isOverThresholdDrag&&(r(Ye,["click","tap","vclick"],A,{x:pe[0],y:pe[1]}),k=!1,A.timeStamp-B<=Ce.multiClickDebounceTime()?(C&&clearTimeout(C),k=!0,B=null,r(Ye,["dblclick","dbltap","vdblclick"],A,{x:pe[0],y:pe[1]})):(C=setTimeout(function(){k||r(Ye,["oneclick","onetap","voneclick"],A,{x:pe[0],y:pe[1]})},Ce.multiClickDebounceTime()),B=A.timeStamp)),null==Ye&&!t.dragData.didDrag&&!t.hoverData.selecting&&!t.hoverData.dragged&&!a(A)&&(Ce.$(e).unselect(["tapunselect"]),Se.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=Se=Ce.collection()),ot==Ye&&!t.dragData.didDrag&&!t.hoverData.selecting&&null!=ot&&ot._private.selectable&&(t.hoverData.dragging||("additive"===Ce.selectionType()||vt?ot.selected()?ot.unselect(["tapunselect"]):ot.select(["tapselect"]):vt||(Ce.$(e).unmerge(ot).unselect(["tapunselect"]),ot.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var mt=Ce.collection(t.getAllInBox(ye[0],ye[1],ye[2],ye[3]));t.redrawHint("select",!0),mt.length>0&&t.redrawHint("eles",!0),Ce.emit({type:"boxend",originalEvent:A,position:{x:pe[0],y:pe[1]}});"additive"===Ce.selectionType()||vt||Ce.$(e).unmerge(mt).unselect(),mt.emit("box").stdFilter(function(Qt){return Qt.selectable()&&!Qt.selected()}).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!ye[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var ft=Ye&&Ye.grabbed();g(Se),ft&&(Ye.emit("freeon"),Se.emit("free"),t.dragData.didDrag&&(Ye.emit("dragfreeon"),Se.emit("dragfree")))}}ye[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null}},!1);var N=function(A){if(!t.scrollingPage){var ie=t.cy,Ce=ie.zoom(),pe=ie.pan(),ye=t.projectIntoViewport(A.clientX,A.clientY),ot=[ye[0]*Ce+pe.x,ye[1]*Ce+pe.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||0!==t.selection[4])return void A.preventDefault();if(ie.panningEnabled()&&ie.userPanningEnabled()&&ie.zoomingEnabled()&&ie.userZoomingEnabled()){var Se;A.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout(function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw()},150),Se=null!=A.deltaY?A.deltaY/-250:null!=A.wheelDeltaY?A.wheelDeltaY/1e3:A.wheelDelta/1e3,Se*=t.wheelSensitivity,1===A.deltaMode&&(Se*=33);var vt=ie.zoom()*Math.pow(10,Se);"gesturechange"===A.type&&(vt=t.gestureStartZoom*A.scale),ie.zoom({level:vt,renderedPosition:{x:ot[0],y:ot[1]}}),ie.emit("gesturechange"===A.type?"pinchzoom":"scrollzoom")}}};t.registerBinding(t.container,"wheel",N,!0),t.registerBinding(window,"scroll",function(A){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout(function(){t.scrollingPage=!1},250)},!0),t.registerBinding(t.container,"gesturestart",function(A){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||A.preventDefault()},!0),t.registerBinding(t.container,"gesturechange",function(De){t.hasTouchStarted||N(De)},!0),t.registerBinding(t.container,"mouseout",function(A){var ie=t.projectIntoViewport(A.clientX,A.clientY);t.cy.emit({originalEvent:A,type:"mouseout",position:{x:ie[0],y:ie[1]}})},!1),t.registerBinding(t.container,"mouseover",function(A){var ie=t.projectIntoViewport(A.clientX,A.clientY);t.cy.emit({originalEvent:A,type:"mouseover",position:{x:ie[0],y:ie[1]}})},!1);var U,F,Q,Y,H,j,ne,fe,te,le,be,we,me,Ee,xe,Oe,Re,tt,nt,ke,ge=function(A,ie,Ce,pe){return Math.sqrt((Ce-A)*(Ce-A)+(pe-ie)*(pe-ie))},J=function(A,ie,Ce,pe){return(Ce-A)*(Ce-A)+(pe-ie)*(pe-ie)};if(t.registerBinding(t.container,"touchstart",Ee=function(A){if(t.hasTouchStarted=!0,M(A)){p(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var ie=t.cy,Ce=t.touchData.now,pe=t.touchData.earlier;if(A.touches[0]){var ye=t.projectIntoViewport(A.touches[0].clientX,A.touches[0].clientY);Ce[0]=ye[0],Ce[1]=ye[1]}if(A.touches[1]&&(ye=t.projectIntoViewport(A.touches[1].clientX,A.touches[1].clientY),Ce[2]=ye[0],Ce[3]=ye[1]),A.touches[2]&&(ye=t.projectIntoViewport(A.touches[2].clientX,A.touches[2].clientY),Ce[4]=ye[0],Ce[5]=ye[1]),A.touches[1]){t.touchData.singleTouchMoved=!0,g(t.dragData.touchDragEles);var ot=t.findContainerClientCoords();be=ot[2],we=ot[3],F=A.touches[0].clientY-(le=ot[1]),Q=A.touches[1].clientX-(te=ot[0]),Y=A.touches[1].clientY-le,me=0<=(U=A.touches[0].clientX-te)&&U<=be&&0<=Q&&Q<=be&&0<=F&&F<=we&&0<=Y&&Y<=we;var Se=ie.pan(),Ye=ie.zoom();H=ge(U,F,Q,Y),j=J(U,F,Q,Y),fe=[((ne=[(U+Q)/2,(F+Y)/2])[0]-Se.x)/Ye,(ne[1]-Se.y)/Ye];if(j<4e4&&!A.touches[2]){var lt=t.findNearestElement(Ce[0],Ce[1],!0,!0),mt=t.findNearestElement(Ce[2],Ce[3],!0,!0);return lt&<.isNode()?(lt.activate().emit({originalEvent:A,type:"cxttapstart",position:{x:Ce[0],y:Ce[1]}}),t.touchData.start=lt):mt&&mt.isNode()?(mt.activate().emit({originalEvent:A,type:"cxttapstart",position:{x:Ce[0],y:Ce[1]}}),t.touchData.start=mt):ie.emit({originalEvent:A,type:"cxttapstart",position:{x:Ce[0],y:Ce[1]}}),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,void t.redraw()}}if(A.touches[2])ie.boxSelectionEnabled()&&A.preventDefault();else if(!A.touches[1]&&A.touches[0]){var ut=t.findNearestElements(Ce[0],Ce[1],!0,!0),ft=ut[0];if(null!=ft&&(ft.activate(),t.touchData.start=ft,t.touchData.starts=ut,t.nodeIsGrabbable(ft))){var zt=t.dragData.touchDragEles=ie.collection(),Qt=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),ft.selected()?(Qt=ie.$(function(or){return or.selected()&&t.nodeIsGrabbable(or)}),v(Qt,{addToList:zt})):d(ft,{addToList:zt}),u(ft);var Sr=function(Hr){return{originalEvent:A,type:Hr,position:{x:Ce[0],y:Ce[1]}}};ft.emit(Sr("grabon")),Qt?Qt.forEach(function(or){or.emit(Sr("grab"))}):ft.emit(Sr("grab"))}r(ft,["touchstart","tapstart","vmousedown"],A,{x:Ce[0],y:Ce[1]}),null==ft&&(t.data.bgActivePosistion={x:ye[0],y:ye[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout(function(){!1===t.touchData.singleTouchMoved&&!t.pinching&&!t.touchData.selecting&&r(t.touchData.start,["taphold"],A,{x:Ce[0],y:Ce[1]})},t.tapholdDuration)}if(A.touches.length>=1){for(var Lr=t.touchData.startPosition=[],Jt=0;Jt=t.touchTapThreshold2}if(ie&&t.touchData.cxt){A.preventDefault();var Hr=J(Lr=A.touches[0].clientX-te,Jt=A.touches[0].clientY-le,Er=A.touches[1].clientX-te,or=A.touches[1].clientY-le);if(Hr/j>=2.25||Hr>=22500){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var xa={originalEvent:A,type:"cxttapend",position:{x:ye[0],y:ye[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(xa),t.touchData.start=null):pe.emit(xa)}}if(ie&&t.touchData.cxt){xa={originalEvent:A,type:"cxtdrag",position:{x:ye[0],y:ye[1]}},t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(xa):pe.emit(xa),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var hr=t.findNearestElement(ye[0],ye[1],!0,!0);(!t.touchData.cxtOver||hr!==t.touchData.cxtOver)&&(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:A,type:"cxtdragout",position:{x:ye[0],y:ye[1]}}),t.touchData.cxtOver=hr,hr&&hr.emit({originalEvent:A,type:"cxtdragover",position:{x:ye[0],y:ye[1]}}))}else if(ie&&A.touches[2]&&pe.boxSelectionEnabled())A.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||pe.emit({originalEvent:A,type:"boxstart",position:{x:ye[0],y:ye[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,Ce[4]=1,Ce&&0!==Ce.length&&void 0!==Ce[0]?(Ce[2]=(ye[0]+ye[2]+ye[4])/3,Ce[3]=(ye[1]+ye[3]+ye[5])/3):(Ce[0]=(ye[0]+ye[2]+ye[4])/3,Ce[1]=(ye[1]+ye[3]+ye[5])/3,Ce[2]=(ye[0]+ye[2]+ye[4])/3+1,Ce[3]=(ye[1]+ye[3]+ye[5])/3+1),t.redrawHint("select",!0),t.redraw();else if(ie&&A.touches[1]&&!t.touchData.didSelect&&pe.zoomingEnabled()&&pe.panningEnabled()&&pe.userZoomingEnabled()&&pe.userPanningEnabled()){if(A.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),nr=t.dragData.touchDragEles){t.redrawHint("drag",!0);for(var cr=0;cr0&&!t.hoverData.draggingEles&&!t.swipePanning&&null!=t.data.bgActivePosistion&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},!1),t.registerBinding(window,"touchcancel",Oe=function(A){var ie=t.touchData.start;t.touchData.capture=!1,ie&&ie.unactivate()}),t.registerBinding(window,"touchend",Re=function(A){var ie=t.touchData.start;if(t.touchData.capture){0===A.touches.length&&(t.touchData.capture=!1),A.preventDefault();var pe=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var Tt,ye=t.cy,ot=ye.zoom(),Se=t.touchData.now,Ye=t.touchData.earlier;if(A.touches[0]){var vt=t.projectIntoViewport(A.touches[0].clientX,A.touches[0].clientY);Se[0]=vt[0],Se[1]=vt[1]}if(A.touches[1]&&(vt=t.projectIntoViewport(A.touches[1].clientX,A.touches[1].clientY),Se[2]=vt[0],Se[3]=vt[1]),A.touches[2]&&(vt=t.projectIntoViewport(A.touches[2].clientX,A.touches[2].clientY),Se[4]=vt[0],Se[5]=vt[1]),ie&&ie.unactivate(),t.touchData.cxt){if(Tt={originalEvent:A,type:"cxttapend",position:{x:Se[0],y:Se[1]}},ie?ie.emit(Tt):ye.emit(Tt),!t.touchData.cxtDragged){var lt={originalEvent:A,type:"cxttap",position:{x:Se[0],y:Se[1]}};ie?ie.emit(lt):ye.emit(lt)}return t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,void t.redraw()}if(!A.touches[2]&&ye.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var mt=ye.collection(t.getAllInBox(pe[0],pe[1],pe[2],pe[3]));pe[0]=void 0,pe[1]=void 0,pe[2]=void 0,pe[3]=void 0,pe[4]=0,t.redrawHint("select",!0),ye.emit({type:"boxend",originalEvent:A,position:{x:Se[0],y:Se[1]}});mt.emit("box").stdFilter(function(wa){return wa.selectable()&&!wa.selected()}).select().emit("boxselect"),mt.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(ie?.unactivate(),A.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(!A.touches[1]&&!A.touches[0]&&!A.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var ft=t.dragData.touchDragEles;if(null!=ie){var zt=ie._private.grabbed;g(ft),t.redrawHint("drag",!0),t.redrawHint("eles",!0),zt&&(ie.emit("freeon"),ft.emit("free"),t.dragData.didDrag&&(ie.emit("dragfreeon"),ft.emit("dragfree"))),r(ie,["touchend","tapend","vmouseup","tapdragout"],A,{x:Se[0],y:Se[1]}),ie.unactivate(),t.touchData.start=null}else{var Qt=t.findNearestElement(Se[0],Se[1],!0,!0);r(Qt,["touchend","tapend","vmouseup","tapdragout"],A,{x:Se[0],y:Se[1]})}var Sr=t.touchData.startPosition[0]-Se[0],Jt=t.touchData.startPosition[1]-Se[1],Hr=(Sr*Sr+Jt*Jt)*ot*ot;t.touchData.singleTouchMoved||(ie||ye.$(":selected").unselect(["tapunselect"]),r(ie,["tap","vclick"],A,{x:Se[0],y:Se[1]}),tt=!1,A.timeStamp-ke<=ye.multiClickDebounceTime()?(nt&&clearTimeout(nt),tt=!0,ke=null,r(ie,["dbltap","vdblclick"],A,{x:Se[0],y:Se[1]})):(nt=setTimeout(function(){tt||r(ie,["onetap","voneclick"],A,{x:Se[0],y:Se[1]})},ye.multiClickDebounceTime()),ke=A.timeStamp)),null!=ie&&!t.dragData.didDrag&&ie._private.selectable&&Hr"u"){var Me=[],Ke=function(A){return{clientX:A.clientX,clientY:A.clientY,force:1,identifier:A.pointerId,pageX:A.pageX,pageY:A.pageY,radiusX:A.width/2,radiusY:A.height/2,screenX:A.screenX,screenY:A.screenY,target:A.target}},Be=function(A){Me.push(function(A){return{event:A,touch:Ke(A)}}(A))},Xe=function(A){for(var ie=0;ie2){for(var Y=[u[0],u[1]],H=Math.pow(Y[0]-e,2)+Math.pow(Y[1]-r,2),j=1;j0)return te[0]}return null},v=Object.keys(h),d=0;d0?c:Js(i,s,e,r,a,n,o)},checkPoint:function(e,r,a,n,i,s,o){var l=yn(n,i),u=2*l;if(Vr(e,r,this.points,s,o,n,i-u,[0,-1],a)||Vr(e,r,this.points,s,o,n-u,i,[0,-1],a))return!0;var f=n/2+2*a,h=i/2+2*a;return!!(fr(e,r,[s-f,o-h,s-f,o,s+f,o,s+f,o-h])||va(e,r,u,u,s+n/2-l,o+i/2-l,a)||va(e,r,u,u,s-n/2+l,o+i/2-l,a))}}},registerNodeShapes:function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",ir(3,0)),this.generateRoundPolygon("round-triangle",ir(3,0)),this.generatePolygon("rectangle",ir(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var r=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",r),this.generateRoundPolygon("round-diamond",r),this.generatePolygon("pentagon",ir(5,0)),this.generateRoundPolygon("round-pentagon",ir(5,0)),this.generatePolygon("hexagon",ir(6,0)),this.generateRoundPolygon("round-hexagon",ir(6,0)),this.generatePolygon("heptagon",ir(7,0)),this.generateRoundPolygon("round-heptagon",ir(7,0)),this.generatePolygon("octagon",ir(8,0)),this.generateRoundPolygon("round-octagon",ir(8,0));var a=new Array(20),n=Ji(5,0),i=Ji(5,Math.PI/5),s=.5*(3-Math.sqrt(5));s*=1.57;for(var o=0;o=e.deqFastCost*(Ds-(u?c:0)))break}else if(u){if(m>=e.deqCost*v||m>=e.deqAvgCost*c)break}else if(b>=e.deqNoDrawCost*Ds)break;var O=e.deq(a,y,g);if(!(O.length>0))break;for(var L=0;L0&&(e.onDeqd(a,d),!u&&e.shouldRedraw(a,d,y,g)&&i())},(e.priority||Xi)(a))}}},Yd=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qn;_e(this,t),this.idsByKey=new Ir,this.keyForId=new Ir,this.cachesByLvl=new Ir,this.lvls=[],this.getKey=e,this.doesEleInvalidateKey=r}return G(t,[{key:"getIdsFor",value:function(r){null==r&&Bt("Can not get id list for null key");var a=this.idsByKey,n=this.idsByKey.get(r);return n||(n=new Aa,a.set(r,n)),n}},{key:"addIdForKey",value:function(r,a){null!=r&&this.getIdsFor(r).add(a)}},{key:"deleteIdForKey",value:function(r,a){null!=r&&this.getIdsFor(r).delete(a)}},{key:"getNumberOfIdsForKey",value:function(r){return null==r?0:this.getIdsFor(r).size}},{key:"updateKeyMappingFor",value:function(r){var a=r.id(),n=this.keyForId.get(a),i=this.getKey(r);this.deleteIdForKey(n,a),this.addIdForKey(i,a),this.keyForId.set(a,i)}},{key:"deleteKeyMappingFor",value:function(r){var a=r.id(),n=this.keyForId.get(a);this.deleteIdForKey(n,a),this.keyForId.delete(a)}},{key:"keyHasChangedFor",value:function(r){var a=r.id();return this.keyForId.get(a)!==this.getKey(r)}},{key:"isInvalid",value:function(r){return this.keyHasChangedFor(r)||this.doesEleInvalidateKey(r)}},{key:"getCachesAt",value:function(r){var a=this.cachesByLvl,n=this.lvls,i=a.get(r);return i||(i=new Ir,a.set(r,i),n.push(r)),i}},{key:"getCache",value:function(r,a){return this.getCachesAt(a).get(r)}},{key:"get",value:function(r,a){var n=this.getKey(r),i=this.getCache(n,a);return null!=i&&this.updateKeyMappingFor(r),i}},{key:"getForCachedKey",value:function(r,a){var n=this.keyForId.get(r.id());return this.getCache(n,a)}},{key:"hasCache",value:function(r,a){return this.getCachesAt(a).has(r)}},{key:"has",value:function(r,a){var n=this.getKey(r);return this.hasCache(n,a)}},{key:"setCache",value:function(r,a,n){n.key=r,this.getCachesAt(a).set(r,n)}},{key:"set",value:function(r,a,n){var i=this.getKey(r);this.setCache(i,a,n),this.updateKeyMappingFor(r)}},{key:"deleteCache",value:function(r,a){this.getCachesAt(a).delete(r)}},{key:"delete",value:function(r,a){var n=this.getKey(r);this.deleteCache(n,a)}},{key:"invalidateKey",value:function(r){var a=this;this.lvls.forEach(function(n){return a.deleteCache(r,n)})}},{key:"invalidate",value:function(r){var a=r.id(),n=this.keyForId.get(a);this.deleteKeyMappingFor(r);var i=this.doesEleInvalidateKey(r);return i&&this.invalidateKey(n),i||0===this.getNumberOfIdsForKey(n)}}]),t}(),Ka={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},ng=Wt({getKey:null,doesEleInvalidateKey:qn,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:Us,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),Rn=function(e,r){var a=this;a.renderer=e,a.onDequeues=[];var n=ng(r);Qe(a,n),a.lookup=new Yd(n.getKey,n.doesEleInvalidateKey),a.setupDequeueing()},$t=Rn.prototype;$t.reasons=Ka,$t.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},$t.getRetiredTextureQueue=function(t){var r=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return r[t]=r[t]||[]},$t.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new vn(function(r,a){return a.reqs-r.reqs})},$t.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},$t.getElement=function(t,e,r,a,n){var i=this,s=this.renderer,o=s.cy.zoom(),l=this.lookup;if(!e||0===e.w||0===e.h||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed()||!i.allowEdgeTxrCaching&&t.isEdge()||!i.allowParentTxrCaching&&t.isParent())return null;if(null==a&&(a=Math.ceil(qi(o*r))),a<-4)a=-4;else if(o>=7.99||a>3)return null;var u=Math.pow(2,a),f=e.h*u,h=e.w*u,c=s.eleTextBiggerThanMin(t,u);if(!this.isVisible(t,c))return null;var d,v=l.get(t,a);if(v&&v.invalidated&&(v.invalidated=!1,v.texture.invalidatedWidth-=v.width),v)return v;if(d=f<=25?25:f<=50?50:50*Math.ceil(f/50),f>1024||h>1024)return null;var g=i.getTextureQueue(d),y=g[g.length-2],p=function(){return i.recycleTexture(d,h)||i.addTexture(d,h)};y||(y=g[g.length-1]),y||(y=p()),y.width-y.usedWidtha;B--)C=i.getElement(t,e,r,B,Ka.downscale);k()}else{var N;if(!b&&!E&&!O)for(var U=a-1;U>=-4;U--){var F=l.get(t,U);if(F){N=F;break}}if(m(N))return i.queueElement(t,a),N;y.context.translate(y.usedWidth,0),y.context.scale(u,u),this.drawElement(y.context,t,e,c,!1),y.context.scale(1/u,1/u),y.context.translate(-y.usedWidth,0)}return v={x:y.usedWidth,texture:y,level:a,scale:u,width:h,height:f,scaledLabelShown:c},y.usedWidth+=Math.ceil(h+8),y.eleCaches.push(v),l.set(t,a,v),i.checkTextureFullness(y),v},$t.invalidateElements=function(t){for(var e=0;e=.2*t.width&&this.retireTexture(t)},$t.checkTextureFullness=function(t){var r=this.getTextureQueue(t.height);t.usedWidth/t.width>.8&&t.fullnessChecks>=10?qr(r,t):t.fullnessChecks++},$t.retireTexture=function(t){var r=t.height,a=this.getTextureQueue(r),n=this.lookup;qr(a,t),t.retired=!0;for(var i=t.eleCaches,s=0;s=e)return s.retired=!1,s.usedWidth=0,s.invalidatedWidth=0,s.fullnessChecks=0,Wi(s.eleCaches),s.context.setTransform(1,0,0,1,0,0),s.context.clearRect(0,0,s.width,s.height),qr(n,s),a.push(s),s}},$t.queueElement=function(t,e){var a=this.getElementQueue(),n=this.getElementKeyToQueue(),i=this.getKey(t),s=n[i];if(s)s.level=Math.max(s.level,e),s.eles.merge(t),s.reqs++,a.updateItem(s);else{var o={eles:t.spawn().merge(t),level:e,reqs:1,key:i};a.push(o),n[i]=o}},$t.dequeue=function(t){for(var e=this,r=e.getElementQueue(),a=e.getElementKeyToQueue(),n=[],i=e.lookup,s=0;s<1&&r.size()>0;s++){var o=r.pop(),l=o.key,u=o.eles[0],f=i.hasCache(u,o.level);if(a[l]=null,!f){n.push(o);var h=e.getBoundingBox(u);e.getElement(u,h,t,o.level,Ka.dequeue)}}return n},$t.removeFromQueue=function(t){var r=this.getElementQueue(),a=this.getElementKeyToQueue(),n=this.getKey(t),i=a[n];null!=i&&(1===i.eles.length?(i.reqs=Hi,r.updateItem(i),r.pop(),a[n]=null):i.eles.unmerge(t))},$t.onDequeue=function(t){this.onDequeues.push(t)},$t.offDequeue=function(t){qr(this.onDequeues,t)},$t.setupDequeueing=Hu_setupDequeueing({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,r,a){return e.dequeue(r,a)},onDeqd:function(e,r){for(var a=0;a=3.99||r>2)return null;a.validateLayersElesOrdering(r,t);var h,v,l=a.layersByLevel,u=Math.pow(2,r),f=l[r]=l[r]||[];if(a.levelIsComplete(r,t))return f;!function(){var k=function(Q){if(a.validateLayersElesOrdering(Q,t),a.levelIsComplete(Q,t))return v=l[Q],!0},B=function(Q){if(!v)for(var Y=r+Q;-4<=Y&&Y<=2&&!k(Y);Y+=Q);};B(1),B(-1);for(var N=f.length-1;N>=0;N--){var U=f[N];U.invalid&&qr(f,U)}}();var y=function(k){var B=(k=k||{}).after;if(function(){if(!h){h=lr();for(var k=0;k16e6)return null;var U=a.makeLayer(h,r);if(null!=B){var F=f.indexOf(B)+1;f.splice(F,0,U)}else(void 0===k.insert||k.insert)&&f.unshift(U);return U};if(a.skipping&&!o)return null;for(var p=null,m=t.length/1,b=!o,E=0;E=m||!Qs(p.bb,O.boundingBox()))&&!(p=y({insert:!0,after:p})))return null;v||b?a.queueLayer(p,O):a.drawEleInLayer(p,O,r,e),p.eles.push(O),w[r]=p}}return v||(b?null:f)},Zt.getEleLevelForLayerLevel=function(t,e){return t},Zt.drawEleInLayer=function(t,e,r,a){var i=this.renderer,s=t.context,o=e.boundingBox();0===o.w||0===o.h||!e.visible()||(r=this.getEleLevelForLayerLevel(r,a),i.setImgSmoothing(s,!1),i.drawCachedElement(s,e,null,null,r,true),i.setImgSmoothing(s,!0))},Zt.levelIsComplete=function(t,e){var a=this.layersByLevel[t];if(!a||0===a.length)return!1;for(var n=0,i=0;i0||s.invalid)return!1;n+=s.eles.length}return n===e.length},Zt.validateLayersElesOrdering=function(t,e){var r=this.layersByLevel[t];if(r)for(var a=0;a0){e=!0;break}}return e},Zt.invalidateElements=function(t){var e=this;0!==t.length&&(e.lastInvalidationTime=Gr(),0!==t.length&&e.haveLayers()&&e.updateElementsInLayers(t,function(a,n,i){e.invalidateLayer(a)}))},Zt.invalidateLayer=function(t){if(this.lastInvalidationTime=Gr(),!t.invalid){var e=t.level,r=t.eles;qr(this.layersByLevel[e],t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var n=0;n3&&void 0!==arguments[3])||arguments[3],n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=this,o=e._private.rscratch;if((!i||e.visible())&&!o.badLine&&null!=o.allpts&&!isNaN(o.allpts[0])){var l;r&&t.translate(-(l=r).x1,-l.y1);var u=i?e.pstyle("opacity").value:1,f=i?e.pstyle("line-opacity").value:1,h=e.pstyle("curve-style").value,c=e.pstyle("line-style").value,v=e.pstyle("width").pfValue,d=e.pstyle("line-cap").value,g=u*f,y=u*f,p=function(){var N=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;"straight-triangle"===h?(s.eleStrokeStyle(t,e,N),s.drawEdgeTrianglePath(e,t,o.allpts)):(t.lineWidth=v,t.lineCap=d,s.eleStrokeStyle(t,e,N),s.drawEdgePath(e,t,o.allpts,c),t.lineCap="butt")},E=function(){s.drawArrowheads(t,e,arguments.length>0&&void 0!==arguments[0]?arguments[0]:y)};if(t.lineJoin="round","yes"===e.pstyle("ghost").value){var w=e.pstyle("ghost-offset-x").pfValue,M=e.pstyle("ghost-offset-y").pfValue,C=e.pstyle("ghost-opacity").value,k=g*C;t.translate(w,M),p(k),E(k),t.translate(-w,-M)}n&&s.drawEdgeUnderlay(t,e),p(),E(),n&&s.drawEdgeOverlay(t,e),s.drawElementText(t,e,null,a),r&&t.translate(l.x1,l.y1)}}},Ju=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,a){if(a.visible()){var n=a.pstyle("".concat(e,"-opacity")).value;if(0!==n){var i=this,s=i.usePaths(),o=a._private.rscratch,u=2*a.pstyle("".concat(e,"-padding")).pfValue,f=a.pstyle("".concat(e,"-color")).value;r.lineWidth=u,r.lineCap="self"!==o.edgeType||s?"round":"butt",i.colorStrokeStyle(r,f[0],f[1],f[2],n),i.drawEdgePath(a,r,o.allpts,"solid")}}}};Yr.drawEdgeOverlay=Ju("overlay"),Yr.drawEdgeUnderlay=Ju("underlay"),Yr.drawEdgePath=function(t,e,r,a){var s,n=t._private.rscratch,i=e,o=!1,l=this.usePaths(),u=t.pstyle("line-dash-pattern").pfValue,f=t.pstyle("line-dash-offset").pfValue;if(l){var h=r.join("$");n.pathCacheKey&&n.pathCacheKey===h?(s=e=n.pathCache,o=!0):(s=e=new Path2D,n.pathCacheKey=h,n.pathCache=s)}if(i.setLineDash)switch(a){case"dotted":i.setLineDash([1,1]);break;case"dashed":i.setLineDash(u),i.lineDashOffset=f;break;case"solid":i.setLineDash([])}if(!o&&!n.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(r[0],r[1]),n.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var v=2;v+35&&void 0!==arguments[5])||arguments[5],s=this;if(null==a){if(i&&!s.eleTextBiggerThanMin(e))return}else if(!1===a)return;if(e.isNode()){var o=e.pstyle("label");if(!o||!o.value)return;var l=s.getLabelJustification(e);t.textAlign=l,t.textBaseline="bottom"}else{var u=e.element()._private.rscratch.badLine,f=e.pstyle("label"),h=e.pstyle("source-label"),c=e.pstyle("target-label");if(u||(!f||!f.value)&&(!h||!h.value)&&(!c||!c.value))return;t.textAlign="center",t.textBaseline="bottom"}var d,v=!r;r&&t.translate(-(d=r).x1,-d.y1),null==n?(s.drawText(t,e,null,v,i),e.isEdge()&&(s.drawText(t,e,"source",v,i),s.drawText(t,e,"target",v,i))):s.drawText(t,e,n,v,i),r&&t.translate(d.x1,d.y1)},ma.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var r=0;r2&&void 0!==arguments[2])||arguments[2],a=e.pstyle("font-style").strValue,n=e.pstyle("font-size").pfValue+"px",i=e.pstyle("font-family").strValue,s=e.pstyle("font-weight").strValue,o=r?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,l=e.pstyle("text-outline-opacity").value*o,u=e.pstyle("color").value,f=e.pstyle("text-outline-color").value;t.font=a+" "+s+" "+n+" "+i,t.lineJoin="round",this.colorFillStyle(t,u[0],u[1],u[2],o),this.colorStrokeStyle(t,f[0],f[1],f[2],l)},ma.getTextAngle=function(t,e){var n=t._private.rscratch,s=t.pstyle((e?e+"-":"")+"text-rotation"),o=Tr(n,"labelAngle",e);return"autorotate"===s.strValue?t.isEdge()?o:0:"none"===s.strValue?0:s.pfValue},ma.drawText=function(t,e,r){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=e._private.rscratch,o=n?e.effectiveOpacity():1;if(!n||0!==o&&0!==e.pstyle("text-opacity").value){"main"===r&&(r=null);var f,h,l=Tr(s,"labelX",r),u=Tr(s,"labelY",r),c=this.getLabelText(e,r);if(null!=c&&""!==c&&!isNaN(l)&&!isNaN(u)){this.setupTextStyle(t,e,n);var O,v=r?r+"-":"",d=Tr(s,"labelWidth",r),g=Tr(s,"labelHeight",r),y=e.pstyle(v+"text-margin-x").pfValue,p=e.pstyle(v+"text-margin-y").pfValue,m=e.isEdge(),b=e.pstyle("text-halign").value,E=e.pstyle("text-valign").value;switch(m&&(b="center",E="center"),l+=y,u+=p,0!==(O=a?this.getTextAngle(e,r):0)&&(t.translate(f=l,h=u),t.rotate(O),l=0,u=0),E){case"top":break;case"center":u+=g/2;break;case"bottom":u+=g}var L=e.pstyle("text-background-opacity").value,w=e.pstyle("text-border-opacity").value,M=e.pstyle("text-border-width").pfValue,C=e.pstyle("text-background-padding").pfValue;if(L>0||M>0&&w>0){var k=l-C;switch(b){case"left":k-=d;break;case"center":k-=d/2}var B=u-g-C,N=d+2*C,U=g+2*C;if(L>0){var F=t.fillStyle,Q=e.pstyle("text-background-color").value;t.fillStyle="rgba("+Q[0]+","+Q[1]+","+Q[2]+","+L*o+")",0===e.pstyle("text-background-shape").strValue.indexOf("round")?function Sg(t,e,r,a,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;t.beginPath(),t.moveTo(e+i,r),t.lineTo(e+a-i,r),t.quadraticCurveTo(e+a,r,e+a,r+i),t.lineTo(e+a,r+n-i),t.quadraticCurveTo(e+a,r+n,e+a-i,r+n),t.lineTo(e+i,r+n),t.quadraticCurveTo(e,r+n,e,r+n-i),t.lineTo(e,r+i),t.quadraticCurveTo(e,r,e+i,r),t.closePath(),t.fill()}(t,k,B,N,U,2):t.fillRect(k,B,N,U),t.fillStyle=F}if(M>0&&w>0){var H=t.strokeStyle,j=t.lineWidth,ne=e.pstyle("text-border-color").value,fe=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+ne[0]+","+ne[1]+","+ne[2]+","+w*o+")",t.lineWidth=M,t.setLineDash)switch(fe){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=M/4,t.setLineDash([]);break;case"solid":t.setLineDash([])}if(t.strokeRect(k,B,N,U),"double"===fe){var te=M/2;t.strokeRect(k+te,B+te,N-2*te,U-2*te)}t.setLineDash&&t.setLineDash([]),t.lineWidth=j,t.strokeStyle=H}}var le=2*e.pstyle("text-outline-width").pfValue;if(le>0&&(t.lineWidth=le),"wrap"===e.pstyle("text-wrap").value){var be=Tr(s,"labelWrapCachedLines",r),we=Tr(s,"labelLineHeight",r),me=d/2,ge=this.getLabelJustification(e);switch("auto"===ge||("left"===b?"left"===ge?l+=-d:"center"===ge&&(l+=-me):"center"===b?"left"===ge?l+=-me:"right"===ge&&(l+=me):"right"===b&&("center"===ge?l+=me:"right"===ge&&(l+=d))),E){case"top":case"center":case"bottom":u-=(be.length-1)*we}for(var J=0;J0&&t.strokeText(be[J],l,u),t.fillText(be[J],l,u),u+=we}else le>0&&t.strokeText(c,l,u),t.fillText(c,l,u);0!==O&&(t.rotate(-O),t.translate(-f,-h))}}};var Za={drawNode:function(t,e,r){var o,l,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=this,u=e._private,f=u.rscratch,h=e.position();if(x(h.x)&&x(h.y)&&(!i||e.visible())){var d,p,c=i?e.effectiveOpacity():1,v=s.usePaths(),g=!1,y=e.padding();o=e.width()+2*y,l=e.height()+2*y,r&&t.translate(-(p=r).x1,-p.y1);for(var b=e.pstyle("background-image").value,E=new Array(b.length),O=new Array(b.length),L=0,w=0;w0&&void 0!==arguments[0]?arguments[0]:U)},j=function(){s.colorStrokeStyle(t,F[0],F[1],F[2],arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y)},ne=e.pstyle("shape").strValue,fe=e.pstyle("shape-polygon-points").pfValue;if(v){t.translate(h.x,h.y);var te=s.nodePathCache=s.nodePathCache||[],le=Vs("polygon"===ne?ne+","+fe.join(","):ne,""+l,""+o),be=te[le];null!=be?(g=!0,f.pathCache=d=be):(d=new Path2D,te[le]=f.pathCache=d)}var we=function(){if(!g){var Be=h;v&&(Be={x:0,y:0}),s.nodeShapes[s.getNodeShape(e)].draw(d||t,Be.x,Be.y,o,l)}v?t.fill(d):t.fill()},me=function(){for(var Be=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,Xe=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],ht=u.backgrounding,st=0,je=0;je0&&void 0!==arguments[0]&&arguments[0],Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;s.hasPie(e)&&(s.drawPie(t,e,Xe),Be&&(v||s.nodeShapes[s.getNodeShape(e)].draw(t,h.x,h.y,o,l)))},J=function(){var ht=B>0?0:255;0!==B&&(s.colorFillStyle(t,ht,ht,ht,(B>0?B:-B)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c)),v?t.fill(d):t.fill())},Ee=function(){if(N>0){if(t.lineWidth=N,t.lineCap="butt",t.setLineDash)switch(Q){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([])}if(v?t.stroke(d):t.stroke(),"double"===Q){t.lineWidth=N/3;var Be=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",v?t.stroke(d):t.stroke(),t.globalCompositeOperation=Be}t.setLineDash&&t.setLineDash([])}};if("yes"===e.pstyle("ghost").value){var nt=e.pstyle("ghost-offset-x").pfValue,ke=e.pstyle("ghost-offset-y").pfValue,Me=e.pstyle("ghost-opacity").value,Ke=Me*c;t.translate(nt,ke),H(Me*U),we(),me(Ke,!0),j(Me*Y),Ee(),ge(0!==B||0!==N),me(Ke,!1),J(Ke),t.translate(-nt,-ke)}v&&t.translate(-h.x,-h.y),n&&s.drawNodeUnderlay(t,e,h,o,l),v&&t.translate(h.x,h.y),H(),we(),me(c,!0),j(),Ee(),ge(0!==B||0!==N),me(c,!1),J(),v&&t.translate(-h.x,-h.y),s.drawElementText(t,e,null,a),n&&s.drawNodeOverlay(t,e,h,o,l),r&&t.translate(p.x1,p.y1)}}},ju=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,a,n,i,s){if(a.visible()){var l=a.pstyle("".concat(e,"-padding")).pfValue,u=a.pstyle("".concat(e,"-opacity")).value,f=a.pstyle("".concat(e,"-color")).value,h=a.pstyle("".concat(e,"-shape")).value;if(u>0){if(n=n||a.position(),null==i||null==s){var c=a.padding();i=a.width()+2*c,s=a.height()+2*c}this.colorFillStyle(r,f[0],f[1],f[2],u),this.nodeShapes[h].draw(r,n.x,n.y,i+2*l,s+2*l),r.fill()}}}};Za.drawNodeOverlay=ju("overlay"),Za.drawNodeUnderlay=ju("underlay"),Za.hasPie=function(t){return(t=t[0])._private.hasPie},Za.drawPie=function(t,e,r,a){e=e[0],a=a||e.position();var n=e.cy().style(),i=e.pstyle("pie-size"),s=a.x,o=a.y,l=e.width(),u=e.height(),f=Math.min(l,u)/2,h=0;this.usePaths()&&(s=0,o=0),"%"===i.units?f*=i.pfValue:void 0!==i.pfValue&&(f=i.pfValue/2);for(var v=1;v<=n.pieBackgroundN;v++){var d=e.pstyle("pie-"+v+"-background-size").value,g=e.pstyle("pie-"+v+"-background-color").value,y=e.pstyle("pie-"+v+"-background-opacity").value*r,p=d/100;p+h>1&&(p=1-h);var m=1.5*Math.PI+2*Math.PI*h,E=m+2*Math.PI*p;0===d||h>=1||h+p>1||(t.beginPath(),t.moveTo(s,o),t.arc(s,o,f,m,E),t.closePath(),this.colorFillStyle(t,g[0],g[1],g[2],y),t.fill(),h+=p)}};var dr={};dr.getPixelRatio=function(){var t=this.data.contexts[0];return null!=this.forcedPixelRatio?this.forcedPixelRatio:(window.devicePixelRatio||1)/(t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)},dr.paintCache=function(t){for(var a,e=this.paintCaches=this.paintCaches||[],r=!0,n=0;ns.minMbLowQualFrames&&(s.motionBlurPxRatio=s.mbPxRBlurry)),s.clearingMotionBlur&&(s.motionBlurPxRatio=1),s.textureDrawLastFrame&&!h&&(f[s.NODE]=!0,f[s.SELECT_BOX]=!0);var m=l.style(),b=l.zoom(),E=void 0!==n?n:b,O=l.pan(),L={x:O.x,y:O.y},w={zoom:b,pan:{x:O.x,y:O.y}},M=s.prevViewport;!(void 0===M||w.zoom!==M.zoom||w.pan.x!==M.pan.x||w.pan.y!==M.pan.y)&&!(g&&!d)&&(s.motionBlurPxRatio=1),i&&(L=i),E*=o,L.x*=o,L.y*=o;var k=s.getCachedZSortedEles();function B(ke,Me,Ke,$e,Be){var Xe=ke.globalCompositeOperation;ke.globalCompositeOperation="destination-out",s.colorFillStyle(ke,255,255,255,s.motionBlurTransparency),ke.fillRect(Me,Ke,$e,Be),ke.globalCompositeOperation=Xe}function N(ke,Me){var Ke,$e,Be,Xe;s.clearingMotionBlur||ke!==u.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]&&ke!==u.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]?(Ke=L,$e=E,Be=s.canvasWidth,Xe=s.canvasHeight):(Ke={x:O.x*v,y:O.y*v},$e=b*v,Be=s.canvasWidth*v,Xe=s.canvasHeight*v),ke.setTransform(1,0,0,1,0,0),"motionBlur"===Me?B(ke,0,0,Be,Xe):!e&&(void 0===Me||Me)&&ke.clearRect(0,0,Be,Xe),r||(ke.translate(Ke.x,Ke.y),ke.scale($e,$e)),i&&ke.translate(i.x,i.y),n&&ke.scale(n,n)}if(h||(s.textureDrawLastFrame=!1),h){if(s.textureDrawLastFrame=!0,!s.textureCache){s.textureCache={},s.textureCache.bb=l.mutableElements().boundingBox(),s.textureCache.texture=s.data.bufferCanvases[s.TEXTURE_BUFFER];var U=s.data.bufferContexts[s.TEXTURE_BUFFER];U.setTransform(1,0,0,1,0,0),U.clearRect(0,0,s.canvasWidth*s.textureMult,s.canvasHeight*s.textureMult),s.render({forcedContext:U,drawOnlyNodeLayer:!0,forcedPxRatio:o*s.textureMult}),(w=s.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:s.canvasWidth,height:s.canvasHeight}).mpan={x:(0-w.pan.x)/w.zoom,y:(0-w.pan.y)/w.zoom}}f[s.DRAG]=!1,f[s.NODE]=!1;var Q=s.textureCache.texture;w=s.textureCache.viewport,(F=u.contexts[s.NODE]).setTransform(1,0,0,1,0,0),c?B(F,0,0,w.width,w.height):F.clearRect(0,0,w.width,w.height);var Y=m.core("outside-texture-bg-color").value,H=m.core("outside-texture-bg-opacity").value;s.colorFillStyle(F,Y[0],Y[1],Y[2],H),F.fillRect(0,0,w.width,w.height),b=l.zoom(),N(F,!1),F.clearRect(w.mpan.x,w.mpan.y,w.width/w.zoom/o,w.height/w.zoom/o),F.drawImage(Q,w.mpan.x,w.mpan.y,w.width/w.zoom/o,w.height/w.zoom/o)}else s.textureOnViewport&&!e&&(s.textureCache=null);var j=l.extent(),ne=s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming||s.hoverData.draggingEles||s.cy.animated(),fe=s.hideEdgesOnViewport&&ne,te=[];if(te[s.NODE]=!f[s.NODE]&&c&&!s.clearedForMotionBlur[s.NODE]||s.clearingMotionBlur,te[s.NODE]&&(s.clearedForMotionBlur[s.NODE]=!0),te[s.DRAG]=!f[s.DRAG]&&c&&!s.clearedForMotionBlur[s.DRAG]||s.clearingMotionBlur,te[s.DRAG]&&(s.clearedForMotionBlur[s.DRAG]=!0),f[s.NODE]||r||a||te[s.NODE]){var le=c&&!te[s.NODE]&&1!==v;N(F=e||(le?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]:u.contexts[s.NODE]),c&&!le?"motionBlur":void 0),fe?s.drawCachedNodes(F,k.nondrag,o,j):s.drawLayeredElements(F,k.nondrag,o,j),s.debug&&s.drawDebugPoints(F,k.nondrag),!r&&!c&&(f[s.NODE]=!1)}if(!a&&(f[s.DRAG]||r||te[s.DRAG])&&(le=c&&!te[s.DRAG]&&1!==v,N(F=e||(le?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]:u.contexts[s.DRAG]),c&&!le?"motionBlur":void 0),fe?s.drawCachedNodes(F,k.drag,o,j):s.drawCachedElements(F,k.drag,o,j),s.debug&&s.drawDebugPoints(F,k.drag),!r&&!c&&(f[s.DRAG]=!1)),s.showFps||!a&&f[s.SELECT_BOX]&&!r){var F;if(N(F=e||u.contexts[s.SELECT_BOX]),1==s.selection[4]&&(s.hoverData.selecting||s.touchData.selecting)){b=s.cy.zoom();var we=m.core("selection-box-border-width").value/b;F.lineWidth=we,F.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",F.fillRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]),we>0&&(F.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",F.strokeRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]))}if(u.bgActivePosistion&&!s.hoverData.selecting){b=s.cy.zoom();var me=u.bgActivePosistion;F.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",F.beginPath(),F.arc(me.x,me.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),F.fill()}var ge=s.lastRedrawTime;if(s.showFps&&ge){ge=Math.round(ge);var J=Math.round(1e3/ge);F.setTransform(1,0,0,1,0,0),F.fillStyle="rgba(255, 0, 0, 0.75)",F.strokeStyle="rgba(255, 0, 0, 0.75)",F.lineWidth=1,F.fillText("1 frame = "+ge+" ms = "+J+" fps",0,20);F.strokeRect(0,30,250,20),F.fillRect(0,30,250*Math.min(J/60,1),20)}r||(f[s.SELECT_BOX]=!1)}if(c&&1!==v){var Re=u.contexts[s.DRAG],tt=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_DRAG],nt=function(Me,Ke,$e){Me.setTransform(1,0,0,1,0,0),$e||!p?Me.clearRect(0,0,s.canvasWidth,s.canvasHeight):B(Me,0,0,s.canvasWidth,s.canvasHeight),Me.drawImage(Ke,0,0,s.canvasWidth*v,s.canvasHeight*v,0,0,s.canvasWidth,s.canvasHeight)};(f[s.NODE]||te[s.NODE])&&(nt(u.contexts[s.NODE],s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_NODE],te[s.NODE]),f[s.NODE]=!1),(f[s.DRAG]||te[s.DRAG])&&(nt(Re,tt,te[s.DRAG]),f[s.DRAG]=!1)}s.prevViewport=w,s.clearingMotionBlur&&(s.clearingMotionBlur=!1,s.motionBlurCleared=!0,s.motionBlur=!0),c&&(s.motionBlurTimeout=setTimeout(function(){s.motionBlurTimeout=null,s.clearedForMotionBlur[s.NODE]=!1,s.clearedForMotionBlur[s.DRAG]=!1,s.motionBlur=!1,s.clearingMotionBlur=!h,s.mbFrames=0,f[s.NODE]=!0,f[s.DRAG]=!0,s.redraw()},100)),e||l.emit("render")};for(var na={drawPolygonPath:function(t,e,r,a,n,i){var s=a/2,o=n/2;t.beginPath&&t.beginPath(),t.moveTo(e+s*i[0],r+o*i[1]);for(var l=1;l0&&s>0){v.clearRect(0,0,i,s),v.globalCompositeOperation="source-over";var d=this.getCachedZSortedEles();if(t.full)v.translate(-a.x1*u,-a.y1*u),v.scale(u,u),this.drawElements(v,d),v.scale(1/u,1/u),v.translate(a.x1*u,a.y1*u);else{var g=e.pan(),y={x:g.x*u,y:g.y*u};u*=e.zoom(),v.translate(y.x,y.y),v.scale(u,u),this.drawElements(v,d),v.scale(1/u,1/u),v.translate(-y.x,-y.y)}t.bg&&(v.globalCompositeOperation="destination-over",v.fillStyle=t.bg,v.rect(0,0,i,s),v.fill())}return c},Pn.png=function(t){return nl(t,this.bufferCanvasImage(t),"image/png")},Pn.jpg=function(t){return nl(t,this.bufferCanvasImage(t),"image/jpeg")};var Og=sl,yt=sl.prototype;function sl(t){var e=this;e.data={canvases:new Array(yt.CANVAS_LAYERS),contexts:new Array(yt.CANVAS_LAYERS),canvasNeedsRedraw:new Array(yt.CANVAS_LAYERS),bufferCanvases:new Array(yt.BUFFER_COUNT),bufferContexts:new Array(yt.CANVAS_LAYERS)};var r="-webkit-tap-highlight-color",a="rgba(0,0,0,0)";e.data.canvasContainer=document.createElement("div");var n=e.data.canvasContainer.style;e.data.canvasContainer.style[r]=a,n.position="relative",n.zIndex="0",n.overflow="hidden";var i=t.cy.container();i.appendChild(e.data.canvasContainer),i.style[r]=a;var s={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};rt()&&(s["-ms-touch-action"]="none",s["touch-action"]="none");for(var o=0;o"u"?"undefined":Ne(OffscreenCanvas))?r=new OffscreenCanvas(t,e):((r=document.createElement("canvas")).width=t,r.height=e),r},[Ku,Pr,Yr,As,ma,Za,dr,na,Pn,{nodeShapeImpl:function(t,e,r,a,n,i,s){switch(t){case"ellipse":return this.drawEllipsePath(e,r,a,n,i);case"polygon":return this.drawPolygonPath(e,r,a,n,i,s);case"round-polygon":return this.drawRoundPolygonPath(e,r,a,n,i,s);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,r,a,n,i);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,r,a,n,i);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,r,a,n,i);case"barrel":return this.drawBarrelPath(e,r,a,n,i)}}}].forEach(function(t){Qe(yt,t)});var Ig=[{type:"layout",extensions:Gd},{type:"renderer",extensions:[{name:"null",impl:Nu},{name:"base",impl:Yu},{name:"canvas",impl:Og}]}],ol={},ul={};function ll(t,e,r){var a=r,n=function(M){wt("Can not register `"+e+"` for `"+t+"` since `"+M+"` already exists in the prototype and can not be overridden")};if("core"===t){if(Mn.prototype[e])return n(e);Mn.prototype[e]=r}else if("collection"===t){if(qt.prototype[e])return n(e);qt.prototype[e]=r}else if("layout"===t){for(var i=function(M){this.options=M,r.call(this,M),oe(this._private)||(this._private={}),this._private.cy=M.cy,this._private.listeners=[],this.createEmitter()},s=i.prototype=Object.create(r.prototype),o=[],l=0;lz&&(this.rect.x-=(this.labelWidth-z)/2,this.setWidth(this.labelWidth)),this.labelHeight>$&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-$)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-$),this.setHeight(this.labelHeight))}}},R.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==P.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},R.prototype.transform=function(D){var z=this.rect.x;z>S.WORLD_BOUNDARY?z=S.WORLD_BOUNDARY:z<-S.WORLD_BOUNDARY&&(z=-S.WORLD_BOUNDARY);var $=this.rect.y;$>S.WORLD_BOUNDARY?$=S.WORLD_BOUNDARY:$<-S.WORLD_BOUNDARY&&($=-S.WORLD_BOUNDARY);var q=new V(z,$),K=D.inverseTransformPoint(q);this.setLocation(K.x,K.y)},R.prototype.getLeft=function(){return this.rect.x},R.prototype.getRight=function(){return this.rect.x+this.rect.width},R.prototype.getTop=function(){return this.rect.y},R.prototype.getBottom=function(){return this.rect.y+this.rect.height},R.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},Ne.exports=R},function(Ne,_e,de){"use strict";function G(P,T){null==P&&null==T?(this.x=0,this.y=0):(this.x=P,this.y=T)}G.prototype.getX=function(){return this.x},G.prototype.getY=function(){return this.y},G.prototype.setX=function(P){this.x=P},G.prototype.setY=function(P){this.y=P},G.prototype.getDifference=function(P){return new DimensionD(this.x-P.x,this.y-P.y)},G.prototype.getCopy=function(){return new G(this.x,this.y)},G.prototype.translate=function(P){return this.x+=P.width,this.y+=P.height,this},Ne.exports=G},function(Ne,_e,de){"use strict";var G=de(2),P=de(10),T=de(0),S=de(6),I=de(3),V=de(1),R=de(13),X=de(12),D=de(11);function z(q,K,se){G.call(this,se),this.estimatedSize=P.MIN_VALUE,this.margin=T.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=q,null!=K&&K instanceof S?this.graphManager=K:null!=K&&K instanceof Layout&&(this.graphManager=K.graphManager)}for(var $ in z.prototype=Object.create(G.prototype),G)z[$]=G[$];z.prototype.getNodes=function(){return this.nodes},z.prototype.getEdges=function(){return this.edges},z.prototype.getGraphManager=function(){return this.graphManager},z.prototype.getParent=function(){return this.parent},z.prototype.getLeft=function(){return this.left},z.prototype.getRight=function(){return this.right},z.prototype.getTop=function(){return this.top},z.prototype.getBottom=function(){return this.bottom},z.prototype.isConnected=function(){return this.isConnected},z.prototype.add=function(q,K,se){if(null==K&&null==se){var ae=q;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(ae)>-1)throw"Node already in graph!";return ae.owner=this,this.getNodes().push(ae),ae}var Z=q;if(!(this.getNodes().indexOf(K)>-1&&this.getNodes().indexOf(se)>-1))throw"Source or target not in graph!";if(K.owner!=se.owner||K.owner!=this)throw"Both owners must be this graph!";return K.owner!=se.owner?null:(Z.source=K,Z.target=se,Z.isInterGraph=!1,this.getEdges().push(Z),K.edges.push(Z),se!=K&&se.edges.push(Z),Z)},z.prototype.remove=function(q){var K=q;if(q instanceof I){if(null==K)throw"Node is null!";if(null==K.owner||K.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var se=K.edges.slice(),Z=se.length,re=0;re-1&&Fe>-1))throw"Source and/or target doesn't know this edge!";if(ae.source.edges.splice(oe,1),ae.target!=ae.source&&ae.target.edges.splice(Fe,1),-1==(Te=ae.source.owner.getEdges().indexOf(ae)))throw"Not in owner's edge list!";ae.source.owner.getEdges().splice(Te,1)}},z.prototype.updateLeftTop=function(){for(var se,ae,Z,q=P.MAX_VALUE,K=P.MAX_VALUE,re=this.getNodes(),Te=re.length,oe=0;oe(se=Fe.getTop())&&(q=se),K>(ae=Fe.getLeft())&&(K=ae)}return q==P.MAX_VALUE?null:(Z=null!=re[0].getParent().paddingLeft?re[0].getParent().paddingLeft:this.margin,this.left=K-Z,this.top=q-Z,new X(this.left,this.top))},z.prototype.updateBounds=function(q){for(var re,Te,oe,Fe,x,K=P.MAX_VALUE,se=-P.MAX_VALUE,ae=P.MAX_VALUE,Z=-P.MAX_VALUE,W=this.nodes,_=W.length,ee=0;ee<_;ee++){var he=W[ee];q&&null!=he.child&&he.updateBounds(),K>(re=he.getLeft())&&(K=re),se<(Te=he.getRight())&&(se=Te),ae>(oe=he.getTop())&&(ae=oe),Z<(Fe=he.getBottom())&&(Z=Fe)}var Ae=new R(K,ae,se-K,Z-ae);K==P.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),x=null!=W[0].getParent().paddingLeft?W[0].getParent().paddingLeft:this.margin,this.left=Ae.x-x,this.right=Ae.x+Ae.width+x,this.top=Ae.y-x,this.bottom=Ae.y+Ae.height+x},z.calculateBounds=function(q){for(var re,Te,oe,Fe,K=P.MAX_VALUE,se=-P.MAX_VALUE,ae=P.MAX_VALUE,Z=-P.MAX_VALUE,x=q.length,W=0;W(re=_.getLeft())&&(K=re),se<(Te=_.getRight())&&(se=Te),ae>(oe=_.getTop())&&(ae=oe),Z<(Fe=_.getBottom())&&(Z=Fe)}return new R(K,ae,se-K,Z-ae)},z.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},z.prototype.getEstimatedSize=function(){if(this.estimatedSize==P.MIN_VALUE)throw"assert failed";return this.estimatedSize},z.prototype.calcEstimatedSize=function(){for(var q=0,K=this.nodes,se=K.length,ae=0;ae=this.nodes.length){var _=0;se.forEach(function(ee){ee.owner==q&&_++}),_==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},Ne.exports=z},function(Ne,_e,de){"use strict";var G,P=de(1);function T(S){G=de(5),this.layout=S,this.graphs=[],this.edges=[]}T.prototype.addRoot=function(){var S=this.layout.newGraph(),I=this.layout.newNode(null),V=this.add(S,I);return this.setRootGraph(V),this.rootGraph},T.prototype.add=function(S,I,V,R,X){if(null==V&&null==R&&null==X){if(null==S)throw"Graph is null!";if(null==I)throw"Parent node is null!";if(this.graphs.indexOf(S)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(S),null!=S.parent)throw"Already has a parent!";if(null!=I.child)throw"Already has a child!";return S.parent=I,I.child=S,S}X=V,V=S;var D=(R=I).getOwner(),z=X.getOwner();if(null==D||D.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==z||z.getGraphManager()!=this)throw"Target not in this graph mgr!";if(D==z)return V.isInterGraph=!1,D.add(V,R,X);if(V.isInterGraph=!0,V.source=R,V.target=X,this.edges.indexOf(V)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(V),null==V.source||null==V.target)throw"Edge source and/or target is null!";if(-1!=V.source.edges.indexOf(V)||-1!=V.target.edges.indexOf(V))throw"Edge already in source and/or target incidency list!";return V.source.edges.push(V),V.target.edges.push(V),V},T.prototype.remove=function(S){if(S instanceof G){var I=S;if(I.getGraphManager()!=this)throw"Graph not in this graph mgr";if(I!=this.rootGraph&&(null==I.parent||I.parent.graphManager!=this))throw"Invalid parent node!";for(var R,V=[],X=(V=V.concat(I.getEdges())).length,D=0;D=S.getRight()?I[0]+=Math.min(S.getX()-T.getX(),T.getRight()-S.getRight()):S.getX()<=T.getX()&&S.getRight()>=T.getRight()&&(I[0]+=Math.min(T.getX()-S.getX(),S.getRight()-T.getRight())),T.getY()<=S.getY()&&T.getBottom()>=S.getBottom()?I[1]+=Math.min(S.getY()-T.getY(),T.getBottom()-S.getBottom()):S.getY()<=T.getY()&&S.getBottom()>=T.getBottom()&&(I[1]+=Math.min(T.getY()-S.getY(),S.getBottom()-T.getBottom()));var X=Math.abs((S.getCenterY()-T.getCenterY())/(S.getCenterX()-T.getCenterX()));S.getCenterY()===T.getCenterY()&&S.getCenterX()===T.getCenterX()&&(X=1);var D=X*I[0],z=I[1]/X;I[0]D)return I[0]=V,I[1]=$,I[2]=X,I[3]=W,!1;if(RX)return I[0]=z,I[1]=R,I[2]=Fe,I[3]=D,!1;if(VX?(I[0]=K,I[1]=se,Ae=!0):(I[0]=q,I[1]=$,Ae=!0):Pe===Ze&&(V>X?(I[0]=z,I[1]=$,Ae=!0):(I[0]=ae,I[1]=se,Ae=!0)),-et===Ze?X>V?(I[2]=x,I[3]=W,Ie=!0):(I[2]=Fe,I[3]=oe,Ie=!0):et===Ze&&(X>V?(I[2]=Te,I[3]=oe,Ie=!0):(I[2]=_,I[3]=W,Ie=!0)),Ae&&Ie)return!1;if(V>X?R>D?(Dt=this.getCardinalDirection(Pe,Ze,4),Ot=this.getCardinalDirection(et,Ze,2)):(Dt=this.getCardinalDirection(-Pe,Ze,3),Ot=this.getCardinalDirection(-et,Ze,1)):R>D?(Dt=this.getCardinalDirection(-Pe,Ze,1),Ot=this.getCardinalDirection(-et,Ze,3)):(Dt=this.getCardinalDirection(Pe,Ze,2),Ot=this.getCardinalDirection(et,Ze,4)),!Ae)switch(Dt){case 1:rt=$,I[0]=V+-re/Ze,I[1]=rt;break;case 2:rt=R+Z*Ze,I[0]=ae,I[1]=rt;break;case 3:rt=se,I[0]=V+re/Ze,I[1]=rt;break;case 4:rt=R+-Z*Ze,I[0]=K,I[1]=rt}if(!Ie)switch(Ot){case 1:dt=oe,I[2]=X+-he/Ze,I[3]=dt;break;case 2:dt=D+ee*Ze,I[2]=_,I[3]=dt;break;case 3:dt=W,I[2]=X+he/Ze,I[3]=dt;break;case 4:dt=D+-ee*Ze,I[2]=x,I[3]=dt}}return!1},P.getCardinalDirection=function(T,S,I){return T>S?I:1+I%4},P.getIntersection=function(T,S,I,V){if(null==V)return this.getIntersection2(T,S,I);var re,Te,oe,Fe,x,W,_,R=T.x,X=T.y,D=S.x,z=S.y,$=I.x,q=I.y,K=V.x,se=V.y;return x=D*X-R*z,W=K*q-$*se,0==(_=(re=z-X)*(Fe=$-K)-(Te=se-q)*(oe=R-D))?null:new G((oe*W-Fe*x)/_,(Te*x-re*W)/_)},P.angleOfVector=function(T,S,I,V){var R=void 0;return T!==I?(R=Math.atan((V-S)/(I-T)),I0?1:P<0?-1:0},G.floor=function(P){return P<0?Math.ceil(P):Math.floor(P)},G.ceil=function(P){return P<0?Math.floor(P):Math.ceil(P)},Ne.exports=G},function(Ne,_e,de){"use strict";function G(){}G.MAX_VALUE=2147483647,G.MIN_VALUE=-2147483648,Ne.exports=G},function(Ne,_e,de){"use strict";var G=function(){function R(X,D){for(var z=0;z"u"?"undefined":G(T);return null==T||"object"!=S&&"function"!=S},Ne.exports=P},function(Ne,_e,de){"use strict";function G($){if(Array.isArray($)){for(var q=0,K=Array($.length);q<$.length;q++)K[q]=$[q];return K}return Array.from($)}var P=de(0),T=de(6),S=de(3),I=de(1),V=de(5),R=de(4),X=de(17),D=de(27);function z($){D.call(this),this.layoutQuality=P.QUALITY,this.createBendsAsNeeded=P.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=P.DEFAULT_INCREMENTAL,this.animationOnLayout=P.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=P.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=P.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=P.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new T(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=$&&(this.isRemoteUse=$)}z.RANDOM_SEED=1,(z.prototype=Object.create(D.prototype)).getGraphManager=function(){return this.graphManager},z.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},z.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},z.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},z.prototype.newGraphManager=function(){var $=new T(this);return this.graphManager=$,$},z.prototype.newGraph=function($){return new V(null,this.graphManager,$)},z.prototype.newNode=function($){return new S(this.graphManager,$)},z.prototype.newEdge=function($){return new I(null,null,$)},z.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},z.prototype.runLayout=function(){var $;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),$=!this.checkLayoutSuccess()&&this.layout(),"during"!==P.ANIMATE&&($&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,$)},z.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},z.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var q=this.graphManager.getAllEdges(),K=0;K0&&q;){for(re.push(oe[0]);re.length>0&&q;){var Fe=re[0];re.splice(0,1),Z.add(Fe);var x=Fe.getEdges();for(ae=0;ae-1&&oe.splice(he,1)}Z=new Set,Te=new Map}else $=[]}return $},z.prototype.createDummyNodesForBendpoints=function($){for(var q=[],K=$.source,se=this.graphManager.calcLowestCommonAncestor($.source,$.target),ae=0;ae<$.bendpoints.length;ae++){var Z=this.newNode(null);Z.setRect(new Point(0,0),new Dimension(1,1)),se.add(Z);var re=this.newEdge(null);this.graphManager.add(re,K,Z),q.add(Z),K=Z}return re=this.newEdge(null),this.graphManager.add(re,K,$.target),this.edgeToDummyNodes.set($,q),$.isInterGraph()?this.graphManager.remove($):se.remove($),q},z.prototype.createBendpointsFromDummyNodes=function(){var $=[];$=$.concat(this.graphManager.getAllEdges()),$=[].concat(G(this.edgeToDummyNodes.keys())).concat($);for(var q=0;q<$.length;q++){var K=$[q];if(K.bendpoints.length>0){for(var se=this.edgeToDummyNodes.get(K),ae=0;ae=0&&q.splice(W,1),Te.getNeighborsList().forEach(function(Ae){if(K.indexOf(Ae)<0){var Pe=se.get(Ae)-1;1==Pe&&Fe.push(Ae),se.set(Ae,Pe)}})}K=K.concat(Fe),(1==q.length||2==q.length)&&(ae=!0,Z=q[0])}return Z},z.prototype.setGraphManager=function($){this.graphManager=$},Ne.exports=z},function(Ne,_e,de){"use strict";function G(){}G.seed=1,G.x=0,G.nextDouble=function(){return(G.x=1e4*Math.sin(G.seed++))-Math.floor(G.x)},Ne.exports=G},function(Ne,_e,de){"use strict";var G=de(4);function P(T,S){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}P.prototype.getWorldOrgX=function(){return this.lworldOrgX},P.prototype.setWorldOrgX=function(T){this.lworldOrgX=T},P.prototype.getWorldOrgY=function(){return this.lworldOrgY},P.prototype.setWorldOrgY=function(T){this.lworldOrgY=T},P.prototype.getWorldExtX=function(){return this.lworldExtX},P.prototype.setWorldExtX=function(T){this.lworldExtX=T},P.prototype.getWorldExtY=function(){return this.lworldExtY},P.prototype.setWorldExtY=function(T){this.lworldExtY=T},P.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},P.prototype.setDeviceOrgX=function(T){this.ldeviceOrgX=T},P.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},P.prototype.setDeviceOrgY=function(T){this.ldeviceOrgY=T},P.prototype.getDeviceExtX=function(){return this.ldeviceExtX},P.prototype.setDeviceExtX=function(T){this.ldeviceExtX=T},P.prototype.getDeviceExtY=function(){return this.ldeviceExtY},P.prototype.setDeviceExtY=function(T){this.ldeviceExtY=T},P.prototype.transformX=function(T){var S=0,I=this.lworldExtX;return 0!=I&&(S=this.ldeviceOrgX+(T-this.lworldOrgX)*this.ldeviceExtX/I),S},P.prototype.transformY=function(T){var S=0,I=this.lworldExtY;return 0!=I&&(S=this.ldeviceOrgY+(T-this.lworldOrgY)*this.ldeviceExtY/I),S},P.prototype.inverseTransformX=function(T){var S=0,I=this.ldeviceExtX;return 0!=I&&(S=this.lworldOrgX+(T-this.ldeviceOrgX)*this.lworldExtX/I),S},P.prototype.inverseTransformY=function(T){var S=0,I=this.ldeviceExtY;return 0!=I&&(S=this.lworldOrgY+(T-this.ldeviceOrgY)*this.lworldExtY/I),S},P.prototype.inverseTransformPoint=function(T){return new G(this.inverseTransformX(T.x),this.inverseTransformY(T.y))},Ne.exports=P},function(Ne,_e,de){"use strict";var P=de(15),T=de(7),S=de(0),I=de(8),V=de(9);function R(){P.call(this),this.useSmartIdealEdgeLengthCalculation=T.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=T.DEFAULT_EDGE_LENGTH,this.springConstant=T.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=T.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=T.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=T.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=T.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=T.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*T.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=T.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=T.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=T.MAX_ITERATIONS}for(var X in R.prototype=Object.create(P.prototype),P)R[X]=P[X];R.prototype.initParameters=function(){P.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=T.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},R.prototype.calcIdealEdgeLengths=function(){for(var D,z,$,q,K,se,ae=this.getGraphManager().getAllEdges(),Z=0;ZT.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*T.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(D-T.ADAPTATION_LOWER_NODE_LIMIT)/(T.ADAPTATION_UPPER_NODE_LIMIT-T.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-T.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=T.MAX_NODE_DISPLACEMENT_INCREMENTAL):(this.coolingFactor=D>T.ADAPTATION_LOWER_NODE_LIMIT?Math.max(T.COOLING_ADAPTATION_FACTOR,1-(D-T.ADAPTATION_LOWER_NODE_LIMIT)/(T.ADAPTATION_UPPER_NODE_LIMIT-T.ADAPTATION_LOWER_NODE_LIMIT)*(1-T.COOLING_ADAPTATION_FACTOR)):1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=T.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},R.prototype.calcSpringForces=function(){for(var z,D=this.getAllEdges(),$=0;$0&&void 0!==arguments[0])||arguments[0],z=arguments.length>1&&void 0!==arguments[1]&&arguments[1],ae=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%T.GRID_CALCULATION_CHECK_PERIOD==1&&D&&this.updateGrid(),Z=new Set,$=0;$(re=z.getEstimatedSize()*this.gravityRangeFactor)||Z>re)&&(D.gravitationForceX=-this.gravityConstant*K,D.gravitationForceY=-this.gravityConstant*se):(ae>(re=z.getEstimatedSize()*this.compoundGravityRangeFactor)||Z>re)&&(D.gravitationForceX=-this.gravityConstant*K*this.compoundGravityConstant,D.gravitationForceY=-this.gravityConstant*se*this.compoundGravityConstant)},R.prototype.isConverged=function(){var D,z=!1;return this.totalIterations>this.maxIterations/3&&(z=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),D=this.totalDisplacement=ae.length||re>=ae[0].length))for(var Te=0;TeR}}]),I}();Ne.exports=S},function(Ne,_e,de){"use strict";var G=function(){function S(I,V){for(var R=0;R2&&void 0!==arguments[2]?arguments[2]:1,X=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,D=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;(function P(S,I){if(!(S instanceof I))throw new TypeError("Cannot call a class as a function")})(this,S),this.sequence1=I,this.sequence2=V,this.match_score=R,this.mismatch_penalty=X,this.gap_penalty=D,this.iMax=I.length+1,this.jMax=V.length+1,this.grid=new Array(this.iMax);for(var z=0;z=0;I--){var V=this.listeners[I];V.event===T&&V.callback===S&&this.listeners.splice(I,1)}},P.emit=function(T,S){for(var I=0;I{"use strict";_e.r(Ne),_e.d(Ne,{diagram:()=>$n});var de=_e(5861),G=_e(855),P=_e(5703),T=_e(1775),S=_e(7403),I=_e(5791),V=_e(5847),R=_e(1223),X=_e(8674),$=(_e(2735),_e(1764),function(){var ce=function(wr,We,Ge,Je){for(Ge=Ge||{},Je=wr.length;Je--;Ge[wr[Je]]=We);return Ge},ue=[1,4],ve=[1,13],ze=[1,12],Le=[1,15],Ue=[1,16],bt=[1,20],at=[1,19],Lt=[6,7,8],Rt=[1,26],Gt=[1,24],jt=[1,25],At=[6,7,11],pr=[1,6,13,15,16,19,22],sa=[1,33],Un=[1,34],oa=[1,6,7,11,13,15,16,19,22],rn={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(We,Ge,Je,it,kt,qe,ua){var Et=qe.length-1;switch(kt){case 6:case 7:return it;case 8:it.getLogger().trace("Stop NL ");break;case 9:it.getLogger().trace("Stop EOF ");break;case 11:it.getLogger().trace("Stop NL2 ");break;case 12:it.getLogger().trace("Stop EOF2 ");break;case 15:it.getLogger().info("Node: ",qe[Et].id),it.addNode(qe[Et-1].length,qe[Et].id,qe[Et].descr,qe[Et].type);break;case 16:it.getLogger().trace("Icon: ",qe[Et]),it.decorateNode({icon:qe[Et]});break;case 17:case 21:it.decorateNode({class:qe[Et]});break;case 18:it.getLogger().trace("SPACELIST");break;case 19:it.getLogger().trace("Node: ",qe[Et].id),it.addNode(0,qe[Et].id,qe[Et].descr,qe[Et].type);break;case 20:it.decorateNode({icon:qe[Et]});break;case 25:it.getLogger().trace("node found ..",qe[Et-2]),this.$={id:qe[Et-1],descr:qe[Et-1],type:it.getType(qe[Et-2],qe[Et])};break;case 26:this.$={id:qe[Et],descr:qe[Et],type:it.nodeType.DEFAULT};break;case 27:it.getLogger().trace("node found ..",qe[Et-3]),this.$={id:qe[Et-3],descr:qe[Et-1],type:it.getType(qe[Et-2],qe[Et])}}},table:[{3:1,4:2,5:3,6:[1,5],8:ue},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:ue},{6:ve,7:[1,10],9:9,12:11,13:ze,14:14,15:Le,16:Ue,17:17,18:18,19:bt,22:at},ce(Lt,[2,3]),{1:[2,2]},ce(Lt,[2,4]),ce(Lt,[2,5]),{1:[2,6],6:ve,12:21,13:ze,14:14,15:Le,16:Ue,17:17,18:18,19:bt,22:at},{6:ve,9:22,12:11,13:ze,14:14,15:Le,16:Ue,17:17,18:18,19:bt,22:at},{6:Rt,7:Gt,10:23,11:jt},ce(At,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:bt,22:at}),ce(At,[2,18]),ce(At,[2,19]),ce(At,[2,20]),ce(At,[2,21]),ce(At,[2,23]),ce(At,[2,24]),ce(At,[2,26],{19:[1,30]}),{20:[1,31]},{6:Rt,7:Gt,10:32,11:jt},{1:[2,7],6:ve,12:21,13:ze,14:14,15:Le,16:Ue,17:17,18:18,19:bt,22:at},ce(pr,[2,14],{7:sa,11:Un}),ce(oa,[2,8]),ce(oa,[2,9]),ce(oa,[2,10]),ce(At,[2,15]),ce(At,[2,16]),ce(At,[2,17]),{20:[1,35]},{21:[1,36]},ce(pr,[2,13],{7:sa,11:Un}),ce(oa,[2,11]),ce(oa,[2,12]),{21:[1,37]},ce(At,[2,25]),ce(At,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(We,Ge){if(!Ge.recoverable){var Je=new Error(We);throw Je.hash=Ge,Je}this.trace(We)},parse:function(We){var Je=[0],it=[],kt=[null],qe=[],ua=this.table,Et="",Ca=0,Yn=0,$i=qe.slice.call(arguments,1),Vt=Object.create(this.lexer),Fr={yy:{}};for(var nn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nn)&&(Fr.yy[nn]=this.yy[nn]);Vt.setInput(We,Fr.yy),Fr.yy.lexer=Vt,Fr.yy.parser=this,typeof Vt.yylloc>"u"&&(Vt.yylloc={});var sn=Vt.yylloc;qe.push(sn);var xr,Ui=Vt.options&&Vt.options.ranges;this.parseError="function"==typeof Fr.yy.parseError?Fr.yy.parseError:Object.getPrototypeOf(this).parseError;for(var Xt,zr,ur,on,Da,yr,Sa,Wr={};;){if(this.defaultActions[zr=Je[Je.length-1]]?ur=this.defaultActions[zr]:((null===Xt||typeof Xt>"u")&&(xr=void 0,"number"!=typeof(xr=it.pop()||Vt.lex()||1)&&(xr instanceof Array&&(xr=(it=xr).pop()),xr=this.symbols_[xr]||xr),Xt=xr),ur=ua[zr]&&ua[zr][Xt]),typeof ur>"u"||!ur.length||!ur[0]){var un;for(Da in Sa=[],ua[zr])this.terminals_[Da]&&Da>2&&Sa.push("'"+this.terminals_[Da]+"'");un=Vt.showPosition?"Parse error on line "+(Ca+1)+":\n"+Vt.showPosition()+"\nExpecting "+Sa.join(", ")+", got '"+(this.terminals_[Xt]||Xt)+"'":"Parse error on line "+(Ca+1)+": Unexpected "+(1==Xt?"end of input":"'"+(this.terminals_[Xt]||Xt)+"'"),this.parseError(un,{text:Vt.match,token:this.terminals_[Xt]||Xt,line:Vt.yylineno,loc:sn,expected:Sa})}if(ur[0]instanceof Array&&ur.length>1)throw new Error("Parse Error: multiple actions possible at state: "+zr+", token: "+Xt);switch(ur[0]){case 1:Je.push(Xt),kt.push(Vt.yytext),qe.push(Vt.yylloc),Je.push(ur[1]),Xt=null,Yn=Vt.yyleng,Et=Vt.yytext,Ca=Vt.yylineno,sn=Vt.yylloc;break;case 2:if(Wr.$=kt[kt.length-(yr=this.productions_[ur[1]][1])],Wr._$={first_line:qe[qe.length-(yr||1)].first_line,last_line:qe[qe.length-1].last_line,first_column:qe[qe.length-(yr||1)].first_column,last_column:qe[qe.length-1].last_column},Ui&&(Wr._$.range=[qe[qe.length-(yr||1)].range[0],qe[qe.length-1].range[1]]),typeof(on=this.performAction.apply(Wr,[Et,Yn,Ca,Fr.yy,ur[1],kt,qe].concat($i)))<"u")return on;yr&&(Je=Je.slice(0,-1*yr*2),kt=kt.slice(0,-1*yr),qe=qe.slice(0,-1*yr)),Je.push(this.productions_[ur[1]][0]),kt.push(Wr.$),qe.push(Wr._$),Je.push(ua[Je[Je.length-2]][Je[Je.length-1]]);break;case 3:return!0}}return!0}};function Mr(){this.yy={}}return rn.lexer={EOF:1,parseError:function(Ge,Je){if(!this.yy.parser)throw new Error(Ge);this.yy.parser.parseError(Ge,Je)},setInput:function(We,Ge){return this.yy=Ge||this.yy||{},this._input=We,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var We=this._input[0];return this.yytext+=We,this.yyleng++,this.offset++,this.match+=We,this.matched+=We,We.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),We},unput:function(We){var Ge=We.length,Je=We.split(/(?:\r\n?|\n)/g);this._input=We+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ge),this.offset-=Ge;var it=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Je.length-1&&(this.yylineno-=Je.length-1);var kt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Je?(Je.length===it.length?this.yylloc.first_column:0)+it[it.length-Je.length].length-Je[0].length:this.yylloc.first_column-Ge},this.options.ranges&&(this.yylloc.range=[kt[0],kt[0]+this.yyleng-Ge]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(We){this.unput(this.match.slice(We))},pastInput:function(){var We=this.matched.substr(0,this.matched.length-this.match.length);return(We.length>20?"...":"")+We.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var We=this.match;return We.length<20&&(We+=this._input.substr(0,20-We.length)),(We.substr(0,20)+(We.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var We=this.pastInput(),Ge=new Array(We.length+1).join("-");return We+this.upcomingInput()+"\n"+Ge+"^"},test_match:function(We,Ge){var Je,it,kt;if(this.options.backtrack_lexer&&(kt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(kt.yylloc.range=this.yylloc.range.slice(0))),(it=We[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=it.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:it?it[it.length-1].length-it[it.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+We[0].length},this.yytext+=We[0],this.match+=We[0],this.matches=We,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(We[0].length),this.matched+=We[0],Je=this.performAction.call(this,this.yy,this,Ge,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Je)return Je;if(this._backtrack){for(var qe in kt)this[qe]=kt[qe];return!1}return!1},next:function(){if(this.done)return this.EOF;var We,Ge,Je,it;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var kt=this._currentRules(),qe=0;qeGe[0].length)){if(Ge=Je,it=qe,this.options.backtrack_lexer){if(!1!==(We=this.test_match(Je,kt[qe])))return We;if(this._backtrack){Ge=!1;continue}return!1}if(!this.options.flex)break}return Ge?!1!==(We=this.test_match(Ge,kt[it]))&&We:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Ge){this.conditionStack.push(Ge)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Ge){return(Ge=this.conditionStack.length-1-Math.abs(Ge||0))>=0?this.conditionStack[Ge]:"INITIAL"},pushState:function(Ge){this.begin(Ge)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ge,Je,it,kt){switch(it){case 0:Ge.getLogger().trace("Found comment",Je.yytext);break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:this.popState();break;case 5:Ge.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return Ge.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:Ge.getLogger().trace("end icon"),this.popState();break;case 10:return Ge.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return Ge.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return Ge.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return Ge.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:Ge.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 22:return Ge.getLogger().trace("description:",Je.yytext),"NODE_DESCR";case 24:return this.popState(),Ge.getLogger().trace("node end ))"),"NODE_DEND";case 25:return this.popState(),Ge.getLogger().trace("node end )"),"NODE_DEND";case 26:return this.popState(),Ge.getLogger().trace("node end ...",Je.yytext),"NODE_DEND";case 27:case 30:case 31:return this.popState(),Ge.getLogger().trace("node end (("),"NODE_DEND";case 28:case 29:return this.popState(),Ge.getLogger().trace("node end (-"),"NODE_DEND";case 32:case 33:return Ge.getLogger().trace("Long description:",Je.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\-\)\{\}]+)/i,/^(?:$)/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR:{rules:[22,23],inclusive:!1},NODE:{rules:[21,24,25,26,27,28,29,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},Mr.prototype=rn,rn.Parser=Mr,new Mr}());$.parser=$;const q=$,K=ce=>(0,G.b)(ce,(0,G.g)());let se=[],ae=0,Z={};const x={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},_=(ce,ue)=>{Z[ce]=ue},he=ce=>{switch(ce){case x.DEFAULT:return"no-border";case x.RECT:return"rect";case x.ROUNDED_RECT:return"rounded-rect";case x.CIRCLE:return"circle";case x.CLOUD:return"cloud";case x.BANG:return"bang";case x.HEXAGON:return"hexgon";default:return"no-border"}};let Ae;const Ze=ce=>Z[ce],Dt=Object.freeze(Object.defineProperty({__proto__:null,addNode:(ce,ue,ve,ze)=>{G.l.info("addNode",ce,ue,ve,ze);const Le=(0,G.g)(),Ue={id:ae++,nodeId:K(ue),level:ce,descr:K(ve),type:ze,children:[],width:(0,G.g)().mindmap.maxNodeWidth};switch(Ue.type){case x.ROUNDED_RECT:case x.RECT:case x.HEXAGON:Ue.padding=2*Le.mindmap.padding;break;default:Ue.padding=Le.mindmap.padding}const bt=function(ce){for(let ue=se.length-1;ue>=0;ue--)if(se[ue].level{se=[],ae=0,Z={}},decorateNode:ce=>{const ue=se[se.length-1];ce&&ce.icon&&(ue.icon=K(ce.icon)),ce&&ce.class&&(ue.class=K(ce.class))},getElementById:Ze,getLogger:()=>G.l,getMindmap:()=>se.length>0?se[0]:null,getNodeById:ce=>se[ce],getType:(ce,ue)=>{switch(G.l.debug("In get type",ce,ue),ce){case"[":return x.RECT;case"(":return")"===ue?x.ROUNDED_RECT:x.CLOUD;case"((":return x.CIRCLE;case")":return x.CLOUD;case"))":return x.BANG;case"{{":return x.HEXAGON;default:return x.DEFAULT}},nodeType:x,get parseError(){return Ae},sanitizeText:K,setElementForId:_,setErrorHandler:ce=>{Ae=ce},type2Str:he},Symbol.toStringTag,{value:"Module"}));function He(ce,ue){ce.each(function(){var Le,ve=(0,P.Ys)(this),ze=ve.text().split(/(\s+|
)/).reverse(),Ue=[],at=ve.attr("y"),Lt=parseFloat(ve.attr("dy")),Rt=ve.text(null).append("tspan").attr("x",0).attr("y",at).attr("dy",Lt+"em");for(let Gt=0;Gtue||"
"===Le)&&(Ue.pop(),Rt.text(Ue.join(" ").trim()),Ue="
"===Le?[""]:[Le],Rt=ve.append("tspan").attr("x",0).attr("y",at).attr("dy","1.1em").text(Le))})}const Ta={drawNode:function(ce,ue,ve,ze){const Le=ve%11,Ue=ce.append("g");ue.section=Le;let bt="section-"+Le;Le<0&&(bt+=" section-root"),Ue.attr("class",(ue.class?ue.class+" ":"")+"mindmap-node "+bt);const at=Ue.append("g"),Lt=Ue.append("g"),Gt=Lt.append("text").text(ue.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(He,ue.width).node().getBBox(),jt=ze.fontSize.replace?ze.fontSize.replace("px",""):ze.fontSize;if(ue.height=Gt.height+1.1*jt*.5+ue.padding,ue.width=Gt.width+2*ue.padding,ue.icon)if(ue.type===x.CIRCLE)ue.height+=50,ue.width+=50,Ue.append("foreignObject").attr("height","50px").attr("width",ue.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+Le+" "+ue.icon),Lt.attr("transform","translate("+ue.width/2+", "+(ue.height/2-1.5*ue.padding)+")");else{ue.width+=50;const At=ue.height;ue.height=Math.max(At,60);const pr=Math.abs(ue.height-At);Ue.append("foreignObject").attr("width","60px").attr("height",ue.height).attr("style","text-align: center;margin-top:"+pr/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+Le+" "+ue.icon),Lt.attr("transform","translate("+(25+ue.width/2)+", "+(pr/2+ue.padding/2)+")")}else Lt.attr("transform","translate("+ue.width/2+", "+ue.padding/2+")");switch(ue.type){case x.DEFAULT:!function(ce,ue,ve){ce.append("path").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("d",`M0 ${ue.height-5} v${10-ue.height} q0,-5 5,-5 h${ue.width-10} q5,0 5,5 v${ue.height-5} H0 Z`),ce.append("line").attr("class","node-line-"+ve).attr("x1",0).attr("y1",ue.height).attr("x2",ue.width).attr("y2",ue.height)}(at,ue,Le);break;case x.ROUNDED_RECT:!function(ce,ue){ce.append("rect").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("height",ue.height).attr("rx",ue.padding).attr("ry",ue.padding).attr("width",ue.width)}(at,ue);break;case x.RECT:!function(ce,ue){ce.append("rect").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("height",ue.height).attr("width",ue.width)}(at,ue);break;case x.CIRCLE:at.attr("transform","translate("+ue.width/2+", "+ +ue.height/2+")"),function(ce,ue){ce.append("circle").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("r",ue.width/2)}(at,ue);break;case x.CLOUD:!function(ce,ue){const ve=ue.width,ze=ue.height,Le=.15*ve,Ue=.25*ve,bt=.35*ve,at=.2*ve;ce.append("path").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("d",`M0 0 a${Le},${Le} 0 0,1 ${.25*ve},${-1*ve*.1}\n a${bt},${bt} 1 0,1 ${.4*ve},${-1*ve*.1}\n a${Ue},${Ue} 1 0,1 ${.35*ve},${1*ve*.2}\n\n a${Le},${Le} 1 0,1 ${.15*ve},${1*ze*.35}\n a${at},${at} 1 0,1 ${-1*ve*.15},${1*ze*.65}\n\n a${Ue},${Le} 1 0,1 ${-1*ve*.25},${.15*ve}\n a${bt},${bt} 1 0,1 ${-1*ve*.5},0\n a${Le},${Le} 1 0,1 ${-1*ve*.25},${-1*ve*.15}\n\n a${Le},${Le} 1 0,1 ${-1*ve*.1},${-1*ze*.35}\n a${at},${at} 1 0,1 ${.1*ve},${-1*ze*.65}\n\n H0 V0 Z`)}(at,ue);break;case x.BANG:!function(ce,ue){const ve=ue.width,ze=ue.height,Le=.15*ve;ce.append("path").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("d",`M0 0 a${Le},${Le} 1 0,0 ${.25*ve},${-1*ze*.1}\n a${Le},${Le} 1 0,0 ${.25*ve},0\n a${Le},${Le} 1 0,0 ${.25*ve},0\n a${Le},${Le} 1 0,0 ${.25*ve},${1*ze*.1}\n\n a${Le},${Le} 1 0,0 ${.15*ve},${1*ze*.33}\n a${.8*Le},${.8*Le} 1 0,0 0,${1*ze*.34}\n a${Le},${Le} 1 0,0 ${-1*ve*.15},${1*ze*.33}\n\n a${Le},${Le} 1 0,0 ${-1*ve*.25},${.15*ze}\n a${Le},${Le} 1 0,0 ${-1*ve*.25},0\n a${Le},${Le} 1 0,0 ${-1*ve*.25},0\n a${Le},${Le} 1 0,0 ${-1*ve*.25},${-1*ze*.15}\n\n a${Le},${Le} 1 0,0 ${-1*ve*.1},${-1*ze*.33}\n a${.8*Le},${.8*Le} 1 0,0 0,${-1*ze*.34}\n a${Le},${Le} 1 0,0 ${.1*ve},${-1*ze*.33}\n\n H0 V0 Z`)}(at,ue);break;case x.HEXAGON:!function(ce,ue){const ve=ue.height,Le=ve/4,Ue=ue.width-ue.padding+2*Le;!function Ht(ce,ue,ve,ze,Le){ce.insert("polygon",":first-child").attr("points",ze.map(function(Ue){return Ue.x+","+Ue.y}).join(" ")).attr("transform","translate("+(Le.width-ue)/2+", "+ve+")")}(ce,Ue,ve,[{x:Le,y:0},{x:Ue-Le,y:0},{x:Ue,y:-ve/2},{x:Ue-Le,y:-ve},{x:Le,y:-ve},{x:0,y:-ve/2}],ue)}(at,ue)}return _(ue.id,Ue),ue.height},positionNode:function(ce){Ze(ce.id).attr("transform","translate("+(ce.x||0)+","+(ce.y||0)+")")},drawEdge:function(ue,ve,ze,Le,Ue){const bt=Ue%11,at=ze.x+ze.width/2,Lt=ze.y+ze.height/2,Rt=ve.x+ve.width/2,Gt=ve.y+ve.height/2,jt=Rt>at?at+Math.abs(at-Rt)/2:at-Math.abs(at-Rt)/2,At=Gt>Lt?Lt+Math.abs(Lt-Gt)/2:Lt-Math.abs(Lt-Gt)/2,pr=Rt>at?Math.abs(at-jt)/2+at:-Math.abs(at-jt)/2+at,sa=Gt>Lt?Math.abs(Lt-At)/2+Lt:-Math.abs(Lt-At)/2+Lt;ue.append("path").attr("d","TB"===ze.direction||"BT"===ze.direction?`M${at},${Lt} Q${at},${sa} ${jt},${At} T${Rt},${Gt}`:`M${at},${Lt} Q${pr},${Lt} ${jt},${At} T${Rt},${Gt}`).attr("class","edge section-edge-"+bt+" edge-depth-"+Le)}};function zn(ce,ue,ve,ze){Ta.drawNode(ce,ue,ve,ze),ue.children&&ue.children.forEach((Le,Ue)=>{zn(ce,Le,ve<0?Ue:ve,ze)})}function Vn(ce,ue,ve,ze){ue.add({group:"nodes",data:{id:ce.id,labelText:ce.descr,height:ce.height,width:ce.width,level:ze,nodeId:ce.id,padding:ce.padding,type:ce.type},position:{x:ce.x,y:ce.y}}),ce.children&&ce.children.forEach(Le=>{Vn(Le,ue,ve,ze+1),ue.add({group:"edges",data:{id:`${ce.id}_${Le.id}`,source:ce.id,target:Le.id,depth:ze,section:Le.section}})})}function Qe(ce,ue){return new Promise(ve=>{const ze=(0,P.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),Le=S({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});ze.remove(),Vn(ce,Le,ue,0),Le.nodes().forEach(function(Ue){Ue.layoutDimensions=()=>{const bt=Ue.data();return{w:bt.width,h:bt.height}}}),Le.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),Le.ready(Ue=>{G.l.info("Ready",Ue),ve(Le)})})}S.use(I);const $n={db:Dt,renderer:{draw:function(){var ce=(0,de.Z)(function*(ue,ve,ze,Le){const Ue=(0,G.g)();Le.db.clear(),Le.parser.parse(ue),G.l.debug("Renering info diagram\n"+ue);const bt=(0,G.g)().securityLevel;let at;"sandbox"===bt&&(at=(0,P.Ys)("#i"+ve));const Rt=(0,P.Ys)("sandbox"===bt?at.nodes()[0].contentDocument.body:"body").select("#"+ve);Rt.append("g");const Gt=Le.db.getMindmap(),jt=Rt.append("g");jt.attr("class","mindmap-edges");const At=Rt.append("g");At.attr("class","mindmap-nodes"),zn(At,Gt,-1,Ue);const pr=yield Qe(Gt,Ue);(function Gn(ce,ue){ue.edges().map((ve,ze)=>{const Le=ve.data();if(ve[0]._private.bodyBounds){const Ue=ve[0]._private.rscratch;G.l.trace("Edge: ",ze,Le),ce.insert("path").attr("d",`M ${Ue.startX},${Ue.startY} L ${Ue.midX},${Ue.midY} L${Ue.endX},${Ue.endY} `).attr("class","edge section-edge-"+Le.section+" edge-depth-"+Le.depth)}})})(jt,pr),function Bi(ce){ce.nodes().map((ue,ve)=>{const ze=ue.data();ze.x=ue.position().x,ze.y=ue.position().y,Ta.positionNode(ze);const Le=Ze(ze.nodeId);G.l.info("Id:",ve,"Position: (",ue.position().x,", ",ue.position().y,")",ze),Le.attr("transform",`translate(${ue.position().x-ze.width/2}, ${ue.position().y-ze.height/2})`),Le.attr("attr",`apa-${ve})`)})}(pr),(0,T.s)(void 0,Rt,Ue.mindmap.padding,Ue.mindmap.useMaxWidth)});return function(ve,ze,Le,Ue){return ce.apply(this,arguments)}}()},parser:q,styles:ce=>`\n .edge {\n stroke-width: 3;\n }\n ${(ce=>{let ue="";for(let ve=0;ve{W.d(ct,{a:()=>h,b:()=>Dt,c:()=>L,d:()=>Pt,e:()=>jt,f:()=>Zt,g:()=>Gt,h:()=>Kt,i:()=>X,p:()=>Xt,s:()=>Ut,u:()=>b});var d=W(855),C=W(5703),I=W(4169),tt=W(5299),z=W(9111);const f={extension:(a,t,r)=>{d.l.trace("Making markers for ",r),a.append("defs").append("marker").attr("id",t+"-extensionStart").attr("class","marker extension "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),a.append("defs").append("marker").attr("id",t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(a,t)=>{a.append("defs").append("marker").attr("id",t+"-compositionStart").attr("class","marker composition "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(a,t)=>{a.append("defs").append("marker").attr("id",t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(a,t)=>{a.append("defs").append("marker").attr("id",t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(a,t)=>{a.append("defs").append("marker").attr("id",t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(a,t)=>{a.append("marker").attr("id",t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(a,t)=>{a.append("marker").attr("id",t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(a,t)=>{a.append("marker").attr("id",t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),a.append("marker").attr("id",t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(a,t)=>{a.append("defs").append("marker").attr("id",t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},h=(a,t,r,n)=>{t.forEach(e=>{f[e](a,r,n)})},L=(a,t,r,n)=>{let e=a||"";if("object"==typeof e&&(e=e[0]),(0,d.j)((0,d.g)().flowchart.htmlLabels))return e=e.replace(/\\n|\n/g,"
"),d.l.info("vertexText"+e),function S(a){const t=(0,C.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=t.append("xhtml:div");return r.html('"+a.label+""),function E(a,t){t&&a.attr("style",t)}(r,a.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}({isNode:n,label:(0,I.d)(e).replace(/fa[blrs]?:fa-[\w-]+/g,l=>``),labelStyle:t.replace("fill:","color:")});{const s=document.createElementNS("http://www.w3.org/2000/svg","text");s.setAttribute("style",t.replace("color:","fill:"));let i=[];i="string"==typeof e?e.split(/\\n|\n|/gi):Array.isArray(e)?e:[];for(const l of i){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),c.setAttribute("class",r?"title-row":"row"),c.textContent=l.trim(),s.appendChild(c)}return s}},v=(a,t,r,n)=>{let e;e=r||"node default";const s=a.insert("g").attr("class",e).attr("id",t.domId||t.id),i=s.insert("g").attr("class","label").attr("style",t.labelStyle);let l;l=void 0===t.labelText?"":"string"==typeof t.labelText?t.labelText:t.labelText[0];const c=i.node().appendChild(L((0,d.b)((0,I.d)(l),(0,d.g)()),t.labelStyle,!1,n));let p=c.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const u=c.children[0],m=(0,C.Ys)(c);p=u.getBoundingClientRect(),m.attr("width",p.width),m.attr("height",p.height)}const o=t.padding/2;return i.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),{shapeSvg:s,bbox:p,halfPadding:o,label:i}},b=(a,t)=>{const r=t.node().getBBox();a.width=r.width,a.height=r.height};function M(a,t,r,n){return a.insert("polygon",":first-child").attr("points",n.map(function(e){return e.x+","+e.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+r/2+")")}function N(a,t,r,n){var e=a.x,s=a.y,i=e-n.x,l=s-n.y,c=Math.sqrt(t*t*l*l+r*r*i*i),p=Math.abs(t*r*i/c);n.x0}const X=(a,t)=>{var c,p,r=a.x,n=a.y,e=t.x-r,s=t.y-n,i=a.width/2,l=a.height/2;return Math.abs(s)*i>Math.abs(e)*l?(s<0&&(l=-l),c=0===s?0:l*e/s,p=l):(e<0&&(i=-i),c=i,p=0===e?0:i*s/e),{x:r+c,y:n+p}},w={node:function G(a,t){return a.intersect(t)},circle:function Y(a,t,r){return N(a,t,t,r)},ellipse:N,polygon:function V(a,t,r){var n=a.x,e=a.y,s=[],i=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof t.forEach?t.forEach(function(x){i=Math.min(i,x.x),l=Math.min(l,x.y)}):(i=Math.min(i,t.x),l=Math.min(l,t.y));for(var c=n-a.width/2-i,p=e-a.height/2-l,o=0;o1&&s.sort(function(x,k){var B=x.x-r.x,T=x.y-r.y,P=Math.sqrt(B*B+T*T),J=k.x-r.x,$=k.y-r.y,at=Math.sqrt(J*J+$*$);return P{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),i=n.width+t.padding+(n.height+t.padding),l=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];d.l.info("Question main (Circle)");const c=M(r,i,i,l);return c.attr("style",t.style),b(t,c),t.intersect=function(p){return d.l.warn("Intersect called"),w.polygon(t,l,p)},r};function bt(a,t,r,n){const e=[],s=l=>{e.push(l,0)},i=l=>{e.push(0,l)};t.includes("t")?(d.l.debug("add top border"),s(r)):i(r),t.includes("r")?(d.l.debug("add right border"),s(n)):i(n),t.includes("b")?(d.l.debug("add bottom border"),s(r)):i(r),t.includes("l")?(d.l.debug("add left border"),s(n)):i(n),a.attr("stroke-dasharray",e.join(" "))}const wt=(a,t,r)=>{const n=a.insert("g").attr("class","node default").attr("id",t.domId||t.id);let e=70,s=10;"LR"===r&&(e=10,s=70);const i=n.append("rect").attr("x",-1*e/2).attr("y",-1*s/2).attr("width",e).attr("height",s).attr("class","fork-join");return b(t,i),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(l){return w.rect(t,l)},n},mt={rhombus:U,question:U,rect:(a,t)=>{const{shapeSvg:r,bbox:n,halfPadding:e}=v(a,t,"node "+t.classes,!0);d.l.trace("Classes = ",t.classes);const s=r.insert("rect",":first-child"),i=n.width+t.padding,l=n.height+t.padding;if(s.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",-n.width/2-e).attr("y",-n.height/2-e).attr("width",i).attr("height",l),t.props){const c=new Set(Object.keys(t.props));t.props.borders&&(bt(s,t.props.borders,i,l),c.delete("borders")),c.forEach(p=>{d.l.warn(`Unknown node property ${p}`)})}return b(t,s),t.intersect=function(c){return w.rect(t,c)},r},labelRect:(a,t)=>{const{shapeSvg:r}=v(a,t,"label",!0);d.l.trace("Classes = ",t.classes);const n=r.insert("rect",":first-child");if(n.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),t.props){const i=new Set(Object.keys(t.props));t.props.borders&&(bt(n,t.props.borders,0,0),i.delete("borders")),i.forEach(l=>{d.l.warn(`Unknown node property ${l}`)})}return b(t,n),t.intersect=function(i){return w.rect(t,i)},r},rectWithTitle:(a,t)=>{let r;r=t.classes?"node "+t.classes:"node default";const n=a.insert("g").attr("class",r).attr("id",t.domId||t.id),e=n.insert("rect",":first-child"),s=n.insert("line"),i=n.insert("g").attr("class","label"),l=t.labelText.flat?t.labelText.flat():t.labelText;let c="";c="object"==typeof l?l[0]:l,d.l.info("Label text abc79",c,l,"object"==typeof l);const p=i.node().appendChild(L(c,t.labelStyle,!0,!0));let o={width:0,height:0};if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const k=p.children[0],B=(0,C.Ys)(p);o=k.getBoundingClientRect(),B.attr("width",o.width),B.attr("height",o.height)}d.l.info("Text 2",l);const u=l.slice(1,l.length);let m=p.getBBox();const y=i.node().appendChild(L(u.join?u.join("
"):u,t.labelStyle,!0,!0));if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const k=y.children[0],B=(0,C.Ys)(y);o=k.getBoundingClientRect(),B.attr("width",o.width),B.attr("height",o.height)}const x=t.padding/2;return(0,C.Ys)(y).attr("transform","translate( "+(o.width>m.width?0:(m.width-o.width)/2)+", "+(m.height+x+5)+")"),(0,C.Ys)(p).attr("transform","translate( "+(o.width{const r=a.insert("g").attr("class","node default").attr("id",t.domId||t.id);return r.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(i){return i.x+","+i.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(i){return w.circle(t,14,i)},r},circle:(a,t)=>{const{shapeSvg:r,bbox:n,halfPadding:e}=v(a,t,void 0,!0),s=r.insert("circle",":first-child");return s.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",n.width/2+e).attr("width",n.width+t.padding).attr("height",n.height+t.padding),d.l.info("Circle main"),b(t,s),t.intersect=function(i){return d.l.info("Circle intersect",t,n.width/2+e,i),w.circle(t,n.width/2+e,i)},r},doublecircle:(a,t)=>{const{shapeSvg:r,bbox:n,halfPadding:e}=v(a,t,void 0,!0),i=r.insert("g",":first-child"),l=i.insert("circle"),c=i.insert("circle");return l.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",n.width/2+e+5).attr("width",n.width+t.padding+10).attr("height",n.height+t.padding+10),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",n.width/2+e).attr("width",n.width+t.padding).attr("height",n.height+t.padding),d.l.info("DoubleCircle main"),b(t,l),t.intersect=function(p){return d.l.info("DoubleCircle intersect",t,n.width/2+e+5,p),w.circle(t,n.width/2+e+5,p)},r},stadium:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.height+t.padding,s=n.width+e/4+t.padding,i=r.insert("rect",":first-child").attr("style",t.style).attr("rx",e/2).attr("ry",e/2).attr("x",-s/2).attr("y",-e/2).attr("width",s).attr("height",e);return b(t,i),t.intersect=function(l){return w.rect(t,l)},r},hexagon:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),s=n.height+t.padding,i=s/4,l=n.width+2*i+t.padding,c=[{x:i,y:0},{x:l-i,y:0},{x:l,y:-s/2},{x:l-i,y:-s},{x:i,y:-s},{x:0,y:-s/2}],p=M(r,l,s,c);return p.attr("style",t.style),b(t,p),t.intersect=function(o){return w.polygon(t,c,o)},r},rect_left_inv_arrow:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:-s/2,y:0},{x:e,y:0},{x:e,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return M(r,e,s,i).attr("style",t.style),t.width=e+s,t.height=s,t.intersect=function(c){return w.polygon(t,i,c)},r},lean_right:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:-2*s/6,y:0},{x:e-s/6,y:0},{x:e+2*s/6,y:-s},{x:s/6,y:-s}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},lean_left:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:2*s/6,y:0},{x:e+s/6,y:0},{x:e-2*s/6,y:-s},{x:-s/6,y:-s}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},trapezoid:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:-2*s/6,y:0},{x:e+2*s/6,y:0},{x:e-s/6,y:-s},{x:s/6,y:-s}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},inv_trapezoid:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:s/6,y:0},{x:e-s/6,y:0},{x:e+2*s/6,y:-s},{x:-2*s/6,y:-s}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},rect_right_inv_arrow:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:0,y:0},{x:e+s/2,y:0},{x:e,y:-s/2},{x:e+s/2,y:-s},{x:0,y:-s}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},cylinder:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=e/2,i=s/(2.5+e/50),l=n.height+i+t.padding,c="M 0,"+i+" a "+s+","+i+" 0,0,0 "+e+" 0 a "+s+","+i+" 0,0,0 "+-e+" 0 l 0,"+l+" a "+s+","+i+" 0,0,0 "+e+" 0 l 0,"+-l,p=r.attr("label-offset-y",i).insert("path",":first-child").attr("style",t.style).attr("d",c).attr("transform","translate("+-e/2+","+-(l/2+i)+")");return b(t,p),t.intersect=function(o){const u=w.rect(t,o),m=u.x-t.x;if(0!=s&&(Math.abs(m)t.height/2-i)){let y=i*i*(1-m*m/(s*s));0!=y&&(y=Math.sqrt(y)),y=i-y,o.y-t.y>0&&(y=-y),u.y+=y}return u},r},start:(a,t)=>{const r=a.insert("g").attr("class","node default").attr("id",t.domId||t.id),n=r.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),b(t,n),t.intersect=function(e){return w.circle(t,7,e)},r},end:(a,t)=>{const r=a.insert("g").attr("class","node default").attr("id",t.domId||t.id),n=r.insert("circle",":first-child"),e=r.insert("circle",":first-child");return e.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),n.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),b(t,e),t.intersect=function(s){return w.circle(t,7,s)},r},note:(a,t)=>{const{shapeSvg:r,bbox:n,halfPadding:e}=v(a,t,"node "+t.classes,!0);d.l.info("Classes = ",t.classes);const s=r.insert("rect",":first-child");return s.attr("rx",t.rx).attr("ry",t.ry).attr("x",-n.width/2-e).attr("y",-n.height/2-e).attr("width",n.width+t.padding).attr("height",n.height+t.padding),b(t,s),t.intersect=function(i){return w.rect(t,i)},r},subroutine:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:0,y:0},{x:e,y:0},{x:e,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:e+8,y:0},{x:e+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},fork:wt,join:wt,class_box:(a,t)=>{const r=t.padding/2;let s;s=t.classes?"node "+t.classes:"node default";const i=a.insert("g").attr("class",s).attr("id",t.domId||t.id),l=i.insert("rect",":first-child"),c=i.insert("line"),p=i.insert("line");let o=0,u=4;const m=i.insert("g").attr("class","label");let y=0;const x=t.classData.annotations&&t.classData.annotations[0],k=t.classData.annotations[0]?"\xab"+t.classData.annotations[0]+"\xbb":"",B=m.node().appendChild(L(k,t.labelStyle,!0,!0));let T=B.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const O=B.children[0],H=(0,C.Ys)(B);T=O.getBoundingClientRect(),H.attr("width",T.width),H.attr("height",T.height)}t.classData.annotations[0]&&(u+=T.height+4,o+=T.width);let P=t.classData.label;void 0!==t.classData.type&&""!==t.classData.type&&((0,d.g)().flowchart.htmlLabels?P+="<"+t.classData.type+">":P+="<"+t.classData.type+">");const J=m.node().appendChild(L(P,t.labelStyle,!0,!0));(0,C.Ys)(J).attr("class","classTitle");let $=J.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const O=J.children[0],H=(0,C.Ys)(J);$=O.getBoundingClientRect(),H.attr("width",$.width),H.attr("height",$.height)}u+=$.height+4,$.width>o&&(o=$.width);const at=[];t.classData.members.forEach(O=>{const H=(0,tt.p)(O);let Q=H.displayText;(0,d.g)().flowchart.htmlLabels&&(Q=Q.replace(//g,">"));const Z=m.node().appendChild(L(Q,H.cssStyle?H.cssStyle:t.labelStyle,!0,!0));let A=Z.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const pt=Z.children[0],et=(0,C.Ys)(Z);A=pt.getBoundingClientRect(),et.attr("width",A.width),et.attr("height",A.height)}A.width>o&&(o=A.width),u+=A.height+4,at.push(Z)}),u+=8;const vt=[];if(t.classData.methods.forEach(O=>{const H=(0,tt.p)(O);let Q=H.displayText;(0,d.g)().flowchart.htmlLabels&&(Q=Q.replace(//g,">"));const Z=m.node().appendChild(L(Q,H.cssStyle?H.cssStyle:t.labelStyle,!0,!0));let A=Z.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const pt=Z.children[0],et=(0,C.Ys)(Z);A=pt.getBoundingClientRect(),et.attr("width",A.width),et.attr("height",A.height)}A.width>o&&(o=A.width),u+=A.height+4,vt.push(Z)}),u+=8,x){let O=(o-T.width)/2;(0,C.Ys)(B).attr("transform","translate( "+(-1*o/2+O)+", "+-1*u/2+")"),y=T.height+4}let Ft=(o-$.width)/2;return(0,C.Ys)(J).attr("transform","translate( "+(-1*o/2+Ft)+", "+(-1*u/2+y)+")"),y+=$.height+4,c.attr("class","divider").attr("x1",-o/2-r).attr("x2",o/2+r).attr("y1",-u/2-r+8+y).attr("y2",-u/2-r+8+y),y+=8,at.forEach(O=>{(0,C.Ys)(O).attr("transform","translate( "+-o/2+", "+(-1*u/2+y+4)+")"),y+=$.height+4}),y+=8,p.attr("class","divider").attr("x1",-o/2-r).attr("x2",o/2+r).attr("y1",-u/2-r+8+y).attr("y2",-u/2-r+8+y),y+=8,vt.forEach(O=>{(0,C.Ys)(O).attr("transform","translate( "+-o/2+", "+(-1*u/2+y)+")"),y+=$.height+4}),l.attr("class","outer title-state").attr("x",-o/2-r).attr("y",-u/2-r).attr("width",o+t.padding).attr("height",u+t.padding),b(t,l),t.intersect=function(O){return w.rect(t,O)},i}};let q={};const jt=(a,t,r)=>{let n,e;if(t.link){let s;"sandbox"===(0,d.g)().securityLevel?s="_top":t.linkTarget&&(s=t.linkTarget||"_blank"),n=a.insert("svg:a").attr("xlink:href",t.link).attr("target",s),e=mt[t.shape](n,t,r)}else e=mt[t.shape](a,t,r),n=e;return t.tooltip&&e.attr("title",t.tooltip),t.class&&e.attr("class","node default "+t.class),q[t.id]=n,t.haveCallback&&q[t.id].attr("class",q[t.id].attr("class")+" clickable"),n},Ut=(a,t)=>{q[t.id]=a},Dt=()=>{q={}},Xt=a=>{const t=q[a.id];d.l.trace("Transforming node",a.diff,a,"translate("+(a.x-a.width/2-5)+", "+a.width/2+")");const n=a.diff||0;return t.attr("transform",a.clusterNode?"translate("+(a.x+n-a.width/2)+", "+(a.y-a.height/2-8)+")":"translate("+a.x+", "+a.y+")"),n};let nt={},R={};const Pt=()=>{nt={},R={}},Zt=(a,t)=>{const r=L(t.label,t.labelStyle),n=a.insert("g").attr("class","edgeLabel"),e=n.insert("g").attr("class","label");e.node().appendChild(r);let i,s=r.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const l=r.children[0],c=(0,C.Ys)(r);s=l.getBoundingClientRect(),c.attr("width",s.width),c.attr("height",s.height)}if(e.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),nt[t.id]=n,t.width=s.width,t.height=s.height,t.startLabelLeft){const l=L(t.startLabelLeft,t.labelStyle),c=a.insert("g").attr("class","edgeTerminals"),p=c.insert("g").attr("class","inner");i=p.node().appendChild(l);const o=l.getBBox();p.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),R[t.id]||(R[t.id]={}),R[t.id].startLeft=c,lt(i,t.startLabelLeft)}if(t.startLabelRight){const l=L(t.startLabelRight,t.labelStyle),c=a.insert("g").attr("class","edgeTerminals"),p=c.insert("g").attr("class","inner");i=c.node().appendChild(l),p.node().appendChild(l);const o=l.getBBox();p.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),R[t.id]||(R[t.id]={}),R[t.id].startRight=c,lt(i,t.startLabelRight)}if(t.endLabelLeft){const l=L(t.endLabelLeft,t.labelStyle),c=a.insert("g").attr("class","edgeTerminals"),p=c.insert("g").attr("class","inner");i=p.node().appendChild(l);const o=l.getBBox();p.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),c.node().appendChild(l),R[t.id]||(R[t.id]={}),R[t.id].endLeft=c,lt(i,t.endLabelLeft)}if(t.endLabelRight){const l=L(t.endLabelRight,t.labelStyle),c=a.insert("g").attr("class","edgeTerminals"),p=c.insert("g").attr("class","inner");i=p.node().appendChild(l);const o=l.getBBox();p.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),c.node().appendChild(l),R[t.id]||(R[t.id]={}),R[t.id].endRight=c,lt(i,t.endLabelRight)}return r};function lt(a,t){(0,d.g)().flowchart.htmlLabels&&a&&(a.style.width=9*t.length+"px",a.style.height="12px")}const Kt=(a,t)=>{d.l.info("Moving label abc78 ",a.id,a.label,nt[a.id]);let r=t.updatedPath?t.updatedPath:t.originalPath;if(a.label){const n=nt[a.id];let e=a.x,s=a.y;if(r){const i=z.u.calcLabelPosition(r);d.l.info("Moving label "+a.label+" from (",e,",",s,") to (",i.x,",",i.y,") abc78"),t.updatedPath&&(e=i.x,s=i.y)}n.attr("transform","translate("+e+", "+s+")")}if(a.startLabelLeft){const n=R[a.id].startLeft;let e=a.x,s=a.y;if(r){const i=z.u.calcTerminalLabelPosition(a.arrowTypeStart?10:0,"start_left",r);e=i.x,s=i.y}n.attr("transform","translate("+e+", "+s+")")}if(a.startLabelRight){const n=R[a.id].startRight;let e=a.x,s=a.y;if(r){const i=z.u.calcTerminalLabelPosition(a.arrowTypeStart?10:0,"start_right",r);e=i.x,s=i.y}n.attr("transform","translate("+e+", "+s+")")}if(a.endLabelLeft){const n=R[a.id].endLeft;let e=a.x,s=a.y;if(r){const i=z.u.calcTerminalLabelPosition(a.arrowTypeEnd?10:0,"end_left",r);e=i.x,s=i.y}n.attr("transform","translate("+e+", "+s+")")}if(a.endLabelRight){const n=R[a.id].endRight;let e=a.x,s=a.y;if(r){const i=z.u.calcTerminalLabelPosition(a.arrowTypeEnd?10:0,"end_right",r);e=i.x,s=i.y}n.attr("transform","translate("+e+", "+s+")")}},kt=(a,t)=>{d.l.warn("abc88 cutPathAtIntersect",a,t);let r=[],n=a[0],e=!1;return a.forEach(s=>{if(d.l.info("abc88 checking point",s,t),((a,t)=>{const n=a.y,e=Math.abs(t.x-a.x),s=Math.abs(t.y-n);return e>=a.width/2||s>=a.height/2})(t,s)||e)d.l.warn("abc88 outside",s,n),n=s,e||r.push(s);else{const i=((a,t,r)=>{d.l.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(t)}\n insidePoint : ${JSON.stringify(r)}\n node : x:${a.x} y:${a.y} w:${a.width} h:${a.height}`);const n=a.x,e=a.y,s=Math.abs(n-r.x),i=a.width/2;let l=r.xMath.abs(n-t.x)*c){let u=r.y{l=l||c.x===i.x&&c.y===i.y}),r.some(c=>c.x===i.x&&c.y===i.y)?d.l.warn("abc88 no intersect",i,r):r.push(i),e=!0}}),d.l.warn("abc88 returning points",r),r},Gt=function(a,t,r,n,e,s){let i=r.points,l=!1;const c=s.node(t.v);var p=s.node(t.w);d.l.info("abc88 InsertEdge: ",r),p.intersect&&c.intersect&&(i=i.slice(1,r.points.length-1),i.unshift(c.intersect(i[0])),d.l.info("Last point",i[i.length-1],p,p.intersect(i[i.length-1])),i.push(p.intersect(i[i.length-1]))),r.toCluster&&(d.l.info("to cluster abc88",n[r.toCluster]),i=kt(r.points,n[r.toCluster].node),l=!0),r.fromCluster&&(d.l.info("from cluster abc88",n[r.fromCluster]),i=kt(i.reverse(),n[r.fromCluster].node).reverse(),l=!0);const o=i.filter(T=>!Number.isNaN(T.y));let u;u=("graph"===e||"flowchart"===e)&&r.curve||C.$0Z;const m=(0,C.jvg)().x(function(T){return T.x}).y(function(T){return T.y}).curve(u);let y;switch(r.thickness){case"normal":y="edge-thickness-normal";break;case"thick":case"invisible":y="edge-thickness-thick";break;default:y=""}switch(r.pattern){case"solid":y+=" edge-pattern-solid";break;case"dotted":y+=" edge-pattern-dotted";break;case"dashed":y+=" edge-pattern-dashed"}const x=a.append("path").attr("d",m(o)).attr("id",r.id).attr("class"," "+y+(r.classes?" "+r.classes:"")).attr("style",r.style);let k="";switch(((0,d.g)().flowchart.arrowMarkerAbsolute||(0,d.g)().state.arrowMarkerAbsolute)&&(k=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,k=k.replace(/\(/g,"\\("),k=k.replace(/\)/g,"\\)")),d.l.info("arrowTypeStart",r.arrowTypeStart),d.l.info("arrowTypeEnd",r.arrowTypeEnd),r.arrowTypeStart){case"arrow_cross":x.attr("marker-start","url("+k+"#"+e+"-crossStart)");break;case"arrow_point":x.attr("marker-start","url("+k+"#"+e+"-pointStart)");break;case"arrow_barb":x.attr("marker-start","url("+k+"#"+e+"-barbStart)");break;case"arrow_circle":x.attr("marker-start","url("+k+"#"+e+"-circleStart)");break;case"aggregation":x.attr("marker-start","url("+k+"#"+e+"-aggregationStart)");break;case"extension":x.attr("marker-start","url("+k+"#"+e+"-extensionStart)");break;case"composition":x.attr("marker-start","url("+k+"#"+e+"-compositionStart)");break;case"dependency":x.attr("marker-start","url("+k+"#"+e+"-dependencyStart)");break;case"lollipop":x.attr("marker-start","url("+k+"#"+e+"-lollipopStart)")}switch(r.arrowTypeEnd){case"arrow_cross":x.attr("marker-end","url("+k+"#"+e+"-crossEnd)");break;case"arrow_point":x.attr("marker-end","url("+k+"#"+e+"-pointEnd)");break;case"arrow_barb":x.attr("marker-end","url("+k+"#"+e+"-barbEnd)");break;case"arrow_circle":x.attr("marker-end","url("+k+"#"+e+"-circleEnd)");break;case"aggregation":x.attr("marker-end","url("+k+"#"+e+"-aggregationEnd)");break;case"extension":x.attr("marker-end","url("+k+"#"+e+"-extensionEnd)");break;case"composition":x.attr("marker-end","url("+k+"#"+e+"-compositionEnd)");break;case"dependency":x.attr("marker-end","url("+k+"#"+e+"-dependencyEnd)");break;case"lollipop":x.attr("marker-end","url("+k+"#"+e+"-lollipopEnd)")}let B={};return l&&(B.updatedPath=i),B.originalPath=r.points,B}},5299:(Lt,ct,W)=>{W.d(ct,{p:()=>st,s:()=>xt});var d=W(5703),C=W(9111),I=W(855);let tt=0;const st=function(g){let E=g.match(/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/),S=g.match(/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/);return E&&!S?ft(E):S?yt(S):ut(g)},ft=function(g){let f="",h="";try{let E=g[1]?g[1].trim():"",S=g[2]?g[2].trim():"",_=g[3]?(0,I.p)(g[3].trim()):"",L=g[4]?g[4].trim():"",v=g[5]?g[5].trim():"";h=E+S+_+" "+L,f=it(v)}catch{h=g}return{displayText:h,cssStyle:f}},yt=function(g){let f="",h="";try{let E=g[1]?g[1].trim():"",S=g[2]?g[2].trim():"",_=g[3]?(0,I.p)(g[3].trim()):"",L=g[4]?g[4].trim():"";h=E+S+"("+_+")"+(g[5]?" : "+(0,I.p)(g[5]).trim():""),f=it(L)}catch{h=g}return{displayText:h,cssStyle:f}},ut=function(g){let f="",h="",E="",S=g.indexOf("("),_=g.indexOf(")");if(S>1&&_>S&&_<=g.length){let L="",v="",b=g.substring(0,1);b.match(/\w/)?v=g.substring(0,S).trim():(b.match(/[#+~-]/)&&(L=b),v=g.substring(1,S).trim());const M=g.substring(S+1,_);g.substring(_+1,1),h=it(g.substring(_+1,_+2)),f=L+v+"("+(0,I.p)(M.trim())+")",_");const G=v.append("tspan").text(M).attr("class","title");b||G.attr("dy",h.textHeight);const N=v.node().getBBox().height,Y=L.append("line").attr("x1",0).attr("y1",h.padding+N+h.dividerMargin/2).attr("y2",h.padding+N+h.dividerMargin/2),F=L.append("text").attr("x",h.padding).attr("y",N+h.dividerMargin+h.textHeight).attr("fill","white").attr("class","classText");b=!0,f.members.forEach(function(U){ht(F,U,b,h),b=!1});const D=F.node().getBBox(),V=L.append("line").attr("x1",0).attr("y1",h.padding+N+h.dividerMargin+D.height).attr("y2",h.padding+N+h.dividerMargin+D.height),rt=L.append("text").attr("x",h.padding).attr("y",N+2*h.dividerMargin+D.height+h.textHeight).attr("fill","white").attr("class","classText");b=!0,f.methods.forEach(function(U){ht(rt,U,b,h),b=!1});const X=L.node().getBBox();var w=" ";f.cssClasses.length>0&&(w+=f.cssClasses.join(" "));const j=L.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",X.width+2*h.padding).attr("height",X.height+h.padding+.5*h.dividerMargin).attr("class",w).node().getBBox().width;return v.node().childNodes.forEach(function(U){U.setAttribute("x",(j-U.getBBox().width)/2)}),f.tooltip&&v.insert("title").text(f.tooltip),Y.attr("x2",j),V.attr("x2",j),_.width=j,_.height=X.height+h.padding+.5*h.dividerMargin,_},drawEdge:function(g,f,h,E,S){const _=function(w){switch(w){case S.db.relationType.AGGREGATION:return"aggregation";case S.db.relationType.EXTENSION:return"extension";case S.db.relationType.COMPOSITION:return"composition";case S.db.relationType.DEPENDENCY:return"dependency";case S.db.relationType.LOLLIPOP:return"lollipop"}};f.points=f.points.filter(w=>!Number.isNaN(w.y));const L=f.points,v=(0,d.jvg)().x(function(w){return w.x}).y(function(w){return w.y}).curve(d.$0Z),b=g.append("path").attr("d",v(L)).attr("id","edge"+tt).attr("class","relation");let G,N,M="";E.arrowMarkerAbsolute&&(M=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,M=M.replace(/\(/g,"\\("),M=M.replace(/\)/g,"\\)")),1==h.relation.lineType&&b.attr("class","relation dashed-line"),10==h.relation.lineType&&b.attr("class","relation dotted-line"),"none"!==h.relation.type1&&b.attr("marker-start","url("+M+"#"+_(h.relation.type1)+"Start)"),"none"!==h.relation.type2&&b.attr("marker-end","url("+M+"#"+_(h.relation.type2)+"End)");const Y=f.points.length;let D,V,rt,X,F=C.u.calcLabelPosition(f.points);if(G=F.x,N=F.y,Y%2!=0&&Y>1){let w=C.u.calcCardinalityPosition("none"!==h.relation.type1,f.points,f.points[0]),K=C.u.calcCardinalityPosition("none"!==h.relation.type2,f.points,f.points[Y-1]);I.l.debug("cardinality_1_point "+JSON.stringify(w)),I.l.debug("cardinality_2_point "+JSON.stringify(K)),D=w.x,V=w.y,rt=K.x,X=K.y}if(void 0!==h.title){const w=g.append("g").attr("class","classLabel"),K=w.append("text").attr("class","label").attr("x",G).attr("y",N).attr("fill","red").attr("text-anchor","middle").text(h.title);window.label=K;const j=K.node().getBBox();w.insert("rect",":first-child").attr("class","box").attr("x",j.x-E.padding/2).attr("y",j.y-E.padding/2).attr("width",j.width+E.padding).attr("height",j.height+E.padding)}I.l.info("Rendering relation "+JSON.stringify(h)),void 0!==h.relationTitle1&&"none"!==h.relationTitle1&&g.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",D).attr("y",V).attr("fill","black").attr("font-size","6").text(h.relationTitle1),void 0!==h.relationTitle2&&"none"!==h.relationTitle2&&g.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",rt).attr("y",X).attr("fill","black").attr("font-size","6").text(h.relationTitle2),tt++},drawNote:function(g,f,h,E){I.l.debug("Rendering note ",f,h);const S=f.id,_={id:S,text:f.text,width:0,height:0},L=g.append("g").attr("id",S).attr("class","classGroup");let v=L.append("text").attr("y",h.textHeight+h.padding).attr("x",0);const b=JSON.parse(`"${f.text}"`).split("\n");b.forEach(function(Y){I.l.debug(`Adding line: ${Y}`),v.append("tspan").text(Y).attr("class","title").attr("dy",h.textHeight)});const M=L.node().getBBox(),N=L.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",M.width+2*h.padding).attr("height",M.height+b.length*h.textHeight+h.padding+.5*h.dividerMargin).node().getBBox().width;return v.node().childNodes.forEach(function(Y){Y.setAttribute("x",(N-Y.getBBox().width)/2)}),_.width=N,_.height=M.height+b.length*h.textHeight+h.padding+.5*h.dividerMargin,_},parseMember:st}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/3rdpartylicenses.txt b/pkg/apiserver-impl/ui/3rdpartylicenses.txt new file mode 100644 index 000000000..aaad2ff4a --- /dev/null +++ b/pkg/apiserver-impl/ui/3rdpartylicenses.txt @@ -0,0 +1,1630 @@ +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2023 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/common +MIT + +@angular/core +MIT + +@angular/forms +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2023 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/platform-browser +MIT + +@babel/runtime +MIT +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +@braintree/sanitize-url +MIT +MIT License + +Copyright (c) 2017 Braintree + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +cose-base +MIT +MIT License + +Copyright (c) 2019 - present, iVis@Bilkent. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +cytoscape +MIT +Copyright (c) 2016-2022, The Cytoscape Consortium. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the “Software”), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +cytoscape-cose-bilkent +MIT + + +Copyright (c) 2016-2018, The Cytoscape Consortium. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the “Software”), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +d3 +ISC +Copyright 2010-2023 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-array +ISC +Copyright 2010-2023 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-axis +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-brush +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-color +ISC +Copyright 2010-2022 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-dispatch +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-ease +BSD-3-Clause +Copyright 2010-2021 Mike Bostock +Copyright 2001 Robert Penner +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-fetch +ISC +Copyright 2016-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-format +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-interpolate +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-path +ISC +Copyright 2015-2022 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-scale +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-selection +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-shape +ISC +Copyright 2010-2022 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-time +ISC +Copyright 2010-2022 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-time-format +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-timer +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-transition +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +d3-zoom +ISC +Copyright 2010-2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +dagre-d3-es +MIT + +dayjs +MIT +MIT License + +Copyright (c) 2018-present, iamkun + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +dompurify +(MPL-2.0 OR Apache-2.0) +DOMPurify +Copyright 2015 Mario Heiderich + +DOMPurify is free software; you can redistribute it and/or modify it under the +terms of either: + +a) the Apache License Version 2.0, or +b) the Mozilla Public License Version 2.0 + +----------------------------------------------------------------------------- + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +----------------------------------------------------------------------------- +Mozilla Public License, version 2.0 + +1. Definitions + +1.1. “Contributor” + + means each individual or legal entity that creates, contributes to the + creation of, or owns Covered Software. + +1.2. “Contributor Version” + + means the combination of the Contributions of others (if any) used by a + Contributor and that particular Contributor’s Contribution. + +1.3. “Contribution” + + means Covered Software of a particular Contributor. + +1.4. “Covered Software” + + means Source Code Form to which the initial Contributor has attached the + notice in Exhibit A, the Executable Form of such Source Code Form, and + Modifications of such Source Code Form, in each case including portions + thereof. + +1.5. “Incompatible With Secondary Licenses” + means + + a. that the initial Contributor has attached the notice described in + Exhibit B to the Covered Software; or + + b. that the Covered Software was made available under the terms of version + 1.1 or earlier of the License, but not also under the terms of a + Secondary License. + +1.6. “Executable Form” + + means any form of the work other than Source Code Form. + +1.7. “Larger Work” + + means a work that combines Covered Software with other material, in a separate + file or files, that is not Covered Software. + +1.8. “License” + + means this document. + +1.9. “Licensable” + + means having the right to grant, to the maximum extent possible, whether at the + time of the initial grant or subsequently, any and all of the rights conveyed by + this License. + +1.10. “Modifications” + + means any of the following: + + a. any file in Source Code Form that results from an addition to, deletion + from, or modification of the contents of Covered Software; or + + b. any new file in Source Code Form that contains any Covered Software. + +1.11. “Patent Claims” of a Contributor + + means any patent claim(s), including without limitation, method, process, + and apparatus claims, in any patent Licensable by such Contributor that + would be infringed, but for the grant of the License, by the making, + using, selling, offering for sale, having made, import, or transfer of + either its Contributions or its Contributor Version. + +1.12. “Secondary License” + + means either the GNU General Public License, Version 2.0, the GNU Lesser + General Public License, Version 2.1, the GNU Affero General Public + License, Version 3.0, or any later versions of those licenses. + +1.13. “Source Code Form” + + means the form of the work preferred for making modifications. + +1.14. “You” (or “Your”) + + means an individual or a legal entity exercising rights under this + License. For legal entities, “You” includes any entity that controls, is + controlled by, or is under common control with You. For purposes of this + definition, “control” means (a) the power, direct or indirect, to cause + the direction or management of such entity, whether by contract or + otherwise, or (b) ownership of more than fifty percent (50%) of the + outstanding shares or beneficial ownership of such entity. + + +2. License Grants and Conditions + +2.1. Grants + + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + a. under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or as + part of a Larger Work; and + + b. under Patent Claims of such Contributor to make, use, sell, offer for + sale, have made, import, and otherwise transfer either its Contributions + or its Contributor Version. + +2.2. Effective Date + + The licenses granted in Section 2.1 with respect to any Contribution become + effective for each Contribution on the date the Contributor first distributes + such Contribution. + +2.3. Limitations on Grant Scope + + The licenses granted in this Section 2 are the only rights granted under this + License. No additional rights or licenses will be implied from the distribution + or licensing of Covered Software under this License. Notwithstanding Section + 2.1(b) above, no patent license is granted by a Contributor: + + a. for any code that a Contributor has removed from Covered Software; or + + b. for infringements caused by: (i) Your and any other third party’s + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + + c. under Patent Claims infringed by Covered Software in the absence of its + Contributions. + + This License does not grant any rights in the trademarks, service marks, or + logos of any Contributor (except as may be necessary to comply with the + notice requirements in Section 3.4). + +2.4. Subsequent Licenses + + No Contributor makes additional grants as a result of Your choice to + distribute the Covered Software under a subsequent version of this License + (see Section 10.2) or under the terms of a Secondary License (if permitted + under the terms of Section 3.3). + +2.5. Representation + + Each Contributor represents that the Contributor believes its Contributions + are its original creation(s) or it has sufficient rights to grant the + rights to its Contributions conveyed by this License. + +2.6. Fair Use + + This License is not intended to limit any rights You have under applicable + copyright doctrines of fair use, fair dealing, or other equivalents. + +2.7. Conditions + + Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in + Section 2.1. + + +3. Responsibilities + +3.1. Distribution of Source Form + + All distribution of Covered Software in Source Code Form, including any + Modifications that You create or to which You contribute, must be under the + terms of this License. You must inform recipients that the Source Code Form + of the Covered Software is governed by the terms of this License, and how + they can obtain a copy of this License. You may not attempt to alter or + restrict the recipients’ rights in the Source Code Form. + +3.2. Distribution of Executable Form + + If You distribute Covered Software in Executable Form then: + + a. such Covered Software must also be made available in Source Code Form, + as described in Section 3.1, and You must inform recipients of the + Executable Form how they can obtain a copy of such Source Code Form by + reasonable means in a timely manner, at a charge no more than the cost + of distribution to the recipient; and + + b. You may distribute such Executable Form under the terms of this License, + or sublicense it under different terms, provided that the license for + the Executable Form does not attempt to limit or alter the recipients’ + rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + + You may create and distribute a Larger Work under terms of Your choice, + provided that You also comply with the requirements of this License for the + Covered Software. If the Larger Work is a combination of Covered Software + with a work governed by one or more Secondary Licenses, and the Covered + Software is not Incompatible With Secondary Licenses, this License permits + You to additionally distribute such Covered Software under the terms of + such Secondary License(s), so that the recipient of the Larger Work may, at + their option, further distribute the Covered Software under the terms of + either this License or such Secondary License(s). + +3.4. Notices + + You may not remove or alter the substance of any license notices (including + copyright notices, patent notices, disclaimers of warranty, or limitations + of liability) contained within the Source Code Form of the Covered + Software, except that You may alter any license notices to the extent + required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + + You may choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of Covered + Software. However, You may do so only on Your own behalf, and not on behalf + of any Contributor. You must make it absolutely clear that any such + warranty, support, indemnity, or liability obligation is offered by You + alone, and You hereby agree to indemnify every Contributor for any + liability incurred by such Contributor as a result of warranty, support, + indemnity or liability terms You offer. You may include additional + disclaimers of warranty and limitations of liability specific to any + jurisdiction. + +4. Inability to Comply Due to Statute or Regulation + + If it is impossible for You to comply with any of the terms of this License + with respect to some or all of the Covered Software due to statute, judicial + order, or regulation then You must: (a) comply with the terms of this License + to the maximum extent possible; and (b) describe the limitations and the code + they affect. Such description must be placed in a text file included with all + distributions of the Covered Software under this License. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + +5. Termination + +5.1. The rights granted under this License will terminate automatically if You + fail to comply with any of its terms. However, if You become compliant, + then the rights granted under this License from a particular Contributor + are reinstated (a) provisionally, unless and until such Contributor + explicitly and finally terminates Your grants, and (b) on an ongoing basis, + if such Contributor fails to notify You of the non-compliance by some + reasonable means prior to 60 days after You have come back into compliance. + Moreover, Your grants from a particular Contributor are reinstated on an + ongoing basis if such Contributor notifies You of the non-compliance by + some reasonable means, this is the first time You have received notice of + non-compliance with this License from such Contributor, and You become + compliant prior to 30 days after Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent + infringement claim (excluding declaratory judgment actions, counter-claims, + and cross-claims) alleging that a Contributor Version directly or + indirectly infringes any patent, then the rights granted to You by any and + all Contributors for the Covered Software under Section 2.1 of this License + shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user + license agreements (excluding distributors and resellers) which have been + validly granted by You or Your distributors under this License prior to + termination shall survive termination. + +6. Disclaimer of Warranty + + Covered Software is provided under this License on an “as is” basis, without + warranty of any kind, either expressed, implied, or statutory, including, + without limitation, warranties that the Covered Software is free of defects, + merchantable, fit for a particular purpose or non-infringing. The entire + risk as to the quality and performance of the Covered Software is with You. + Should any Covered Software prove defective in any respect, You (not any + Contributor) assume the cost of any necessary servicing, repair, or + correction. This disclaimer of warranty constitutes an essential part of this + License. No use of any Covered Software is authorized under this License + except under this disclaimer. + +7. Limitation of Liability + + Under no circumstances and under no legal theory, whether tort (including + negligence), contract, or otherwise, shall any Contributor, or anyone who + distributes Covered Software as permitted above, be liable to You for any + direct, indirect, special, incidental, or consequential damages of any + character including, without limitation, damages for lost profits, loss of + goodwill, work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses, even if such party shall have been + informed of the possibility of such damages. This limitation of liability + shall not apply to liability for death or personal injury resulting from such + party’s negligence to the extent applicable law prohibits such limitation. + Some jurisdictions do not allow the exclusion or limitation of incidental or + consequential damages, so this exclusion and limitation may not apply to You. + +8. Litigation + + Any litigation relating to this License may be brought only in the courts of + a jurisdiction where the defendant maintains its principal place of business + and such litigation shall be governed by laws of that jurisdiction, without + reference to its conflict-of-law provisions. Nothing in this Section shall + prevent a party’s ability to bring cross-claims or counter-claims. + +9. Miscellaneous + + This License represents the complete agreement concerning the subject matter + hereof. If any provision of this License is held to be unenforceable, such + provision shall be reformed only to the extent necessary to make it + enforceable. Any law or regulation which provides that the language of a + contract shall be construed against the drafter shall not be used to construe + this License against a Contributor. + + +10. Versions of the License + +10.1. New Versions + + Mozilla Foundation is the license steward. Except as provided in Section + 10.3, no one other than the license steward has the right to modify or + publish new versions of this License. Each version will be given a + distinguishing version number. + +10.2. Effect of New Versions + + You may distribute the Covered Software under the terms of the version of + the License under which You originally received the Covered Software, or + under the terms of any subsequent version published by the license + steward. + +10.3. Modified Versions + + If you create software not governed by this License, and you want to + create a new license for such software, you may create and use a modified + version of this License if you rename the license and remove any + references to the name of the license steward (except to note that such + modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses + If You choose to distribute Source Code Form that is Incompatible With + Secondary Licenses under the terms of this version of the License, the + notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice + + This Source Code Form is subject to the + terms of the Mozilla Public License, v. + 2.0. If a copy of the MPL was not + distributed with this file, You can + obtain one at + http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular file, then +You may include the notice in a location (such as a LICENSE file in a relevant +directory) where a recipient would be likely to look for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - “Incompatible With Secondary Licenses” Notice + + This Source Code Form is “Incompatible + With Secondary Licenses”, as defined by + the Mozilla Public License, v. 2.0. + + + +elkjs +EPL-2.0 +# Eclipse Public License - v 2.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE (“AGREEMENT”). ANY USE, REPRODUCTION OR DISTRIBUTION OF +THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +## 1. DEFINITIONS + +“Contribution” means: + +- a\) in the case of the initial Contributor, the initial content + Distributed under this Agreement, and +- b\) in the case of each subsequent Contributor: + - i\) changes to the Program, and + - ii\) additions to the Program; + + where such changes and/or additions to the Program originate from + and are Distributed by that particular Contributor. A Contribution + “originates” from a Contributor if it was added to the Program by + such Contributor itself or anyone acting on such Contributor's + behalf. Contributions do not include changes or additions to the + Program that are not Modified Works. + +“Contributor” means any person or entity that Distributes the Program. + +“Licensed Patents” mean patent claims licensable by a Contributor which +are necessarily infringed by the use or sale of its Contribution alone +or when combined with the Program. + +“Program” means the Contributions Distributed in accordance with this +Agreement. + +“Recipient” means anyone who receives the Program under this Agreement +or any Secondary License (as applicable), including Contributors. + +“Derivative Works” shall mean any work, whether in Source Code or other +form, that is based on (or derived from) the Program and for which the +editorial revisions, annotations, elaborations, or other modifications +represent, as a whole, an original work of authorship. + +“Modified Works” shall mean any work in Source Code or other form that +results from an addition to, deletion from, or modification of the +contents of the Program, including, for purposes of clarity any new file +in Source Code form that contains any contents of the Program. Modified +Works shall not include works that contain only declarations, +interfaces, types, classes, structures, or files of the Program solely +in each case in order to link to, bind by name, or subclass the Program +or Modified Works thereof. + +“Distribute” means the acts of a) distributing or b) making available in +any manner that enables the transfer of a copy. + +“Source Code” means the form of a Program preferred for making +modifications, including but not limited to software source code, +documentation source, and configuration files. + +“Secondary License” means either the GNU General Public License, Version +2.0, or any later versions of that license, including any exceptions or +additional permissions as identified by the initial Contributor. + +## 2. GRANT OF RIGHTS + +- a\) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free copyright + license to reproduce, prepare Derivative Works of, publicly display, + publicly perform, Distribute and sublicense the Contribution of such + Contributor, if any, and such Derivative Works. +- b\) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free patent license + under Licensed Patents to make, use, sell, offer to sell, import and + otherwise transfer the Contribution of such Contributor, if any, in + Source Code or other form. This patent license shall apply to the + combination of the Contribution and the Program if, at the time the + Contribution is added by the Contributor, such addition of the + Contribution causes such combination to be covered by the + Licensed Patents. The patent license shall not apply to any other + combinations which include the Contribution. No hardware per se is + licensed hereunder. +- c\) Recipient understands that although each Contributor grants the + licenses to its Contributions set forth herein, no assurances are + provided by any Contributor that the Program does not infringe the + patent or other intellectual property rights of any other entity. Each + Contributor disclaims any liability to Recipient for claims brought by + any other entity based on infringement of intellectual property rights + or otherwise. As a condition to exercising the rights and licenses + granted hereunder, each Recipient hereby assumes sole responsibility to + secure any other intellectual property rights needed, if any. For + example, if a third party patent license is required to allow Recipient + to Distribute the Program, it is Recipient's responsibility to acquire + that license before distributing the Program. +- d\) Each Contributor represents that to its knowledge it has sufficient + copyright rights in its Contribution, if any, to grant the copyright + license set forth in this Agreement. +- e\) Notwithstanding the terms of any Secondary License, no Contributor + makes additional grants to any Recipient (other than those set forth in + this Agreement) as a result of such Recipient's receipt of the Program + under the terms of a Secondary License (if permitted under the terms of + Section 3). + +## 3. REQUIREMENTS + +3.1 If a Contributor Distributes the Program in any form, then: + +- a\) the Program must also be made available as Source Code, in accordance + with section 3.2, and the Contributor must accompany the Program with a + statement that the Source Code for the Program is available under this + Agreement, and informs Recipients how to obtain it in a reasonable + manner on or through a medium customarily used for software exchange; + and +- b\) the Contributor may Distribute the Program under a license different + than this Agreement, provided that such license: + - i\) effectively disclaims on behalf of all other Contributors all + warranties and conditions, express and implied, including warranties or + conditions of title and non-infringement, and implied warranties or + conditions of merchantability and fitness for a particular purpose; + - ii\) effectively excludes on behalf of all other Contributors all + liability for damages, including direct, indirect, special, incidental + and consequential damages, such as lost profits; + - iii\) does not attempt to limit or alter the recipients' rights in the + Source Code under section 3.2; and + - iv\) requires any subsequent distribution of the Program by any party to + be under a license that satisfies the requirements of this section 3. + +3.2 When the Program is Distributed as Source Code: + +- a\) it must be made available under this Agreement, or if the Program (i) + is combined with other material in a separate file or files made + available under a Secondary License, and (ii) the initial Contributor + attached to the Source Code the notice described in Exhibit A of this + Agreement, then the Program may be made available under the terms of + such Secondary Licenses, and +- b\) a copy of this Agreement must be included with each copy of + the Program. + +3.3 Contributors may not remove or alter any copyright, patent, +trademark, attribution notices, disclaimers of warranty, or limitations +of liability (‘notices’) contained within the Program from any copy of +the Program which they Distribute, provided that Contributors may add +their own appropriate notices. + +## 4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities +with respect to end users, business partners and the like. While this +license is intended to facilitate the commercial use of the Program, the +Contributor who includes the Program in a commercial product offering +should do so in a manner which does not create potential liability for +other Contributors. Therefore, if a Contributor includes the Program in +a commercial product offering, such Contributor (“Commercial +Contributor”) hereby agrees to defend and indemnify every other +Contributor (“Indemnified Contributor”) against any losses, damages and +costs (collectively “Losses”) arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified +Contributor to the extent caused by the acts or omissions of such +Commercial Contributor in connection with its distribution of the +Program in a commercial product offering. The obligations in this +section do not apply to any claims or Losses relating to any actual or +alleged intellectual property infringement. In order to qualify, an +Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial +Contributor to control, and cooperate with the Commercial Contributor +in, the defense and any related settlement negotiations. The Indemnified +Contributor may participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages. + +## 5. NO WARRANTY {#warranty} + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT +PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN “AS IS” +BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR +IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF +TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR +PURPOSE. Each Recipient is solely responsible for determining the +appropriateness of using and distributing the Program and assumes all +risks associated with its exercise of rights under this Agreement, +including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations. + +## 6. DISCLAIMER OF LIABILITY {#disclaimer} + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT +PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS +SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST +PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE +EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + +## 7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against any entity (including +a cross-claim or counterclaim in a lawsuit) alleging that the Program +itself (excluding combinations of the Program with other software or +hardware) infringes such Recipient's patent(s), then such Recipient's +rights granted under Section 2(b) shall terminate as of the date such +litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails +to comply with any of the material terms or conditions of this Agreement +and does not cure such failure in a reasonable period of time after +becoming aware of such noncompliance. If all Recipient's rights under +this Agreement terminate, Recipient agrees to cease use and distribution +of the Program as soon as reasonably practicable. However, Recipient's +obligations under this Agreement and any licenses granted by Recipient +relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, +but in order to avoid inconsistency the Agreement is copyrighted and may +only be modified in the following manner. The Agreement Steward reserves +the right to publish new versions (including revisions) of this +Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the +initial Agreement Steward. The Eclipse Foundation may assign the +responsibility to serve as the Agreement Steward to a suitable separate +entity. Each new version of the Agreement will be given a distinguishing +version number. The Program (including Contributions) may always be +Distributed subject to the version of the Agreement under which it was +received. In addition, after a new version of the Agreement is +published, Contributor may elect to Distribute the Program (including +its Contributions) under the new version. + +Except as expressly stated in Sections 2(a) and 2(b) above, Recipient +receives no rights or licenses to the intellectual property of any +Contributor under this Agreement, whether expressly, by implication, +estoppel or otherwise. All rights in the Program not expressly granted +under this Agreement are reserved. Nothing in this Agreement is intended +to be enforceable by any entity that is not a Contributor or Recipient. +No third-party beneficiary rights are created under this Agreement. + +## Exhibit A – Form of Secondary Licenses Notice {#exhibit-a} + +“This Source Code may also be made available under the following +Secondary Licenses when the conditions for such availability set forth +in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), +version(s), and exceptions or additional permissions here}.” + +> Simply including a copy of this Agreement, including this Exhibit A is +> not sufficient to license the Source Code under Secondary Licenses. +> +> If it is not possible or desirable to put the notice in a particular +> file, then You may include the notice in a location (such as a LICENSE +> file in a relevant directory) where a recipient would be likely to +> look for such a notice. +> +> You may add additional accurate notices of copyright ownership. + + +internmap +ISC +Copyright 2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +khroma +The MIT License (MIT) + +Copyright (c) 2019-present Fabio Spampinato, Andrew Maney + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +layout-base +MIT +MIT License + +Copyright (c) 2019 iVis@Bilkent + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +lodash-es +MIT +Copyright OpenJS Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +mermaid +MIT + +rxjs +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +stylis +MIT +MIT License + +Copyright (c) 2016-present Sultan Tarimo + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ts-dedent +MIT +MIT License + +Copyright (c) 2018 Tamino Martinius + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +tslib +0BSD +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +uuid +MIT +The MIT License (MIT) + +Copyright (c) 2010-2020 Robert Kieffer and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2022 Google LLC. https://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/pkg/apiserver-impl/ui/450.1756491cf50c2969.js b/pkg/apiserver-impl/ui/450.1756491cf50c2969.js new file mode 100644 index 000000000..c71747f40 --- /dev/null +++ b/pkg/apiserver-impl/ui/450.1756491cf50c2969.js @@ -0,0 +1 @@ +(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[450],{7942:DI=>{DI.exports=function dh(zc,bh,v1){function j(pc,gi){if(!bh[pc]){if(!zc[pc]){if(fa)return fa(pc,!0);var Yr=new Error("Cannot find module '"+pc+"'");throw Yr.code="MODULE_NOT_FOUND",Yr}var vi=bh[pc]={exports:{}};zc[pc][0].call(vi.exports,function(Eu){return j(zc[pc][1][Eu]||Eu)},vi,vi.exports,dh,zc,bh,v1)}return bh[pc].exports}for(var fa=void 0,xf=0;xf0&&void 0!==arguments[0]?arguments[0]:{},Yr=Tt.defaultLayoutOptions,vi=void 0===Yr?{}:Yr,Eu=Tt.algorithms,qu=void 0===Eu?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:Eu,Rh=Tt.workerFactory,js=Tt.workerUrl;if(j(this,pc),this.defaultLayoutOptions=vi,this.initialized=!1,typeof js>"u"&&typeof Rh>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Yn=Rh;typeof js<"u"&&typeof Rh>"u"&&(Yn=function(q9){return new Worker(q9)});var Vv=Yn(js);if("function"!=typeof Vv.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new xf(Vv),this.worker.postMessage({cmd:"register",algorithms:qu}).then(function(z4){return gi.initialized=!0}).catch(console.err)}return v1(pc,[{key:"layout",value:function(Tt){var Yr=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},vi=Yr.layoutOptions,qu=Yr.logging,js=Yr.measureExecutionTime;return Tt?this.worker.postMessage({cmd:"layout",graph:Tt,layoutOptions:void 0===vi?this.defaultLayoutOptions:vi,options:{logging:void 0!==qu&&qu,measureExecutionTime:void 0!==js&&js}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),pc}();bh.default=fa;var xf=function(){function pc(gi){var Tt=this;if(j(this,pc),void 0===gi)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=gi,this.worker.onmessage=function(Yr){setTimeout(function(){Tt.receive(Tt,Yr)},0)}}return v1(pc,[{key:"postMessage",value:function(Tt){var Yr=this.id||0;this.id=Yr+1,Tt.id=Yr;var vi=this;return new Promise(function(Eu,qu){vi.resolvers[Yr]=function(Rh,js){Rh?(vi.convertGwtStyleError(Rh),qu(Rh)):Eu(js)},vi.worker.postMessage(Tt)})}},{key:"receive",value:function(Tt,Yr){var vi=Yr.data,Eu=Tt.resolvers[vi.id];Eu&&(delete Tt.resolvers[vi.id],vi.error?Eu(vi.error):Eu(null,vi.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Tt){if(Tt){var Yr=Tt.__java$exception;Yr&&(Yr.cause&&Yr.cause.backingJsObject&&(Tt.cause=Yr.cause.backingJsObject,this.convertGwtStyleError(Tt.cause)),delete Tt.__java$exception)}}}]),pc}()},{}],2:[function(dh,zc,bh){(function(v1){(function(){"use strict";var j;function Yr(){}function vi(){}function Eu(){}function qu(){}function Rh(){}function js(){}function Yn(){}function Vv(){}function z4(){}function q9(){}function $I(){}function FI(){}function LI(){}function NI(){}function xI(){}function BI(){}function hj(){}function _I(){}function lj(){}function RI(){}function W4(){}function uq(){}function KI(){}function HI(){}function Se(){}function wt(){}function F(){}function yr(){}function mt(){}function ri(){}function Bf(){}function Kt(){}function ha(){}function Vi(){}function go(){}function Mi(){}function pd(){}function Gu(){}function lt(){}function Es(){}function sf(){}function md(){}function la(){}function fu(){}function kd(){}function Iw(){}function Ko(){}function rl(){}function Qv(){}function _f(){}function Rf(){}function X4(){}function aj(){}function Ho(){}function h2(){}function l2(){}function mln(){}function kln(){}function qI(){}function yln(){}function jln(){}function Eln(){}function Tln(){}function Cln(){}function Mln(){}function Sln(){}function Aln(){}function Pln(){}function Iln(){}function Oln(){}function Dln(){}function $ln(){}function Fln(){}function Lln(){}function Nln(){}function xln(){}function Bln(){}function _ln(){}function Rln(){}function Kln(){}function Hln(){}function qln(){}function Gln(){}function Uln(){}function zln(){}function Wln(){}function Xln(){}function Vln(){}function Qln(){}function Jln(){}function Yln(){}function Zln(){}function sq(){}function nan(){}function ean(){}function tan(){}function ran(){}function GI(){}function UI(){}function dj(){}function ian(){}function can(){}function zI(){}function uan(){}function san(){}function oan(){}function bj(){}function fan(){}function han(){}function lan(){}function aan(){}function dan(){}function ban(){}function wan(){}function gan(){}function van(){}function oq(){}function pan(){}function man(){}function kan(){}function yan(){}function jan(){}function fq(){}function Ean(){}function Tan(){}function Can(){}function Man(){}function San(){}function Aan(){}function Pan(){}function Ian(){}function Oan(){}function Dan(){}function $an(){}function Fan(){}function Lan(){}function Nan(){}function WI(){}function xan(){}function Ban(){}function _an(){}function Ran(){}function Kan(){}function hq(){}function Han(){}function qan(){}function Gan(){}function Uan(){}function zan(){}function Wan(){}function Xan(){}function Van(){}function Qan(){}function Jan(){}function Yan(){}function Zan(){}function ndn(){}function edn(){}function tdn(){}function rdn(){}function idn(){}function cdn(){}function udn(){}function sdn(){}function odn(){}function fdn(){}function hdn(){}function ldn(){}function adn(){}function ddn(){}function bdn(){}function wdn(){}function gdn(){}function vdn(){}function pdn(){}function mdn(){}function kdn(){}function ydn(){}function jdn(){}function Edn(){}function Tdn(){}function Cdn(){}function Mdn(){}function Sdn(){}function Adn(){}function Pdn(){}function Idn(){}function Odn(){}function Ddn(){}function $dn(){}function Fdn(){}function Ldn(){}function Ndn(){}function xdn(){}function Bdn(){}function _dn(){}function Rdn(){}function Kdn(){}function Hdn(){}function qdn(){}function Gdn(){}function Udn(){}function zdn(){}function Wdn(){}function Xdn(){}function Vdn(){}function Qdn(){}function Jdn(){}function Ydn(){}function Zdn(){}function n0n(){}function e0n(){}function t0n(){}function r0n(){}function i0n(){}function c0n(){}function u0n(){}function s0n(){}function o0n(){}function f0n(){}function h0n(){}function l0n(){}function a0n(){}function d0n(){}function b0n(){}function w0n(){}function g0n(){}function v0n(){}function p0n(){}function m0n(){}function k0n(){}function y0n(){}function j0n(){}function E0n(){}function T0n(){}function C0n(){}function M0n(){}function S0n(){}function A0n(){}function P0n(){}function I0n(){}function O0n(){}function D0n(){}function $0n(){}function lq(){}function F0n(){}function L0n(){}function N0n(){}function x0n(){}function B0n(){}function _0n(){}function R0n(){}function K0n(){}function H0n(){}function q0n(){}function G0n(){}function U0n(){}function z0n(){}function W0n(){}function X0n(){}function V0n(){}function Q0n(){}function J0n(){}function Y0n(){}function Z0n(){}function nbn(){}function ebn(){}function tbn(){}function rbn(){}function ibn(){}function cbn(){}function ubn(){}function sbn(){}function obn(){}function fbn(){}function hbn(){}function lbn(){}function abn(){}function dbn(){}function bbn(){}function wbn(){}function gbn(){}function vbn(){}function pbn(){}function mbn(){}function kbn(){}function ybn(){}function jbn(){}function Ebn(){}function Tbn(){}function Cbn(){}function Mbn(){}function Sbn(){}function Abn(){}function Pbn(){}function Ibn(){}function Obn(){}function Dbn(){}function $bn(){}function Fbn(){}function Lbn(){}function Nbn(){}function xbn(){}function Bbn(){}function _bn(){}function Rbn(){}function Kbn(){}function Hbn(){}function qbn(){}function Gbn(){}function Ubn(){}function zbn(){}function aq(){}function Wbn(){}function Xbn(){}function Vbn(){}function Qbn(){}function Jbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function rwn(){}function iwn(){}function cwn(){}function uwn(){}function swn(){}function own(){}function fwn(){}function hwn(){}function lwn(){}function awn(){}function dq(){}function dwn(){}function bwn(){}function wwn(){}function gwn(){}function vwn(){}function pwn(){}function bq(){}function wq(){}function mwn(){}function gq(){}function vq(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Twn(){}function Cwn(){}function Mwn(){}function Swn(){}function Awn(){}function pq(){}function Pwn(){}function Iwn(){}function Own(){}function Dwn(){}function $wn(){}function Fwn(){}function Lwn(){}function Nwn(){}function xwn(){}function Bwn(){}function _wn(){}function Rwn(){}function Kwn(){}function Hwn(){}function qwn(){}function Gwn(){}function Uwn(){}function zwn(){}function Wwn(){}function Xwn(){}function Vwn(){}function Qwn(){}function Jwn(){}function Ywn(){}function Zwn(){}function ngn(){}function egn(){}function tgn(){}function rgn(){}function ign(){}function cgn(){}function ugn(){}function sgn(){}function ogn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function vgn(){}function pgn(){}function mgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Tgn(){}function Cgn(){}function Mgn(){}function Sgn(){}function Agn(){}function Pgn(){}function Ign(){}function Ogn(){}function Dgn(){}function $gn(){}function Fgn(){}function Lgn(){}function Ngn(){}function xgn(){}function Bgn(){}function _gn(){}function Rgn(){}function Kgn(){}function Hgn(){}function XI(){}function VI(){}function QI(){}function qgn(){}function Ggn(){}function Ugn(){}function zgn(){}function Wgn(){}function mq(){}function Xgn(){}function Vgn(){}function Qgn(){}function Jgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function t2n(){}function r2n(){}function aa(){}function i2n(){}function a2(){}function kq(){}function c2n(){}function u2n(){}function s2n(){}function o2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function v2n(){}function p2n(){}function m2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function T2n(){}function C2n(){}function dn(){}function M2n(){}function S2n(){}function A2n(){}function P2n(){}function I2n(){}function O2n(){}function D2n(){}function $2n(){}function F2n(){}function L2n(){}function JI(){}function N2n(){}function x2n(){}function B2n(){}function _2n(){}function R2n(){}function yq(){}function wj(){}function gj(){}function K2n(){}function jq(){}function vj(){}function H2n(){}function q2n(){}function G2n(){}function U2n(){}function z2n(){}function W2n(){}function pj(){}function X2n(){}function V2n(){}function Q2n(){}function mj(){}function J2n(){}function Eq(){}function Y2n(){}function YI(){}function Tq(){}function Z2n(){}function nvn(){}function evn(){}function tvn(){}function rvn(){}function ivn(){}function cvn(){}function uvn(){}function svn(){}function ovn(){}function fvn(){}function hvn(){}function lvn(){}function avn(){}function dvn(){}function Jv(){}function ZI(){}function bvn(){}function wvn(){}function gvn(){}function vvn(){}function pvn(){}function mvn(){}function kvn(){}function yvn(){}function jvn(){}function Evn(){}function Tvn(){}function Cvn(){}function Mvn(){}function Svn(){}function Avn(){}function Pvn(){}function Ivn(){}function Ovn(){}function Dvn(){}function $vn(){}function Fvn(){}function Lvn(){}function Nvn(){}function xvn(){}function Bvn(){}function _vn(){}function Rvn(){}function Kvn(){}function Hvn(){}function qvn(){}function Gvn(){}function Uvn(){}function zvn(){}function Wvn(){}function Xvn(){}function Vvn(){}function Qvn(){}function Jvn(){}function Yvn(){}function Zvn(){}function npn(){}function epn(){}function tpn(){}function rpn(){}function ipn(){}function cpn(){}function upn(){}function spn(){}function opn(){}function fpn(){}function hpn(){}function lpn(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function vpn(){}function ppn(){}function mpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Tpn(){}function Cpn(){}function Mpn(){}function Spn(){}function Apn(){}function Ppn(){}function Ipn(){}function Opn(){}function Dpn(){}function $pn(){}function Fpn(){}function Lpn(){}function Npn(){}function xpn(){}function Bpn(){}function _pn(){}function Rpn(){}function Kpn(){}function Hpn(){}function qpn(){}function Gpn(){}function Upn(){}function zpn(){}function Wpn(){}function Xpn(){}function Vpn(){}function Qpn(){}function Jpn(){}function Ypn(){}function Zpn(){}function n3n(){}function e3n(){}function t3n(){}function r3n(){}function i3n(){}function c3n(){}function u3n(){}function Cq(){}function s3n(){}function o3n(){}function nO(){e5()}function f3n(){zF()}function h3n(){A6()}function l3n(){bM()}function a3n(){TY()}function d3n(){Zo()}function b3n(){LJ()}function w3n(){q7()}function g3n(){o8()}function v3n(){s8()}function p3n(){F8()}function m3n(){y7n()}function k3n(){X2()}function y3n(){Vj()}function j3n(){DAn()}function E3n(){UIn()}function T3n(){hPn()}function C3n(){SMn()}function M3n(){o3()}function S3n(){Ol()}function A3n(){zIn()}function P3n(){kSn()}function I3n(){vnn()}function O3n(){$Fn()}function D3n(){AMn()}function $3n(){nn()}function F3n(){MMn()}function L3n(){WIn()}function N3n(){QOn()}function x3n(){IMn()}function B3n(){wPn()}function _3n(){j7n()}function R3n(){cZ()}function K3n(){Ob()}function H3n(){kOn()}function q3n(){W7()}function G3n(){yN()}function U3n(){AL()}function z3n(){w0()}function W3n(){eQ()}function X3n(){PMn()}function V3n(){KBn()}function Q3n(){tZ()}function J3n(){dN()}function Y3n(){ZT()}function Z3n(){yM()}function Mq(){We()}function n4n(){NC()}function e4n(){fJ()}function Sq(){RM()}function qo(){gEn()}function Aq(){IF()}function t4n(){qZ()}function Pq(n){_n(n)}function r4n(n){this.a=n}function kj(n){this.a=n}function i4n(n){this.a=n}function c4n(n){this.a=n}function u4n(n){this.a=n}function s4n(n){this.a=n}function o4n(n){this.a=n}function f4n(n){this.a=n}function Iq(n){this.a=n}function Oq(n){this.a=n}function h4n(n){this.a=n}function eO(n){this.a=n}function l4n(n){this.a=n}function tO(n){this.a=n}function a4n(n){this.a=n}function rO(n){this.a=n}function d4n(n){this.a=n}function iO(n){this.a=n}function b4n(n){this.a=n}function w4n(n){this.a=n}function g4n(n){this.a=n}function Dq(n){this.b=n}function v4n(n){this.c=n}function p4n(n){this.a=n}function m4n(n){this.a=n}function k4n(n){this.a=n}function y4n(n){this.a=n}function j4n(n){this.a=n}function E4n(n){this.a=n}function T4n(n){this.a=n}function C4n(n){this.a=n}function M4n(n){this.a=n}function S4n(n){this.a=n}function A4n(n){this.a=n}function P4n(n){this.a=n}function I4n(n){this.a=n}function $q(n){this.a=n}function Fq(n){this.a=n}function yj(n){this.a=n}function G9(n){this.a=n}function da(){this.a=[]}function O4n(n,e){n.a=e}function Lq(n,e){n.j=e}function nte(n,e){n.c=e}function ete(n,e){n.d=e}function ba(n,e){n.k=e}function Nq(n,e){n.c=e}function xq(n,e){n.a=e}function cte(n,e){n.a=e}function ute(n,e){n.f=e}function ste(n,e){n.a=e}function ote(n,e){n.b=e}function cO(n,e){n.d=e}function jj(n,e){n.i=e}function Bq(n,e){n.o=e}function D4n(n,e){n.e=e}function _q(n,e){n.g=e}function dte(n,e){n.e=e}function bte(n,e){n.f=e}function wte(n,e){n.f=e}function gte(n,e){n.n=e}function $4n(n){n.b=n.a}function F4n(n){n.c=n.d.d}function V4(n){this.d=n}function wa(n){this.a=n}function Yv(n){this.a=n}function Rq(n){this.a=n}function Kh(n){this.a=n}function U9(n){this.a=n}function L4n(n){this.a=n}function Kq(n){this.a=n}function z9(n){this.a=n}function Hq(n){this.a=n}function qq(n){this.a=n}function Gq(n){this.a=n}function J0(n){this.a=n}function W9(n){this.a=n}function X9(n){this.a=n}function Uq(n){this.b=n}function Zv(n){this.b=n}function np(n){this.b=n}function uO(n){this.a=n}function N4n(n){this.a=n}function zq(n){this.a=n}function sO(n){this.c=n}function E(n){this.c=n}function x4n(n){this.c=n}function Wq(n){this.a=n}function Xq(n){this.a=n}function Vq(n){this.a=n}function Qq(n){this.a=n}function ct(n){this.a=n}function B4n(n){this.a=n}function Jq(n){this.a=n}function Yq(n){this.a=n}function _4n(n){this.a=n}function R4n(n){this.a=n}function Q4(n){this.a=n}function K4n(n){this.a=n}function H4n(n){this.a=n}function q4n(n){this.a=n}function G4n(n){this.a=n}function U4n(n){this.a=n}function z4n(n){this.a=n}function W4n(n){this.a=n}function X4n(n){this.a=n}function V4n(n){this.a=n}function Q4n(n){this.a=n}function J4n(n){this.a=n}function Y4n(n){this.a=n}function Z4n(n){this.a=n}function n5n(n){this.a=n}function e5n(n){this.a=n}function t5n(n){this.a=n}function r5n(n){this.a=n}function V9(n){this.a=n}function i5n(n){this.a=n}function c5n(n){this.a=n}function Ej(n){this.a=n}function u5n(n){this.a=n}function s5n(n){this.a=n}function ep(n){this.a=n}function Zq(n){this.a=n}function o5n(n){this.a=n}function f5n(n){this.a=n}function h5n(n){this.a=n}function l5n(n){this.a=n}function a5n(n){this.a=n}function nG(n){this.a=n}function eG(n){this.a=n}function tG(n){this.a=n}function Tj(n){this.a=n}function Cj(n){this.e=n}function tp(n){this.a=n}function d5n(n){this.a=n}function d2(n){this.a=n}function rG(n){this.a=n}function b5n(n){this.a=n}function w5n(n){this.a=n}function g5n(n){this.a=n}function v5n(n){this.a=n}function p5n(n){this.a=n}function m5n(n){this.a=n}function k5n(n){this.a=n}function y5n(n){this.a=n}function j5n(n){this.a=n}function E5n(n){this.a=n}function T5n(n){this.a=n}function iG(n){this.a=n}function C5n(n){this.a=n}function M5n(n){this.a=n}function S5n(n){this.a=n}function A5n(n){this.a=n}function P5n(n){this.a=n}function I5n(n){this.a=n}function O5n(n){this.a=n}function D5n(n){this.a=n}function $5n(n){this.a=n}function F5n(n){this.a=n}function L5n(n){this.a=n}function N5n(n){this.a=n}function x5n(n){this.a=n}function B5n(n){this.a=n}function _5n(n){this.a=n}function R5n(n){this.a=n}function K5n(n){this.a=n}function H5n(n){this.a=n}function q5n(n){this.a=n}function G5n(n){this.a=n}function U5n(n){this.a=n}function z5n(n){this.a=n}function W5n(n){this.a=n}function X5n(n){this.a=n}function V5n(n){this.a=n}function Q5n(n){this.a=n}function J5n(n){this.a=n}function Y5n(n){this.a=n}function Z5n(n){this.a=n}function n6n(n){this.a=n}function e6n(n){this.a=n}function t6n(n){this.a=n}function r6n(n){this.a=n}function i6n(n){this.a=n}function c6n(n){this.a=n}function u6n(n){this.a=n}function s6n(n){this.a=n}function o6n(n){this.c=n}function f6n(n){this.b=n}function h6n(n){this.a=n}function l6n(n){this.a=n}function a6n(n){this.a=n}function d6n(n){this.a=n}function b6n(n){this.a=n}function w6n(n){this.a=n}function g6n(n){this.a=n}function v6n(n){this.a=n}function p6n(n){this.a=n}function m6n(n){this.a=n}function k6n(n){this.a=n}function y6n(n){this.a=n}function j6n(n){this.a=n}function E6n(n){this.a=n}function T6n(n){this.a=n}function C6n(n){this.a=n}function M6n(n){this.a=n}function S6n(n){this.a=n}function A6n(n){this.a=n}function P6n(n){this.a=n}function I6n(n){this.a=n}function O6n(n){this.a=n}function D6n(n){this.a=n}function $6n(n){this.a=n}function il(n){this.a=n}function b2(n){this.a=n}function F6n(n){this.a=n}function L6n(n){this.a=n}function N6n(n){this.a=n}function x6n(n){this.a=n}function B6n(n){this.a=n}function _6n(n){this.a=n}function R6n(n){this.a=n}function K6n(n){this.a=n}function H6n(n){this.a=n}function q6n(n){this.a=n}function G6n(n){this.a=n}function U6n(n){this.a=n}function z6n(n){this.a=n}function W6n(n){this.a=n}function X6n(n){this.a=n}function V6n(n){this.a=n}function Mj(n){this.a=n}function Q6n(n){this.a=n}function J6n(n){this.a=n}function Y6n(n){this.a=n}function Z6n(n){this.a=n}function nmn(n){this.a=n}function emn(n){this.a=n}function tmn(n){this.a=n}function rmn(n){this.a=n}function imn(n){this.a=n}function cmn(n){this.a=n}function umn(n){this.a=n}function smn(n){this.a=n}function omn(n){this.a=n}function fmn(n){this.a=n}function hmn(n){this.a=n}function lmn(n){this.a=n}function amn(n){this.a=n}function dmn(n){this.a=n}function bmn(n){this.a=n}function wmn(n){this.a=n}function gmn(n){this.a=n}function vmn(n){this.a=n}function pmn(n){this.a=n}function mmn(n){this.a=n}function kmn(n){this.a=n}function ymn(n){this.a=n}function jmn(n){this.a=n}function Emn(n){this.a=n}function cG(n){this.a=n}function at(n){this.b=n}function Tmn(n){this.f=n}function uG(n){this.a=n}function Cmn(n){this.a=n}function Mmn(n){this.a=n}function Smn(n){this.a=n}function Amn(n){this.a=n}function Pmn(n){this.a=n}function Imn(n){this.a=n}function Omn(n){this.a=n}function Dmn(n){this.a=n}function Q9(n){this.a=n}function $mn(n){this.a=n}function Fmn(n){this.b=n}function sG(n){this.c=n}function Sj(n){this.e=n}function Lmn(n){this.a=n}function Aj(n){this.a=n}function Pj(n){this.a=n}function oO(n){this.a=n}function Nmn(n){this.a=n}function xmn(n){this.d=n}function oG(n){this.a=n}function fG(n){this.a=n}function yd(n){this.e=n}function J9(){this.a=0}function Ow(){gyn(this)}function X(){bD(this)}function we(){Cu(this)}function fO(){kCn(this)}function Bmn(){}function jd(){this.c=H1n}function _mn(n,e){n.b+=e}function Rmn(n){n.b=new MO}function C(n){return n.e}function Fte(n){return n.a}function Lte(n){return n.a}function Nte(n){return n.a}function xte(n){return n.a}function Bte(n){return n.a}function _te(){return null}function Rte(){return null}function J4(n,e){n.b=e-n.b}function Y4(n,e){n.a=e-n.a}function Kmn(n,e){e.ad(n.a)}function Y9(n,e){n.e=e,e.b=n}function hG(n){zf(),this.a=n}function Hmn(n){zf(),this.a=n}function qmn(n){zf(),this.a=n}function lG(n){wb(),this.a=n}function Gmn(n){$p(),K_.be(n)}function ga(){Zyn.call(this)}function aG(){Zyn.call(this)}function dG(){ga.call(this)}function hO(){ga.call(this)}function Umn(){ga.call(this)}function Z9(){ga.call(this)}function hu(){ga.call(this)}function Z4(){ga.call(this)}function ye(){ga.call(this)}function Ts(){ga.call(this)}function zmn(){ga.call(this)}function ic(){ga.call(this)}function Wmn(){ga.call(this)}function Xmn(){this.a=this}function Ij(){this.Bb|=256}function Vmn(){this.b=new Jkn}function bG(){bG=F,new we}function wG(){dG.call(this)}function Qmn(n,e){n.length=e}function Oj(n,e){W(n.a,e)}function rp(n,e){nt(n.e,e)}function w2(n){TM(n.c,n.b)}function gG(n){this.a=function Wge(n){var e;return(e=Lb(n))>34028234663852886e22?Ft:e<-34028234663852886e22?Wt:e}(n)}function sr(){this.a=new we}function Jmn(){this.a=new we}function Dj(){this.a=new X}function lO(){this.a=new X}function vG(){this.a=new X}function qs(){this.a=new Dln}function va(){this.a=new AAn}function pG(){this.a=new oq}function mG(){this.a=new d7n}function Ymn(){this.a=new eSn}function kG(){this.a=new vMn}function yG(){this.a=new Kjn}function Zmn(){this.a=new X}function jG(){this.a=new X}function n9n(){this.a=new X}function e9n(){this.a=new X}function t9n(){this.d=new X}function r9n(){this.a=new sr}function i9n(){this.a=new we}function c9n(){this.b=new we}function u9n(){this.b=new X}function EG(){this.e=new X}function s9n(){this.d=new X}function o9n(){this.a=new S3n}function f9n(){X.call(this)}function TG(){Dj.call(this)}function h9n(){KE.call(this)}function l9n(){jG.call(this)}function aO(){n5.call(this)}function n5(){Bmn.call(this)}function g2(){Bmn.call(this)}function CG(){g2.call(this)}function a9n(){XCn.call(this)}function d9n(){XCn.call(this)}function b9n(){DG.call(this)}function w9n(){DG.call(this)}function g9n(){DG.call(this)}function v9n(){$G.call(this)}function lu(){Ct.call(this)}function MG(){R2n.call(this)}function SG(){R2n.call(this)}function p9n(){F9n.call(this)}function m9n(){F9n.call(this)}function k9n(){we.call(this)}function y9n(){we.call(this)}function j9n(){we.call(this)}function E9n(){sr.call(this)}function dO(){HIn.call(this)}function T9n(){Ij.call(this)}function bO(){rz.call(this)}function wO(){rz.call(this)}function AG(){we.call(this)}function gO(){we.call(this)}function C9n(){we.call(this)}function PG(){mj.call(this)}function M9n(){mj.call(this)}function S9n(){PG.call(this)}function A9n(){Cq.call(this)}function P9n(n){dIn.call(this,n)}function I9n(n){dIn.call(this,n)}function IG(n){Iq.call(this,n)}function OG(n){r7n.call(this,n)}function Qte(n){OG.call(this,n)}function Jte(n){r7n.call(this,n)}function ip(){this.a=new Ct}function DG(){this.a=new sr}function $G(){this.a=new we}function O9n(){this.a=new X}function D9n(){this.j=new X}function FG(){this.a=new Rgn}function $9n(){this.a=new A8n}function F9n(){this.a=new Q2n}function vO(){vO=F,L_=new Y9n}function pO(){pO=F,F_=new J9n}function e5(){e5=F,$_=new vi}function $j(){$j=F,B_=new Jyn}function Yte(n){OG.call(this,n)}function Zte(n){OG.call(this,n)}function L9n(n){X$.call(this,n)}function N9n(n){X$.call(this,n)}function x9n(n){fEn.call(this,n)}function mO(n){m5e.call(this,n)}function Ed(n){eb.call(this,n)}function t5(n){Uj.call(this,n)}function LG(n){Uj.call(this,n)}function B9n(n){Uj.call(this,n)}function Ri(n){ETn.call(this,n)}function _9n(n){Ri.call(this,n)}function v2(){G9.call(this,{})}function Fj(n){pp(),this.a=n}function r5(n){n.b=null,n.c=0}function ere(n,e){n.a=e,function c6e(n){var e,t,r;for(function l9e(n){var e,t,r;for(t=new E(n.a.a.b);t.a0&&(!(al(n.a.c)&&e.n.d)&&!(vp(n.a.c)&&e.n.b)&&(e.g.d-=j.Math.max(0,r/2-.5)),(!al(n.a.c)||!e.n.a)&&(!vp(n.a.c)||!e.n.c)&&(e.g.a+=j.Math.max(0,r-1)))}(n),r=new X,t=new E(n.a.a.b);t.a0&&(!(al(n.a.c)&&e.n.d)&&!(vp(n.a.c)&&e.n.b)&&(e.g.d+=j.Math.max(0,r/2-.5)),(!al(n.a.c)||!e.n.a)&&(!vp(n.a.c)||!e.n.c)&&(e.g.a-=r-1))}(n)}(n)}function kO(n,e,t){n.a[e.g]=t}function tre(n,e,t){!function y3e(n,e,t){var r,i;for(SE(n,n.j+e,n.k+t),i=new re((!n.a&&(n.a=new Vt(fo,n,5)),n.a));i.e!=i.i.gc();)UU(r=u(oe(i),469),r.a+e,r.b+t);ME(n,n.b+e,n.c+t)}(t,n,e)}function rre(n,e){!function Aue(n,e){al(n.f)?function Ume(n,e){var t,r,i,c,o;for(c=n.g.a,o=n.g.b,r=new E(n.d);r.a=e.length)return{done:!0};var i=e[r++];return{value:[i,t.get(i)],done:!1}}}},function j7e(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",e=Object.create(null);return void 0===e[n]&&!(0!=Object.getOwnPropertyNames(e).length||(e[n]=42,42!==e[n])||0==Object.getOwnPropertyNames(e).length)}()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(e){return this.obj[":"+e]},n.prototype.set=function(e,t){this.obj[":"+e]=t},n.prototype[Ix]=function(e){delete this.obj[":"+e]},n.prototype.keys=function(){var e=[];for(var t in this.obj)58==t.charCodeAt(0)&&e.push(t.substring(1));return e}),n}()}()}function n8n(n){return n.a?n.b:0}function wre(n){return n.a?n.b:0}function Bj(n,e){return mV(n,e)}function M(n,e){return kMn(n,e)}function e8n(n,e){return n.f=e,n}function t8n(n,e){return n.c=e,n}function HG(n,e){return n.a=e,n}function qG(n,e){return n.f=e,n}function jre(n,e){return n.k=e,n}function GG(n,e){return n.a=e,n}function UG(n,e){return n.e=e,n}function Cre(n,e){n.b=!0,n.d=e}function r8n(n,e){return n?0:e-1}function Td(n,e){return n.b=e,n}function _j(n,e){return n.a=e,n}function Cd(n,e){return n.c=e,n}function Md(n,e){return n.d=e,n}function Sd(n,e){return n.e=e,n}function zG(n,e){return n.f=e,n}function o5(n,e){return n.a=e,n}function sp(n,e){return n.b=e,n}function op(n,e){return n.c=e,n}function gn(n,e){return n.c=e,n}function On(n,e){return n.b=e,n}function vn(n,e){return n.d=e,n}function pn(n,e){return n.e=e,n}function mn(n,e){return n.g=e,n}function kn(n,e){return n.a=e,n}function yn(n,e){return n.i=e,n}function jn(n,e){return n.j=e,n}function i8n(n,e){return n.k=e,n}function Bre(n,e,t){!function Dfe(n,e,t){return tr(n,new j2(e.a,t.a))}(n.a,e,t)}function c8n(n){jCn.call(this,n)}function WG(n){jCn.call(this,n)}function Rj(n){LD.call(this,n)}function u8n(n){e2e.call(this,n)}function ul(n){Yd.call(this,n)}function s8n(n){E$.call(this,n)}function o8n(n){E$.call(this,n)}function f8n(){YU.call(this,"")}function $r(){this.a=0,this.b=0}function h8n(){this.b=0,this.a=0}function l8n(n,e){n.b=0,Cb(n,e)}function a8n(n,e){return n.c._b(e)}function Go(n){return n.e&&n.e()}function PO(n){return n?n.d:null}function d8n(n,e){return _Dn(n.b,e)}function sl(n){return Gh(n),n.o}function Ad(){Ad=F,One=function c3e(){var n,e;RM();try{if(e=u(eY((fl(),ao),Z3),2014))return e}catch(t){if(!I(t=jt(t),102))throw C(t);n=t,HW((je(),n))}return new K2n}()}function b8n(){b8n=F,gr=function v4e(){var n;return Rne?u(S3((fl(),ao),Z3),2016):(n=u(I(kc((fl(),ao),Z3),555)?kc(ao,Z3):new YNn,555),Rne=!0,function yEe(n){n.q||(n.q=!0,n.p=Zi(n,0),n.a=Zi(n,1),dt(n.a,0),n.f=Zi(n,2),dt(n.f,1),Pt(n.f,2),n.n=Zi(n,3),Pt(n.n,3),Pt(n.n,4),Pt(n.n,5),Pt(n.n,6),n.g=Zi(n,4),dt(n.g,7),Pt(n.g,8),n.c=Zi(n,5),dt(n.c,7),dt(n.c,8),n.i=Zi(n,6),dt(n.i,9),dt(n.i,10),dt(n.i,11),dt(n.i,12),Pt(n.i,13),n.j=Zi(n,7),dt(n.j,9),n.d=Zi(n,8),dt(n.d,3),dt(n.d,4),dt(n.d,5),dt(n.d,6),Pt(n.d,7),Pt(n.d,8),Pt(n.d,9),Pt(n.d,10),n.b=Zi(n,9),Pt(n.b,0),Pt(n.b,1),n.e=Zi(n,10),Pt(n.e,1),Pt(n.e,2),Pt(n.e,3),Pt(n.e,4),dt(n.e,5),dt(n.e,6),dt(n.e,7),dt(n.e,8),dt(n.e,9),dt(n.e,10),Pt(n.e,11),n.k=Zi(n,11),Pt(n.k,0),Pt(n.k,1),n.o=Ue(n,12),n.s=Ue(n,13))}(n),function PCe(n){var l,a,d,g,v,p,m;n.r||(n.r=!0,Dc(n,"graph"),CC(n,"graph"),MC(n,Z3),k7(n.o,"T"),me(Si(n.a),n.p),me(Si(n.f),n.a),me(Si(n.n),n.f),me(Si(n.g),n.n),me(Si(n.c),n.n),me(Si(n.i),n.c),me(Si(n.j),n.c),me(Si(n.d),n.f),me(Si(n.e),n.a),Yi(n.p,UCe,LKn,!0,!0,!1),m=GOn(p=ng(n.p,n.p,"setProperty")),l=zh(n.o),a=new jd,me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),iY(a,d=y$(m)),gM(p,l,irn),gM(p,l=y$(m),mm),m=GOn(p=ng(n.p,null,"getProperty")),l=zh(n.o),a=y$(m),me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),gM(p,l,irn),(v=jf(p,l=y$(m),null))&&v.Fi(),p=ng(n.p,n.wb.e,"hasProperty"),l=zh(n.o),a=new jd,me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),gM(p,l,irn),Ti(p=ng(n.p,n.p,"copyProperties"),n.p,i_),p=ng(n.p,null,"getAllProperties"),l=zh(n.wb.P),a=zh(n.o),me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),d=new jd,me((!a.d&&(a.d=new Vt(hi,a,1)),a.d),d),a=zh(n.wb.M),me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),(g=jf(p,l,null))&&g.Fi(),Yi(n.a,R4,dqn,!0,!1,!0),bt(u(O(_(n.a),0),18),n.k,null,Cqn,0,-1,R4,!1,!1,!0,!0,!1,!1,!1),Yi(n.f,Vy,wqn,!0,!1,!0),bt(u(O(_(n.f),0),18),n.g,u(O(_(n.g),0),18),"labels",0,-1,Vy,!1,!1,!0,!0,!1,!1,!1),_t(u(O(_(n.f),1),34),n.wb._,Mqn,null,0,1,Vy,!1,!1,!0,!1,!0,!1),Yi(n.n,Qy,"ElkShape",!0,!1,!0),_t(u(O(_(n.n),0),34),n.wb.t,c_,K3,1,1,Qy,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.n),1),34),n.wb.t,u_,K3,1,1,Qy,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.n),2),34),n.wb.t,"x",K3,1,1,Qy,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.n),3),34),n.wb.t,"y",K3,1,1,Qy,!1,!1,!0,!1,!0,!1),Ti(p=ng(n.n,null,"setDimensions"),n.wb.t,u_),Ti(p,n.wb.t,c_),Ti(p=ng(n.n,null,"setLocation"),n.wb.t,"x"),Ti(p,n.wb.t,"y"),Yi(n.g,_i,ern,!1,!1,!0),bt(u(O(_(n.g),0),18),n.f,u(O(_(n.f),0),18),s_,0,1,_i,!1,!1,!0,!1,!1,!1,!1),_t(u(O(_(n.g),1),34),n.wb._,o_,"",0,1,_i,!1,!1,!0,!1,!0,!1),Yi(n.c,he,gqn,!0,!1,!0),bt(u(O(_(n.c),0),18),n.d,u(O(_(n.d),1),18),"outgoingEdges",0,-1,he,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.c),1),18),n.d,u(O(_(n.d),2),18),"incomingEdges",0,-1,he,!1,!1,!0,!1,!0,!1,!1),Yi(n.i,It,trn,!1,!1,!0),bt(u(O(_(n.i),0),18),n.j,u(O(_(n.j),0),18),"ports",0,-1,It,!1,!1,!0,!0,!1,!1,!1),bt(u(O(_(n.i),1),18),n.i,u(O(_(n.i),2),18),f_,0,-1,It,!1,!1,!0,!0,!1,!1,!1),bt(u(O(_(n.i),2),18),n.i,u(O(_(n.i),1),18),s_,0,1,It,!1,!1,!0,!1,!1,!1,!1),bt(u(O(_(n.i),3),18),n.d,u(O(_(n.d),0),18),"containedEdges",0,-1,It,!1,!1,!0,!0,!1,!1,!1),_t(u(O(_(n.i),4),34),n.wb.e,Sqn,null,0,1,It,!0,!0,!1,!1,!0,!0),Yi(n.j,Ku,rrn,!1,!1,!0),bt(u(O(_(n.j),0),18),n.i,u(O(_(n.i),0),18),s_,0,1,Ku,!1,!1,!0,!1,!1,!1,!1),Yi(n.d,lr,nrn,!1,!1,!0),bt(u(O(_(n.d),0),18),n.i,u(O(_(n.i),3),18),"containingNode",0,1,lr,!1,!1,!0,!1,!1,!1,!1),bt(u(O(_(n.d),1),18),n.c,u(O(_(n.c),0),18),crn,0,-1,lr,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.d),2),18),n.c,u(O(_(n.c),1),18),h_,0,-1,lr,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.d),3),18),n.e,u(O(_(n.e),5),18),urn,0,-1,lr,!1,!1,!0,!0,!1,!1,!1),_t(u(O(_(n.d),4),34),n.wb.e,"hyperedge",null,0,1,lr,!0,!0,!1,!1,!0,!0),_t(u(O(_(n.d),5),34),n.wb.e,Sqn,null,0,1,lr,!0,!0,!1,!1,!0,!0),_t(u(O(_(n.d),6),34),n.wb.e,"selfloop",null,0,1,lr,!0,!0,!1,!1,!0,!0),_t(u(O(_(n.d),7),34),n.wb.e,"connected",null,0,1,lr,!0,!0,!1,!1,!0,!0),Yi(n.b,fo,bqn,!1,!1,!0),_t(u(O(_(n.b),0),34),n.wb.t,"x",K3,1,1,fo,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.b),1),34),n.wb.t,"y",K3,1,1,fo,!1,!1,!0,!1,!0,!1),Ti(p=ng(n.b,null,"set"),n.wb.t,"x"),Ti(p,n.wb.t,"y"),Yi(n.e,Mt,vqn,!1,!1,!0),_t(u(O(_(n.e),0),34),n.wb.t,"startX",null,0,1,Mt,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.e),1),34),n.wb.t,"startY",null,0,1,Mt,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.e),2),34),n.wb.t,"endX",null,0,1,Mt,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.e),3),34),n.wb.t,"endY",null,0,1,Mt,!1,!1,!0,!1,!0,!1),bt(u(O(_(n.e),4),18),n.b,null,BS,0,-1,Mt,!1,!1,!0,!0,!1,!1,!1),bt(u(O(_(n.e),5),18),n.d,u(O(_(n.d),3),18),s_,0,1,Mt,!1,!1,!0,!1,!1,!1,!1),bt(u(O(_(n.e),6),18),n.c,null,srn,0,1,Mt,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.e),7),18),n.c,null,orn,0,1,Mt,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.e),8),18),n.e,u(O(_(n.e),9),18),frn,0,-1,Mt,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.e),9),18),n.e,u(O(_(n.e),8),18),hrn,0,-1,Mt,!1,!1,!0,!1,!0,!1,!1),_t(u(O(_(n.e),10),34),n.wb._,Mqn,null,0,1,Mt,!1,!1,!0,!1,!0,!1),Ti(p=ng(n.e,null,"setStartLocation"),n.wb.t,"x"),Ti(p,n.wb.t,"y"),Ti(p=ng(n.e,null,"setEndLocation"),n.wb.t,"x"),Ti(p,n.wb.t,"y"),Yi(n.k,ed,"ElkPropertyToValueMapEntry",!1,!1,!1),l=zh(n.o),a=new jd,me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),GNn(u(O(_(n.k),0),34),l,"key",ed,!1,!1,!0,!1),_t(u(O(_(n.k),1),34),n.s,mm,null,0,1,ed,!1,!1,!0,!1,!0,!1),Ge(n.o,pH,"IProperty",!0),Ge(n.s,Zn,"PropertyValue",!0),OQ(n,Z3))}(n),BL(n),ki(ao,Z3,n),n)}()}function fp(){fp=F,K1n=function s3e(){var n,e;RM();try{if(e=u(eY((fl(),ao),eo),1941))return e}catch(t){if(!I(t=jt(t),102))throw C(t);n=t,HW((je(),n))}return new bvn}()}function w8n(){w8n=F,gee=function u3e(){var n,e;LPn();try{if(e=u(eY((fl(),ao),nd),2024))return e}catch(t){if(!I(t=jt(t),102))throw C(t);n=t,HW((je(),n))}return new spn}()}function XG(){XG=F,fc=function t6e(){var n;return $ee?u(S3((fl(),ao),nd),1945):(function gTe(){He(tj,new kpn),He(AI,new Opn),He(rj,new Hpn),He(rln,new Zpn),He(tn,new r3n),He(M(ju,1),new i3n),He(cr,new c3n),He(yv,new u3n),He(tn,new hpn),He(tn,new lpn),He(tn,new apn),He(Cr,new dpn),He(tn,new bpn),He(Bs,new wpn),He(Bs,new gpn),He(tn,new vpn),He(c4,new ppn),He(tn,new mpn),He(tn,new ypn),He(tn,new jpn),He(tn,new Epn),He(tn,new Tpn),He(M(ju,1),new Cpn),He(tn,new Mpn),He(tn,new Spn),He(Bs,new Apn),He(Bs,new Ppn),He(tn,new Ipn),He(qr,new Dpn),He(tn,new $pn),He(A0,new Fpn),He(tn,new Lpn),He(tn,new Npn),He(tn,new xpn),He(tn,new Bpn),He(Bs,new _pn),He(Bs,new Rpn),He(tn,new Kpn),He(tn,new qpn),He(tn,new Gpn),He(tn,new Upn),He(tn,new zpn),He(tn,new Wpn),He(P0,new Xpn),He(tn,new Vpn),He(tn,new Qpn),He(tn,new Jpn),He(P0,new Ypn),He(A0,new n3n),He(tn,new e3n),He(qr,new t3n)}(),n=u(I(kc((fl(),ao),nd),586)?kc(ao,nd):new aCn,586),$ee=!0,function ZTe(n){n.N||(n.N=!0,n.b=Zi(n,0),Pt(n.b,0),Pt(n.b,1),Pt(n.b,2),n.bb=Zi(n,1),Pt(n.bb,0),Pt(n.bb,1),n.fb=Zi(n,2),Pt(n.fb,3),Pt(n.fb,4),dt(n.fb,5),n.qb=Zi(n,3),Pt(n.qb,0),dt(n.qb,1),dt(n.qb,2),Pt(n.qb,3),Pt(n.qb,4),dt(n.qb,5),Pt(n.qb,6),n.a=Ue(n,4),n.c=Ue(n,5),n.d=Ue(n,6),n.e=Ue(n,7),n.f=Ue(n,8),n.g=Ue(n,9),n.i=Ue(n,10),n.j=Ue(n,11),n.k=Ue(n,12),n.n=Ue(n,13),n.o=Ue(n,14),n.p=Ue(n,15),n.q=Ue(n,16),n.s=Ue(n,17),n.r=Ue(n,18),n.t=Ue(n,19),n.u=Ue(n,20),n.v=Ue(n,21),n.w=Ue(n,22),n.B=Ue(n,23),n.A=Ue(n,24),n.C=Ue(n,25),n.D=Ue(n,26),n.F=Ue(n,27),n.G=Ue(n,28),n.H=Ue(n,29),n.J=Ue(n,30),n.I=Ue(n,31),n.K=Ue(n,32),n.M=Ue(n,33),n.L=Ue(n,34),n.P=Ue(n,35),n.Q=Ue(n,36),n.R=Ue(n,37),n.S=Ue(n,38),n.T=Ue(n,39),n.U=Ue(n,40),n.V=Ue(n,41),n.X=Ue(n,42),n.W=Ue(n,43),n.Y=Ue(n,44),n.Z=Ue(n,45),n.$=Ue(n,46),n._=Ue(n,47),n.ab=Ue(n,48),n.cb=Ue(n,49),n.db=Ue(n,50),n.eb=Ue(n,51),n.gb=Ue(n,52),n.hb=Ue(n,53),n.ib=Ue(n,54),n.jb=Ue(n,55),n.kb=Ue(n,56),n.lb=Ue(n,57),n.mb=Ue(n,58),n.nb=Ue(n,59),n.ob=Ue(n,60),n.pb=Ue(n,61))}(n),function SCe(n){var e;n.O||(n.O=!0,Dc(n,"type"),CC(n,"ecore.xml.type"),MC(n,nd),e=u(S3((fl(),ao),nd),1945),me(Si(n.fb),n.b),Yi(n.b,tj,"AnyType",!1,!1,!0),_t(u(O(_(n.b),0),34),n.wb.D,Hk,null,0,-1,tj,!1,!1,!0,!1,!1,!1),_t(u(O(_(n.b),1),34),n.wb.D,"any",null,0,-1,tj,!0,!0,!0,!1,!1,!0),_t(u(O(_(n.b),2),34),n.wb.D,"anyAttribute",null,0,-1,tj,!1,!1,!0,!1,!1,!1),Yi(n.bb,AI,RGn,!1,!1,!0),_t(u(O(_(n.bb),0),34),n.gb,"data",null,0,1,AI,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.bb),1),34),n.gb,drn,null,1,1,AI,!1,!1,!0,!1,!0,!1),Yi(n.fb,rj,KGn,!1,!1,!0),_t(u(O(_(n.fb),0),34),e.gb,"rawValue",null,0,1,rj,!0,!0,!0,!1,!0,!0),_t(u(O(_(n.fb),1),34),e.a,mm,null,0,1,rj,!0,!0,!0,!1,!0,!0),bt(u(O(_(n.fb),2),18),n.wb.q,null,"instanceType",1,1,rj,!1,!1,!0,!1,!1,!1,!1),Yi(n.qb,rln,HGn,!1,!1,!0),_t(u(O(_(n.qb),0),34),n.wb.D,Hk,null,0,-1,null,!1,!1,!0,!1,!1,!1),bt(u(O(_(n.qb),1),18),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),bt(u(O(_(n.qb),2),18),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),_t(u(O(_(n.qb),3),34),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),_t(u(O(_(n.qb),4),34),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),bt(u(O(_(n.qb),5),18),n.bb,null,eUn,0,-2,null,!0,!0,!0,!0,!1,!1,!0),_t(u(O(_(n.qb),6),34),n.gb,o_,null,0,-2,null,!0,!0,!0,!1,!1,!0),Ge(n.a,Zn,"AnySimpleType",!0),Ge(n.c,tn,"AnyURI",!0),Ge(n.d,M(ju,1),"Base64Binary",!0),Ge(n.e,Hu,"Boolean",!0),Ge(n.f,cr,"BooleanObject",!0),Ge(n.g,ju,"Byte",!0),Ge(n.i,yv,"ByteObject",!0),Ge(n.j,tn,"Date",!0),Ge(n.k,tn,"DateTime",!0),Ge(n.n,G_,"Decimal",!0),Ge(n.o,kr,"Double",!0),Ge(n.p,Cr,"DoubleObject",!0),Ge(n.q,tn,"Duration",!0),Ge(n.s,Bs,"ENTITIES",!0),Ge(n.r,Bs,"ENTITIESBase",!0),Ge(n.t,tn,Prn,!0),Ge(n.u,Aw,"Float",!0),Ge(n.v,c4,"FloatObject",!0),Ge(n.w,tn,"GDay",!0),Ge(n.B,tn,"GMonth",!0),Ge(n.A,tn,"GMonthDay",!0),Ge(n.C,tn,"GYear",!0),Ge(n.D,tn,"GYearMonth",!0),Ge(n.F,M(ju,1),"HexBinary",!0),Ge(n.G,tn,"ID",!0),Ge(n.H,tn,"IDREF",!0),Ge(n.J,Bs,"IDREFS",!0),Ge(n.I,Bs,"IDREFSBase",!0),Ge(n.K,be,"Int",!0),Ge(n.M,$g,"Integer",!0),Ge(n.L,qr,"IntObject",!0),Ge(n.P,tn,"Language",!0),Ge(n.Q,oa,"Long",!0),Ge(n.R,A0,"LongObject",!0),Ge(n.S,tn,"Name",!0),Ge(n.T,tn,eA,!0),Ge(n.U,$g,"NegativeInteger",!0),Ge(n.V,tn,Drn,!0),Ge(n.X,Bs,"NMTOKENS",!0),Ge(n.W,Bs,"NMTOKENSBase",!0),Ge(n.Y,$g,"NonNegativeInteger",!0),Ge(n.Z,$g,"NonPositiveInteger",!0),Ge(n.$,tn,"NormalizedString",!0),Ge(n._,tn,"NOTATION",!0),Ge(n.ab,tn,"PositiveInteger",!0),Ge(n.cb,tn,"QName",!0),Ge(n.db,o2,"Short",!0),Ge(n.eb,P0,"ShortObject",!0),Ge(n.gb,tn,ynn,!0),Ge(n.hb,tn,"Time",!0),Ge(n.ib,tn,"Token",!0),Ge(n.jb,o2,"UnsignedByte",!0),Ge(n.kb,P0,"UnsignedByteObject",!0),Ge(n.lb,oa,"UnsignedInt",!0),Ge(n.mb,A0,"UnsignedIntObject",!0),Ge(n.nb,$g,"UnsignedLong",!0),Ge(n.ob,be,"UnsignedShort",!0),Ge(n.pb,qr,"UnsignedShortObject",!0),OQ(n,nd),function ACe(n){ke(n.a,Le,S(M(tn,1),q,2,6,[ze,"anySimpleType"])),ke(n.b,Le,S(M(tn,1),q,2,6,[ze,"anyType",no,Hk])),ke(u(O(_(n.b),0),34),Le,S(M(tn,1),q,2,6,[no,y_,ze,":mixed"])),ke(u(O(_(n.b),1),34),Le,S(M(tn,1),q,2,6,[no,y_,Srn,E_,ze,":1",qGn,"lax"])),ke(u(O(_(n.b),2),34),Le,S(M(tn,1),q,2,6,[no,_Gn,Srn,E_,ze,":2",qGn,"lax"])),ke(n.c,Le,S(M(tn,1),q,2,6,[ze,"anyURI",to,ef])),ke(n.d,Le,S(M(tn,1),q,2,6,[ze,"base64Binary",to,ef])),ke(n.e,Le,S(M(tn,1),q,2,6,[ze,sv,to,ef])),ke(n.f,Le,S(M(tn,1),q,2,6,[ze,"boolean:Object",Nr,sv])),ke(n.g,Le,S(M(tn,1),q,2,6,[ze,ym])),ke(n.i,Le,S(M(tn,1),q,2,6,[ze,"byte:Object",Nr,ym])),ke(n.j,Le,S(M(tn,1),q,2,6,[ze,"date",to,ef])),ke(n.k,Le,S(M(tn,1),q,2,6,[ze,"dateTime",to,ef])),ke(n.n,Le,S(M(tn,1),q,2,6,[ze,"decimal",to,ef])),ke(n.o,Le,S(M(tn,1),q,2,6,[ze,jm,to,ef])),ke(n.p,Le,S(M(tn,1),q,2,6,[ze,"double:Object",Nr,jm])),ke(n.q,Le,S(M(tn,1),q,2,6,[ze,"duration",to,ef])),ke(n.s,Le,S(M(tn,1),q,2,6,[ze,"ENTITIES",Nr,GGn,Arn,"1"])),ke(n.r,Le,S(M(tn,1),q,2,6,[ze,GGn,j_,Prn])),ke(n.t,Le,S(M(tn,1),q,2,6,[ze,Prn,Nr,eA])),ke(n.u,Le,S(M(tn,1),q,2,6,[ze,Em,to,ef])),ke(n.v,Le,S(M(tn,1),q,2,6,[ze,"float:Object",Nr,Em])),ke(n.w,Le,S(M(tn,1),q,2,6,[ze,"gDay",to,ef])),ke(n.B,Le,S(M(tn,1),q,2,6,[ze,"gMonth",to,ef])),ke(n.A,Le,S(M(tn,1),q,2,6,[ze,"gMonthDay",to,ef])),ke(n.C,Le,S(M(tn,1),q,2,6,[ze,"gYear",to,ef])),ke(n.D,Le,S(M(tn,1),q,2,6,[ze,"gYearMonth",to,ef])),ke(n.F,Le,S(M(tn,1),q,2,6,[ze,"hexBinary",to,ef])),ke(n.G,Le,S(M(tn,1),q,2,6,[ze,"ID",Nr,eA])),ke(n.H,Le,S(M(tn,1),q,2,6,[ze,"IDREF",Nr,eA])),ke(n.J,Le,S(M(tn,1),q,2,6,[ze,"IDREFS",Nr,UGn,Arn,"1"])),ke(n.I,Le,S(M(tn,1),q,2,6,[ze,UGn,j_,"IDREF"])),ke(n.K,Le,S(M(tn,1),q,2,6,[ze,Tm])),ke(n.M,Le,S(M(tn,1),q,2,6,[ze,Irn])),ke(n.L,Le,S(M(tn,1),q,2,6,[ze,"int:Object",Nr,Tm])),ke(n.P,Le,S(M(tn,1),q,2,6,[ze,"language",Nr,T_,C_,zGn])),ke(n.Q,Le,S(M(tn,1),q,2,6,[ze,Cm])),ke(n.R,Le,S(M(tn,1),q,2,6,[ze,"long:Object",Nr,Cm])),ke(n.S,Le,S(M(tn,1),q,2,6,[ze,"Name",Nr,T_,C_,Orn])),ke(n.T,Le,S(M(tn,1),q,2,6,[ze,eA,Nr,"Name",C_,WGn])),ke(n.U,Le,S(M(tn,1),q,2,6,[ze,"negativeInteger",Nr,XGn,Wk,"-1"])),ke(n.V,Le,S(M(tn,1),q,2,6,[ze,Drn,Nr,T_,C_,"\\c+"])),ke(n.X,Le,S(M(tn,1),q,2,6,[ze,"NMTOKENS",Nr,VGn,Arn,"1"])),ke(n.W,Le,S(M(tn,1),q,2,6,[ze,VGn,j_,Drn])),ke(n.Y,Le,S(M(tn,1),q,2,6,[ze,$rn,Nr,Irn,Xk,"0"])),ke(n.Z,Le,S(M(tn,1),q,2,6,[ze,XGn,Nr,Irn,Wk,"0"])),ke(n.$,Le,S(M(tn,1),q,2,6,[ze,QGn,Nr,YN,to,"replace"])),ke(n._,Le,S(M(tn,1),q,2,6,[ze,"NOTATION",to,ef])),ke(n.ab,Le,S(M(tn,1),q,2,6,[ze,"positiveInteger",Nr,$rn,Xk,"1"])),ke(n.bb,Le,S(M(tn,1),q,2,6,[ze,"processingInstruction_._type",no,"empty"])),ke(u(O(_(n.bb),0),34),Le,S(M(tn,1),q,2,6,[no,JS,ze,"data"])),ke(u(O(_(n.bb),1),34),Le,S(M(tn,1),q,2,6,[no,JS,ze,drn])),ke(n.cb,Le,S(M(tn,1),q,2,6,[ze,"QName",to,ef])),ke(n.db,Le,S(M(tn,1),q,2,6,[ze,Mm])),ke(n.eb,Le,S(M(tn,1),q,2,6,[ze,"short:Object",Nr,Mm])),ke(n.fb,Le,S(M(tn,1),q,2,6,[ze,"simpleAnyType",no,qk])),ke(u(O(_(n.fb),0),34),Le,S(M(tn,1),q,2,6,[ze,":3",no,qk])),ke(u(O(_(n.fb),1),34),Le,S(M(tn,1),q,2,6,[ze,":4",no,qk])),ke(u(O(_(n.fb),2),18),Le,S(M(tn,1),q,2,6,[ze,":5",no,qk])),ke(n.gb,Le,S(M(tn,1),q,2,6,[ze,YN,to,"preserve"])),ke(n.hb,Le,S(M(tn,1),q,2,6,[ze,"time",to,ef])),ke(n.ib,Le,S(M(tn,1),q,2,6,[ze,T_,Nr,QGn,to,ef])),ke(n.jb,Le,S(M(tn,1),q,2,6,[ze,JGn,Wk,"255",Xk,"0"])),ke(n.kb,Le,S(M(tn,1),q,2,6,[ze,"unsignedByte:Object",Nr,JGn])),ke(n.lb,Le,S(M(tn,1),q,2,6,[ze,YGn,Wk,"4294967295",Xk,"0"])),ke(n.mb,Le,S(M(tn,1),q,2,6,[ze,"unsignedInt:Object",Nr,YGn])),ke(n.nb,Le,S(M(tn,1),q,2,6,[ze,"unsignedLong",Nr,$rn,Wk,ZGn,Xk,"0"])),ke(n.ob,Le,S(M(tn,1),q,2,6,[ze,nUn,Wk,"65535",Xk,"0"])),ke(n.pb,Le,S(M(tn,1),q,2,6,[ze,"unsignedShort:Object",Nr,nUn])),ke(n.qb,Le,S(M(tn,1),q,2,6,[ze,"",no,Hk])),ke(u(O(_(n.qb),0),34),Le,S(M(tn,1),q,2,6,[no,y_,ze,":mixed"])),ke(u(O(_(n.qb),1),18),Le,S(M(tn,1),q,2,6,[no,JS,ze,"xmlns:prefix"])),ke(u(O(_(n.qb),2),18),Le,S(M(tn,1),q,2,6,[no,JS,ze,"xsi:schemaLocation"])),ke(u(O(_(n.qb),3),34),Le,S(M(tn,1),q,2,6,[no,YS,ze,"cDATA",ZS,Gk])),ke(u(O(_(n.qb),4),34),Le,S(M(tn,1),q,2,6,[no,YS,ze,"comment",ZS,Gk])),ke(u(O(_(n.qb),5),18),Le,S(M(tn,1),q,2,6,[no,YS,ze,eUn,ZS,Gk])),ke(u(O(_(n.qb),6),34),Le,S(M(tn,1),q,2,6,[no,YS,ze,o_,ZS,Gk]))}(n))}(n),tt((cU(),R1n),n,new fpn),BL(n),ki(ao,nd,n),n)}()}function VG(){VG=F,ra=Qp()}function g8n(){throw C(new ye)}function v8n(){throw C(new ye)}function p8n(){throw C(new ye)}function m8n(){throw C(new ye)}function k8n(){throw C(new ye)}function y8n(){throw C(new ye)}function Kj(n){this.a=new k2(n)}function QG(n){gRn(),function lCe(n,e){var t,r,i,c,o,f,h,l;if(t=0,o=0,c=e.length,f=null,l=new nb,o1?bf(Uh(e.a[1],32),rr(e.a[0],si)):rr(e.a[0],si),Vd(Fr(e.e,t))))}(n,new dl(h));for(n.d=l.a.length,i=0;i0}(u(n,33))?du(r,(Jo(),wr))||du(r,Wn):du(r,(Jo(),wr));if(I(n,352))return du(r,(Jo(),ah));if(I(n,186))return du(r,(Jo(),ld));if(I(n,354))return du(r,(Jo(),X1))}return!0}(n,e)}function ZG(n,e,t){n.splice(e,t)}function T8n(n){n.c?sBn(n):oBn(n)}function qj(n){this.a=0,this.b=n}function C8n(){this.a=new rk(nfn)}function M8n(){this.b=new rk(Ron)}function S8n(){this.b=new rk(oH)}function A8n(){this.b=new rk(oH)}function P8n(){throw C(new ye)}function I8n(){throw C(new ye)}function O8n(){throw C(new ye)}function D8n(){throw C(new ye)}function $8n(){throw C(new ye)}function F8n(){throw C(new ye)}function L8n(){throw C(new ye)}function N8n(){throw C(new ye)}function x8n(){throw C(new ye)}function B8n(){throw C(new ye)}function e8(n){this.a=new _8n(n)}function _8n(n){!function nbe(n,e,t){var r;n.b=e,n.a=t,r=512==(512&n.a)?new A9n:new Cq,n.c=function g7e(n,e,t){var r,i,c;if(n.e=t,n.d=0,n.b=0,n.f=1,n.i=e,16==(16&n.e)&&(n.i=function tke(n){var e,t,r,i,c;for(r=n.length,e=new s5,c=0;ce&&e0)){if(i=-1,32==Pr(a.c,0)){if(d=l[0],GPn(e,l),l[0]>d)continue}else if(k1e(e,a.c,l[0])){l[0]+=a.c.length;continue}return 0}if(i<0&&a.a&&(i=h,c=l[0],r=0),i>=0){if(f=a.b,h==i&&0==(f-=r++))return 0;if(!ERn(e,l,a,f,o)){h=i-1,l[0]=c;continue}}else if(i=-1,!ERn(e,l,a,0,o))return 0}return function kTe(n,e){var t,r,i,c,o,f;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>Lr&&UX(e,n.p-Ll),o=e.q.getDate(),z8(e,1),n.k>=0&&function tle(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),G6(n,t)}(e,n.k),n.c>=0?z8(e,n.c):n.k>=0?(r=35-new aQ(e.q.getFullYear()-Ll,e.q.getMonth(),35).q.getDate(),z8(e,j.Math.min(r,o))):z8(e,o),n.f<0&&(n.f=e.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),function dce(n,e){n.q.setHours(e),G6(n,e)}(e,24==n.f&&n.g?0:n.f),n.j>=0&&function dde(n,e){var t;t=n.q.getHours()+(e/60|0),n.q.setMinutes(e),G6(n,t)}(e,n.j),n.n>=0&&function Ode(n,e){var t;t=n.q.getHours()+(e/3600|0),n.q.setSeconds(e),G6(n,t)}(e,n.n),n.i>=0&&Gkn(e,_r(Fr(U7(tu(e.q.getTime()),B1),B1),n.i)),n.a&&(UX(i=new zj,i.q.getFullYear()-Ll-80),FO(tu(e.q.getTime()),tu(i.q.getTime()))&&UX(e,i.q.getFullYear()-Ll+100)),n.d>=0)if(-1==n.c)(t=(7+n.d-e.q.getDay())%7)>3&&(t-=7),f=e.q.getMonth(),z8(e,e.q.getDate()+t),e.q.getMonth()!=f&&z8(e,e.q.getDate()+(t>0?-7:7));else if(e.q.getDay()!=n.d)return!1;return n.o>Lr&&(c=e.q.getTimezoneOffset(),Gkn(e,_r(tu(e.q.getTime()),60*(n.o-c)*B1))),!0}(o,t)?l[0]:0}(n,e,i=new aQ((r=new zj).q.getFullYear()-Ll,r.q.getMonth(),r.q.getDate())))||t0}function FO(n,e){return hc(n,e)<0}function g5(n,e){return n.a.get(e)}function O7n(n,e){return Vu(n.e,e)}function oU(n){return _n(n),!1}function tE(n){Fn.call(this,n,21)}function sie(n,e){oMn.call(this,n,e)}function rE(n,e){Oe.call(this,n,e)}function LO(n,e){Oe.call(this,n,e)}function fU(n){w$(),fEn.call(this,n)}function hU(n,e){aTn(n,n.length,e)}function h8(n,e){KTn(n,n.length,e)}function v5(n,e,t){n.splice(e,0,t)}function iE(n,e){this.d=n,this.e=e}function D7n(n,e){this.b=n,this.a=e}function $7n(n,e){this.b=n,this.a=e}function lU(n,e){this.b=n,this.a=e}function F7n(n,e){this.a=n,this.b=e}function L7n(n,e){this.a=n,this.b=e}function N7n(n,e){this.a=n,this.b=e}function x7n(n,e){this.a=n,this.b=e}function j2(n,e){this.a=n,this.b=e}function aU(n,e){this.b=n,this.a=e}function dU(n,e){this.b=n,this.a=e}function cE(n,e){Oe.call(this,n,e)}function uE(n,e){Oe.call(this,n,e)}function bU(n,e){Oe.call(this,n,e)}function wU(n,e){Oe.call(this,n,e)}function Lw(n,e){Oe.call(this,n,e)}function NO(n,e){Oe.call(this,n,e)}function xO(n,e){Oe.call(this,n,e)}function BO(n,e){Oe.call(this,n,e)}function sE(n,e){Oe.call(this,n,e)}function gU(n,e){Oe.call(this,n,e)}function _O(n,e){Oe.call(this,n,e)}function l8(n,e){Oe.call(this,n,e)}function oE(n,e){Oe.call(this,n,e)}function RO(n,e){Oe.call(this,n,e)}function p5(n,e){Oe.call(this,n,e)}function vU(n,e){Oe.call(this,n,e)}function qt(n,e){Oe.call(this,n,e)}function fE(n,e){Oe.call(this,n,e)}function B7n(n,e){this.a=n,this.b=e}function _7n(n,e){this.a=n,this.b=e}function R7n(n,e){this.a=n,this.b=e}function K7n(n,e){this.a=n,this.b=e}function H7n(n,e){this.a=n,this.b=e}function q7n(n,e){this.a=n,this.b=e}function G7n(n,e){this.a=n,this.b=e}function U7n(n,e){this.a=n,this.b=e}function z7n(n,e){this.a=n,this.b=e}function pU(n,e){this.b=n,this.a=e}function W7n(n,e){this.b=n,this.a=e}function X7n(n,e){this.b=n,this.a=e}function V7n(n,e){this.b=n,this.a=e}function wp(n,e){this.c=n,this.d=e}function Q7n(n,e){this.e=n,this.d=e}function J7n(n,e){this.a=n,this.b=e}function Y7n(n,e){this.b=e,this.c=n}function hE(n,e){Oe.call(this,n,e)}function a8(n,e){Oe.call(this,n,e)}function KO(n,e){Oe.call(this,n,e)}function m5(n,e){Oe.call(this,n,e)}function mU(n,e){Oe.call(this,n,e)}function HO(n,e){Oe.call(this,n,e)}function qO(n,e){Oe.call(this,n,e)}function d8(n,e){Oe.call(this,n,e)}function kU(n,e){Oe.call(this,n,e)}function GO(n,e){Oe.call(this,n,e)}function k5(n,e){Oe.call(this,n,e)}function yU(n,e){Oe.call(this,n,e)}function y5(n,e){Oe.call(this,n,e)}function j5(n,e){Oe.call(this,n,e)}function rb(n,e){Oe.call(this,n,e)}function UO(n,e){Oe.call(this,n,e)}function zO(n,e){Oe.call(this,n,e)}function jU(n,e){Oe.call(this,n,e)}function E5(n,e){Oe.call(this,n,e)}function WO(n,e){Oe.call(this,n,e)}function lE(n,e){Oe.call(this,n,e)}function b8(n,e){Oe.call(this,n,e)}function w8(n,e){Oe.call(this,n,e)}function E2(n,e){Oe.call(this,n,e)}function XO(n,e){Oe.call(this,n,e)}function EU(n,e){Oe.call(this,n,e)}function VO(n,e){Oe.call(this,n,e)}function QO(n,e){Oe.call(this,n,e)}function TU(n,e){Oe.call(this,n,e)}function JO(n,e){Oe.call(this,n,e)}function YO(n,e){Oe.call(this,n,e)}function ZO(n,e){Oe.call(this,n,e)}function nD(n,e){Oe.call(this,n,e)}function CU(n,e){Oe.call(this,n,e)}function Z7n(n,e){this.b=n,this.a=e}function nkn(n,e){this.a=n,this.b=e}function ekn(n,e){this.a=n,this.b=e}function tkn(n,e){this.a=n,this.b=e}function rkn(n,e){this.a=n,this.b=e}function MU(n,e){Oe.call(this,n,e)}function SU(n,e){Oe.call(this,n,e)}function ikn(n,e){this.b=n,this.d=e}function AU(n,e){Oe.call(this,n,e)}function PU(n,e){Oe.call(this,n,e)}function ckn(n,e){this.a=n,this.b=e}function ukn(n,e){this.a=n,this.b=e}function aE(n,e){Oe.call(this,n,e)}function T5(n,e){Oe.call(this,n,e)}function IU(n,e){Oe.call(this,n,e)}function OU(n,e){Oe.call(this,n,e)}function DU(n,e){Oe.call(this,n,e)}function eD(n,e){Oe.call(this,n,e)}function $U(n,e){Oe.call(this,n,e)}function tD(n,e){Oe.call(this,n,e)}function dE(n,e){Oe.call(this,n,e)}function rD(n,e){Oe.call(this,n,e)}function iD(n,e){Oe.call(this,n,e)}function g8(n,e){Oe.call(this,n,e)}function cD(n,e){Oe.call(this,n,e)}function FU(n,e){Oe.call(this,n,e)}function v8(n,e){Oe.call(this,n,e)}function LU(n,e){Oe.call(this,n,e)}function NU(n,e){return du(n.g,e)}function p8(n,e){Oe.call(this,n,e)}function T2(n,e){Oe.call(this,n,e)}function skn(n,e){this.a=n,this.b=e}function okn(n,e){this.a=n,this.b=e}function fn(n,e){this.a=n,this.b=e}function C5(n,e){Oe.call(this,n,e)}function M5(n,e){Oe.call(this,n,e)}function m8(n,e){Oe.call(this,n,e)}function uD(n,e){Oe.call(this,n,e)}function bE(n,e){Oe.call(this,n,e)}function S5(n,e){Oe.call(this,n,e)}function sD(n,e){Oe.call(this,n,e)}function wE(n,e){Oe.call(this,n,e)}function Nw(n,e){Oe.call(this,n,e)}function k8(n,e){Oe.call(this,n,e)}function A5(n,e){Oe.call(this,n,e)}function P5(n,e){Oe.call(this,n,e)}function y8(n,e){Oe.call(this,n,e)}function gE(n,e){Oe.call(this,n,e)}function xw(n,e){Oe.call(this,n,e)}function vE(n,e){Oe.call(this,n,e)}function fkn(n,e){this.a=n,this.b=e}function hkn(n,e){this.a=n,this.b=e}function lkn(n,e){this.a=n,this.b=e}function akn(n,e){this.a=n,this.b=e}function dkn(n,e){this.a=n,this.b=e}function bkn(n,e){this.a=n,this.b=e}function Mr(n,e){this.a=n,this.b=e}function pE(n,e){Oe.call(this,n,e)}function wkn(n,e){this.a=n,this.b=e}function gkn(n,e){this.a=n,this.b=e}function vkn(n,e){this.a=n,this.b=e}function pkn(n,e){this.a=n,this.b=e}function mkn(n,e){this.a=n,this.b=e}function kkn(n,e){this.a=n,this.b=e}function ykn(n,e){this.b=n,this.a=e}function jkn(n,e){this.b=n,this.a=e}function Ekn(n,e){this.b=n,this.a=e}function Tkn(n,e){this.b=n,this.a=e}function Ckn(n,e){this.a=n,this.b=e}function Mkn(n,e){this.a=n,this.b=e}function gie(n,e){!function z9e(n,e){if(I(e,239))return function jge(n,e){var t;if(null==(t=Qw(n.i,e)))throw C(new Kf("Node did not exist in input."));return YV(e,t),null}(n,u(e,33));if(I(e,186))return function Lge(n,e){var t;if(null==(t=te(n.k,e)))throw C(new Kf("Port did not exist in input."));return YV(e,t),null}(n,u(e,118));if(I(e,354))return function Xhe(n,e){return YV(e,te(n.f,e)),null}(n,u(e,137));if(I(e,352))return function pye(n,e){var t,l,a,d,g,v;if(!(g=u(te(n.c,e),183)))throw C(new Kf("Edge did not exist in input."));return l=g3(g),!t8((!e.a&&(e.a=new V(Mt,e,6,6)),e.a))&&(t=new yEn(n,l,v=new da),function Eie(n,e){!function w0e(n,e){var t;for(t=0;n.e!=n.i.gc();)ffe(e,oe(n),Q(t)),t!=Ze&&++t}(new re(n),e)}((!e.a&&(e.a=new V(Mt,e,6,6)),e.a),t),Xo(g,urn,v)),Aa(e,(We(),n2))&&!(!(a=u(hn(e,n2),74))||uCn(a))&&(Ir(a,new bmn(d=new da)),Xo(g,"junctionPoints",d)),Tp(g,"container",W8(e).k),null}(n,u(e,79));if(e)return null;throw C(new Kn(arn+Il(new Uu(S(M(Zn,1),rn,1,5,[e])))))}(n.a,u(e,56))}function Skn(n,e){!function i0e(n,e){return Ep(),W(n,new Mr(e,Q(e.e.c.length+e.g.c.length)))}(n.a,u(e,11))}function Akn(){return Z9n(),new DUn}function Pkn(){F$(),this.b=new sr}function Ikn(){OM(),this.a=new sr}function Okn(){AX(),xW.call(this)}function C2(n,e){Oe.call(this,n,e)}function Dkn(n,e){this.a=n,this.b=e}function $kn(n,e){this.a=n,this.b=e}function mE(n,e){this.a=n,this.b=e}function Fkn(n,e){this.a=n,this.b=e}function Lkn(n,e){this.a=n,this.b=e}function Nkn(n,e){this.a=n,this.b=e}function xkn(n,e){this.d=n,this.b=e}function xU(n,e){this.d=n,this.e=e}function Bkn(n,e){this.f=n,this.c=e}function j8(n,e){this.b=n,this.c=e}function BU(n,e){this.i=n,this.g=e}function _kn(n,e){this.e=n,this.a=e}function Rkn(n,e){this.a=n,this.b=e}function _U(n,e){n.i=null,yC(n,e)}function Kkn(n,e){return aL(n.a,e)}function kE(n){return L7(n.c,n.b)}function Qi(n){return n?n.dd():null}function B(n){return n??null}function ib(n){return typeof n===sv}function cb(n){return typeof n===pnn}function vr(n){return typeof n===YN}function ll(n,e){return n.Hd().Xb(e)}function yE(n,e){return function Fbe(n,e){for(ve(e);n.Ob();)if(!tQ(u(n.Pb(),10)))return!1;return!0}(n.Kc(),e)}function Dd(n,e){return 0==hc(n,e)}function I5(n,e){return 0!=hc(n,e)}function E8(n,e){return n.substr(e)}function Hkn(n){return Lu(n),n.d.gc()}function oD(n){return function gme(n,e){var r,i,c;for(r=new E(n.a.a);r.ae?1:0}function Eyn(n,e){return hc(n,e)>0?n:e}function Bc(n,e,t){return{l:n,m:e,h:t}}function ece(n,e){null!=n.a&&Skn(e,n.a)}function Tyn(n){n.a=new mt,n.c=new mt}function AE(n){this.b=n,this.a=new X}function Cyn(n){this.b=new oan,this.a=n}function YU(n){Gz.call(this),this.a=n}function Myn(){rE.call(this,"Range",2)}function Syn(){zJ(),this.a=new rk(wcn)}function Kw(n,e,t){return aJ(e,t,n.c)}function ZU(n){return new fn(n.c,n.d)}function sce(n){return new fn(n.c,n.d)}function Ji(n){return new fn(n.a,n.b)}function Ayn(n,e){return function IEe(n,e,t){var r,i,c,o,f,h,l,a,d;for(!t&&(t=function awe(n){var e;return(e=new NI).a=n,e.b=function mwe(n){var e;return 0==n?"Etc/GMT":(n<0?(n=-n,e="Etc/GMT-"):e="Etc/GMT+",e+qPn(n))}(n),e.c=L(tn,q,2,2,6,1),e.c[0]=sOn(n),e.c[1]=sOn(n),e}(e.q.getTimezoneOffset())),i=6e4*(e.q.getTimezoneOffset()-t.a),h=f=new Dz(_r(tu(e.q.getTime()),i)),f.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(i>0?i-=864e5:i+=864e5,h=new Dz(_r(tu(e.q.getTime()),i))),a=new nb,l=n.a.length,c=0;c=97&&r<=122||r>=65&&r<=90){for(o=c+1;o=l)throw C(new Kn("Missing trailing '"));o+11)throw C(new Kn(Uk));for(a=Kc(n.e.Tg(),e),r=u(n.g,119),o=0;o0),c=u(a.a.Xb(a.c=--a.b),17);c!=r&&a.b>0;)n.a[c.p]=!0,n.a[r.p]=!0,ne(a.b>0),c=u(a.a.Xb(a.c=--a.b),17);a.b>0&&Qu(a)}}(n,e,t),t}function Lyn(n,e,t){n.a=1502^e,n.b=t^Ox}function mD(n,e,t){return n.a[e.g][t.g]}function hf(n,e){return n.a[e.c.p][e.p]}function gce(n,e){return n.e[e.c.p][e.p]}function vce(n,e){return n.c[e.c.p][e.p]}function pce(n,e){return n.j[e.p]=function S9e(n){var e,t,r,i;for(e=0,t=0,i=new E(n.j);i.a1||t>1)return 2;return e+t==1?2:0}(e)}function Gf(n,e){return n.a*=e,n.b*=e,n}function N5(n,e,t){return St(n.g,e,t),t}function Nyn(n){n.a=u(Bn(n.b.a,4),126)}function xyn(n){n.a=u(Bn(n.b.a,4),126)}function Mce(n){G8(n,Lqn),wN(n,function STe(n){var e,t,r,i,c;switch(G8(n,Lqn),(!n.b&&(n.b=new $n(he,n,4,7)),n.b).i+(!n.c&&(n.c=new $n(he,n,5,8)),n.c).i){case 0:throw C(new Kn("The edge must have at least one source or target."));case 1:return 0==(!n.b&&(n.b=new $n(he,n,4,7)),n.b).i?At(Ii(u(O((!n.c&&(n.c=new $n(he,n,5,8)),n.c),0),82))):At(Ii(u(O((!n.b&&(n.b=new $n(he,n,4,7)),n.b),0),82)))}if(1==(!n.b&&(n.b=new $n(he,n,4,7)),n.b).i&&1==(!n.c&&(n.c=new $n(he,n,5,8)),n.c).i){if(i=Ii(u(O((!n.b&&(n.b=new $n(he,n,4,7)),n.b),0),82)),c=Ii(u(O((!n.c&&(n.c=new $n(he,n,5,8)),n.c),0),82)),At(i)==At(c))return At(i);if(i==At(c))return i;if(c==At(i))return c}for(e=Ii(u(pe(r=gl(pf(S(M(Mf,1),rn,20,0,[(!n.b&&(n.b=new $n(he,n,4,7)),n.b),(!n.c&&(n.c=new $n(he,n,5,8)),n.c)])))),82));Ae(r);)if((t=Ii(u(pe(r),82)))!=e&&!Eb(t,e))if(At(t)==At(e))e=At(t);else if(!(e=a9e(e,t)))return null;return e}(n))}function pp(){pp=F,dA=new Fj(null)}function tz(){(tz=F)(),LUn=new md}function rz(){this.Bb|=256,this.Bb|=512}function re(n){this.i=n,this.f=this.i.j}function Vt(n,e,t){x8.call(this,n,e,t)}function OE(n,e,t){Vt.call(this,n,e,t)}function au(n,e,t){Vt.call(this,n,e,t)}function Byn(n,e,t){OE.call(this,n,e,t)}function iz(n,e,t){x8.call(this,n,e,t)}function Hw(n,e,t){x8.call(this,n,e,t)}function cz(n,e,t){WE.call(this,n,e,t)}function _yn(n,e,t){WE.call(this,n,e,t)}function Ryn(n,e,t){cz.call(this,n,e,t)}function Kyn(n,e,t){iz.call(this,n,e,t)}function qw(n,e){this.a=n,Gj.call(this,e)}function Hyn(n,e){this.a=n,CO.call(this,e)}function qyn(n,e){this.a=n,CO.call(this,e)}function Gyn(n,e){this.a=n,CO.call(this,e)}function uz(n){this.a=n,v4n.call(this,n.d)}function bl(n){this.c=n,this.a=this.c.a}function sz(n,e){this.a=e,CO.call(this,n)}function Uyn(n,e){this.a=e,X$.call(this,n)}function zyn(n,e){this.a=n,X$.call(this,e)}function oz(n,e){return function Hge(n,e,t){try{!function jwe(n,e,t){if(ve(e),t.Ob())for(RU(e,XTn(t.Pb()));t.Ob();)RU(e,n.a),RU(e,XTn(t.Pb()));return e}(n,e,t)}catch(i){throw I(i=jt(i),597)?C(new VX(i)):C(i)}return e}(n,new cl,e).a}function ue(n,e){return ve(e),new Wyn(n,e)}function Wyn(n,e){this.a=e,Uj.call(this,n)}function fz(n){this.b=n,this.a=this.b.a.e}function Xyn(n){n.b.Qb(),--n.d.f.d,iT(n.d)}function Vyn(n){tO.call(this,u(ve(n),35))}function Qyn(n){tO.call(this,u(ve(n),35))}function Jyn(){Oe.call(this,"INSTANCE",0)}function hz(n){if(!n)throw C(new Z9)}function lz(n){if(!n)throw C(new hu)}function az(n){if(!n)throw C(new ic)}function Yyn(){Yyn=F,$O(),dee=new t4n}function Hn(){Hn=F,td=!1,i4=!0}function Gs(n){U9.call(this,(_n(n),n))}function ts(n){U9.call(this,(_n(n),n))}function DE(n){Zv.call(this,n),this.a=n}function dz(n){np.call(this,n),this.a=n}function bz(n){up.call(this,n),this.a=n}function Zyn(){PE(this),jT(this),this._d()}function njn(n,e){this.a=e,Uj.call(this,n)}function ejn(n,e){return new VLn(n.a,n.b,e)}function $E(n,e){return n.lastIndexOf(e)}function wz(n,e,t){return n.indexOf(e,t)}function x5(n){return null==n?iu:xi(n)}function gz(n){return null!=n.a?n.a:null}function kD(n,e){return null!=e6(n.a,e)}function du(n,e){return!!e&&n.b[e.g]==e}function Ld(n){return n.$H||(n.$H=++HCe)}function tjn(n,e){return W(e.a,n.a),n.a}function rjn(n,e){return W(e.b,n.a),n.a}function Nd(n,e){return W(e.a,n.a),n.a}function xd(n){return ne(null!=n.a),n.a}function yD(n){Jq.call(this,new aV(n))}function vz(n,e){pJ.call(this,n,e,null)}function B5(n){this.a=n,Uq.call(this,n)}function FE(){FE=F,pA=new er(FKn,0)}function LE(n,e){return++n.b,W(n.a,e)}function pz(n,e){return++n.b,Jc(n.a,e)}function Xc(n,e){return u(it(n.b,e),15)}function _5(n){return Ki(n.a)||Ki(n.b)}function mz(n,e,t){return ISn(n,e,t,n.c)}function kz(n,e,t){u(o7(n,e),21).Fc(t)}function T8(n,e){w5(),this.a=n,this.b=e}function NE(n,e){y1(),this.b=n,this.c=e}function jD(n,e){YD(),this.f=e,this.d=n}function yz(n,e){cV(e,n),this.d=n,this.c=e}function j1(n){var e;e=n.a,n.a=n.b,n.b=e}function jz(n,e){return new nEn(n,n.gc(),e)}function S2(n){this.d=n,re.call(this,n)}function A2(n){this.c=n,re.call(this,n)}function C8(n){this.c=n,S2.call(this,n)}function ijn(){a5(),this.b=new K5n(this)}function gh(n){return os(n,Gb),new Oc(n)}function cjn(n){return $p(),parseInt(n)||-1}function rs(n,e,t){return n.substr(e,t-e)}function mp(n,e,t){return wz(n,ru(e),t)}function ED(n){return tX(n.c,n.c.length)}function TD(n){return null!=n.f?n.f:""+n.g}function CD(n){return ne(0!=n.b),n.a.a.c}function xE(n){return ne(0!=n.b),n.c.b.c}function M8(n){I(n,150)&&u(n,150).Gh()}function BE(n){return n.b=u(NCn(n.a),42)}function Ez(n){dp(),this.b=n,this.a=!0}function ujn(n){Wj(),this.b=n,this.a=!0}function sjn(n){n.d=new fjn(n),n.e=new we}function ojn(n){if(!n)throw C(new Ts)}function Tz(n){if(!n)throw C(new Z9)}function ub(n){if(!n)throw C(new hu)}function ne(n){if(!n)throw C(new ic)}function fjn(n){wW.call(this,n,null,null)}function hjn(){Oe.call(this,"POLYOMINO",0)}function ljn(n,e,t,r){qW.call(this,n,e,t,r)}function fr(n,e){return!!n.q&&Vu(n.q,e)}function kp(n,e,t){n.Zc(e).Rb(t)}function sb(n,e,t){return n.a+=e,n.b+=t,n}function Vce(n,e,t){return n.a*=e,n.b*=t,n}function S8(n,e,t){return n.a-=e,n.b-=t,n}function Cz(n,e){return n.a=e.a,n.b=e.b,n}function _E(n){return n.a=-n.a,n.b=-n.b,n}function ajn(n){this.c=n,this.a=1,this.b=1}function djn(n){this.c=n,nu(n,0),eu(n,0)}function bjn(n){Ct.call(this),l6(this,n)}function wjn(n){QN(),Rmn(this),this.mf(n)}function gjn(n,e){w5(),T8.call(this,n,e)}function Mz(n,e){y1(),NE.call(this,n,e)}function vjn(n,e){y1(),NE.call(this,n,e)}function pjn(n,e){y1(),Mz.call(this,n,e)}function Wu(n,e,t){Ju.call(this,n,e,t,2)}function MD(n,e){Cs(),eT.call(this,n,e)}function mjn(n,e){Cs(),MD.call(this,n,e)}function Sz(n,e){Cs(),MD.call(this,n,e)}function kjn(n,e){Cs(),Sz.call(this,n,e)}function Az(n,e){Cs(),eT.call(this,n,e)}function yjn(n,e){Cs(),Az.call(this,n,e)}function jjn(n,e){Cs(),eT.call(this,n,e)}function Pz(n,e,t){return qM(f7(n,e),t)}function SD(n,e){return Sl(n.e,u(e,49))}function Iz(n,e){e.$modCount=n.$modCount}function R5(){R5=F,h9=new at("root")}function yp(){yp=F,nj=new p9n,new m9n}function Ejn(){this.a=new Wd,this.b=new Wd}function Oz(){HIn.call(this),this.Bb|=Vr}function Tjn(){Oe.call(this,"GROW_TREE",0)}function eue(n){return null==n?null:function mTe(n){var e,t,r,i,c,o,f,h,l,a,d,v,m,T;if(GZ(),null==n)return null;if(0==(d=8*n.length))return"";for(v=d/24|0,c=null,c=L(Hs,Yf,25,4*(0!=(f=d%24)?v+1:v),15,1),l=0,a=0,e=0,t=0,r=0,o=0,i=0,h=0;h>24,l=(3&e)<<24>>24,m=-128&t?(t>>4^240)<<24>>24:t>>4<<24>>24,T=-128&(r=n[i++])?(r>>6^252)<<24>>24:r>>6<<24>>24,c[o++]=el[-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24],c[o++]=el[m|l<<4],c[o++]=el[a<<2|T],c[o++]=el[63&r];return 8==f?(l=(3&(e=n[i]))<<24>>24,c[o++]=el[-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24],c[o++]=el[l<<4],c[o++]=61,c[o++]=61):16==f&&(a=(15&(t=n[i+1]))<<24>>24,l=(3&(e=n[i]))<<24>>24,m=-128&t?(t>>4^240)<<24>>24:t>>4<<24>>24,c[o++]=el[-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24],c[o++]=el[m|l<<4],c[o++]=el[a<<2],c[o++]=61),Xs(c,0,c.length)}(n)}function tue(n){return null==n?null:function S5e(n){var e,t,r,c;if(TZ(),null==n)return null;for(e=L(Hs,Yf,25,2*(r=n.length),15,1),t=0;t>4],e[2*t+1]=PI[15&c];return Xs(e,0,e.length)}(n)}function Gh(n){null==n.o&&function e9e(n){if(n.pe()){var e=n.c;return n.o=e.qe()?"["+e.n:e.pe()?"["+e.ne():"[L"+e.ne()+";",n.b=e.me()+"[]",void(n.k=e.oe()+"[]")}var t=n.j,r=n.d;r=r.split("/"),n.o=bL(".",[t,bL("$",r)]),n.b=bL(".",[t,bL(".",r)]),n.k=r[r.length-1]}(n)}function sn(n){return q5(null==n||ib(n)),n}function Y(n){return q5(null==n||cb(n)),n}function Te(n){return q5(null==n||vr(n)),n}function Dz(n){this.q=new j.Date(Vd(n))}function A8(n,e){this.c=n,lp.call(this,n,e)}function RE(n,e){this.a=n,A8.call(this,n,e)}function cue(n,e){this.d=n,F4n(this),this.b=e}function $z(n,e){iF.call(this,n),this.a=e}function Fz(n,e){iF.call(this,n),this.a=e}function uue(n){sJ.call(this,0,0),this.f=n}function Lz(n,e,t){JT.call(this,n,e,t,null)}function Cjn(n,e,t){JT.call(this,n,e,t,null)}function fue(n,e){return u(Jd(n.b,e),149)}function hue(n,e){return u(Jd(n.c,e),229)}function AD(n){return u(un(n.a,n.b),287)}function Mjn(n){return new fn(n.c,n.d+n.a)}function Sjn(n){return is(),hyn(u(n,197))}function ob(){ob=F,Gin=Tn((Zu(),gd))}function lue(n,e){e.a?function Q8e(n,e){var i,c,o;if(!_8(n.a,e.b))throw C(new $i("Invalid hitboxes for scanline overlap calculation."));for(o=!1,c=new X9(new K5(new B5(new W9(n.a.a).a).b));f8(c.a.a);)if(i=u(BE(c.a).cd(),65),bwe(e.b,i))Bre(n.b.a,e.b,i),o=!0;else if(o)break}(n,e):kD(n.a,e.b)}function Ajn(n,e){Sf||W(n.a,e)}function Uf(n,e){return G8(e,Bnn),n.f=e,n}function Nz(n,e,t){return as(n,e,3,t)}function xz(n,e,t){return as(n,e,6,t)}function Bz(n,e,t){return as(n,e,9,t)}function P8(n,e,t){++n.j,n.Ki(),tF(n,e,t)}function Pjn(n,e,t){++n.j,n.Hi(e,n.oi(e,t))}function Ijn(n,e,t){n.Zc(e).Rb(t)}function Ojn(n,e,t){return YZ(n.c,n.b,e,t)}function _z(n,e){return(e&Ze)%n.d.length}function er(n,e){at.call(this,n),this.a=e}function Rz(n,e){sG.call(this,n),this.a=e}function PD(n,e){sG.call(this,n),this.a=e}function Djn(n,e){this.c=n,Yd.call(this,e)}function $jn(n,e){this.a=n,Fmn.call(this,e)}function I8(n,e){this.a=n,Fmn.call(this,e)}function Fjn(n){this.a=(os(n,Gb),new Oc(n))}function Ljn(n){this.a=(os(n,Gb),new Oc(n))}function O8(n){return!n.a&&(n.a=new $I),n.a}function Njn(n){return n>8?0:n+1}function Kz(n,e,t){return D2(n,u(e,22),t)}function xjn(n,e,t){return n.a+=Xs(e,0,t),n}function Hz(n,e){var t;return t=n.e,n.e=e,t}function gue(n,e){n[Ix].call(n,e)}function fb(n,e){n.a.Vc(n.b,e),++n.b,n.c=-1}function Bjn(n){Cu(n.e),n.d.b=n.d,n.d.a=n.d}function D8(n){n.b?D8(n.b):n.f.c.zc(n.e,n.d)}function yo(n,e){return Bj(new Array(e),n)}function ID(n){return String.fromCharCode(n)}function _jn(){this.a=new X,this.b=new X}function Rjn(){this.a=new oq,this.b=new Vmn}function Kjn(){this.b=new $r,this.c=new X}function qz(){this.d=new $r,this.e=new $r}function Gz(){this.n=new $r,this.o=new $r}function KE(){this.n=new g2,this.i=new M2}function Hjn(){this.a=new y3n,this.b=new uwn}function qjn(){this.a=new X,this.d=new X}function Gjn(){this.b=new sr,this.a=new sr}function Ujn(){this.b=new we,this.a=new we}function zjn(){this.b=new M8n,this.a=new ogn}function Wjn(){KE.call(this),this.a=new $r}function K5(n){zbe.call(this,n,(eC(),W_))}function Uz(n,e,t,r){tT.call(this,n,e,t,r)}function zz(n,e,t){return as(n,e,11,t)}function ut(n,e){return n.a+=e.a,n.b+=e.b,n}function pr(n,e){return n.a-=e.a,n.b-=e.b,n}function Xjn(n,e){return null==tt(n.a,e,"")}function hb(n,e){pi.call(this,km+n+Ya+e)}function P2(n,e,t,r){V.call(this,n,e,t,r)}function Wz(n,e,t,r){V.call(this,n,e,t,r)}function Vjn(n,e,t,r){Wz.call(this,n,e,t,r)}function Qjn(n,e,t,r){aT.call(this,n,e,t,r)}function OD(n,e,t,r){aT.call(this,n,e,t,r)}function Xz(n,e,t,r){aT.call(this,n,e,t,r)}function Jjn(n,e,t,r){OD.call(this,n,e,t,r)}function Vz(n,e,t,r){OD.call(this,n,e,t,r)}function $n(n,e,t,r){Xz.call(this,n,e,t,r)}function Yjn(n,e,t,r){Vz.call(this,n,e,t,r)}function Zjn(n,e,t,r){WW.call(this,n,e,t,r)}function nEn(n,e,t){this.a=n,yz.call(this,e,t)}function eEn(n,e,t){this.c=e,this.b=t,this.a=n}function Qz(n,e){return n.Aj().Nh().Kh(n,e)}function Jz(n,e){return n.Aj().Nh().Ih(n,e)}function tEn(n,e){return _n(n),B(n)===B(e)}function Mn(n,e){return _n(n),B(n)===B(e)}function DD(n,e){return PO(k$n(n.a,e,!1))}function $D(n,e){return PO(y$n(n.a,e,!1))}function rEn(n,e){return n.b.sd(new x7n(n,e))}function Yz(n,e,t){return n.lastIndexOf(e,t)}function iEn(n){return n.c?Li(n.c.a,n,0):-1}function I2(n){return n==wd||n==Bh||n==Pc}function cEn(n,e){return I(e,15)&&lBn(n.c,e)}function FD(n,e){return!!yQ(n,e)}function Zz(n,e){this.c=n,s$.call(this,n,e)}function uEn(n){this.c=n,fD.call(this,JM,0)}function sEn(n,e){Goe.call(this,n,n.length,e)}function HE(n,e,t){return u(n.c,69).mk(e,t)}function nW(n,e,t){return function Yce(n,e,t){return e.Rk(n.e,n.c,t)}(n,u(e,332),t)}function oEn(n,e,t){return function R4e(n,e,t){var r,i,c;return r=e.ak(),c=e.dd(),i=r.$j()?kl(n,4,r,c,null,D3(n,r,c,I(r,99)&&0!=(u(r,18).Bb&Vr)),!0):kl(n,r.Kj()?2:1,r,c,r.zj(),-1,!0),t?t.Ei(i):t=i,t}(n,u(e,332),t)}function H5(n,e){return null==e?null:Sb(n.b,e)}function eW(n){return cb(n)?(_n(n),n):n.ke()}function qE(n){return!isNaN(n)&&!isFinite(n)}function fEn(n){zf(),this.a=(An(),new up(n))}function $8(n){Ep(),this.d=n,this.a=new Ow}function Ms(n,e,t){this.a=n,this.b=e,this.c=t}function hEn(n,e,t){this.a=n,this.b=e,this.c=t}function lEn(n,e,t){this.d=n,this.b=t,this.a=e}function LD(n){Tyn(this),zs(this),zr(this,n)}function bu(n){bD(this),gW(this.c,0,n.Pc())}function aEn(n){Qu(n.a),fPn(n.c,n.b),n.b=null}function dEn(n){this.a=n,wh(),tu(Date.now())}function bEn(){bEn=F,yin=new Yr,wA=new Yr}function ND(){ND=F,ain=new ri,$Un=new Bf}function wEn(){wEn=F,qne=L(Zn,rn,1,0,5,1)}function gEn(){gEn=F,see=L(Zn,rn,1,0,5,1)}function tW(){tW=F,oee=L(Zn,rn,1,0,5,1)}function zf(){zf=F,new hG((An(),An(),Gr))}function rW(n,e){if(!n)throw C(new Kn(e))}function iW(n){tT.call(this,n.d,n.c,n.a,n.b)}function xD(n){tT.call(this,n.d,n.c,n.a,n.b)}function cW(n,e,t){this.b=n,this.c=e,this.a=t}function GE(n,e,t){this.b=n,this.a=e,this.c=t}function vEn(n,e,t){this.a=n,this.b=e,this.c=t}function uW(n,e,t){this.a=n,this.b=e,this.c=t}function pEn(n,e,t){this.a=n,this.b=e,this.c=t}function sW(n,e,t){this.a=n,this.b=e,this.c=t}function mEn(n,e,t){this.b=n,this.a=e,this.c=t}function UE(n,e,t){this.e=e,this.b=n,this.d=t}function BD(n){var e;return(e=new $ln).e=n,e}function oW(n){var e;return(e=new t9n).b=n,e}function F8(){F8=F,AA=new Ldn,PA=new Ndn}function jo(){jo=F,JWn=new pbn,YWn=new mbn}function _D(n,e){this.c=n,this.a=e,this.b=e-n}function kEn(n,e,t){this.a=n,this.b=e,this.c=t}function fW(n,e,t){this.a=n,this.b=e,this.c=t}function hW(n,e,t){this.a=n,this.b=e,this.c=t}function yEn(n,e,t){this.a=n,this.b=e,this.c=t}function jEn(n,e,t){this.a=n,this.b=e,this.c=t}function E1(n,e,t){this.e=n,this.a=e,this.c=t}function EEn(n,e,t){Cs(),jX.call(this,n,e,t)}function RD(n,e,t){Cs(),uX.call(this,n,e,t)}function lW(n,e,t){Cs(),uX.call(this,n,e,t)}function aW(n,e,t){Cs(),uX.call(this,n,e,t)}function TEn(n,e,t){Cs(),RD.call(this,n,e,t)}function dW(n,e,t){Cs(),RD.call(this,n,e,t)}function CEn(n,e,t){Cs(),dW.call(this,n,e,t)}function MEn(n,e,t){Cs(),lW.call(this,n,e,t)}function SEn(n,e,t){Cs(),aW.call(this,n,e,t)}function L8(n,e){return ve(n),ve(e),new X8n(n,e)}function O2(n,e){return ve(n),ve(e),new REn(n,e)}function u(n,e){return q5(null==n||jL(n,e)),n}function jp(n){var e;return wF(e=new X,n),e}function AEn(n){var e;return PF(e=new mG,n),e}function N8(n){var e;return PF(e=new Ct,n),e}function Hoe(n){return!n.e&&(n.e=new X),n.e}function W(n,e){return n.c[n.c.length]=e,!0}function PEn(n,e){this.c=n,this.b=e,this.a=!1}function bW(n){this.d=n,F4n(this),this.b=function Lfe(n){return I(n,15)?u(n,15).Yc():n.Kc()}(n.d)}function IEn(){this.a=";,;",this.b="",this.c=""}function Goe(n,e,t){OTn.call(this,e,t),this.a=n}function OEn(n,e,t){this.b=n,Ukn.call(this,e,t)}function wW(n,e,t){this.c=n,iE.call(this,e,t)}function gW(n,e,t){BY(t,0,n,e,t.length,!1)}function vh(n,e,t,r,i){n.b=e,n.c=t,n.d=r,n.a=i}function vW(n,e,t,r,i){n.d=e,n.c=t,n.a=r,n.b=i}function pW(n){var e;e=n.b,n.b=n.c,n.c=e}function mW(n){var t;t=n.d,n.d=n.a,n.a=t}function kW(n){return Tl(function Jfe(n){return Bc(~n.l&Bu,~n.m&Bu,~n.h&o1)}(Fi(n)?Ws(n):n))}function Ep(){Ep=F,J(),Bon=qn,FP=Xn}function DEn(){this.b=K(Y(cn((Zo(),hR))))}function $En(n){return pa(),L(Zn,rn,1,n,5,1)}function Xoe(n){return new fn(n.c+n.b,n.d+n.a)}function KD(n){return ne(0!=n.b),Os(n,n.a.a)}function Qoe(n){return ne(0!=n.b),Os(n,n.c.b)}function yW(n,e){if(!n)throw C(new H9n(e))}function zE(n,e){if(!n)throw C(new Kn(e))}function jW(n,e,t){wp.call(this,n,e),this.b=t}function x8(n,e,t){xU.call(this,n,e),this.c=t}function FEn(n,e,t){lIn.call(this,e,t),this.d=n}function EW(n){tW(),mj.call(this),this.th(n)}function LEn(n,e,t){this.a=n,Bw.call(this,e,t)}function NEn(n,e,t){this.a=n,Bw.call(this,e,t)}function WE(n,e,t){xU.call(this,n,e),this.c=t}function xEn(){Bp(),whe.call(this,(fl(),ao))}function BEn(n){return null!=n&&!oL(n,A9,P9)}function Joe(n,e){return(WDn(n)<<4|WDn(e))&Gt}function ka(n,e){n.n&&W(n.f,e)}function Tp(n,e,t){Xo(n,e,new bb(t))}function TW(n,e){return n.g=e<0?-1:e,n}function XE(n,e){return function x0e(n){var e;return(e=j.Math.sqrt(n.a*n.a+n.b*n.b))>0&&(n.a/=e,n.b/=e),n}(n),n.a*=e,n.b*=e,n}function _En(n,e,t,r,i){n.c=e,n.d=t,n.b=r,n.a=i}function Ke(n,e){return Rt(n,e,n.c.b,n.c),!0}function CW(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function HD(n){this.b=n,this.a=_d(this.b.a).Ed()}function REn(n,e){this.b=n,this.a=e,nO.call(this)}function KEn(n,e){this.a=n,this.b=e,nO.call(this)}function HEn(n,e){OTn.call(this,e,1040),this.a=n}function B8(n){return 0==n||isNaN(n)?n:n<0?-1:1}function Bd(n,e){return F6(n,new wp(e.a,e.b))}function VE(n){var e;return n.a.b+(e=n.n).d+e.a}function qEn(n){var e;return n.e.b+(e=n.n).d+e.a}function MW(n){var e;return n.e.a+(e=n.n).b+e.c}function GEn(n){return Qe(),new ph(0,n)}function q5(n){if(!n)throw C(new cp(null))}function UEn(){UEn=F,An(),QH=new uO(E_)}function QE(){QE=F,new EJ((vO(),L_),(pO(),F_))}function zEn(){zEn=F,Vrn=L(qr,q,19,256,0,1)}function qD(n,e,t,r){YQ.call(this,n,e,t,r,0,0)}function GD(n){return n.e.c.length+n.g.c.length}function WEn(n){return n.e.c.length-n.g.c.length}function XEn(n){return n.b.c.length-n.e.c.length}function VEn(n){tW(),EW.call(this,n),this.a=-1}function JE(n,e){j8.call(this,n,e),this.a=this}function Et(n,e){var t;return(t=l$(n,e)).i=2,t}function YE(n,e){return++n.j,n.Ti(e)}function Ye(n,e,t){return n.a=-1,kz(n,e.g,t),n}function ffe(n,e,t){!function nTe(n,e,t,r,i){var c,o,f,g,v,z,en,ln,wn,Gn,zn,se;null==(Gn=te(n.e,r))&&(v=u(Gn=new v2,183),g=new bb(e+"_s"+i),Xo(v,uh,g)),L2(t,wn=u(Gn,183)),Ta(se=new v2,"x",r.j),Ta(se,"y",r.k),Xo(wn,Aqn,se),Ta(en=new v2,"x",r.b),Ta(en,"y",r.c),Xo(wn,"endPoint",en),!t8((!r.a&&(r.a=new Vt(fo,r,5)),r.a))&&(c=new amn(z=new da),Ir((!r.a&&(r.a=new Vt(fo,r,5)),r.a),c),Xo(wn,BS,z)),!!TL(r)&&gY(n.a,wn,orn,eN(n,TL(r))),!!CL(r)&&gY(n.a,wn,srn,eN(n,CL(r))),!(0==(!r.e&&(r.e=new $n(Mt,r,10,9)),r.e).i)&&(o=new Dkn(n,ln=new da),Ir((!r.e&&(r.e=new $n(Mt,r,10,9)),r.e),o),Xo(wn,hrn,ln)),0!=(!r.g&&(r.g=new $n(Mt,r,9,10)),r.g).i&&(f=new $kn(n,zn=new da),Ir((!r.g&&(r.g=new $n(Mt,r,9,10)),r.g),f),Xo(wn,frn,zn))}(n.a,n.b,n.c,u(e,202),t)}function UD(n,e,t){return new eEn(function ghe(n){return 0>=n?new eU:function tbe(n){return 0>n?new eU:new Fz(null,new pAn(n+1,n))}(n-1)}(n).Ie(),t,e)}function ya(n,e,t,r,i,c){return ZFn(n,e,t,r,i,0,c)}function QEn(){QEn=F,zrn=L(yv,q,217,256,0,1)}function JEn(){JEn=F,Qrn=L(A0,q,162,256,0,1)}function YEn(){YEn=F,Zrn=L(P0,q,184,256,0,1)}function ZEn(){ZEn=F,Xrn=L(Im,q,172,128,0,1)}function SW(){vh(this,!1,!1,!1,!1)}function zD(n){wb(),this.a=(An(),new uO(ve(n)))}function ZE(n){for(ve(n);n.Ob();)n.Pb(),n.Qb()}function AW(n){this.c=n,this.b=this.c.d.vc().Kc()}function nTn(n){this.c=n,this.a=new y2(this.c.a)}function G5(n){this.a=new k2(n.gc()),zr(this,n)}function PW(n){Jq.call(this,new Sa),zr(this,n)}function eTn(n,e){return n.a+=Xs(e,0,e.length),n}function un(n,e){return Ln(e,n.c.length),n.c[e]}function tTn(n,e){return Ln(e,n.a.length),n.a[e]}function Dn(n,e){pa(),iF.call(this,n),this.a=e}function IW(n,e){return function bfe(n,e){return _a(_r(_a(n.a).a,e.a))}(u(n,162),u(e,162))}function rTn(n){return n.c-u(un(n.a,n.b),287).b}function iTn(n){return n.q?n.q:(An(),An(),$h)}function cTn(n){return n.e.Hd().gc()*n.c.Hd().gc()}function OW(n,e,t){return j.Math.min(t/n,1/e)}function uTn(n,e){return n?0:j.Math.max(0,e-1)}function sTn(n){var e;return(e=eLn(n))?sTn(e):n}function Tfe(n,e){return null==n.a&&gBn(n),n.a[e]}function Xu(n){return n.c?n.c.f:n.e.b}function wu(n){return n.c?n.c.g:n.e.a}function nT(n){Yd.call(this,n.gc()),Dt(this,n)}function eT(n,e){Cs(),Sj.call(this,e),this.a=n}function U5(n,e,t){this.a=n,Vt.call(this,e,t,2)}function tT(n,e,t,r){vW(this,n,e,t,r)}function ph(n,e){Qe(),yd.call(this,n),this.a=e}function oTn(n){this.b=new Ct,this.a=n,this.c=-1}function fTn(){this.d=new fn(0,0),this.e=new sr}function hTn(n){yz.call(this,0,0),this.a=n,this.b=0}function lTn(n){this.a=n,this.c=new we,function wwe(n){var e,t,r,i;for(r=0,i=(t=n.a).length;r>>e,i=n.m>>e|t<<22-e,r=n.l>>e|n.m<<22-e):e<44?(c=0,i=t>>>e-22,r=n.m>>e-22|n.h<<44-e):(c=0,i=0,r=t>>>e-44),Bc(r&Bu,i&Bu,c&o1)}(Fi(n)?Ws(n):n,e))}function Nfe(n,e){return function bue(n,e){return Hn(),n==e?0:n?1:-1}((_n(n),n),(_n(e),e))}function n$(n,e){return Jt((_n(n),n),(_n(e),e))}function MTn(n,e){return ve(e),n.a.Ad(e)&&!n.b.Ad(e)}function oT(n,e){return D7(n,(_n(e),new _4n(e)))}function fT(n,e){return D7(n,(_n(e),new R4n(e)))}function STn(n){return gu(),0!=u(n,11).e.c.length}function ATn(n){return gu(),0!=u(n,11).g.c.length}function PTn(n,e,t){return function ETe(n,e,t){var r,i,c,o,f,h,l,a,d,g;if(0!=e.e.c.length&&0!=t.e.c.length){if((r=u(un(e.e,0),17).c.i)==(o=u(un(t.e,0),17).c.i))return Wc(u(k(u(un(e.e,0),17),(G(),bc)),19).a,u(k(u(un(t.e,0),17),bc),19).a);for(d=0,g=(a=n.a).length;df?1:0:(n.b&&(n.b._b(c)&&(i=u(n.b.xc(c),19).a),n.b._b(h)&&(f=u(n.b.xc(h),19).a)),if?1:0)):0!=e.e.c.length&&0!=t.g.c.length?1:-1}(n,u(e,11),u(t,11))}function Kfe(n){return n.e?sV(n.e):null}function UW(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function Cp(n,e){if(n<0||n>=e)throw C(new wG)}function ITn(n,e,t){return gg(),Yp(n,e)&&Yp(n,t)}function X5(n){return Su(),!n.Hc(w1)&&!n.Hc(na)}function hT(n){return new fn(n.c+n.b/2,n.d+n.a/2)}function e$(n,e){return e.kh()?Sl(n.b,u(e,49)):e}function zW(n,e){this.e=n,this.d=64&e?e|Jf:e}function OTn(n,e){this.c=0,this.d=n,this.b=64|e|Jf}function lT(n){this.b=new Oc(11),this.a=(zw(),n)}function t$(n){this.b=null,this.a=(zw(),n||fin)}function DTn(n){this.a=eFn(n.a),this.b=new bu(n.b)}function $Tn(n){this.b=n,S2.call(this,n),Nyn(this)}function FTn(n){this.b=n,C8.call(this,n),xyn(this)}function db(n,e,t){this.a=n,P2.call(this,e,t,5,6)}function WW(n,e,t,r){this.b=n,Vt.call(this,e,t,r)}function dr(n,e,t,r,i){sF.call(this,n,e,t,r,i,-1)}function V5(n,e,t,r,i){i7.call(this,n,e,t,r,i,-1)}function V(n,e,t,r){Vt.call(this,n,e,t),this.b=r}function aT(n,e,t,r){x8.call(this,n,e,t),this.b=r}function LTn(n){Bkn.call(this,n,!1),this.a=!1}function NTn(n,e){this.b=n,v4n.call(this,n.b),this.a=e}function xTn(n,e){wb(),Wre.call(this,n,RC(new Uu(e)))}function dT(n,e){return Qe(),new sX(n,e,0)}function r$(n,e){return Qe(),new sX(6,n,e)}function Ufe(n,e){return Mn(n.substr(0,e.length),e)}function Vu(n,e){return vr(e)?C$(n,e):!!Ai(n.f,e)}function Ar(n,e){for(_n(e);n.Ob();)e.td(n.Pb())}function Gw(n,e,t){Dl(),this.e=n,this.d=e,this.a=t}function T1(n,e,t,r){var i;(i=n.i).i=e,i.a=t,i.b=r}function XW(n){var e;for(e=n;e.f;)e=e.f;return e}function F2(n){var e;return ne(null!=(e=p6(n))),e}function zfe(n){var e;return ne(null!=(e=function Oge(n){var e;return null==(e=n.a[n.c-1&n.a.length-1])?null:(n.c=n.c-1&n.a.length-1,St(n.a,n.c,null),e)}(n))),e}function Mp(n,e){var t;return cV(e,t=n.a.gc()),t-e}function VW(n,e){var t;for(t=0;tn||n>e)throw C(new RG("fromIndex: 0, toIndex: "+n+Ann+e))}(e,n.length),new HEn(n,e)}(n,n.length))}function gl(n){return new ie(new sz(n.a.length,n.a))}function u$(n){return typeof n===wk||typeof n===ZN}function BTn(n,e){return hc(n,e)<0?-1:hc(n,e)>0?1:0}function nX(n,e,t){return P_n(n,u(e,46),u(t,167))}function _Tn(n,e){return u(GW(_d(n.a)).Xb(e),42).cd()}function s$(n,e){this.d=n,re.call(this,n),this.e=e}function Rd(n){this.d=(_n(n),n),this.a=0,this.c=JM}function eX(n,e){yd.call(this,1),this.a=n,this.b=e}function RTn(n,e){return n.c?RTn(n.c,e):W(n.b,e),n}function the(n,e,t){var r;return r=yb(n,e),U$(n,e,t),r}function tX(n,e){return mV(n.slice(0,e),n)}function KTn(n,e,t){var r;for(r=0;r=14&&t<=16);case 11:return null!=e&&typeof e===ZN;case 12:return null!=e&&(typeof e===wk||typeof e==ZN);case 0:return jL(e,n.__elementTypeId$);case 2:return u$(e)&&e.im!==wt;case 1:return u$(e)&&e.im!==wt||jL(e,n.__elementTypeId$);default:return!0}}(n,t)),n[e]=t}function cX(n,e){var t;return J8(e,t=n.a.gc()),t-1-e}function Ap(n,e){return n.a+=String.fromCharCode(e),n}function vl(n,e){return n.a+=String.fromCharCode(e),n}function b$(n,e){for(_n(e);n.c0?(iM(n,t,0),t.a+=String.fromCharCode(r),iM(n,t,i=z2e(e,c)),c+=i-1):39==r?c+1=n.g}function g$(n,e,t){return IZ(n,SF(n,e,t))}function L2(n,e){var t;yb(n,t=n.a.length),U$(n,t,e)}function tCn(n,e){console[n].call(console,e)}function rCn(n,e){var t;++n.j,t=n.Vi(),n.Ii(n.oi(t,e))}function uX(n,e,t){Sj.call(this,e),this.a=n,this.b=t}function sX(n,e,t){yd.call(this,n),this.a=e,this.b=t}function oX(n,e,t){this.a=n,sG.call(this,e),this.b=t}function iCn(n,e,t){this.a=n,BX.call(this,8,e,null,t)}function whe(n){this.a=(_n(Le),Le),this.b=n,new AG}function cCn(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function fX(n){this.c=n,this.b=n.a.d.a,Iz(n.a.e,this)}function Qu(n){ub(-1!=n.c),n.d.$c(n.c),n.b=n.c,n.c=-1}function Y5(n){return j.Math.sqrt(n.a*n.a+n.b*n.b)}function Hd(n,e){return Cp(e,n.a.c.length),un(n.a,e)}function Wf(n,e){return B(n)===B(e)||null!=n&&et(n,e)}function uCn(n){return n?n.dc():!n.Kc().Ob()}function Rr(n){return!n.a&&n.c?n.c.b:n.a}function phe(n){return!n.a&&(n.a=new Vt(ea,n,4)),n.a}function qd(n){return!n.d&&(n.d=new Vt(hi,n,1)),n.d}function _n(n){if(null==n)throw C(new Z4);return n}function Z5(n){n.c?n.c.He():(n.d=!0,function E8e(n){var e,t,r,i,c;if(c=new X,Zc(n.b,new e5n(c)),n.b.c=L(Zn,rn,1,0,5,1),0!=c.c.length){for(Ln(0,c.c.length),e=u(c.c[0],78),t=1,r=c.c.length;t0;)n=n<<1|(n<0?1:0);return n}function mc(n,e){return B(n)===B(e)||null!=n&&et(n,e)}function ai(n,e){return VD(n.a,e)?n.b[u(e,22).g]:null}function Lhe(n,e,t,r){n.a=rs(n.a,0,e)+""+r+E8(n.a,t)}function pCn(n,e){n.u.Hc((Su(),w1))&&function _6e(n,e){var t,r,i,c;for(t=(c=u(ai(n.b,e),124)).a,i=u(u(it(n.r,e),21),84).Kc();i.Ob();)(r=u(i.Pb(),111)).c&&(t.a=j.Math.max(t.a,MW(r.c)));if(t.a>0)switch(e.g){case 2:c.n.c=n.s;break;case 4:c.n.b=n.s}}(n,e),function yde(n,e){var t;n.C&&((t=u(ai(n.b,e),124).n).d=n.C.d,t.a=n.C.a)}(n,e)}function Pr(n,e){return Ce(e,n.length),n.charCodeAt(e)}function mCn(){Ri.call(this,"There is no more element.")}function n6(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function kCn(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function Ge(n,e,t,r){return mOn(n,e,t,!1),KC(n,r),n}function pT(n){return!n.n&&(n.n=new V(_i,n,1,7)),n.n}function v$(n){return!n.c&&(n.c=new V(Ku,n,9,9)),n.c}function Op(n){return n.e==e4&&function Ste(n,e){n.e=e}(n,function tve(n,e){var t,r;return(t=e.Hh(n.a))&&null!=(r=Te(Qo((!t.b&&(t.b=new Wu((Sn(),Jr),rc,t)),t.b),ze)))?r:e.ne()}(n.g,n.b)),n.e}function H8(n){return n.f==e4&&function Ate(n,e){n.f=e}(n,function qpe(n,e){var t,r;return(t=e.Hh(n.a))?(r=Te(Qo((!t.b&&(t.b=new Wu((Sn(),Jr),rc,t)),t.b),ZS)),Mn(Gk,r)?z5(n,ss(e.Hj())):r):null}(n.g,n.b)),n.f}function Uw(n){var e;return!(e=n.b)&&(n.b=e=new h4n(n)),e}function dX(n){var e;for(e=n.Kc();e.Ob();)e.Pb(),e.Qb()}function Dp(n){if(Lu(n.d),n.d.d!=n.c)throw C(new Ts)}function bX(n,e){this.b=n,this.c=e,this.a=new y2(this.b)}function p$(n,e,t){this.a=Enn,this.d=n,this.b=e,this.c=t}function yCn(n,e){this.d=(_n(n),n),this.a=16449,this.c=e}function _he(n,e){ZDn(n,K(Zh(e,"x")),K(Zh(e,"y")))}function Rhe(n,e){ZDn(n,K(Zh(e,"x")),K(Zh(e,"y")))}function gt(n,e){return Ba(n),new Dn(n,new pV(e,n.a))}function Vc(n,e){return Ba(n),new Dn(n,new uV(e,n.a))}function mT(n,e){return Ba(n),new $z(n,new IAn(e,n.a))}function kT(n,e){return Ba(n),new Fz(n,new OAn(e,n.a))}function jCn(n){this.a=new X,this.e=L(be,q,48,n,0,2)}function m$(n,e,t,r){this.a=n,this.e=e,this.d=t,this.c=r}function yT(n,e,t,r){this.a=n,this.c=e,this.b=t,this.d=r}function wX(n,e,t,r){this.c=n,this.b=e,this.a=t,this.d=r}function ECn(n,e,t,r){this.c=n,this.b=e,this.d=t,this.a=r}function Ss(n,e,t,r){this.c=n,this.d=e,this.b=t,this.a=r}function TCn(n,e,t,r){this.a=n,this.d=e,this.c=t,this.b=r}function N2(n,e,t,r){Oe.call(this,n,e),this.a=t,this.b=r}function CCn(n,e,t,r){this.a=n,this.c=e,this.d=t,this.b=r}function Whe(n,e,t){(function rje(n,e){var t,r,i,c;for(function R0e(n){var e;for(e=0;e(r=Ht(t))&&++r,r}function zh(n){var t;return Gp(t=new jd,n),t}function y$(n){var t;return yY(t=new jd,n),t}function j$(n){return function cbe(n){var e;return I(e=k(n,(G(),rt)),160)?s$n(u(e,160)):null}(n)||null}function SCn(n){return!n.b&&(n.b=new V(lr,n,12,3)),n.b}function ACn(n,e,t){t.a?eu(n,e.b-n.f/2):nu(n,e.a-n.g/2)}function PCn(n,e,t,r){this.a=n,this.b=e,this.c=t,this.d=r}function ICn(n,e,t,r){this.a=n,this.b=e,this.c=t,this.d=r}function Ea(n,e,t,r){this.e=n,this.a=e,this.c=t,this.d=r}function OCn(n,e,t,r){this.a=n,this.c=e,this.d=t,this.b=r}function DCn(n,e,t,r){Cs(),TAn.call(this,e,t,r),this.a=n}function $Cn(n,e,t,r){Cs(),TAn.call(this,e,t,r),this.a=n}function FCn(n,e){this.a=n,cue.call(this,n,u(n.d,15).Zc(e))}function E$(n){this.f=n,this.c=this.f.e,n.f>0&&zFn(this)}function LCn(n,e,t,r){this.b=n,this.c=r,fD.call(this,e,t)}function NCn(n){return ne(n.b0?(j.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}(),n=new FI,K_=e?new RI:n}function S$(n,e){var t;return t=sl(n.gm),null==e?t:t+": "+e}function YCn(n,e){var t;return qSn(t=n.b.Qc(e),n.b.gc()),t}function G8(n,e){if(null==n)throw C(new p2(e));return n}function Ai(n,e){return EDn(n,e,function ele(n,e){return n.a.get(e)??new Array}(n,null==e?0:n.b.se(e)))}function k1e(n,e,t){return t>=0&&Mn(n.substr(t,e.length),e)}function kl(n,e,t,r,i,c,o){return new W$(n.e,e,t,r,i,c,o)}function ZCn(n,e,t,r,i,c){this.a=n,kF.call(this,e,t,r,i,c)}function nMn(n,e,t,r,i,c){this.a=n,kF.call(this,e,t,r,i,c)}function eMn(n,e){this.g=n,this.d=S(M(Fh,1),_1,10,0,[e])}function C1(n,e){this.e=n,this.a=Zn,this.b=TBn(e),this.c=e}function tMn(n,e){KE.call(this),SV(this),this.a=n,this.c=e}function U8(n,e,t,r){St(n.c[e.g],t.g,r),St(n.c[t.g],e.g,r)}function A$(n,e,t,r){St(n.c[e.g],e.g,t),St(n.b[e.g],e.g,r)}function AT(n,e,t,r){return t>=0?n.jh(e,t,r):n.Sg(null,t,r)}function P$(n){return 0==n.b.b?n.a.$e():KD(n.b)}function yX(n){return B(n.a)===B((IF(),WH))&&function Gje(n){var e,t,r,i,c,o,f,h,l,a;for(e=new YI,t=new YI,l=Mn(Hk,(i=q6(n.b,Le))?Te(Qo((!i.b&&(i.b=new Wu((Sn(),Jr),rc,i)),i.b),no)):null),h=0;h=0?n.sh(r,t):aZ(n,e,t)}function Ww(n,e,t){FT(),n&&tt(GH,n,e),n&&tt(Yy,n,t)}function sMn(n,e,t){this.i=new X,this.b=n,this.g=e,this.a=t}function DT(n,e,t){this.c=new X,this.e=n,this.f=e,this.b=t}function TX(n,e,t){this.a=new X,this.e=n,this.f=e,this.c=t}function oMn(n,e){PE(this),this.f=e,this.g=n,jT(this),this._d()}function z8(n,e){var t;t=n.q.getHours(),n.q.setDate(e),G6(n,t)}function fMn(n,e){var t;for(ve(e),t=n.a;t;t=t.c)e.Od(t.g,t.i)}function hMn(n){var e;return wQ(e=new Kj(jb(n.length)),n),e}function Wh(n,e){if(null==e)throw C(new Z4);return function W2e(n,e){var r,t=n.a;e=String(e),t.hasOwnProperty(e)&&(r=t[e]);var i=(FF(),H_)[typeof r];return i?i(r):AQ(typeof r)}(n,e)}function W8(n){return n.Db>>16!=3?null:u(n.Cb,33)}function lf(n){return n.Db>>16!=9?null:u(n.Cb,33)}function lMn(n){return n.Db>>16!=6?null:u(n.Cb,79)}function aMn(n){return n.Db>>16!=7?null:u(n.Cb,235)}function dMn(n){return n.Db>>16!=7?null:u(n.Cb,160)}function At(n){return n.Db>>16!=11?null:u(n.Cb,33)}function bMn(n,e){var t;return(t=n.Yg(e))>=0?n.lh(t):uN(n,e)}function wMn(n,e){var t;return gLn(t=new PW(e),n),new bu(t)}function CX(n){var e;return e=n.d,e=n.si(n.f),me(n,e),e.Ob()}function gMn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function D$(n,e){return j.Math.abs(n)>16!=3?null:u(n.Cb,147)}function Fp(n){return n.Db>>16!=6?null:u(n.Cb,235)}function gb(n){return n.Db>>16!=17?null:u(n.Cb,26)}function kMn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.le(e))}function ki(n,e,t){return null==e?Rc(n.f,null,t):u0(n.g,e,t)}function t6(n,e,t,r,i,c){return new Jh(n.e,e,n.aj(),t,r,i,c)}function X8(n,e,t){return n.a=rs(n.a,0,e)+""+t+E8(n.a,e),n}function rle(n,e,t){return W(n.a,(vT(),IL(e,t),new Id(e,t))),n}function MX(n){return az(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function yMn(n){return az(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function jr(n,e){n.d&&Jc(n.d.e,n),n.d=e,n.d&&W(n.d.e,n)}function Br(n,e){n.c&&Jc(n.c.g,n),n.c=e,n.c&&W(n.c.g,n)}function yi(n,e){n.c&&Jc(n.c.a,n),n.c=e,n.c&&W(n.c.a,n)}function Hi(n,e){n.i&&Jc(n.i.j,n),n.i=e,n.i&&W(n.i.j,n)}function jMn(n,e,t){this.a=e,this.c=n,this.b=(ve(t),new bu(t))}function EMn(n,e,t){this.a=e,this.c=n,this.b=(ve(t),new bu(t))}function TMn(n,e){this.a=n,this.c=Ji(this.a),this.b=new ST(e)}function vb(n,e){if(n<0||n>e)throw C(new pi(Onn+n+Dnn+e))}function SX(n,e){return bTn(n.a,e)?JW(n,u(e,22).g,null):null}function CMn(){CMn=F,gUn=Fe(($j(),S(M(wUn,1),U,538,0,[B_])))}function MMn(){MMn=F,tJn=Tu(new or,(Wr(),Oi),(ti(),uy))}function AX(){AX=F,rJn=Tu(new or,(Wr(),Oi),(ti(),uy))}function SMn(){SMn=F,cJn=Tu(new or,(Wr(),Oi),(ti(),uy))}function AMn(){AMn=F,kJn=Ye(new or,(Wr(),Oi),(ti(),Nm))}function is(){is=F,EJn=Ye(new or,(Wr(),Oi),(ti(),Nm))}function PMn(){PMn=F,TJn=Ye(new or,(Wr(),Oi),(ti(),Nm))}function F$(){F$=F,PJn=Ye(new or,(Wr(),Oi),(ti(),Nm))}function IMn(){IMn=F,wYn=Tu(new or,(p3(),u9),(N6(),HK))}function Ca(n,e,t,r){this.c=n,this.d=r,N$(this,e),x$(this,t)}function _2(n){this.c=new Ct,this.b=n.b,this.d=n.c,this.a=n.a}function L$(n){this.a=j.Math.cos(n),this.b=j.Math.sin(n)}function N$(n,e){n.a&&Jc(n.a.k,n),n.a=e,n.a&&W(n.a.k,n)}function x$(n,e){n.b&&Jc(n.b.f,n),n.b=e,n.b&&W(n.b.f,n)}function OMn(n,e){(function bhe(n,e,t){u(e.b,65),Zc(e.a,new fW(n,t,e))})(n,n.b,n.c),u(n.b.b,65),e&&u(e.b,65)}function B$(n,e){I(n.Cb,88)&&Nb(Du(u(n.Cb,88)),4),Dc(n,e)}function LT(n,e){I(n.Cb,179)&&(u(n.Cb,179).tb=null),Dc(n,e)}function yc(n,e){return Zr(),bF(e)?new JE(e,n):new j8(e,n)}function DMn(n){var t;return fp(),Gp(t=new jd,n),t}function $Mn(n){var t;return fp(),Gp(t=new jd,n),t}function FMn(n,e){var t;return t=new Us(n),e.c[e.c.length]=t,t}function LMn(n,e){var t;return(t=u(Sb(B2(n.a),e),14))?t.gc():0}function NMn(n){return Ba(n),zw(),zw(),hC(n,hin)}function xMn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function PX(n,e){Jte.call(this,new k2(jb(n))),os(e,QRn),this.a=e}function yh(n,e,t){GDn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function BMn(n,e,t){GDn(e,t,n.c.length),ZG(n.c,e,t-e)}function Ln(n,e){if(n<0||n>=e)throw C(new pi(Onn+n+Dnn+e))}function Ce(n,e){if(n<0||n>=e)throw C(new KG(Onn+n+Dnn+e))}function Fn(n,e){this.b=(_n(n),n),this.a=e&Ub?e:64|e|Jf}function _Mn(n){gyn(this),Qmn(this.a,dQ(j.Math.max(8,n))<<1)}function df(n){return Gi(S(M(hr,1),q,8,0,[n.i.n,n.n,n.a]))}function Nle(n,e){return function r9e(n,e,t){var r,i,c,o,f,h;if(o=new pj,f=Kc(n.e.Tg(),e),r=u(n.g,119),Zr(),u(e,66).Oj())for(c=0;c0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function sSn(n){return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function oSn(n){return UD(n.e.Hd().gc()*n.c.Hd().gc(),16,new c4n(n))}function Vf(n){return u(yf(n,L(mR,eB,17,n.c.length,0,1)),474)}function V8(n){return u(yf(n,L(Fh,_1,10,n.c.length,0,1)),193)}function fSn(n,e,t){ve(n),function Dpe(n){var t,r,i;for(An(),ar(n.c,n.a),i=new E(n.c);i.a=0&&m=e)throw C(new pi(function v6e(n,e){if(n<0)return K6(GRn,S(M(Zn,1),rn,1,5,["index",Q(n)]));if(e<0)throw C(new Kn(URn+e));return K6("%s (%s) must be less than size (%s)",S(M(Zn,1),rn,1,5,["index",Q(n),Q(e)]))}(n,e)));return n}function aSn(n,e,t){if(n<0||et)throw C(new pi(function H5e(n,e,t){return n<0||n>t?LY(n,t,"start index"):e<0||e>t?LY(e,t,"end index"):K6("end index (%s) must not be less than start index (%s)",S(M(Zn,1),rn,1,5,[Q(e),Q(n)]))}(n,e,t)))}function H$(n,e){if(tr(n.a,e),e.d)throw C(new Ri(pKn));e.d=n}function q$(n,e){if(e.$modCount!=n.$modCount)throw C(new Ts)}function dSn(n,e){return!!I(e,42)&&DL(n.a,u(e,42))}function bSn(n,e){return!!I(e,42)&&DL(n.a,u(e,42))}function wSn(n,e){return!!I(e,42)&&DL(n.a,u(e,42))}function Vd(n){var e;return Fi(n)?-0==(e=n)?0:e:function b0e(n){return UJ(n,(qp(),Grn))<0?-function Ice(n){return n.l+n.m*hv+n.h*za}(i3(n)):n.l+n.m*hv+n.h*za}(n)}function _T(n){var e;return ml(n),e=new pd,$w(n.a,new Q4n(e)),e}function gSn(n){var e;return ml(n),e=new Mi,$w(n.a,new V4n(e)),e}function Sr(n,e){this.a=n,V4.call(this,n),vb(e,n.gc()),this.b=e}function xX(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function RT(n){return new Oc((os(n,tx),oC(_r(_r(5,n),n/10|0))))}function vSn(n){return u(yf(n,L(BWn,XKn,11,n.c.length,0,1)),1943)}function oae(n,e,t){n.d&&Jc(n.d.e,n),n.d=e,n.d&&lb(n.d.e,t,n)}function G$(n,e){(function eCe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N;if($=0,0==e.f.b)for(T=new E(n);T.a2e3&&(mUn=n,oA=j.setTimeout(Gre,10)),0==sA++&&(function p0e(n){var e,t;if(n.a){t=null;do{e=n.a,n.a=null,t=HLn(e,t)}while(n.a);n.a=t}}((BG(),Rrn)),!0)}();try{return function wue(n,e,t){return n.apply(e,t)}(n,e,t)}finally{!function yae(n){n&&function v0e(n){var e,t;if(n.b){t=null;do{e=n.b,n.b=null,t=HLn(e,t)}while(n.b);n.b=t}}((BG(),Rrn)),--sA,n&&-1!=oA&&(function cie(n){j.clearTimeout(n)}(oA),oA=-1)}(r)}}function pSn(n){var e;e=n.Wg(),this.a=I(e,69)?u(e,69).Zh():e.Kc()}function or(){D9n.call(this),this.j.c=L(Zn,rn,1,0,5,1),this.a=-1}function BX(n,e,t,r){this.d=n,this.n=e,this.g=t,this.o=r,this.p=-1}function mSn(n,e,t,r){this.e=r,this.d=null,this.c=n,this.a=e,this.b=t}function _X(n,e,t){this.d=new s6n(this),this.e=n,this.i=e,this.f=t}function KT(){KT=F,ZR=new jU(q3,0),$un=new jU("TOP_LEFT",1)}function kSn(){kSn=F,xon=wCn(Q(1),Q(4)),Non=wCn(Q(1),Q(2))}function ySn(){ySn=F,hZn=Fe((Jj(),S(M(fZn,1),U,551,0,[hH])))}function jSn(){jSn=F,oZn=Fe((Qj(),S(M(Nfn,1),U,482,0,[fH])))}function ESn(){ESn=F,AZn=Fe((d5(),S(M(rhn,1),U,530,0,[Py])))}function TSn(){TSn=F,Fzn=Fe((Xj(),S(M(Win,1),U,481,0,[rR])))}function CSn(n,e,t,r){return I(t,54)?new ljn(n,e,t,r):new qW(n,e,t,r)}function MSn(n,e){return u(xd(oT(u(it(n.k,e),15).Oc(),xg)),113)}function SSn(n,e){return u(xd(fT(u(it(n.k,e),15).Oc(),xg)),113)}function kae(n){return new Fn(function vbe(n,e){var t,r;for(An(),r=new X,t=0;t0}function _e(n){return ne(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function RX(n,e){_n(e),St(n.a,n.c,e),n.c=n.c+1&n.a.length-1,PFn(n)}function yl(n,e){_n(e),n.b=n.b-1&n.a.length-1,St(n.a,n.b,e),PFn(n)}function PSn(n,e){var t;for(t=n.j.c.length;t0&&vc(n.g,0,e,0,n.i),e}function $Sn(n,e){var t;return nE(),!(t=u(te(jI,n),55))||t.wj(e)}function Vh(n){var e;for(e=0;n.Ob();)n.Pb(),e=_r(e,1);return oC(e)}function FSn(n,e){var t;return t=new nb,n.xd(t),t.a+="..",e.yd(t),t.a}function HT(n,e,t){return _M(n,e,t,I(e,99)&&0!=(u(e,18).Bb&Vr))}function Rae(n,e,t){return function f9e(n,e,t,r){var i,c,o,f,h,l;if(f=new pj,h=Kc(n.e.Tg(),e),i=u(n.g,119),Zr(),u(e,66).Oj())for(o=0;on.c));o++)i.a>=n.s&&(c<0&&(c=o),f=o);return h=(n.s+n.c)/2,c>=0&&(h=function iie(n){return(n.c+n.a)/2}((Ln(r=function V7e(n,e,t,r){var i,c,o,f,h,l,a,d,g,v,p;if(c=t,t=t&&(r=e,h.c<=(l=(h.c+h.a)/2)-t&&lb(n,r++,new _D(h.c,l-t)),(f=l+t)<=h.a&&(c=new _D(f,h.a),vb(r,n.c.length),v5(n.c,r,c)))}(e,r,t)),h}(i,t,r))),function r5e(n,e,t){var r,i,c,o;for(c=e.q,o=e.r,new Ca((zo(),Xl),e,c,1),new Ca(Xl,c,o,1),i=new E(t);i.a0;)r+=n.a[t],t-=t&-t;return r}function dAn(n,e){var t;for(t=e;t;)sb(n,-t.i,-t.j),t=At(t);return n}function Ir(n,e){var t,r;for(_n(e),r=n.Kc();r.Ob();)t=r.Pb(),e.td(t)}function bAn(n,e){var t;return new Id(t=e.cd(),n.e.pc(t,u(e.dd(),14)))}function Rt(n,e,t,r){var i;(i=new mt).c=e,i.b=t,i.a=r,r.b=t.a=i,++n.b}function Ps(n,e,t){var r;return Ln(e,n.c.length),r=n.c[e],n.c[e]=t,r}function V$(n){return n.c&&n.d?OX(n.c)+"->"+OX(n.d):"e_"+Ld(n)}function xp(n,e){return(Ba(n),f5(new Dn(n,new pV(e,n.a)))).sd(o4)}function Ur(n){return!(!n.c||!n.d||!n.c.i||n.c.i!=n.d.i)}function wAn(n){if(!n.c.Sb())throw C(new ic);return n.a=!0,n.c.Ub()}function Y8(n){n.i=0,h8(n.b,null),h8(n.c,null),n.a=null,n.e=null,++n.g}function VX(n){sie.call(this,null==n?iu:xi(n),I(n,78)?u(n,78):null)}function gAn(n){KRn(),Rmn(this),this.a=new Ct,jQ(this,n),Ke(this.a,n)}function vAn(){bD(this),this.b=new fn(Ft,Ft),this.a=new fn(Wt,Wt)}function pAn(n,e){this.c=0,this.b=e,zkn.call(this,n,17493),this.a=this.c}function Q$(n){UT(),!Sf&&(this.c=n,this.e=!0,this.a=new X)}function UT(){UT=F,Sf=!0,BUn=!1,_Un=!1,KUn=!1,RUn=!1}function QX(n,e){return!!I(e,149)&&Mn(n.c,u(e,149).c)}function JX(n,e){var t;return t=0,n&&(t+=n.f.a/2),e&&(t+=e.f.a/2),t}function J$(n,e){return u(Jd(n.d,e),23)||u(Jd(n.e,e),23)}function mAn(n){this.b=n,re.call(this,n),this.a=u(Bn(this.b.a,4),126)}function kAn(n){this.b=n,A2.call(this,n),this.a=u(Bn(this.b.a,4),126)}function Du(n){return n.t||(n.t=new Imn(n),E6(new q9n(n),0,n.t)),n.t}function Bp(){var n,e;Bp=F,fp(),e=new Ij,MI=e,n=new dO,SI=n}function yAn(n){var e;return n.c||I(e=n.r,88)&&(n.c=u(e,26)),n.c}function Y$(n){return Bc(n&Bu,n>>22&Bu,n<0?o1:0)}function ade(n,e){var t,r;(t=u(function oge(n,e){ve(n);try{return n.Bc(e)}catch(t){if(I(t=jt(t),205)||I(t,173))return null;throw C(t)}}(n.c,e),14))&&(r=t.gc(),t.$b(),n.d-=r)}function jAn(n,e){var r;return!!(r=yQ(n,e.cd()))&&mc(r.e,e.dd())}function H2(n,e){return 0==e||0==n.e?n:e>0?m$n(n,e):Kxn(n,-e)}function YX(n,e){return 0==e||0==n.e?n:e>0?Kxn(n,e):m$n(n,-e)}function pe(n){if(Ae(n))return n.c=n.a,n.a.Pb();throw C(new ic)}function EAn(n){var t;return t=n.d.i,n.c.i.k==(Vn(),zt)&&t.k==zt}function Z$(n){var e;return Pi(e=new Ud,n),H(e,(nn(),Ci),null),e}function nF(n,e,t){var r;return(r=n.Yg(e))>=0?n._g(r,t,!0):b0(n,e,t)}function ZX(n,e,t,r){var i;for(i=0;ie)throw C(new pi(LY(n,e,"index")));return n}function eF(n,e,t,r){var i;return function T4e(n,e,t,r,i){var c,o;for(c=0,o=0;on.d[o.p]&&(t+=XX(n.b,c)*u(h.b,19).a,yl(n.a,Q(c)));for(;!i5(n.a);)CV(n.b,u(F2(n.a),19).a)}return t}(n,t)}function $An(n){var e;return n.a||I(e=n.r,148)&&(n.a=u(e,148)),n.a}function sV(n){return n.a?n.e?sV(n.e):null:n}function QT(n,e){return _n(e),n.c=0,"Initial capacity must not be negative")}function NAn(){NAn=F,ZUn=Fe((Vo(),S(M(ew,1),U,232,0,[nc,Nc,ec])))}function xAn(){xAn=F,ezn=Fe((Mu(),S(M(nzn,1),U,461,0,[oh,Kl,Oo])))}function BAn(){BAn=F,rzn=Fe((Yc(),S(M(tzn,1),U,462,0,[tf,Hl,Do])))}function _An(){_An=F,HUn=Fe((kf(),S(M(_u,1),U,132,0,[kin,ws,nw])))}function RAn(){RAn=F,pWn=Fe((f6(),S(M(bcn,1),U,379,0,[aR,lR,dR])))}function KAn(){KAn=F,$Wn=Fe((c0(),S(M(pcn,1),U,423,0,[Ng,vcn,pR])))}function HAn(){HAn=F,aXn=Fe((W2(),S(M(aun,1),U,314,0,[Cv,oy,lun])))}function qAn(){qAn=F,dXn=Fe((gC(),S(M(bun,1),U,337,0,[dun,ZA,_R])))}function GAn(){GAn=F,vXn=Fe((Fa(),S(M(gXn,1),U,450,0,[HR,p4,Rg])))}function UAn(){UAn=F,oXn=Fe((r0(),S(M(PR,1),U,361,0,[D0,Gl,O0])))}function zAn(){zAn=F,CXn=Fe((Yh(),S(M(TXn,1),U,303,0,[hy,Hg,Mv])))}function WAn(){WAn=F,EXn=Fe((t3(),S(M(YR,1),U,292,0,[QR,JR,fy])))}function XAn(){XAn=F,qQn=Fe((m6(),S(M(won,1),U,378,0,[AK,bon,PP])))}function VAn(){VAn=F,JQn=Fe((PC(),S(M(Aon,1),U,375,0,[Mon,NK,Son])))}function QAn(){QAn=F,WQn=Fe((n1(),S(M(Ton,1),U,339,0,[Wl,Eon,$K])))}function JAn(){JAn=F,QQn=Fe((ii(),S(M(VQn,1),U,452,0,[n9,Pu,xc])))}function YAn(){YAn=F,eJn=Fe((FC(),S(M(Lon,1),U,377,0,[RK,I4,gw])))}function ZAn(){ZAn=F,ZQn=Fe((f3(),S(M(Oon,1),U,336,0,[BK,Ion,e9])))}function nPn(){nPn=F,nJn=Fe((SC(),S(M(Fon,1),U,338,0,[$on,_K,Don])))}function ePn(){ePn=F,bJn=Fe((t0(),S(M(dJn,1),U,454,0,[Ey,t9,$P])))}function tPn(){tPn=F,yYn=Fe((UC(),S(M(kYn,1),U,442,0,[eH,ZK,nH])))}function rPn(){rPn=F,EYn=Fe((A7(),S(M(cfn,1),U,380,0,[UP,rfn,ifn])))}function iPn(){iPn=F,RYn=Fe((GC(),S(M(Efn,1),U,381,0,[jfn,sH,yfn])))}function cPn(){cPn=F,_Yn=Fe((AC(),S(M(mfn,1),U,293,0,[uH,pfn,vfn])))}function uPn(){uPn=F,sZn=Fe((F7(),S(M(oH,1),U,437,0,[XP,VP,QP])))}function sPn(){sPn=F,lne=Fe((e1(),S(M(a1n,1),U,334,0,[fI,Q1,m9])))}function oPn(){oPn=F,sne=Fe((vf(),S(M(n1n,1),U,272,0,[L4,kw,N4])))}function Aa(n,e){return!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),aL(n.o,e)}function t7(n){return!n.g&&(n.g=new vj),!n.g.c&&(n.g.c=new Pmn(n)),n.g.c}function tF(n,e,t){var r;if(null!=t)for(r=0;r=i){for(o=1;ot||e=0?n._g(t,!0,!0):b0(n,e,!0)}function wPn(){wPn=F,gYn=h0(h0(Zj(new or,(p3(),c9)),(N6(),BP)),qK)}function Vde(n){for(;!n.a;)if(!rEn(n.c,new J4n(n)))return!1;return!0}function z2(n){return ve(n),I(n,198)?u(n,198):new g4n(n)}function ZT(){ZT=F,$Zn=new t2n,LZn=new r2n,FZn=function Fwe(n,e,t,r){return vT(),new mO(S(M(ed,1),YM,42,0,[(IL(n,e),new Id(n,e)),(IL(t,r),new Id(t,r))]))}((We(),DH),$Zn,Ql,LZn)}function nC(){nC=F,efn=new $U("LEAF_NUMBER",0),tH=new $U("NODE_SIZE",1)}function oF(n){n.a=L(be,Ne,25,n.b+1,15,1),n.c=L(be,Ne,25,n.b,15,1),n.d=0}function vV(n,e){if(null==n.g||e>=n.i)throw C(new hD(e,n.i));return n.g[e]}function gPn(n,e,t){if(u3(n,t),null!=t&&!n.wj(t))throw C(new hO);return t}function vPn(n){var e;if(n.Ek())for(e=n.i-1;e>=0;--e)O(n,e);return HX(n)}function Zde(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function n0e(n,e){var t;return _Sn(e),(t=mV(n.slice(0,e),n)).length=e,t}function Kp(n,e,t,r){zw(),r=r||fin,NY(n.slice(e,t),n,e,t,-e,r)}function Is(n,e,t,r,i){return e<0?b0(n,t,r):u(t,66).Nj().Pj(n,n.yh(),e,r,i)}function pPn(n,e){if(e.a)throw C(new Ri(pKn));tr(n.a,e),e.a=n,!n.j&&(n.j=e)}function pV(n,e){fD.call(this,e.rd(),-16449&e.qd()),_n(n),this.a=n,this.c=e}function mPn(n,e){var t,r;return r=e/n.c.Hd().gc()|0,t=e%n.c.Hd().gc(),U2(n,r,t)}function Mu(){Mu=F,oh=new xO(lv,0),Kl=new xO(q3,1),Oo=new xO(av,2)}function eC(){eC=F,W_=new rE("All",0),gin=new byn,vin=new Myn,pin=new wyn}function kPn(){kPn=F,NUn=Fe((eC(),S(M(bA,1),U,297,0,[W_,gin,vin,pin])))}function yPn(){yPn=F,SWn=Fe((r3(),S(M(MWn,1),U,405,0,[I0,rw,tw,Lg])))}function jPn(){jPn=F,Azn=Fe((i0(),S(M(Szn,1),U,406,0,[Qk,Vk,eR,tR])))}function EPn(){EPn=F,Izn=Fe((nv(),S(M(Pzn,1),U,323,0,[Yk,Jk,Zk,ny])))}function TPn(){TPn=F,$zn=Fe((P6(),S(M(Dzn,1),U,394,0,[ey,mA,kA,ty])))}function CPn(){CPn=F,JJn=Fe((p3(),S(M(Ron,1),U,393,0,[xP,c9,Cy,u9])))}function MPn(){MPn=F,zWn=Fe(($C(),S(M(UWn,1),U,360,0,[SR,zA,WA,sy])))}function SPn(){SPn=F,BYn=Fe((hM(),S(M(gfn,1),U,340,0,[cH,bfn,wfn,dfn])))}function APn(){APn=F,eXn=Fe((mf(),S(M(nXn,1),U,411,0,[Tv,d4,b4,AR])))}function PPn(){PPn=F,GQn=Fe((Ib(),S(M(IK,1),U,197,0,[IP,PK,Qg,Vg])))}function IPn(){IPn=F,Ane=Fe((Yu(),S(M(Sne,1),U,396,0,[ks,E1n,j1n,T1n])))}function OPn(){OPn=F,dne=Fe((hs(),S(M(ane,1),U,285,0,[Hy,Nh,Jl,Ky])))}function DPn(){DPn=F,one=Fe((r1(),S(M(NH,1),U,218,0,[LH,Ry,x4,Kv])))}function $Pn(){$Pn=F,Cne=Fe((XC(),S(M(y1n,1),U,311,0,[_H,p1n,k1n,m1n])))}function FPn(){FPn=F,Ene=Fe((Zu(),S(M(T9,1),U,374,0,[zy,gd,Uy,yw])))}function LPn(){LPn=F,RM(),cln=Ft,Oee=Wt,uln=new z9(Ft),Dee=new z9(Wt)}function u7(){u7=F,kun=new yU(f1,0),tP=new yU("IMPROVE_STRAIGHTNESS",1)}function mV(n,e){return 10!=l7(e)&&S(Fu(e),e.hm,e.__elementTypeId$,l7(e),n),n}function Jc(n,e){var t;return-1!=(t=Li(n,e,0))&&(M1(n,t),!0)}function NPn(n,e){var t;return(t=u(G2(n.e,e),387))?(CW(t),t.e):null}function Hp(n){var e;return Fi(n)&&(e=0-n,!isNaN(e))?e:Tl(i3(n))}function Li(n,e,t){for(;t0?(n.f[a.p]=v/(a.e.c.length+a.g.c.length),n.c=j.Math.min(n.c,n.f[a.p]),n.b=j.Math.max(n.b,n.f[a.p])):f&&(n.f[a.p]=v)}}(n,e,t),0==n.a.c.length||function Ake(n,e){var t,r,i,c,o,f,h,l,a,d;for(l=n.e[e.c.p][e.p]+1,h=e.c.a.c.length+1,f=new E(n.a);f.a=0?cM(n,t,!0,!0):b0(n,e,!0)}function TV(n,e){var t,r;return a5(),t=K2(n),r=K2(e),!!t&&!!r&&!Y$n(t.k,r.k)}function KPn(n){(this.q?this.q:(An(),An(),$h)).Ac(n.q?n.q:(An(),An(),$h))}function HPn(n,e){Uin=new bj,Ozn=e,u((Dm=n).b,65),hV(Dm,Uin,null),L_n(Dm)}function dF(n,e,t){var r;return r=n.g[e],N5(n,e,n.oi(e,t)),n.gi(e,t,r),n.ci(),r}function cC(n,e){var t;return(t=n.Xc(e))>=0&&(n.$c(t),!0)}function bF(n){var e;return n.d!=n.r&&(e=Vs(n),n.e=!!e&&e.Cj()==TGn,n.d=e),n.e}function wF(n,e){var t;for(ve(n),ve(e),t=!1;e.Ob();)t|=n.Fc(e.Pb());return t}function Jd(n,e){var t;return(t=u(te(n.e,e),387))?(Fyn(n,t),t.e):null}function qPn(n){var e,t;return e=n/60|0,0==(t=n%60)?""+e:e+":"+t}function qi(n,e){return Ba(n),new Dn(n,new uEn(new uV(e,n.a)))}function yb(n,e){var t=n.a[e],r=(FF(),H_)[typeof t];return r?r(t):AQ(typeof t)}function l7(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function gF(n){var e;return null!=(e=0==n.b.c.length?null:un(n.b,0))&&MF(n,0),e}function GPn(n,e){for(;e[0]=0;)++e[0]}function a7(n,e){this.e=e,this.a=xOn(n),this.a<54?this.f=Vd(n):this.c=B7(n)}function UPn(n,e,t,r){Qe(),yd.call(this,26),this.c=n,this.a=e,this.d=t,this.b=r}function Eh(n,e,t){var r,i;for(r=10,i=0;in.a[r]&&(r=t);return r}function Vw(n,e){return 0==e.e||0==n.e?u4:(C3(),vN(n,e))}function h6(){h6=F,IWn=new Pan,OWn=new San,AWn=new Fan,PWn=new Lan,DWn=new Nan}function uC(){uC=F,Cin=new wU("BY_SIZE",0),J_=new wU("BY_SIZE_AND_SHAPE",1)}function sC(){sC=F,oR=new gU("EADES",0),EA=new gU("FRUCHTERMAN_REINGOLD",1)}function b7(){b7=F,nP=new kU("READING_DIRECTION",0),vun=new kU("ROTATION",1)}function WPn(){WPn=F,bXn=Fe((Ha(),S(M(gun,1),U,335,0,[RR,wun,KR,_m,Bm])))}function XPn(){XPn=F,UQn=Fe((I6(),S(M(von,1),U,315,0,[gon,OK,DK,Ym,Zm])))}function VPn(){VPn=F,rXn=Fe((hg(),S(M(tXn,1),U,363,0,[VA,JA,YA,QA,XA])))}function QPn(){QPn=F,SXn=Fe((Fs(),S(M(Wun,1),U,163,0,[wy,Gm,Ul,Um,sw])))}function JPn(){JPn=F,aZn=Fe((X7(),S(M(Kfn,1),U,316,0,[Bfn,aH,Rfn,dH,_fn])))}function YPn(){YPn=F,NZn=Fe((Jo(),S(M(V1,1),U,175,0,[Wn,wr,ah,ld,X1])))}function ZPn(){ZPn=F,uZn=Fe((P3(),S(M(cZn,1),U,355,0,[Yg,Nv,a9,l9,d9])))}function nIn(){nIn=F,jWn=Fe((Wr(),S(M(wcn,1),U,356,0,[fh,ql,Hc,Mc,Oi])))}function eIn(){eIn=F,une=Fe((ci(),S(M(v9,1),U,103,0,[Lh,Fo,co,a1,d1])))}function tIn(){tIn=F,wne=Fe((ig(),S(M(y9,1),U,249,0,[Yl,qy,d1n,k9,b1n])))}function rIn(){rIn=F,pne=Fe((J(),S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn])))}function vF(n,e){var t;return(t=u(te(n.a,e),134))||(t=new zI,tt(n.a,e,t)),t}function iIn(n){var e;return!!(e=u(k(n,(G(),$0)),305))&&e.a==n}function cIn(n){var e;return!!(e=u(k(n,(G(),$0)),305))&&e.i==n}function uIn(n,e){return _n(e),UW(n),!!n.d.Ob()&&(e.td(n.d.Pb()),!0)}function oC(n){return hc(n,Ze)>0?Ze:hc(n,Lr)<0?Lr:ge(n)}function jb(n){return n<3?(os(n,nKn),n+1):n=0&&e=-.01&&n.a<=Tf&&(n.a=0),n.b>=-.01&&n.b<=Tf&&(n.b=0),n}function oIn(n,e){return e==(ND(),ND(),$Un)?n.toLocaleLowerCase():n.toLowerCase()}function MV(n){return(2&n.i?"interface ":1&n.i?"":"class ")+(Gh(n),n.o)}function Ei(n){var t;t=new bO,me((!n.q&&(n.q=new V(lo,n,11,10)),n.q),t)}function fIn(n){this.g=n,this.f=new X,this.a=j.Math.min(this.g.c.c,this.g.d.c)}function hIn(n){this.b=new X,this.a=new X,this.c=new X,this.d=new X,this.e=n}function lIn(n,e){this.a=new we,this.e=new we,this.b=(m6(),PP),this.c=n,this.b=e}function aIn(n,e,t){KE.call(this),SV(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function dIn(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=($j(),B_)}function Yd(n){if(n<0)throw C(new Kn("Illegal Capacity: "+n));this.g=this.ri(n)}function fC(n){var e;ub(!!n.c),e=n.c.a,Os(n.d,n.c),n.b==n.c?n.b=e:--n.a,n.c=null}function hC(n,e){var t;return Ba(n),t=new LCn(n,n.a.rd(),4|n.a.qd(),e),new Dn(n,t)}function lC(n,e){var r;for(r=n.Kc();r.Ob();)H(u(r.Pb(),70),(G(),Iv),e)}function S0e(n){var e;return(e=K(Y(k(n,(nn(),G1)))))<0&&H(n,G1,e=0),e}function bIn(n,e,t,r,i,c){var o;Br(o=Z$(r),i),jr(o,c),Cn(n.a,r,new GE(o,e,t.f))}function wIn(n,e){var t;if(!(t=ik(n.Tg(),e)))throw C(new Kn(_l+e+e_));return t}function Eb(n,e){var t;for(t=n;At(t);)if((t=At(t))==e)return!0;return!1}function Zc(n,e){var r,i,c;for(_n(e),i=0,c=(r=n.c).length;i>16!=6?null:u(fN(n),235)}(n))&&!e.kh()&&(n.w=e),e)}function B0e(n){var e;return null==n?null:function _4e(n,e){var r,i,c,o;if(null==n)return null;for(o=L(Hs,Yf,25,2*e,15,1),r=0,i=0;r>4&15],o[i++]=P1n[c];return Xs(o,0,o.length)}(e=u(n,190),e.length)}function O(n,e){if(null==n.g||e>=n.i)throw C(new hD(e,n.i));return n.li(e,n.g[e])}function _0e(n){var e,t;for(e=n.a.d.j,t=n.c.d.j;e!=t;)So(n.b,e),e=HC(e);So(n.b,e)}function pF(n,e){var r,i,c;for(i=0,c=(r=n.d).length;i=14&&e<=16)),n}function mIn(n,e,t){var r=function(){return n.apply(r,arguments)};return e.apply(r,t),r}function kIn(n,e,t){var r,i;r=e;do{i=K(n.p[r.p])+t,n.p[r.p]=i,r=n.a[r.p]}while(r!=e)}function Gp(n,e){var t,r;r=n.a,t=function kge(n,e,t){var r,i;return i=n.a,n.a=e,4&n.Db&&!(1&n.Db)&&(r=new dr(n,1,5,i,n.a),t?uY(t,r):t=r),t}(n,e,null),r!=e&&!n.e&&(t=L3(n,e,t)),t&&t.Fi()}function AV(n,e){return ff(),Mo(Fl),j.Math.abs(n-e)<=Fl||n==e||isNaN(n)&&isNaN(e)}function PV(n,e){return ff(),Mo(Fl),j.Math.abs(n-e)<=Fl||n==e||isNaN(n)&&isNaN(e)}function Qw(n,e){return function Kre(n){return n?n.i:null}(d6(n,e,ge(Fr(Ah,kh(ge(Fr(null==e?0:kt(e),Ph)),15)))))}function yIn(){yIn=F,xWn=Fe((Vn(),S(M(kR,1),U,267,0,[nr,br,zt,Sc,ns,Af])))}function jIn(){jIn=F,UZn=Fe(($b(),S(M(EH,1),U,291,0,[jH,Ly,Fy,yH,Dy,$y])))}function EIn(){EIn=F,_Zn=Fe((Th(),S(M(hhn,1),U,248,0,[mH,Iy,Oy,tI,nI,eI])))}function TIn(){TIn=F,hXn=Fe((tv(),S(M(v4,1),U,227,0,[g4,xm,w4,iw,_g,Bg])))}function CIn(){CIn=F,yXn=Fe((E3(),S(M(Dun,1),U,275,0,[Rm,Aun,Oun,Iun,Pun,Sun])))}function MIn(){MIn=F,kXn=Fe((z7(),S(M(Mun,1),U,274,0,[rP,Eun,Cun,jun,Tun,XR])))}function SIn(){SIn=F,HQn=Fe((pM(),S(M(don,1),U,313,0,[SK,lon,MK,hon,aon,AP])))}function AIn(){AIn=F,pXn=Fe((jM(),S(M(mun,1),U,276,0,[GR,qR,zR,UR,WR,eP])))}function PIn(){PIn=F,ZJn=Fe((N6(),S(M(YJn,1),U,327,0,[BP,qK,UK,GK,zK,HK])))}function IIn(){IIn=F,vne=Fe((Su(),S(M(hI,1),U,273,0,[na,w1,Gy,E9,j9,Hv])))}function OIn(){OIn=F,fne=Fe((kM(),S(M(u1n,1),U,312,0,[xH,r1n,c1n,e1n,i1n,t1n])))}function dC(n,e){var t;t=n.a,n.a=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,0,t,n.a))}function bC(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,1,t,n.b))}function Up(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,3,t,n.b))}function n0(n,e){var t;t=n.f,n.f=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,3,t,n.f))}function e0(n,e){var t;t=n.g,n.g=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,4,t,n.g))}function nu(n,e){var t;t=n.i,n.i=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,5,t,n.i))}function eu(n,e){var t;t=n.j,n.j=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,6,t,n.j))}function zp(n,e){var t;t=n.j,n.j=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,1,t,n.j))}function Wp(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,4,t,n.c))}function Xp(n,e){var t;t=n.k,n.k=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,2,t,n.k))}function mF(n,e){var t;t=n.d,n.d=e,4&n.Db&&!(1&n.Db)&&nt(n,new z$(n,2,t,n.d))}function P1(n,e){var t;t=n.s,n.s=e,4&n.Db&&!(1&n.Db)&&nt(n,new z$(n,4,t,n.s))}function Cb(n,e){var t;t=n.t,n.t=e,4&n.Db&&!(1&n.Db)&&nt(n,new z$(n,5,t,n.t))}function Vp(n,e){var t;t=n.F,n.F=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,5,t,e))}function w7(n,e){var t;return(t=u(te((nE(),jI),n),55))?t.xj(e):L(Zn,rn,1,e,5,1)}function Zh(n,e){var r;return e in n.a&&(r=Wh(n,e).he())?r.a:null}function U0e(n,e){var t,r;return Ad(),r=new jq,e&&vZ(r,e),BV(t=r,n),t}function DIn(n,e,t){if(u3(n,t),!n.Bk()&&null!=t&&!n.wj(t))throw C(new hO);return t}function $In(n,e){return n.n=e,n.n?(n.f=new X,n.e=new X):(n.f=null,n.e=null),n}function Me(n,e,t,r,i,c){var o;return LIn(t,o=l$(n,e)),o.i=i?8:0,o.f=r,o.e=i,o.g=c,o}function IV(n,e,t,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=n,this.a=t}function OV(n,e,t,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=n,this.a=t}function DV(n,e,t,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=n,this.a=t}function $V(n,e,t,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=n,this.a=t}function FV(n,e,t,r,i){this.d=e,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=n,this.a=t}function FIn(n,e){var r,i,c;for(i=0,c=(r=e).length;i=0),function U2e(n,e){var t,r,c;return c=n.c-e&(r=n.a.length-1),ojn((t=e-n.b&r)<(n.c-n.b&r)),t>=c?(function Gwe(n,e){var t,r;for(n.c=n.c-1&(t=n.a.length-1);e!=n.c;)St(n.a,e,n.a[r=e+1&t]),e=r;St(n.a,n.c,null)}(n,e),-1):(function Uwe(n,e){var t,r;for(t=n.a.length-1;e!=n.b;)St(n.a,e,n.a[r=e-1&t]),e=r;St(n.a,n.b,null),n.b=n.b+1&t}(n,e),1)}(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function LV(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(!n.c&&(n.c=P7(n.f)),n.c).e}function Mo(n){if(!(n>=0))throw C(new Kn("tolerance ("+n+") must be >= 0"));return n}function Qp(){return vH||eg(vH=new EBn,S(M(Fg,1),rn,130,0,[new Mq])),vH}function ii(){ii=F,n9=new VO(rm,0),Pu=new VO("INPUT",1),xc=new VO("OUTPUT",2)}function gC(){gC=F,dun=new qO("ARD",0),ZA=new qO("MSD",1),_R=new qO("MANUAL",2)}function t0(){t0=F,Ey=new nD("BARYCENTER",0),t9=new nD(uHn,1),$P=new nD(sHn,2)}function g7(n,e){var t;if(t=n.gc(),e<0||e>t)throw C(new hb(e,t));return new Zz(n,e)}function BIn(n,e){var t;return I(e,42)?n.c.Mc(e):(t=aL(n,e),JC(n,e),t)}function di(n,e,t){return xa(n,e),Dc(n,t),P1(n,0),Cb(n,1),$1(n,!0),D1(n,!0),n}function os(n,e){if(n<0)throw C(new Kn(e+" cannot be negative but was: "+n));return n}function _In(n,e){var t,r;for(t=0,r=n.gc();t0?u(un(n.c.a,r-1),10):null}function a6(n,e){var t;t=n.k,n.k=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,2,t,n.k))}function pC(n,e){var t;t=n.f,n.f=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,8,t,n.f))}function mC(n,e){var t;t=n.i,n.i=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,7,t,n.i))}function BV(n,e){var t;t=n.a,n.a=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,8,t,n.a))}function _V(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,0,t,n.b))}function RV(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,0,t,n.b))}function KV(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,1,t,n.c))}function HV(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,1,t,n.c))}function yF(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,4,t,n.c))}function qV(n,e){var t;t=n.d,n.d=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,1,t,n.d))}function jF(n,e){var t;t=n.D,n.D=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,2,t,n.D))}function EF(n,e){n.r>0&&n.c0&&0!=n.g&&EF(n.i,e/n.r*n.i.d))}function XIn(n,e){return u1(n.e,e)?(Zr(),bF(e)?new JE(e,n):new j8(e,n)):new Rkn(e,n)}function kC(n,e){return function Rre(n){return n?n.g:null}(b6(n.a,e,ge(Fr(Ah,kh(ge(Fr(null==e?0:kt(e),Ph)),15)))))}function VIn(n){var e;return(n=j.Math.max(n,2))>(e=dQ(n))?(e<<=1)>0?e:Y6:e}function TF(n){switch(lz(3!=n.e),n.e){case 2:return!1;case 0:return!0}return function hde(n){return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}(n)}function QIn(n,e){var t;return!!I(e,8)&&(t=u(e,8),n.a==t.a&&n.b==t.b)}function CF(n,e,t){return rr(ab(n.n[t][e>>5],ge(Uh(31&e,1))),3)}function GV(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,21,t,n.b))}function UV(n,e){var t;t=n.d,n.d=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,11,t,n.d))}function yC(n,e){var t;t=n.j,n.j=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,13,t,n.j))}function JIn(n,e,t){var r,i,c;for(c=n.a.length-1,i=n.b,r=0;r0?e-1:e,i8n(function Nre(n,e){return n.j=e,n}($In(TW(new ip,t),n.n),n.j),n.k)}(n,n.g),Ke(n.a,t),t.i=n,n.d=e,t)}function Mbe(n,e,t){le(t,"DFS Treeifying phase",1),function L2e(n,e){var t,i,c;for(c=e.b.b,n.a=new Ct,n.b=L(be,Ne,25,c,15,1),t=0,i=Re(e.b,0);i.b!=i.d.c;)u(_e(i),86).g=t++}(n,e),function O8e(n,e){var t,r,i,c,o;for(o=u(k(e,(w0(),Xon)),425),c=Re(e.b,0);c.b!=c.d.c;)if(i=u(_e(c),86),0==n.b[i.g]){switch(o.g){case 0:fFn(n,i);break;case 1:$me(n,i)}n.b[i.g]=2}for(r=Re(n.a,0);r.b!=r.d.c;)Ab((t=u(_e(r),188)).b.d,t,!0),Ab(t.c.b,t,!0);H(e,(uc(),Kon),n.a)}(n,e),n.a=null,n.b=null,ce(t)}function wOn(n,e,t){this.g=n,this.d=e,this.e=t,this.a=new X,function T6e(n){var e,t,i,c;for(c=y6(n.d,n.e).Kc();c.Ob();)for(i=u(c.Pb(),11),t=new E(n.e==(J(),qn)?i.e:i.g);t.a0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function $t(n,e){WE.call(this,hee,n,e),this.b=this,this.a=Kc(n.Tg(),In(this.e.Tg(),this.c))}function w6(n,e){var t,r;for(_n(e),r=e.vc().Kc();r.Ob();)t=u(r.Pb(),42),n.zc(t.cd(),t.dd())}function gOn(n){var e;if(-2==n.b){if(0==n.e)e=-1;else for(e=0;0==n.a[e];e++);n.b=e}return n.b}function vOn(n){switch(n.g){case 2:return J(),qn;case 4:return J(),Xn;default:return n}}function pOn(n){switch(n.g){case 1:return J(),ae;case 3:return J(),Rn;default:return n}}function v7(n,e){return Hn(),vr(n)?iV(n,Te(e)):cb(n)?n$(n,Y(e)):ib(n)?Nfe(n,sn(e)):n.wd(e)}function JV(n,e){e.q=n,n.d=j.Math.max(n.d,e.r),n.b+=e.d+(0==n.a.c.length?0:n.c),W(n.a,e)}function Yp(n,e){return e.a>n.c&&e.an.d&&e.b0||a.j==qn&&a.e.c.length-a.g.c.length<0)){e=!1;break}for(i=new E(a.g);i.a=0x8000000000000000?(qp(),Hrn):(i=!1,n<0&&(i=!0,n=-n),r=0,n>=za&&(n-=(r=Ht(n/za))*za),t=0,n>=hv&&(n-=(t=Ht(n/hv))*hv),c=Bc(Ht(n),t,r),i&&NF(c),c)}(n))}function _be(n,e){var t,r,i;for(t=n.c.Ee(),i=e.Kc();i.Ob();)r=i.Pb(),n.a.Od(t,r);return n.b.Kb(t)}function nt(n,e){var t,r,i;if(null!=(t=n.Jg())&&n.Mg())for(r=0,i=t.length;r1||n.Ob())return++n.a,n.g=0,e=n.i,n.Ob(),e;throw C(new ic)}function Ws(n){var t,r,i;return r=0,(i=n)<0&&(i+=za,r=o1),t=Ht(i/hv),Bc(Ht(i-t*hv),t,r)}function p7(n){var e,t,r;for(r=0,t=new y2(n.a);t.a>22))&Bu,n.h-e.h+(r>>22)&o1)}function j7(n){var e;return n<128?(!(e=(ZEn(),Xrn)[n])&&(e=Xrn[n]=new Kq(n)),e):new Kq(n)}function jt(n){var e;return I(n,78)?n:((e=n&&n.__java$exception)||Gmn(e=new SDn(n)),e)}function E7(n){if(I(n,186))return u(n,118);if(n)return null;throw C(new p2(Fqn))}function _On(n,e){if(null==e)return!1;for(;n.a!=n.b;)if(et(e,_C(n)))return!0;return!1}function rQ(n){return!!n.a.Ob()||n.a==n.d&&(n.a=new xX(n.e.f),n.a.Ob())}function Qt(n,e){var t;return 0!=(t=e.Pc()).length&&(gW(n.c,n.c.length,t),!0)}function ROn(n,e){var r;for(r=new E(n.b);r.a=0,"Negative initial capacity"),zE(e>=0,"Non-positive load factor"),Cu(this)}function LF(n,e,t){return!(n>=128)&&I5(n<64?rr(Uh(1,n),t):rr(Uh(1,n-64),e),0)}function bwe(n,e){return!(!n||!e||n==e)&&s0(n.b.c,e.b.c+e.b.b)<0&&s0(e.b.c,n.b.c+n.b.b)<0}function YOn(n){var e,t,r;return new Ss((t=n.n).a-(e=n.d).b,t.b-e.d,(r=n.o).a+(e.b+e.c),r.b+(e.d+e.a))}function gwe(n){var t,r;for(null==n.j&&(n.j=($p(),function A3e(n){var e,t,r;for(e="Sz",t="ez",r=j.Math.min(n.length,5)-1;r>=0;r--)if(Mn(n[r].d,e)||Mn(n[r].d,t)){n.length>=r+1&&n.splice(0,r+1);break}return n}(K_.ce(n)))),t=0,r=n.j.length;t(r=n.gc()))throw C(new hb(e,r));return n.hi()&&(t=wMn(n,t)),n.Vh(e,t)}function M7(n,e,t){return null==t?(!n.q&&(n.q=new we),G2(n.q,e)):(!n.q&&(n.q=new we),tt(n.q,e,t)),n}function H(n,e,t){return null==t?(!n.q&&(n.q=new we),G2(n.q,e)):(!n.q&&(n.q=new we),tt(n.q,e,t)),n}function ZOn(n){var e,t;return Pi(t=new zT,n),H(t,(El(),Ev),n),function mye(n,e,t){var r,i,c,o,f;for(r=0,c=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));c.e!=c.i.gc();)o="",0==(!(i=u(oe(c),33)).n&&(i.n=new V(_i,i,1,7)),i.n).i||(o=u(O((!i.n&&(i.n=new V(_i,i,1,7)),i.n),0),137).a),Pi(f=new YTn(o),i),H(f,(El(),Ev),i),f.b=r++,f.d.a=i.i+i.g/2,f.d.b=i.j+i.f/2,f.e.a=j.Math.max(i.g,1),f.e.b=j.Math.max(i.f,1),W(e.e,f),Rc(t.f,i,f),u(hn(i,(Zo(),ccn)),98),Tr()}(n,t,e=new we),function UEe(n,e,t){var r,i,c,o,f,h,l,a;for(h=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));h.e!=h.i.gc();)for(i=new ie(ue(c1(f=u(oe(h),33)).a.Kc(),new Yn));Ae(i);){if(!(r=u(pe(i),79)).b&&(r.b=new $n(he,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new $n(he,r,5,8)),r.c.i<=1)))throw C(new u5("Graph must not contain hyperedges."));if(!B6(r)&&f!=Ii(u(O((!r.c&&(r.c=new $n(he,r,5,8)),r.c),0),82)))for(Pi(l=new _jn,r),H(l,(El(),Ev),r),nte(l,u(Qi(Ai(t.f,f)),144)),ete(l,u(te(t,Ii(u(O((!r.c&&(r.c=new $n(he,r,5,8)),r.c),0),82))),144)),W(e.c,l),o=new re((!r.n&&(r.n=new V(_i,r,1,7)),r.n));o.e!=o.i.gc();)Pi(a=new HSn(l,(c=u(oe(o),137)).a),c),H(a,Ev,c),a.e.a=j.Math.max(c.g,1),a.e.b=j.Math.max(c.f,1),VZ(a),W(e.d,a)}}(n,t,e),t}function nDn(n,e){var t,r,c;for(t=!1,r=n.a[e].length,c=0;c>=1);return e}function tDn(n){var e,t;return 32==(t=nk(n.h))?32==(e=nk(n.m))?nk(n.l)+32:e+20-10:t-12}function p6(n){var e;return null==(e=n.a[n.b])?null:(St(n.a,n.b,null),n.b=n.b+1&n.a.length-1,e)}function rDn(n){return n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f||n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d}function LC(n,e,t){var r,i;return r=new cF(e,t),i=new Es,n.b=Xxn(n,n.b,r,i),i.b||++n.c,n.b.b=!1,i.d}function iDn(n,e,t){var r,i,c;for(c=0,i=y6(e,t).Kc();i.Ob();)r=u(i.Pb(),11),tt(n.c,r,Q(c++))}function Cl(n){var e,t;for(t=new E(n.a.b);t.at&&(t=n[e]);return t}function cDn(n,e,t){var r;return kZ(n,e,r=new X,(J(),Xn),!0,!1),kZ(n,t,r,qn,!1,!1),r}function xF(n,e,t){var r,i;return i=Qd(e,"labels"),function xme(n,e,t){var r,f,h,l;if(t)for(f=((r=new ja(t.a.length)).b-r.a)*r.c<0?(hl(),sa):new bl(r);f.Ob();)(h=Lp(t,u(f.Pb(),19).a))&&(l=U0e(Xh(h,o_),e),tt(n.f,l,h),uh in h.a&&a6(l,Xh(h,uh)),mM(h,l),xY(h,l))}((r=new Ckn(n,t)).a,r.b,i),i}function uDn(n,e){var t;for(t=0;t1||e>=0&&n.b<3)}function S7(n){var e,r;for(e=new lu,r=Re(n,0);r.b!=r.d.c;)kp(e,0,new mi(u(_e(r),8)));return e}function La(n){var t;for(t=new E(n.a.b);t.a=n.b.c.length||(EQ(n,2*e+1),(t=2*e+2)=0&&n[r]===e[r];r--);return r<0?0:FO(rr(n[r],si),rr(e[r],si))?-1:1}function qF(n,e){var t,r;return r=u(Bn(n.a,4),126),t=L(UH,p_,415,e,0,1),null!=r&&vc(r,0,t,0,r.length),t}function bDn(n,e){var t;return t=new kN(0!=(256&n.f),n.i,n.a,n.d,0!=(16&n.f),n.j,n.g,e),null!=n.e||(t.c=n),t}function GF(n,e,t,r,i){var c,o;for(o=t;o<=i;o++)for(c=e;c<=r;c++)if(ug(n,c,o))return!0;return!1}function wDn(n,e,t){var r,i,c,o;for(_n(t),o=!1,c=n.Zc(e),i=t.Kc();i.Ob();)r=i.Pb(),c.Rb(r),o=!0;return o}function gDn(n,e,t){var r,i;for(i=t.Kc();i.Ob();)if(r=u(i.Pb(),42),n.re(e,r.dd()))return!0;return!1}function vDn(n,e,t){return n.d[e.p][t.p]||(function $ve(n,e,t){if(n.e)switch(n.b){case 1:!function o1e(n,e,t){n.i=0,n.e=0,e!=t&&oDn(n,e,t)}(n.c,e,t);break;case 0:!function f1e(n,e,t){n.i=0,n.e=0,e!=t&&fDn(n,e,t)}(n.c,e,t)}else BSn(n.c,e,t);n.a[e.p][t.p]=n.c.i,n.a[t.p][e.p]=n.c.e}(n,e,t),n.d[e.p][t.p]=!0,n.d[t.p][e.p]=!0),n.a[e.p][t.p]}function u3(n,e){if(!n.ai()&&null==e)throw C(new Kn("The 'no null' constraint is violated"));return e}function s3(n,e){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),jF(n,null==e?null:(_n(e),e)),n.C&&n.yk(null)}function Bwe(n,e){return!(!n||n==e||!fr(e,(G(),L0)))&&u(k(e,(G(),L0)),10)!=n}function UF(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.pl()}}function pDn(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n.ql()}}function mDn(n){oMn.call(this,"The given string does not match the expected format for individual spacings.",n)}function Yu(){Yu=F,ks=new pE("ELK",0),E1n=new pE("JSON",1),j1n=new pE("DOT",2),T1n=new pE("SVG",3)}function A7(){A7=F,UP=new tD(f1,0),rfn=new tD("RADIAL_COMPACTION",1),ifn=new tD("WEDGE_COMPACTION",2)}function kf(){kf=F,kin=new LO("CONCURRENT",0),ws=new LO("IDENTITY_FINISH",1),nw=new LO("UNORDERED",2)}function zF(){zF=F,Xj(),Xin=new Pn(qnn,Vin=rR),Lzn=new at(Gnn),Nzn=new at(Unn),xzn=new at(znn)}function o3(){o3=F,uun=new E0n,sun=new T0n,VWn=new C0n,XWn=new M0n,_n(new S0n),cun=new ha}function f3(){f3=F,BK=new JO("CONSERVATIVE",0),Ion=new JO("CONSERVATIVE_SOFT",1),e9=new JO("SLOPPY",2)}function NC(){NC=F,l1n=new Fd(15),hne=new ni((We(),dd),l1n),p9=_v,s1n=WZn,o1n=ad,h1n=t2,f1n=cI}function WF(n,e,t){var r,c;for(r=new Ct,c=Re(t,0);c.b!=c.d.c;)Ke(r,new mi(u(_e(c),8)));wDn(n,e,r)}function CQ(n){var e;return!n.a&&(n.a=new V(g1,n,9,5)),0!=(e=n.a).i?function rie(n){return n.b?n.b:n.a}(u(O(e,0),678)):null}function Rwe(n,e){var t;return t=_r(n,e),FO(_$(n,e),0)|function mie(n,e){return hc(n,e)>=0}(_$(n,t),0)?t:_r(JM,_$(ab(t,63),1))}function MQ(n,e){var t,r;if(0!=(r=n.c[e]))for(n.c[e]=0,n.d-=r,t=e+1;t0)return Cp(e-1,n.a.c.length),M1(n.a,e-1);throw C(new zmn)}function yDn(n,e,t){if(n>e)throw C(new Kn(tS+n+wKn+e));if(n<0||e>t)throw C(new RG(tS+n+Inn+e+Ann+t))}function jDn(n){if(!(n.a&&8&n.a.i))throw C(new $i("Enumeration class expected for layout option "+n.f))}function Mb(n){var e;++n.j,0==n.i?n.g=null:n.iOS?n-t>OS:t-n>OS)}function VF(n,e){return!n||e&&!n.j||I(n,124)&&0==u(n,124).a.b?0:n.Re()}function BC(n,e){return!n||e&&!n.k||I(n,124)&&0==u(n,124).a.a?0:n.Se()}function P7(n){return Dl(),n<0?-1!=n?new yJ(-1,-n):U_:n<=10?oin[Ht(n)]:new yJ(1,n)}function AQ(n){throw FF(),C(new _9n("Unexpected typeof result '"+n+"'; please report this bug to the GWT team"))}function SDn(n){U9n(),PE(this),jT(this),this.e=n,Rxn(this,n),this.g=null==n?iu:xi(n),this.a="",this.b=n,this.a=""}function PQ(){this.a=new Ggn,this.f=new F6n(this),this.b=new L6n(this),this.i=new N6n(this),this.e=new x6n(this)}function ADn(){Yte.call(this,new aV(jb(16))),os(2,QRn),this.b=2,this.a=new lX(null,null,0,null),Y9(this.a,this.a)}function m6(){m6=F,AK=new WO("DUMMY_NODE_OVER",0),bon=new WO("DUMMY_NODE_UNDER",1),PP=new WO("EQUAL",2)}function QF(){QF=F,wR=hMn(S(M(v9,1),U,103,0,[(ci(),co),Fo])),gR=hMn(S(M(v9,1),U,103,0,[d1,a1]))}function JF(n){return(J(),uu).Hc(n.j)?K(Y(k(n,(G(),E4)))):Gi(S(M(hr,1),q,8,0,[n.i.n,n.n,n.a])).b}function xa(n,e){var r,i;r=n.nk(e,null),i=null,e&&(fp(),Gp(i=new jd,n.r)),(r=jf(n,i,r))&&r.Fi()}function IQ(n,e){var t,r,i;return r=!1,t=e.q.d,e.di&&(nLn(e.q,i),r=t!=e.q.d)),r}function PDn(n,e){var r,o,f;return j.Math.sqrt((o=e.i-(r=n.f).i)*o+(f=e.j-r.j)*f)}function OQ(n,e){var r;return(r=YC(n))||(!_ne&&(_ne=new rvn),qN(),me((r=new xmn(eNn(e))).Vk(),n)),r}function I7(n,e){var t,r;return(t=u(n.c.Bc(e),14))?((r=n.hc()).Gc(t),n.d-=t.gc(),t.$b(),n.mc(r)):n.jc()}function IDn(n,e){var t;for(t=0;t=0?e:-e;r>0;)r%2==0?(t*=t,r=r/2|0):(i*=t,r-=1);return e<0?1/i:i}function xDn(n){var e,t,r,i;if(null!=n)for(t=0;t0&&jQ(u(un(n.a,n.a.c.length-1),570),e)||W(n.a,new gAn(e))}function KDn(n){var e;return(e=new cl).a+="VerticalSegment ",cc(e,n.e),e.a+=" ",De(e,oz(new SO,new E(n.k))),e.a}function lge(n){var e;return(e=u(Jd(n.c.c,""),229))||(e=new _2(op(sp(new a2,""),"Other")),Ra(n.c.c,"",e)),e}function k6(n){var e;return 64&n.Db?Ao(n):((e=new Gs(Ao(n))).a+=" (name: ",li(e,n.zb),e.a+=")",e.a)}function NQ(n,e,t){var r,i;return i=n.sb,n.sb=e,4&n.Db&&!(1&n.Db)&&(r=new dr(n,1,4,i,e),t?t.Ei(r):t=r),t}function ZF(n,e){var t,i;for(t=0,i=Ui(n,e).Kc();i.Ob();)t+=null!=k(u(i.Pb(),11),(G(),Au))?1:0;return t}function tg(n,e,t){var r,i,c;for(r=0,c=Re(n,0);c.b!=c.d.c&&!((i=K(Y(_e(c))))>t);)i>=e&&++r;return r}function xQ(n,e,t){var r,i;return i=n.r,n.r=e,4&n.Db&&!(1&n.Db)&&(r=new dr(n,1,8,i,n.r),t?t.Ei(r):t=r),t}function O1(n,e){var t,r;return!(r=(t=u(e,676)).vk())&&t.wk(r=I(e,88)?new xkn(n,u(e,26)):new iSn(n,u(e,148))),r}function O7(n,e,t){var r;n.qi(n.i+1),r=n.oi(e,t),e!=n.i&&vc(n.g,e,n.g,e+1,n.i-e),St(n.g,e,r),++n.i,n.bi(e,t),n.ci()}function D7(n,e){var t;return t=new qI,n.a.sd(t)?(pp(),new Fj(_n(xPn(n,t.a,e)))):(ml(n),pp(),pp(),dA)}function y6(n,e){switch(e.g){case 2:case 1:return Ui(n,e);case 3:case 4:return Oa(Ui(n,e))}return An(),An(),Gr}function et(n,e){return vr(n)?Mn(n,e):cb(n)?tEn(n,e):ib(n)?(_n(n),B(n)===B(e)):RW(n)?n.Fb(e):LW(n)?ryn(n,e):DX(n,e)}function vge(n,e,t,r,i){0==e||0==r||(1==e?i[r]=TJ(i,t,r,n[0]):1==r?i[e]=TJ(i,n,e,t[0]):function mme(n,e,t,r,i){var c,o,f,h;if(B(n)!==B(e)||r!=i)for(f=0;ft)throw C(new pi(tS+n+Inn+e+", size: "+t));if(n>e)throw C(new Kn(tS+n+wKn+e))}function $s(n,e,t){if(e<0)RY(n,t);else{if(!t.Ij())throw C(new Kn(_l+t.ne()+vm));u(t,66).Nj().Vj(n,n.yh(),e)}}function UDn(n,e,t,r,i,c){this.e=new X,this.f=(ii(),n9),W(this.e,n),this.d=e,this.a=t,this.b=r,this.f=i,this.c=c}function zDn(n,e){var t,r;for(r=new re(n);r.e!=r.i.gc();)if(t=u(oe(r),26),B(e)===B(t))return!0;return!1}function WDn(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function XDn(n){var e;return 64&n.Db?Ao(n):((e=new Gs(Ao(n))).a+=" (source: ",li(e,n.d),e.a+=")",e.a)}function D1(n,e){var t;t=0!=(256&n.Bb),e?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,2,t,e))}function _Q(n,e){var t;t=0!=(256&n.Bb),e?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,8,t,e))}function KC(n,e){var t;t=0!=(256&n.Bb),e?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,8,t,e))}function $1(n,e){var t;t=0!=(512&n.Bb),e?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,3,t,e))}function RQ(n,e){var t;t=0!=(512&n.Bb),e?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,9,t,e))}function j6(n,e){var t;return-1==n.b&&n.a&&(t=n.a.Gj(),n.b=t?n.c.Xg(n.a.aj(),t):yt(n.c.Tg(),n.a)),n.c.Og(n.b,e)}function Q(n){var e,t;return n>-129&&n<128?(e=n+128,!(t=(zEn(),Vrn)[e])&&(t=Vrn[e]=new Hq(n)),t):new Hq(n)}function h3(n){var e,t;return n>-129&&n<128?(e=n+128,!(t=(YEn(),Zrn)[e])&&(t=Zrn[e]=new Gq(n)),t):new Gq(n)}function KQ(n){var t;return n.k==(Vn(),zt)&&((t=u(k(n,(G(),tc)),61))==(J(),Rn)||t==ae)}function nL(n,e,t){var r,c;return(c=S3(n.b,e))&&(r=u(qM(f7(n,c),""),26))?oZ(n,r,e,t):null}function VDn(n,e){var t,r;for(r=new re(n);r.e!=r.i.gc();)if(t=u(oe(r),138),B(e)===B(t))return!0;return!1}function E6(n,e,t){var r;if(e>(r=n.gc()))throw C(new hb(e,r));if(n.hi()&&n.Hc(t))throw C(new Kn(Rk));n.Xh(e,t)}function Ege(n,e){var t;if(I(t=ik(n,e),322))return u(t,34);throw C(new Kn(_l+e+"' is not a valid attribute"))}function Mge(n){var e,t,r;for(e=new X,r=new E(n.b);r.ae?1:n==e?0==n?Jt(1/n,1/e):0:isNaN(n)?isNaN(e)?0:1:-1}function T6(n,e,t){var r,i;return n.ej()?(i=n.fj(),r=sN(n,e,t),n.$i(n.Zi(7,Q(t),r,e,i)),r):sN(n,e,t)}function eL(n,e){var t,r,i;null==n.d?(++n.e,--n.f):(i=e.cd(),function gde(n,e,t){return++n.e,--n.f,u(n.d[e].$c(t),133).dd()}(n,r=((t=e.Sh())&Ze)%n.d.length,dxn(n,r,t,i)))}function l3(n,e){var t;t=0!=(n.Bb&Io),e?n.Bb|=Io:n.Bb&=-1025,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,10,t,e))}function a3(n,e){var t;t=0!=(n.Bb&Ub),e?n.Bb|=Ub:n.Bb&=-4097,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,12,t,e))}function d3(n,e){var t;t=0!=(n.Bb&ku),e?n.Bb|=ku:n.Bb&=-8193,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,15,t,e))}function b3(n,e){var t;t=0!=(n.Bb&Zb),e?n.Bb|=Zb:n.Bb&=-2049,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,11,t,e))}function Nge(n){var e,t;for(t=pxn(ss(n)).Kc();t.Ob();)if(q6(n,e=Te(t.Pb())))return Gae((S7n(),Jne),e);return null}function YDn(n,e,t){var i;if(n.c)vY(n.c,e,t);else for(i=new E(n.b);i.a>10)+Ek&Gt,e[1]=56320+(1023&n)&Gt,Xs(e,0,e.length)}function qC(n){var t;return(t=u(k(n,(nn(),gs)),103))==(ci(),Lh)?K(Y(k(n,aP)))>=1?Fo:a1:t}function Ba(n){if(n.c)Ba(n.c);else if(n.d)throw C(new $i("Stream already terminated, can't be modified or used"))}function iL(n){var e;return 64&n.Db?Ao(n):((e=new Gs(Ao(n))).a+=" (identifier: ",li(e,n.k),e.a+=")",e.a)}function ZDn(n,e,t){var r;return Ad(),dC(r=new wj,e),bC(r,t),n&&me((!n.a&&(n.a=new Vt(fo,n,5)),n.a),r),r}function cL(n,e,t,r){var i,c;return _n(r),_n(t),null==(c=null==(i=n.xc(e))?t:b7n(u(i,15),u(t,14)))?n.Bc(e):n.zc(e,c),c}function Tn(n){var e,t,r,i;return So(t=new Ms(e=u(Go((i=(r=n.gm).f)==Ie?r:i),9),u(yo(e,e.length),9),0),n),t}function Kge(n,e,t){var r,i;for(i=n.a.ec().Kc();i.Ob();)if(r=u(i.Pb(),10),y7(t,u(un(e,r.p),14)))return r;return null}function Al(n,e){var t;return Fi(n)&&Fi(e)&&jk<(t=n-e)&&t>22))&Bu,n.h+e.h+(r>>22)&o1)}(Fi(n)?Ws(n):n,Fi(e)?Ws(e):e))}function Fr(n,e){var t;return Fi(n)&&Fi(e)&&jk<(t=n*e)&&t>13|(15&n.m)<<9)*(f=8191&e.l),Gn=(i=n.m>>4&8191)*f,zn=(c=n.m>>17|(255&n.h)<<5)*f,se=((1048320&n.h)>>8)*f,0!=(h=e.l>>13|(15&e.m)<<9)&&(wn+=t*h,Gn+=r*h,zn+=i*h,se+=c*h),0!=(l=e.m>>4&8191)&&(Gn+=t*l,zn+=r*l,se+=i*l),0!=(a=e.m>>17|(255&e.h)<<5)&&(zn+=t*a,se+=r*a),0!=(d=(1048320&e.h)>>8)&&(se+=t*d),m=((ln=t*f)>>22)+(wn>>9)+((262143&Gn)<<4)+((31&zn)<<17),N=(Gn>>18)+(zn>>5)+((4095&se)<<8),N+=(m+=(g=(ln&Bu)+((511&wn)<<13))>>22)>>22,Bc(g&=Bu,m&=Bu,N&=o1)}(Fi(n)?Ws(n):n,Fi(e)?Ws(e):e))}function Ui(n,e){var t;return n.i||_Y(n),(t=u(ai(n.g,e),46))?new yh(n.j,u(t.a,19).a,u(t.b,19).a):(An(),An(),Gr)}function u0(n,e,t){var r;return r=n.a.get(e),n.a.set(e,void 0===t?null:t),void 0===r?(++n.c,MT(n.b)):++n.d,r}function uL(){var n,e,t;aY(),t=BCe+++Date.now(),n=Ht(j.Math.floor(t*Ck))&eS,e=Ht(t-n*Snn),this.a=1502^n,this.b=e^Ox}function t1(n){var e,r;for(e=new X,r=new E(n.j);r.a>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,63&(n+=n>>8)+(n>>16)}function e$n(n){var e,r,i;for(e=new Ljn(n.Hd().gc()),i=0,r=z2(n.Hd().Kc());r.Ob();)rle(e,r.Pb(),Q(i++));return function A5e(n){var e;switch(vT(),n.c.length){case 0:return dUn;case 1:return function Yoe(n,e){return vT(),IL(n,e),new lCn(n,e)}((e=u(gNn(new E(n)),42)).cd(),e.dd());default:return new mO(u(yf(n,L(ed,YM,42,n.c.length,0,1)),165))}}(e.a)}function WQ(n,e){0==n.n.c.length&&W(n.n,new DT(n.s,n.t,n.i)),W(n.b,e),PJ(u(un(n.n,n.n.c.length-1),211),e),l_n(n,e)}function rg(n){return(n.c!=n.b.b||n.i!=n.g.b)&&(n.a.c=L(Zn,rn,1,0,5,1),Qt(n.a,n.b),Qt(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function sL(n,e){var r,i;for(i=0,r=u(e.Kb(n),20).Kc();r.Ob();)on(sn(k(u(r.Pb(),17),(G(),Pf))))||++i;return i}function Fs(){Fs=F,wy=new w8(f1,0),Gm=new w8("FIRST",1),Ul=new w8(oHn,2),Um=new w8("LAST",3),sw=new w8(fHn,4)}function r1(){r1=F,LH=new bE(rm,0),Ry=new bE("POLYLINE",1),x4=new bE("ORTHOGONAL",2),Kv=new bE("SPLINES",3)}function GC(){GC=F,jfn=new iD("ASPECT_RATIO_DRIVEN",0),sH=new iD("MAX_SCALE_DRIVEN",1),yfn=new iD("AREA_DRIVEN",2)}function F7(){F7=F,XP=new cD("P1_STRUCTURE",0),VP=new cD("P2_PROCESSING_ORDER",1),QP=new cD("P3_EXECUTION",2)}function UC(){UC=F,eH=new eD("OVERLAP_REMOVAL",0),ZK=new eD("COMPACTION",1),nH=new eD("GRAPH_SIZE_CALCULATION",2)}function s0(n,e){return ff(),Mo(Fl),j.Math.abs(n-e)<=Fl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:$d(isNaN(n),isNaN(e))}function t$n(n,e){var t,r;for(t=Re(n,0);t.b!=t.d.c;){if((r=n8(Y(_e(t))))==e)return;if(r>e){K$(t);break}}R8(t,e)}function En(n,e){var i,c,o;if(Ra(n.c.d,e.f,e),null!=e.g)for(c=0,o=(i=e.g).length;c>>0).toString(16):n.toString()}function C6(n){var e;this.a=new Ms(e=u(n.e&&n.e(),9),u(yo(e,e.length),9),0),this.b=L(Zn,rn,1,this.a.a.length,5,1)}function e2e(n){var e,t,r;for(this.a=new qh,r=new E(n);r.a=i)return e.c+t;return e.c+e.b.gc()}function VQ(n,e){var t,r,i,c,o,f;for(r=0,t=0,o=0,f=(c=e).length;o0&&(r+=i,++t);return t>1&&(r+=n.d*(t-1)),r}function QQ(n){var e,t,r;for((r=new m1).a+="[",e=0,t=n.gc();eeh,wn=j.Math.abs(g.b-p.b)>eh,(!t&&ln&&wn||t&&(ln||wn))&&Ke(T.a,N)),zr(T.a,r),0==r.b?g=N:(ne(0!=r.b),g=u(r.c.b.c,8)),Ybe(v,d,m),dOn(i)==en&&(Rr(en.i)!=i.a&&IY(m=new $r,Rr(en.i),$),H(T,sK,m)),j5e(v,T,$),a.a.zc(v,a);Br(T,R),jr(T,en)}for(l=a.a.ec().Kc();l.Ob();)Br(h=u(l.Pb(),17),null),jr(h,null);ce(e)}(e,jc(r,1)),ce(r)}function YQ(n,e,t,r,i,c){this.a=n,this.c=e,this.b=t,this.f=r,this.d=i,this.e=c,this.c>0&&this.b>0&&OW(this.c,this.b,this.a)}function ZQ(n){hL(),this.c=wf(S(M(tMe,1),rn,831,0,[RQn])),this.b=new we,this.a=n,tt(this.b,SP,1),Zc(KQn,new z6n(this))}function i$n(n,e){var t;return n.d?Vu(n.b,e)?u(te(n.b,e),51):(t=e.Kf(),tt(n.b,e,t),t):e.Kf()}function nJ(n,e){var t;return B(n)===B(e)||!!I(e,91)&&(t=u(e,91),n.e==t.e&&n.d==t.d&&function zae(n,e){var t;for(t=n.d-1;t>=0&&n.a[t]===e[t];t--);return t<0}(n,t.a))}function J2(n){switch(J(),n.g){case 4:return Rn;case 1:return Xn;case 3:return ae;case 2:return qn;default:return Xi}}function eJ(n,e){switch(e){case 3:return 0!=n.f;case 4:return 0!=n.g;case 5:return 0!=n.i;case 6:return 0!=n.j}return nQ(n,e)}function c$n(n){switch(n.g){case 0:return new Ngn;case 1:return new _gn;default:throw C(new Kn(tB+(null!=n.f?n.f:""+n.g)))}}function u$n(n){switch(n.g){case 0:return new $G;case 1:return new v9n;default:throw C(new Kn(LS+(null!=n.f?n.f:""+n.g)))}}function s$n(n){var e,t,r;return(t=n.zg())?I(e=n.Ug(),160)&&null!=(r=s$n(u(e,160)))?r+"."+t:t:null}function Ab(n,e,t){var r,i;for(i=n.Kc();i.Ob();)if(r=i.Pb(),B(e)===B(r)||null!=e&&et(e,r))return t&&i.Qb(),!0;return!1}function tJ(n,e,t){var r,i;if(++n.j,t.dc())return!1;for(i=t.Kc();i.Ob();)r=i.Pb(),n.Hi(e,n.oi(e,r)),++e;return!0}function o$n(n,e){var t;if(e){for(t=0;tf.d&&(a=f.d+f.a+l);t.c.d=a,e.a.zc(t,e),h=j.Math.max(h,t.c.d+t.c.a)}return h}(n),Bt(new Dn(null,new Fn(n.d,16)),new s5n(n)),e}function WC(n){var e;return 64&n.Db?k6(n):((e=new Gs(k6(n))).a+=" (instanceClassName: ",li(e,n.D),e.a+=")",e.a)}function yt(n,e){var t,r,i;if(null==n.i&&Qf(n),t=n.i,-1!=(r=e.aj()))for(i=t.length;r>1,this.k=e-1>>1}function S2e(n,e,t){var r,i;for(r=rr(t,si),i=0;0!=hc(r,0)&&i0&&(e.lengthn.i&&St(e,n.i,null),e}function $c(n,e,t){var r,i,c;return n.ej()?(r=n.i,c=n.fj(),O7(n,r,e),i=n.Zi(3,null,e,r,c),t?t.Ei(i):t=i):O7(n,n.i,e),t}function l$n(n){var e;return ob(),e=new mi(u(n.e.We((We(),t2)),8)),n.B.Hc((xu(),_4))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function a$n(n){return Ib(),(n.q?n.q:(An(),An(),$h))._b((nn(),B0))?u(k(n,B0),197):u(k(Rr(n),Vm),197)}function Pb(n,e){var t,r;return r=null,fr(n,(nn(),CP))&&(t=u(k(n,CP),94)).Xe(e)&&(r=t.We(e)),null==r&&(r=k(Rr(n),e)),r}function d$n(n,e){var t,r,i;return!!I(e,42)&&(r=(t=u(e,42)).cd(),Wf(i=Sb(n.Rc(),r),t.dd())&&(null!=i||n.Rc()._b(r)))}function aL(n,e){var r;return n.f>0&&(n.qj(),-1!=dxn(n,((r=null==e?0:kt(e))&Ze)%n.d.length,r,e))}function Qo(n,e){var t,r;return n.f>0&&(n.qj(),t=zY(n,((r=null==e?0:kt(e))&Ze)%n.d.length,r,e))?t.dd():null}function L7(n,e){var t,i,c;for(c=Kc(n.e.Tg(),e),t=u(n.g,119),i=0;it;c--)n[c]|=e[c-t-1]>>>o,n[c-1]=e[c-t-1]<>5)+(0==(e&=31)?0:1),15,1),n.a,t,e),r6(c=new Gw(n.e,i,r)),c}function hJ(n,e,t){var r,i;r=u(kc(H4,e),117),i=u(kc(L9,e),117),t?(ki(H4,n,r),ki(L9,n,i)):(ki(L9,n,r),ki(H4,n,i))}function k$n(n,e,t){var r,i,c;for(i=null,c=n.b;c;){if(r=n.a.ue(e,c.d),t&&0==r)return c;r>=0?c=c.a[1]:(i=c,c=c.a[0])}return i}function y$n(n,e,t){var r,i,c;for(i=null,c=n.b;c;){if(r=n.a.ue(e,c.d),t&&0==r)return c;r<=0?c=c.a[0]:(i=c,c=c.a[1])}return i}function N2e(n,e,t,r){var i,c,o;return i=!1,function vEe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z;return v=n.c[t],!((p=u(k(g=n.c[e],(G(),Pv)),15))&&0!=p.gc()&&p.Hc(v)||(m=g.k!=(Vn(),br)&&v.k!=br,T=u(k(g,L0),10),A=u(k(v,L0),10),$=T!=A,D=!!T&&T!=g||!!A&&A!=v,N=OL(g,(J(),Rn)),R=OL(v,ae),D|=OL(g,ae)||OL(v,Rn),z=D&&$||N||R,m&&z)||g.k==(Vn(),Sc)&&v.k==nr||v.k==(Vn(),Sc)&&g.k==nr)&&(i=XFn(n.e,a=n.c[e],c=n.c[t],(J(),qn)),h=XFn(n.i,a,c,Xn),function f8e(n,e,t){n.d=0,n.b=0,e.k==(Vn(),Sc)&&t.k==Sc&&u(k(e,(G(),rt)),10)==u(k(t,rt),10)&&(fF(e).j==(J(),Rn)?vxn(n,e,t):vxn(n,t,e)),e.k==Sc&&t.k==br?fF(e).j==(J(),Rn)?n.d=1:n.b=1:t.k==Sc&&e.k==br&&(fF(t).j==(J(),Rn)?n.b=1:n.d=1),function Qve(n,e,t){e.k==(Vn(),nr)&&t.k==br&&(n.d=ZF(e,(J(),ae)),n.b=ZF(e,Rn)),t.k==nr&&e.k==br&&(n.d=ZF(t,(J(),Rn)),n.b=ZF(t,ae))}(n,e,t)}(n.f,a,c),l=vDn(n.b,a,c)+u(i.a,19).a+u(h.a,19).a+n.f.d,f=vDn(n.b,c,a)+u(i.b,19).a+u(h.b,19).a+n.f.b,n.a&&(d=u(k(a,rt),11),o=u(k(c,rt),11),l+=u((r=DFn(n.g,d,o)).a,19).a,f+=u(r.b,19).a),l>f)}(n.f,t,r)&&(function sve(n,e,t){var r,i;QL(n.e,e,t,(J(),qn)),QL(n.i,e,t,Xn),n.a&&(i=u(k(e,(G(),rt)),11),r=u(k(t,rt),11),R$(n.g,i,r))}(n.f,n.a[e][t],n.a[e][r]),o=(c=n.a[e])[r],c[r]=c[t],c[t]=o,i=!0),i}function lJ(n,e,t,r,i){var c,o,f;for(o=i;e.b!=e.c;)c=u(F2(e),10),f=u(Ui(c,r).Xb(0),11),n.d[f.p]=o++,t.c[t.c.length]=f;return o}function aJ(n,e,t){var r,i,c;return i=Y(Pb(n,r=t[n.k.g][e.k.g])),c=Y(Pb(e,r)),j.Math.max((_n(i),i),(_n(c),c))}function j$n(n,e,t){var r,i,o;for(i=u(te(n.b,t),177),r=0,o=new E(e.j);o.ae?1:$d(isNaN(n),isNaN(e)))>0}function bJ(n,e){return ff(),ff(),Mo(Fl),(j.Math.abs(n-e)<=Fl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:$d(isNaN(n),isNaN(e)))<0}function T$n(n,e){return ff(),ff(),Mo(Fl),(j.Math.abs(n-e)<=Fl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:$d(isNaN(n),isNaN(e)))<=0}function bL(n,e){for(var t=0;!e[t]||""==e[t];)t++;for(var r=e[t++];tMx)return t.fh();if((r=t.Zg())||t==n)break}return r}function wJ(n){return FT(),I(n,156)?u(te(Yy,OUn),288).vg(n):Vu(Yy,Fu(n))?u(te(Yy,Fu(n)),288).vg(n):null}function G2e(n,e){if(e.c==n)return e.d;if(e.d==n)return e.c;throw C(new Kn("Input edge is not connected to the input port."))}function I$n(n,e){return n.e>e.e?1:n.ee.d?n.e:n.d=48&&n<48+j.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function D$n(n,e){var t;return B(e)===B(n)||!(!I(e,21)||(t=u(e,21),t.gc()!=n.gc()))&&n.Ic(t)}function z2e(n,e){var t,r;for(Ce(e,n.length),t=n.charCodeAt(e),r=e+1;r=2*e&&W(t,new _D(o[r-1]+e,o[r]-e));return t}(t,r),Bt(hC(new Dn(null,new Fn(function O6e(n){var e,t,r,i,c,o,f;for(c=new qh,t=new E(n);t.a2&&f.e.b+f.j.b<=2&&(i=f,r=o),c.a.zc(i,c),i.q=r);return c}(e),1)),new wgn),new TCn(n,t,i,r)))}function Y2(n,e,t){var r;n.Db&e?null==t?function vme(n,e){var t,r,i,c,o,f,h;if(1==(r=n$n(254&n.Db)))n.Eb=null;else if(c=Ia(n.Eb),2==r)i=LL(n,e),n.Eb=c[0==i?1:0];else{for(o=L(Zn,rn,1,r-1,5,1),t=2,f=0,h=0;t<=128;t<<=1)t==e?++f:n.Db&t&&(o[h++]=c[f++]);n.Eb=o}n.Db&=~e}(n,e):-1==(r=LL(n,e))?n.Eb=t:St(Ia(n.Eb),r,t):null!=t&&function H8e(n,e,t){var r,i,o,f,h,l;if(0==(i=n$n(254&n.Db)))n.Eb=t;else{if(1==i)f=L(Zn,rn,1,2,5,1),0==LL(n,e)?(f[0]=t,f[1]=n.Eb):(f[0]=n.Eb,f[1]=t);else for(f=L(Zn,rn,1,i+1,5,1),o=Ia(n.Eb),r=2,h=0,l=0;r<=128;r<<=1)r==e?f[l++]=t:n.Db&r&&(f[l++]=o[h++]);n.Eb=f}n.Db|=e}(n,e,t)}function _c(n){var t;return 32&n.Db||0!=(t=ee(u(Bn(n,16),26)||n.zh())-ee(n.zh()))&&Y2(n,32,L(Zn,rn,1,t,5,1)),n}function Z2e(n){var t,r;for(t=new E(n.g);t.a0&&hc(n,128)<0?(e=ge(n)+128,!(t=(JEn(),Qrn)[e])&&(t=Qrn[e]=new qq(n)),t):new qq(n)}function F$n(n,e){var t,r;return(t=e.Hh(n.a))&&null!=(r=Te(Qo((!t.b&&(t.b=new Wu((Sn(),Jr),rc,t)),t.b),ze)))?r:e.ne()}function rve(n,e){var t,r;for(F$(),r=new ie(ue(t1(n).a.Kc(),new Yn));Ae(r);)if((t=u(pe(r),17)).d.i==e||t.c.i==e)return t;return null}function pJ(n,e,t){this.c=n,this.f=new X,this.e=new $r,this.j=new SW,this.n=new SW,this.b=e,this.g=new Ss(e.c,e.d,e.b,e.a),this.a=t}function wL(n){var e,t,r,i;for(this.a=new qh,this.d=new sr,this.e=0,r=0,i=(t=n).length;rz&&(p.c=z-p.b),W(o.d,new JD(p,HQ(o,p))),$=e==Rn?j.Math.max($,m.b+l.b.rf().b):j.Math.min($,m.b));for((D=iJ((o.e=$+=e==Rn?n.t:-n.t,o)))>0&&(u(ai(n.b,e),124).a.b=D),a=g.Kc();a.Ob();)(l=u(a.Pb(),111)).c&&!(l.c.d.c.length<=0)&&((p=l.c.i).c-=l.e.a,p.d-=l.e.b)}else wRn(n,e)}(n,e):wRn(n,e):n.u.Hc(na)&&(t?function VEe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A;if((a=u(u(it(n.r,e),21),84)).gc()<=2||e==(J(),Xn)||e==(J(),qn))PRn(n,e);else{for(m=n.u.Hc((Su(),Hv)),t=e==(J(),Rn)?(i0(),Qk):(i0(),Vk),A=e==Rn?(Yc(),Do):(Yc(),tf),r=GG(oW(t),n.s),T=e==Rn?Ft:Wt,l=a.Kc();l.Ob();)(f=u(l.Pb(),111)).c&&!(f.c.d.c.length<=0)&&(p=f.b.rf(),v=f.e,(g=(d=f.c).i).b=d.e.a+(c=d.n).b+c.c,g.a=d.e.b+(o=d.n).d+o.a,m?(g.c=v.a-(d.e.a+(i=d.n).b+i.c)-n.s,m=!1):g.c=v.a+p.a+n.s,G8(A,Bnn),d.f=A,Wo(d,(Mu(),Oo)),W(r.d,new JD(g,HQ(r,g))),T=e==Rn?j.Math.min(T,v.b):j.Math.max(T,v.b+f.b.rf().b));for(iJ((r.e=T+=e==Rn?-n.t:n.t,r)),h=a.Kc();h.Ob();)(f=u(h.Pb(),111)).c&&!(f.c.d.c.length<=0)&&((g=f.c.i).c-=f.e.a,g.d-=f.e.b)}}(n,e):PRn(n,e))}function v3(n,e){var t,r;++n.j,null!=e&&function rme(n,e){var t,r,i;if(B(n)===B(e))return!0;if(null==n||null==e||n.length!=e.length)return!1;for(t=0;t=(i=n.length))return i;for(e=e>0?e:0;er&&St(e,r,null),e}function q$n(n,e){var t,r;for(e.length<(r=n.a.length)&&(e=Bj(new Array(r),e)),t=0;tr&&St(e,r,null),e}function Ra(n,e,t){var r,i,c;return(i=u(te(n.e,e),387))?(c=Hz(i,t),Fyn(n,i),c):(r=new wW(n,e,t),tt(n.e,e,r),uMn(r),null)}function dve(n){var e;if(null==n)return null;if(null==(e=function s9e(n){var e,t,r,i,c,o,f;if(TZ(),null==n||(i=n.length)%2!=0)return null;for(e=iC(n),t=L(ju,Ig,25,c=i/2|0,15,1),r=0;r>24}return t}(Tc(n,!0))))throw C(new TO("Invalid hexBinary value: '"+n+"'"));return e}function B7(n){return Dl(),hc(n,0)<0?0!=hc(n,-1)?new rY(-1,Hp(n)):U_:hc(n,10)<=0?oin[ge(n)]:new rY(1,n)}function pL(){return VM(),S(M(Czn,1),U,159,0,[Ezn,jzn,Tzn,bzn,dzn,wzn,pzn,vzn,gzn,yzn,kzn,mzn,lzn,hzn,azn,ozn,szn,fzn,czn,izn,uzn,nR])}function G$n(n){var e;this.d=new X,this.j=new $r,this.g=new $r,this.f=u(k(Rr(e=n.g.b),(nn(),gs)),103),this.e=K(Y(tM(e,ww)))}function U$n(n){this.b=new X,this.e=new X,this.d=n,this.a=!f5(gt(new Dn(null,new Rd(new gf(n.b))),new Q4(new Gbn))).sd((pa(),o4))}function Jo(){Jo=F,Wn=new p8("PARENTS",0),wr=new p8("NODES",1),ah=new p8("EDGES",2),ld=new p8("PORTS",3),X1=new p8("LABELS",4)}function ig(){ig=F,Yl=new k8("DISTRIBUTED",0),qy=new k8("JUSTIFIED",1),d1n=new k8("BEGIN",2),k9=new k8(q3,3),b1n=new k8("END",4)}function mL(n){switch(n.g){case 1:return ci(),d1;case 4:return ci(),co;case 2:return ci(),Fo;case 3:return ci(),a1}return ci(),Lh}function Re(n,e){var t,r;if(vb(e,n.b),e>=n.b>>1)for(r=n.c,t=n.b;t>e;--t)r=r.b;else for(r=n.a.a,t=0;t=64&&e<128&&(i=bf(i,Uh(1,e-64)));return i}function tM(n,e){var t,r;return r=null,fr(n,(We(),Rv))&&(t=u(k(n,Rv),94)).Xe(e)&&(r=t.We(e)),null==r&&Rr(n)&&(r=k(Rr(n),e)),r}function X$n(n,e){var t,r,i;(r=(i=e.d.i).k)!=(Vn(),nr)&&r!=Af&&Ae(t=new ie(ue(Yt(i).a.Kc(),new Yn)))&&tt(n.k,e,u(pe(t),17))}function kL(n,e){var t,r,i;return r=In(n.Tg(),e),(t=e-n.Ah())<0?(i=n.Yg(r))>=0?n.lh(i):uN(n,r):t<0?uN(n,r):u(r,66).Nj().Sj(n,n.yh(),t)}function cn(n){var e;if(I(n.a,4)){if(null==(e=wJ(n.a)))throw C(new $i(GHn+n.b+"'. "+qHn+(Gh(Zy),Zy.k)+Qtn));return e}return n.a}function pve(n){var e;if(null==n)return null;if(null==(e=function BTe(n){var e,t,r,i,c,o,f,h,l,a,d,g,v,p,m,T;if(GZ(),null==n||(p=function Cge(n){var e,t,r;for(r=0,t=n.length,e=0;e>4)<<24>>24,d[g++]=((15&t)<<4|r>>2&15)<<24>>24,d[g++]=(r<<6|i)<<24>>24}return r8(o=c[a++])&&r8(f=c[a++])?(e=Lf[o],t=Lf[f],h=c[a++],l=c[a++],-1==Lf[h]||-1==Lf[l]?61==h&&61==l?15&t?null:(vc(d,0,T=L(ju,Ig,25,3*v+1,15,1),0,3*v),T[g]=(e<<2|t>>4)<<24>>24,T):61!=h&&61==l?3&(r=Lf[h])?null:(vc(d,0,T=L(ju,Ig,25,3*v+2,15,1),0,3*v),T[g++]=(e<<2|t>>4)<<24>>24,T[g]=((15&t)<<4|r>>2&15)<<24>>24,T):null:(r=Lf[h],i=Lf[l],d[g++]=(e<<2|t>>4)<<24>>24,d[g++]=((15&t)<<4|r>>2&15)<<24>>24,d[g++]=(r<<6|i)<<24>>24,d)):null}(Tc(n,!0))))throw C(new TO("Invalid base64Binary value: '"+n+"'"));return e}function oe(n){var e;try{return e=n.i.Xb(n.e),n.mj(),n.g=n.e++,e}catch(t){throw I(t=jt(t),73)?(n.mj(),C(new ic)):C(t)}}function yL(n){var e;try{return e=n.c.ki(n.e),n.mj(),n.g=n.e++,e}catch(t){throw I(t=jt(t),73)?(n.mj(),C(new ic)):C(t)}}function A6(){A6=F,We(),Yin=zhn,cR=Thn,Bzn=Bv,Jin=dd,bM(),Hzn=Iin,Kzn=Ain,qzn=Din,Rzn=Sin,zF(),_zn=Xin,iR=Lzn,Qin=Nzn,yA=xzn}function rM(n){switch(iU(),this.c=new X,this.d=n,n.g){case 0:case 2:this.a=aX(gcn),this.b=Ft;break;case 3:case 1:this.a=gcn,this.b=Wt}}function V$n(n,e,t){var i;if(n.c)nu(n.c,n.c.i+e),eu(n.c,n.c.j+t);else for(i=new E(n.b);i.a0&&(W(n.b,new PEn(e.a,t)),0<(r=e.a.length)?e.a=e.a.substr(0,0):0>r&&(e.a+=$yn(L(Hs,Yf,25,-r,15,1))))}function Q$n(n,e){var t,r,i;for(t=n.o,i=u(u(it(n.r,e),21),84).Kc();i.Ob();)(r=u(i.Pb(),111)).e.a=ype(r,t.a),r.e.b=t.b*K(Y(r.b.We(pA)))}function jve(n,e){var t;return t=u(k(n,(nn(),Ci)),74),pD(e,FWn)?t?zs(t):(t=new lu,H(n,Ci,t)):t&&H(n,Ci,null),t}function J$n(n){var e;return(e=new cl).a+="n",n.k!=(Vn(),nr)&&De(De((e.a+="(",e),TD(n.k).toLowerCase()),")"),De((e.a+="_",e),H7(n)),e.a}function Z2(n,e,t,r){var i;return t>=0?n.hh(e,t,r):(n.eh()&&(r=(i=n.Vg())>=0?n.Qg(r):n.eh().ih(n,-1-i,null,r)),n.Sg(e,t,r))}function kJ(n,e){switch(e){case 7:return!n.e&&(n.e=new $n(lr,n,7,4)),void de(n.e);case 8:return!n.d&&(n.d=new $n(lr,n,8,5)),void de(n.d)}uJ(n,e)}function Yo(n,e){var t;t=n.Zc(e);try{return t.Pb()}catch(r){throw I(r=jt(r),109)?C(new pi("Can't get element "+e)):C(r)}}function yJ(n,e){this.e=n,e=0&&(t.d=n.t);break;case 3:n.t>=0&&(t.a=n.t)}n.C&&(t.b=n.C.b,t.c=n.C.c)}function nv(){nv=F,Yk=new uE(iS,0),Jk=new uE(Rx,1),Zk=new uE(Kx,2),ny=new uE(Hx,3),Yk.a=!1,Jk.a=!0,Zk.a=!1,ny.a=!0}function P6(){P6=F,ey=new cE(iS,0),mA=new cE(Rx,1),kA=new cE(Kx,2),ty=new cE(Hx,3),ey.a=!1,mA.a=!0,kA.a=!1,ty.a=!0}function nFn(n){var t,r,i;if(r=0,0==(i=_b(n)).c.length)return 1;for(t=new E(i);t.at.b)return!0}return!1}function jL(n,e){return vr(n)?!!aUn[e]:n.hm?!!n.hm[e]:cb(n)?!!lUn[e]:!!ib(n)&&!!hUn[e]}function bi(n,e,t){return null==t?(!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),JC(n.o,e)):(!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),wM(n.o,e,t)),n}function cM(n,e,t,r){var i,c,o;return c=In(n.Tg(),e),(i=e-n.Ah())<0?(o=n.Yg(c))>=0?n._g(o,t,!0):b0(n,c,t):u(c,66).Nj().Pj(n,n.yh(),i,t,r)}function Ove(n,e,t,r){var c,o;t.mh(e)&&(Zr(),bF(e)?function eve(n,e){var t,r,i,c;for(r=0,i=e.gc();r=0)return i;if(n.Fk())for(r=0;r=(i=n.gc()))throw C(new hb(e,i));if(n.hi()&&(r=n.Xc(t))>=0&&r!=e)throw C(new Kn(Rk));return n.mi(e,t)}function EJ(n,e){if(this.a=u(ve(n),245),this.b=u(ve(e),245),n.vd(e)>0||n==(pO(),F_)||e==(vO(),L_))throw C(new Kn("Invalid range: "+FSn(n,e)))}function tFn(n){var e,t;for(this.b=new X,this.c=n,this.a=!1,t=new E(n.a);t.a0),(e&-e)==e)return Ht(e*Nu(n,31)*4.656612873077393e-10);do{r=(t=Nu(n,31))%e}while(t-r+(e-1)<0);return Ht(r)}function L1(n){var e,t,r;return bEn(),null!=(r=wA[t=":"+n])?Ht((_n(r),r)):(e=null==(r=yin[t])?function C8e(n){var e,t,r,i;for(e=0,i=(r=n.length)-4,t=0;t0)for(r=new bu(u(it(n.a,c),21)),An(),ar(r,new tG(e)),i=new Sr(c.b,0);i.b1&&(c=function Lve(n,e){var t,r,i;for(t=Nd(new va,n),i=new E(e);i.a(h=null==n.d?0:n.d.length)){for(a=n.d,n.d=L(O1n,yrn,63,2*h+4,0,1),c=0;cxB;){for(c=e,o=0;j.Math.abs(e-c)0),i.a.Xb(i.c=--i.b),aye(n,n.b-o,c,r,i),ne(i.b0),r.a.Xb(r.c=--r.b)}if(!n.d)for(t=0;t102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function IL(n,e){if(null==n)throw C(new p2("null key in entry: null="+e));if(null==e)throw C(new p2("null value in entry: "+n+"=null"))}function sFn(n,e){var t;return t=S(M(kr,1),wi,25,15,[VF(n.a[0],e),VF(n.a[1],e),VF(n.a[2],e)]),n.d&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function oFn(n,e){var t;return t=S(M(kr,1),wi,25,15,[BC(n.a[0],e),BC(n.a[1],e),BC(n.a[2],e)]),n.d&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function Ha(){Ha=F,RR=new d8("GREEDY",0),wun=new d8(lHn,1),KR=new d8(iB,2),_m=new d8("MODEL_ORDER",3),Bm=new d8("GREEDY_MODEL_ORDER",4)}function fFn(n,e){var t,r,i;for(n.b[e.g]=1,r=Re(e.d,0);r.b!=r.d.c;)t=u(_e(r),188),1==n.b[(i=t.c).g]?Ke(n.a,t):2==n.b[i.g]?n.b[i.g]=1:fFn(n,i)}function Gve(n,e,t){var r,i,o,f;for(f=n.r+e,n.r+=e,n.d+=t,r=t/n.n.c.length,i=0,o=new E(n.n);o.a0||!o&&0==f))}(n,t,r.d,i,c,o,f)&&e.Fc(r),(l=r.a[1])&&IJ(n,e,t,l,i,c,o,f))}function ug(n,e,t){try{return Dd(CF(n,e,t),1)}catch(r){throw I(r=jt(r),320)?C(new pi(qx+n.o+"*"+n.p+Gx+e+Xr+t+Ux)):C(r)}}function bFn(n,e,t){try{return Dd(CF(n,e,t),0)}catch(r){throw I(r=jt(r),320)?C(new pi(qx+n.o+"*"+n.p+Gx+e+Xr+t+Ux)):C(r)}}function wFn(n,e,t){try{return Dd(CF(n,e,t),2)}catch(r){throw I(r=jt(r),320)?C(new pi(qx+n.o+"*"+n.p+Gx+e+Xr+t+Ux)):C(r)}}function gFn(n,e){if(-1==n.g)throw C(new hu);n.mj();try{n.d._c(n.g,e),n.f=n.d.j}catch(t){throw I(t=jt(t),73)?C(new Ts):C(t)}}function rpe(n,e,t){le(t,"Linear segments node placement",1),n.b=u(k(e,(G(),Ug)),304),function vCe(n,e){var t,r,i,c,o,f,h,l,a,d,v,p,m,T,A,$,D,N,R,z,en,ln,wn,Gn,zn,se,Je,ur,ys,wo;for(ur=new X,p=new E(e.b);p.a=0){for(h=null,f=new Sr(a.a,l+1);f.b0&&h[r]&&(p=Kw(n.b,h[r],i)),m=j.Math.max(m,i.c.c.b+p);for(c=new E(a.e);c.aR)?(h=2,o=Ze):0==h?(h=1,o=en):(h=0,o=en):(v=en>=o||o-en0?(d=u(un(g.c.a,o-1),10),ln=Kw(n.b,g,d),T=g.n.b-g.d.d-(d.n.b+d.o.b+d.d.a+ln)):T=g.n.b-g.d.d,l=j.Math.min(T,l),oc&&St(e,c,null),e}function DL(n,e){var t,r,i;return t=e.cd(),i=e.dd(),r=n.xc(t),!(!(B(i)===B(r)||null!=i&&et(i,r))||null==r&&!n._b(t))}function OJ(n,e,t,r){var i,c;this.a=e,this.c=r,function Qee(n,e){n.b=e}(this,new fn(-(i=n.a).c,-i.d)),ut(this.b,t),c=r/2,e.a?S8(this.b,0,c):S8(this.b,c,0),W(n.c,this)}function hM(){hM=F,cH=new dE(f1,0),bfn=new dE(aHn,1),wfn=new dE("EDGE_LENGTH_BY_POSITION",2),dfn=new dE("CROSSING_MINIMIZATION_BY_POSITION",3)}function $L(n,e){var t,r;if(t=u(Qw(n.g,e),33))return t;if(r=u(Qw(n.j,e),118))return r;throw C(new Kf("Referenced shape does not exist: "+e))}function ope(n,e){if(n.c==e)return n.d;if(n.d==e)return n.c;throw C(new Kn("Node 'one' must be either source or target of edge 'edge'."))}function fpe(n,e){if(n.c.i==e)return n.d.i;if(n.d.i==e)return n.c.i;throw C(new Kn("Node "+e+" is neither source nor target of edge "+n))}function hpe(n,e){var t;switch(e.g){case 2:case 4:n.c.d.n.b<(t=n.a).d.n.b&&(t=n.c),T1(n,e,(mf(),AR),t);break;case 1:case 3:T1(n,e,(mf(),Tv),null)}}function FL(n,e,t,r,i,c){var o,f,h,l,a;for(o=function d3e(n,e,t){var r,i;switch(r=(i=n.b).d,e.g){case 1:return-r.d-t;case 2:return i.o.a+r.c+t;case 3:return i.o.b+r.a+t;case 4:return-r.b-t;default:return-1}}(e,t,c),f=t==(J(),Rn)||t==qn?-1:1,l=n[t.g],a=0;a0&&(h+=i),l[a]=o,o+=f*(h+r)}function vFn(n){var e,t,r;for(n.n=L(kr,wi,25,r=n.f,15,1),n.d=L(kr,wi,25,r,15,1),e=0;e0?n.c:0),++i;n.b=r,n.d=c}function jFn(n,e){var t;return t=S(M(kr,1),wi,25,15,[CJ(n,(Vo(),nc),e),CJ(n,Nc,e),CJ(n,ec,e)]),n.f&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function ape(n,e,t){try{NM(n,e+n.j,t+n.k,!1,!0)}catch(i){throw I(i=jt(i),73)?C(new pi(i.g+uS+e+Xr+t+").")):C(i)}}function dpe(n,e,t){try{NM(n,e+n.j,t+n.k,!0,!1)}catch(i){throw I(i=jt(i),73)?C(new pi(i.g+uS+e+Xr+t+").")):C(i)}}function EFn(n){var e;fr(n,(nn(),x0))&&((e=u(k(n,x0),21)).Hc((xb(),Lo))?(e.Mc(Lo),e.Fc(No)):e.Hc(No)&&(e.Mc(No),e.Fc(Lo)))}function TFn(n){var e;fr(n,(nn(),x0))&&((e=u(k(n,x0),21)).Hc((xb(),Bo))?(e.Mc(Bo),e.Fc(so)):e.Hc(so)&&(e.Mc(so),e.Fc(Bo)))}function K7(n,e,t,r){var i,c;for(i=e;i0&&(i.b+=e),i}function aM(n,e){var t,r,i;for(i=new $r,r=n.Kc();r.Ob();)H6(t=u(r.Pb(),37),0,i.b),i.b+=t.f.b+e,i.a=j.Math.max(i.a,t.f.a);return i.a>0&&(i.a+=e),i}function MFn(n){var e,t,r;for(r=Ze,t=new E(n.a);t.a>16==6?n.Cb.ih(n,5,cf,e):(r=ei(u(In(u(Bn(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function PFn(n){var e,t,r;n.b==n.c&&(t=dQ(j.Math.max(8,r=n.a.length))<<1,0!=n.b?(JIn(n,e=yo(n.a,t),r),n.a=e,n.b=0):Qmn(n.a,t),n.c=r)}function ype(n,e){var t;return(t=n.b).Xe((We(),Ru))?t.Hf()==(J(),qn)?-t.rf().a-K(Y(t.We(Ru))):e+K(Y(t.We(Ru))):t.Hf()==(J(),qn)?-t.rf().a:e}function H7(n){return 0!=n.b.c.length&&u(un(n.b,0),70).a?u(un(n.b,0),70).a:j$(n)??""+(n.c?Li(n.c.a,n,0):-1)}function dM(n){return 0!=n.f.c.length&&u(un(n.f,0),70).a?u(un(n.f,0),70).a:j$(n)??""+(n.i?Li(n.i.j,n,0):-1)}function jpe(n,e){var t,r;if(e<0||e>=n.gc())return null;for(t=e;t0?n.c:0),i=j.Math.max(i,e.d),++r;n.e=c,n.b=i}function FJ(n,e,t,r){return 0==e?r?(!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),n.o):(!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),t7(n.o)):cM(n,e,t,r)}function BL(n){var e,t;if(n.rb)for(e=0,t=n.rb.i;e>22),i+=r>>22,i<0)||(n.l=t&Bu,n.m=r&Bu,n.h=i&o1,0))}function Ti(n,e,t){var r,i;return xa(i=new wO,e),Dc(i,t),me((!n.c&&(n.c=new V(U0,n,12,10)),n.c),i),P1(r=i,0),Cb(r,1),$1(r,!0),D1(r,!0),r}function ev(n,e){var t,r;if(e>=n.i)throw C(new hD(e,n.i));return++n.j,t=n.g[e],(r=n.i-e-1)>0&&vc(n.g,e+1,n.g,e,r),St(n.g,--n.i,null),n.fi(e,t),n.ci(),t}function IFn(n,e){var r;return n.Db>>16==17?n.Cb.ih(n,21,ho,e):(r=ei(u(In(u(Bn(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function Fpe(n){var e,t,r,i,c;for(i=Ze,c=null,r=new E(n.d);r.at.a.c.length))throw C(new Kn("index must be >= 0 and <= layer node count"));n.c&&Jc(n.c.a,n),n.c=t,t&&lb(t.a,e,n)}function LFn(n,e){var t,r,i;for(r=new ie(ue(t1(n).a.Kc(),new Yn));Ae(r);)return t=u(pe(r),17),new kj(ve((i=u(e.Kb(t),10)).n.b+i.o.b/2));return e5(),e5(),$_}function NFn(n,e){this.c=new we,this.a=n,this.b=e,this.d=u(k(n,(G(),Ug)),304),this.e=B(k(n,(nn(),zsn)))===B((u7(),tP))?new d9n:new a9n}function O6(n,e){var t,r;return r=null,n.Xe((We(),Rv))&&(t=u(n.We(Rv),94)).Xe(e)&&(r=t.We(e)),null==r&&n.yf()&&(r=n.yf().We(e)),null==r&&(r=cn(e)),r}function _L(n,e){var t,r;t=n.Zc(e);try{return r=t.Pb(),t.Qb(),r}catch(i){throw I(i=jt(i),109)?C(new pi("Can't remove element "+e)):C(i)}}function xJ(n,e){var t,r,i;for(_n(e),Tz(e!=n),i=n.b.c.length,r=e.Kc();r.Ob();)t=r.Pb(),W(n.b,_n(t));return i!=n.b.c.length&&(EQ(n,0),!0)}function q7(){q7=F,We(),lcn=iI,new ni(TH,(Hn(),!0)),bWn=ad,wWn=t2,gWn=Ql,dWn=e2,dcn=_y,vWn=mw,LJ(),hcn=lWn,ocn=fWn,fcn=hWn,acn=aWn,SA=oWn}function BJ(n,e,t,r){var i,c,f;for(yi(e,u(r.Xb(0),29)),f=r.bd(1,r.gc()),c=u(t.Kb(e),20).Kc();c.Ob();)BJ(n,(i=u(c.Pb(),17)).c.i==e?i.d.i:i.c.i,t,f)}function xFn(n){var e;return e=new we,fr(n,(G(),uK))?u(k(n,uK),83):(Bt(gt(new Dn(null,new Fn(n.j,16)),new ebn),new x5n(e)),H(n,uK,e),e)}function _J(n,e){var r;return n.Db>>16==6?n.Cb.ih(n,6,lr,e):(r=ei(u(In(u(Bn(n,16),26)||(Fc(),wI),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function RJ(n,e){var r;return n.Db>>16==7?n.Cb.ih(n,1,Vy,e):(r=ei(u(In(u(Bn(n,16),26)||(Fc(),M1n),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function KJ(n,e){var r;return n.Db>>16==9?n.Cb.ih(n,9,It,e):(r=ei(u(In(u(Bn(n,16),26)||(Fc(),A1n),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function BFn(n,e){var r;return n.Db>>16==5?n.Cb.ih(n,9,TI,e):(r=ei(u(In(u(Bn(n,16),26)||(Sn(),Y1),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function HJ(n,e){var r;return n.Db>>16==3?n.Cb.ih(n,0,Jy,e):(r=ei(u(In(u(Bn(n,16),26)||(Sn(),J1),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function _Fn(n,e){var r;return n.Db>>16==7?n.Cb.ih(n,6,cf,e):(r=ei(u(In(u(Bn(n,16),26)||(Sn(),nl),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function RFn(){this.a=new U2n,this.g=new fM,this.j=new fM,this.b=new we,this.d=new fM,this.i=new fM,this.k=new we,this.c=new we,this.e=new we,this.f=new we}function Hpe(n,e,t){var r,i,c;for(t<0&&(t=0),c=n.i,i=t;iMx)return m3(n,r);if(r==n)return!0}}return!1}function G7(n,e){var t,r,i;for(Jc(n.a,e),n.e-=e.r+(0==n.a.c.length?0:n.c),i=Ptn,r=new E(n.a);r.a>16==3?n.Cb.ih(n,12,It,e):(r=ei(u(In(u(Bn(n,16),26)||(Fc(),C1n),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function GJ(n,e){var r;return n.Db>>16==11?n.Cb.ih(n,10,It,e):(r=ei(u(In(u(Bn(n,16),26)||(Fc(),S1n),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function KFn(n,e){var r;return n.Db>>16==10?n.Cb.ih(n,11,ho,e):(r=ei(u(In(u(Bn(n,16),26)||(Sn(),Z1),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function HFn(n,e){var r;return n.Db>>16==10?n.Cb.ih(n,12,lo,e):(r=ei(u(In(u(Bn(n,16),26)||(Sn(),Mw),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function Vs(n){var e;return!(1&n.Bb)&&n.r&&n.r.kh()&&(e=u(n.r,49),n.r=u(Sl(n,e),138),n.r!=e&&4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,9,8,e,n.r))),n.r}function RL(n,e,t){var r;return r=S(M(kr,1),wi,25,15,[wY(n,(Vo(),nc),e,t),wY(n,Nc,e,t),wY(n,ec,e,t)]),n.f&&(r[0]=j.Math.max(r[0],r[2]),r[2]=r[0]),r}function Vpe(n,e){var t,r,i;if(0!=(i=function qve(n,e){var t,r,i;for(i=new Oc(e.gc()),r=e.Kc();r.Ob();)(t=u(r.Pb(),286)).c==t.f?T3(n,t,t.c):K5e(n,t)||(i.c[i.c.length]=t);return i}(n,e)).c.length)for(ar(i,new t0n),t=i.c.length,r=0;r>19)!=(l=e.h>>19)?l-h:(i=n.h)!=(f=e.h)?i-f:(r=n.m)!=(o=e.m)?r-o:n.l-e.l}function bM(){bM=F,FM(),Din=new Pn($nn,$in=Y_),uC(),Iin=new Pn(Fnn,Oin=J_),nM(),Ain=new Pn(Lnn,Pin=Q_),Sin=new Pn(Nnn,(Hn(),!0))}function D6(n,e,t){var r,i;r=e*t,I(n.g,145)?(i=K2(n)).f.d?i.f.a||(n.d.a+=r+Tf):(n.d.d-=r+Tf,n.d.a+=r+Tf):I(n.g,10)&&(n.d.d-=r,n.d.a+=2*r)}function qFn(n,e,t){var r,i,c,o,f;for(i=n[t.g],f=new E(e.d);f.a0?n.g:0),++t;e.b=r,e.e=i}function GFn(n){var e,t,r;if(a7n(n.i,(r=n.b).length)){for(n.b=L(x_,mk,317,t=2*r.length,0,1),n.c=L(x_,mk,317,t,0,1),n.f=t-1,n.i=0,e=n.a;e;e=e.c)J7(n,e,e);++n.g}}function i3e(n,e,t){var r;(r=e.c.i).k==(Vn(),br)?(H(n,(G(),rf),u(k(r,rf),11)),H(n,io,u(k(r,io),11))):(H(n,(G(),rf),e.c),H(n,io,t.d))}function k3(n,e,t){var r,i,c,o,f,h;return gg(),o=e/2,c=t/2,f=1,h=1,(r=j.Math.abs(n.a))>o&&(f=o/r),(i=j.Math.abs(n.b))>c&&(h=c/i),Gf(n,j.Math.min(f,h)),n}function UFn(){zj.call(this),this.e=-1,this.a=!1,this.p=Lr,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=Lr}function zJ(){zJ=F,mWn=Tu(Ye(Ye(Ye(new or,(Wr(),Mc),(ti(),zcn)),Mc,Wcn),Oi,Xcn),Oi,Lcn),yWn=Ye(Ye(new or,Mc,Acn),Mc,Ncn),kWn=Tu(new or,Oi,Bcn)}function w3e(n,e){var t,r,i,c;for(c=new we,e.e=null,e.f=null,r=new E(e.i);r.a0)try{i=ls(e,Lr,Ze)}catch(c){throw I(c=jt(c),127)?C(new tC(c)):C(c)}return!n.a&&(n.a=new oO(n)),i<(t=n.a).i&&i>=0?u(O(t,i),56):null}(n,0==(i=e.c.length)?"":(Ln(0,e.c.length),Te(e.c[0]))),r=1;r0&&(i=zY(n,(c&Ze)%n.d.length,c,e))?i.ed(t):(r=n.tj(c,e,t),n.c.Fc(r),null)}function VJ(n,e){var t,r,i,c;switch(O1(n,e)._k()){case 3:case 2:for(i=0,c=(t=pg(e)).i;i=0?e:-e;r>0;)r%2==0?(t*=t,r=r/2|0):(i*=t,r-=1);return e<0?1/i:i}(n,n)/$Q(2.718281828459045,n))}function y3(n,e){var t;if(n.ni()&&null!=e){for(t=0;t0&&(n.b+=2,n.a+=r):(n.b+=1,n.a+=j.Math.min(r,i))}function YFn(n,e){var r;if(r=!1,vr(e)&&(r=!0,L2(n,new bb(Te(e)))),r||I(e,236)&&(r=!0,L2(n,new yj(eW(u(e,236))))),!r)throw C(new yO(lrn))}function YJ(n){var e,t;switch(u(k(Rr(n),(nn(),Bsn)),420).g){case 0:return new fn((e=n.n).a+(t=n.o).a/2,e.b+t.b/2);case 1:return new mi(n.n);default:return null}}function z7(){z7=F,rP=new y5(f1,0),Eun=new y5("LEFTUP",1),Cun=new y5("RIGHTUP",2),jun=new y5("LEFTDOWN",3),Tun=new y5("RIGHTDOWN",4),XR=new y5("BALANCED",5)}function ZJ(n,e,t){switch(e){case 1:return!n.n&&(n.n=new V(_i,n,1,7)),de(n.n),!n.n&&(n.n=new V(_i,n,1,7)),void Dt(n.n,u(t,14));case 2:return void a6(n,Te(t))}mQ(n,e,t)}function nY(n,e,t){switch(e){case 3:return void n0(n,K(Y(t)));case 4:return void e0(n,K(Y(t)));case 5:return void nu(n,K(Y(t)));case 6:return void eu(n,K(Y(t)))}ZJ(n,e,t)}function gM(n,e,t){var i,c;(i=jf(c=new wO,e,null))&&i.Fi(),Dc(c,t),me((!n.c&&(n.c=new V(U0,n,12,10)),n.c),c),P1(c,0),Cb(c,1),$1(c,!0),D1(c,!0)}function eY(n,e){var t,i;return I(t=g5(n.g,e),235)?((i=u(t,235)).Qh(),i.Nh()):I(t,498)?i=u(t,1938).b:null}function L3e(n,e,t,r){var i,c;return ve(e),ve(t),RPn(!!(c=u(H5(n.d,e),19)),"Row %s not in %s",e,n.e),RPn(!!(i=u(H5(n.b,t),19)),"Column %s not in %s",t,n.c),UOn(n,c.a,i.a,r)}function ZFn(n,e,t,r,i,c,o){var f,h,l,a,d;if(d=kFn(f=(l=c==o-1)?r:0,a=i[c]),10!=r&&S(M(n,o-c),e[c],t[c],f,d),!l)for(++c,h=0;h0?n.i:0)),++e;for(function o2e(n,e){var t,r;for(_n(e),t=!1,r=new E(n);r.a1||-1==f?(c=u(h,15),i.Wb(function H2e(n,e){var r,i,c;for(i=new Oc(e.gc()),r=e.Kc();r.Ob();)(c=AN(n,u(r.Pb(),56)))&&(i.c[i.c.length]=c);return i}(n,c))):i.Wb(AN(n,u(h,56))))}function G3e(n){switch(u(k(n.b,(nn(),Osn)),375).g){case 1:Bt(Vc(qi(new Dn(null,new Fn(n.d,16)),new _bn),new Rbn),new Kbn);break;case 2:!function $7e(n){var e,t,r,i,c,o,f;for(r=0,f=0,o=new E(n.d);o.a0&&OFn(this,this.c-1,(J(),Xn)),this.c0&&n[0].length>0&&(this.c=on(sn(k(Rr(n[0][0]),(G(),Run))))),this.a=L(fJn,q,2018,n.length,0,2),this.b=L(hJn,q,2019,n.length,0,2),this.d=new ADn}function s4e(n){return 0!=n.c.length&&((Ln(0,n.c.length),u(n.c[0],17)).c.i.k==(Vn(),br)||xp(Vc(new Dn(null,new Fn(n,16)),new Own),new Dwn))}function o4e(n,e,t){return le(t,"Tree layout",1),BT(n.b),mh(n.b,(p3(),xP),xP),mh(n.b,c9,c9),mh(n.b,Cy,Cy),mh(n.b,u9,u9),n.a=GM(n.b,e),function x8e(n,e,t){var r,i,o;if(!(i=t)&&(i=new ip),le(i,"Layout",n.a.c.length),on(sn(k(e,(w0(),Uon)))))for(wh(),r=0;r=0?(t=U7(n,nS),r=N7(n,nS)):(t=U7(e=ab(n,1),5e8),r=_r(Uh(r=N7(e,5e8),1),rr(n,1))),bf(Uh(r,32),rr(t,si))}function hLn(n,e,t){var r;switch(ne(0!=e.b),r=u(Os(e,e.a.a),8),t.g){case 0:r.b=0;break;case 2:r.b=n.f;break;case 3:r.a=0;break;default:r.a=n.g}return R8(Re(e,0),r),e}function lLn(n,e,t,r){var i,c,o,f;switch(f=mJ(o=(c=e.d).j,n.b.d[o.g],t),i=ut(Ji(c.n),c.a),c.j.g){case 1:case 3:f.a+=i.a;break;case 2:case 4:f.b+=i.b}Rt(r,f,r.c.b,r.c)}function k4e(n,e,t){var r,i,c,o;for(o=Li(n.e,e,0),(c=new EG).b=t,r=new Sr(n.e,o);r.b=0;e--)win[e]=r,r*=.5;for(t=1,n=24;n>=0;n--)bin[n]=t,t*=.5}function M4e(n){var e,t;if(on(sn(hn(n,(nn(),lw)))))for(t=new ie(ue(c1(n).a.Kc(),new Yn));Ae(t);)if(d0(e=u(pe(t),79))&&on(sn(hn(e,ud))))return!0;return!1}function aLn(n,e){var t,r,i;tr(n.f,e)&&(e.b=n,-1!=Li(n.j,r=e.c,0)||W(n.j,r),-1!=Li(n.j,i=e.d,0)||W(n.j,i),0!=(t=e.a.b).c.length&&(!n.i&&(n.i=new G$n(n)),function Hbe(n,e){var t,r;for(r=new E(e);r.a=0&&Mn(n.substr(e,3),"GMT")||e>=0&&Mn(n.substr(e,3),"UTC"))&&(t[0]=e+3),function _Z(n,e,t){var r,i,c,o;if(e[0]>=n.length)return t.o=0,!0;switch(Pr(n,e[0])){case 43:i=1;break;case 45:i=-1;break;default:return t.o=0,!0}if(++e[0],c=e[0],0==(o=EM(n,e))&&e[0]==c)return!1;if(e[0]=n.f)break;c.c[c.c.length]=t}return c}function bY(n){var e,t,r,i;for(e=null,i=new E(n.wf());i.a0&&vc(n.g,e,n.g,e+r,f),o=t.Kc(),n.i+=r,i=0;ic&&Ufe(l,oIn(t[f],ain))&&(i=f,c=h);return i>=0&&(r[0]=e+c),i}function B4e(n,e,t){le(t,"Grow Tree",1),n.b=e.f,on(sn(k(e,(Zp(),$m))))?(n.c=new bj,OMn(n,null)):n.c=new bj,n.a=!1,Fxn(n,e.f),H(e,zin,(Hn(),!!n.a)),ce(t)}function ru(n){var t;return n>=Vr?(t=56320+(n-Vr&1023)&Gt,String.fromCharCode(Ek+(n-Vr>>10&1023)&Gt)+""+String.fromCharCode(t)):String.fromCharCode(n&Gt)}function wLn(n,e,t,r,i){var c,o,f;for(c=Yxn(n,e,t,r,i),f=!1;!c;)CM(n,i,!0),f=!0,c=Yxn(n,e,t,r,i);f&&CM(n,i,!1),0!=(o=$F(i)).c.length&&(n.d&&n.d.lg(o),wLn(n,i,t,r,o))}function kM(){kM=F,xH=new S5(f1,0),r1n=new S5("DIRECTED",1),c1n=new S5("UNDIRECTED",2),e1n=new S5("ASSOCIATION",3),i1n=new S5("GENERALIZATION",4),t1n=new S5("DEPENDENCY",5)}function j3(n,e){var t,r;for(_n(e),r=n.b.c.length,W(n.b,e);r>0;){if(t=r,n.a.ue(un(n.b,r=(r-1)/2|0),e)<=0)return Ps(n.b,t,e),!0;Ps(n.b,t,un(n.b,r))}return Ps(n.b,r,e),!0}function wY(n,e,t,r){var i,c;if(i=0,t)i=BC(n.a[t.g][e.g],r);else for(c=0;c=f}function gY(n,e,t,r){var i;if(i=!1,vr(r)&&(i=!0,Tp(e,t,Te(r))),i||ib(r)&&(i=!0,gY(n,e,t,r)),i||I(r,236)&&(i=!0,Ta(e,t,u(r,236))),!i)throw C(new yO(lrn))}function gLn(n,e){var t,r,i,c;if(_n(e),(c=n.a.gc())=B1?"error":"warn",n.a),n.b&&pZ(e,t,n.b,"Exception: ",!0))}function k(n,e){var t;return!n.q&&(n.q=new we),te(n.q,e)??(I(t=e.wg(),4)&&(null==t?(!n.q&&(n.q=new we),G2(n.q,e)):(!n.q&&(n.q=new we),tt(n.q,e,t))),t)}function Wr(){Wr=F,fh=new l8("P1_CYCLE_BREAKING",0),ql=new l8("P2_LAYERING",1),Hc=new l8("P3_NODE_ORDERING",2),Mc=new l8("P4_NODE_PLACEMENT",3),Oi=new l8("P5_EDGE_ROUTING",4)}function kLn(n,e){var t,r,c,o;for(r=(1==e?gR:wR).a.ec().Kc();r.Ob();)for(t=u(r.Pb(),103),o=u(it(n.f.c,t),21).Kc();o.Ob();)c=u(o.Pb(),46),Jc(n.b.b,c.b),Jc(n.b.a,u(c.b,81).d)}function Q4e(n,e){var t;if(h6(),n.c==e.c){if(n.b==e.b||function ybe(n,e){return r3(),n==I0&&e==rw||n==rw&&e==I0||n==Lg&&e==tw||n==tw&&e==Lg}(n.b,e.b)){if(t=function Iie(n){return n==I0||n==rw}(n.b)?1:-1,n.a&&!e.a)return t;if(!n.a&&e.a)return-t}return Wc(n.b.g,e.b.g)}return Jt(n.c,e.c)}function yLn(n,e){var t,r;if(kY(n,e))return!0;for(r=new E(e);r.a=(i=n.Vi())||e<0)throw C(new pi(a_+e+Ya+i));if(t>=i||t<0)throw C(new pi(d_+t+Ya+i));return e!=t?(c=n.Ti(t),n.Hi(e,c),r=c):r=n.Oi(t),r}function TLn(n){var e,t,r;if(r=n,n)for(e=0,t=n.Ug();t;t=t.Ug()){if(++e>Mx)return TLn(t);if(r=t,t==n)throw C(new $i("There is a cycle in the containment hierarchy of "+n))}return r}function Il(n){var e,t,r;for(r=new $a(Xr,"[","]"),t=n.Kc();t.Ob();)Qh(r,B(e=t.Pb())===B(n)?"(this Collection)":null==e?iu:xi(e));return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function kY(n,e){var t,r;if(r=!1,e.gc()<2)return!1;for(t=0;tr&&(Ce(e-1,n.length),n.charCodeAt(e-1)<=32);)--e;return r>0||e1&&(n.j.b+=n.e)):(n.j.a+=t.a,n.j.b=j.Math.max(n.j.b,t.b),n.d.c.length>1&&(n.j.a+=n.e))}function Ol(){Ol=F,cXn=S(M(Qr,1),lc,61,0,[(J(),Rn),Xn,ae]),iXn=S(M(Qr,1),lc,61,0,[Xn,ae,qn]),uXn=S(M(Qr,1),lc,61,0,[ae,qn,Rn]),sXn=S(M(Qr,1),lc,61,0,[qn,Rn,Xn])}function Z4e(n,e,t,r){var i,o,f,h,a;if((o=n.c.d).j!=(f=n.d.d).j)for(a=n.b,i=o.j,h=null;i!=f.j;)h=0==e?HC(i):qQ(i),Ke(r,ut(mJ(i,a.d[i.g],t),mJ(h,a.d[h.g],t))),i=h}function n5e(n,e,t,r){var i,c,o,f,h;return f=u((o=DFn(n.a,e,t)).a,19).a,c=u(o.b,19).a,r&&(h=u(k(e,(G(),Au)),10),i=u(k(t,Au),10),h&&i&&(BSn(n.b,h,i),f+=n.b.i,c+=n.b.e)),f>c}function MLn(n){var e,t,r,i,c,f,h,l;for(this.a=eFn(n),this.b=new X,r=0,i=(t=n).length;r0&&(n.a[tl.p]=pln++)}for(R9=0,Nf=0,x9=(ur=t).length;Nf0;){for(ne(fj.b>0),oj=0,f=new E((tl=u(fj.a.Xb(fj.c=--fj.b),11)).e);f.a0&&(tl.j==(J(),Rn)?(n.a[tl.p]=R9,++R9):(n.a[tl.p]=R9+sj+eq,++eq))}R9+=eq}for(U4=new we,p=new qh,ys=0,OI=(se=e).length;ysl.b&&(l.b=Wv)):tl.i.c==zee&&(Wvl.c&&(l.c=Wv));for(Kp(m,0,m.length,null),Xv=L(be,Ne,25,m.length,15,1),r=L(be,Ne,25,R9+1,15,1),A=0;A0;)en%2>0&&(i+=cq[en+1]),++cq[en=(en-1)/2|0];for(wn=L(vJn,rn,362,2*m.length,0,1),N=0;NAD(n.d).c?(n.i+=n.g.c,dL(n.d)):AD(n.d).c>AD(n.g).c?(n.e+=n.d.c,dL(n.g)):(n.i+=rTn(n.g),n.e+=rTn(n.d),dL(n.g),dL(n.d))}function ALn(n,e,t,r){n.a.d=j.Math.min(e,t),n.a.a=j.Math.max(e,r)-n.a.d,ef&&(h=f/r),(i=j.Math.abs(e.b-n.b))>c&&(l=c/i),o=j.Math.min(h,l),n.a+=o*(e.a-n.a),n.b+=o*(e.b-n.b)}function s5e(n,e,t,r,i){var c,o;for(o=!1,c=u(un(t.b,0),33);jye(n,e,c,r,i)&&(o=!0,R3e(t,c),0!=t.b.c.length);)c=u(un(t.b,0),33);return 0==t.b.c.length&&G7(t.j,t),o&&lM(e.q),o}function o5e(n,e){var t,r,i,c;if(gg(),e.b<2)return!1;for(r=t=u(_e(c=Re(e,0)),8);c.b!=c.d.c;){if(gN(n,r,i=u(_e(c),8)))return!0;r=i}return!!gN(n,r,t)}function jY(n,e,t,r){return 0==t?(!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),HE(n.o,e,r)):u(In(u(Bn(n,16),26)||n.zh(),t),66).Nj().Rj(n,_c(n),t-ee(n.zh()),e,r)}function JL(n,e){var t;e!=n.sb?(t=null,n.sb&&(t=u(n.sb,49).ih(n,1,M9,t)),e&&(t=u(e,49).gh(n,1,M9,t)),(t=NQ(n,e,t))&&t.Fi()):4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,4,e,e))}function Vn(){Vn=F,nr=new p5("NORMAL",0),br=new p5("LONG_EDGE",1),zt=new p5("EXTERNAL_PORT",2),Sc=new p5("NORTH_SOUTH_PORT",3),ns=new p5("LABEL",4),Af=new p5("BREAKING_POINT",5)}function d5e(n,e,t){var r;le(t,"Self-Loop routing",1),r=function Rge(n){switch(u(k(n,(nn(),l1)),218).g){case 1:return new twn;case 3:return new swn;default:return new ewn}}(e),jE(k(e,(VT(),b9))),Bt(Vc(gt(gt(qi(new Dn(null,new Fn(e.b,16)),new U0n),new z0n),new W0n),new X0n),new B7n(n,r)),ce(t)}function OLn(n,e){var t,r,i;return(e&=63)<22?(t=n.l<>22-e,i=n.h<>22-e):e<44?(t=0,r=n.l<>44-e):(t=0,r=0,i=n.l<n)throw C(new Kn("k must be smaller than n"));return 0==e||e==n?1:0==n?0:QJ(n)/(QJ(e)*QJ(n-e))}function EY(n,e){var t,r,i,c;for(t=new zU(n);null!=t.g||t.c?null==t.g||0!=t.i&&u(t.g[t.i-1],47).Ob():CX(t);)if(I(c=u(MM(t),56),160))for(r=u(c,160),i=0;i0&&sk(n,t,e),i):function lme(n,e,t){var r,i,c;return i=n.c[t.c.p][t.p],null!=(r=n.c[e.c.p][e.p]).a&&null!=i.a?((c=n$(r.a,i.a))<0?sk(n,e,t):c>0&&sk(n,t,e),c):null!=r.a?(sk(n,e,t),-1):null!=i.a?(sk(n,t,e),1):0}(n,e,t)}function FLn(n,e,t){var r,i,c,o;if(0!=e.b){for(r=new Ct,o=Re(e,0);o.b!=o.d.c;)zr(r,cQ(c=u(_e(o),86))),(i=c.e).a=u(k(c,(uc(),QK)),19).a,i.b=u(k(c,Hon),19).a;FLn(n,r,jc(t,r.b/n.a|0))}}function LLn(n,e){var t,r,i,c,o;if(n.e<=e||function xle(n,e,t){var r;return(r=W6(n,e,!1)).b<=e&&r.a<=t}(n,n.g,e))return n.g;for(o=n.r,i=((c=n.r)-(r=n.g))/2+r;r+11&&(n.e.b+=n.a)):(n.e.a+=t.a,n.e.b=j.Math.max(n.e.b,t.b),n.d.c.length>1&&(n.e.a+=n.a))}function F5e(n){var e,t,r,i;switch(e=(i=n.i).b,r=i.j,t=i.g,i.a.g){case 0:t.a=(n.g.b.o.a-r.a)/2;break;case 1:t.a=e.d.n.a+e.d.a.a;break;case 2:t.a=e.d.n.a+e.d.a.a-r.a;break;case 3:t.b=e.d.n.b+e.d.a.b}}function NLn(n,e,t,r,i){if(rr&&(n.a=r),n.bi&&(n.b=i),n}function L5e(n){if(I(n,149))return function h8e(n){var t,r,l,a,d;return d=dY(n),null!=n.a&&Tp(d,"category",n.a),!t8(new Yv(n.d))&&(Xo(d,"knownOptions",l=new da),t=new kmn(l),Ir(new Yv(n.d),t)),!t8(n.g)&&(Xo(d,"supportedFeatures",a=new da),r=new ymn(a),Ir(n.g,r)),d}(u(n,149));if(I(n,229))return function s2e(n){var e,i,c;return c=dY(n),!t8(n.c)&&(Xo(c,"knownLayouters",i=new da),e=new jmn(i),Ir(n.c,e)),c}(u(n,229));if(I(n,23))return function b5e(n){var e,h,l;return l=dY(n),null!=n.e&&Tp(l,_S,n.e),!!n.k&&Tp(l,"type",TD(n.k)),!t8(n.j)&&(h=new da,Xo(l,h_,h),e=new Emn(h),Ir(n.j,e)),l}(u(n,23));throw C(new Kn(arn+Il(new Uu(S(M(Zn,1),rn,1,5,[n])))))}function SY(n,e,t,r){var i,c;if(e.k==(Vn(),br))for(c=new ie(ue(Ni(e).a.Kc(),new Yn));Ae(c);)if((i=u(pe(c),17)).c.i.k==br&&n.c.a[i.c.i.c.p]==r&&n.c.a[e.c.p]==t)return!0;return!1}function xLn(n,e,t,r){var i;this.b=r,this.e=n==(t0(),t9),this.d=ya(Hu,[q,Oh],[177,25],16,[(i=e[t]).length,i.length],2),this.a=ya(be,[q,Ne],[48,25],15,[i.length,i.length],2),this.c=new fY(e,t)}function B5e(n){var t,r;for(n.k=new PX((J(),S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn])).length,n.j.c.length),r=new E(n.j);r.a=t)return T3(n,e,r.p),!0;return!1}function _Ln(n){var e;return 64&n.Db?YL(n):(e=new ts(ern),!n.a||De(De((e.a+=' "',e),n.a),'"'),De(Pd(De(Pd(De(Pd(De(Pd((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function RLn(n,e,t){var r,i,c,o,f;for(f=Kc(n.e.Tg(),e),i=u(n.g,119),r=0,o=0;o0&&qLn(n,c,t));e.p=0}function bn(n){var e;this.c=new Ct,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,this.j=n.i?n.i:new Ms(e=u(Go(V1),9),u(yo(e,e.length),9),0),this.g=n.f}function GLn(n,e,t){var r,i,c;if(!(t<=e+2))for(i=(t-e)/2|0,r=0;r=0?n.Bh(i):RY(n,r)}else $s(n,t,r)}function AY(n){var e,t;if(t=null,e=!1,I(n,204)&&(e=!0,t=u(n,204).a),e||I(n,258)&&(e=!0,t=""+u(n,258).a),e||I(n,483)&&(e=!0,t=""+u(n,483).a),!e)throw C(new yO(lrn));return t}function WLn(n,e){var t,r;if(n.f){for(;e.Ob();)if(I(r=(t=u(e.Pb(),72)).ak(),99)&&u(r,18).Bb&sc&&(!n.e||r.Gj()!=R4||0!=r.aj())&&null!=t.dd())return e.Ub(),!0;return!1}return e.Ob()}function XLn(n,e){var t,r;if(n.f){for(;e.Sb();)if(I(r=(t=u(e.Ub(),72)).ak(),99)&&u(r,18).Bb&sc&&(!n.e||r.Gj()!=R4||0!=r.aj())&&null!=t.dd())return e.Pb(),!0;return!1}return e.Sb()}function PY(n,e,t){var r,i,o,f,h;for(h=Kc(n.e.Tg(),e),r=0,f=n.i,i=u(n.g,119),o=0;o=(i/2|0))for(this.e=r?r.c:null,this.d=i;t++0;)MX(this);this.b=e,this.a=null}function J5e(n,e){var t,r;e.a?function k8e(n,e){var t;if(!_8(n.b,e.b))throw C(new $i("Invalid hitboxes for scanline constraint calculation."));(HOn(e.b,u(function kue(n,e){return PO(y$n(n.a,e,!0))}(n.b,e.b),57))||HOn(e.b,u(function mue(n,e){return PO(k$n(n.a,e,!0))}(n.b,e.b),57)))&&wh(),n.a[e.b.f]=u($D(n.b,e.b),57),(t=u(DD(n.b,e.b),57))&&(n.a[t.f]=e.b)}(n,e):((t=u($D(n.b,e.b),57))&&t==n.a[e.b.f]&&t.a&&t.a!=e.b.a&&t.c.Fc(e.b),(r=u(DD(n.b,e.b),57))&&n.a[r.f]==e.b&&r.a&&r.a!=e.b.a&&e.b.c.Fc(r),kD(n.b,e.b))}function QLn(n,e){var t,r;if(t=u(ai(n.b,e),124),u(u(it(n.r,e),21),84).dc())return t.n.b=0,void(t.n.c=0);t.n.b=n.C.b,t.n.c=n.C.c,n.A.Hc((Zu(),gd))&&kBn(n,e),r=function Sve(n,e){var t,r,i;for(i=0,r=u(u(it(n.r,e),21),84).Kc();r.Ob();)i+=(t=u(r.Pb(),111)).d.b+t.b.rf().a+t.d.c,r.Ob()&&(i+=n.w);return i}(n,e),pN(n,e)==(ig(),Yl)&&(r+=2*n.w),t.a.a=r}function JLn(n,e){var t,r;if(t=u(ai(n.b,e),124),u(u(it(n.r,e),21),84).dc())return t.n.d=0,void(t.n.a=0);t.n.d=n.C.d,t.n.a=n.C.a,n.A.Hc((Zu(),gd))&&yBn(n,e),r=function Ave(n,e){var t,r,i;for(i=0,r=u(u(it(n.r,e),21),84).Kc();r.Ob();)i+=(t=u(r.Pb(),111)).d.d+t.b.rf().b+t.d.a,r.Ob()&&(i+=n.w);return i}(n,e),pN(n,e)==(ig(),Yl)&&(r+=2*n.w),t.a.b=r}function Y5e(n,e){var t,r,i,c;for(c=new X,r=new E(e);r.a=0&&Mn(n.substr(f,2),"//")?(h=vL(n,f+=2,A9,P9),r=n.substr(f,h-f),f=h):null!=d&&(f==n.length||(Ce(f,n.length),47!=n.charCodeAt(f)))&&(o=!1,-1==(h=wz(n,ru(35),f))&&(h=n.length),r=n.substr(f,h-f),f=h);if(!t&&f0&&58==Pr(a,a.length-1)&&(i=a,f=h)),f0&&(Ce(0,t.length),47!=t.charCodeAt(0))))throw C(new Kn("invalid opaquePart: "+t));if(n&&(null==e||!c8(EI,e.toLowerCase()))&&null!=t&&oL(t,A9,P9))throw C(new Kn(aGn+t));if(n&&null!=e&&c8(EI,e.toLowerCase())&&!function Z3e(n){if(null!=n&&n.length>0&&33==Pr(n,n.length-1))try{return null==eNn(rs(n,0,n.length-1)).e}catch(t){if(!I(t=jt(t),32))throw C(t)}return!1}(t))throw C(new Kn(aGn+t));if(!function r2e(n){var e;return null==n||(e=n.length)>0&&(Ce(e-1,n.length),58==n.charCodeAt(e-1))&&!oL(n,A9,P9)}(r))throw C(new Kn("invalid device: "+r));if(!function Qwe(n){var e,t;if(null==n)return!1;for(e=0,t=n.length;et.a&&(r.Hc(($b(),Dy))?i=(e.a-t.a)/2:r.Hc($y)&&(i=e.a-t.a)),e.b>t.b&&(r.Hc(($b(),Ly))?c=(e.b-t.b)/2:r.Hc(Fy)&&(c=e.b-t.b)),vY(n,i,c)}function cNn(n,e,t,r,i,c,o,f,h,l,a,d,g){I(n.Cb,88)&&Nb(Du(u(n.Cb,88)),4),Dc(n,t),n.f=o,a3(n,f),b3(n,h),l3(n,l),d3(n,a),$1(n,d),w3(n,g),D1(n,!0),P1(n,i),n.ok(c),xa(n,e),null!=r&&(n.i=null,yC(n,r))}function uNn(n){var e,t;if(n.f){for(;n.n>0;){if(I(t=(e=u(n.k.Xb(n.n-1),72)).ak(),99)&&u(t,18).Bb&sc&&(!n.e||t.Gj()!=R4||0!=t.aj())&&null!=e.dd())return!0;--n.n}return!1}return n.n>0}function LY(n,e,t){if(n<0)return K6(GRn,S(M(Zn,1),rn,1,5,[t,Q(n)]));if(e<0)throw C(new Kn(URn+e));return K6("%s (%s) must not be greater than size (%s)",S(M(Zn,1),rn,1,5,[t,Q(n),Q(e)]))}function NY(n,e,t,r,i,c){var f,h,l;if(r-t<7)!function Qge(n,e,t,r){var i,c,o;for(i=e+1;ie&&r.ue(n[c-1],n[c])>0;--c)o=n[c],St(n,c,n[c-1]),St(n,c-1,o)}(e,t,r,c);else if(NY(e,n,h=t+i,l=h+((f=r+i)-h>>1),-i,c),NY(e,n,l,f,-i,c),c.ue(n[l-1],n[l])<=0)for(;t=r||e=0?n.sh(c,t):aZ(n,i,t)}else Ls(n,r,i,t)}function sNn(n){var e,t,r,i;if(t=u(n,49).qh())try{if(r=null,(e=S3((fl(),ao),qBn(function Zge(n){return null==n.e?n:(!n.c&&(n.c=new kN(0!=(256&n.f),n.i,n.a,n.d,0!=(16&n.f),n.j,n.g,null)),n.c)}(t))))&&(i=e.rh())&&(r=i.Wk(function sre(n){return _n(n),n}(t.e))),r&&r!=n)return sNn(r)}catch(c){if(!I(c=jt(c),60))throw C(c)}return n}function Rc(n,e,t){var i,c,o;if(o=null==e?0:n.b.se(e),0==(i=n.a.get(o)??new Array).length)n.a.set(o,i);else if(c=EDn(n,e,i))return c.ed(t);return St(i,i.length,new iE(e,t)),++n.c,MT(n.b),null}function oNn(n,e){var r;return BT(n.a),mh(n.a,(TC(),GP),GP),mh(n.a,D4,D4),Ye(r=new or,D4,(UC(),eH)),B(hn(e,(Ob(),iH)))!==B((A7(),UP))&&Ye(r,D4,ZK),Ye(r,D4,nH),oyn(n.a,r),GM(n.a,e)}function fNn(n){if(!n)return z9n(),jUn;var e=n.valueOf?n.valueOf():n;if(e!==n){var t=H_[typeof e];return t?t(e):AQ(typeof e)}return n instanceof Array||n instanceof j.Array?new $q(n):new G9(n)}function hNn(n,e,t){var r,i,c;switch(c=n.o,(i=(r=u(ai(n.p,t),244)).i).b=Z7(r),i.a=Y7(r),i.b=j.Math.max(i.b,c.a),i.b>c.a&&!e&&(i.b=c.a),i.c=-(i.b-c.a)/2,t.g){case 1:i.d=-i.a;break;case 3:i.d=c.b}ON(r),DN(r)}function lNn(n,e,t){var r,i,c;switch(c=n.o,(i=(r=u(ai(n.p,t),244)).i).b=Z7(r),i.a=Y7(r),i.a=j.Math.max(i.a,c.b),i.a>c.b&&!e&&(i.a=c.b),i.d=-(i.a-c.b)/2,t.g){case 4:i.c=-i.b;break;case 2:i.c=c.a}ON(r),DN(r)}function w6e(n,e){var t,r,i,c;if(gg(),e.b<2)return!1;for(r=t=u(_e(c=Re(e,0)),8);c.b!=c.d.c;){if(i=u(_e(c),8),!Yp(n,r)||!Yp(n,i))return!1;r=i}return!(!Yp(n,r)||!Yp(n,t))}function xY(n,e){var o,f,h,l,d;return o=Zh(d=n,"x"),function s0e(n,e){nu(n,null==e||qE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}(new smn(e).a,o),f=Zh(d,"y"),function o0e(n,e){eu(n,null==e||qE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}(new omn(e).a,f),h=Zh(d,u_),function f0e(n,e){e0(n,null==e||qE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}(new fmn(e).a,h),l=Zh(d,c_),function h0e(n,e){n0(n,null==e||qE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}(new hmn(e).a,l),l}function Nb(n,e){vBn(n,e),1&n.b&&(n.a.a=null),2&n.b&&(n.a.f=null),4&n.b&&(n.a.g=null,n.a.i=null),16&n.b&&(n.a.d=null,n.a.e=null),8&n.b&&(n.a.b=null),32&n.b&&(n.a.j=null,n.a.c=null)}function p6e(n){var e,t,r,i,c;if(null==n)return iu;for(c=new $a(Xr,"[","]"),r=0,i=(t=n).length;r0)for(o=n.c.d,i=Gf(pr(new fn((f=n.d.d).a,f.b),o),1/(r+1)),c=new fn(o.a,o.b),t=new E(n.a);t.a(Ln(f+1,e.c.length),u(e.c[f+1],19)).a-r&&++l,W(o,(Ln(f+l,e.c.length),u(e.c[f+l],19))),h+=(Ln(f+l,e.c.length),u(e.c[f+l],19)).a-r,++t;t=0?n._g(t,!0,!0):b0(n,i,!0),153),u(r,215).ol(e)}function KY(n){var e,t;return n>-0x800000000000&&n<0x800000000000?0==n?0:((e=n<0)&&(n=-n),t=Ht(j.Math.floor(j.Math.log(n)/.6931471805599453)),(!e||n!=j.Math.pow(2,t))&&++t,t):xOn(tu(n))}function mNn(n,e){var t,r,i;return Pi(r=new i1(n),e),H(r,(G(),hP),e),H(r,(nn(),Nt),(Tr(),Pc)),H(r,hh,(Th(),eI)),ba(r,(Vn(),zt)),Hi(t=new gc,r),ir(t,(J(),qn)),Hi(i=new gc,r),ir(i,Xn),r}function kNn(n){switch(n.g){case 0:return new jO((t0(),Ey));case 1:return new L3n;case 2:return new H3n;default:throw C(new Kn("No implementation is available for the crossing minimizer "+(null!=n.f?n.f:""+n.g)))}}function yNn(n,e){var r,i,c,o;for(n.c[e.p]=!0,W(n.a,e),o=new E(e.j);o.a=(c=o.gc()))o.$b();else for(i=o.Kc(),r=0;r0&&(f+=t,++e);e>1&&(f+=n.c*(e-1))}else f=n8n(lOn(mT(gt(c$(n.a),new Nln),new xln)));return f>0?f+n.n.d+n.n.a:0}function Z7(n){var e,t,r,i,c,f;if(f=0,0==n.b)f=n8n(lOn(mT(gt(c$(n.a),new Fln),new Lln)));else{for(e=0,i=0,c=(r=oFn(n,!0)).length;i0&&(f+=t,++e);e>1&&(f+=n.c*(e-1))}return f>0?f+n.n.b+n.n.c:0}function MNn(n){var e,t;return(t=new cl).a+="e_",null!=(e=function Qbe(n){return 0!=n.b.c.length&&u(un(n.b,0),70).a?u(un(n.b,0),70).a:j$(n)}(n))&&(t.a+=""+e),n.c&&n.d&&(De((t.a+=" ",t),dM(n.c)),De(cc((t.a+="[",t),n.c.i),"]"),De((t.a+=nB,t),dM(n.d)),De(cc((t.a+="[",t),n.d.i),"]")),t.a}function SNn(n){switch(n.g){case 0:return new x3n;case 1:return new B3n;case 2:return new N3n;case 3:return new _3n;default:throw C(new Kn("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function qY(n,e,t,r,i){var c;switch(c=0,i.g){case 1:c=j.Math.max(0,e.b+n.b-(t.b+r));break;case 3:c=j.Math.max(0,-n.b-r);break;case 2:c=j.Math.max(0,-n.a-r);break;case 4:c=j.Math.max(0,e.a+n.a-(t.a+r))}return c}function GY(n){var e,t;switch(n.b){case-1:return!0;case 0:return(t=n.t)>1||-1==t||(e=Vs(n))&&(Zr(),e.Cj()==TGn)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function UY(n,e){var t,r,i,c;if(Ve(n),0!=n.c||123!=n.a)throw C(new Ee(Pe((je(),zqn))));if(c=112==e,(t=mp(n.i,125,r=n.d))<0)throw C(new Ee(Pe((je(),Wqn))));return i=rs(n.i,r,t),n.d=t+1,dPn(i,c,512==(512&n.e))}function x6(n,e,t,r,i){var c,o,f,h;return B(h=SD(n,u(i,56)))!==B(i)?(f=u(n.g[t],72),N5(n,t,zL(n,0,c=jh(e,h))),zu(n.e)&&(uY(o=kl(n,9,c.ak(),i,h,r,!1),new Jh(n.e,9,n.c,f,c,r,!1)),lF(o)),h):i}function ANn(n,e){var t,r;try{return function Ble(n,e){var t;return Tz(!!(t=(_n(n),n).g)),_n(e),t(e)}(n.a,e)}catch(c){if(I(c=jt(c),32)){try{if(r=ls(e,Lr,Ze),t=Go(n.a),r>=0&&r=0?n._g(t,!0,!0):b0(n,i,!0),153),u(r,215).ll(e);throw C(new Kn(_l+e.ne()+e_))}function EM(n,e){var t,r,i;if(i=0,(r=e[0])>=n.length)return-1;for(Ce(r,n.length),t=n.charCodeAt(r);t>=48&&t<=57&&(i=10*i+(t-48),!(++r>=n.length));)Ce(r,n.length),t=n.charCodeAt(r);return r>e[0]?e[0]=r:i=-1,i}function Y6e(n,e,t){var r,i,o,f;o=n.c,f=n.d,i=(Gi(S(M(hr,1),q,8,0,[o.i.n,o.n,o.a])).b+Gi(S(M(hr,1),q,8,0,[f.i.n,f.n,f.a])).b)/2,r=o.j==(J(),Xn)?new fn(e+o.i.c.c.a+t,i):new fn(e-t,i),kp(n.a,0,r)}function d0(n){var e,r,i;for(e=null,r=gl(pf(S(M(Mf,1),rn,20,0,[(!n.b&&(n.b=new $n(he,n,4,7)),n.b),(!n.c&&(n.c=new $n(he,n,5,8)),n.c)])));Ae(r);)if(i=Ii(u(pe(r),82)),e){if(e!=i)return!1}else e=i;return!0}function sN(n,e,t){var r;if(++n.j,e>=n.i)throw C(new pi(a_+e+Ya+n.i));if(t>=n.i)throw C(new pi(d_+t+Ya+n.i));return r=n.g[t],e!=t&&(e>16)>>16&16),t+=e=(n>>=e)-256>>16&8,t+=e=(n<<=e)-Ub>>16&4,(t+=e=(n<<=e)-Jf>>16&2)+2-(e=(r=(n<<=e)>>14)&~(r>>1)))}function Z6e(n){var e,t,r,i;for(x2(),jA=new X,sR=new we,uR=new X,!n.a&&(n.a=new V(It,n,10,11)),function OTe(n){var e,t,i,o,f,h,l,d,g,v;for(e=new we,h=new re(n);h.e!=h.i.gc();){for(f=u(oe(h),33),t=new sr,tt(sR,f,t),v=new aan,i=u(us(new Dn(null,new Rd(new ie(ue(tk(f).a.Kc(),new Yn)))),dTn(v,Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[(kf(),ws)])))),83),NIn(t,u(i.xc((Hn(),!0)),14),new dan),o=u(us(gt(u(i.xc(!1),15).Lc(),new ban),Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[ws]))),15).Kc();o.Ob();)(g=jLn(u(o.Pb(),79)))&&((l=u(Qi(Ai(e.f,g)),21))||(l=Hxn(g),Rc(e.f,g,l)),zr(t,l));for(i=u(us(new Dn(null,new Rd(new ie(ue(c1(f).a.Kc(),new Yn)))),dTn(v,Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[ws])))),83),NIn(t,u(i.xc(!0),14),new wan),d=u(us(gt(u(i.xc(!1),15).Lc(),new gan),Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[ws]))),15).Kc();d.Ob();)(g=ELn(u(d.Pb(),79)))&&((l=u(Qi(Ai(e.f,g)),21))||(l=Hxn(g),Rc(e.f,g,l)),zr(t,l))}}(e=n.a),i=new re(e);i.e!=i.i.gc();)r=u(oe(i),33),-1==Li(jA,r,0)&&(t=new X,W(uR,t),_$n(r,t));return uR}function PNn(n,e){var t,r,i,c,o,f,h,l;for(l=K(Y(k(e,(nn(),Qm)))),h=n[0].n.a+n[0].o.a+n[0].d.c+l,f=1;f0?1:$d(isNaN(r),isNaN(0)))>=0^(Mo(ih),(j.Math.abs(f)<=ih||0==f||isNaN(f)&&isNaN(0)?0:f<0?-1:f>0?1:$d(isNaN(f),isNaN(0)))>=0)?j.Math.max(f,r):(Mo(ih),(j.Math.abs(r)<=ih||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:$d(isNaN(r),isNaN(0)))>0?j.Math.sqrt(f*f+r*r):-j.Math.sqrt(f*f+r*r))}(c=r.b,o=i.b))>=0?t:(f=Y5(pr(new fn(o.c+o.b/2,o.d+o.a/2),new fn(c.c+c.b/2,c.d+c.a/2))),-(JBn(c,o)-1)*f)}function b0(n,e,t){var r,i,c;if(c=mg((vu(),Dr),n.Tg(),e))return Zr(),u(c,66).Oj()||(c=R2(ji(Dr,c))),i=u((r=n.Yg(c))>=0?n._g(r,!0,!0):b0(n,c,!0),153),u(i,215).hl(e,t);throw C(new Kn(_l+e.ne()+e_))}function zY(n,e,t,r){var i,c,o,f,h;if(i=n.d[e])if(c=i.g,h=i.i,null!=r){for(f=0;f>5),15,1))[t]=1<1;e>>=1)1&e&&(r=Vw(r,t)),t=1==t.d?Vw(t,t):new L$n(GBn(t.a,t.d,L(be,Ne,25,t.d<<1,15,1)));return Vw(r,t)}(n,e)}function INn(n){var e,t,r;for(rU(),this.b=CWn,this.c=(ci(),Lh),this.f=(k7n(),TWn),this.a=n,UG(this,new Oan),PM(this),r=new E(n.b);r.a=null.jm()?(MM(n),WY(n)):e.Ob()}function ume(n,e,t){var i,c,o,f;if(!(f=t)&&(f=TW(new ip,0)),le(f,UKn,1),J_n(n.c,e),1==(o=function kEe(n,e){var t,r,i,c,o,f,h,a,d,g,v,p;if(n.c=n.d,v=null==(p=sn(k(e,(nn(),_Qn))))||(_n(p),p),c=u(k(e,(G(),Ac)),21).Hc((ui(),_s)),t=!((i=u(k(e,Nt),98))==(Tr(),wd)||i==Bh||i==Pc),!v||!t&&c)g=new Uu(S(M(LWn,1),zKn,37,0,[e]));else{for(d=new E(e.a);d.ae.a&&(r.Hc(($b(),Dy))?n.c.a+=(t.a-e.a)/2:r.Hc($y)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(r.Hc(($b(),Ly))?n.c.b+=(t.b-e.b)/2:r.Hc(Fy)&&(n.c.b+=t.b-e.b)),u(k(n,(G(),Ac)),21).Hc((ui(),_s))&&(t.a>e.a||t.b>e.b))for(f=new E(n.a);f.a0?J2(t):$7(J2(t)),bi(e,M4,c)}function hme(n,e){var t,r,i,c,o;for(o=n.j,e.a!=e.b&&ar(o,new zbn),i=o.c.length/2|0,r=0;r=0;)o.rl((r=t[c]).ak())&&me(i,r);!IRn(n,i)&&zu(n.e)&&rp(n,e.$j()?kl(n,6,e,(An(),Gr),null,-1,!1):kl(n,e.Kj()?2:1,e,null,null,-1,!1))}function C3(){var n,e;for(C3=F,jv=L($g,q,91,32,0,1),Om=L($g,q,91,32,0,1),n=1,e=0;e<=18;e++)jv[e]=B7(n),Om[e]=B7(Uh(n,e)),n=Fr(n,5);for(;eo)||e.q&&(r=e.C,o=r.c.c.a-r.o.a/2,i=r.n.a-(e.a.c+e.a.b),i>o))}function HNn(n){var e,t,i,c,o,f;for(F$(),t=new Sa,i=new E(n.e.b);i.a1?n.e*=K(n.a):n.f/=K(n.a),function Xwe(n){var t,i;for(t=n.b.a.a.ec().Kc();t.Ob();)i=new kxn(u(t.Pb(),561),n.e,n.f),W(n.g,i)}(n),Z2e(n),function L7e(n){var r,i,c,o,d,g;for(i=function _9e(n){var e,t,r,i,c,o,f,h,l,a;for(t=n.o,e=n.p,o=Ze,i=Lr,f=Ze,c=Lr,l=0;l=0?n.Qg(null):n.eh().ih(n,-1-e,null,null),n.Rg(u(i,49),t),r&&r.Fi(),n.Lg()&&n.Mg()&&t>-1&&nt(n,new dr(n,9,t,c,i)),i):c}function JNn(n){var e,t,r,i,c,o,f,h;for(o=0,c=n.f.e,r=0;r>5)>=n.d)return n.e<0;if(t=n.a[i],e=1<<(31&e),n.e<0){if(i<(r=gOn(n)))return!1;t=r==i?-t:~t}return 0!=(t&e)}function JY(n,e){var t,r,i,c,o,f,h;if(c=e.e)for(t=fN(c),r=u(n.g,674),o=0;o>16)),15).Xc(c))>e,c=n.m>>e|t<<22-e,i=n.l>>e|n.m<<22-e):e<44?(o=r?o1:0,c=t>>e-22,i=n.m>>e-22|t<<44-e):(o=r?o1:0,c=r?Bu:0,i=t>>e-44),Bc(i&Bu,c&Bu,o&o1)}function hN(n){var e,t,r,i,c,o;for(this.c=new X,this.d=n,r=Ft,i=Ft,e=Wt,t=Wt,o=Re(n,0);o.b!=o.d.c;)c=u(_e(o),8),r=j.Math.min(r,c.a),i=j.Math.min(i,c.b),e=j.Math.max(e,c.a),t=j.Math.max(t,c.b);this.a=new Ss(r,i,e-r,t-i)}function rxn(n,e){var r,c,o,f;for(c=new E(n.b);c.a0&&I(e,42)&&(n.a.qj(),c=null==(h=(l=u(e,42)).cd())?0:kt(h),o=_z(n.a,c),t=n.a.d[o]))for(r=u(t.g,367),a=t.i,f=0;f=2)for(e=Y((t=i.Kc()).Pb());t.Ob();)c=e,e=Y(t.Pb()),r=j.Math.min(r,(_n(e),e-(_n(c),c)));return r}function $me(n,e){var t,r,i,c,o;Rt(r=new Ct,e,r.c.b,r.c);do{for(ne(0!=r.b),t=u(Os(r,r.a.a),86),n.b[t.g]=1,c=Re(t.d,0);c.b!=c.d.c;)i=u(_e(c),188),1==n.b[(o=i.c).g]?Ke(n.a,i):2==n.b[o.g]?n.b[o.g]=1:Rt(r,o,r.c.b,r.c)}while(0!=r.b)}function Fme(n,e){var t,r,i;if(B(e)===B(ve(n)))return!0;if(!I(e,15)||(r=u(e,15),(i=n.gc())!=r.gc()))return!1;if(I(r,54)){for(t=0;t0&&(i=t),o=new E(n.f.e);o.a0&&i0):i<0&&-i0)}function Zme(n,e,t,r){var i,c,h,l,a,d;for(i=(e-n.d)/n.c.c.length,c=0,n.a+=t,n.d=e,d=new E(n.c);d.a=0;e-=2)for(t=0;t<=e;t+=2)(n.b[t]>n.b[t+2]||n.b[t]===n.b[t+2]&&n.b[t+1]>n.b[t+3])&&(r=n.b[t+2],n.b[t+2]=n.b[t],n.b[t]=r,r=n.b[t+3],n.b[t+3]=n.b[t+1],n.b[t+1]=r);n.c=!0}}function lxn(n,e){var t,r,i,c,f,h,l;for(c=(1==e?gR:wR).a.ec().Kc();c.Ob();)for(i=u(c.Pb(),103),h=u(it(n.f.c,i),21).Kc();h.Ob();)switch(f=u(h.Pb(),46),r=u(f.b,81),l=u(f.a,189),t=l.c,i.g){case 2:case 1:r.g.d+=t;break;case 4:case 3:r.g.c+=t}}function c9e(n,e){var t,r,i,c,o,f,h,l,a;for(l=-1,a=0,f=0,h=(o=n).length;f0&&++a;++l}return a}function Ao(n){var t;return(t=new ts(sl(n.gm))).a+="@",De(t,(kt(n)>>>0).toString(16)),n.kh()?(t.a+=" (eProxyURI: ",cc(t,n.qh()),n.$g()&&(t.a+=" eClass: ",cc(t,n.$g())),t.a+=")"):n.$g()&&(t.a+=" (eClass: ",cc(t,n.$g()),t.a+=")"),t.a}function _6(n){var e,t,i;if(n.e)throw C(new $i((Gh(V_),Lx+V_.k+Nx)));for(n.d==(ci(),Lh)&&zM(n,co),t=new E(n.a.a);t.a=0)return i;for(c=1,f=new E(e.j);f.a0&&e.ue((Ln(i-1,n.c.length),u(n.c[i-1],10)),c)>0;)Ps(n,i,(Ln(i-1,n.c.length),u(n.c[i-1],10))),--i;Ln(i,n.c.length),n.c[i]=c}t.a=new we,t.b=new we}function gxn(n,e,t){var i;if(2==(n.c-n.b&n.a.length-1))e==(J(),Rn)||e==Xn?(lC(u(p6(n),15),(hs(),Nh)),lC(u(p6(n),15),Jl)):(lC(u(p6(n),15),(hs(),Jl)),lC(u(p6(n),15),Nh));else for(i=new n6(n);i.a!=i.b;)lC(u(_C(i),15),t)}function a9e(n,e){var t,i,c,o,f,h;for(f=new Sr(i=jp(new uG(n)),i.c.length),h=new Sr(c=jp(new uG(e)),c.c.length),o=null;f.b>0&&h.b>0&&(ne(f.b>0),t=u(f.a.Xb(f.c=--f.b),33),ne(h.b>0),t==u(h.a.Xb(h.c=--h.b),33));)o=t;return o}function Nu(n,e){var t,r,c,f;return c=n.a*Ox+1502*n.b,c+=t=j.Math.floor((f=n.b*Ox+11)*Ck),f-=t*Snn,n.a=c%=Snn,n.b=f,e<=24?j.Math.floor(n.a*bin[e]):((r=n.a*(1<=2147483648&&(r-=Sx),r)}function vxn(n,e,t){var r,i,c,o;KMn(n,e)>KMn(n,t)?(r=Ui(t,(J(),Xn)),n.d=r.dc()?0:GD(u(r.Xb(0),11)),o=Ui(e,qn),n.b=o.dc()?0:GD(u(o.Xb(0),11))):(i=Ui(t,(J(),qn)),n.d=i.dc()?0:GD(u(i.Xb(0),11)),c=Ui(e,Xn),n.b=c.dc()?0:GD(u(c.Xb(0),11)))}function pxn(n){var e,r,i,c,o,f;if(n&&(e=n.Hh(eo))&&null!=(o=Te(Qo((!e.b&&(e.b=new Wu((Sn(),Jr),rc,e)),e.b),"conversionDelegates")))){for(f=new X,i=0,c=(r=Rb(o,"\\w+")).length;i>1,n.k=t-1>>1}(this,this.d,this.c),function L6e(n){var e,t,r,i,c,o,f;for(t=VU(n.e),c=Gf(S8(Ji(XU(n.e)),n.d*n.a,n.c*n.b),-.5),e=t.a-c.a,i=t.b-c.b,f=0;f0&&Hje(this,i)}function fZ(n,e,t,r,i,c){var o,f,h;if(!i[e.b]){for(i[e.b]=!0,!(o=r)&&(o=new zT),W(o.e,e),h=c[e.b].Kc();h.Ob();)(f=u(h.Pb(),282)).d!=t&&f.c!=t&&(f.c!=e&&fZ(n,f.c,e,o,i,c),f.d!=e&&fZ(n,f.d,e,o,i,c),W(o.c,f),Qt(o.d,f.b));return o}return null}function w9e(n){var e,i,o;for(e=0,i=new E(n.e);i.a=2}function k9e(n){var e,r;try{return null==n?iu:xi(n)}catch(i){if(I(i=jt(i),102))return e=i,r=sl(Fu(n))+"@"+(wh(),(jJ(n)>>>0).toString(16)),ove(swe(),(bp(),"Exception during lenientFormat for "+r),e),"<"+r+" threw "+sl(e.gm)+">";throw C(i)}}function yxn(n){switch(n.g){case 0:return new A3n;case 1:return new E3n;case 2:return new E7n;case 3:return new Ewn;case 4:return new Gjn;case 5:return new P3n;default:throw C(new Kn("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function hZ(n,e,t){var r,i,c;for(c=new E(n.t);c.a0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&Ke(e,r.b));for(i=new E(n.i);i.a0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&Ke(t,r.a))}function MM(n){var e,t,i;if(null==n.g&&(n.d=n.si(n.f),me(n,n.d),n.c))return n.f;if(i=(e=u(n.g[n.i-1],47)).Pb(),n.e=e,(t=n.si(i)).Ob())n.d=t,me(n,t);else for(n.d=null;!e.Ob()&&(St(n.g,--n.i,null),0!=n.i);)e=u(n.g[n.i-1],47);return i}function j9e(n,e,t,r){var i,o,f;for(ba(i=new i1(n),(Vn(),ns)),H(i,(G(),rt),e),H(i,by,r),H(i,(nn(),Nt),(Tr(),Pc)),H(i,rf,e.c),H(i,io,e.d),Wxn(e,i),f=j.Math.floor(t/2),o=new E(i.j);o.a=0?n._g(r,!0,!0):b0(n,c,!0),153),u(i,215).ml(e,t)}function $9e(n,e,t){le(t,"Eades radial",1),t.n&&e&&Eo(t,To(e),(Yu(),ks)),n.d=u(hn(e,(R5(),h9)),33),n.c=K(Y(hn(e,(Ob(),WP)))),n.e=EL(u(hn(e,Sy),293)),n.a=function a2e(n){switch(n.g){case 0:return new xgn;case 1:return new Bgn;default:throw C(new Kn(RB+(null!=n.f?n.f:""+n.g)))}}(u(hn(e,afn),426)),n.b=function F3e(n){switch(n.g){case 1:return new Dgn;case 2:return new $gn;case 3:return new Ogn;case 0:return null;default:throw C(new Kn(RB+(null!=n.f?n.f:""+n.g)))}}(u(hn(e,lfn),340)),function b3e(n){var e,t,r,i,c;if(r=0,i=U3,n.b)for(e=0;e<360;e++)NZ(n,n.d,0,0,Sg,t=.017453292519943295*e),(c=n.b.ig(n.d))0),c.a.Xb(c.c=--c.b),fb(c,i),ne(c.b0);t++);if(t>0&&t0);e++);return e>0&&t>16!=6&&e){if(m3(n,e))throw C(new Kn(pm+qNn(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?_J(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=Z2(e,n,6,r)),(r=xz(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,6,e,e))}function dZ(n,e){var t,r;if(e!=n.Cb||n.Db>>16!=9&&e){if(m3(n,e))throw C(new Kn(pm+CBn(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?KJ(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=Z2(e,n,9,r)),(r=Bz(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,9,e,e))}function wN(n,e){var t,r;if(e!=n.Cb||n.Db>>16!=3&&e){if(m3(n,e))throw C(new Kn(pm+T_n(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?qJ(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=Z2(e,n,12,r)),(r=Nz(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,3,e,e))}function A3(n){var e,t,r,i,c;if(r=Vs(n),null==(c=n.j)&&r)return n.$j()?null:r.zj();if(I(r,148)){if((t=r.Aj())&&(i=t.Nh())!=n.i){if((e=u(r,148)).Ej())try{n.g=i.Kh(e,c)}catch(o){if(!I(o=jt(o),78))throw C(o);n.g=null}n.i=i}return n.g}return null}function Mxn(n){var e;return W(e=new X,new j2(new fn(n.c,n.d),new fn(n.c+n.b,n.d))),W(e,new j2(new fn(n.c,n.d),new fn(n.c,n.d+n.a))),W(e,new j2(new fn(n.c+n.b,n.d+n.a),new fn(n.c+n.b,n.d))),W(e,new j2(new fn(n.c+n.b,n.d+n.a),new fn(n.c,n.d+n.a))),e}function Sxn(n,e,t,r){var i,c,o;if(o=JJ(e,t),r.c[r.c.length]=e,-1==n.j[o.p]||2==n.j[o.p]||n.a[e.p])return r;for(n.j[o.p]=-1,c=new ie(ue(t1(o).a.Kc(),new Yn));Ae(c);)if(!Ur(i=u(pe(c),17))&&(Ur(i)||i.c.i.c!=i.d.i.c)&&i!=e)return Sxn(n,i,o,r);return r}function q9e(n,e,t){var i,c;for(c=e.a.ec().Kc();c.Ob();)i=u(c.Pb(),79),!u(te(n.b,i),266)&&(At(Ch(i))==At(Pl(i))?i7e(n,i,t):Ch(i)==At(Pl(i))?null==te(n.c,i)&&null!=te(n.b,Pl(i))&&uRn(n,i,t,!1):null==te(n.d,i)&&null!=te(n.b,Ch(i))&&uRn(n,i,t,!0))}function G9e(n,e){var t,r,i,c,o,f,h;for(i=n.Kc();i.Ob();)for(r=u(i.Pb(),10),Hi(f=new gc,r),ir(f,(J(),Xn)),H(f,(G(),lP),(Hn(),!0)),o=e.Kc();o.Ob();)c=u(o.Pb(),10),Hi(h=new gc,c),ir(h,qn),H(h,lP,!0),H(t=new Ud,lP,!0),Br(t,f),jr(t,h)}function U9e(n,e,t,r){var i,c,o,f;i=j$n(n,e,t),c=j$n(n,t,e),o=u(te(n.c,e),112),f=u(te(n.c,t),112),i0&&T.a<=0){a.c=L(Zn,rn,1,0,5,1),a.c[a.c.length]=T;break}(m=T.i-T.d)>=l&&(m>l&&(a.c=L(Zn,rn,1,0,5,1),l=m),a.c[a.c.length]=T)}0!=a.c.length&&(h=u(un(a,sM(i,a.c.length)),112),e6(R.a,h),h.g=g++,zZ(h,e,t,r),a.c=L(Zn,rn,1,0,5,1))}for($=n.c.length+1,p=new E(n);p.ar.b.g&&(c.c[c.c.length]=r);return c}function P3(){P3=F,Yg=new g8("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),Nv=new g8("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),a9=new g8("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),l9=new g8("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),d9=new g8("WHOLE_DRAWING",4)}function bZ(n,e){var t,r;if(e!=n.Cb||n.Db>>16!=11&&e){if(m3(n,e))throw C(new Kn(pm+DZ(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?GJ(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=Z2(e,n,10,r)),(r=zz(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,11,e,e))}function gN(n,e,t){return gg(),(!Yp(n,e)||!Yp(n,t))&&(WN(new fn(n.c,n.d),new fn(n.c+n.b,n.d),e,t)||WN(new fn(n.c+n.b,n.d),new fn(n.c+n.b,n.d+n.a),e,t)||WN(new fn(n.c+n.b,n.d+n.a),new fn(n.c,n.d+n.a),e,t)||WN(new fn(n.c,n.d+n.a),new fn(n.c,n.d),e,t))}function wZ(n,e){var t,r,i,c;if(!n.dc())for(t=0,r=n.gc();t>16!=7&&e){if(m3(n,e))throw C(new Kn(pm+_Ln(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?RJ(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=u(e,49).gh(n,1,Vy,r)),(r=BW(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,7,e,e))}function $xn(n,e){var t,r;if(e!=n.Cb||n.Db>>16!=3&&e){if(m3(n,e))throw C(new Kn(pm+XDn(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?HJ(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=u(e,49).gh(n,0,Jy,r)),(r=_W(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,3,e,e))}function vN(n,e){var t,r,i,c,o,f,h,l,a;return C3(),e.d>n.d&&(f=n,n=e,e=f),e.d<63?function e7e(n,e){var r,c,o,f,h,l,a,d,g;return h=n.e!=e.e?-1:1,2==(f=(r=n.d)+(c=e.d))?(g=ge(a=Fr(rr(n.a[0],si),rr(e.a[0],si))),0==(d=ge(ab(a,32)))?new S1(h,g):new Gw(h,2,S(M(be,1),Ne,25,15,[g,d]))):(vge(n.a,r,e.a,c,o=L(be,Ne,25,f,15,1)),r6(l=new Gw(h,f,o)),l)}(n,e):(l=YX(n,o=(-2&n.d)<<4),a=YX(e,o),r=$N(n,H2(l,o)),i=$N(e,H2(a,o)),h=vN(l,a),t=vN(r,i),c=H2(c=KN(KN(c=vN($N(l,r),$N(i,a)),h),t),o),KN(KN(h=H2(h,o<<1),c),t))}function d8e(n,e,t){var r,i,c,o,f;for(o=y6(n,t),f=L(Fh,_1,10,e.length,0,1),r=0,c=o.Kc();c.Ob();)on(sn(k(i=u(c.Pb(),11),(G(),ay))))&&(f[r++]=u(k(i,Au),10));if(r=0;c+=t?1:-1)o|=e.c.Sf(h,c,t,r&&!on(sn(k(e.j,(G(),F0))))&&!on(sn(k(e.j,(G(),Gg))))),o|=e.q._f(h,c,t),o|=pBn(n,h[c],t,r);return tr(n.c,e),o}function IM(n,e,t){var r,i,c,o,l,a,d,g;for(d=0,g=(a=vSn(n.j)).length;d1&&(n.a=!0),Pfe(u(t.b,65),ut(Ji(u(e.b,65).c),Gf(pr(Ji(u(t.b,65).a),u(e.b,65).a),i))),OMn(n,e),Fxn(n,t)}function Lxn(n){var t,r,i,c,o,f;for(c=new E(n.a.a);c.a0&&c>0?e++:r>0?t++:c>0?i++:t++}An(),ar(n.j,new b0n)}function m8e(n,e){var t,r,i,c,o,f,h,l,a;for(o=e.g,h=u(un(f=e.j,f.c.length-1),113),Ln(0,f.c.length),l=NL(n,o,h,a=u(f.c[0],113)),c=1;cl&&(h=t,a=i,l=r);e.a=a,e.c=h}function Po(n){if(!n.a.d||!n.a.e)throw C(new $i((Gh(JUn),JUn.k+" must have a source and target "+(Gh(qin),qin.k+" specified."))));if(n.a.d==n.a.e)throw C(new $i("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return LE(n.a.d.g,n.a),LE(n.a.e.b,n.a),n.a}function Nxn(n,e,t){var r,i,c,o,f,h;if(r=0,0!=e.b&&0!=t.b){c=Re(e,0),o=Re(t,0),f=K(Y(_e(c))),h=K(Y(_e(o))),i=!0;do{if(f>h-n.b&&fh-n.a&&fe.a&&(r.Hc(($b(),Dy))?n.c.a+=(t.a-e.a)/2:r.Hc($y)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(r.Hc(($b(),Ly))?n.c.b+=(t.b-e.b)/2:r.Hc(Fy)&&(n.c.b+=t.b-e.b)),u(k(n,(G(),Ac)),21).Hc((ui(),_s))&&(t.a>e.a||t.b>e.b))for(o=new E(n.a);o.a0&&++v;++g}return v}function Kc(n,e){var t,r,i,c;return Zr(),e?e==(ot(),Iee)||(e==pee||e==vd||e==vee)&&n!=iln?new hnn(n,e):((t=(r=u(e,677)).pk())||(Op(ji((vu(),Dr),e)),t=r.pk()),!t.i&&(t.i=new we),!(i=u(Qi(Ai((c=t.i).f,n)),1942))&&tt(c,n,i=new hnn(n,e)),i):bee}function D8e(n,e){var r,i,c,o,f,h,l,a;for(h=u(k(n,(G(),rt)),11),l=Gi(S(M(hr,1),q,8,0,[h.i.n,h.n,h.a])).a,a=n.i.n.b,c=0,o=(i=Vf(n.e)).length;c0&&(i+=(c=u(un(this.b,0),167)).o,r+=c.p),i*=2,r*=2,e>1?i=Ht(j.Math.ceil(i*e)):r=Ht(j.Math.ceil(r/e)),this.a=new sJ(i,r)}function Bxn(n,e,t,r,i,c){var o,f,l,a,d,g,v,p,m;for(a=r,e.j&&e.o?(m=(v=u(te(n.f,e.A),57)).d.c+v.d.b,--a):m=e.a.c+e.a.b,d=i,t.q&&t.o?(l=(v=u(te(n.f,t.C),57)).d.c,++d):l=t.a.c,p=m+(f=(l-m)/j.Math.max(2,d-a)),g=a;g=0;o+=i?1:-1){for(f=e[o],h=r==(J(),Xn)?i?Ui(f,r):Oa(Ui(f,r)):i?Oa(Ui(f,r)):Ui(f,r),c&&(n.c[f.p]=h.gc()),d=h.Kc();d.Ob();)a=u(d.Pb(),11),n.d[a.p]=l++;Qt(t,h)}}function _xn(n,e,t){var r,i,c,o,f,h,l,a;for(c=K(Y(n.b.Kc().Pb())),l=K(Y(function Jbe(n){var e;if(n){if((e=n).dc())throw C(new ic);return e.Xb(e.gc()-1)}return xMn(n.Kc())}(e.b))),r=Gf(Ji(n.a),l-t),i=Gf(Ji(e.a),t-c),Gf(a=ut(r,i),1/(l-c)),this.a=a,this.b=new X,f=!0,(o=n.b.Kc()).Pb();o.Ob();)h=K(Y(o.Pb())),f&&h-t>xB&&(this.b.Fc(t),f=!1),this.b.Fc(h);f&&this.b.Fc(t)}function q8e(n){var e,t,r,i;if(function nke(n,e){var t,r,i,c,o,f,h;for(i=L(be,Ne,25,n.e.a.c.length,15,1),o=new E(n.e.a);o.a0){for(c5(n.c);ZY(n,u(y(new E(n.e.a)),121))>5,e&=31,r>=n.d)return n.e<0?(Dl(),U_):(Dl(),u4);if(function N5e(n,e,t,r,i){var c,o,f;for(c=!0,o=0;o>>i|t[o+r+1]<>>i,++o}return c}(i=L(be,Ne,25,1+(c=n.d-r),15,1),c,n.a,r,e),n.e<0){for(t=0;t0&&n.a[t]<<32-e){for(t=0;t=0)&&(!(t=mg((vu(),Dr),i,e))||((r=t.Zj())>1||-1==r)&&3!=Gd(ji(Dr,t))))}function W8e(n,e,t,r){var i,c,o,f,h;return f=Ii(u(O((!e.b&&(e.b=new $n(he,e,4,7)),e.b),0),82)),h=Ii(u(O((!e.c&&(e.c=new $n(he,e,5,8)),e.c),0),82)),At(f)==At(h)||Eb(h,f)?null:(o=W8(e))==t?r:(c=u(te(n.a,o),10))&&(i=c.e)?i:null}function yZ(n,e,t){var i,c,o,f,h;if((o=n[function $re(n,e){return n?e-1:0}(t,n.length)])[0].k==(Vn(),zt))for(c=r8n(t,o.length),h=e.j,i=0;i>24}(n));break;case 2:n.g=j7(function Rle(n){if(2!=n.p)throw C(new hu);return ge(n.f)&Gt}(n));break;case 3:n.g=function Ehe(n){if(3!=n.p)throw C(new hu);return n.e}(n);break;case 4:n.g=new z9(function jhe(n){if(4!=n.p)throw C(new hu);return n.e}(n));break;case 6:n.g=_a(function The(n){if(6!=n.p)throw C(new hu);return n.f}(n));break;case 5:n.g=Q(function H1e(n){if(5!=n.p)throw C(new hu);return ge(n.f)}(n));break;case 7:n.g=h3(function Nae(n){if(7!=n.p)throw C(new hu);return ge(n.f)<<16>>16}(n))}return n.g}function jZ(n){if(null==n.n)switch(n.p){case 0:n.n=function nle(n){if(0!=n.p)throw C(new hu);return I5(n.k,0)}(n)?(Hn(),i4):(Hn(),td);break;case 1:n.n=d7(function Fae(n){if(1!=n.p)throw C(new hu);return ge(n.k)<<24>>24}(n));break;case 2:n.n=j7(function Kle(n){if(2!=n.p)throw C(new hu);return ge(n.k)&Gt}(n));break;case 3:n.n=function Mhe(n){if(3!=n.p)throw C(new hu);return n.j}(n);break;case 4:n.n=new z9(function She(n){if(4!=n.p)throw C(new hu);return n.j}(n));break;case 6:n.n=_a(function Che(n){if(6!=n.p)throw C(new hu);return n.k}(n));break;case 5:n.n=Q(function q1e(n){if(5!=n.p)throw C(new hu);return ge(n.k)}(n));break;case 7:n.n=h3(function Lae(n){if(7!=n.p)throw C(new hu);return ge(n.k)<<16>>16}(n))}return n.n}function Uxn(n){var t,r,i,c,o,f;for(c=new E(n.a.a);c.a0&&(t[0]+=n.d,o-=t[0]),t[2]>0&&(t[2]+=n.d,o-=t[2]),c=j.Math.max(0,o),t[1]=j.Math.max(t[1],o),nV(n,Nc,i.c+r.b+t[0]-(t[1]-o)/2,t),e==Nc&&(n.c.b=c,n.c.c=i.c+r.b+(c-o)/2)}function Qxn(){this.c=L(kr,wi,25,(J(),S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn])).length,15,1),this.b=L(kr,wi,25,S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn]).length,15,1),this.a=L(kr,wi,25,S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn]).length,15,1),hU(this.c,Ft),hU(this.b,Wt),hU(this.a,Wt)}function Ec(n,e,t){var r,i,c,o;if(e<=t?(i=e,c=t):(i=t,c=e),r=0,null==n.b)n.b=L(be,Ne,25,2,15,1),n.b[0]=i,n.b[1]=c,n.c=!0;else{if(n.b[(r=n.b.length)-1]+1==i)return void(n.b[r-1]=c);o=L(be,Ne,25,r+2,15,1),vc(n.b,0,o,0,r),n.b=o,n.b[r-1]>=i&&(n.c=!1,n.a=!1),n.b[r++]=i,n.b[r]=c,n.c||ag(n)}}function Jxn(n,e,t){var r,i,c,o,f,h;if(!Np(e)){for(le(h=jc(t,(I(e,14)?u(e,14).gc():Vh(e.Kc()))/n.a|0),IHn,1),f=new jgn,o=0,c=e.Kc();c.Ob();)r=u(c.Pb(),86),f=pf(S(M(Mf,1),rn,20,0,[f,new il(r)])),o1;)Bb(i,i.i-1);return r}function Zxn(n,e){var t,r,c,o,f,h;for(t=new Ow,c=new E(n.b);c.an.d[o.p]&&(t+=XX(n.b,c),yl(n.a,Q(c)));for(;!i5(n.a);)CV(n.b,u(F2(n.a),19).a)}return t}function nBn(n,e,t){var r,i,c,o;for(c=(!e.a&&(e.a=new V(It,e,10,11)),e.a).i,i=new re((!e.a&&(e.a=new V(It,e,10,11)),e.a));i.e!=i.i.gc();)0==(!(r=u(oe(i),33)).a&&(r.a=new V(It,r,10,11)),r.a).i||(c+=nBn(n,r,!1));if(t)for(o=At(e);o;)c+=(!o.a&&(o.a=new V(It,o,10,11)),o.a).i,o=At(o);return c}function Bb(n,e){var t,r,i,c;return n.ej()?(r=null,i=n.fj(),n.ij()&&(r=n.kj(n.pi(e),null)),t=n.Zi(4,c=ev(n,e),null,e,i),n.bj()&&null!=c&&(r=n.dj(c,r)),r?(r.Ei(t),r.Fi()):n.$i(t),c):(c=ev(n,e),n.bj()&&null!=c&&(r=n.dj(c,null))&&r.Fi(),c)}function ui(){ui=F,iP=new rb("COMMENTS",0),_s=new rb("EXTERNAL_PORTS",1),Km=new rb("HYPEREDGES",2),cP=new rb("HYPERNODES",3),y4=new rb("NON_FREE_PORTS",4),Kg=new rb("NORTH_SOUTH_PORTS",5),Hm=new rb(dHn,6),m4=new rb("CENTER_LABELS",7),k4=new rb("END_LABELS",8),uP=new rb("PARTITIONS",9)}function _b(n){var e,t,r,i,c;for(i=new X,e=new G5((!n.a&&(n.a=new V(It,n,10,11)),n.a)),r=new ie(ue(c1(n).a.Kc(),new Yn));Ae(r);)I(O((!(t=u(pe(r),79)).b&&(t.b=new $n(he,t,4,7)),t.b),0),186)||(c=Ii(u(O((!t.c&&(t.c=new $n(he,t,5,8)),t.c),0),82)),e.a._b(c)||(i.c[i.c.length]=c));return i}function h7e(n){var e,r,i,c,o;for(c=new sr,e=new G5((!n.a&&(n.a=new V(It,n,10,11)),n.a)),i=new ie(ue(c1(n).a.Kc(),new Yn));Ae(i);)I(O((!(r=u(pe(i),79)).b&&(r.b=new $n(he,r,4,7)),r.b),0),186)||(o=Ii(u(O((!r.c&&(r.c=new $n(he,r,5,8)),r.c),0),82)),e.a._b(o)||c.a.zc(o,c));return c}function eBn(n,e){var t,i,o;At(n)&&(o=u(k(e,(nn(),sd)),174),B(hn(n,Nt))===B((Tr(),Zl))&&bi(n,Nt,Df),tb(),i=lRn(new Y0(At(n)),new jD(At(n)?new Y0(At(n)):null,n),!1,!0),So(o,(Zu(),yw)),(t=u(k(e,T4),8)).a=j.Math.max(i.a,t.a),t.b=j.Math.max(i.b,t.b))}function DM(){DM=F,OR=new N2(iS,0,(J(),Rn),Rn),FR=new N2(Kx,1,ae,ae),IR=new N2(Rx,2,Xn,Xn),xR=new N2(Hx,3,qn,qn),$R=new N2("NORTH_WEST_CORNER",4,qn,Rn),DR=new N2("NORTH_EAST_CORNER",5,Rn,Xn),NR=new N2("SOUTH_WEST_CORNER",6,ae,qn),LR=new N2("SOUTH_EAST_CORNER",7,Xn,ae)}function gg(){gg=F,ohn=S(M(oa,1),Cx,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),j.Math.pow(2,-65)}function tBn(n,e){var t,r,i,c,o;if(0==n.c.length)return new Mr(Q(0),Q(0));for(t=(Ln(0,n.c.length),u(n.c[0],11)).j,o=0,c=e.g,r=e.g+1;o=l&&(h=r);h&&(a=j.Math.max(a,h.a.o.a)),a>g&&(d=l,g=a)}return d}function pN(n,e){var t;switch(t=null,e.g){case 1:n.e.Xe((We(),AH))&&(t=u(n.e.We(AH),249));break;case 3:n.e.Xe((We(),PH))&&(t=u(n.e.We(PH),249));break;case 2:n.e.Xe((We(),SH))&&(t=u(n.e.We(SH),249));break;case 4:n.e.Xe((We(),IH))&&(t=u(n.e.We(IH),249))}return!t&&(t=u(n.e.We((We(),_hn)),249)),t}function rBn(n,e,t){var i,c,f,h,l,d;for(e.p=1,c=e.c,d=o0(e,(ii(),xc)).Kc();d.Ob();)for(i=new E(u(d.Pb(),11).g);i.aNHn?ar(h,n.b):r<=NHn&&r>xHn?ar(h,n.d):r<=xHn&&r>BHn?ar(h,n.c):r<=BHn&&ar(h,n.a),c=iBn(n,h,c);return i}function Dl(){var n;for(Dl=F,hA=new S1(1,1),z_=new S1(1,10),u4=new S1(0,0),U_=new S1(-1,1),oin=S(M($g,1),q,91,0,[u4,hA,new S1(1,2),new S1(1,3),new S1(1,4),new S1(1,5),new S1(1,6),new S1(1,7),new S1(1,8),new S1(1,9),z_]),lA=L($g,q,91,32,0,1),n=0;n1&&(r=new fn(i,t.b),Ke(e.a,r)),l6(e.a,S(M(hr,1),q,8,0,[g,d]))}function fBn(n){Od(n,new qa(Sd(Td(Md(Cd(new aa,xS),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new L2n))),Z(n,xS,j0,g1n),Z(n,xS,Wb,15),Z(n,xS,fS,Q(0)),Z(n,xS,bv,z3)}function TZ(){var n,e,t,r,i,c;for(TZ=F,F9=L(ju,Ig,25,255,15,1),PI=L(Hs,Yf,25,16,15,1),e=0;e<255;e++)F9[e]=-1;for(t=57;t>=48;t--)F9[t]=t-48<<24>>24;for(r=70;r>=65;r--)F9[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)F9[i]=i-97+10<<24>>24;for(c=0;c<10;c++)PI[c]=48+c≫for(n=10;n<=15;n++)PI[n]=65+n-10&Gt}function $M(n,e,t){var r,i,c,o,f,h,l,a;return l=e.j-n.g/2,a=t.j-n.g/2,c=e.g+n.g/2,r=e.f+n.g/2,i=t.f+n.g/2,(f=e.i-n.g/2)<(h=t.i-n.g/2)+(o=t.g+n.g/2)&&h=0;--r)for(e=t[r],i=0;i>19)return"-"+hBn(i3(n));for(t=n,r="";0!=t.l||0!=t.m||0!=t.h;){if(t=tnn(t,Y$(nS),!0),e=""+j8n(Rl),0!=t.l||0!=t.m||0!=t.h)for(c=9-e.length;c>0;c--)e="0"+e;r=e+r}return r}function MZ(n,e,t,r){var i,c,o,f;if(Vh((F8(),new ie(ue(t1(e).a.Kc(),new Yn))))>=n.a||!lY(e,t))return-1;if(Np(u(r.Kb(e),20)))return 1;for(i=0,o=u(r.Kb(e),20).Kc();o.Ob();)if(-1==(f=MZ(n,(c=u(o.Pb(),17)).c.i==e?c.d.i:c.c.i,t,r))||(i=j.Math.max(i,f))>n.c-1)return-1;return i+1}function lBn(n,e){var t,r,i,c,o,f;if(B(e)===B(n))return!0;if(!I(e,15)||(r=u(e,15),f=n.gc(),r.gc()!=f))return!1;if(o=r.Kc(),n.ni()){for(t=0;t0)if(n.qj(),null!=e){for(c=0;c0&&(n.a=h+(v-1)*c,e.c.b+=n.a,e.f.b+=n.a),0!=p.a.gc()&&(v=unn(new f$(1,c),e,p,m,e.f.b+h-e.c.b))>0&&(e.f.b+=h+(v-1)*c)}(n,e,r),function vTe(n){var e,t,r,i,c,o,f,l,a,g,p,m,T,A,$,D,N,R,z,en,ln,wn,Gn,zn;for(z=new X,p=new E(n.b);p.a>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw C(new Hf("Invalid hexadecimal"))}}function S7e(n,e,t){var r,i,c,o;for(le(t,"Processor order nodes",2),n.a=K(Y(k(e,(w0(),Von)))),i=new Ct,o=Re(e.b,0);o.b!=o.d.c;)on(sn(k(c=u(_e(o),86),(uc(),pw))))&&Rt(i,c,i.c.b,i.c);ne(0!=i.b),O_n(n,r=u(i.a.a.c,86)),!t.b&&EF(t,1),OZ(n,r,0-K(Y(k(r,(uc(),KP))))/2,0),!t.b&&EF(t,1),ce(t)}function FM(){FM=F,Kin=new Lw("SPIRAL",0),xin=new Lw("LINE_BY_LINE",1),Bin=new Lw("MANHATTAN",2),Nin=new Lw("JITTER",3),Y_=new Lw("QUADRANTS_LINE_BY_LINE",4),Rin=new Lw("QUADRANTS_MANHATTAN",5),_in=new Lw("QUADRANTS_JITTER",6),Lin=new Lw("COMBINE_LINE_BY_LINE_MANHATTAN",7),Fin=new Lw("COMBINE_JITTER_MANHATTAN",8)}function dBn(n,e,t,r){var i,c,o,f,h,l;for(h=KL(n,t),l=KL(e,t),i=!1;h&&l&&(r||Epe(h,l,t));)o=KL(h,t),f=KL(l,t),s7(e),s7(n),c=h.c,UN(h,!1),UN(l,!1),t?(Db(e,l.p,c),e.p=l.p,Db(n,h.p+1,c),n.p=h.p):(Db(n,h.p,c),n.p=h.p,Db(e,l.p+1,c),e.p=l.p),yi(h,null),yi(l,null),h=o,l=f,i=!0;return i}function A7e(n,e,t,r){var i,c,o,f,h;for(i=!1,c=!1,f=new E(r.j);f.a=e.length)throw C(new pi("Greedy SwitchDecider: Free layer not in graph."));this.c=e[n],this.e=new $8(r),SF(this.e,this.c,(J(),qn)),this.i=new $8(r),SF(this.i,this.c,Xn),this.f=new lTn(this.c),this.a=!c&&i.i&&!i.s&&this.c[0].k==(Vn(),zt),this.a&&function U5e(n,e,t){var r,i,c,o,f,l;f=(c=n.d.p).e,n.g=new $8(c.r),r=(o=n.d.o.c.p)>0?f[o-1]:L(Fh,_1,10,0,0,1),i=f[o],l=oi.d.d+i.d.a?a.f.d=!0:(a.f.d=!0,a.f.a=!0))),r.b!=r.d.c&&(e=t);a&&(c=u(te(n.f,o.d.i),57),e.bc.d.d+c.d.a?a.f.d=!0:(a.f.d=!0,a.f.a=!0))}for(f=new ie(ue(Ni(v).a.Kc(),new Yn));Ae(f);)0!=(o=u(pe(f),17)).a.b&&(e=u(xE(o.a),8),o.d.j==(J(),Rn)&&((T=new U6(e,new fn(e.a,i.d.d),i,o)).f.a=!0,T.a=o.d,m.c[m.c.length]=T),o.d.j==ae&&((T=new U6(e,new fn(e.a,i.d.d+i.d.a),i,o)).f.d=!0,T.a=o.d,m.c[m.c.length]=T))}return m}(n);break;case 3:r=new X,Bt(gt(Vc(qi(qi(new Dn(null,new Fn(n.d.b,16)),new Ibn),new Obn),new Dbn),new vbn),new V5n(r)),t=r;break;default:throw C(new $i("Compaction not supported for "+e+" edges."))}(function Aje(n,e){var t,r,i,c,o,h,l;if(0!=e.c.length){for(An(),XD(e.c,e.c.length,null),r=u(y(i=new E(e)),145);i.a0&&e0?c.a?t>(f=c.b.rf().a)&&(c.d.b=i=(t-f)/2,c.d.c=i):c.d.c=n.s+t:X5(n.u)&&((r=bY(c.b)).c<0&&(c.d.b=-r.c),r.c+r.b>c.b.rf().a&&(c.d.c=r.c+r.b-c.b.rf().a))}(n,e),i=null,h=null,f){for(h=i=u((c=o.Kc()).Pb(),111);c.Ob();)h=u(c.Pb(),111);i.d.b=0,h.d.c=0,a&&!i.a&&(i.d.c=0)}d&&(function $4e(n){var e,t,r,i,c;for(e=0,t=0,c=n.Kc();c.Ob();)r=u(c.Pb(),111),e=j.Math.max(e,r.d.b),t=j.Math.max(t,r.d.c);for(i=n.Kc();i.Ob();)(r=u(i.Pb(),111)).d.b=e,r.d.c=t}(o),f&&(i.d.b=0,h.d.c=0))}function yBn(n,e){var t,r,i,c,o,f,h,l,a,d;if(o=u(u(it(n.r,e),21),84),f=n.u.Hc((Su(),na)),t=n.u.Hc(E9),r=n.u.Hc(j9),h=n.u.Hc(Hv),d=n.B.Hc((xu(),bI)),l=!t&&!r&&(h||2==o.gc()),function Qke(n,e){var t,r,i,c,o,f,h,l;for(h=u(u(it(n.r,e),21),84).Kc();h.Ob();)(i=(f=u(h.Pb(),111)).c?qEn(f.c):0)>0?f.a?i>(l=f.b.rf().b)&&(n.v||1==f.c.d.c.length?(f.d.d=o=(i-l)/2,f.d.a=o):(t=u(un(f.c.d,0),181).rf().b,f.d.d=j.Math.max(0,r=(t-l)/2),f.d.a=i-r-l)):f.d.a=n.t+i:X5(n.u)&&((c=bY(f.b)).d<0&&(f.d.d=-c.d),c.d+c.a>f.b.rf().b&&(f.d.a=c.d+c.a-f.b.rf().b))}(n,e),a=null,i=null,f){for(i=a=u((c=o.Kc()).Pb(),111);c.Ob();)i=u(c.Pb(),111);a.d.d=0,i.d.a=0,l&&!a.a&&(a.d.a=0)}d&&(function F4e(n){var e,t,r,i,c;for(t=0,e=0,c=n.Kc();c.Ob();)r=u(c.Pb(),111),t=j.Math.max(t,r.d.d),e=j.Math.max(e,r.d.a);for(i=n.Kc();i.Ob();)(r=u(i.Pb(),111)).d.d=t,r.d.a=e}(o),f&&(a.d.d=0,i.d.a=0))}function jBn(n,e,t){var i,o,f,h,a;if(i=e.k,e.p>=0)return!1;if(e.p=t.b,W(t.e,e),i==(Vn(),br)||i==Sc)for(o=new E(e.j);o.a1||-1==o)&&(c|=16),i.Bb&sc&&(c|=64)),t.Bb&Vr&&(c|=Zb),c|=Io):I(e,457)?c|=512:(r=e.Bj())&&1&r.i&&(c|=256),512&n.Bb&&(c|=128),c}function K6(n,e){var t,r,i,c,o;for(n=null==n?iu:(_n(n),n),i=0;in.d[f.p]&&(t+=XX(n.b,c),yl(n.a,Q(c))):++o;for(t+=n.b.d*o;!i5(n.a);)CV(n.b,u(F2(n.a),19).a)}return t}function jN(n){var e,t,r,i,c,o,f;for(f=new we,r=new E(n.a.b);r.a=n.o)throw C(new wG);f=e>>5,c=Uh(1,ge(Uh(31&e,1))),n.n[t][f]=i?bf(n.n[t][f],c):rr(n.n[t][f],kW(c)),c=Uh(c,1),n.n[t][f]=r?bf(n.n[t][f],c):rr(n.n[t][f],kW(c))}catch(h){throw I(h=jt(h),320)?C(new pi(qx+n.o+"*"+n.p+Gx+e+Xr+t+Ux)):C(h)}}function OZ(n,e,t,r){var c,o;e&&(c=K(Y(k(e,(uc(),W1))))+r,o=t+K(Y(k(e,KP)))/2,H(e,QK,Q(ge(tu(j.Math.round(c))))),H(e,Hon,Q(ge(tu(j.Math.round(o))))),0==e.d.b||OZ(n,u(IE(new b2(Re(new il(e).a.d,0))),86),t+K(Y(k(e,KP)))+n.a,r+K(Y(k(e,O4)))),null!=k(e,VK)&&OZ(n,u(k(e,VK),86),t,r))}function DZ(n){var e,t,r;return 64&n.Db?YL(n):(e=new ts(trn),(t=n.k)?De(De((e.a+=' "',e),t),'"'):(!n.n&&(n.n=new V(_i,n,1,7)),n.n.i>0&&(!(r=(!n.n&&(n.n=new V(_i,n,1,7)),u(O(n.n,0),137)).a)||De(De((e.a+=' "',e),r),'"'))),De(Pd(De(Pd(De(Pd(De(Pd((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function CBn(n){var e,t,r;return 64&n.Db?YL(n):(e=new ts(rrn),(t=n.k)?De(De((e.a+=' "',e),t),'"'):(!n.n&&(n.n=new V(_i,n,1,7)),n.n.i>0&&(!(r=(!n.n&&(n.n=new V(_i,n,1,7)),u(O(n.n,0),137)).a)||De(De((e.a+=' "',e),r),'"'))),De(Pd(De(Pd(De(Pd(De(Pd((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function TN(n,e){var t,r,i,c,o,h;if(null==e||0==e.length)return null;if(!(i=u(kc(n.a,e),149))){for(r=new J0(new Kh(n.b).a.vc().Kc());r.a.Ob();)if(c=u(r.a.Pb(),42),Mn((o=(t=u(c.dd(),149)).c).substr(o.length-(h=e.length),h),e)&&(e.length==o.length||46==Pr(o,o.length-e.length-1))){if(i)return null;i=t}i&&ki(n.a,e,i)}return i}function MBn(n){var e,t,r;fr(n,(nn(),x0))&&!(r=u(k(n,x0),21)).dc()&&(t=new Ms(e=u(Go(fi),9),u(yo(e,e.length),9),0),r.Hc((xb(),vs))?So(t,vs):So(t,xo),r.Hc(uo)||So(t,uo),r.Hc(Lo)?So(t,Bo):r.Hc(b1)?So(t,xh):r.Hc(No)&&So(t,so),r.Hc(Bo)?So(t,Lo):r.Hc(xh)?So(t,b1):r.Hc(so)&&So(t,No),H(n,x0,t))}function X7e(n){var t,r,i,c,o;for(i=u(k(n,(G(),L0)),10),Ln(0,(r=n.j).c.length),t=u(r.c[0],11),o=new E(i.j);o.ai.p?(ir(c,ae),c.d&&(c.a.b=c.o.b-c.a.b)):c.j==ae&&i.p>n.p&&(ir(c,Rn),c.d&&(c.a.b=-(c.o.b-c.a.b)));break}return i}function uk(n,e,t,r,i){var c,o,f,h,l,a,d;if(!(I(e,239)||I(e,354)||I(e,186)))throw C(new Kn("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return l=(h=e.i+r-(o=n.a/2))+e.g+n.a,d=(a=e.j+i-o)+e.f+n.a,Ke(c=new lu,new fn(h,a)),Ke(c,new fn(h,d)),Ke(c,new fn(l,d)),Ke(c,new fn(l,a)),Pi(f=new hN(c),e),t&&tt(n.b,e,f),f}function H6(n,e,t){var r,i,c,o,h,l,a,g;for(c=new fn(e,t),a=new E(n.a);a.a1&&(r=new fn(i,t.b),Ke(e.a,r)),l6(e.a,S(M(hr,1),q,8,0,[g,d]))}function CN(n,e,t){var r,i,c,o,f,h;if(e){if(t<=-1){if(I(r=In(e.Tg(),-1-t),99))return u(r,18);for(f=0,h=(o=u(e.ah(r),153)).gc();f0){for(i=h.length;i>0&&""==h[i-1];)--i;i=40)&&function uye(n){var e,t,r,i,c,o,f;for(n.o=new Ow,r=new Ct,o=new E(n.e.a);o.a0,f=zC(e,c),pz(t?f.b:f.g,e),1==rg(f).c.length&&Rt(r,f,r.c.b,r.c),i=new Mr(c,e),yl(n.o,i),Jc(n.e.a,c))}(n),function hje(n){var e,t,r,i,o,f,h,l,a,d;for(a=n.e.a.c.length,o=new E(n.e.a);o.a0&&Ke(n.f,c)):(n.c[o]-=l+1,n.c[o]<=0&&n.a[o]>0&&Ke(n.e,c))))}function BBn(n,e,t){var r,i,c,o,f,h,l,a,d;for(c=new Oc(e.c.length),l=new E(e);l.a=0&&h0&&(Ce(0,n.length),45==n.charCodeAt(0)||(Ce(0,n.length),43==n.charCodeAt(0)))?1:0;rt)throw C(new Hf(y0+n+'"'));return f}function O3(n){switch(n){case 100:return yg(Am,!0);case 68:return yg(Am,!1);case 119:return yg(M_,!0);case 87:return yg(M_,!1);case 115:return yg(S_,!0);case 83:return yg(S_,!1);case 99:return yg(A_,!0);case 67:return yg(A_,!1);case 105:return yg(P_,!0);case 73:return yg(P_,!1);default:throw C(new Ri(tUn+n.toString(16)))}}function HBn(n,e,t,r,i){t&&(!r||(n.c-n.b&n.a.length-1)>1)&&1==e&&u(n.a[n.b],10).k==(Vn(),ns)?uv(u(n.a[n.b],10),(hs(),Nh)):r&&(!t||(n.c-n.b&n.a.length-1)>1)&&1==e&&u(n.a[n.c-1&n.a.length-1],10).k==(Vn(),ns)?uv(u(n.a[n.c-1&n.a.length-1],10),(hs(),Jl)):2==(n.c-n.b&n.a.length-1)?(uv(u(p6(n),10),(hs(),Nh)),uv(u(p6(n),10),Jl)):function E9e(n,e){var t,r,i,c,o,f,h,l,a;for(h=gh(n.c-n.b&n.a.length-1),l=null,a=null,c=new n6(n);c.a!=c.b;)i=u(_C(c),10),t=(f=u(k(i,(G(),rf)),11))?f.i:null,r=(o=u(k(i,io),11))?o.i:null,(l!=t||a!=r)&&(oxn(h,e),l=t,a=r),h.c[h.c.length]=i;oxn(h,e)}(n,i),zX(n)}function Fke(n){var e,t,r,o,f,h,l;for(o=new X,r=new ie(ue(Yt(n.b).a.Kc(),new Yn));Ae(r);)Ur(t=u(pe(r),17))&&W(o,new PAn(t,bPn(n,t.c),bPn(n,t.d)));for(l=new J0(new Kh(n.e).a.vc().Kc());l.a.Ob();)e=u(l.a.Pb(),42),(f=u(e.dd(),113)).d.p=0;for(h=new J0(new Kh(n.e).a.vc().Kc());h.a.Ob();)e=u(h.a.Pb(),42),0==(f=u(e.dd(),113)).d.p&&W(n.d,dke(n,f))}function as(n,e,t,r){var i,c,o,f,h;return o=n.eh(),i=null,(h=n.Zg())?!e||CN(n,e,t).Bb&Vr?h=null:(r=Kr(h.Vk(),n,r),n.uh(null),i=e.fh()):(o&&(h=o.fh()),e&&(i=e.fh())),h!=i&&h&&h.Zk(n),f=n.Vg(),n.Rg(e,t),h!=i&&i&&i.Yk(n),n.Lg()&&n.Mg()&&(o&&f>=0&&f!=t&&(c=new dr(n,1,f,o,null),r?r.Ei(c):r=c),t>=0&&(c=new dr(n,1,t,f==t?o:null,e),r?r.Ei(c):r=c)),r}function qBn(n){var e,t,r;if(null==n.b){if(r=new m1,null!=n.i&&(li(r,n.i),r.a+=":"),256&n.f){for(256&n.f&&null!=n.a&&(function Vhe(n){return null!=n&&c8(EI,n.toLowerCase())}(n.i)||(r.a+="//"),li(r,n.a)),null!=n.d&&(r.a+="/",li(r,n.d)),16&n.f&&(r.a+="/"),e=0,t=n.j.length;e0&&(e.td(t),t.i&&Pge(t))}(i=F8e(n,e),(f=u(Yo(i,0),214)).c.Rf()?f.c.Lf()?new d6n(n):new b6n(n):new a6n(n)),function sge(n){var e,t,r;for(r=new E(n.b);r.a>>31;0!=r&&(n[t]=r)}(t,t,e<<1),r=0,i=0,o=0;ig)&&(a+f+W6(r,g,!1).a<=e.b&&(r7(t,c-t.s),t.c=!0,r7(r,c-t.s),_7(r,t.s,t.t+t.d+f),r.k=!0,JV(t.q,r),v=!0,i&&(wC(e,r),r.j=e,n.c.length>o&&(G7((Ln(o,n.c.length),u(n.c[o],200)),r),0==(Ln(o,n.c.length),u(n.c[o],200)).a.c.length&&M1(n,o)))),v)}function zBn(n,e,t){var r,o,f,h,a;if(0==e.p){for(e.p=1,(o=t)||(o=new Mr(new X,new Ms(r=u(Go(Qr),9),u(yo(r,r.length),9),0))),u(o.a,15).Fc(e),e.k==(Vn(),zt)&&u(o.b,21).Fc(u(k(e,(G(),tc)),61)),h=new E(e.j);h.a0)if(i=u(n.Ab.g,1934),null==e){for(c=0;c1)for(r=new E(i);r.at.s&&f=0&&l>=0&&ho)return J(),Xn;break;case 4:case 3:if(a<0)return J(),Rn;if(a+t>c)return J(),ae}return(h=(l+f/2)/o)+(r=(a+t/2)/c)<=1&&h-r<=0?(J(),qn):h+r>=1&&h-r>=0?(J(),Xn):r<.5?(J(),Rn):(J(),ae)}function Xke(n,e){var t,r,i,c,f,l,a,d,g,v,p,m;for(t=!1,a=K(Y(k(e,(nn(),K0)))),p=Fl*a,i=new E(e.b);i.af.n.b-f.d.d+g.a+p&&(g.a=(g.g*g.a+d.g*d.a)/(m=d.g+g.g),g.g=m,d.f=g,t=!0)),c=f,d=g;return t}function QBn(n,e,t,r,i,c,o){var h,l,a,d,g;for(g=new M2,l=e.Kc();l.Ob();)for(d=new E(u(l.Pb(),839).wf());d.an.b/2+e.b/2||(i=j.Math.abs(n.d+n.a/2-(e.d+e.a/2)))>n.a/2+e.a/2?1:0==t&&0==i?0:0==t?c/i+1:0==i?r/t+1:j.Math.min(r/t,c/i)+1}function YBn(n,e){var t,r,i,c,o,f;return(i=LV(n))==(f=LV(e))?n.e==e.e&&n.a<54&&e.a<54?n.fe.f?1:0:(r=n.e-e.e,(t=(n.d>0?n.d:j.Math.floor((n.a-1)*fKn)+1)-(e.d>0?e.d:j.Math.floor((e.a-1)*fKn)+1))>r+1?i:t0&&(o=Vw(o,k_n(r))),I$n(c,o))):i0&&n.d!=(f6(),dR)&&(f+=o*(r.d.a+n.a[e.b][r.b]*(e.d.a-r.d.a)/t)),t>0&&n.d!=(f6(),lR)&&(h+=o*(r.d.b+n.a[e.b][r.b]*(e.d.b-r.d.b)/t)));switch(n.d.g){case 1:return new fn(f/c,e.d.b);case 2:return new fn(e.d.a,h/c);default:return new fn(f/c,h/c)}}function ZBn(n,e){var t,r,i,o;if(o3(),o=u(k(n.i,(nn(),Nt)),98),0!=n.j.g-e.j.g||o!=(Tr(),wd)&&o!=Bh&&o!=Pc)return 0;if(o==(Tr(),wd)&&(t=u(k(n,U1),19),r=u(k(e,U1),19),t&&r&&0!=(i=t.a-r.a)))return i;switch(n.j.g){case 1:return Jt(n.n.a,e.n.a);case 2:return Jt(n.n.b,e.n.b);case 3:return Jt(e.n.a,n.n.a);case 4:return Jt(e.n.b,n.n.b);default:throw C(new $i(uen))}}function n_n(n){var e,r,i,c,o;for(W(o=new Oc((!n.a&&(n.a=new Vt(fo,n,5)),n.a).i+2),new fn(n.j,n.k)),Bt(new Dn(null,(!n.a&&(n.a=new Vt(fo,n,5)),new Fn(n.a,16))),new X6n(o)),W(o,new fn(n.b,n.c)),e=1;e0&&(C7(h,!1,(ci(),co)),C7(h,!0,Fo)),Zc(e.g,new U7n(n,t)),tt(n.g,e,t)}function t_n(){var n;for(t_n=F,Jrn=S(M(be,1),Ne,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),q_=L(be,Ne,25,37,15,1),CUn=S(M(be,1),Ne,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),Yrn=L(oa,Cx,25,37,14,1),n=2;n<=36;n++)q_[n]=Ht(j.Math.pow(n,Jrn[n])),Yrn[n]=U7(JM,q_[n])}function Zke(n){var e;if(1!=(!n.a&&(n.a=new V(Mt,n,6,6)),n.a).i)throw C(new Kn(aqn+(!n.a&&(n.a=new V(Mt,n,6,6)),n.a).i));return e=new lu,E7(u(O((!n.b&&(n.b=new $n(he,n,4,7)),n.b),0),82))&&zr(e,BRn(n,E7(u(O((!n.b&&(n.b=new $n(he,n,4,7)),n.b),0),82)),!1)),E7(u(O((!n.c&&(n.c=new $n(he,n,5,8)),n.c),0),82))&&zr(e,BRn(n,E7(u(O((!n.c&&(n.c=new $n(he,n,5,8)),n.c),0),82)),!0)),e}function r_n(n,e){var t,r,c;for(c=!1,r=new ie(ue((e.d?n.a.c==(Xf(),H0)?Ni(e.b):Yt(e.b):n.a.c==(Xf(),z1)?Ni(e.b):Yt(e.b)).a.Kc(),new Yn));Ae(r);)if(t=u(pe(r),17),(on(n.a.f[n.a.g[e.b.p].p])||Ur(t)||t.c.i.c!=t.d.i.c)&&!on(n.a.n[n.a.g[e.b.p].p])&&!on(n.a.n[n.a.g[e.b.p].p])&&(c=!0,Hh(n.b,n.a.g[fpe(t,e.b).p])))return e.c=!0,e.a=t,e;return e.c=c,e.a=null,e}function KZ(n,e,t){var r,i,c,o,f,h,l;if(0==(r=t.gc()))return!1;if(n.ej())if(h=n.fj(),tJ(n,e,t),o=1==r?n.Zi(3,null,t.Kc().Pb(),e,h):n.Zi(5,null,t,e,h),n.bj()){for(f=r<100?null:new ul(r),c=e+r,i=e;i0){for(o=0;o>16==-15&&n.Cb.nh()&&lF(new sF(n.Cb,9,13,t,n.c,F1($u(u(n.Cb,59)),n))):I(n.Cb,88)&&n.Db>>16==-23&&n.Cb.nh()&&(I(e=n.c,88)||(Sn(),e=bo),I(t,88)||(Sn(),t=bo),lF(new sF(n.Cb,9,10,t,e,F1(wc(u(n.Cb,26)),n)))))),n.c}function rye(n,e,t){var r,i,c,o,h,l,a,d;for(le(t,"Hyperedge merging",1),function Ome(n,e){var t,r,i,c;for((c=u(us(qi(qi(new Dn(null,new Fn(e.b,16)),new Bdn),new _dn),Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[(kf(),ws)]))),15)).Jc(new Rdn),t=0,i=c.Kc();i.Ob();)-1==(r=u(i.Pb(),11)).p&&uZ(n,r,t++)}(n,e),h=new Sr(e.b,0);h.bt);return i}function c_n(n,e){var t,r,i;r=0!=Nu(n.d,1),!on(sn(k(e.j,(G(),F0))))&&!on(sn(k(e.j,Gg)))||B(k(e.j,(nn(),zl)))===B((n1(),Wl))?e.c.Tf(e.e,r):r=on(sn(k(e.j,F0))),ck(n,e,r,!0),on(sn(k(e.j,Gg)))&&H(e.j,Gg,(Hn(),!1)),on(sn(k(e.j,F0)))&&(H(e.j,F0,(Hn(),!1)),H(e.j,Gg,!0)),t=rN(n,e);do{if(WV(n),0==t)return 0;i=t,ck(n,e,r=!r,!1),t=rN(n,e)}while(i>t);return i}function u_n(n,e,t){var r,c,o,h,l,a,g;if(e==t)return!0;if(e=JY(n,e),t=JY(n,t),r=PL(e)){if((a=PL(t))!=r)return!!a&&(h=r.Dj())==a.Dj()&&null!=h;if(!e.d&&(e.d=new Vt(hi,e,1)),c=(o=e.d).i,!t.d&&(t.d=new Vt(hi,t,1)),c==(g=t.d).i)for(l=0;l0&&(g.d+=a.n.d,g.d+=a.d),g.a>0&&(g.a+=a.n.a,g.a+=a.d),g.b>0&&(g.b+=a.n.b,g.b+=a.d),g.c>0&&(g.c+=a.n.c,g.c+=a.d),g}((At(n)&&(tb(),new Y0(At(n))),tb(),new jD(At(n)?new Y0(At(n)):null,n)),Fo),c=u(k(r,Xsn),116),gMn(t=r.d,c),gMn(t,i),r}function h_n(n,e){var t,r,o,f;return r=j.Math.abs(hT(n.b).a-hT(e.b).a),f=j.Math.abs(hT(n.b).b-hT(e.b).b),t=1,o=1,r>n.b.b/2+e.b.b/2&&(t=1-j.Math.min(j.Math.abs(n.b.c-(e.b.c+e.b.b)),j.Math.abs(n.b.c+n.b.b-e.b.c))/r),f>n.b.a/2+e.b.a/2&&(o=1-j.Math.min(j.Math.abs(n.b.d-(e.b.d+e.b.a)),j.Math.abs(n.b.d+n.b.a-e.b.d))/f),(1-j.Math.min(t,o))*j.Math.sqrt(r*r+f*f)}function sye(n){var e,r,i;for(XN(n,n.e,n.f,(zd(),Vl),!0,n.c,n.i),XN(n,n.e,n.f,Vl,!1,n.c,n.i),XN(n,n.e,n.f,Jg,!0,n.c,n.i),XN(n,n.e,n.f,Jg,!1,n.c,n.i),function fye(n,e,t,r,i){var c,o,f,h,l,a,d;for(o=new E(e);o.a=p&&($>p&&(v.c=L(Zn,rn,1,0,5,1),p=$),v.c[v.c.length]=o);0!=v.c.length&&(g=u(un(v,sM(e,v.c.length)),128),zn.a.Bc(g),g.s=m++,hZ(g,wn,z),v.c=L(Zn,rn,1,0,5,1))}for(N=n.c.length+1,f=new E(n);f.a(Gn=r.b).s&&(Qu(t),Jc(Gn.i,r),r.c>0&&(r.a=Gn,W(Gn.t,r),r.b=en,W(en.i,r)))})(n.i,u(k(n.d,(G(),Ov)),230)),function TEe(n){var t,r,i,c,o,f,h,l,a;for(l=new Ct,f=new Ct,c=new E(n);c.a-1){for(i=Re(f,0);i.b!=i.d.c;)(r=u(_e(i),128)).v=o;for(;0!=f.b;)for(t=new E((r=u(_L(f,0),128)).i);t.a=65;t--)Lf[t]=t-65<<24>>24;for(r=122;r>=97;r--)Lf[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)Lf[i]=i-48+52<<24>>24;for(Lf[43]=62,Lf[47]=63,c=0;c<=25;c++)el[c]=65+c≫for(o=26,h=0;o<=51;++o,h++)el[o]=97+h≫for(n=52,f=0;n<=61;++n,f++)el[n]=48+f≫el[62]=43,el[63]=47}function UZ(n,e){var t,r,i,c,o,f,h;if(!lf(n))throw C(new $i(lqn));if(i=(r=lf(n)).f,(c=r.g)<=0&&i<=0)return J(),Xi;switch(f=n.i,h=n.j,e.g){case 2:case 1:if(f<0)return J(),qn;if(f+n.g>c)return J(),Xn;break;case 4:case 3:if(h<0)return J(),Rn;if(h+n.f>i)return J(),ae}return(o=(f+n.g/2)/c)+(t=(h+n.f/2)/i)<=1&&o-t<=0?(J(),qn):o+t>=1&&o-t>=0?(J(),Xn):t<.5?(J(),Rn):(J(),ae)}function Kb(n){var e,t,r,i,c,o;if(Qe(),4!=n.e&&5!=n.e)throw C(new Kn("Token#complementRanges(): must be RANGE: "+n.e));for(ag(c=n),X6(c),r=c.b.length+2,0==c.b[0]&&(r-=2),(t=c.b[c.b.length-1])==t4&&(r-=2),(i=new cs(4)).b=L(be,Ne,25,r,15,1),o=0,c.b[0]>0&&(i.b[o++]=0,i.b[o++]=c.b[0]-1),e=1;e0&&(cO(h,h.d-i.d),i.c==(zo(),Xl)&&ste(h,h.a-i.d),h.d<=0&&h.i>0&&Rt(e,h,e.c.b,e.c));for(c=new E(n.f);c.a0&&(jj(f,f.i-i.d),i.c==(zo(),Xl)&&ote(f,f.b-i.d),f.i<=0&&f.d>0&&Rt(t,f,t.c.b,t.c))}function lye(n,e,t){var r,i,c,o,f,h,l,a;for(le(t,"Processor compute fanout",1),Cu(n.b),Cu(n.a),f=null,c=Re(e.b,0);!f&&c.b!=c.d.c;)on(sn(k(l=u(_e(c),86),(uc(),pw))))&&(f=l);for(Rt(h=new Ct,f,h.c.b,h.c),yRn(n,h),a=Re(e.b,0);a.b!=a.d.c;)o=Te(k(l=u(_e(a),86),(uc(),o9))),i=null!=kc(n.b,o)?u(kc(n.b,o),19).a:0,H(l,_P,Q(i)),r=1+(null!=kc(n.a,o)?u(kc(n.a,o),19).a:0),H(l,nYn,Q(r));ce(t)}function aye(n,e,t,r,i){var o,f,h,l,a,d,g,v,p;for(g=function V3e(n,e){var t,i,c;for(c=new Sr(n.e,0),t=0;c.bxB)return t;i>-1e-6&&++t}return t}(n,t),h=0;h0),r.a.Xb(r.c=--r.b),d>g+h&&Qu(r);for(o=new E(v);o.a0),r.a.Xb(r.c=--r.b)}}function ON(n){var e,t,r,i,c,o,f,h,l,a,d,g,v;if(t=n.i,e=n.n,0==n.b)for(v=t.c+e.b,g=t.b-e.b-e.c,h=0,a=(o=n.a).length;h0&&(d-=r[0]+n.c,r[0]+=n.c),r[2]>0&&(d-=r[2]+n.c),r[1]=j.Math.max(r[1],d),cT(n.a[1],t.c+e.b+r[0]-(r[1]-d)/2,r[1]);for(f=0,l=(c=n.a).length;ff&&(f=i,a.c=L(Zn,rn,1,0,5,1)),i==f&&W(a,new Mr(t.c.i,t)));An(),ar(a,n.c),lb(n.b,h.p,a)}}(d,n),d.f=gh(d.d),function Wke(n,e){var t,r,i,o,f,h,l,a;for(o=new E(e.b);o.af&&(f=i,a.c=L(Zn,rn,1,0,5,1)),i==f&&W(a,new Mr(t.d.i,t)));An(),ar(a,n.c),lb(n.f,h.p,a)}}(d,n),d}function l_n(n,e){var r,i,c;for(c=u(un(n.n,n.n.c.length-1),211).d,n.p=j.Math.min(n.p,e.g),n.r=j.Math.max(n.r,c),n.g=j.Math.max(n.g,e.g+(1==n.b.c.length?0:n.i)),n.o=j.Math.min(n.o,e.f),n.e+=e.f+(1==n.b.c.length?0:n.i),n.f=j.Math.max(n.f,e.f),i=n.n.c.length>0?(n.n.c.length-1)*n.i:0,r=new E(n.n);r.a1)for(r=Re(i,0);r.b!=r.d.c;)for(c=0,h=new E((t=u(_e(r),231)).e);h.a0&&(e[0]+=n.c,d-=e[0]),e[2]>0&&(d-=e[2]+n.c),e[1]=j.Math.max(e[1],d),uT(n.a[1],r.d+t.d+e[0]-(e[1]-d)/2,e[1]);else for(p=r.d+t.d,v=r.a-t.d-t.a,h=0,a=(o=n.a).length;h=0&&c!=t)throw C(new Kn(Rk));for(i=0,h=0;h0||0==s0(i.b.d,n.b.d+n.b.a)&&r.b<0||0==s0(i.b.d+i.b.a,n.b.d)&&r.b>0){f=0;break}}else f=j.Math.min(f,bNn(n,i,r));f=j.Math.min(f,b_n(n,c,f,r))}return f}function hk(n,e){var t,i,c,o,f,h;if(n.b<2)throw C(new Kn("The vector chain must contain at least a source and a target point."));for(ne(0!=n.b),SE(e,(i=u(n.a.a.c,8)).a,i.b),h=new S2((!e.a&&(e.a=new Vt(fo,e,5)),e.a)),o=Re(n,1);o.aK(hf(o.g,o.d[0]).a)?(ne(h.b>0),h.a.Xb(h.c=--h.b),fb(h,o),i=!0):f.e&&f.e.gc()>0&&(c=(!f.e&&(f.e=new X),f.e).Mc(e),l=(!f.e&&(f.e=new X),f.e).Mc(t),(c||l)&&((!f.e&&(f.e=new X),f.e).Fc(o),++o.c));i||(r.c[r.c.length]=o)}function v_n(n){var e,t,r;if(_w(u(k(n,(nn(),Nt)),98)))for(t=new E(n.j);t.a>>0).toString(16),t.length-2,t.length):n>=Vr?"\\v"+rs(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&Gt)}return r}function $N(n,e){var t,r,i,c,o,f,h,l,a,d;if(0==(h=e.e))return n;if(0==(o=n.e))return 0==e.e?e:new Gw(-e.e,e.d,e.a);if((c=n.d)+(f=e.d)==2)return t=rr(n.a[0],si),r=rr(e.a[0],si),o<0&&(t=Hp(t)),h<0&&(r=Hp(r)),B7(Al(t,r));if(-1==(i=c!=f?c>f?1:-1:TQ(n.a,e.a,c)))d=-h,a=o==h?eF(e.a,f,n.a,c):rF(e.a,f,n.a,c);else if(d=o,o==h){if(0==i)return Dl(),u4;a=eF(n.a,c,e.a,f)}else a=rF(n.a,c,e.a,f);return r6(l=new Gw(d,a.length,a)),l}function XZ(n){var e,t,r,i,c,o;for(this.e=new X,this.a=new X,t=n.b-1;t<3;t++)kp(n,0,u(Yo(n,0),8));if(n.b<4)throw C(new Kn("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,function u9e(n,e){var t,r,i,c,o;if(e<2*n.b)throw C(new Kn("The knot vector must have at least two time the dimension elements."));for(n.f=1,i=0;i=e.o&&t.f<=e.f||.5*e.a<=t.f&&1.5*e.a>=t.f){if((o=u(un(e.n,e.n.c.length-1),211)).e+o.d+t.g+i<=r&&(u(un(e.n,e.n.c.length-1),211).f-n.f+t.f<=n.b||1==n.a.c.length))return WQ(e,t),!0;if(e.s+t.g<=r&&(e.t+e.d+t.f+i<=n.b||1==n.a.c.length))return W(e.b,t),f=u(un(e.n,e.n.c.length-1),211),W(e.n,new DT(e.s,f.f+f.a+e.i,e.i)),PJ(u(un(e.n,e.n.c.length-1),211),t),l_n(e,t),!0}return!1}function m_n(n,e,t){var r,i,c,o;return n.ej()?(i=null,c=n.fj(),r=n.Zi(1,o=dF(n,e,t),t,e,c),n.bj()&&!(n.ni()&&null!=o?et(o,t):B(o)===B(t))?(null!=o&&(i=n.dj(o,i)),i=n.cj(t,i),n.ij()&&(i=n.lj(o,t,i)),i?(i.Ei(r),i.Fi()):n.$i(r)):(n.ij()&&(i=n.lj(o,t,i)),i?(i.Ei(r),i.Fi()):n.$i(r)),o):(o=dF(n,e,t),n.bj()&&!(n.ni()&&null!=o?et(o,t):B(o)===B(t))&&(i=null,null!=o&&(i=n.dj(o,null)),(i=n.cj(t,i))&&i.Fi()),o)}function G6(n,e){var r,i,c,o,f,h,l;e%=24,n.q.getHours()!=e&&((r=new j.Date(n.q.getTime())).setDate(r.getDate()+1),(f=n.q.getTimezoneOffset()-r.getTimezoneOffset())>0&&(h=f/60|0,l=f%60,i=n.q.getDate(),n.q.getHours()+h>=24&&++i,c=new j.Date(n.q.getFullYear(),n.q.getMonth(),i,e+h,n.q.getMinutes()+l,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),o=n.q.getTime(),n.q.setTime(o+36e5),n.q.getHours()!=e&&n.q.setTime(o)}function Eye(n,e){var t,r,i,c;if(le(e,"Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(i=new eZ(n)).i&&(i.i=XV(i,new bq)),t=K(i.i)*i.f/(null==i.i&&(i.i=XV(i,new bq)),K(i.i)),i.b>t)ce(e);else{switch(u(k(n,(nn(),TK)),337).g){case 2:c=new gq;break;case 0:c=new dq;break;default:c=new vq}if(r=c.Vf(n,i),!c.Wf())switch(u(k(n,MP),338).g){case 2:r=wNn(i,r);break;case 1:r=bLn(i,r)}(function kje(n,e,t){var r,i,c,f,h,a,d,g,v,p,T;if(!t.dc()){for(f=0,g=0,p=u((r=t.Kc()).Pb(),19).a;f1||-1==p)if(d=u(m,69),g=u(a,69),d.dc())g.$b();else for(o=!!ei(e),c=0,f=n.a?d.Kc():d.Zh();f.Ob();)l=u(f.Pb(),56),(i=u(Jd(n,l),56))?(o?-1==(h=g.Xc(i))?g.Xh(c,i):c!=h&&g.ji(c,i):g.Xh(c,i),++c):n.b&&!o&&(g.Xh(c,l),++c);else null==m?a.Wb(null):null==(i=Jd(n,m))?n.b&&!ei(e)&&a.Wb(m):a.Wb(i)}function Aye(n,e){var t,r,i,c,o,f,h,l;for(t=new Fdn,i=new ie(ue(Ni(e).a.Kc(),new Yn));Ae(i);)if(!Ur(r=u(pe(i),17))&&lY(f=r.c.i,PA)){if(-1==(l=MZ(n,f,PA,AA)))continue;t.b=j.Math.max(t.b,l),!t.a&&(t.a=new X),W(t.a,f)}for(o=new ie(ue(Yt(e).a.Kc(),new Yn));Ae(o);)if(!Ur(c=u(pe(o),17))&&lY(h=c.d.i,AA)){if(-1==(l=MZ(n,h,AA,PA)))continue;t.d=j.Math.max(t.d,l),!t.c&&(t.c=new X),W(t.c,h)}return t}function k_n(n){var e,t,r,i;if(C3(),e=Ht(n),n1e6)throw C(new Lj("power of ten too big"));if(n<=Ze)return H2(ek(jv[1],e),e);for(i=r=ek(jv[1],Ze),t=tu(n-Ze),e=Ht(n%Ze);hc(t,Ze)>0;)i=Vw(i,r),t=Al(t,Ze);for(i=H2(i=Vw(i,ek(jv[1],e)),Ze),t=tu(n-Ze);hc(t,Ze)>0;)i=H2(i,Ze),t=Al(t,Ze);return H2(i,e)}function Iye(n,e){var t,i,c,f,h;le(e,"Layer constraint postprocessing",1),0!=(h=n.b).c.length&&(Ln(0,h.c.length),function bke(n,e,t,r,i){var o,f,h,l,a,d;for(o=new E(n.b);o.a1))););(f>0||g.Hc((Su(),w1))&&(!c.n&&(c.n=new V(_i,c,1,7)),c.n).i>0)&&(h=!0),f>1&&(l=!0)}h&&e.Fc((ui(),_s)),l&&e.Fc((ui(),Km))}(e,i=u(k(c,(G(),Ac)),21)),i.Hc((ui(),_s)))for(r=new re((!e.c&&(e.c=new V(Ku,e,9,9)),e.c));r.e!=r.i.gc();)hTe(n,e,c,u(oe(r),118));return 0!=u(hn(e,(nn(),sd)),174).gc()&&eBn(e,c),on(sn(k(c,Qsn)))&&i.Fc(uP),fr(c,vy)&&R9n(new ZQ(K(Y(k(c,vy)))),c),B(hn(e,hw))===B((e1(),Q1))?function ECe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,$,D,N,R,z,en,ln,wn,Gn,zn;for(o=new Ct,R=u(k(t,(nn(),gs)),103),p=0,zr(o,(!e.a&&(e.a=new V(It,e,10,11)),e.a));0!=o.b;)l=u(0==o.b?null:(ne(0!=o.b),Os(o,o.a.a)),33),(B(hn(e,zl))!==B((n1(),Wl))||B(hn(e,fw))===B((Ha(),_m))||B(hn(e,fw))===B((Ha(),Bm))||on(sn(hn(e,ow)))||B(hn(e,$v))!==B((c0(),Ng)))&&!on(sn(hn(l,fK)))&&bi(l,(G(),bc),Q(p++)),!on(sn(hn(l,od)))&&(d=0!=(!l.a&&(l.a=new V(It,l,10,11)),l.a).i,v=M4e(l),g=B(hn(l,hw))===B((e1(),Q1)),D=null,(zn=!Aa(l,(We(),w9))||Mn(Te(hn(l,w9)),Qn))&&g&&(d||v)&&(H(D=f_n(l),gs,R),fr(D,vy)&&R9n(new ZQ(K(Y(k(D,vy)))),D),0!=u(hn(l,sd),174).gc()&&(a=D,Bt(new Dn(null,(!l.c&&(l.c=new V(Ku,l,9,9)),new Fn(l.c,16))),new w5n(a)),eBn(l,D))),z=t,(en=u(te(n.a,At(l)),10))&&(z=en.e),$=oRn(n,l,z),D&&($.e=D,D.e=$,zr(o,(!l.a&&(l.a=new V(It,l,10,11)),l.a))));for(p=0,Rt(o,e,o.c.b,o.c);0!=o.b;){for(h=new re((!(c=u(0==o.b?null:(ne(0!=o.b),Os(o,o.a.a)),33)).b&&(c.b=new V(lr,c,12,3)),c.b));h.e!=h.i.gc();)SBn(f=u(oe(h),79)),(B(hn(e,zl))!==B((n1(),Wl))||B(hn(e,fw))===B((Ha(),_m))||B(hn(e,fw))===B((Ha(),Bm))||on(sn(hn(e,ow)))||B(hn(e,$v))!==B((c0(),Ng)))&&bi(f,(G(),bc),Q(p++)),wn=Ii(u(O((!f.b&&(f.b=new $n(he,f,4,7)),f.b),0),82)),Gn=Ii(u(O((!f.c&&(f.c=new $n(he,f,5,8)),f.c),0),82)),!(on(sn(hn(f,od)))||on(sn(hn(wn,od)))||on(sn(hn(Gn,od))))&&(N=c,d0(f)&&on(sn(hn(wn,lw)))&&on(sn(hn(f,ud)))||Eb(Gn,wn)?N=wn:Eb(wn,Gn)&&(N=Gn),z=t,(en=u(te(n.a,N),10))&&(z=en.e),H(gnn(n,f,N,z),(G(),xun),W8e(n,f,e,t)));if(g=B(hn(c,hw))===B((e1(),Q1)))for(i=new re((!c.a&&(c.a=new V(It,c,10,11)),c.a));i.e!=i.i.gc();)zn=!Aa(r=u(oe(i),33),(We(),w9))||Mn(Te(hn(r,w9)),Qn),ln=B(hn(r,hw))===B(Q1),zn&&ln&&Rt(o,r,o.c.b,o.c)}}(n,e,c):function GTe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,m;for(d=0,i=new re((!e.a&&(e.a=new V(It,e,10,11)),e.a));i.e!=i.i.gc();)on(sn(hn(r=u(oe(i),33),(nn(),od))))||((B(hn(e,zl))!==B((n1(),Wl))||B(hn(e,fw))===B((Ha(),_m))||B(hn(e,fw))===B((Ha(),Bm))||on(sn(hn(e,ow)))||B(hn(e,$v))!==B((c0(),Ng)))&&!on(sn(hn(r,fK)))&&(bi(r,(G(),bc),Q(d)),++d),oRn(n,r,t));for(d=0,l=new re((!e.b&&(e.b=new V(lr,e,12,3)),e.b));l.e!=l.i.gc();)f=u(oe(l),79),(B(hn(e,(nn(),zl)))!==B((n1(),Wl))||B(hn(e,fw))===B((Ha(),_m))||B(hn(e,fw))===B((Ha(),Bm))||on(sn(hn(e,ow)))||B(hn(e,$v))!==B((c0(),Ng)))&&(bi(f,(G(),bc),Q(d)),++d),p=Ch(f),m=Pl(f),a=on(sn(hn(p,lw))),v=!on(sn(hn(f,od))),g=a&&d0(f)&&on(sn(hn(f,ud))),c=At(p)==e&&At(p)==At(m),o=(At(p)==e&&m==e)^(At(m)==e&&p==e),v&&!g&&(o||c)&&gnn(n,f,e,t);if(At(e))for(h=new re(SCn(At(e)));h.e!=h.i.gc();)(p=Ch(f=u(oe(h),79)))==e&&d0(f)&&(g=on(sn(hn(p,(nn(),lw))))&&on(sn(hn(f,ud))))&&gnn(n,f,e,t)}(n,e,c),c}function U6(n,e,t,r){var i,c,o;if(this.j=new X,this.k=new X,this.b=new X,this.c=new X,this.e=new M2,this.i=new lu,this.f=new fO,this.d=new X,this.g=new X,W(this.b,n),W(this.b,e),this.e.c=j.Math.min(n.a,e.a),this.e.d=j.Math.min(n.b,e.b),this.e.b=j.Math.abs(n.a-e.a),this.e.a=j.Math.abs(n.b-e.b),i=u(k(r,(nn(),Ci)),74))for(o=Re(i,0);o.b!=o.d.c;)AV((c=u(_e(o),8)).a,n.a)&&Ke(this.i,c);t&&W(this.j,t),W(this.k,r)}function $ye(n,e,t){var r,i,c,o,f,h,l,a,d,g;for(a=new lT(new l5n(t)),VW(f=L(Hu,Oh,25,n.f.e.c.length,16,1),f.length),t[e.b]=0,l=new E(n.f.e);l.al&&r>l)){i=!1,t.n&&ka(t,"bk node placement breaks on "+f+" which should have been after "+a);break}a=f,l=K(e.p[f.p])+K(e.d[f.p])+f.o.b+f.d.a}if(!i)break}return t.n&&ka(t,e+" is feasible: "+i),i}function Lye(n,e,t,r){var i,c,o,f,h,l,a;if(t.d.i!=e.i){for(ba(i=new i1(n),(Vn(),br)),H(i,(G(),rt),t),H(i,(nn(),Nt),(Tr(),Pc)),r.c[r.c.length]=i,Hi(o=new gc,i),ir(o,(J(),qn)),Hi(f=new gc,i),ir(f,Xn),a=t.d,jr(t,o),Pi(c=new Ud,t),H(c,Ci,null),Br(c,f),jr(c,a),l=new Sr(t.b,0);l.b=T&&n.e[h.p]>p*n.b||D>=t*T)&&(g.c[g.c.length]=f,f=new X,zr(o,c),c.a.$b(),v=j.Math.max(v,(l-=a)*n.b+m),l+=D,$=D,D=0,a=0,m=0);return new Mr(v,g)}function Bye(n){var e,t,r,i,c,o,f,h,a,d,g,v;for(t=new J0(new Kh(n.c.b).a.vc().Kc());t.a.Ob();)f=u(t.a.Pb(),42),null==(i=(e=u(f.dd(),149)).a)&&(i=""),!(r=hue(n.c,i))&&0==i.length&&(r=lge(n)),r&&!Ab(r.c,e,!1)&&Ke(r.c,e);for(o=Re(n.a,0);o.b!=o.d.c;)c=u(_e(o),478),a=J$(n.c,c.a),v=J$(n.c,c.b),a&&v&&Ke(a.c,new Mr(v,c.c));for(zs(n.a),g=Re(n.b,0);g.b!=g.d.c;)d=u(_e(g),478),e=fue(n.c,d.a),h=J$(n.c,d.b),e&&h&&Zre(e,h,d.c);zs(n.b)}function z6(n){var e,t,r,c,f,h;if(!n.f){if(h=new Tq,f=new Tq,null==(e=I9).a.zc(n,e)){for(c=new re(Si(n));c.e!=c.i.gc();)Dt(h,z6(u(oe(c),26)));e.a.Bc(n),e.a.gc()}for(!n.s&&(n.s=new V(ou,n,21,17)),r=new re(n.s);r.e!=r.i.gc();)I(t=u(oe(r),170),99)&&me(f,u(t,18));Mb(f),n.r=new NEn(n,(u(O(_((pl(),Nn).o),6),18),f.i),f.g),Dt(h,n.r),Mb(h),n.f=new Bw((u(O(_(Nn.o),5),18),h.i),h.g),Du(n).b&=-3}return n.f}function Kye(n){var e,t,r,i,c,o,f,h,l,a,d,g,v,p;for(r=L(be,Ne,25,o=n.o,15,1),i=L(be,Ne,25,o,15,1),e=L(be,Ne,25,t=n.p,15,1),c=L(be,Ne,25,t,15,1),l=0;l=0&&!ug(n,a,d);)--d;i[a]=d}for(v=0;v=0&&!ug(n,f,p);)--f;c[p]=f}for(h=0;he[g]&&gr[h]&&NM(n,h,g,!1,!0)}function VZ(n){var e,t,r,i,c,o,f,h;t=on(sn(k(n,(Zo(),Zzn)))),c=n.a.c.d,f=n.a.d.d,t?(o=Gf(pr(new fn(f.a,f.b),c),.5),h=Gf(Ji(n.e),.5),e=pr(ut(new fn(c.a,c.b),o),h),Cz(n.d,e)):(i=K(Y(k(n.a,sWn))),r=n.d,c.a>=f.a?c.b>=f.b?(r.a=f.a+(c.a-f.a)/2+i,r.b=f.b+(c.b-f.b)/2-i-n.e.b):(r.a=f.a+(c.a-f.a)/2+i,r.b=c.b+(f.b-c.b)/2+i):c.b>=f.b?(r.a=c.a+(f.a-c.a)/2+i,r.b=f.b+(c.b-f.b)/2+i):(r.a=c.a+(f.a-c.a)/2+i,r.b=c.b+(f.b-c.b)/2-i-n.e.b))}function Tc(n,e){var t,r,i,c,o,f,h;if(null==n)return null;if(0==(c=n.length))return"";for(h=L(Hs,Yf,25,c,15,1),lV(0,c,n.length),lV(0,c,h.length),HTn(n,0,c,h,0),t=null,f=e,i=0,o=0;i0?rs(t.a,0,c-1):"":n.substr(0,c-1):t?t.a:n}function E_n(n){Od(n,new qa(Sd(Td(Md(Cd(new aa,Va),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new lan))),Z(n,Va,Wx,cn(Yin)),Z(n,Va,Xx,cn(cR)),Z(n,Va,bv,cn(Bzn)),Z(n,Va,j0,cn(Jin)),Z(n,Va,Fnn,cn(Hzn)),Z(n,Va,Lnn,cn(Kzn)),Z(n,Va,$nn,cn(qzn)),Z(n,Va,Nnn,cn(Rzn)),Z(n,Va,qnn,cn(_zn)),Z(n,Va,Gnn,cn(iR)),Z(n,Va,Unn,cn(Qin)),Z(n,Va,znn,cn(yA))}function QZ(n,e,t,r){var i,c,o,f,l,a,d;if(ba(c=new i1(n),(Vn(),Sc)),H(c,(nn(),Nt),(Tr(),Pc)),i=0,e){for(H(o=new gc,(G(),rt),e),H(c,rt,e.i),ir(o,(J(),qn)),Hi(o,c),a=0,d=(l=Vf(e.e)).length;a=0&&d<=1&&g>=0&&g<=1?ut(new fn(n.a,n.b),Gf(new fn(e.a,e.b),d)):null}function Uye(n){var t,r,i,c,o,h,l,a,d,g;for(a=new Rq(new Yv(HNn(n)).a.vc().Kc());a.a.Ob();){for(i=u(a.a.Pb(),42),d=0,g=0,d=(l=u(i.cd(),10)).d.d,g=l.o.b+l.d.a,n.d[l.p]=0,t=l;(c=n.a[t.p])!=l;)r=rve(t,c),0,h=n.c==(Xf(),z1)?r.d.n.b+r.d.a.b-r.c.n.b-r.c.a.b:r.c.n.b+r.c.a.b-r.d.n.b-r.d.a.b,o=K(n.d[t.p])+h,n.d[c.p]=o,d=j.Math.max(d,c.d.d-o),g=j.Math.max(g,o+c.o.b+c.d.a),t=c;t=l;do{n.d[t.p]=K(n.d[t.p])+d,t=n.a[t.p]}while(t!=l);n.b[l.p]=d+g}}function LN(n){var t,r,i,c,o,f,h,l,a,d,g;for(n.b=!1,d=Ft,h=Wt,g=Ft,l=Wt,r=n.e.a.ec().Kc();r.Ob();)for(t=u(r.Pb(),266),d=j.Math.min(d,(i=t.a).c),h=j.Math.max(h,i.c+i.b),g=j.Math.min(g,i.d),l=j.Math.max(l,i.d+i.a),o=new E(t.c);o.a=(Ln(c,n.c.length),u(n.c[c],200)).e,f=W6(r,g,!1),a=f.a,a>e.b&&!l))&&((l||a<=e.b)&&(l&&a>e.b?(t.d=a,r7(t,LLn(t,a))):(nLn(t.q,h),t.c=!0),r7(r,i-(t.s+t.r)),_7(r,t.q.e+t.q.d,e.f),wC(e,r),n.c.length>c&&(G7((Ln(c,n.c.length),u(n.c[c],200)),r),0==(Ln(c,n.c.length),u(n.c[c],200)).a.c.length&&M1(n,c)),d=!0),d)}function YZ(n,e,t,r){var i,c,o,f,h,l,a;if(a=Kc(n.e.Tg(),e),i=0,c=u(n.g,119),h=null,Zr(),u(e,66).Oj()){for(f=0;f0?n.i:0)>e&&h>0&&(c=0,o+=h+n.i,i=j.Math.max(i,g),r+=h+n.i,h=0,g=0,t&&(++d,W(n.n,new DT(n.s,o,n.i))),f=0),g+=l.g+(f>0?n.i:0),h=j.Math.max(h,l.f),t&&PJ(u(un(n.n,d),211),l),c+=l.g+(f>0?n.i:0),++f;return i=j.Math.max(i,g),r+=h,t&&(n.r=i,n.d=r,$J(n.j)),new Ss(n.s,n.t,i,r)}function vc(n,e,t,r,i){var c,o,f,h,a,d,g;if(wh(),YW(n,"src"),YW(t,"dest"),g=Fu(n),h=Fu(t),yW(0!=(4&g.i),"srcType is not an array"),yW(0!=(4&h.i),"destType is not an array"),o=h.c,yW(1&(d=g.c).i?d==o:0==(1&o.i),"Array types don't match"),e<0||r<0||i<0||e+i>n.length||r+i>t.length)throw C(new dG);if(1&d.i||g==h)i>0&&BY(n,e,t,r,i,!0);else if(a=Ia(n),c=Ia(t),B(n)===B(t)&&er;)St(c,f,a[--e]);else for(f=r+i;r=n.b.length?(c[i++]=o.b[r++],c[i++]=o.b[r++]):r>=o.b.length?(c[i++]=n.b[t++],c[i++]=n.b[t++]):o.b[r]0&&(!(i=(!n.n&&(n.n=new V(_i,n,1,7)),u(O(n.n,0),137)).a)||De(De((e.a+=' "',e),i),'"'))),!n.b&&(n.b=new $n(he,n,4,7)),t=!(n.b.i<=1&&(!n.c&&(n.c=new $n(he,n,5,8)),n.c.i<=1)),e.a+=t?" [":" ",De(e,oz(new SO,new re(n.b))),t&&(e.a+="]"),e.a+=nB,t&&(e.a+="["),De(e,oz(new SO,new re(n.c))),t&&(e.a+="]"),e.a)}function BN(n,e){var t,r,i,c,o,f,h;if(n.a){if(h=null,null!=(f=n.a.ne())?e.a+=""+f:null!=(o=n.a.Dj())&&(-1!=(c=qf(o,ru(91)))?(h=o.substr(c),e.a+=""+rs(null==o?iu:(_n(o),o),0,c)):e.a+=""+o),n.d&&0!=n.d.i){for(i=!0,e.a+="<",r=new re(n.d);r.e!=r.i.gc();)t=u(oe(r),87),i?i=!1:e.a+=Xr,BN(t,e);e.a+=">"}null!=h&&(e.a+=""+h)}else n.e?null!=(f=n.e.zb)&&(e.a+=""+f):(e.a+="?",n.b?(e.a+=" super ",BN(n.b,e)):n.f&&(e.a+=" extends ",BN(n.f,e)))}function C_n(n,e,t,r){var i,c,o,h,l,a;if(c=qC(r),!on(sn(k(r,(nn(),Gsn))))&&!on(sn(k(n,mP)))||_w(u(k(n,Nt),98)))switch(h=new gc,Hi(h,n),e?(a=h.n,a.a=e.a-n.n.a,a.b=e.b-n.n.b,NLn(a,0,0,n.o.a,n.o.b),ir(h,VBn(h,c))):(i=J2(c),ir(h,t==(ii(),xc)?i:$7(i))),o=u(k(r,(G(),Ac)),21),l=h.j,c.g){case 2:case 1:(l==(J(),Rn)||l==ae)&&o.Fc((ui(),Kg));break;case 4:case 3:(l==(J(),Xn)||l==qn)&&o.Fc((ui(),Kg))}else i=J2(c),h=RZ(n,t,t==(ii(),xc)?i:$7(i));return h}function ZZ(n,e,t){var r,i,o,f,h,l,a;return j.Math.abs(e.s-e.c)a?new Ca((zo(),vw),t,e,l-a):l>0&&a>0&&(new Ca((zo(),vw),e,t,0),new Ca(vw,t,e,0))),o)}function M_n(n,e){var t,r,i,c,o;for(o=new Na(new wa(n.f.b).a);o.b;){if(i=u((c=Zd(o)).cd(),594),1==e){if(i.gf()!=(ci(),d1)&&i.gf()!=a1)continue}else if(i.gf()!=(ci(),co)&&i.gf()!=Fo)continue;switch(r=u(u(c.dd(),46).b,81),t=u(u(c.dd(),46).a,189).c,i.gf().g){case 2:r.g.c=n.e.a,r.g.b=j.Math.max(1,r.g.b+t);break;case 1:r.g.c=r.g.c+t,r.g.b=j.Math.max(1,r.g.b-t);break;case 4:r.g.d=n.e.b,r.g.a=j.Math.max(1,r.g.a+t);break;case 3:r.g.d=r.g.d+t,r.g.a=j.Math.max(1,r.g.a-t)}}}function S_n(n,e){var t,r,i,c,o,f,h,l,a,d,g;for(r=new ie(ue(c1(e).a.Kc(),new Yn));Ae(r);)I(O((!(t=u(pe(r),79)).b&&(t.b=new $n(he,t,4,7)),t.b),0),186)||(h=Ii(u(O((!t.c&&(t.c=new $n(he,t,5,8)),t.c),0),82)),B6(t)||(o=e.i+e.g/2,f=e.j+e.f/2,a=h.i+h.g/2,d=h.j+h.f/2,(g=new $r).a=a-o,g.b=d-f,k3(c=new fn(g.a,g.b),e.g,e.f),g.a-=c.a,g.b-=c.b,o=a-g.a,f=d-g.b,k3(l=new fn(g.a,g.b),h.g,h.f),g.a-=l.a,g.b-=l.b,a=o+g.a,d=f+g.b,zp(i=wg(t,!0,!0),o),Xp(i,f),Up(i,a),Wp(i,d),S_n(n,h)))}function A_n(n){Od(n,new qa(Sd(Td(Md(Cd(new aa,E0),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new Ugn))),Z(n,E0,UB,cn(YP)),Z(n,E0,Gtn,cn(gH)),Z(n,E0,Utn,cn(wH)),Z(n,E0,zB,cn(Ufn)),Z(n,E0,WB,cn(bH)),Z(n,E0,j0,Gfn),Z(n,E0,Wb,8),Z(n,E0,XB,cn(gZn)),Z(n,E0,ztn,cn(Hfn)),Z(n,E0,Wtn,cn(qfn)),Z(n,E0,Bk,(Hn(),!1))}function _N(n,e,t){var r,i,c,f,h,l,a;return r=n.a.o==(af(),If)?Ft:Wt,!(f=r_n(n,new ikn(e,t))).a&&f.c?(Ke(n.d,f),r):f.a?(i=f.a.c,h=f.a.d,t?(l=n.a.c==(Xf(),H0)?h:i,a=K(n.a.p[n.a.g[(c=n.a.c==H0?i:h).i.p].p])+K(n.a.d[c.i.p])+c.n.b+c.a.b-K(n.a.d[l.i.p])-l.n.b-l.a.b):(l=n.a.c==(Xf(),z1)?h:i,a=K(n.a.p[n.a.g[(c=n.a.c==z1?i:h).i.p].p])+K(n.a.d[c.i.p])+c.n.b+c.a.b-K(n.a.d[l.i.p])-l.n.b-l.a.b),n.a.n[n.a.g[i.i.p].p]=(Hn(),!0),n.a.n[n.a.g[h.i.p].p]=!0,a):r}function HM(n,e,t){var r,c,o,f,h,l,a;if(u1(n.e,e))Zr(),TM((h=u(e,66).Oj()?new JE(e,n):new j8(e,n)).c,h.b),L5(h,u(t,14));else{for(a=Kc(n.e.Tg(),e),r=u(n.g,119),o=0;on.o.b||(t=Ui(n,Xn),f=e.d+e.a+(t.gc()-1)*o,f>n.o.b)))}function KN(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p;if(0==(o=n.e))return e;if(0==(h=e.e))return n;if((c=n.d)+(f=e.d)==2)return t=rr(n.a[0],si),r=rr(e.a[0],si),o==h?(p=ge(a=_r(t,r)),0==(v=ge(ab(a,32)))?new S1(o,p):new Gw(o,2,S(M(be,1),Ne,25,15,[p,v]))):B7(o<0?Al(r,t):Al(t,r));if(o==h)g=o,d=c>=f?rF(n.a,c,e.a,f):rF(e.a,f,n.a,c);else{if(0==(i=c!=f?c>f?1:-1:TQ(n.a,e.a,c)))return Dl(),u4;1==i?(g=o,d=eF(n.a,c,e.a,f)):(g=h,d=eF(e.a,f,n.a,c))}return r6(l=new Gw(g,d.length,d)),l}function HN(n,e,t,r,i,c,o){var f,h,l,a,d,g,v;return d=on(sn(k(e,(nn(),Usn)))),g=null,c==(ii(),Pu)&&r.c.i==t?g=r.c:c==xc&&r.d.i==t&&(g=r.d),(l=o)&&d&&!g?(W(l.e,r),v=j.Math.max(K(Y(k(l.d,G1))),K(Y(k(r,G1)))),H(l.d,G1,v)):(J(),a=Xi,g?a=g.j:_w(u(k(t,Nt),98))&&(a=c==Pu?qn:Xn),h=function sje(n,e,t,r,i,c){var o,f,h,l,a,d;return o=null,l=r==(ii(),Pu)?c.c:c.d,h=qC(e),l.i==t?(o=u(te(n.b,l),10))||(H(o=bk(l,u(k(t,(nn(),Nt)),98),i,function vke(n){var e,t,r,i,c,o,f,h,l,a;for(i=on(sn(k(f=n.i,(nn(),lw)))),a=0,r=0,l=new E(n.g);l.a=n.b[i+1])i+=2;else{if(!(t=Vr?li(t,zQ(r)):Ap(t,r&Gt),o=new I$(10,null,0),function Xfe(n,e,t){Cp(t,n.a.c.length),Ps(n.a,t,e)}(n.a,o,f-1)):(o.bm(),li(t=new s5,o.bm())),0==e.e?(r=e._l())>=Vr?li(t,zQ(r)):Ap(t,r&Gt):li(t,e.bm()),u(o,521).b=t.a}}function F_n(n){var e,t,r,i,c;return null!=n.g?n.g:n.a<32?(n.g=function DTe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m;if(xN(),(h=hc(n,0)<0)&&(n=Hp(n)),0==hc(n,0))switch(e){case 0:return"0";case 1:return K3;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(v=new cl).a+=e<0?"0E+":"0E",v.a+=e==Lr?"2147483648":""+-e,v.a}d=L(Hs,Yf,25,1+(a=18),15,1),t=a,m=n;do{l=m,m=U7(m,10),d[--t]=ge(_r(48,Al(l,Fr(m,10))))&Gt}while(0!=hc(m,0));if(i=Al(Al(Al(a,t),e),1),0==e)return h&&(d[--t]=45),Xs(d,t,a-t);if(e>0&&hc(i,-6)>=0){if(hc(i,0)>=0){for(c=t+ge(i),f=a-1;f>=c;f--)d[f+1]=d[f];return d[++c]=46,h&&(d[--t]=45),Xs(d,t,a-t+1)}for(o=2;FO(o,_r(Hp(i),1));o++)d[--t]=48;return d[--t]=46,d[--t]=48,h&&(d[--t]=45),Xs(d,t,a-t)}return p=t+1,r=a,g=new nb,h&&(g.a+="-"),r-p>=1?(vl(g,d[t]),g.a+=".",g.a+=Xs(d,t+1,a-t-1)):g.a+=Xs(d,t,a-t),g.a+="E",hc(i,0)>0&&(g.a+="+"),g.a+=""+W5(i),g.a}(tu(n.f),Ht(n.e)),n.g):(i=JN((!n.c&&(n.c=P7(n.f)),n.c),0),0==n.e?i:(e=(!n.c&&(n.c=P7(n.f)),n.c).e<0?2:1,r=-n.e+(t=i.length)-e,(c=new cl).a+=""+i,n.e>0&&r>=-6?r>=0?X8(c,t-Ht(n.e),String.fromCharCode(46)):(c.a=rs(c.a,0,e-1)+"0."+E8(c.a,e-1),X8(c,e+1,Xs(rd,0,-Ht(r)-1))):(t-e>=1&&(X8(c,e,String.fromCharCode(46)),++t),X8(c,t,String.fromCharCode(69)),r>0&&X8(c,++t,String.fromCharCode(43)),X8(c,++t,""+W5(tu(r)))),n.g=c.a,n.g))}function jje(n,e,t){var r,i,c;if((i=u(k(e,(nn(),bP)),275))!=(E3(),Rm)){switch(1===(le(t,"Horizontal Compaction",1),n.a=e,function yre(n,e){return n.g=e,n}(r=new xNn(((c=new BPn).d=e,c.c=u(k(c.d,l1),218),function E7e(n){var e,t,r,i,c,o,f;for(e=!1,t=0,i=new E(n.d.b);i.a0&&C7(l,!0,(ci(),Fo)),f.k==(Vn(),zt)&&kCn(l),tt(n.f,f,e)):((a=(r=u(d1e(t1(f)),17)).c.i)==f&&(a=r.d.i),d=new Mr(a,pr(Ji(f.n),a.n)),tt(n.b,f,d))}(c),I7e(c),c.a)),n.b),u(k(e,jsn),422).g)?t8n(r,new ZIn(n.a)):t8n(r,(vX(),zUn)),i.g){case 1:_6(r);break;case 2:_6(zM(r,(ci(),Fo)));break;case 3:_6(e8n(zM(_6(r),(ci(),Fo)),new gbn));break;case 4:_6(e8n(zM(_6(r),(ci(),Fo)),new H5n(c)));break;case 5:_6(function kre(n,e){return n.b=e,n}(r,QWn))}zM(r,(ci(),co)),r.e=!0,function JEe(n){var e,t,r,i;for(Bt(gt(new Dn(null,new Fn(n.a.b,16)),new kbn),new ybn),function q3e(n){var e,t,r,i,c;for(r=new Na(new wa(n.b).a);r.b;)e=u((t=Zd(r)).cd(),10),c=u(u(t.dd(),46).a,10),i=u(u(t.dd(),46).b,8),ut(Uo(e.n),ut(Ji(c.n),i))}(n),Bt(gt(new Dn(null,new Fn(n.a.b,16)),new jbn),new Ebn),n.c==(r1(),Kv)&&(Bt(gt(qi(new Dn(null,new Fn(new Yv(n.f),1)),new Tbn),new Cbn),new z5n(n)),Bt(gt(Vc(qi(qi(new Dn(null,new Fn(n.d.b,16)),new Mbn),new Sbn),new Abn),new Pbn),new X5n(n))),i=new fn(Ft,Ft),e=new fn(Wt,Wt),r=new E(n.a.b);r.a1&&(h=l.mg(h,n.a,f));return 1==h.c.length?u(un(h,h.c.length-1),220):2==h.c.length?function fje(n,e,t,r){var o,a,d,g,D;return g=e.f,(o=n.f)!=(P3(),Nv)&&o!=l9||g!=Nv&&g!=l9?o!=Yg&&o!=a9||g!=Yg&&g!=a9?o!=Yg&&o!=Nv||g!=Yg&&g!=Nv?n:(o==Yg?(d=n,a=e):(d=e,a=n),D=j.Math.max(t.j+t.f,d.e+r.f)-j.Math.min(t.j,d.e),(d.d+r.g-t.i)*D<=(j.Math.max(t.i+t.g,a.d+r.g)-j.Math.min(t.i,a.d))*(a.e+r.f-t.j)?n.f==Yg?n:e:n.f==Nv?n:e):n.f==a9?n:e:n.f==l9?n:e}((Ln(0,h.c.length),u(h.c[0],220)),(Ln(1,h.c.length),u(h.c[1],220)),o,c):null}function L_n(n){var e,t,r,i,c,o;for(Zc(n.a,new uan),t=new E(n.a);t.a=j.Math.abs(r.b)?(r.b=0,c.d+c.a>o.d&&c.do.c&&c.c0){if(e=new BU(n.i,n.g),c=(t=n.i)<100?null:new ul(t),n.ij())for(r=0;r0){for(f=n.g,l=n.i,o6(n),c=l<100?null:new ul(l),r=0;r4){if(!n.wj(e))return!1;if(n.rk()){if(h=(r=(i=u(e,49)).Ug())==n.e&&(n.Dk()?i.Og(i.Vg(),n.zk())==n.Ak():-1-i.Vg()==n.aj()),n.Ek()&&!h&&!r&&i.Zg())for(c=0;c0)if(e=new QV(n.Gi()),c=(t=a)<100?null:new ul(t),P8(n,t,e.g),i=1==t?n.Zi(4,O(e,0),null,0,h):n.Zi(6,e,null,-1,h),n.bj()){for(r=new re(e);r.e!=r.i.gc();)c=n.dj(oe(r),c);c?(c.Ei(i),c.Fi()):n.$i(i)}else c?(c.Ei(i),c.Fi()):n.$i(i);else P8(n,n.Vi(),n.Wi()),n.$i(n.Zi(6,(An(),Gr),null,-1,h));else if(n.bj())if((a=n.Vi())>0){for(f=n.Wi(),l=a,P8(n,a,f),c=l<100?null:new ul(l),r=0;r2*c?(a=new aC(d),l=wu(o)/Xu(o),h=VN(a,e,new g2,t,r,i,l),ut(Uo(a.e),h),d.c=L(Zn,rn,1,0,5,1),c=0,d.c[d.c.length]=a,d.c[d.c.length]=o,c=wu(a)*Xu(a)+wu(o)*Xu(o)):(d.c[d.c.length]=o,c+=wu(o)*Xu(o));return d}(f,e,d.a,d.b,(l=r,_n(i),l));break;case 1:T=function Mye(n,e,t,r,i){var c,o,f,h,l,a,d,g,v;for(An(),ar(n,new I2n),o=N8(n),v=new X,g=new X,f=null,h=0;0!=o.b;)c=u(0==o.b?null:(ne(0!=o.b),Os(o,o.a.a)),157),!f||wu(f)*Xu(f)/21&&(h>wu(f)*Xu(f)/2||0==o.b)&&(d=new aC(g),a=wu(f)/Xu(f),l=VN(d,e,new g2,t,r,i,a),ut(Uo(d.e),l),f=d,v.c[v.c.length]=d,h=0,g.c=L(Zn,rn,1,0,5,1)));return Qt(v,g),v}(f,e,d.a,d.b,(a=r,_n(i),a));break;default:T=function Lje(n,e,t,r,i){var c,o,f,h,l,a,d,g,m;for(f=L(kr,wi,25,n.c.length,15,1),xJ(g=new lT(new O2n),n),l=0,m=new X;0!=g.b.c.length;)if(o=u(0==g.b.c.length?null:un(g.b,0),157),l>1&&wu(o)*Xu(o)/2>f[0]){for(c=0;cf[c];)++c;d=new aC(new yh(m,0,c+1)),a=wu(o)/Xu(o),h=VN(d,e,new g2,t,r,i,a),ut(Uo(d.e),h),_p(j3(g,d)),xJ(g,new yh(m,c+1,m.c.length)),m.c=L(Zn,rn,1,0,5,1),l=0,aTn(f,f.length,0)}else null!=(0==g.b.c.length?null:un(g.b,0))&&MF(g,0),l>0&&(f[l]=f[l-1]),f[l]+=wu(o)*Xu(o),++l,m.c[m.c.length]=o;return m}(f,e,d.a,d.b,(h=r,_n(i),h))}p0(n,(m=VN(new aC(T),e,t,d.a,d.b,r,(_n(i),i))).a,m.b,!1,!0)}function enn(n,e){var r,i,c,o,f,h,l,a,d,g,v,p,m,T,A;for(c=0,o=0,l=new E(n.a);l.a.5?A-=2*o*(p-.5):p<.5&&(A+=2*c*(.5-p)),A<(i=f.d.b)&&(A=i),A>T.a-(m=f.d.c)-a&&(A=T.a-m-a),f.n.a=e+A}}function B_n(n,e){var t,r,i,c,o,f,h,l,a;return l="",0==e.length?n.de(Enn,rx,-1,-1):(Mn((a=Fb(e)).substr(0,3),"at ")&&(a=a.substr(3)),-1==(o=(a=a.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(o=a.indexOf("@"))?(l=a,a=""):(l=Fb(a.substr(o+1)),a=Fb(a.substr(0,o))):(t=a.indexOf(")",o),l=a.substr(o+1,t-(o+1)),a=Fb(a.substr(0,o))),-1!=(o=qf(a,ru(46)))&&(a=a.substr(o+1)),(0==a.length||Mn(a,"Anonymous function"))&&(a=rx),f=$E(l,ru(58)),i=Yz(l,ru(58),f-1),h=-1,r=-1,c=Enn,-1!=f&&-1!=i&&(c=l.substr(0,i),h=cjn(l.substr(i+1,f-(i+1))),r=cjn(l.substr(f+1))),n.de(c,a,h,r))}function tnn(n,e,t){var r,i,c,o,f,h;if(0==e.l&&0==e.m&&0==e.h)throw C(new Lj("divide by zero"));if(0==n.l&&0==n.m&&0==n.h)return t&&(Rl=Bc(0,0,0)),Bc(0,0,0);if(e.h==yk&&0==e.m&&0==e.l)return function n2e(n,e){return n.h==yk&&0==n.m&&0==n.l?(e&&(Rl=Bc(0,0,0)),iyn((qp(),qrn))):(e&&(Rl=Bc(n.l,n.m,n.h)),Bc(0,0,0))}(n,t);if(h=!1,e.h>>19&&(e=i3(e),h=!h),o=function N9e(n){var e,t,r;return(t=n.l)&t-1||(r=n.m)&r-1||(e=n.h)&e-1||0==e&&0==r&&0==t?-1:0==e&&0==r&&0!=t?NV(t):0==e&&0!=r&&0==t?NV(r)+22:0!=e&&0==r&&0==t?NV(e)+44:-1}(e),c=!1,i=!1,r=!1,n.h==yk&&0==n.m&&0==n.l){if(i=!0,c=!0,-1!=o)return f=nZ(n,o),h&&NF(f),t&&(Rl=Bc(0,0,0)),f;n=iyn((qp(),Hrn)),r=!0,h=!h}else n.h>>19&&(c=!0,n=i3(n),r=!0,h=!h);return-1!=o?Ewe(n,o,h,c,t):UJ(n,e)<0?(t&&(Rl=c?i3(n):Bc(n.l,n.m,n.h)),Bc(0,0,0)):function Ske(n,e,t,r,i,c){var o,h,l,a,d,g;for(o=OLn(e,l=tDn(e)-tDn(n)),h=Bc(0,0,0);l>=0&&(!Ape(n,o)||(l<22?h.l|=1<>>1,o.m=a>>>1|(1&d)<<21,o.l=g>>>1|(1&a)<<21,--l;return t&&NF(h),c&&(r?(Rl=i3(n),i&&(Rl=BOn(Rl,(qp(),qrn)))):Rl=Bc(n.l,n.m,n.h)),h}(r?n:Bc(n.l,n.m,n.h),e,h,c,i,t)}function GM(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p;if(n.e&&n.c.ce.f||e.g>n.f)){for(t=0,r=0,o=n.w.a.ec().Kc();o.Ob();)i=u(o.Pb(),11),XF(Gi(S(M(hr,1),q,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++t;for(f=n.r.a.ec().Kc();f.Ob();)i=u(f.Pb(),11),XF(Gi(S(M(hr,1),q,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--t;for(h=e.w.a.ec().Kc();h.Ob();)i=u(h.Pb(),11),XF(Gi(S(M(hr,1),q,8,0,[i.i.n,i.n,i.a])).b,n.g,n.f)&&++r;for(c=e.r.a.ec().Kc();c.Ob();)i=u(c.Pb(),11),XF(Gi(S(M(hr,1),q,8,0,[i.i.n,i.n,i.a])).b,n.g,n.f)&&--r;t=0)return i=function zge(n,e){var t;if(I(t=ik(n.Tg(),e),99))return u(t,18);throw C(new Kn(_l+e+"' is not a valid reference"))}(n,e.substr(1,o-1)),function KTe(n,e,t){var r,i,c,o,f,h,l,a,d,g;for(h=new X,d=e.length,o=bQ(t),l=0;l=0?n._g(l,!1,!0):b0(n,t,!1),58).Kc();c.Ob();){for(i=u(c.Pb(),56),a=0;a=0){r=u(nF(n,wIn(n,e.substr(1,t-1)),!1),58),l=0;try{l=ls(e.substr(t+1),Lr,Ze)}catch(g){throw I(g=jt(g),127)?C(new tC(g)):C(g)}if(l=0)return t;switch(Gd(ji(n,t))){case 2:if(Mn("",O1(n,t.Hj()).ne())){if(a=sZ(n,e,h=H8(ji(n,t)),Op(ji(n,t))))return a;for(o=0,d=(i=FZ(n,e)).gc();o1,l=new gf(g.b);Ki(l.a)||Ki(l.b);)d=(h=u(Ki(l.a)?y(l.a):y(l.b),17)).c==g?h.d:h.c,j.Math.abs(Gi(S(M(hr,1),q,8,0,[d.i.n,d.n,d.a])).b-o.b)>1&&R8e(n,h,o,c,g)}}function ot(){ot=F,iln=(XG(),fc).b,pee=u(O(_(fc.b),0),34),vd=u(O(_(fc.b),1),34),vee=u(O(_(fc.b),2),34),c2=fc.bb,u(O(_(fc.bb),0),34),u(O(_(fc.bb),1),34),u2=fc.fb,O9=u(O(_(fc.fb),0),34),u(O(_(fc.fb),1),34),u(O(_(fc.fb),2),18),X0=fc.qb,Iee=u(O(_(fc.qb),0),34),u(O(_(fc.qb),1),18),u(O(_(fc.qb),2),18),ij=u(O(_(fc.qb),3),34),cj=u(O(_(fc.qb),4),34),$9=u(O(_(fc.qb),6),34),D9=u(O(_(fc.qb),5),18),mee=fc.j,kee=fc.k,yee=fc.q,jee=fc.w,Eee=fc.B,Tee=fc.A,Cee=fc.C,Mee=fc.D,See=fc._,Aee=fc.cb,Pee=fc.hb}function F3(n,e){var t,r,i,c;c=n.F,null==e?(n.F=null,s3(n,null)):(n.F=(_n(e),e),-1!=(r=qf(e,ru(60)))?(i=e.substr(0,r),-1==qf(e,ru(46))&&!Mn(i,sv)&&!Mn(i,ym)&&!Mn(i,GS)&&!Mn(i,jm)&&!Mn(i,Em)&&!Mn(i,Tm)&&!Mn(i,Cm)&&!Mn(i,Mm)&&(i=CGn),-1!=(t=$E(e,ru(62)))&&(i+=""+e.substr(t+1)),s3(n,i)):(i=e,-1==qf(e,ru(46))&&(-1!=(r=qf(e,ru(91)))&&(i=e.substr(0,r)),Mn(i,sv)||Mn(i,ym)||Mn(i,GS)||Mn(i,jm)||Mn(i,Em)||Mn(i,Tm)||Mn(i,Cm)||Mn(i,Mm)?i=e:(i=CGn,-1!=r&&(i+=""+e.substr(r)))),s3(n,i),i==e&&(n.F=n.D))),4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,5,c,e))}function rnn(n,e){var t;if(null==e||Mn(e,iu)||0==e.length&&n.k!=(x1(),xv))return null;switch(n.k.g){case 1:return ZC(e,J3)?(Hn(),i4):ZC(e,YB)?(Hn(),td):null;case 2:try{return Q(ls(e,Lr,Ze))}catch(r){if(I(r=jt(r),127))return null;throw C(r)}case 4:try{return Lb(e)}catch(r){if(I(r=jt(r),127))return null;throw C(r)}case 3:return e;case 5:return jDn(n),ANn(n,e);case 6:return jDn(n),function h9e(n,e,t){var r,i,c,o,f,l,a;for(a=new Ms(r=u(e.e&&e.e(),9),u(yo(r,r.length),9),0),o=0,f=(c=Rb(t,"[\\[\\]\\s,]+")).length;o-2;default:return!1}switch(e=n.gj(),n.p){case 0:return null!=e&&on(sn(e))!=I5(n.k,0);case 1:return null!=e&&u(e,217).a!=ge(n.k)<<24>>24;case 2:return null!=e&&u(e,172).a!=(ge(n.k)&Gt);case 6:return null!=e&&I5(u(e,162).a,n.k);case 5:return null!=e&&u(e,19).a!=ge(n.k);case 7:return null!=e&&u(e,184).a!=ge(n.k)<<16>>16;case 3:return null!=e&&K(Y(e))!=n.j;case 4:return null!=e&&u(e,155).a!=n.j;default:return null==e?null!=n.n:!et(e,n.n)}}function dk(n,e,t){var r,i,c,o;return n.Fk()&&n.Ek()&&B(o=e$(n,u(t,56)))!==B(t)?(n.Oi(e),n.Ui(e,gPn(n,0,o)),n.rk()&&(i=u(t,49),c=n.Dk()?n.Bk()?i.ih(n.b,ei(u(In(Qc(n.b),n.aj()),18)).n,u(In(Qc(n.b),n.aj()).Yj(),26).Bj(),null):i.ih(n.b,yt(i.Tg(),ei(u(In(Qc(n.b),n.aj()),18))),null,null):i.ih(n.b,-1-n.aj(),null,null),!u(o,49).eh()&&(r=u(o,49),c=n.Dk()?n.Bk()?r.gh(n.b,ei(u(In(Qc(n.b),n.aj()),18)).n,u(In(Qc(n.b),n.aj()).Yj(),26).Bj(),c):r.gh(n.b,yt(r.Tg(),ei(u(In(Qc(n.b),n.aj()),18))),null,c):r.gh(n.b,-1-n.aj(),null,c)),c&&c.Fi()),zu(n.b)&&n.$i(n.Zi(9,t,o,e,!1)),o):t}function R_n(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,T,A,$,D,N;for(a=K(Y(k(n,(nn(),R0)))),r=K(Y(k(n,ton))),H(g=new JI,R0,a+r),A=(l=e).d,$=l.d.i,T=qU(l.c.i.c),D=qU($.c),i=new X,d=T;d<=D;d++)ba(f=new i1(n),(Vn(),br)),H(f,(G(),rt),l),H(f,Nt,(Tr(),Pc)),H(f,CP,g),v=u(un(n.b,d),29),d==T?Db(f,v.a.c.length-t,v):yi(f,v),(N=K(Y(k(l,G1))))<0&&H(l,G1,N=0),f.o.b=N,p=j.Math.floor(N/2),ir(o=new gc,(J(),qn)),Hi(o,f),o.n.b=p,ir(h=new gc,Xn),Hi(h,f),h.n.b=p,jr(l,o),Pi(c=new Ud,l),H(c,Ci,null),Br(c,h),jr(c,A),i3e(f,l,c),i.c[i.c.length]=c,l=c;return i}function UN(n,e){var r,i,c,o,f,h,a,d,g,v,p,m,T,A,D;for(h=u(N1(n,(J(),qn)).Kc().Pb(),11).e,v=u(N1(n,Xn).Kc().Pb(),11).g,f=h.c.length,D=df(u(un(n.j,0),11));f-- >0;){for(Ln(0,h.c.length),m=u(h.c[0],17),Ln(0,v.c.length),c=Li((i=u(v.c[0],17)).d.e,i,0),oae(m,i.d,c),Br(i,null),jr(i,null),p=m.a,e&&Ke(p,new mi(D)),r=Re(i.a,0);r.b!=r.d.c;)Ke(p,new mi(u(_e(r),8)));for(A=m.b,g=new E(i.b);g.a0&&(o=j.Math.max(o,bOn(n.C.b+r.d.b,i))),a=r,d=i,g=c;n.C&&n.C.c>0&&(v=g+n.C.c,l&&(v+=a.d.c),o=j.Math.max(o,(ff(),Mo(Tf),j.Math.abs(d-1)<=Tf||1==d||isNaN(d)&&isNaN(1)?0:v/(1-d)))),t.n.b=0,t.a.a=o}function H_n(n,e){var t,r,i,c,o,f,h,l,a,d,g,v;if(t=u(ai(n.b,e),124),(h=u(u(it(n.r,e),21),84)).dc())return t.n.d=0,void(t.n.a=0);for(l=n.u.Hc((Su(),w1)),o=0,n.A.Hc((Zu(),gd))&&yBn(n,e),f=h.Kc(),a=null,g=0,d=0;f.Ob();)c=K(Y((r=u(f.Pb(),111)).b.We((FE(),pA)))),i=r.b.rf().b,a?(v=d+a.d.a+n.w+r.d.d,o=j.Math.max(o,(ff(),Mo(Tf),j.Math.abs(g-c)<=Tf||g==c||isNaN(g)&&isNaN(c)?0:v/(c-g)))):n.C&&n.C.d>0&&(o=j.Math.max(o,bOn(n.C.d+r.d.d,c))),a=r,g=c,d=i;n.C&&n.C.a>0&&(v=d+n.C.a,l&&(v+=a.d.a),o=j.Math.max(o,(ff(),Mo(Tf),j.Math.abs(g-1)<=Tf||1==g||isNaN(g)&&isNaN(1)?0:v/(1-g)))),t.n.d=0,t.a.b=o}function q_n(n,e,t){var r,i,c,o,f,h;for(this.g=n,this.d=L(Fh,_1,10,(f=e.d.length)+(h=t.d.length),0,1),o=0;o0?pF(this,this.f/this.a):null!=hf(e.g,e.d[0]).a&&null!=hf(t.g,t.d[0]).a?pF(this,(K(hf(e.g,e.d[0]).a)+K(hf(t.g,t.d[0]).a))/2):null!=hf(e.g,e.d[0]).a?pF(this,hf(e.g,e.d[0]).a):null!=hf(t.g,t.d[0]).a&&pF(this,hf(t.g,t.d[0]).a)}function tEe(n,e){var t,r,c,o,f,h,l,a,d;for(n.a=new JTn(function Obe(n){var e;return new Ms(e=u(n.e&&n.e(),9),u(tX(e,e.length),9),e.length)}(v9)),r=new E(e.a);r.a=1&&(T-o>0&&d>=0?(h.n.a+=m,h.n.b+=c*o):T-o<0&&a>=0&&(h.n.a+=m*T,h.n.b+=c));n.o.a=e.a,n.o.b=e.b,H(n,(nn(),sd),(Zu(),new Ms(r=u(Go(T9),9),u(yo(r,r.length),9),0)))}function z_n(n){var e,t,r,i,c,o,f,h,l,a;for(r=new X,o=new E(n.e.a);o.a1)for(m=L(be,Ne,25,n.b.b.c.length,15,1),d=0,l=new E(n.b.b);l.a=f&&i<=h)f<=i&&c<=h?(t[a++]=i,t[a++]=c,r+=2):f<=i?(t[a++]=i,t[a++]=h,n.b[r]=h+1,o+=2):c<=h?(t[a++]=f,t[a++]=c,r+=2):(t[a++]=f,t[a++]=h,n.b[r]=h+1);else{if(!(hFl)&&f<10);UG(n.c,new Man),W_n(n),function Qfe(n){return kg(n,(ci(),co)),n.d=!0,n}(n.c),function iEe(n){var e,t,r,i,c,o,f,h;for(c=new E(n.a.b);c.a=2){for(o=u(_e(h=Re(t,0)),8),f=u(_e(h),8);f.a0&&W(n.p,a),W(n.o,a);l+=(e-=r)*n.e,Ps(n.a,f,Q(v=h+e)),Ps(n.b,f,l),n.j=j.Math.max(n.j,v),n.k=j.Math.max(n.k,l),n.d+=e,e+=m}}(n),n.q=u(k(e,(nn(),vK)),260),a=u(k(n.g,Hsn),19).a,c=new l0n,n.q.g){case 2:case 1:default:$3(n,c);break;case 3:for(n.q=(bg(),DP),$3(n,c),h=0,f=new E(n.a);f.an.j&&(n.q=ky,$3(n,c));break;case 4:for(n.q=(bg(),DP),$3(n,c),l=0,i=new E(n.b);i.an.k&&(n.q=yy,$3(n,c));break;case 6:$3(n,new P5n(Ht(j.Math.ceil(n.f.length*a/100))));break;case 5:$3(n,new I5n(Ht(j.Math.ceil(n.d*a/100))))}(function o7e(n,e){var t,r,i,c,o,f;for(i=new X,t=0;t<=n.i;t++)(r=new Us(e)).p=n.i-t,i.c[i.c.length]=r;for(f=new E(n.o);f.a=t}(this.k)}function Q_n(n,e){var t,r,i,c,o,f,h,l,a,d;for(h=!0,i=0,a=e.o.b+n.n,t=n.c[e.p][2],Ps(n.a,l=n.f[e.p],Q(u(un(n.a,l),19).a-1+t)),Ps(n.b,l,K(Y(un(n.b,l)))-a+t*n.e),++l>=n.i?(++n.i,W(n.a,Q(1)),W(n.b,a)):(r=n.c[e.p][1],Ps(n.a,l,Q(u(un(n.a,l),19).a+1-r)),Ps(n.b,l,K(Y(un(n.b,l)))+a-r*n.e)),(n.q==(bg(),ky)&&(u(un(n.a,l),19).a>n.j||u(un(n.a,l-1),19).a>n.j)||n.q==yy&&(K(Y(un(n.b,l)))>n.k||K(Y(un(n.b,l-1)))>n.k))&&(h=!1),o=new ie(ue(Ni(e).a.Kc(),new Yn));Ae(o);)c=u(pe(o),17),n.f[(f=c.c.i).p]==l&&(i+=u((d=Q_n(n,f)).a,19).a,h=h&&on(sn(d.b)));return n.f[e.p]=l,new Mr(Q(i+=n.c[e.p][0]),(Hn(),!!h))}function unn(n,e,t,r,i){var c,o,f,h,l,a,d,g,v,p,m,T,A;for(d=new we,o=new X,pNn(n,t,n.d.fg(),o,d),pNn(n,r,n.d.gg(),o,d),n.b=.2*(m=sxn(qi(new Dn(null,new Fn(o,16)),new mgn)),T=sxn(qi(new Dn(null,new Fn(o,16)),new kgn)),j.Math.min(m,T)),c=0,f=0;f=2&&(A=Pxn(o,!0,g),!n.e&&(n.e=new $6n(n)),X2e(n.e,A,o,n.b)),fLn(o,g),function DEe(n){var t,r,i,c,o,f,h,l,a;for(l=new X,f=new X,o=new E(n);o.a-1){for(c=new E(f);c.a0)&&(Bq(h,j.Math.min(h.o,i.o-1)),jj(h,h.i-1),0==h.i&&(f.c[f.c.length]=h))}}(o),v=-1,a=new E(o);a.at))}(n)&&(c=(B(k(n,hw))===B(Q1)?u(k(n,gy),292):u(k(n,lK),292))==(t3(),QR)?(ti(),Qcn):(ti(),run),Ye(e,(Wr(),Mc),c)),u(k(n,fon),377).g){case 1:Ye(e,(Wr(),Mc),(ti(),eun));break;case 2:Tu(Ye(Ye(e,(Wr(),Hc),(ti(),Ccn)),Mc,Mcn),Oi,Scn)}return B(k(n,zl))!==B((n1(),Wl))&&Ye(e,(Wr(),Hc),(ti(),tun)),e}(e)),H(e,cK,GM(n.a,e))}function Y_n(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$;for(l=Ft,a=Ft,f=Wt,h=Wt,g=new E(e.i);g.a=f&&i<=h)f<=i&&c<=h?r+=2:f<=i?(n.b[r]=h+1,o+=2):c<=h?(t[a++]=i,t[a++]=f-1,r+=2):(t[a++]=i,t[a++]=f-1,n.b[r]=h+1,o+=2);else{if(!(h0?1:0;c.a[i]!=t;)i=n.a.ue(t.d,(c=c.a[i]).d)>0?1:0;c.a[i]=r,r.b=t.b,r.a[0]=t.a[0],r.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}(n,h,o,a=new cF(d.d,d.e)),g==o&&(g=a)),g.a[g.a[1]==d?1:0]=d.a[d.a[0]?0:1],--n.c),n.b=h.a[1],n.b&&(n.b.b=!1),t.b}function iRn(n,e,t){var r,i,c,o,f,h,l,a,d,g;if(t)for(r=-1,a=new Sr(e,0);a.b0&&0==t.c&&(!e&&(e=new X),e.c[e.c.length]=t);if(e)for(;0!=e.c.length;){if((t=u(M1(e,0),233)).b&&t.b.c.length>0)for(!t.b&&(t.b=new X),c=new E(t.b);c.aLi(n,t,0))return new Mr(i,t)}else if(K(hf(i.g,i.d[0]).a)>K(hf(t.g,t.d[0]).a))return new Mr(i,t);for(f=(!t.e&&(t.e=new X),t.e).Kc();f.Ob();)!(o=u(f.Pb(),233)).b&&(o.b=new X),vb(0,(h=o.b).c.length),v5(h.c,0,t),o.c==h.c.length&&(e.c[e.c.length]=o)}return null}function cRn(n,e){var t,r,i,c,o,a;if(null==n)return iu;if(null!=e.a.zc(n,e))return"[...]";for(t=new $a(Xr,"[","]"),c=0,o=(i=n).length;c=14&&a<=16?I(r,177)?Qh(t,y6e(u(r,177))):I(r,190)?Qh(t,h4e(u(r,190))):I(r,195)?Qh(t,k5e(u(r,195))):I(r,2012)?Qh(t,l4e(u(r,2012))):I(r,48)?Qh(t,k6e(u(r,48))):I(r,364)?Qh(t,F6e(u(r,364))):I(r,832)?Qh(t,m6e(u(r,832))):I(r,104)&&Qh(t,p6e(u(r,104))):e.a._b(r)?(t.a?De(t.a,t.b):t.a=new ts(t.d),D5(t.a,"[...]")):Qh(t,cRn(Ia(r),new G5(e))):Qh(t,null==r?iu:xi(r));return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function uRn(n,e,t,r){var i,o,h,l,a,d,v,m,T,A,$,D;for(A=V7(wg(e,!1,!1)),r&&(A=S7(A)),D=K(Y(hn(e,(A6(),cR)))),ne(0!=A.b),T=u(A.a.a.c,8),d=u(Yo(A,1),8),A.b>2?(Qt(a=new X,new yh(A,1,A.b)),Pi($=new hN(_Rn(a,D+n.a)),e),t.c[t.c.length]=$):$=u(te(n.b,r?Ch(e):Pl(e)),266),h=Ch(e),r&&(h=Pl(e)),o=function R5e(n,e){var t,r,i;return i=U3,P6(),r=ey,i=j.Math.abs(n.b),(t=j.Math.abs(e.f-n.b))>16==-10?t=u(n.Cb,284).nk(e,t):n.Db>>16==-15&&(!e&&(Sn(),e=Ff),!l&&(Sn(),l=Ff),n.Cb.nh()&&(h=new Jh(n.Cb,1,13,l,e,F1($u(u(n.Cb,59)),n),!1),t?t.Ei(h):t=h));else if(I(n.Cb,88))n.Db>>16==-23&&(I(e,88)||(Sn(),e=bo),I(l,88)||(Sn(),l=bo),n.Cb.nh()&&(h=new Jh(n.Cb,1,10,l,e,F1(wc(u(n.Cb,26)),n),!1),t?t.Ei(h):t=h));else if(I(n.Cb,444))for(!(f=u(n.Cb,836)).b&&(f.b=new Aj(new gO)),c=new Pj(new Na(new wa(f.b.a).a));c.a.b;)t=L3(i=u(Zd(c.a).cd(),87),SM(i,f),t);return t}function sRn(n){var e,t,r,i,c,o,f,h,l,a,d,g;if((g=u(hn(n,(We(),ad)),21)).dc())return null;if(f=0,o=0,g.Hc((Zu(),zy))){for(a=u(hn(n,g9),98),r=2,t=2,i=2,c=2,e=At(n)?u(hn(At(n),q0),103):u(hn(n,q0),103),l=new re((!n.c&&(n.c=new V(Ku,n,9,9)),n.c));l.e!=l.i.gc();)if(h=u(oe(l),118),(d=u(hn(h,r2),61))==(J(),Xi)&&(d=UZ(h,e),bi(h,r2,d)),a==(Tr(),Pc))switch(d.g){case 1:r=j.Math.max(r,h.i+h.g);break;case 2:t=j.Math.max(t,h.j+h.f);break;case 3:i=j.Math.max(i,h.i+h.g);break;case 4:c=j.Math.max(c,h.j+h.f)}else switch(d.g){case 1:r+=h.g+2;break;case 2:t+=h.f+2;break;case 3:i+=h.g+2;break;case 4:c+=h.f+2}f=j.Math.max(r,i),o=j.Math.max(t,c)}return p0(n,f,o,!0,!0)}function zN(n,e,t,r,i){var c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N;for($=u(us(hC(gt(new Dn(null,new Fn(e.d,16)),new Z5n(t)),new n6n(t)),Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[(kf(),ws)]))),15),d=Ze,a=Lr,h=new E(e.b.j);h.a0)?l&&(g=A.p,o?++g:--g,v=!(gN(r=YOn(u(un(A.c.a,g),10)),z,t[0])||ITn(r,z,t[0]))):v=!0),p=!1,(R=e.D.i)&&R.c&&f.e&&(o&&R.p>0||!o&&R.p0&&(e.a+=Xr),UM(u(oe(f),160),e);for(e.a+=nB,h=new S2((!r.c&&(r.c=new $n(he,r,5,8)),r.c));h.e!=h.i.gc();)h.e>0&&(e.a+=Xr),UM(u(oe(h),160),e);e.a+=")"}}}function _Ee(n,e,t){var r,i,c,o,f,h,l,a,d,g,v;if(c=u(k(n,(G(),rt)),79)){for(r=n.a,ut(i=new mi(t),function P3e(n){var e,t,r,i;if(i=u(k(n,(G(),xun)),37)){for(r=new $r,e=Rr(n.c.i);e!=i;)e=Rr(t=e.e),sb(ut(ut(r,t.n),e.c),e.d.b,e.d.d);return r}return _Wn}(n)),n3(n.d.i,n.c.i)?(g=n.c,pr(d=Gi(S(M(hr,1),q,8,0,[g.n,g.a])),t)):d=df(n.c),Rt(r,d,r.a,r.a.a),v=df(n.d),null!=k(n,sK)&&ut(v,u(k(n,sK),8)),Rt(r,v,r.c.b,r.c),Tb(r,i),pC(o=wg(c,!0,!0),u(O((!c.b&&(c.b=new $n(he,c,4,7)),c.b),0),82)),mC(o,u(O((!c.c&&(c.c=new $n(he,c,5,8)),c.c),0),82)),hk(r,o),a=new E(n.b);a.ao?1:$d(isNaN(0),isNaN(o)))<0&&(Mo(ih),(j.Math.abs(o-1)<=ih||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:$d(isNaN(o),isNaN(1)))<0)&&(Mo(ih),(j.Math.abs(0-f)<=ih||0==f||isNaN(0)&&isNaN(f)?0:0f?1:$d(isNaN(0),isNaN(f)))<0)&&(Mo(ih),(j.Math.abs(f-1)<=ih||1==f||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:$d(isNaN(f),isNaN(1)))<0))}function HEe(n,e,t,r,i,c,o){var f,l,a,d,g,v,p,m,T,A,$,D;if(A=function zye(n,e,t){var r,i,c,o,h,l,a,d;for(d=new X,c=0,wC(a=new FX(0,t),new RF(0,0,a,t)),i=0,l=new re(n);l.e!=l.i.gc();)h=u(oe(l),33),r=u(un(a.a,a.a.c.length-1),187),i+h.g+(0==u(un(a.a,0),187).b.c.length?0:t)>e&&(i=0,c+=a.b+t,d.c[d.c.length]=a,wC(a=new FX(c,t),r=new RF(0,a.f,a,t)),i=0),0==r.b.c.length||h.f>=r.o&&h.f<=r.f||.5*r.a<=h.f&&1.5*r.a>=h.f?WQ(r,h):(wC(a,o=new RF(r.s+r.r+t,a.f,a,t)),WQ(o,h)),i=h.i+h.g;return d.c[d.c.length]=a,d}(e,t,n.g),i.n&&i.n&&c&&Eo(i,To(c),(Yu(),ks)),n.b)for(T=0;T0?n.g:0),++t;n.c=i,n.d=r}(n,A),i.n&&i.n&&c&&Eo(i,To(c),(Yu(),ks)),D=j.Math.max(n.d,r.a-(o.b+o.c)),f=(g=j.Math.max(n.c,r.b-(o.d+o.a)))-n.c,n.e&&n.f&&(D/g0&&(n.c[e.c.p][e.p].d+=Nu(n.i,24)*Ck*.07000000029802322-.03500000014901161,n.c[e.c.p][e.p].a=n.c[e.c.p][e.p].d/n.c[e.c.p][e.p].b)}}function rTe(n,e,t,r,i){var c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z;for(z=0,v=0,d=new E(e.e);d.a=l&&R>=T&&(g+=p.n.b+m.n.b+m.a.b-N,++f));if(t)for(o=new E($.e);o.a=l&&R>=T&&(g+=p.n.b+m.n.b+m.a.b-N,++f))}f>0&&(z+=g/f,++v)}v>0?(e.a=i*z/v,e.g=v):(e.a=0,e.g=0)}function iTe(n,e){var r,i,c,o,f,h,l,a,d,g;for(i=new E(n.a.b);i.aWt||e.o==hd&&ar.d,r.d=j.Math.max(r.d,e),f&&t&&(r.d=j.Math.max(r.d,r.a),r.a=r.d+i);break;case 3:t=e>r.a,r.a=j.Math.max(r.a,e),f&&t&&(r.a=j.Math.max(r.a,r.d),r.d=r.a+i);break;case 2:t=e>r.c,r.c=j.Math.max(r.c,e),f&&t&&(r.c=j.Math.max(r.b,r.c),r.b=r.c+i);break;case 4:t=e>r.b,r.b=j.Math.max(r.b,e),f&&t&&(r.b=j.Math.max(r.b,r.c),r.c=r.b+i)}}}(f),function vpe(n){switch(n.q.g){case 5:VFn(n,(J(),Rn)),VFn(n,ae);break;case 4:K_n(n,(J(),Rn)),K_n(n,ae);break;default:QLn(n,(J(),Rn)),QLn(n,ae)}}(f),function ppe(n){switch(n.q.g){case 5:QFn(n,(J(),Xn)),QFn(n,qn);break;case 4:H_n(n,(J(),Xn)),H_n(n,qn);break;default:JLn(n,(J(),Xn)),JLn(n,qn)}}(f),function MEe(n){var e,t,r,i,c,o,f;if(!n.A.dc()){if(n.A.Hc((Zu(),zy))&&(u(ai(n.b,(J(),Rn)),124).k=!0,u(ai(n.b,ae),124).k=!0,e=n.q!=(Tr(),Bh)&&n.q!=Pc,Lq(u(ai(n.b,Xn),124),e),Lq(u(ai(n.b,qn),124),e),Lq(n.g,e),n.A.Hc(gd)&&(u(ai(n.b,Rn),124).j=!0,u(ai(n.b,ae),124).j=!0,u(ai(n.b,Xn),124).k=!0,u(ai(n.b,qn),124).k=!0,n.g.k=!0)),n.A.Hc(Uy))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,f=n.B.Hc((xu(),C9)),c=0,o=(i=pL()).length;c0&&(l=n.n.a/c);break;case 2:case 4:(i=n.i.o.b)>0&&(l=n.n.b/i)}H(n,(G(),N0),l)}if(h=n.o,o=n.a,r)o.a=r.a,o.b=r.b,n.d=!0;else if(e!=Df&&e!=Zl&&f!=Xi)switch(f.g){case 1:o.a=h.a/2;break;case 2:o.a=h.a,o.b=h.b/2;break;case 3:o.a=h.a/2,o.b=h.b;break;case 4:o.b=h.b/2}else o.a=h.a/2,o.b=h.b/2}(l,c,i,u(hn(e,_0),8)),h=new re((!e.n&&(e.n=new V(_i,e,1,7)),e.n));h.e!=h.i.gc();)!on(sn(hn(f=u(oe(h),137),od)))&&f.a&&W(l.f,YF(f));switch(i.g){case 2:case 1:(l.j==(J(),Rn)||l.j==ae)&&r.Fc((ui(),Kg));break;case 4:case 3:(l.j==(J(),Xn)||l.j==qn)&&r.Fc((ui(),Kg))}return l}function XN(n,e,t,r,i,c,o){var f,h,l,d,g,v,p,m,T,A,$,D;for(g=null,r==(zd(),Vl)?g=e:r==Jg&&(g=t),m=g.a.ec().Kc();m.Ob();){for(p=u(m.Pb(),11),T=Gi(S(M(hr,1),q,8,0,[p.i.n,p.n,p.a])).b,D=new sr,f=new sr,l=new gf(p.b);Ki(l.a)||Ki(l.b);)if(on(sn(k(h=u(Ki(l.a)?y(l.a):y(l.b),17),(G(),Pf))))==i&&-1!=Li(c,h,0)){if(A=h.d==p?h.c:h.d,$=Gi(S(M(hr,1),q,8,0,[A.i.n,A.n,A.a])).b,j.Math.abs($-T)<.2)continue;$1)for(Ir(D,new ckn(n,v=new nnn(p,D,r))),o.c[o.c.length]=v,d=D.a.ec().Kc();d.Ob();)Jc(c,u(d.Pb(),46).b);if(f.a.gc()>1)for(Ir(f,new ukn(n,v=new nnn(p,f,r))),o.c[o.c.length]=v,d=f.a.ec().Kc();d.Ob();)Jc(c,u(d.Pb(),46).b)}}function bRn(n){Od(n,new qa(_j(Sd(Td(Md(Cd(new aa,ch),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Lgn),ch))),Z(n,ch,PS,cn(NYn)),Z(n,ch,Wb,cn(xYn)),Z(n,ch,Cg,cn(DYn)),Z(n,ch,gv,cn($Yn)),Z(n,ch,wv,cn(FYn)),Z(n,ch,W3,cn(OYn)),Z(n,ch,um,cn(hfn)),Z(n,ch,X3,cn(LYn)),Z(n,ch,HB,cn(rH)),Z(n,ch,KB,cn(iH)),Z(n,ch,Ltn,cn(lfn)),Z(n,ch,Otn,cn(zP)),Z(n,ch,Dtn,cn(WP)),Z(n,ch,$tn,cn(Sy)),Z(n,ch,Ftn,cn(afn))}function fnn(n){var e;if(this.r=function Khe(n,e){return new VCn(u(ve(n),62),u(ve(e),62))}(new Bln,new _ln),this.b=new C6(u(ve(Qr),290)),this.p=new C6(u(ve(Qr),290)),this.i=new C6(u(ve(Czn),290)),this.e=n,this.o=new mi(n.rf()),this.D=n.Df()||on(sn(n.We((We(),xy)))),this.A=u(n.We((We(),ad)),21),this.B=u(n.We(Ql),21),this.q=u(n.We(g9),98),this.u=u(n.We(mw),21),!function X4e(n){var t;return Su(),!(p7(OT(vt(w1,S(M(hI,1),U,273,0,[na])),n))>1||(t=vt(E9,S(M(hI,1),U,273,0,[j9,Hv])),p7(OT(t,n))>1))}(this.u))throw C(new Dw("Invalid port label placement: "+this.u));if(this.v=on(sn(n.We(Ghn))),this.j=u(n.We(e2),21),!function p9e(n){var e,r;return xb(),!(p7(OT(vt(vs,S(M(fi,1),U,93,0,[xo])),n))>1||(e=vt(Lo,S(M(fi,1),U,93,0,[b1,No])),p7(OT(e,n))>1)||(r=vt(Bo,S(M(fi,1),U,93,0,[xh,so])),p7(OT(r,n))>1))}(this.j))throw C(new Dw("Invalid node label placement: "+this.j));this.n=u(O6(n,Ohn),116),this.k=K(Y(O6(n,oI))),this.d=K(Y(O6(n,Xhn))),this.w=K(Y(O6(n,Zhn))),this.s=K(Y(O6(n,Vhn))),this.t=K(Y(O6(n,Qhn))),this.C=u(O6(n,Jhn),142),this.c=2*this.d,e=!this.B.Hc((xu(),Wy)),this.f=new S6(0,e,0),this.g=new S6(1,e,0),kO(this.f,(Vo(),Nc),this.g)}function WM(n){var e,t,r,i,c,o,f,h,l,a,d;if(null==n)throw C(new Hf(iu));if(l=n,h=!1,(c=n.length)>0&&(Ce(0,n.length),(45==(e=n.charCodeAt(0))||43==e)&&(n=n.substr(1),--c,h=45==e)),0==c)throw C(new Hf(y0+l+'"'));for(;n.length>0&&(Ce(0,n.length),48==n.charCodeAt(0));)n=n.substr(1),--c;if(c>(t_n(),CUn)[10])throw C(new Hf(y0+l+'"'));for(i=0;i0&&(d=-parseInt(n.substr(0,r),10),n=n.substr(r),c-=r,t=!1);c>=o;){if(r=parseInt(n.substr(0,o),10),n=n.substr(o),c-=o,t)t=!1;else{if(hc(d,f)<0)throw C(new Hf(y0+l+'"'));d=Fr(d,a)}d=Al(d,r)}if(hc(d,0)>0)throw C(new Hf(y0+l+'"'));if(!h&&hc(d=Hp(d),0)<0)throw C(new Hf(y0+l+'"'));return d}function hnn(n,e){var t,r,i,c,o,f,h;if(UEn(),this.a=new nz(this),this.b=n,this.c=e,this.f=i$(ji((vu(),Dr),e)),this.f.dc())if((f=VJ(Dr,n))==e)for(this.e=!0,this.d=new X,this.f=new G2n,this.f.Fc(nd),u(qM(f7(Dr,ss(n)),""),26)==n&&this.f.Fc(z5(Dr,ss(n))),i=MN(Dr,n).Kc();i.Ob();)switch(r=u(i.Pb(),170),Gd(ji(Dr,r))){case 4:this.d.Fc(r);break;case 5:this.f.Gc(i$(ji(Dr,r)))}else if(Zr(),u(e,66).Oj())for(this.e=!0,this.f=null,this.d=new X,o=0,h=(null==n.i&&Qf(n),n.i).length;o=0&&o0&&(u(ai(n.b,e),124).a.b=t)}function lnn(n,e){var t,r,i,c,o,h,l,a,d,g,v,p,m,T,A,$,D;if((g=e.length)>0&&(Ce(0,e.length),64!=(h=e.charCodeAt(0)))){if(37==h&&(l=!1,0!=(d=e.lastIndexOf("%"))&&(d==g-1||(Ce(d+1,e.length),l=46==e.charCodeAt(d+1))))){if(D=Mn("%",o=e.substr(1,d-1))?null:ann(o),r=0,l)try{r=ls(e.substr(d+2),Lr,Ze)}catch(N){throw I(N=jt(N),127)?C(new tC(N)):C(N)}for(T=zV(n.Wg());T.Ob();)if(I(p=OC(T),510)&&($=(i=u(p,590)).d,(null==D?null==$:Mn(D,$))&&0==r--))return i;return null}if(v=-1==(a=e.lastIndexOf("."))?e:e.substr(0,a),t=0,-1!=a)try{t=ls(e.substr(a+1),Lr,Ze)}catch(N){if(!I(N=jt(N),127))throw C(N);v=e}for(v=Mn("%",v)?null:ann(v),m=zV(n.Wg());m.Ob();)if(I(p=OC(m),191)&&(A=(c=u(p,191)).ne(),(null==v?null==A:Mn(v,A))&&0==t--))return c;return null}return __n(n,e)}function gRn(){var n,e,t;for(gRn=F,new a7(1,0),new a7(10,0),new a7(0,0),MUn=L(G_,q,240,11,0,1),rd=L(Hs,Yf,25,100,15,1),tin=S(M(kr,1),wi,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),rin=L(be,Ne,25,tin.length,15,1),iin=S(M(kr,1),wi,25,15,[1,10,100,B1,1e4,Mx,1e6,1e7,1e8,nS,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),cin=L(be,Ne,25,iin.length,15,1),uin=L(G_,q,240,11,0,1),n=0;ni+2&&LF((Ce(i+1,n.length),n.charCodeAt(i+1)),L1n,N1n)&&LF((Ce(i+2,n.length),n.charCodeAt(i+2)),L1n,N1n))if(t=Joe((Ce(i+1,n.length),n.charCodeAt(i+1)),(Ce(i+2,n.length),n.charCodeAt(i+2))),i+=2,r>0?128==(192&t)?e[f++]=t<<24>>24:r=0:t>=128&&(192==(224&t)?(e[f++]=t<<24>>24,r=2):224==(240&t)?(e[f++]=t<<24>>24,r=3):240==(248&t)&&(e[f++]=t<<24>>24,r=4)),r>0){if(f==r){switch(f){case 2:vl(h,((31&e[0])<<6|63&e[1])&Gt);break;case 3:vl(h,((15&e[0])<<12|(63&e[1])<<6|63&e[2])&Gt)}f=0,r=0}}else{for(c=0;c0){if(o+r>n.length)return!1;f=EM(n.substr(0,o+r),e)}else f=EM(n,e);switch(c){case 71:return f=lg(n,o,S(M(tn,1),q,2,6,[rKn,iKn]),e),i.e=f,!0;case 77:return function l7e(n,e,t,r,i){return r<0?((r=lg(n,i,S(M(tn,1),q,2,6,[cx,ux,sx,ox,ov,fx,hx,lx,ax,dx,bx,wx]),e))<0&&(r=lg(n,i,S(M(tn,1),q,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(r<0||(t.k=r,0))):r>0&&(t.k=r-1,!0)}(n,e,i,f,o);case 76:return function a7e(n,e,t,r,i){return r<0?((r=lg(n,i,S(M(tn,1),q,2,6,[cx,ux,sx,ox,ov,fx,hx,lx,ax,dx,bx,wx]),e))<0&&(r=lg(n,i,S(M(tn,1),q,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(r<0||(t.k=r,0))):r>0&&(t.k=r-1,!0)}(n,e,i,f,o);case 69:return function r6e(n,e,t,r){var i;return(i=lg(n,t,S(M(tn,1),q,2,6,[gx,vx,px,mx,kx,yx,jx]),e))<0&&(i=lg(n,t,S(M(tn,1),q,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(i<0||(r.d=i,0))}(n,e,o,i);case 99:return function i6e(n,e,t,r){var i;return(i=lg(n,t,S(M(tn,1),q,2,6,[gx,vx,px,mx,kx,yx,jx]),e))<0&&(i=lg(n,t,S(M(tn,1),q,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(i<0||(r.d=i,0))}(n,e,o,i);case 97:return f=lg(n,o,S(M(tn,1),q,2,6,["AM","PM"]),e),i.b=f,!0;case 121:return function d7e(n,e,t,r,i,c){var o,f,l;if(f=32,r<0){if(e[0]>=n.length||43!=(f=Pr(n,e[0]))&&45!=f||(++e[0],(r=EM(n,e))<0))return!1;45==f&&(r=-r)}return 32==f&&e[0]-t==2&&2==i.b&&(l=(new zj).q.getFullYear()-Ll+Ll-80,c.a=r==(o=l%100),r+=100*(l/100|0)+(r3;)i*=10,--c;n=(n+(i>>1))/i|0}return r.i=n,!0}(f,o,e[0],i);case 104:12==f&&(f=0);case 75:case 72:return!(f<0||(i.f=f,i.g=!1,0));case 107:return!(f<0||(i.f=f,i.g=!0,0));case 109:return!(f<0||(i.j=f,0));case 115:return!(f<0||(i.n=f,0));case 90:if(o=1&&(R-l>0&&p>=0?(nu(d,d.i+N),eu(d,d.j+h*l)):R-l<0&&v>=0&&(nu(d,d.i+N*R),eu(d,d.j+h)));return bi(n,(We(),ad),(Zu(),new Ms(c=u(Go(T9),9),u(yo(c,c.length),9),0))),new fn(z,a)}function TRn(n){var e,t,r,c,o,f,h,l,a,d,g;if(d=At(Ii(u(O((!n.b&&(n.b=new $n(he,n,4,7)),n.b),0),82)))==At(Ii(u(O((!n.c&&(n.c=new $n(he,n,5,8)),n.c),0),82))),f=new $r,(e=u(hn(n,(NC(),s1n)),74))&&e.b>=2){if(0==(!n.a&&(n.a=new V(Mt,n,6,6)),n.a).i)Ad(),t=new gj,me((!n.a&&(n.a=new V(Mt,n,6,6)),n.a),t);else if((!n.a&&(n.a=new V(Mt,n,6,6)),n.a).i>1)for(g=new S2((!n.a&&(n.a=new V(Mt,n,6,6)),n.a));g.e!=g.i.gc();)$6(g);hk(e,u(O((!n.a&&(n.a=new V(Mt,n,6,6)),n.a),0),202))}if(d)for(r=new re((!n.a&&(n.a=new V(Mt,n,6,6)),n.a));r.e!=r.i.gc();)for(l=new re((!(t=u(oe(r),202)).a&&(t.a=new Vt(fo,t,5)),t.a));l.e!=l.i.gc();)h=u(oe(l),469),f.a=j.Math.max(f.a,h.a),f.b=j.Math.max(f.b,h.b);for(o=new re((!n.n&&(n.n=new V(_i,n,1,7)),n.n));o.e!=o.i.gc();)c=u(oe(o),137),(a=u(hn(c,p9),8))&&of(c,a.a,a.b),d&&(f.a=j.Math.max(f.a,c.i+c.g),f.b=j.Math.max(f.b,c.j+c.f));return f}function LTe(n,e,t){var r,i,c,o,f;switch(r=e.i,c=n.i.o,i=n.i.d,f=n.n,o=Gi(S(M(hr,1),q,8,0,[f,n.a])),n.j.g){case 1:Uf(e,(Yc(),Do)),r.d=-i.d-t-r.a,u(u(un(e.d,0),181).We((G(),Iv)),285)==(hs(),Nh)?(Wo(e,(Mu(),Oo)),r.c=o.a-K(Y(k(n,qg)))-t-r.b):(Wo(e,(Mu(),oh)),r.c=o.a+K(Y(k(n,qg)))+t);break;case 2:Wo(e,(Mu(),oh)),r.c=c.a+i.c+t,u(u(un(e.d,0),181).We((G(),Iv)),285)==(hs(),Nh)?(Uf(e,(Yc(),Do)),r.d=o.b-K(Y(k(n,qg)))-t-r.a):(Uf(e,(Yc(),tf)),r.d=o.b+K(Y(k(n,qg)))+t);break;case 3:Uf(e,(Yc(),tf)),r.d=c.b+i.a+t,u(u(un(e.d,0),181).We((G(),Iv)),285)==(hs(),Nh)?(Wo(e,(Mu(),Oo)),r.c=o.a-K(Y(k(n,qg)))-t-r.b):(Wo(e,(Mu(),oh)),r.c=o.a+K(Y(k(n,qg)))+t);break;case 4:Wo(e,(Mu(),Oo)),r.c=-i.b-t-r.b,u(u(un(e.d,0),181).We((G(),Iv)),285)==(hs(),Nh)?(Uf(e,(Yc(),Do)),r.d=o.b-K(Y(k(n,qg)))-t-r.a):(Uf(e,(Yc(),tf)),r.d=o.b+K(Y(k(n,qg)))+t)}}function NTe(n,e,t,r,i,c,o){var f,h,l,a,d,g,v,m,T,A,$,D,N,R,z,en,ln,wn,Gn,zn,se,Je,ur;for(v=0,Gn=0,h=new E(n);h.av&&(c&&(ma(z,g),ma(ln,Q(l.b-1))),Je=t.b,ur+=g+e,g=0,a=j.Math.max(a,t.b+t.c+se)),nu(f,Je),eu(f,ur),a=j.Math.max(a,Je+se+t.c),g=j.Math.max(g,d),Je+=se+e;if(a=j.Math.max(a,r),(zn=ur+g+t.a)f&&(D=0,N+=o+A,o=0),kke(m,t,D,N),e=j.Math.max(e,D+T.a),o=j.Math.max(o,T.b),D+=T.a+A;return m}function MRn(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p;switch(a=new lu,n.a.g){case 3:g=u(k(e.e,(G(),cd)),15),v=u(k(e.j,cd),15),p=u(k(e.f,cd),15),t=u(k(e.e,zg),15),r=u(k(e.j,zg),15),i=u(k(e.f,zg),15),Qt(o=new X,g),v.Jc(new pwn),Qt(o,I(v,152)?q2(u(v,152)):I(v,131)?u(v,131).a:I(v,54)?new Ed(v):new eb(v)),Qt(o,p),Qt(c=new X,t),Qt(c,I(r,152)?q2(u(r,152)):I(r,131)?u(r,131).a:I(r,54)?new Ed(r):new eb(r)),Qt(c,i),H(e.f,cd,o),H(e.f,zg,c),H(e.f,zun,e.f),H(e.e,cd,null),H(e.e,zg,null),H(e.j,cd,null),H(e.j,zg,null);break;case 1:zr(a,e.e.a),Ke(a,e.i.n),zr(a,Oa(e.j.a)),Ke(a,e.a.n),zr(a,e.f.a);break;default:zr(a,e.e.a),zr(a,Oa(e.j.a)),zr(a,e.f.a)}zs(e.f.a),zr(e.f.a,a),Br(e.f,e.e.c),f=u(k(e.e,(nn(),Ci)),74),l=u(k(e.j,Ci),74),h=u(k(e.f,Ci),74),(f||l||h)&&(ZW(d=new lu,h),ZW(d,l),ZW(d,f),H(e.f,Ci,d)),Br(e.j,null),jr(e.j,null),Br(e.e,null),jr(e.e,null),yi(e.a,null),yi(e.i,null),e.g&&MRn(n,e.g)}function SRn(n,e,t){var r,i,c,o,f,h,l,a,d,T,A,$,D,N,R,z,en,ln;return D=n.c[(Ln(0,e.c.length),u(e.c[0],17)).p],en=n.c[(Ln(1,e.c.length),u(e.c[1],17)).p],!(D.a.e.e-D.a.a-(D.b.e.e-D.b.a)==0&&en.a.e.e-en.a.a-(en.b.e.e-en.b.a)==0||(A=D.b.e.f,!I(A,10))||(T=u(A,10),R=n.i[T.p],z=T.c?Li(T.c.a,T,0):-1,c=Ft,z>0&&(i=u(un(T.c.a,z-1),10),o=n.i[i.p],ln=j.Math.ceil(Kw(n.n,i,T)),c=R.a.e-T.d.d-(o.a.e+i.o.b+i.d.a)-ln),l=Ft,z0&&en.a.e.e-en.a.a-(en.b.e.e-en.b.a)<0)&&!(D.a.e.e-D.a.a-(D.b.e.e-D.b.a)<0&&en.a.e.e-en.a.a-(en.b.e.e-en.b.a)>0)&&(D.a.e.e+D.b.a>en.b.e.e+en.a.a?c+d>0?N=d:l-r>0&&(N=r):D.a.e.e+D.b.a0?N=f:l-$>0&&(N=$))),R.a.e+=N,R.b&&(R.d.e+=N),1)))}function ARn(n,e,t){var r,i,c,o,f,h,l,a,d,g;if(r=new Ss(e.qf().a,e.qf().b,e.rf().a,e.rf().b),i=new M2,n.c)for(o=new E(e.wf());o.a=2&&(r=u(i.Kc().Pb(),111),t=n.u.Hc((Su(),E9)),c=n.u.Hc(Hv),!r.a&&!t&&(2==i.gc()||c))}(n,e),t=n.u.Hc((Su(),j9)),h=l.Kc();h.Ob();)if((f=u(h.Pb(),111)).c&&!(f.c.d.c.length<=0)){switch(g=f.b.rf(),(d=(a=f.c).i).b=a.e.a+(c=a.n).b+c.c,d.a=a.e.b+(i=a.n).d+i.a,e.g){case 1:f.a?(d.c=(g.a-d.b)/2,Wo(a,(Mu(),Kl))):o||t?(d.c=-d.b-n.s,Wo(a,(Mu(),Oo))):(d.c=g.a+n.s,Wo(a,(Mu(),oh))),d.d=-d.a-n.t,Uf(a,(Yc(),Do));break;case 3:f.a?(d.c=(g.a-d.b)/2,Wo(a,(Mu(),Kl))):o||t?(d.c=-d.b-n.s,Wo(a,(Mu(),Oo))):(d.c=g.a+n.s,Wo(a,(Mu(),oh))),d.d=g.b+n.t,Uf(a,(Yc(),tf));break;case 2:f.a?(r=n.v?d.a:u(un(a.d,0),181).rf().b,d.d=(g.b-r)/2,Uf(a,(Yc(),Hl))):o||t?(d.d=-d.a-n.t,Uf(a,(Yc(),Do))):(d.d=g.b+n.t,Uf(a,(Yc(),tf))),d.c=g.a+n.s,Wo(a,(Mu(),oh));break;case 4:f.a?(r=n.v?d.a:u(un(a.d,0),181).rf().b,d.d=(g.b-r)/2,Uf(a,(Yc(),Hl))):o||t?(d.d=-d.a-n.t,Uf(a,(Yc(),Do))):(d.d=g.b+n.t,Uf(a,(Yc(),tf))),d.c=-d.b-n.s,Wo(a,(Mu(),Oo))}o=!1}}function $l(n,e){var t,r,i,c,o,f,h,l,a,d,v;if(Qe(),0==h5(H4)){for(d=L(sMe,q,117,Fee.length,0,1),o=0;ol&&(r.a+=$yn(L(Hs,Yf,25,-l,15,1))),r.a+="Is",qf(h,ru(32))>=0)for(i=0;i=r.o.b/2}$?(A=u(k(r,(G(),Dv)),15))?g?c=A:(i=u(k(r,Sv),15))?c=A.gc()<=i.gc()?A:i:(c=new X,H(r,Sv,c)):(c=new X,H(r,Dv,c)):(i=u(k(r,(G(),Sv)),15))?d?c=i:(A=u(k(r,Dv),15))?c=i.gc()<=A.gc()?i:A:(c=new X,H(r,Dv,c)):(c=new X,H(r,Sv,c)),c.Fc(n),H(n,(G(),sP),t),e.d==t?(jr(e,null),t.e.c.length+t.g.c.length==0&&Hi(t,null),function $we(n){var e,t;(e=u(k(n,(G(),Au)),10))&&(Jc((t=e.c).a,e),0==t.a.c.length&&Jc(Rr(e).b,t))}(t)):(Br(e,null),t.e.c.length+t.g.c.length==0&&Hi(t,null)),zs(e.a)}function UTe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z,en,ln,wn,zn,se,Je,ur;for(le(t,"MinWidth layering",1),v=e.b,en=e.a,ur=u(k(e,(nn(),Rsn)),19).a,f=u(k(e,Ksn),19).a,n.b=K(Y(k(e,$o))),n.d=Ft,N=new E(en);N.a0){for(g=a<100?null:new ul(a),p=new QV(e).g,A=L(be,Ne,25,a,15,1),r=0,N=new Yd(a),i=0;i=0;)if(null!=v?et(v,p[h]):B(v)===B(p[h])){A.length<=r&&vc(A,0,A=L(be,Ne,25,2*A.length,15,1),0,r),A[r++]=i,me(N,p[h]);break n}if(B(v)===B(f))break}}if(l=N,p=N.g,a=r,r>A.length&&vc(A,0,A=L(be,Ne,25,r,15,1),0,r),r>0){for(D=!0,c=0;c=0;)ev(n,A[o]);if(r!=a){for(i=a;--i>=r;)ev(l,i);vc(A,0,A=L(be,Ne,25,r,15,1),0,r)}e=l}}}else for(e=function Cpe(n,e){var t,r,i;if(e.dc())return yp(),yp(),nj;for(t=new Djn(n,e.gc()),i=new re(n);i.e!=i.i.gc();)r=oe(i),e.Hc(r)&&me(t,r);return t}(n,e),i=n.i;--i>=0;)e.Hc(n.g[i])&&(ev(n,i),D=!0);if(D){if(null!=A){for(d=1==(t=e.gc())?t6(n,4,e.Kc().Pb(),null,A[0],m):t6(n,6,e,A,A[0],m),g=t<100?null:new ul(t),i=e.Kc();i.Ob();)g=nW(n,u(v=i.Pb(),72),g);g?(g.Ei(d),g.Fi()):nt(n.e,d)}else{for(g=function Bue(n){return n<100?null:new ul(n)}(e.gc()),i=e.Kc();i.Ob();)g=nW(n,u(v=i.Pb(),72),g);g&&g.Fi()}return!0}return!1}function XTe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,m,T,A,$,D;for((t=new tFn(e)).a||function Oke(n){var e,t,r,i,c;switch(i=u(un(n.a,0),10),e=new i1(n),W(n.a,e),e.o.a=j.Math.max(1,i.o.a),e.o.b=j.Math.max(1,i.o.b),e.n.a=i.n.a,e.n.b=i.n.b,u(k(i,(G(),tc)),61).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}return Hi(r=new gc,e),Br(t=new Ud,c=u(un(i.j,0),11)),jr(t,r),ut(Uo(r.n),c.n),ut(Uo(r.a),c.a),e}(e),l=function D7e(n){var e,r,i,c,o,f,h;for(h=new vAn,f=new E(n.a);f.a=f.b.c)&&(f.b=e),(!f.c||e.c<=f.c.c)&&(f.d=f.c,f.c=e),(!f.e||e.d>=f.e.d)&&(f.e=e),(!f.f||e.d<=f.f.d)&&(f.f=e);return r=new rM((r3(),I0)),Q8(n,OWn,new Uu(S(M(iy,1),rn,369,0,[r]))),o=new rM(rw),Q8(n,IWn,new Uu(S(M(iy,1),rn,369,0,[o]))),i=new rM(tw),Q8(n,PWn,new Uu(S(M(iy,1),rn,369,0,[i]))),c=new rM(Lg),Q8(n,AWn,new Uu(S(M(iy,1),rn,369,0,[c]))),bN(r.c,I0),bN(i.c,tw),bN(c.c,Lg),bN(o.c,rw),f.a.c=L(Zn,rn,1,0,5,1),Qt(f.a,r.c),Qt(f.a,Oa(i.c)),Qt(f.a,c.c),Qt(f.a,Oa(o.c)),f}(l)),t}function ORn(n,e,t){var r,i,o,f,h,l,d,p,m;if(null==t.p[e.p]){f=!0,t.p[e.p]=0,o=e,m=t.o==(af(),hd)?Wt:Ft;do{i=n.b.e[o.p],t.o==hd&&i>0||t.o==If&&i(o=qL(n,t))?I3(n,e,t):I3(n,t,e),io?1:0}return(r=u(k(e,(G(),bc)),19).a)>(c=u(k(t,bc),19).a)?I3(n,e,t):I3(n,t,e),rc?1:0}function dnn(n,e,t,r){var i,c,o,h,l,a,d,g,v,p,T,$;if(on(sn(hn(e,(We(),uI)))))return An(),An(),Gr;if(l=0!=(!e.a&&(e.a=new V(It,e,10,11)),e.a).i,a=!(d=function N6e(n){var e,t,r;if(on(sn(hn(n,(We(),xy))))){for(r=new X,t=new ie(ue(c1(n).a.Kc(),new Yn));Ae(t);)d0(e=u(pe(t),79))&&on(sn(hn(e,MH)))&&(r.c[r.c.length]=e);return r}return An(),An(),Gr}(e)).dc(),l||a){if(!(i=u(hn(e,F4),149)))throw C(new Dw("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if($=NU(i,(M3(),mI)),x$n(e),!l&&a&&!$)return An(),An(),Gr;if(h=new X,B(hn(e,Zg))===B((e1(),Q1))&&(NU(i,vI)||NU(i,gI)))for(v=mBn(n,e),zr(p=new Ct,(!e.a&&(e.a=new V(It,e,10,11)),e.a));0!=p.b;)x$n(g=u(0==p.b?null:(ne(0!=p.b),Os(p,p.a.a)),33)),B(hn(g,Zg))===B(m9)||Aa(g,w9)&&!QX(i,hn(g,F4))?(Qt(h,dnn(n,g,t,r)),bi(g,Zg,m9),NBn(g)):zr(p,(!g.a&&(g.a=new V(It,g,10,11)),g.a));else for(v=(!e.a&&(e.a=new V(It,e,10,11)),e.a).i,o=new re((!e.a&&(e.a=new V(It,e,10,11)),e.a));o.e!=o.i.gc();)Qt(h,dnn(n,c=u(oe(o),33),t,r)),NBn(c);for(T=new E(h);T.a=0?J2(f):$7(J2(f)),n.Ye(M4,v)),l=new $r,g=!1,n.Xe(_0)?(Cz(l,u(n.We(_0),8)),g=!0):function Ece(n,e,t){return n.a=e,n.b=t,n}(l,o.a/2,o.b/2),v.g){case 4:H(a,qc,(Fs(),Ul)),H(a,fP,(Fa(),Rg)),a.o.b=o.b,m<0&&(a.o.a=-m),ir(d,(J(),Xn)),g||(l.a=o.a),l.a-=o.a;break;case 2:H(a,qc,(Fs(),sw)),H(a,fP,(Fa(),p4)),a.o.b=o.b,m<0&&(a.o.a=-m),ir(d,(J(),qn)),g||(l.a=0);break;case 1:H(a,id,(Yh(),Hg)),a.o.a=o.a,m<0&&(a.o.b=-m),ir(d,(J(),ae)),g||(l.b=o.b),l.b-=o.b;break;case 3:H(a,id,(Yh(),Mv)),a.o.a=o.a,m<0&&(a.o.b=-m),ir(d,(J(),Rn)),g||(l.b=0)}if(Cz(d.n,l),H(a,_0,l),e==wd||e==Bh||e==Pc){if(p=0,e==wd&&n.Xe(U1))switch(v.g){case 1:case 2:p=u(n.We(U1),19).a;break;case 3:case 4:p=-u(n.We(U1),19).a}else switch(v.g){case 4:case 2:p=c.b,e==Bh&&(p/=i.b);break;case 1:case 3:p=c.a,e==Bh&&(p/=i.a)}H(a,N0,p)}return H(a,tc,v),a}function tCe(n,e,t,r){var i,c,o,f,h,l,a,d,g,v;for(d=!1,l=n+1,Ln(n,e.c.length),o=(a=u(e.c[n],200)).a,f=null,c=0;cl&&0==(Ln(l,e.c.length),u(e.c[l],200)).a.c.length;)Jc(e,(Ln(l,e.c.length),e.c[l]));if(!h){--c;continue}if(Rke(e,a,i,h,g,t,l,r)){d=!0;continue}if(g){if(Wye(e,a,i,h,t,l,r)){d=!0;continue}if(IQ(a,i)){i.c=!0,d=!0;continue}}else if(IQ(a,i)){i.c=!0,d=!0;continue}if(d)continue}if(IQ(a,i)){i.c=!0,d=!0,h&&(h.k=!1);continue}lM(i.q)}return d}function VN(n,e,t,r,i,c,o){var f,h,l,a,d,g,v,p,m,A,$,D,N,R,z,en,ln,wn,Gn,zn,se,Je,ur;for(m=0,Gn=0,l=new E(n.b);l.am&&(c&&(ma(z,v),ma(ln,Q(a.b-1)),W(n.d,p),f.c=L(Zn,rn,1,0,5,1)),Je=t.b,ur+=v+e,v=0,d=j.Math.max(d,t.b+t.c+se)),f.c[f.c.length]=h,V$n(h,Je,ur),d=j.Math.max(d,Je+se+t.c),v=j.Math.max(v,g),Je+=se+e,p=h;if(Qt(n.a,f),W(n.d,u(un(f,f.c.length-1),157)),d=j.Math.max(d,r),(zn=ur+v+t.a)1&&(o=j.Math.min(o,j.Math.abs(u(Yo(f.a,1),8).b-a.b)))));else for(m=new E(e.j);m.ai&&(c=g.a-i,o=Ze,r.c=L(Zn,rn,1,0,5,1),i=g.a),g.a>=i&&(r.c[r.c.length]=f,f.a.b>1&&(o=j.Math.min(o,j.Math.abs(u(Yo(f.a,f.a.b-2),8).b-g.b)))));if(0!=r.c.length&&c>e.o.a/2&&o>e.o.b/2){for(Hi(v=new gc,e),ir(v,(J(),Rn)),v.n.a=e.o.a/2,Hi(A=new gc,e),ir(A,ae),A.n.a=e.o.a/2,A.n.b=e.o.b,h=new E(r);h.a=l.b?A:v)):(l=u(Qoe(f.a),8),jr(f,(0==f.a.b?df(f.c):u(xE(f.a),8)).b>=l.b?A:v)),(d=u(k(f,(nn(),Ci)),74))&&Ab(d,l,!0);e.n.a=i-e.o.a/2}}function cCe(n,e,t){var r,i,a,g,v,zn,se,Je,ur,ys,wo;if(se=e,a6(zn=NSn(n,DSn(t),se),Xh(se,uh)),Je=u(Qw(n.g,rv(Wh(se,i_))),33),r=null,(g=Wh(se,"sourcePort"))&&(r=rv(g)),ur=u(Qw(n.j,r),118),!Je)throw C(new Kf("An edge must have a source node (edge id: '"+g3(se)+n4));if(ur&&!Wf(lf(ur),Je))throw C(new Kf("The source port of an edge must be a port of the edge's source node (edge id: '"+Xh(se,uh)+n4));if(!zn.b&&(zn.b=new $n(he,zn,4,7)),me(zn.b,ur||Je),ys=u(Qw(n.g,rv(Wh(se,drn))),33),i=null,(v=Wh(se,"targetPort"))&&(i=rv(v)),wo=u(Qw(n.j,i),118),!ys)throw C(new Kf("An edge must have a target node (edge id: '"+g3(se)+n4));if(wo&&!Wf(lf(wo),ys))throw C(new Kf("The target port of an edge must be a port of the edge's target node (edge id: '"+Xh(se,uh)+n4));if(!zn.c&&(zn.c=new $n(he,zn,5,8)),me(zn.c,wo||ys),0==(!zn.b&&(zn.b=new $n(he,zn,4,7)),zn.b).i||0==(!zn.c&&(zn.c=new $n(he,zn,5,8)),zn.c).i)throw a=Xh(se,uh),C(new Kf(Pqn+a+n4));return mM(se,zn),Vme(se,zn),xF(n,se,zn)}function $Rn(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z,en,ln,wn,Gn;return d=function oye(n,e){var t,r,i,c,o,f,h,l,a,d,g,v;if(n.dc())return new $r;for(l=0,d=0,i=n.Kc();i.Ob();)r=u(i.Pb(),37),l=j.Math.max(l,(c=r.f).a),d+=c.a*c.b;for(l=j.Math.max(l,j.Math.sqrt(d)*K(Y(k(u(n.Kc().Pb(),37),(nn(),aP))))),g=0,v=0,h=0,t=e,f=n.Kc();f.Ob();)g+(a=(o=u(f.Pb(),37)).f).a>l&&(g=0,v+=h+e,h=0),H6(o,g,v),t=j.Math.max(t,g+a.a),h=j.Math.max(h,a.b),g+=a.a+e;return new fn(t+e,v+h+e)}(Xc(n,(J(),$f)),e),p=sg(Xc(n,_o),e),N=sg(Xc(n,ps),e),ln=aM(Xc(n,oo),e),g=aM(Xc(n,Rs),e),$=sg(Xc(n,Ro),e),m=sg(Xc(n,Iu),e),z=sg(Xc(n,ms),e),R=sg(Xc(n,Ks),e),wn=aM(Xc(n,Gc),e),A=sg(Xc(n,uu),e),D=sg(Xc(n,Ou),e),en=sg(Xc(n,cu),e),Gn=aM(Xc(n,su),e),v=aM(Xc(n,yu),e),T=sg(Xc(n,Ic),e),t=Zw(S(M(kr,1),wi,25,15,[$.a,ln.a,z.a,Gn.a])),r=Zw(S(M(kr,1),wi,25,15,[p.a,d.a,N.a,T.a])),i=A.a,c=Zw(S(M(kr,1),wi,25,15,[m.a,g.a,R.a,v.a])),l=Zw(S(M(kr,1),wi,25,15,[$.b,p.b,m.b,D.b])),h=Zw(S(M(kr,1),wi,25,15,[ln.b,d.b,g.b,T.b])),a=wn.b,f=Zw(S(M(kr,1),wi,25,15,[z.b,N.b,R.b,en.b])),A1(Xc(n,$f),t+i,l+a),A1(Xc(n,Ic),t+i,l+a),A1(Xc(n,_o),t+i,0),A1(Xc(n,ps),t+i,l+a+h),A1(Xc(n,oo),0,l+a),A1(Xc(n,Rs),t+i+r,l+a),A1(Xc(n,Iu),t+i+r,0),A1(Xc(n,ms),0,l+a+h),A1(Xc(n,Ks),t+i+r,l+a+h),A1(Xc(n,Gc),0,l),A1(Xc(n,uu),t,0),A1(Xc(n,cu),0,l+a+h),A1(Xc(n,yu),t+i+r,0),(o=new $r).a=Zw(S(M(kr,1),wi,25,15,[t+r+i+c,wn.a,D.a,en.a])),o.b=Zw(S(M(kr,1),wi,25,15,[l+h+a+f,A.b,Gn.b,v.b])),o}function sCe(n,e,t){var i,c,o,f,l,a,d;if(le(t,"Network simplex node placement",1),n.e=e,n.n=u(k(e,(G(),Ug)),304),function Tje(n){var e,r,i,o,f,h,l,a,d,g,v,p;for(n.f=new lO,l=0,i=0,o=new E(n.e.b);o.a=l.c.c.length?(Vn(),nr):(Vn(),br),br),t.a.g=j.Math.max(c=t.a.g,c+((a*=2)-c)),t.b.g=j.Math.max(o=t.b.g,o+(a-o)),i=e}}(n),ce(o)),_ve(n.f),c=u(k(e,Jm),19).a*n.f.a.c.length,SN(HG(qG(BD(n.f),c),!1),jc(t,1)),0!=n.d.a.gc()){for(le(o=jc(t,1),"Flexible Where Space Processing",1),f=u(xd(fT(Vc(new Dn(null,new Fn(n.f.a,16)),new Nwn),new Pwn)),19).a,l=u(xd(oT(Vc(new Dn(null,new Fn(n.f.a,16)),new xwn),new Iwn)),19).a-f,a=Nd(new va,n.f),d=Nd(new va,n.f),Po(mo(po(vo(ko(new qs,2e4),l),a),d)),Bt(gt(gt(c$(n.i),new Bwn),new _wn),new ECn(f,a,l,d)),i=n.d.a.ec().Kc();i.Ob();)u(i.Pb(),213).g=1;SN(HG(qG(BD(n.f),c),!1),jc(o,1)),ce(o)}on(sn(k(e,Xm)))&&(le(o=jc(t,1),"Straight Edges Post-Processing",1),function X5e(n){var e,t,r;for(zr(t=new Ct,n.o),r=new TG;0!=t.b;)SRn(n,e=u(0==t.b?null:(ne(0!=t.b),Os(t,t.a.a)),508),!0)&&W(r.a,e);for(;0!=r.a.c.length;)SRn(n,e=u(kDn(r),508),!1)}(n),ce(o)),function SEe(n){var e,r,i,c,o,f,h,l,a,g,v,p,m,T,A;for(r=new E(n.e.b);r.a0)if(r=d.gc(),l=Ht(j.Math.floor((r+1)/2))-1,i=Ht(j.Math.ceil((r+1)/2))-1,e.o==If)for(a=i;a>=l;a--)e.a[N.p]==N&&(m=u(d.Xb(a),46),p=u(m.a,10),!Hh(t,m.b)&&v>n.b.e[p.p]&&(e.a[p.p]=N,e.g[N.p]=e.g[p.p],e.a[N.p]=e.g[N.p],e.f[e.g[N.p].p]=(Hn(),!!(on(e.f[e.g[N.p].p])&N.k==(Vn(),br))),v=n.b.e[p.p]));else for(a=l;a<=i;a++)e.a[N.p]==N&&(A=u(d.Xb(a),46),T=u(A.a,10),!Hh(t,A.b)&&v=48&&e<=57))throw C(new Ee(Pe((je(),rGn))));for(r=e-48;i=48&&e<=57;)if((r=10*r+e-48)<0)throw C(new Ee(Pe((je(),mrn))));if(t=r,44==e){if(i>=n.j)throw C(new Ee(Pe((je(),cGn))));if((e=Pr(n.i,i++))>=48&&e<=57){for(t=e-48;i=48&&e<=57;)if((t=10*t+e-48)<0)throw C(new Ee(Pe((je(),mrn))));if(r>t)throw C(new Ee(Pe((je(),uGn))))}else t=-1}if(125!=e)throw C(new Ee(Pe((je(),iGn))));n.sl(i)?(Qe(),Qe(),c=new pb(9,c),n.d=i+1):(Qe(),Qe(),c=new pb(3,c),n.d=i),c.dm(r),c.cm(t),Ve(n)}}return c}function FRn(n,e,t,r,i){var c,o,f,h,l,a,d,g,p,m,T,A,D,N,R,z,en,ln,wn,Gn,zn;for(m=new Oc(e.b),N=new Oc(e.b),g=new Oc(e.b),ln=new Oc(e.b),T=new Oc(e.b),en=Re(e,0);en.b!=en.d.c;)for(f=new E((R=u(_e(en),11)).g);f.a0,(l=R.e.c.length>0)&&A?g.c[g.c.length]=R:l?m.c[m.c.length]=R:A&&(N.c[N.c.length]=R);for(p=new E(m);p.a1)for(p=new S2((!n.a&&(n.a=new V(Mt,n,6,6)),n.a));p.e!=p.i.gc();)$6(p);for(T=Je,Je>R+N?T=R+N:Jez+m?A=z+m:urR-N&&Tz-m&&AJe+se?ln=Je+se:Rur+en?wn=ur+en:zJe-se&&lnur-en&&wnt&&(g=t-1),(v=uj+Nu(e,24)*Ck*d-d/2)<0?v=1:v>r&&(v=r-1),Ad(),dC(i=new wj,g),bC(i,v),me((!o.a&&(o.a=new Vt(fo,o,5)),o.a),i)}function nn(){nn=F,We(),kK=ene,eon=tne,py=zhn,$o=rne,Lv=Whn,R0=ine,ww=Xhn,A4=Vhn,P4=Qhn,yK=oI,K0=bd,jK=cne,Qm=Zhn,CP=Rv,vnn(),vy=JVn,Wg=YVn,fd=ZVn,Xg=nQn,xQn=new ni(sI,Q(0)),S4=XVn,non=VVn,Fv=QVn,fon=jQn,ton=rQn,ron=uQn,TK=dQn,ion=fQn,con=lQn,MP=MQn,CK=EQn,son=pQn,uon=gQn,oon=kQn,B0=HVn,Vm=qVn,wK=uVn,Dsn=oVn,Vsn=new Fd(12),Xsn=new ni(dd,Vsn),r1(),l1=new ni(jhn,Psn=x4),aw=new ni(Ru,0),BQn=new ni($H,Q(1)),aP=new ni(Bv,z3),od=uI,Nt=g9,M4=r2,IQn=Ny,hh=zZn,hw=Zg,_Qn=new ni(FH,(Hn(),!0)),lw=xy,ud=MH,sd=ad,TP=Ql,mK=cI,ci(),gs=new ni(q0,Asn=Lh),x0=e2,jP=Ohn,dw=mw,NQn=DH,Ysn=Ghn,ig(),new ni(_hn,Jsn=qy),$Qn=AH,FQn=PH,LQn=IH,DQn=SH,EK=tQn,qsn=IVn,vK=PVn,Jm=eQn,qc=jVn,fw=YXn,Wm=JXn,ow=BXn,Csn=_Xn,lK=qXn,gy=RXn,aK=VXn,Gsn=OVn,Usn=DVn,Bsn=gVn,EP=zVn,pK=LVn,gK=lVn,Wsn=RVn,Osn=iVn,bK=cVn,hK=rI,zsn=$Vn,bP=OXn,jsn=IXn,dP=PXn,Lsn=bVn,Fsn=dVn,Nsn=wVn,T4=t2,Ci=n2,G1=Thn,lh=CH,dK=TH,Msn=UXn,U1=OH,zm=VZn,mP=QZn,_0=Khn,Qsn=JZn,C4=YZn,Rsn=TVn,Ksn=MVn,bw=_v,oK=AXn,Hsn=AVn,pP=eVn,vP=nVn,yP=By,_sn=mVn,Xm=xVn,my=Jhn,Ssn=ZXn,Zsn=WVn,Isn=tVn,OQn=yVn,PQn=WXn,xsn=Ahn,kP=EVn,gP=XXn,zl=xXn,Tsn=LXn,wP=$Xn,Esn=FXn,fK=NXn,$v=DXn,$sn=aVn}function JN(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z,en,ln,wn,Gn,se,Je;if(xN(),p=n.d,i=n.a,0==(ln=n.e))switch(e){case 0:return"0";case 1:return K3;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(z=new cl).a+=e<0?"0E+":"0E",z.a+=-e,z.a}if(N=L(Hs,Yf,25,1+(D=10*p+1+7),15,1),t=D,1==p)if((f=i[0])<0){Je=rr(f,si);do{m=Je,Je=U7(Je,10),N[--t]=48+ge(Al(m,Fr(Je,10)))&Gt}while(0!=hc(Je,0))}else{Je=f;do{N[--t]=(m=Je)-10*(Je=Je/10|0)+48&Gt}while(0!=Je)}else{vc(i,0,Gn=L(be,Ne,25,p,15,1),0,se=p);n:for(;;){for(en=0,l=se-1;l>=0;l--)A=m4e(_r(Uh(en,32),rr(Gn[l],si))),Gn[l]=ge(A),en=ge(wl(A,32));$=ge(en),T=t;do{N[--t]=48+$%10&Gt}while(0!=($=$/10|0)&&0!=t);for(r=9-T+t,h=0;h0;h++)N[--t]=48;for(d=se-1;0==Gn[d];d--)if(0==d)break n;se=d+1}for(;48==N[t];)++t}if(v=ln<0,o=D-t-e-1,0==e)return v&&(N[--t]=45),Xs(N,t,D-t);if(e>0&&o>=-6){if(o>=0){for(a=t+o,g=D-1;g>=a;g--)N[g+1]=N[g];return N[++a]=46,v&&(N[--t]=45),Xs(N,t,D-t+1)}for(d=2;d<1-o;d++)N[--t]=48;return N[--t]=46,N[--t]=48,v&&(N[--t]=45),Xs(N,t,D-t)}return wn=t+1,c=D,R=new nb,v&&(R.a+="-"),c-wn>=1?(vl(R,N[t]),R.a+=".",R.a+=Xs(N,t+1,D-t-1)):R.a+=Xs(N,t,D-t),R.a+="E",o>0&&(R.a+="+"),R.a+=""+o,R.a}function xRn(n,e){var i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z;switch(n.c=e,n.g=new we,tb(),JQ(new Ej(new Y0(n.c))),D=Te(hn(n.c,(W7(),Ufn))),h=u(hn(n.c,wH),316),R=u(hn(n.c,gH),429),o=u(hn(n.c,Hfn),482),N=u(hn(n.c,bH),430),n.j=K(Y(hn(n.c,wZn))),f=n.a,h.g){case 0:f=n.a;break;case 1:f=n.b;break;case 2:f=n.i;break;case 3:f=n.e;break;case 4:f=n.f;break;default:throw C(new Kn(LS+(null!=h.f?h.f:""+h.g)))}if(n.d=new sMn(f,R,o),H(n.d,(Zp(),$m),sn(hn(n.c,dZn))),n.d.c=on(sn(hn(n.c,qfn))),0==TT(n.c).i)return n.d;for(d=new re(TT(n.c));d.e!=d.i.gc();){for(z=new fn((a=u(oe(d),33)).i+(v=a.g/2),a.j+(g=a.f/2));Vu(n.g,z);)sb(z,(j.Math.random()-.5)*eh,(j.Math.random()-.5)*eh);m=u(hn(a,(We(),By)),142),T=new TMn(z,new Ss(z.a-v-n.j/2-m.b,z.b-g-n.j/2-m.d,a.g+n.j+(m.b+m.c),a.f+n.j+(m.d+m.a))),W(n.d.i,T),tt(n.g,z,new Mr(T,a))}switch(N.g){case 0:if(null==D)n.d.d=u(un(n.d.i,0),65);else for($=new E(n.d.i);$.a<$.c.c.length;)T=u(y($),65),null!=(p=u(u(te(n.g,T.a),46).b,33).zg())&&Mn(p,D)&&(n.d.d=T);break;case 1:for((i=new fn(n.c.g,n.c.f)).a*=.5,i.b*=.5,sb(i,n.c.i,n.c.j),c=Ft,A=new E(n.d.i);A.a1&&Rt(a,A,a.c.b,a.c),fC(i)));A=$}return a}function _Rn(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A;for(r=new X,f=new X,T=e/2,v=n.gc(),i=u(n.Xb(0),8),A=u(n.Xb(1),8),W(r,(Ln(0,(p=lN(i.a,i.b,A.a,A.b,T)).c.length),u(p.c[0],8))),W(f,(Ln(1,p.c.length),u(p.c[1],8))),l=2;l=0;h--)Ke(t,(Ln(h,o.c.length),u(o.c[h],8)));return t}function Ve(n){var e,t,r;if(n.d>=n.j)return n.a=-1,void(n.c=1);if(e=Pr(n.i,n.d++),n.a=e,1!=n.b){switch(e){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,n.d>=n.j||63!=Pr(n.i,n.d))break;if(++n.d>=n.j)throw C(new Ee(Pe((je(),w_))));switch(e=Pr(n.i,n.d++)){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(n.d>=n.j)throw C(new Ee(Pe((je(),w_))));if(61==(e=Pr(n.i,n.d++)))r=16;else{if(33!=e)throw C(new Ee(Pe((je(),_qn))));r=17}break;case 35:for(;n.d=n.j)throw C(new Ee(Pe((je(),HS))));n.a=Pr(n.i,n.d++);break;default:r=0}n.c=r}else{switch(e){case 92:if(r=10,n.d>=n.j)throw C(new Ee(Pe((je(),HS))));n.a=Pr(n.i,n.d++);break;case 45:512==(512&n.e)&&n.d=R||!_2e(A,r))&&(r=FMn(e,a)),yi(A,r),c=new ie(ue(Ni(A).a.Kc(),new Yn));Ae(c);)i=u(pe(c),17),!n.a[i.p]&&(--n.e[(m=i.c.i).p],0==n.e[m.p]&&_p(j3(v,m)));for(l=a.c.length-1;l>=0;--l)W(e.b,(Ln(l,a.c.length),u(a.c[l],29)));e.a.c=L(Zn,rn,1,0,5,1),ce(t)}else ce(t)}function RRn(n){var e,t,r,i,o,f,h,l;for(n.b=1,Ve(n),e=null,0==n.c&&94==n.a?(Ve(n),Qe(),Qe(),Ec(e=new cs(4),0,t4),f=new cs(4)):(Qe(),Qe(),f=new cs(4)),i=!0;1!=(l=n.c);){if(0==l&&93==n.a&&!i){e&&(Q6(e,f),f=e);break}if(t=n.a,r=!1,10==l)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:Hb(f,O3(t)),r=!0;break;case 105:case 73:case 99:case 67:Hb(f,O3(t)),(t=-1)<0&&(r=!0);break;case 112:case 80:if(!(h=UY(n,t)))throw C(new Ee(Pe((je(),g_))));Hb(f,h),r=!0;break;default:t=CZ(n)}else if(24==l&&!i){if(e&&(Q6(e,f),f=e),Q6(f,RRn(n)),0!=n.c||93!=n.a)throw C(new Ee(Pe((je(),Vqn))));break}if(Ve(n),!r){if(0==l){if(91==t)throw C(new Ee(Pe((je(),vrn))));if(93==t)throw C(new Ee(Pe((je(),prn))));if(45==t&&!i&&93!=n.a)throw C(new Ee(Pe((je(),v_))))}if(0!=n.c||45!=n.a||45==t&&i)Ec(f,t,t);else{if(Ve(n),1==(l=n.c))throw C(new Ee(Pe((je(),qS))));if(0==l&&93==n.a)Ec(f,t,t),Ec(f,45,45);else{if(0==l&&93==n.a||24==l)throw C(new Ee(Pe((je(),v_))));if(o=n.a,0==l){if(91==o)throw C(new Ee(Pe((je(),vrn))));if(93==o)throw C(new Ee(Pe((je(),prn))));if(45==o)throw C(new Ee(Pe((je(),v_))))}else 10==l&&(o=CZ(n));if(Ve(n),t>o)throw C(new Ee(Pe((je(),Yqn))));Ec(f,t,o)}}}i=!1}if(1==n.c)throw C(new Ee(Pe((je(),qS))));return ag(f),X6(f),n.b=0,Ve(n),f}function KRn(){KRn=F,QN(),Cn(xe=new Wd,(J(),_o),$f),Cn(xe,oo,$f),Cn(xe,Iu,$f),Cn(xe,Ro,$f),Cn(xe,su,$f),Cn(xe,Ou,$f),Cn(xe,Ro,_o),Cn(xe,$f,Rs),Cn(xe,_o,Rs),Cn(xe,oo,Rs),Cn(xe,Iu,Rs),Cn(xe,uu,Rs),Cn(xe,Ro,Rs),Cn(xe,su,Rs),Cn(xe,Ou,Rs),Cn(xe,Gc,Rs),Cn(xe,$f,ps),Cn(xe,_o,ps),Cn(xe,Rs,ps),Cn(xe,oo,ps),Cn(xe,Iu,ps),Cn(xe,uu,ps),Cn(xe,Ro,ps),Cn(xe,Gc,ps),Cn(xe,ms,ps),Cn(xe,su,ps),Cn(xe,yu,ps),Cn(xe,Ou,ps),Cn(xe,_o,oo),Cn(xe,Iu,oo),Cn(xe,Ro,oo),Cn(xe,Ou,oo),Cn(xe,_o,Iu),Cn(xe,oo,Iu),Cn(xe,Ro,Iu),Cn(xe,Iu,Iu),Cn(xe,su,Iu),Cn(xe,$f,Ks),Cn(xe,_o,Ks),Cn(xe,Rs,Ks),Cn(xe,ps,Ks),Cn(xe,oo,Ks),Cn(xe,Iu,Ks),Cn(xe,uu,Ks),Cn(xe,Ro,Ks),Cn(xe,ms,Ks),Cn(xe,Gc,Ks),Cn(xe,Ou,Ks),Cn(xe,su,Ks),Cn(xe,Ic,Ks),Cn(xe,$f,ms),Cn(xe,_o,ms),Cn(xe,Rs,ms),Cn(xe,oo,ms),Cn(xe,Iu,ms),Cn(xe,uu,ms),Cn(xe,Ro,ms),Cn(xe,Gc,ms),Cn(xe,Ou,ms),Cn(xe,yu,ms),Cn(xe,Ic,ms),Cn(xe,_o,Gc),Cn(xe,oo,Gc),Cn(xe,Iu,Gc),Cn(xe,Ro,Gc),Cn(xe,ms,Gc),Cn(xe,Ou,Gc),Cn(xe,su,Gc),Cn(xe,$f,cu),Cn(xe,_o,cu),Cn(xe,Rs,cu),Cn(xe,oo,cu),Cn(xe,Iu,cu),Cn(xe,uu,cu),Cn(xe,Ro,cu),Cn(xe,Gc,cu),Cn(xe,Ou,cu),Cn(xe,_o,su),Cn(xe,Rs,su),Cn(xe,ps,su),Cn(xe,Iu,su),Cn(xe,$f,yu),Cn(xe,_o,yu),Cn(xe,ps,yu),Cn(xe,oo,yu),Cn(xe,Iu,yu),Cn(xe,uu,yu),Cn(xe,Ro,yu),Cn(xe,Ro,Ic),Cn(xe,Iu,Ic),Cn(xe,Gc,$f),Cn(xe,Gc,oo),Cn(xe,Gc,Rs),Cn(xe,uu,$f),Cn(xe,uu,_o),Cn(xe,uu,ps)}function XM(n,e){switch(n.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new HCn(n.b,n.a,e,n.c);case 1:return new OE(n.a,e,yt(e.Tg(),n.c));case 43:return new Byn(n.a,e,yt(e.Tg(),n.c));case 3:return new Vt(n.a,e,yt(e.Tg(),n.c));case 45:return new au(n.a,e,yt(e.Tg(),n.c));case 41:return new Ju(u(Vs(n.c),26),n.a,e,yt(e.Tg(),n.c));case 50:return new KIn(u(Vs(n.c),26),n.a,e,yt(e.Tg(),n.c));case 5:return new Wz(n.a,e,yt(e.Tg(),n.c),n.d.n);case 47:return new Vjn(n.a,e,yt(e.Tg(),n.c),n.d.n);case 7:return new V(n.a,e,yt(e.Tg(),n.c),n.d.n);case 49:return new P2(n.a,e,yt(e.Tg(),n.c),n.d.n);case 9:return new Ryn(n.a,e,yt(e.Tg(),n.c));case 11:return new _yn(n.a,e,yt(e.Tg(),n.c));case 13:return new cz(n.a,e,yt(e.Tg(),n.c));case 15:return new WE(n.a,e,yt(e.Tg(),n.c));case 17:return new Kyn(n.a,e,yt(e.Tg(),n.c));case 19:return new Hw(n.a,e,yt(e.Tg(),n.c));case 21:return new iz(n.a,e,yt(e.Tg(),n.c));case 23:return new x8(n.a,e,yt(e.Tg(),n.c));case 25:return new Yjn(n.a,e,yt(e.Tg(),n.c),n.d.n);case 27:return new $n(n.a,e,yt(e.Tg(),n.c),n.d.n);case 29:return new Jjn(n.a,e,yt(e.Tg(),n.c),n.d.n);case 31:return new Qjn(n.a,e,yt(e.Tg(),n.c),n.d.n);case 33:return new Vz(n.a,e,yt(e.Tg(),n.c),n.d.n);case 35:return new Xz(n.a,e,yt(e.Tg(),n.c),n.d.n);case 37:return new OD(n.a,e,yt(e.Tg(),n.c),n.d.n);case 39:return new aT(n.a,e,yt(e.Tg(),n.c),n.d.n);case 40:return new $t(e,yt(e.Tg(),n.c));default:throw C(new Ri("Unknown feature style: "+n.e))}}function jCe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,m,T,A,$,D,N,R,z;switch(le(t,"Brandes & Koepf node placement",1),n.a=e,n.c=wye(e),r=u(k(e,(nn(),pK)),274),v=on(sn(k(e,Xm))),n.d=r==(z7(),rP)&&!v||r==XR,function nEe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D;if(!((m=e.b.c.length)<3)){for(v=L(be,Ne,25,m,15,1),d=0,a=new E(e.b);a.ao)&&tr(n.b,u(T.b,17));++f}c=o}}}(n,e),R=null,z=null,A=null,$=null,os(4,Gb),T=new Oc(4),u(k(e,pK),274).g){case 3:A=new vg(e,n.c.d,(af(),hd),(Xf(),z1)),T.c[T.c.length]=A;break;case 1:$=new vg(e,n.c.d,(af(),If),(Xf(),z1)),T.c[T.c.length]=$;break;case 4:R=new vg(e,n.c.d,(af(),hd),(Xf(),H0)),T.c[T.c.length]=R;break;case 2:z=new vg(e,n.c.d,(af(),If),(Xf(),H0)),T.c[T.c.length]=z;break;default:A=new vg(e,n.c.d,(af(),hd),(Xf(),z1)),$=new vg(e,n.c.d,If,z1),R=new vg(e,n.c.d,hd,H0),z=new vg(e,n.c.d,If,H0),T.c[T.c.length]=R,T.c[T.c.length]=z,T.c[T.c.length]=A,T.c[T.c.length]=$}for(i=new rkn(e,n.c),f=new E(T);f.aln[h]&&(T=h),d=new E(n.a.b);d.aaN(c))&&(d=c);for(!d&&(Ln(0,T.c.length),d=u(T.c[0],180)),m=new E(e.b);m.a=-1900?1:0,De(n,t>=4?S(M(tn,1),q,2,6,[rKn,iKn])[f]:S(M(tn,1),q,2,6,["BC","AD"])[f]);break;case 121:!function wve(n,e,t){var r;switch((r=t.q.getFullYear()-Ll+Ll)<0&&(r=-r),e){case 1:n.a+=r;break;case 2:Eh(n,r%100,2);break;default:Eh(n,r,e)}}(n,t,r);break;case 77:!function mke(n,e,t){var r;switch(r=t.q.getMonth(),e){case 5:De(n,S(M(tn,1),q,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[r]);break;case 4:De(n,S(M(tn,1),q,2,6,[cx,ux,sx,ox,ov,fx,hx,lx,ax,dx,bx,wx])[r]);break;case 3:De(n,S(M(tn,1),q,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[r]);break;default:Eh(n,r+1,e)}}(n,t,r);break;case 107:Eh(n,0==(h=i.q.getHours())?24:h,t);break;case 83:!function R9e(n,e,t){var r,i;hc(r=tu(t.q.getTime()),0)<0?(i=B1-ge(N7(Hp(r),B1)))==B1&&(i=0):i=ge(N7(r,B1)),1==e?vl(n,48+(i=j.Math.min((i+50)/100|0,9))&Gt):2==e?Eh(n,i=j.Math.min((i+5)/10|0,99),2):(Eh(n,i,3),e>3&&Eh(n,0,e-3))}(n,t,i);break;case 69:a=r.q.getDay(),De(n,5==t?S(M(tn,1),q,2,6,["S","M","T","W","T","F","S"])[a]:4==t?S(M(tn,1),q,2,6,[gx,vx,px,mx,kx,yx,jx])[a]:S(M(tn,1),q,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[a]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?De(n,S(M(tn,1),q,2,6,["AM","PM"])[1]):De(n,S(M(tn,1),q,2,6,["AM","PM"])[0]);break;case 104:Eh(n,0==(d=i.q.getHours()%12)?12:d,t);break;case 75:Eh(n,i.q.getHours()%12,t);break;case 72:Eh(n,i.q.getHours(),t);break;case 99:p=r.q.getDay(),5==t?De(n,S(M(tn,1),q,2,6,["S","M","T","W","T","F","S"])[p]):4==t?De(n,S(M(tn,1),q,2,6,[gx,vx,px,mx,kx,yx,jx])[p]):3==t?De(n,S(M(tn,1),q,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[p]):Eh(n,p,1);break;case 76:m=r.q.getMonth(),5==t?De(n,S(M(tn,1),q,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[m]):4==t?De(n,S(M(tn,1),q,2,6,[cx,ux,sx,ox,ov,fx,hx,lx,ax,dx,bx,wx])[m]):3==t?De(n,S(M(tn,1),q,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[m]):Eh(n,m+1,t);break;case 81:T=r.q.getMonth()/3|0,De(n,t<4?S(M(tn,1),q,2,6,["Q1","Q2","Q3","Q4"])[T]:S(M(tn,1),q,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[T]);break;case 100:Eh(n,r.q.getDate(),t);break;case 109:Eh(n,i.q.getMinutes(),t);break;case 115:Eh(n,i.q.getSeconds(),t);break;case 122:De(n,t<4?c.c[0]:c.c[1]);break;case 118:De(n,c.b);break;case 90:De(n,t<3?function P6e(n){var e,t;return t=-n.a,e=S(M(Hs,1),Yf,25,15,[43,48,48,48,48]),t<0&&(e[0]=45,t=-t),e[1]=e[1]+((t/60|0)/10|0)&Gt,e[2]=e[2]+(t/60|0)%10&Gt,e[3]=e[3]+(t%60/10|0)&Gt,e[4]=e[4]+t%10&Gt,Xs(e,0,e.length)}(c):3==t?function D6e(n){var e,t;return t=-n.a,e=S(M(Hs,1),Yf,25,15,[43,48,48,58,48,48]),t<0&&(e[0]=45,t=-t),e[1]=e[1]+((t/60|0)/10|0)&Gt,e[2]=e[2]+(t/60|0)%10&Gt,e[4]=e[4]+(t%60/10|0)&Gt,e[5]=e[5]+t%10&Gt,Xs(e,0,e.length)}(c):function $6e(n){var e;return e=S(M(Hs,1),Yf,25,15,[71,77,84,45,48,48,58,48,48]),n<=0&&(e[3]=43,n=-n),e[4]=e[4]+((n/60|0)/10|0)&Gt,e[5]=e[5]+(n/60|0)%10&Gt,e[7]=e[7]+(n%60/10|0)&Gt,e[8]=e[8]+n%10&Gt,Xs(e,0,e.length)}(c.a));break;default:return!1}return!0}function gnn(n,e,t,r){var i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,N,R,z,en,ln,wn,Gn,zn,se,Je;if(SBn(e),h=u(O((!e.b&&(e.b=new $n(he,e,4,7)),e.b),0),82),a=u(O((!e.c&&(e.c=new $n(he,e,5,8)),e.c),0),82),f=Ii(h),l=Ii(a),o=0==(!e.a&&(e.a=new V(Mt,e,6,6)),e.a).i?null:u(O((!e.a&&(e.a=new V(Mt,e,6,6)),e.a),0),202),en=u(te(n.a,f),10),zn=u(te(n.a,l),10),ln=null,se=null,I(h,186)&&(I(z=u(te(n.a,h),299),11)?ln=u(z,11):I(z,10)&&(en=u(z,10),ln=u(un(en.j,0),11))),I(a,186)&&(I(Gn=u(te(n.a,a),299),11)?se=u(Gn,11):I(Gn,10)&&(zn=u(Gn,10),se=u(un(zn.j,0),11))),!en||!zn)throw C(new u5("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(Pi(m=new Ud,e),H(m,(G(),rt),e),H(m,(nn(),Ci),null),v=u(k(r,Ac),21),en==zn&&v.Fc((ui(),Hm)),ln||(ii(),R=xc,wn=null,o&&_w(u(k(en,Nt),98))&&(xSn(wn=new fn(o.j,o.k),W8(e)),dAn(wn,t),Eb(l,f)&&(R=Pu,ut(wn,en.n))),ln=C_n(en,wn,R,r)),se||(ii(),R=Pu,Je=null,o&&_w(u(k(zn,Nt),98))&&(xSn(Je=new fn(o.b,o.c),W8(e)),dAn(Je,t)),se=C_n(zn,Je,R,Rr(zn))),Br(m,ln),jr(m,se),(ln.e.c.length>1||ln.g.c.length>1||se.e.c.length>1||se.g.c.length>1)&&v.Fc((ui(),Km)),g=new re((!e.n&&(e.n=new V(_i,e,1,7)),e.n));g.e!=g.i.gc();)if(!on(sn(hn(d=u(oe(g),137),od)))&&d.a)switch(T=YF(d),W(m.b,T),u(k(T,lh),272).g){case 1:case 2:v.Fc((ui(),k4));break;case 0:v.Fc((ui(),m4)),H(T,lh,(vf(),L4))}if(c=u(k(r,Wm),314),A=u(k(r,EP),315),i=c==(W2(),oy)||A==(I6(),OK),o&&0!=(!o.a&&(o.a=new Vt(fo,o,5)),o.a).i&&i){for($=V7(o),p=new lu,N=Re($,0);N.b!=N.d.c;)Ke(p,new mi(u(_e(N),8)));H(m,Kun,p)}return m}function We(){var n,e;We=F,w9=new at(zHn),F4=new at(WHn),Th(),zZn=new Pn(itn,vhn=mH),new J9,Bv=new Pn(bv,null),WZn=new at(Ytn),$b(),mhn=vt(jH,S(M(EH,1),U,291,0,[yH])),rI=new Pn(AS,mhn),Ny=new Pn(Bk,(Hn(),!1)),ci(),q0=new Pn(stn,khn=Lh),r1(),jhn=new Pn(Nk,Ehn=LH),Mhn=new Pn(FS,!1),e1(),Zg=new Pn(SS,Shn=fI),xhn=new Fd(12),dd=new Pn(j0,xhn),iI=new Pn(Ik,!1),Ahn=new Pn(FB,!1),_y=new Pn(um,!1),Tr(),g9=new Pn(Zx,Hhn=Zl),_v=new at(PS),sI=new at(Pk),$H=new at(fS),FH=new at(cm),Phn=new lu,n2=new Pn(gtn,Phn),VZn=new Pn(mtn,!1),QZn=new Pn(ktn,!1),new at(XHn),Ihn=new n5,By=new Pn(jtn,Ihn),uI=new Pn(ttn,!1),new J9,nne=new Pn(VHn,1),new Pn(QHn,!0),Q(0),new Pn(JHn,Q(100)),new Pn(YHn,!1),Q(0),new Pn(ZHn,Q(4e3)),Q(0),new Pn(nqn,Q(400)),new Pn(eqn,!1),new Pn(tqn,!1),new Pn(rqn,!0),new Pn(iqn,!1),XC(),XZn=new Pn(Jtn,phn=_H),ene=new Pn(Gen,10),tne=new Pn(Uen,10),zhn=new Pn(Wx,20),rne=new Pn(zen,10),Whn=new Pn(Yx,2),ine=new Pn(Wen,10),Xhn=new Pn(Xen,0),oI=new Pn(Jen,5),Vhn=new Pn(Ven,1),Qhn=new Pn(Qen,1),bd=new Pn(Wb,20),cne=new Pn(Yen,10),Zhn=new Pn(Zen,10),Rv=new at(ntn),Yhn=new fyn,Jhn=new Pn(Etn,Yhn),YZn=new at($B),JZn=new Pn(DB,Bhn=!1),Dhn=new Fd(5),Ohn=new Pn(otn,Dhn),xb(),e=u(Go(fi),9),$hn=new Ms(e,u(yo(e,e.length),9),0),e2=new Pn(W3,$hn),ig(),_hn=new Pn(ltn,Rhn=Yl),AH=new at(atn),PH=new at(dtn),IH=new at(btn),SH=new at(wtn),n=u(Go(T9),9),Fhn=new Ms(n,u(yo(n,n.length),9),0),ad=new Pn(Cg,Fhn),Nhn=Tn((xu(),_4)),Ql=new Pn(wv,Nhn),Lhn=new fn(0,0),t2=new Pn(gv,Lhn),cI=new Pn(OB,!1),vf(),CH=new Pn(vtn,yhn=L4),TH=new Pn(hS,!1),new at(cqn),Q(1),new Pn(uqn,null),Khn=new at(ytn),OH=new at(ptn),J(),r2=new Pn(rtn,Uhn=Xi),Ru=new at(etn),Su(),qhn=Tn(na),mw=new Pn(X3,qhn),DH=new Pn(ftn,!1),Ghn=new Pn(htn,!0),xy=new Pn(ctn,!1),MH=new Pn(utn,!1),Thn=new Pn(Xx,1),kM(),new Pn(sqn,Chn=xH),ZZn=!0}function G(){var n,e;G=F,rt=new at(Znn),xun=new at("coordinateOrigin"),cK=new at("processors"),Nun=new er("compoundNode",(Hn(),!1)),ay=new er("insideConnections",!1),Kun=new at("originalBendpoints"),Hun=new at("originalDummyNodePosition"),qun=new at("originalLabelEdge"),by=new at("representedLabels"),qm=new at("endLabels"),Av=new at("endLabel.origin"),Iv=new er("labelSide",(hs(),Hy)),qg=new er("maxEdgeThickness",0),Pf=new er("reversed",!1),Ov=new at(nen),rf=new er("longEdgeSource",null),io=new er("longEdgeTarget",null),uw=new er("longEdgeHasLabelDummies",!1),dy=new er("longEdgeBeforeLabelDummy",!1),fP=new er("edgeConstraint",(Fa(),HR)),L0=new at("inLayerLayoutUnit"),id=new er("inLayerConstraint",(Yh(),hy)),Pv=new er("inLayerSuccessorConstraint",new X),Run=new er("inLayerSuccessorConstraintBetweenNonDummies",!1),Au=new at("portDummy"),oP=new er("crossingHint",Q(0)),Ac=new er("graphProperties",new Ms(e=u(Go(VR),9),u(yo(e,e.length),9),0)),tc=new er("externalPortSide",(J(),Xi)),_un=new er("externalPortSize",new $r),nK=new at("externalPortReplacedDummies"),hP=new at("externalPortReplacedDummy"),cw=new er("externalPortConnections",new Ms(n=u(Go(Qr),9),u(yo(n,n.length),9),0)),N0=new er(FKn,0),Lun=new at("barycenterAssociates"),Dv=new at("TopSideComments"),Sv=new at("BottomSideComments"),sP=new at("CommentConnectionPort"),tK=new er("inputCollect",!1),iK=new er("outputCollect",!1),ly=new er("cyclic",!1),Bun=new at("crossHierarchyMap"),sK=new at("targetOffset"),new er("splineLabelSize",new $r),Ug=new at("spacings"),lP=new er("partitionConstraint",!1),$0=new at("breakingPoint.info"),zun=new at("splines.survivingEdge"),cd=new at("splines.route.start"),zg=new at("splines.edgeChain"),Uun=new at("originalPortConstraints"),j4=new at("selfLoopHolder"),E4=new at("splines.nsPortY"),bc=new at("modelOrder"),rK=new at("longEdgeTargetNode"),F0=new er(bHn,!1),Gg=new er(bHn,!1),eK=new at("layerConstraints.hiddenNodes"),Gun=new at("layerConstraints.opposidePort"),uK=new at("targetNode.modelOrder")}function vnn(){vnn=F,b7(),ZXn=new Pn(oen,rsn=nP),lVn=new Pn(fen,(Hn(),!1)),KT(),gVn=new Pn(bS,fsn=ZR),OVn=new Pn(hen,!1),DVn=new Pn(len,!0),AXn=new Pn(aen,!1),h7(),WVn=new Pn(den,vsn=FK),Q(1),eQn=new Pn(ben,Q(7)),tQn=new Pn(wen,!1),aVn=new Pn(gen,!1),Ha(),YXn=new Pn(cB,tsn=RR),pM(),IVn=new Pn(Fk,asn=SK),Fs(),jVn=new Pn(ven,hsn=wy),Q(-1),yVn=new Pn(pen,Q(-1)),Q(-1),EVn=new Pn(men,Q(-1)),Q(-1),TVn=new Pn(uB,Q(4)),Q(-1),MVn=new Pn(sB,Q(2)),bg(),PVn=new Pn(oB,lsn=OP),Q(0),AVn=new Pn(fB,Q(0)),mVn=new Pn(hB,Q(Ze)),W2(),JXn=new Pn(hm,esn=Cv),BXn=new Pn(ken,!1),UXn=new Pn(lB,.1),VXn=new Pn(aB,!1),Q(-1),WXn=new Pn(yen,Q(-1)),Q(-1),XXn=new Pn(jen,Q(-1)),Q(0),_Xn=new Pn(Een,Q(40)),t3(),qXn=new Pn(dB,nsn=JR),RXn=new Pn(wS,Zun=fy),I6(),zVn=new Pn(Mg,gsn=Ym),xVn=new at(gS),u7(),$Vn=new Pn(bB,dsn=tP),z7(),LVn=new Pn(wB,bsn=rP),new J9,RVn=new Pn(gB,.3),HVn=new at(vB),Ib(),qVn=new Pn(pB,wsn=IP),PC(),iVn=new Pn(Ten,usn=NK),n7(),cVn=new Pn(Cen,ssn=xK),f3(),uVn=new Pn(vS,osn=e9),oVn=new Pn(pS,.2),tVn=new Pn(mB,2),JVn=new Pn(Men,null),ZVn=new Pn(Sen,10),YVn=new Pn(Aen,10),nQn=new Pn(Pen,20),Q(0),XVn=new Pn(Ien,Q(0)),Q(0),VVn=new Pn(Oen,Q(0)),Q(0),QVn=new Pn(Den,Q(0)),PXn=new Pn(kB,!1),E3(),OXn=new Pn($en,Vun=Rm),YT(),IXn=new Pn(Fen,Xun=BR),bVn=new Pn(mS,!1),Q(0),dVn=new Pn(yB,Q(16)),Q(0),wVn=new Pn(jB,Q(5)),FC(),jQn=new Pn(h1,ksn=RK),rQn=new Pn(kS,10),uQn=new Pn(yS,1),gC(),dQn=new Pn(lm,msn=ZA),fQn=new at(EB),psn=Q(1),Q(0),lQn=new Pn(TB,psn),SC(),MQn=new Pn(jS,ysn=_K),EQn=new at(ES),pQn=new Pn(TS,!0),gQn=new Pn(CS,2),kQn=new Pn(CB,!0),jM(),eVn=new Pn(Len,csn=eP),tv(),nVn=new Pn(Nen,isn=g4),n1(),xXn=new Pn(MS,Yun=Wl),NXn=new Pn(xen,!1),c0(),DXn=new Pn(MB,Qun=Ng),m6(),LXn=new Pn(Ben,Jun=AK),$Xn=new Pn(SB,0),FXn=new Pn(AB,0),pVn=KR,vVn=oy,CVn=AP,SVn=AP,kVn=MK,e1(),zXn=Q1,QXn=Cv,GXn=Cv,KXn=Cv,HXn=Q1,BVn=Zm,_Vn=Ym,FVn=Ym,NVn=Ym,KVn=DK,UVn=Zm,GVn=Zm,r1(),sVn=Kv,fVn=Kv,hVn=e9,rVn=Ry,iQn=I4,cQn=gw,sQn=I4,oQn=gw,bQn=I4,wQn=gw,hQn=_R,aQn=ZA,SQn=I4,AQn=gw,TQn=I4,CQn=gw,mQn=gw,vQn=gw,yQn=gw}function ti(){ti=F,Fcn=new qt("DIRECTION_PREPROCESSOR",0),Ocn=new qt("COMMENT_PREPROCESSOR",1),Lm=new qt("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),TR=new qt("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),Zcn=new qt("PARTITION_PREPROCESSOR",4),FA=new qt("LABEL_DUMMY_INSERTER",5),GA=new qt("SELF_LOOP_PREPROCESSOR",6),a4=new qt("LAYER_CONSTRAINT_PREPROCESSOR",7),Jcn=new qt("PARTITION_MIDPROCESSOR",8),Hcn=new qt("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),Vcn=new qt("NODE_PROMOTION",10),l4=new qt("LAYER_CONSTRAINT_POSTPROCESSOR",11),Ycn=new qt("PARTITION_POSTPROCESSOR",12),_cn=new qt("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),nun=new qt("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Ccn=new qt("BREAKING_POINT_INSERTER",15),BA=new qt("LONG_EDGE_SPLITTER",16),CR=new qt("PORT_SIDE_PROCESSOR",17),DA=new qt("INVERTED_PORT_PROCESSOR",18),KA=new qt("PORT_LIST_SORTER",19),tun=new qt("SORT_BY_INPUT_ORDER_OF_MODEL",20),RA=new qt("NORTH_SOUTH_PORT_PREPROCESSOR",21),Mcn=new qt("BREAKING_POINT_PROCESSOR",22),Qcn=new qt(uHn,23),run=new qt(sHn,24),HA=new qt("SELF_LOOP_PORT_RESTORER",25),eun=new qt("SINGLE_EDGE_GRAPH_WRAPPER",26),$A=new qt("IN_LAYER_CONSTRAINT_PROCESSOR",27),Ncn=new qt("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),Wcn=new qt("LABEL_AND_NODE_SIZE_PROCESSOR",29),zcn=new qt("INNERMOST_NODE_MARGIN_CALCULATOR",30),UA=new qt("SELF_LOOP_ROUTER",31),Pcn=new qt("COMMENT_NODE_MARGIN_CALCULATOR",32),OA=new qt("END_LABEL_PREPROCESSOR",33),NA=new qt("LABEL_DUMMY_SWITCHER",34),Acn=new qt("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),h4=new qt("LABEL_SIDE_SELECTOR",36),Gcn=new qt("HYPEREDGE_DUMMY_MERGER",37),Rcn=new qt("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),Xcn=new qt("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),Nm=new qt("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),Dcn=new qt("CONSTRAINTS_POSTPROCESSOR",41),Icn=new qt("COMMENT_POSTPROCESSOR",42),Ucn=new qt("HYPERNODE_PROCESSOR",43),Kcn=new qt("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),xA=new qt("LONG_EDGE_JOINER",45),qA=new qt("SELF_LOOP_POSTPROCESSOR",46),Scn=new qt("BREAKING_POINT_REMOVER",47),_A=new qt("NORTH_SOUTH_PORT_POSTPROCESSOR",48),qcn=new qt("HORIZONTAL_COMPACTOR",49),LA=new qt("LABEL_DUMMY_REMOVER",50),xcn=new qt("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),Lcn=new qt("END_LABEL_SORTER",52),uy=new qt("REVERSED_EDGE_RESTORER",53),IA=new qt("END_LABEL_POSTPROCESSOR",54),Bcn=new qt("HIERARCHICAL_NODE_RESIZER",55),$cn=new qt("DIRECTION_POSTPROCESSOR",56)}function Qe(){Qe=F,N9=new yd(7),hln=new ph(8,94),new ph(8,64),lln=new ph(8,36),Nee=new ph(8,65),xee=new ph(8,122),Bee=new ph(8,90),Ree=new ph(8,98),Lee=new ph(8,66),_ee=new ph(8,60),Kee=new ph(8,62),fln=new yd(11),Ec(II=new cs(4),48,57),Ec(q4=new cs(4),48,57),Ec(q4,65,90),Ec(q4,95,95),Ec(q4,97,122),Ec(zv=new cs(4),9,9),Ec(zv,10,10),Ec(zv,12,12),Ec(zv,13,13),Ec(zv,32,32),aln=Kb(II),bln=Kb(q4),dln=Kb(zv),H4=new we,L9=new we,Fee=S(M(tn,1),q,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),sln=S(M(tn,1),q,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",cUn,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),oln=S(M(be,1),Ne,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function VM(){VM=F,Ezn=new Ds("OUT_T_L",0,(Mu(),oh),(Yc(),Do),(Vo(),nc),nc,S(M(ro,1),rn,21,0,[vt((xb(),xo),S(M(fi,1),U,93,0,[Bo,Lo]))])),jzn=new Ds("OUT_T_C",1,Kl,Do,nc,Nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[Bo,b1])),vt(xo,S(M(fi,1),U,93,0,[Bo,b1,uo]))])),Tzn=new Ds("OUT_T_R",2,Oo,Do,nc,ec,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[Bo,No]))])),bzn=new Ds("OUT_B_L",3,oh,tf,ec,nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[so,Lo]))])),dzn=new Ds("OUT_B_C",4,Kl,tf,ec,Nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[so,b1])),vt(xo,S(M(fi,1),U,93,0,[so,b1,uo]))])),wzn=new Ds("OUT_B_R",5,Oo,tf,ec,ec,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[so,No]))])),pzn=new Ds("OUT_L_T",6,Oo,tf,nc,nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[Lo,Bo,uo]))])),vzn=new Ds("OUT_L_C",7,Oo,Hl,Nc,nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[Lo,xh])),vt(xo,S(M(fi,1),U,93,0,[Lo,xh,uo]))])),gzn=new Ds("OUT_L_B",8,Oo,Do,ec,nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[Lo,so,uo]))])),yzn=new Ds("OUT_R_T",9,oh,tf,nc,ec,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[No,Bo,uo]))])),kzn=new Ds("OUT_R_C",10,oh,Hl,Nc,ec,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[No,xh])),vt(xo,S(M(fi,1),U,93,0,[No,xh,uo]))])),mzn=new Ds("OUT_R_B",11,oh,Do,ec,ec,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[No,so,uo]))])),lzn=new Ds("IN_T_L",12,oh,tf,nc,nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[Bo,Lo])),vt(vs,S(M(fi,1),U,93,0,[Bo,Lo,uo]))])),hzn=new Ds("IN_T_C",13,Kl,tf,nc,Nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[Bo,b1])),vt(vs,S(M(fi,1),U,93,0,[Bo,b1,uo]))])),azn=new Ds("IN_T_R",14,Oo,tf,nc,ec,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[Bo,No])),vt(vs,S(M(fi,1),U,93,0,[Bo,No,uo]))])),ozn=new Ds("IN_C_L",15,oh,Hl,Nc,nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[xh,Lo])),vt(vs,S(M(fi,1),U,93,0,[xh,Lo,uo]))])),szn=new Ds("IN_C_C",16,Kl,Hl,Nc,Nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[xh,b1])),vt(vs,S(M(fi,1),U,93,0,[xh,b1,uo]))])),fzn=new Ds("IN_C_R",17,Oo,Hl,Nc,ec,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[xh,No])),vt(vs,S(M(fi,1),U,93,0,[xh,No,uo]))])),czn=new Ds("IN_B_L",18,oh,Do,ec,nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[so,Lo])),vt(vs,S(M(fi,1),U,93,0,[so,Lo,uo]))])),izn=new Ds("IN_B_C",19,Kl,Do,ec,Nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[so,b1])),vt(vs,S(M(fi,1),U,93,0,[so,b1,uo]))])),uzn=new Ds("IN_B_R",20,Oo,Do,ec,ec,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[so,No])),vt(vs,S(M(fi,1),U,93,0,[so,No,uo]))])),nR=new Ds(rm,21,null,null,null,null,S(M(ro,1),rn,21,0,[]))}function Sn(){Sn=F,Cw=(pl(),Nn).b,u(O(_(Nn.b),0),34),u(O(_(Nn.b),1),18),J1=Nn.a,u(O(_(Nn.a),0),34),u(O(_(Nn.a),1),18),u(O(_(Nn.a),2),18),u(O(_(Nn.a),3),18),u(O(_(Nn.a),4),18),ia=Nn.o,u(O(_(Nn.o),0),34),u(O(_(Nn.o),1),34),nee=u(O(_(Nn.o),2),18),u(O(_(Nn.o),3),18),u(O(_(Nn.o),4),18),u(O(_(Nn.o),5),18),u(O(_(Nn.o),6),18),u(O(_(Nn.o),7),18),u(O(_(Nn.o),8),18),u(O(_(Nn.o),9),18),u(O(_(Nn.o),10),18),u(O(_(Nn.o),11),18),u(O(_(Nn.o),12),18),u(O(_(Nn.o),13),18),u(O(_(Nn.o),14),18),u(O(_(Nn.o),15),18),u(O(st(Nn.o),0),59),u(O(st(Nn.o),1),59),u(O(st(Nn.o),2),59),u(O(st(Nn.o),3),59),u(O(st(Nn.o),4),59),u(O(st(Nn.o),5),59),u(O(st(Nn.o),6),59),u(O(st(Nn.o),7),59),u(O(st(Nn.o),8),59),u(O(st(Nn.o),9),59),Zne=Nn.p,u(O(_(Nn.p),0),34),u(O(_(Nn.p),1),34),u(O(_(Nn.p),2),34),u(O(_(Nn.p),3),34),u(O(_(Nn.p),4),18),u(O(_(Nn.p),5),18),u(O(st(Nn.p),0),59),u(O(st(Nn.p),1),59),eee=Nn.q,u(O(_(Nn.q),0),34),ca=Nn.v,u(O(_(Nn.v),0),18),u(O(st(Nn.v),0),59),u(O(st(Nn.v),1),59),u(O(st(Nn.v),2),59),Y1=Nn.w,u(O(_(Nn.w),0),34),u(O(_(Nn.w),1),34),u(O(_(Nn.w),2),34),u(O(_(Nn.w),3),18),ua=Nn.B,u(O(_(Nn.B),0),18),u(O(st(Nn.B),0),59),u(O(st(Nn.B),1),59),u(O(st(Nn.B),2),59),tee=Nn.Q,u(O(_(Nn.Q),0),18),u(O(st(Nn.Q),0),59),ree=Nn.R,u(O(_(Nn.R),0),34),bo=Nn.S,u(O(st(Nn.S),0),59),u(O(st(Nn.S),1),59),u(O(st(Nn.S),2),59),u(O(st(Nn.S),3),59),u(O(st(Nn.S),4),59),u(O(st(Nn.S),5),59),u(O(st(Nn.S),6),59),u(O(st(Nn.S),7),59),u(O(st(Nn.S),8),59),u(O(st(Nn.S),9),59),u(O(st(Nn.S),10),59),u(O(st(Nn.S),11),59),u(O(st(Nn.S),12),59),u(O(st(Nn.S),13),59),u(O(st(Nn.S),14),59),Z1=Nn.T,u(O(_(Nn.T),0),18),u(O(_(Nn.T),2),18),iee=u(O(_(Nn.T),3),18),u(O(_(Nn.T),4),18),u(O(st(Nn.T),0),59),u(O(st(Nn.T),1),59),u(O(_(Nn.T),1),18),nl=Nn.U,u(O(_(Nn.U),0),34),u(O(_(Nn.U),1),34),u(O(_(Nn.U),2),18),u(O(_(Nn.U),3),18),u(O(_(Nn.U),4),18),u(O(_(Nn.U),5),18),u(O(st(Nn.U),0),59),Mw=Nn.V,u(O(_(Nn.V),0),18),i2=Nn.W,u(O(_(Nn.W),0),34),u(O(_(Nn.W),1),34),u(O(_(Nn.W),2),34),u(O(_(Nn.W),3),18),u(O(_(Nn.W),4),18),u(O(_(Nn.W),5),18),cee=Nn.bb,u(O(_(Nn.bb),0),34),u(O(_(Nn.bb),1),34),u(O(_(Nn.bb),2),34),u(O(_(Nn.bb),3),34),u(O(_(Nn.bb),4),34),u(O(_(Nn.bb),5),34),u(O(_(Nn.bb),6),34),u(O(_(Nn.bb),7),18),u(O(st(Nn.bb),0),59),u(O(st(Nn.bb),1),59),uee=Nn.eb,u(O(_(Nn.eb),0),34),u(O(_(Nn.eb),1),34),u(O(_(Nn.eb),2),34),u(O(_(Nn.eb),3),34),u(O(_(Nn.eb),4),34),u(O(_(Nn.eb),5),34),u(O(_(Nn.eb),6),18),u(O(_(Nn.eb),7),18),Jr=Nn.ab,u(O(_(Nn.ab),0),34),u(O(_(Nn.ab),1),34),z0=Nn.H,u(O(_(Nn.H),0),18),u(O(_(Nn.H),1),18),u(O(_(Nn.H),2),18),u(O(_(Nn.H),3),18),u(O(_(Nn.H),4),18),u(O(_(Nn.H),5),18),u(O(st(Nn.H),0),59),W0=Nn.db,u(O(_(Nn.db),0),18),Ff=Nn.M}function HRn(n){Od(n,new qa(zG(_j(Sd(Td(Md(Cd(new aa,Qn),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new jwn),Qn),vt((M3(),qH),S(M(yI,1),U,237,0,[mI,kI,pI,HH,vI,gI]))))),Z(n,Qn,Gen,cn(kK)),Z(n,Qn,Uen,cn(eon)),Z(n,Qn,Wx,cn(py)),Z(n,Qn,zen,cn($o)),Z(n,Qn,Yx,cn(Lv)),Z(n,Qn,Wen,cn(R0)),Z(n,Qn,Xen,cn(ww)),Z(n,Qn,Ven,cn(A4)),Z(n,Qn,Qen,cn(P4)),Z(n,Qn,Jen,cn(yK)),Z(n,Qn,Wb,cn(K0)),Z(n,Qn,Yen,cn(jK)),Z(n,Qn,Zen,cn(Qm)),Z(n,Qn,ntn,cn(CP)),Z(n,Qn,Men,cn(vy)),Z(n,Qn,Aen,cn(Wg)),Z(n,Qn,Sen,cn(fd)),Z(n,Qn,Pen,cn(Xg)),Z(n,Qn,Pk,Q(0)),Z(n,Qn,Ien,cn(S4)),Z(n,Qn,Oen,cn(non)),Z(n,Qn,Den,cn(Fv)),Z(n,Qn,h1,cn(fon)),Z(n,Qn,kS,cn(ton)),Z(n,Qn,yS,cn(ron)),Z(n,Qn,lm,cn(TK)),Z(n,Qn,EB,cn(ion)),Z(n,Qn,TB,cn(con)),Z(n,Qn,jS,cn(MP)),Z(n,Qn,ES,cn(CK)),Z(n,Qn,TS,cn(son)),Z(n,Qn,CS,cn(uon)),Z(n,Qn,CB,cn(oon)),Z(n,Qn,vB,cn(B0)),Z(n,Qn,pB,cn(Vm)),Z(n,Qn,vS,cn(wK)),Z(n,Qn,pS,cn(Dsn)),Z(n,Qn,j0,Vsn),Z(n,Qn,Nk,Psn),Z(n,Qn,etn,0),Z(n,Qn,fS,Q(1)),Z(n,Qn,bv,z3),Z(n,Qn,ttn,cn(od)),Z(n,Qn,Zx,cn(Nt)),Z(n,Qn,rtn,cn(M4)),Z(n,Qn,Bk,cn(IQn)),Z(n,Qn,itn,cn(hh)),Z(n,Qn,SS,cn(hw)),Z(n,Qn,cm,(Hn(),!0)),Z(n,Qn,ctn,cn(lw)),Z(n,Qn,utn,cn(ud)),Z(n,Qn,Cg,cn(sd)),Z(n,Qn,wv,cn(TP)),Z(n,Qn,OB,cn(mK)),Z(n,Qn,stn,Asn),Z(n,Qn,W3,cn(x0)),Z(n,Qn,otn,cn(jP)),Z(n,Qn,X3,cn(dw)),Z(n,Qn,ftn,cn(NQn)),Z(n,Qn,htn,cn(Ysn)),Z(n,Qn,ltn,Jsn),Z(n,Qn,atn,cn($Qn)),Z(n,Qn,dtn,cn(FQn)),Z(n,Qn,btn,cn(LQn)),Z(n,Qn,wtn,cn(DQn)),Z(n,Qn,wen,cn(EK)),Z(n,Qn,Fk,cn(qsn)),Z(n,Qn,oB,cn(vK)),Z(n,Qn,ben,cn(Jm)),Z(n,Qn,ven,cn(qc)),Z(n,Qn,cB,cn(fw)),Z(n,Qn,hm,cn(Wm)),Z(n,Qn,ken,cn(ow)),Z(n,Qn,Een,cn(Csn)),Z(n,Qn,dB,cn(lK)),Z(n,Qn,wS,cn(gy)),Z(n,Qn,aB,cn(aK)),Z(n,Qn,hen,cn(Gsn)),Z(n,Qn,len,cn(Usn)),Z(n,Qn,bS,cn(Bsn)),Z(n,Qn,Mg,cn(EP)),Z(n,Qn,wB,cn(pK)),Z(n,Qn,fen,cn(gK)),Z(n,Qn,gB,cn(Wsn)),Z(n,Qn,Ten,cn(Osn)),Z(n,Qn,Cen,cn(bK)),Z(n,Qn,AS,cn(hK)),Z(n,Qn,bB,cn(zsn)),Z(n,Qn,$en,cn(bP)),Z(n,Qn,Fen,cn(jsn)),Z(n,Qn,kB,cn(dP)),Z(n,Qn,mS,cn(Lsn)),Z(n,Qn,yB,cn(Fsn)),Z(n,Qn,jB,cn(Nsn)),Z(n,Qn,gv,cn(T4)),Z(n,Qn,gtn,cn(Ci)),Z(n,Qn,Xx,cn(G1)),Z(n,Qn,vtn,cn(lh)),Z(n,Qn,hS,cn(dK)),Z(n,Qn,lB,cn(Msn)),Z(n,Qn,ptn,cn(U1)),Z(n,Qn,mtn,cn(zm)),Z(n,Qn,ktn,cn(mP)),Z(n,Qn,ytn,cn(_0)),Z(n,Qn,DB,cn(Qsn)),Z(n,Qn,$B,cn(C4)),Z(n,Qn,uB,cn(Rsn)),Z(n,Qn,sB,cn(Ksn)),Z(n,Qn,PS,cn(bw)),Z(n,Qn,aen,cn(oK)),Z(n,Qn,fB,cn(Hsn)),Z(n,Qn,Len,cn(pP)),Z(n,Qn,Nen,cn(vP)),Z(n,Qn,jtn,cn(yP)),Z(n,Qn,hB,cn(_sn)),Z(n,Qn,gS,cn(Xm)),Z(n,Qn,Etn,cn(my)),Z(n,Qn,oen,cn(Ssn)),Z(n,Qn,den,cn(Zsn)),Z(n,Qn,mB,cn(Isn)),Z(n,Qn,pen,cn(OQn)),Z(n,Qn,yen,cn(PQn)),Z(n,Qn,FB,cn(xsn)),Z(n,Qn,men,cn(kP)),Z(n,Qn,jen,cn(gP)),Z(n,Qn,MS,cn(zl)),Z(n,Qn,Ben,cn(Tsn)),Z(n,Qn,SB,cn(wP)),Z(n,Qn,AB,cn(Esn)),Z(n,Qn,xen,cn(fK)),Z(n,Qn,MB,cn($v)),Z(n,Qn,gen,cn($sn))}function yg(n,e){var r;return s2||(s2=new we,K4=new we,Qe(),Qe(),x7(r=new cs(4),"\t\n\r\r "),ki(s2,S_,r),ki(K4,S_,Kb(r)),x7(r=new cs(4),rUn),ki(s2,Am,r),ki(K4,Am,Kb(r)),x7(r=new cs(4),rUn),ki(s2,Am,r),ki(K4,Am,Kb(r)),x7(r=new cs(4),iUn),Hb(r,u(kc(s2,Am),117)),ki(s2,M_,r),ki(K4,M_,Kb(r)),x7(r=new cs(4),"-.0:AZ__az\xb7\xb7\xc0\xd6\xd8\xf6\xf8\u0131\u0134\u013e\u0141\u0148\u014a\u017e\u0180\u01c3\u01cd\u01f0\u01f4\u01f5\u01fa\u0217\u0250\u02a8\u02bb\u02c1\u02d0\u02d1\u0300\u0345\u0360\u0361\u0386\u038a\u038c\u038c\u038e\u03a1\u03a3\u03ce\u03d0\u03d6\u03da\u03da\u03dc\u03dc\u03de\u03de\u03e0\u03e0\u03e2\u03f3\u0401\u040c\u040e\u044f\u0451\u045c\u045e\u0481\u0483\u0486\u0490\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0\u04eb\u04ee\u04f5\u04f8\u04f9\u0531\u0556\u0559\u0559\u0561\u0586\u0591\u05a1\u05a3\u05b9\u05bb\u05bd\u05bf\u05bf\u05c1\u05c2\u05c4\u05c4\u05d0\u05ea\u05f0\u05f2\u0621\u063a\u0640\u0652\u0660\u0669\u0670\u06b7\u06ba\u06be\u06c0\u06ce\u06d0\u06d3\u06d5\u06e8\u06ea\u06ed\u06f0\u06f9\u0901\u0903\u0905\u0939\u093c\u094d\u0951\u0954\u0958\u0963\u0966\u096f\u0981\u0983\u0985\u098c\u098f\u0990\u0993\u09a8\u09aa\u09b0\u09b2\u09b2\u09b6\u09b9\u09bc\u09bc\u09be\u09c4\u09c7\u09c8\u09cb\u09cd\u09d7\u09d7\u09dc\u09dd\u09df\u09e3\u09e6\u09f1\u0a02\u0a02\u0a05\u0a0a\u0a0f\u0a10\u0a13\u0a28\u0a2a\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3c\u0a3c\u0a3e\u0a42\u0a47\u0a48\u0a4b\u0a4d\u0a59\u0a5c\u0a5e\u0a5e\u0a66\u0a74\u0a81\u0a83\u0a85\u0a8b\u0a8d\u0a8d\u0a8f\u0a91\u0a93\u0aa8\u0aaa\u0ab0\u0ab2\u0ab3\u0ab5\u0ab9\u0abc\u0ac5\u0ac7\u0ac9\u0acb\u0acd\u0ae0\u0ae0\u0ae6\u0aef\u0b01\u0b03\u0b05\u0b0c\u0b0f\u0b10\u0b13\u0b28\u0b2a\u0b30\u0b32\u0b33\u0b36\u0b39\u0b3c\u0b43\u0b47\u0b48\u0b4b\u0b4d\u0b56\u0b57\u0b5c\u0b5d\u0b5f\u0b61\u0b66\u0b6f\u0b82\u0b83\u0b85\u0b8a\u0b8e\u0b90\u0b92\u0b95\u0b99\u0b9a\u0b9c\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8\u0baa\u0bae\u0bb5\u0bb7\u0bb9\u0bbe\u0bc2\u0bc6\u0bc8\u0bca\u0bcd\u0bd7\u0bd7\u0be7\u0bef\u0c01\u0c03\u0c05\u0c0c\u0c0e\u0c10\u0c12\u0c28\u0c2a\u0c33\u0c35\u0c39\u0c3e\u0c44\u0c46\u0c48\u0c4a\u0c4d\u0c55\u0c56\u0c60\u0c61\u0c66\u0c6f\u0c82\u0c83\u0c85\u0c8c\u0c8e\u0c90\u0c92\u0ca8\u0caa\u0cb3\u0cb5\u0cb9\u0cbe\u0cc4\u0cc6\u0cc8\u0cca\u0ccd\u0cd5\u0cd6\u0cde\u0cde\u0ce0\u0ce1\u0ce6\u0cef\u0d02\u0d03\u0d05\u0d0c\u0d0e\u0d10\u0d12\u0d28\u0d2a\u0d39\u0d3e\u0d43\u0d46\u0d48\u0d4a\u0d4d\u0d57\u0d57\u0d60\u0d61\u0d66\u0d6f\u0e01\u0e2e\u0e30\u0e3a\u0e40\u0e4e\u0e50\u0e59\u0e81\u0e82\u0e84\u0e84\u0e87\u0e88\u0e8a\u0e8a\u0e8d\u0e8d\u0e94\u0e97\u0e99\u0e9f\u0ea1\u0ea3\u0ea5\u0ea5\u0ea7\u0ea7\u0eaa\u0eab\u0ead\u0eae\u0eb0\u0eb9\u0ebb\u0ebd\u0ec0\u0ec4\u0ec6\u0ec6\u0ec8\u0ecd\u0ed0\u0ed9\u0f18\u0f19\u0f20\u0f29\u0f35\u0f35\u0f37\u0f37\u0f39\u0f39\u0f3e\u0f47\u0f49\u0f69\u0f71\u0f84\u0f86\u0f8b\u0f90\u0f95\u0f97\u0f97\u0f99\u0fad\u0fb1\u0fb7\u0fb9\u0fb9\u10a0\u10c5\u10d0\u10f6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110b\u110c\u110e\u1112\u113c\u113c\u113e\u113e\u1140\u1140\u114c\u114c\u114e\u114e\u1150\u1150\u1154\u1155\u1159\u1159\u115f\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116d\u116e\u1172\u1173\u1175\u1175\u119e\u119e\u11a8\u11a8\u11ab\u11ab\u11ae\u11af\u11b7\u11b8\u11ba\u11ba\u11bc\u11c2\u11eb\u11eb\u11f0\u11f0\u11f9\u11f9\u1e00\u1e9b\u1ea0\u1ef9\u1f00\u1f15\u1f18\u1f1d\u1f20\u1f45\u1f48\u1f4d\u1f50\u1f57\u1f59\u1f59\u1f5b\u1f5b\u1f5d\u1f5d\u1f5f\u1f7d\u1f80\u1fb4\u1fb6\u1fbc\u1fbe\u1fbe\u1fc2\u1fc4\u1fc6\u1fcc\u1fd0\u1fd3\u1fd6\u1fdb\u1fe0\u1fec\u1ff2\u1ff4\u1ff6\u1ffc\u20d0\u20dc\u20e1\u20e1\u2126\u2126\u212a\u212b\u212e\u212e\u2180\u2182\u3005\u3005\u3007\u3007\u3021\u302f\u3031\u3035\u3041\u3094\u3099\u309a\u309d\u309e\u30a1\u30fa\u30fc\u30fe\u3105\u312c\u4e00\u9fa5\uac00\ud7a3"),ki(s2,A_,r),ki(K4,A_,Kb(r)),x7(r=new cs(4),iUn),Ec(r,95,95),Ec(r,58,58),ki(s2,P_,r),ki(K4,P_,Kb(r))),u(kc(e?s2:K4,n),136)}function Pe(n){return Mn("_UI_EMFDiagnostic_marker",n)?"EMF Problem":Mn("_UI_CircularContainment_diagnostic",n)?"An object may not circularly contain itself":Mn(xqn,n)?"Wrong character.":Mn(Bqn,n)?"Invalid reference number.":Mn(HS,n)?"A character is required after \\.":Mn(w_,n)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":Mn(_qn,n)?"'(?<' or '(? toIndex: ",Inn=", toIndex: ",Onn="Index: ",Dnn=", Size: ",H3="org.eclipse.elk.alg.common",ft={62:1},gKn="org.eclipse.elk.alg.common.compaction",vKn="Scanline/EventHandler",Ih="org.eclipse.elk.alg.common.compaction.oned",pKn="CNode belongs to another CGroup.",mKn="ISpacingsHandler/1",Lx="The ",Nx=" instance has been finished already.",kKn="The direction ",yKn=" is not supported by the CGraph instance.",jKn="OneDimensionalCompactor",EKn="OneDimensionalCompactor/lambda$0$Type",TKn="Quadruplet",CKn="ScanlineConstraintCalculator",MKn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",SKn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",AKn="ScanlineConstraintCalculator/Timestamp",PKn="ScanlineConstraintCalculator/lambda$0$Type",Zf={169:1,45:1},xx="org.eclipse.elk.alg.common.compaction.options",Wi="org.eclipse.elk.core.data",$nn="org.eclipse.elk.polyomino.traversalStrategy",Fnn="org.eclipse.elk.polyomino.lowLevelSort",Lnn="org.eclipse.elk.polyomino.highLevelSort",Nnn="org.eclipse.elk.polyomino.fill",Js={130:1},Bx="polyomino",tm="org.eclipse.elk.alg.common.networksimplex",Oh={177:1,3:1,4:1},IKn="org.eclipse.elk.alg.common.nodespacing",Wa="org.eclipse.elk.alg.common.nodespacing.cellsystem",q3="CENTER",OKn={212:1,326:1},xnn={3:1,4:1,5:1,595:1},lv="LEFT",av="RIGHT",Bnn="Vertical alignment cannot be null",_nn="BOTTOM",rS="org.eclipse.elk.alg.common.nodespacing.internal",rm="UNDEFINED",Tf=.01,Mk="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",DKn="LabelPlacer/lambda$0$Type",$Kn="LabelPlacer/lambda$1$Type",FKn="portRatioOrPosition",G3="org.eclipse.elk.alg.common.overlaps",_x="DOWN",nh="org.eclipse.elk.alg.common.polyomino",iS="NORTH",Rx="EAST",Kx="SOUTH",Hx="WEST",cS="org.eclipse.elk.alg.common.polyomino.structures",Rnn="Direction",qx="Grid is only of size ",Gx=". Requested point (",Ux=") is out of bounds.",uS=" Given center based coordinates were (",Sk="org.eclipse.elk.graph.properties",LKn="IPropertyHolder",Knn={3:1,94:1,134:1},dv="org.eclipse.elk.alg.common.spore",NKn="org.eclipse.elk.alg.common.utils",Xa={209:1},Eg="org.eclipse.elk.core",xKn="Connected Components Compaction",BKn="org.eclipse.elk.alg.disco",sS="org.eclipse.elk.alg.disco.graph",zx="org.eclipse.elk.alg.disco.options",Hnn="CompactionStrategy",qnn="org.eclipse.elk.disco.componentCompaction.strategy",Gnn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",Unn="org.eclipse.elk.disco.debug.discoGraph",znn="org.eclipse.elk.disco.debug.discoPolys",_Kn="componentCompaction",Va="org.eclipse.elk.disco",Wx="org.eclipse.elk.spacing.componentComponent",Xx="org.eclipse.elk.edge.thickness",bv="org.eclipse.elk.aspectRatio",j0="org.eclipse.elk.padding",Tg="org.eclipse.elk.alg.disco.transform",Vx=1.5707963267948966,U3=17976931348623157e292,zb={3:1,4:1,5:1,192:1},Wnn={3:1,6:1,4:1,5:1,106:1,120:1},Xnn="org.eclipse.elk.alg.force",Vnn="ComponentsProcessor",RKn="ComponentsProcessor/1",Ak="org.eclipse.elk.alg.force.graph",KKn="Component Layout",Qnn="org.eclipse.elk.alg.force.model",oS="org.eclipse.elk.force.model",Jnn="org.eclipse.elk.force.iterations",Ynn="org.eclipse.elk.force.repulsivePower",Qx="org.eclipse.elk.force.temperature",eh=.001,Jx="org.eclipse.elk.force.repulsion",im="org.eclipse.elk.alg.force.options",z3=1.600000023841858,ds="org.eclipse.elk.force",Pk="org.eclipse.elk.priority",Wb="org.eclipse.elk.spacing.nodeNode",Yx="org.eclipse.elk.spacing.edgeLabel",fS="org.eclipse.elk.randomSeed",cm="org.eclipse.elk.separateConnectedComponents",Ik="org.eclipse.elk.interactive",Zx="org.eclipse.elk.portConstraints",hS="org.eclipse.elk.edgeLabels.inline",um="org.eclipse.elk.omitNodeMicroLayout",wv="org.eclipse.elk.nodeSize.options",Cg="org.eclipse.elk.nodeSize.constraints",W3="org.eclipse.elk.nodeLabels.placement",X3="org.eclipse.elk.portLabels.placement",Znn="origin",nen="random",HKn="boundingBox.upLeft",qKn="boundingBox.lowRight",een="org.eclipse.elk.stress.fixed",ten="org.eclipse.elk.stress.desiredEdgeLength",ren="org.eclipse.elk.stress.dimension",ien="org.eclipse.elk.stress.epsilon",cen="org.eclipse.elk.stress.iterationLimit",Nl="org.eclipse.elk.stress",GKn="ELK Stress",gv="org.eclipse.elk.nodeSize.minimum",lS="org.eclipse.elk.alg.force.stress",UKn="Layered layout",vv="org.eclipse.elk.alg.layered",Ok="org.eclipse.elk.alg.layered.compaction.components",sm="org.eclipse.elk.alg.layered.compaction.oned",aS="org.eclipse.elk.alg.layered.compaction.oned.algs",Qa="org.eclipse.elk.alg.layered.compaction.recthull",th="org.eclipse.elk.alg.layered.components",f1="NONE",lc={3:1,6:1,4:1,9:1,5:1,122:1},zKn={3:1,6:1,4:1,5:1,141:1,106:1,120:1},dS="org.eclipse.elk.alg.layered.compound",Lt={51:1},Lc="org.eclipse.elk.alg.layered.graph",nB=" -> ",WKn="Not supported by LGraph",uen="Port side is undefined",eB={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},_1={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},XKn={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},JKn="The given string contains parts that cannot be parsed as numbers.",Dk="org.eclipse.elk.core.math",YKn={3:1,4:1,142:1,207:1,414:1},ZKn={3:1,4:1,116:1,207:1,414:1},Qn="org.eclipse.elk.layered",R1="org.eclipse.elk.alg.layered.graph.transform",nHn="ElkGraphImporter",eHn="ElkGraphImporter/lambda$0$Type",tHn="ElkGraphImporter/lambda$1$Type",rHn="ElkGraphImporter/lambda$2$Type",iHn="ElkGraphImporter/lambda$4$Type",cHn="Node margin calculation",Un="org.eclipse.elk.alg.layered.intermediate",uHn="ONE_SIDED_GREEDY_SWITCH",sHn="TWO_SIDED_GREEDY_SWITCH",tB="No implementation is available for the layout processor ",sen="IntermediateProcessorStrategy",rB="Node '",oHn="FIRST_SEPARATE",fHn="LAST_SEPARATE",hHn="Odd port side processing",Xt="org.eclipse.elk.alg.layered.intermediate.compaction",om="org.eclipse.elk.alg.layered.intermediate.greedyswitch",Dh="org.eclipse.elk.alg.layered.p3order.counting",$k={225:1},pv="org.eclipse.elk.alg.layered.intermediate.loops",bs="org.eclipse.elk.alg.layered.intermediate.loops.ordering",xl="org.eclipse.elk.alg.layered.intermediate.loops.routing",fm="org.eclipse.elk.alg.layered.intermediate.preserveorder",rh="org.eclipse.elk.alg.layered.intermediate.wrapping",ac="org.eclipse.elk.alg.layered.options",iB="INTERACTIVE",lHn="DEPTH_FIRST",aHn="EDGE_LENGTH",dHn="SELF_LOOPS",bHn="firstTryWithInitialOrder",oen="org.eclipse.elk.layered.directionCongruency",fen="org.eclipse.elk.layered.feedbackEdges",bS="org.eclipse.elk.layered.interactiveReferencePoint",hen="org.eclipse.elk.layered.mergeEdges",len="org.eclipse.elk.layered.mergeHierarchyEdges",aen="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",den="org.eclipse.elk.layered.portSortingStrategy",ben="org.eclipse.elk.layered.thoroughness",wen="org.eclipse.elk.layered.unnecessaryBendpoints",gen="org.eclipse.elk.layered.generatePositionAndLayerIds",cB="org.eclipse.elk.layered.cycleBreaking.strategy",Fk="org.eclipse.elk.layered.layering.strategy",ven="org.eclipse.elk.layered.layering.layerConstraint",pen="org.eclipse.elk.layered.layering.layerChoiceConstraint",men="org.eclipse.elk.layered.layering.layerId",uB="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",sB="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",oB="org.eclipse.elk.layered.layering.nodePromotion.strategy",fB="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",hB="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",hm="org.eclipse.elk.layered.crossingMinimization.strategy",ken="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",lB="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",aB="org.eclipse.elk.layered.crossingMinimization.semiInteractive",yen="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",jen="org.eclipse.elk.layered.crossingMinimization.positionId",Een="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",dB="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",wS="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",Mg="org.eclipse.elk.layered.nodePlacement.strategy",gS="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",bB="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",wB="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",gB="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",vB="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",pB="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Ten="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Cen="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",vS="org.eclipse.elk.layered.edgeRouting.splines.mode",pS="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",mB="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Men="org.eclipse.elk.layered.spacing.baseValue",Sen="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Aen="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Pen="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Ien="org.eclipse.elk.layered.priority.direction",Oen="org.eclipse.elk.layered.priority.shortness",Den="org.eclipse.elk.layered.priority.straightness",kB="org.eclipse.elk.layered.compaction.connectedComponents",$en="org.eclipse.elk.layered.compaction.postCompaction.strategy",Fen="org.eclipse.elk.layered.compaction.postCompaction.constraints",mS="org.eclipse.elk.layered.highDegreeNodes.treatment",yB="org.eclipse.elk.layered.highDegreeNodes.threshold",jB="org.eclipse.elk.layered.highDegreeNodes.treeHeight",h1="org.eclipse.elk.layered.wrapping.strategy",kS="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",yS="org.eclipse.elk.layered.wrapping.correctionFactor",lm="org.eclipse.elk.layered.wrapping.cutting.strategy",EB="org.eclipse.elk.layered.wrapping.cutting.cuts",TB="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",jS="org.eclipse.elk.layered.wrapping.validify.strategy",ES="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",TS="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",CS="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",CB="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",Len="org.eclipse.elk.layered.edgeLabels.sideSelection",Nen="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",MS="org.eclipse.elk.layered.considerModelOrder.strategy",xen="org.eclipse.elk.layered.considerModelOrder.noModelOrder",MB="org.eclipse.elk.layered.considerModelOrder.components",Ben="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",SB="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",AB="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",PB="layering",wHn="layering.minWidth",gHn="layering.nodePromotion",Lk="crossingMinimization",SS="org.eclipse.elk.hierarchyHandling",vHn="crossingMinimization.greedySwitch",pHn="nodePlacement",mHn="nodePlacement.bk",kHn="edgeRouting",Nk="org.eclipse.elk.edgeRouting",Cf="spacing",_en="priority",Ren="compaction",yHn="compaction.postCompaction",jHn="Specifies whether and how post-process compaction is applied.",Ken="highDegreeNodes",Hen="wrapping",EHn="wrapping.cutting",THn="wrapping.validify",qen="wrapping.multiEdge",IB="edgeLabels",xk="considerModelOrder",Gen="org.eclipse.elk.spacing.commentComment",Uen="org.eclipse.elk.spacing.commentNode",zen="org.eclipse.elk.spacing.edgeEdge",Wen="org.eclipse.elk.spacing.edgeNode",Xen="org.eclipse.elk.spacing.labelLabel",Ven="org.eclipse.elk.spacing.labelPortHorizontal",Qen="org.eclipse.elk.spacing.labelPortVertical",Jen="org.eclipse.elk.spacing.labelNode",Yen="org.eclipse.elk.spacing.nodeSelfLoop",Zen="org.eclipse.elk.spacing.portPort",ntn="org.eclipse.elk.spacing.individual",etn="org.eclipse.elk.port.borderOffset",ttn="org.eclipse.elk.noLayout",rtn="org.eclipse.elk.port.side",Bk="org.eclipse.elk.debugMode",itn="org.eclipse.elk.alignment",ctn="org.eclipse.elk.insideSelfLoops.activate",utn="org.eclipse.elk.insideSelfLoops.yo",OB="org.eclipse.elk.nodeSize.fixedGraphSize",stn="org.eclipse.elk.direction",otn="org.eclipse.elk.nodeLabels.padding",ftn="org.eclipse.elk.portLabels.nextToPortIfPossible",htn="org.eclipse.elk.portLabels.treatAsGroup",ltn="org.eclipse.elk.portAlignment.default",atn="org.eclipse.elk.portAlignment.north",dtn="org.eclipse.elk.portAlignment.south",btn="org.eclipse.elk.portAlignment.west",wtn="org.eclipse.elk.portAlignment.east",AS="org.eclipse.elk.contentAlignment",gtn="org.eclipse.elk.junctionPoints",vtn="org.eclipse.elk.edgeLabels.placement",ptn="org.eclipse.elk.port.index",mtn="org.eclipse.elk.commentBox",ktn="org.eclipse.elk.hypernode",ytn="org.eclipse.elk.port.anchor",DB="org.eclipse.elk.partitioning.activate",$B="org.eclipse.elk.partitioning.partition",PS="org.eclipse.elk.position",jtn="org.eclipse.elk.margins",Etn="org.eclipse.elk.spacing.portsSurrounding",FB="org.eclipse.elk.interactiveLayout",dc="org.eclipse.elk.core.util",Ttn={3:1,4:1,5:1,593:1},CHn="NETWORK_SIMPLEX",Cc={123:1,51:1},IS="org.eclipse.elk.alg.layered.p1cycles",Xb="org.eclipse.elk.alg.layered.p2layers",Ctn={402:1,225:1},MHn={832:1,3:1,4:1},mu="org.eclipse.elk.alg.layered.p3order",oi="org.eclipse.elk.alg.layered.p4nodes",SHn={3:1,4:1,5:1,840:1},ih=1e-5,Bl="org.eclipse.elk.alg.layered.p4nodes.bk",LB="org.eclipse.elk.alg.layered.p5edges",nf="org.eclipse.elk.alg.layered.p5edges.orthogonal",NB="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",xB=1e-6,Vb="org.eclipse.elk.alg.layered.p5edges.splines",BB=.09999999999999998,OS=1e-8,AHn=4.71238898038469,PHn=3.141592653589793,am="org.eclipse.elk.alg.mrtree",dm="org.eclipse.elk.alg.mrtree.graph",mv="org.eclipse.elk.alg.mrtree.intermediate",IHn="Set neighbors in level",OHn="DESCENDANTS",Mtn="org.eclipse.elk.mrtree.weighting",Stn="org.eclipse.elk.mrtree.searchOrder",DS="org.eclipse.elk.alg.mrtree.options",K1="org.eclipse.elk.mrtree",DHn="org.eclipse.elk.tree",Atn="org.eclipse.elk.alg.radial",Sg=6.283185307179586,Ptn=5e-324,$Hn="org.eclipse.elk.alg.radial.intermediate",_B="org.eclipse.elk.alg.radial.intermediate.compaction",FHn={3:1,4:1,5:1,106:1},Itn="org.eclipse.elk.alg.radial.intermediate.optimization",RB="No implementation is available for the layout option ",bm="org.eclipse.elk.alg.radial.options",Otn="org.eclipse.elk.radial.orderId",Dtn="org.eclipse.elk.radial.radius",KB="org.eclipse.elk.radial.compactor",HB="org.eclipse.elk.radial.compactionStepSize",$tn="org.eclipse.elk.radial.sorter",Ftn="org.eclipse.elk.radial.wedgeCriteria",Ltn="org.eclipse.elk.radial.optimizationCriteria",ch="org.eclipse.elk.radial",LHn="org.eclipse.elk.alg.radial.p1position.wedge",Ntn="org.eclipse.elk.alg.radial.sorting",NHn=5.497787143782138,xHn=3.9269908169872414,BHn=2.356194490192345,_Hn="org.eclipse.elk.alg.rectpacking",$S="org.eclipse.elk.alg.rectpacking.firstiteration",qB="org.eclipse.elk.alg.rectpacking.options",xtn="org.eclipse.elk.rectpacking.optimizationGoal",Btn="org.eclipse.elk.rectpacking.lastPlaceShift",_tn="org.eclipse.elk.rectpacking.currentPosition",Rtn="org.eclipse.elk.rectpacking.desiredPosition",Ktn="org.eclipse.elk.rectpacking.onlyFirstIteration",Htn="org.eclipse.elk.rectpacking.rowCompaction",GB="org.eclipse.elk.rectpacking.expandToAspectRatio",qtn="org.eclipse.elk.rectpacking.targetWidth",FS="org.eclipse.elk.expandNodes",Ys="org.eclipse.elk.rectpacking",_k="org.eclipse.elk.alg.rectpacking.util",LS="No implementation available for ",Qb="org.eclipse.elk.alg.spore",Jb="org.eclipse.elk.alg.spore.options",E0="org.eclipse.elk.sporeCompaction",UB="org.eclipse.elk.underlyingLayoutAlgorithm",Gtn="org.eclipse.elk.processingOrder.treeConstruction",Utn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",zB="org.eclipse.elk.processingOrder.preferredRoot",WB="org.eclipse.elk.processingOrder.rootSelection",XB="org.eclipse.elk.structure.structureExtractionStrategy",ztn="org.eclipse.elk.compaction.compactionStrategy",Wtn="org.eclipse.elk.compaction.orthogonal",Xtn="org.eclipse.elk.overlapRemoval.maxIterations",Vtn="org.eclipse.elk.overlapRemoval.runScanline",VB="processingOrder",RHn="overlapRemoval",V3="org.eclipse.elk.sporeOverlap",KHn="org.eclipse.elk.alg.spore.p1structure",QB="org.eclipse.elk.alg.spore.p2processingorder",JB="org.eclipse.elk.alg.spore.p3execution",HHn="Invalid index: ",Q3="org.eclipse.elk.core.alg",Ag={331:1},Yb={288:1},qHn="Make sure its type is registered with the ",Qtn=" utility class.",J3="true",YB="false",GHn="Couldn't clone property '",T0=.05,Zs="org.eclipse.elk.core.options",UHn=1.2999999523162842,C0="org.eclipse.elk.box",Jtn="org.eclipse.elk.box.packingMode",zHn="org.eclipse.elk.algorithm",WHn="org.eclipse.elk.resolvedAlgorithm",Ytn="org.eclipse.elk.bendPoints",XHn="org.eclipse.elk.labelManager",VHn="org.eclipse.elk.scaleFactor",QHn="org.eclipse.elk.animate",JHn="org.eclipse.elk.animTimeFactor",YHn="org.eclipse.elk.layoutAncestors",ZHn="org.eclipse.elk.maxAnimTime",nqn="org.eclipse.elk.minAnimTime",eqn="org.eclipse.elk.progressBar",tqn="org.eclipse.elk.validateGraph",rqn="org.eclipse.elk.validateOptions",iqn="org.eclipse.elk.zoomToFit",cqn="org.eclipse.elk.font.name",uqn="org.eclipse.elk.font.size",sqn="org.eclipse.elk.edge.type",oqn="partitioning",fqn="nodeLabels",NS="portAlignment",ZB="nodeSize",n_="port",Ztn="portLabels",hqn="insideSelfLoops",wm="org.eclipse.elk.fixed",xS="org.eclipse.elk.random",lqn="port must have a parent node to calculate the port side",aqn="The edge needs to have exactly one edge section. Found: ",gm="org.eclipse.elk.core.util.adapters",Ns="org.eclipse.emf.ecore",Pg="org.eclipse.elk.graph",dqn="EMapPropertyHolder",bqn="ElkBendPoint",wqn="ElkGraphElement",gqn="ElkConnectableShape",nrn="ElkEdge",vqn="ElkEdgeSection",pqn="EModelElement",mqn="ENamedElement",ern="ElkLabel",trn="ElkNode",rrn="ElkPort",kqn={92:1,90:1},kv="org.eclipse.emf.common.notify.impl",_l="The feature '",vm="' is not a valid changeable feature",yqn="Expecting null",e_="' is not a valid feature",jqn="The feature ID",Eqn=" is not a valid feature ID",sc=32768,Tqn={105:1,92:1,90:1,56:1,49:1,97:1},xn="org.eclipse.emf.ecore.impl",Ja="org.eclipse.elk.graph.impl",pm="Recursive containment not allowed for ",Y3="The datatype '",M0="' is not a valid classifier",t_="The value '",Ig={190:1,3:1,4:1},r_="The class '",Z3="http://www.eclipse.org/elk/ElkGraph",Io=1024,irn="property",mm="value",i_="source",Cqn="properties",Mqn="identifier",c_="height",u_="width",s_="parent",o_="text",f_="children",Sqn="hierarchical",crn="sources",h_="targets",urn="sections",BS="bendPoints",srn="outgoingShape",orn="incomingShape",frn="outgoingSections",hrn="incomingSections",Hr="org.eclipse.emf.common.util",lrn="Severe implementation error in the Json to ElkGraph importer.",uh="id",Or="org.eclipse.elk.graph.json",arn="Unhandled parameter types: ",Aqn="startPoint",Pqn="An edge must have at least one source and one target (edge id: '",n4="').",Iqn="Referenced edge section does not exist: ",Oqn=" (edge id: '",drn="target",Dqn="sourcePoint",$qn="targetPoint",_S="group",ze="name",Fqn="connectableShape cannot be null",Lqn="edge cannot be null",l_="Passed edge is not 'simple'.",RS="org.eclipse.elk.graph.util",Rk="The 'no duplicates' constraint is violated",a_="targetIndex=",Ya=", size=",d_="sourceIndex=",sh={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},b_={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},KS="logging",Nqn="measureExecutionTime",xqn="parser.parse.1",Bqn="parser.parse.2",HS="parser.next.1",w_="parser.next.2",_qn="parser.next.3",Rqn="parser.next.4",Za="parser.factor.1",brn="parser.factor.2",Kqn="parser.factor.3",Hqn="parser.factor.4",qqn="parser.factor.5",Gqn="parser.factor.6",Uqn="parser.atom.1",zqn="parser.atom.2",Wqn="parser.atom.3",wrn="parser.atom.4",g_="parser.atom.5",grn="parser.cc.1",qS="parser.cc.2",Xqn="parser.cc.3",Vqn="parser.cc.5",vrn="parser.cc.6",prn="parser.cc.7",v_="parser.cc.8",Qqn="parser.ope.1",Jqn="parser.ope.2",Yqn="parser.ope.3",H1="parser.descape.1",Zqn="parser.descape.2",nGn="parser.descape.3",eGn="parser.descape.4",tGn="parser.descape.5",xs="parser.process.1",rGn="parser.quantifier.1",iGn="parser.quantifier.2",cGn="parser.quantifier.3",uGn="parser.quantifier.4",mrn="parser.quantifier.5",sGn="org.eclipse.emf.common.notify",krn={415:1,672:1},oGn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},Kk={366:1,143:1},km="index=",p_={3:1,4:1,5:1,126:1},fGn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},yrn={3:1,6:1,4:1,5:1,192:1},hGn={3:1,4:1,5:1,165:1,367:1},lGn=";/?:@&=+$,",aGn="invalid authority: ",dGn="EAnnotation",bGn="ETypedElement",wGn="EStructuralFeature",gGn="EAttribute",vGn="EClassifier",pGn="EEnumLiteral",mGn="EGenericType",kGn="EOperation",yGn="EParameter",jGn="EReference",EGn="ETypeParameter",pt="org.eclipse.emf.ecore.util",m_={76:1},jrn={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},TGn="org.eclipse.emf.ecore.util.FeatureMap$Entry",ku=8192,Zb=2048,ym="byte",GS="char",jm="double",Em="float",Tm="int",Cm="long",Mm="short",CGn="java.lang.Object",Og={3:1,4:1,5:1,247:1},Ern={3:1,4:1,5:1,673:1},MGn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},Bi={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},Hk="mixed",Le="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",no="kind",SGn={3:1,4:1,5:1,674:1},Trn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},US={20:1,28:1,52:1,14:1,15:1,58:1,69:1},zS={47:1,125:1,279:1},WS={72:1,332:1},XS="The value of type '",VS="' must be of type '",Dg=1316,eo="http://www.eclipse.org/emf/2002/Ecore",QS=-32768,S0="constraints",Nr="baseType",AGn="getEStructuralFeature",PGn="getFeatureID",Sm="feature",IGn="getOperationID",Crn="operation",OGn="defaultValue",DGn="eTypeParameters",$Gn="isInstance",FGn="getEEnumLiteral",LGn="eContainingClass",qe={55:1},NGn={3:1,4:1,5:1,119:1},xGn="org.eclipse.emf.ecore.resource",BGn={92:1,90:1,591:1,1935:1},k_="org.eclipse.emf.ecore.resource.impl",Mrn="unspecified",qk="simple",JS="attribute",_Gn="attributeWildcard",YS="element",y_="elementWildcard",ef="collapse",j_="itemType",ZS="namespace",Gk="##targetNamespace",to="whiteSpace",Srn="wildcards",nd="http://www.eclipse.org/emf/2003/XMLType",E_="##any",e4="uninitialized",Uk="The multiplicity constraint is violated",nA="org.eclipse.emf.ecore.xml.type",RGn="ProcessingInstruction",KGn="SimpleAnyType",HGn="XMLTypeDocumentRoot",Ut="org.eclipse.emf.ecore.xml.type.impl",zk="INF",qGn="processing",GGn="ENTITIES_._base",Arn="minLength",Prn="ENTITY",eA="NCName",UGn="IDREFS_._base",Irn="integer",T_="token",C_="pattern",zGn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",Orn="\\i\\c*",WGn="[\\i-[:]][\\c-[:]]*",XGn="nonPositiveInteger",Wk="maxInclusive",Drn="NMTOKEN",VGn="NMTOKENS_._base",$rn="nonNegativeInteger",Xk="minInclusive",QGn="normalizedString",JGn="unsignedByte",YGn="unsignedInt",ZGn="18446744073709551615",nUn="unsignedShort",eUn="processingInstruction",q1="org.eclipse.emf.ecore.xml.type.internal",t4=1114111,tUn="Internal Error: shorthands: \\u",Am="xml:isDigit",M_="xml:isWord",S_="xml:isSpace",A_="xml:isNameChar",P_="xml:isInitialNameChar",rUn="09\u0660\u0669\u06f0\u06f9\u0966\u096f\u09e6\u09ef\u0a66\u0a6f\u0ae6\u0aef\u0b66\u0b6f\u0be7\u0bef\u0c66\u0c6f\u0ce6\u0cef\u0d66\u0d6f\u0e50\u0e59\u0ed0\u0ed9\u0f20\u0f29",iUn="AZaz\xc0\xd6\xd8\xf6\xf8\u0131\u0134\u013e\u0141\u0148\u014a\u017e\u0180\u01c3\u01cd\u01f0\u01f4\u01f5\u01fa\u0217\u0250\u02a8\u02bb\u02c1\u0386\u0386\u0388\u038a\u038c\u038c\u038e\u03a1\u03a3\u03ce\u03d0\u03d6\u03da\u03da\u03dc\u03dc\u03de\u03de\u03e0\u03e0\u03e2\u03f3\u0401\u040c\u040e\u044f\u0451\u045c\u045e\u0481\u0490\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0\u04eb\u04ee\u04f5\u04f8\u04f9\u0531\u0556\u0559\u0559\u0561\u0586\u05d0\u05ea\u05f0\u05f2\u0621\u063a\u0641\u064a\u0671\u06b7\u06ba\u06be\u06c0\u06ce\u06d0\u06d3\u06d5\u06d5\u06e5\u06e6\u0905\u0939\u093d\u093d\u0958\u0961\u0985\u098c\u098f\u0990\u0993\u09a8\u09aa\u09b0\u09b2\u09b2\u09b6\u09b9\u09dc\u09dd\u09df\u09e1\u09f0\u09f1\u0a05\u0a0a\u0a0f\u0a10\u0a13\u0a28\u0a2a\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59\u0a5c\u0a5e\u0a5e\u0a72\u0a74\u0a85\u0a8b\u0a8d\u0a8d\u0a8f\u0a91\u0a93\u0aa8\u0aaa\u0ab0\u0ab2\u0ab3\u0ab5\u0ab9\u0abd\u0abd\u0ae0\u0ae0\u0b05\u0b0c\u0b0f\u0b10\u0b13\u0b28\u0b2a\u0b30\u0b32\u0b33\u0b36\u0b39\u0b3d\u0b3d\u0b5c\u0b5d\u0b5f\u0b61\u0b85\u0b8a\u0b8e\u0b90\u0b92\u0b95\u0b99\u0b9a\u0b9c\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8\u0baa\u0bae\u0bb5\u0bb7\u0bb9\u0c05\u0c0c\u0c0e\u0c10\u0c12\u0c28\u0c2a\u0c33\u0c35\u0c39\u0c60\u0c61\u0c85\u0c8c\u0c8e\u0c90\u0c92\u0ca8\u0caa\u0cb3\u0cb5\u0cb9\u0cde\u0cde\u0ce0\u0ce1\u0d05\u0d0c\u0d0e\u0d10\u0d12\u0d28\u0d2a\u0d39\u0d60\u0d61\u0e01\u0e2e\u0e30\u0e30\u0e32\u0e33\u0e40\u0e45\u0e81\u0e82\u0e84\u0e84\u0e87\u0e88\u0e8a\u0e8a\u0e8d\u0e8d\u0e94\u0e97\u0e99\u0e9f\u0ea1\u0ea3\u0ea5\u0ea5\u0ea7\u0ea7\u0eaa\u0eab\u0ead\u0eae\u0eb0\u0eb0\u0eb2\u0eb3\u0ebd\u0ebd\u0ec0\u0ec4\u0f40\u0f47\u0f49\u0f69\u10a0\u10c5\u10d0\u10f6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110b\u110c\u110e\u1112\u113c\u113c\u113e\u113e\u1140\u1140\u114c\u114c\u114e\u114e\u1150\u1150\u1154\u1155\u1159\u1159\u115f\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116d\u116e\u1172\u1173\u1175\u1175\u119e\u119e\u11a8\u11a8\u11ab\u11ab\u11ae\u11af\u11b7\u11b8\u11ba\u11ba\u11bc\u11c2\u11eb\u11eb\u11f0\u11f0\u11f9\u11f9\u1e00\u1e9b\u1ea0\u1ef9\u1f00\u1f15\u1f18\u1f1d\u1f20\u1f45\u1f48\u1f4d\u1f50\u1f57\u1f59\u1f59\u1f5b\u1f5b\u1f5d\u1f5d\u1f5f\u1f7d\u1f80\u1fb4\u1fb6\u1fbc\u1fbe\u1fbe\u1fc2\u1fc4\u1fc6\u1fcc\u1fd0\u1fd3\u1fd6\u1fdb\u1fe0\u1fec\u1ff2\u1ff4\u1ff6\u1ffc\u2126\u2126\u212a\u212b\u212e\u212e\u2180\u2182\u3007\u3007\u3021\u3029\u3041\u3094\u30a1\u30fa\u3105\u312c\u4e00\u9fa5\uac00\ud7a3",cUn="Private Use",I_="ASSIGNED",O_="\0\x7f\x80\xff\u0100\u017f\u0180\u024f\u0250\u02af\u02b0\u02ff\u0300\u036f\u0370\u03ff\u0400\u04ff\u0530\u058f\u0590\u05ff\u0600\u06ff\u0700\u074f\u0780\u07bf\u0900\u097f\u0980\u09ff\u0a00\u0a7f\u0a80\u0aff\u0b00\u0b7f\u0b80\u0bff\u0c00\u0c7f\u0c80\u0cff\u0d00\u0d7f\u0d80\u0dff\u0e00\u0e7f\u0e80\u0eff\u0f00\u0fff\u1000\u109f\u10a0\u10ff\u1100\u11ff\u1200\u137f\u13a0\u13ff\u1400\u167f\u1680\u169f\u16a0\u16ff\u1780\u17ff\u1800\u18af\u1e00\u1eff\u1f00\u1fff\u2000\u206f\u2070\u209f\u20a0\u20cf\u20d0\u20ff\u2100\u214f\u2150\u218f\u2190\u21ff\u2200\u22ff\u2300\u23ff\u2400\u243f\u2440\u245f\u2460\u24ff\u2500\u257f\u2580\u259f\u25a0\u25ff\u2600\u26ff\u2700\u27bf\u2800\u28ff\u2e80\u2eff\u2f00\u2fdf\u2ff0\u2fff\u3000\u303f\u3040\u309f\u30a0\u30ff\u3100\u312f\u3130\u318f\u3190\u319f\u31a0\u31bf\u3200\u32ff\u3300\u33ff\u3400\u4db5\u4e00\u9fff\ua000\ua48f\ua490\ua4cf\uac00\ud7a3\ue000\uf8ff\uf900\ufaff\ufb00\ufb4f\ufb50\ufdff\ufe20\ufe2f\ufe30\ufe4f\ufe50\ufe6f\ufe70\ufefe\ufeff\ufeff\uff00\uffef",Frn="UNASSIGNED",r4={3:1,117:1},uUn="org.eclipse.emf.ecore.xml.type.util",tA={3:1,4:1,5:1,368:1},Lrn="org.eclipse.xtext.xbase.lib",sUn="Cannot add elements to a Range",oUn="Cannot set elements in a Range",fUn="Cannot remove elements from a Range",rA="locale",iA="default",cA="user.agent";j.goog=j.goog||{},j.goog.global=j.goog.global||j,function i5e(){uA={},!Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!Date.now&&(Date.now=function n(){return(new Date).getTime()})}(),b(1,null,{},Yr),s.Fb=function(e){return ryn(this,e)},s.Gb=function(){return this.gm},s.Hb=function(){return Ld(this)},s.Ib=function(){return sl(Fu(this))+"@"+(kt(this)>>>0).toString(16)},s.equals=function(n){return this.Fb(n)},s.hashCode=function(){return this.Hb()},s.toString=function(){return this.Ib()},b(290,1,{290:1,2026:1},lQ),s.le=function(e){var t;return(t=new lQ).i=4,t.c=e>1?kMn(this,e-1):this,t},s.me=function(){return Gh(this),this.b},s.ne=function(){return sl(this)},s.oe=function(){return Gh(this),this.k},s.pe=function(){return 0!=(4&this.i)},s.qe=function(){return 0!=(1&this.i)},s.Ib=function(){return MV(this)},s.i=0;var $_,Zn=w(zi,"Object",1),Nrn=w(zi,"Class",290);b(1998,1,gk),w(vk,"Optional",1998),b(1170,1998,gk,vi),s.Fb=function(e){return e===this},s.Hb=function(){return 2040732332},s.Ib=function(){return"Optional.absent()"},s.Jb=function(e){return ve(e),e5(),$_},w(vk,"Absent",1170),b(628,1,{},SO),w(vk,"Joiner",628);var $Ce=Et(vk,"Predicate");b(582,1,{169:1,582:1,3:1,45:1},r4n),s.Mb=function(e){return uDn(this,e)},s.Lb=function(e){return uDn(this,e)},s.Fb=function(e){var t;return!!I(e,582)&&(t=u(e,582),iZ(this.a,t.a))},s.Hb=function(){return gQ(this.a)+306654252},s.Ib=function(){return function G5e(n){var e,t,r,i;for(e=vl(De(new ts("Predicates."),"and"),40),t=!0,i=new V4(n);i.b0},s.Pb=function(){if(this.c>=this.d)throw C(new ic);return this.Xb(this.c++)},s.Tb=function(){return this.c},s.Ub=function(){if(this.c<=0)throw C(new ic);return this.Xb(--this.c)},s.Vb=function(){return this.c-1},s.c=0,s.d=0,w(an,"AbstractIndexedListIterator",386),b(699,198,N3),s.Ob=function(){return TF(this)},s.Pb=function(){return kV(this)},s.e=1,w(an,"AbstractIterator",699),b(1986,1,{224:1}),s.Zb=function(){return this.f||(this.f=this.ac())},s.Fb=function(e){return HF(this,e)},s.Hb=function(){return kt(this.Zb())},s.dc=function(){return 0==this.gc()},s.ec=function(){return $2(this)},s.Ib=function(){return xi(this.Zb())},w(an,"AbstractMultimap",1986),b(726,1986,Ua),s.$b=function(){vC(this)},s._b=function(e){return a8n(this,e)},s.ac=function(){return new lp(this,this.c)},s.ic=function(e){return this.hc()},s.bc=function(){return new qw(this,this.c)},s.jc=function(){return this.mc(this.hc())},s.kc=function(){return new I9n(this)},s.lc=function(){return VL(this.c.vc().Nc(),new qu,64,this.d)},s.cc=function(e){return it(this,e)},s.fc=function(e){return I7(this,e)},s.gc=function(){return this.d},s.mc=function(e){return An(),new Zv(e)},s.nc=function(){return new P9n(this)},s.oc=function(){return VL(this.c.Cc().Nc(),new Eu,64,this.d)},s.pc=function(e,t){return new JT(this,e,t,null)},s.d=0,w(an,"AbstractMapBasedMultimap",726),b(1631,726,Ua),s.hc=function(){return new Oc(this.a)},s.jc=function(){return An(),An(),Gr},s.cc=function(e){return u(it(this,e),15)},s.fc=function(e){return u(I7(this,e),15)},s.Zb=function(){return B2(this)},s.Fb=function(e){return HF(this,e)},s.qc=function(e){return u(it(this,e),15)},s.rc=function(e){return u(I7(this,e),15)},s.mc=function(e){return q8(u(e,15))},s.pc=function(e,t){return CSn(this,e,u(t,15),null)},w(an,"AbstractListMultimap",1631),b(732,1,mr),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return this.c.Ob()||this.e.Ob()},s.Pb=function(){var e;return this.e.Ob()||(e=u(this.c.Pb(),42),this.b=e.cd(),this.a=u(e.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},s.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},w(an,"AbstractMapBasedMultimap/Itr",732),b(1099,732,mr,P9n),s.sc=function(e,t){return t},w(an,"AbstractMapBasedMultimap/1",1099),b(1100,1,{},Eu),s.Kb=function(e){return u(e,14).Nc()},w(an,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),b(1101,732,mr,I9n),s.sc=function(e,t){return new Id(e,t)},w(an,"AbstractMapBasedMultimap/2",1101);var xrn=Et(fe,"Map");b(1967,1,k0),s.wc=function(e){g6(this,e)},s.yc=function(e,t,r){return cL(this,e,t,r)},s.$b=function(){this.vc().$b()},s.tc=function(e){return DL(this,e)},s._b=function(e){return!!sY(this,e,!1)},s.uc=function(e){var r,i;for(r=this.vc().Kc();r.Ob();)if(i=u(r.Pb(),42).dd(),B(e)===B(i)||null!=e&&et(e,i))return!0;return!1},s.Fb=function(e){var t,r,i;if(e===this)return!0;if(!I(e,83)||(i=u(e,83),this.gc()!=i.gc()))return!1;for(r=i.vc().Kc();r.Ob();)if(t=u(r.Pb(),42),!this.tc(t))return!1;return!0},s.xc=function(e){return Qi(sY(this,e,!1))},s.Hb=function(){return uQ(this.vc())},s.dc=function(){return 0==this.gc()},s.ec=function(){return new Yv(this)},s.zc=function(e,t){throw C(new p1("Put not supported on this map"))},s.Ac=function(e){w6(this,e)},s.Bc=function(e){return Qi(sY(this,e,!0))},s.gc=function(){return this.vc().gc()},s.Ib=function(){return oLn(this)},s.Cc=function(){return new Kh(this)},w(fe,"AbstractMap",1967),b(1987,1967,k0),s.bc=function(){return new Gj(this)},s.vc=function(){return TTn(this)},s.ec=function(){return this.g||(this.g=this.bc())},s.Cc=function(){return this.i||(this.i=new i7n(this))},w(an,"Maps/ViewCachingAbstractMap",1987),b(389,1987,k0,lp),s.xc=function(e){return function M0e(n,e){var t;return(t=u(Sb(n.d,e),14))?n.e.pc(e,t):null}(this,e)},s.Bc=function(e){return function Hwe(n,e){var t,r;return(t=u(n.d.Bc(e),14))?((r=n.e.hc()).Gc(t),n.e.d-=t.gc(),t.$b(),r):null}(this,e)},s.$b=function(){this.d==this.e.c?this.e.$b():ZE(new AW(this))},s._b=function(e){return _Dn(this.d,e)},s.Ec=function(){return new s4n(this)},s.Dc=function(){return this.Ec()},s.Fb=function(e){return this===e||et(this.d,e)},s.Hb=function(){return kt(this.d)},s.ec=function(){return this.e.ec()},s.gc=function(){return this.d.gc()},s.Ib=function(){return xi(this.d)},w(an,"AbstractMapBasedMultimap/AsMap",389);var Mf=Et(zi,"Iterable");b(28,1,qb),s.Jc=function(e){Ir(this,e)},s.Lc=function(){return this.Oc()},s.Nc=function(){return new Fn(this,0)},s.Oc=function(){return new Dn(null,this.Nc())},s.Fc=function(e){throw C(new p1("Add not supported on this collection"))},s.Gc=function(e){return zr(this,e)},s.$b=function(){dX(this)},s.Hc=function(e){return Ab(this,e,!1)},s.Ic=function(e){return y7(this,e)},s.dc=function(){return 0==this.gc()},s.Mc=function(e){return Ab(this,e,!0)},s.Pc=function(){return KW(this)},s.Qc=function(e){return R7(this,e)},s.Ib=function(){return Il(this)},w(fe,"AbstractCollection",28);var ro=Et(fe,"Set");b(Ef,28,pu),s.Nc=function(){return new Fn(this,1)},s.Fb=function(e){return D$n(this,e)},s.Hb=function(){return uQ(this)},w(fe,"AbstractSet",Ef),b(1970,Ef,pu),w(an,"Sets/ImprovedAbstractSet",1970),b(1971,1970,pu),s.$b=function(){this.Rc().$b()},s.Hc=function(e){return d$n(this,e)},s.dc=function(){return this.Rc().dc()},s.Mc=function(e){var t;return!!this.Hc(e)&&(t=u(e,42),this.Rc().ec().Mc(t.cd()))},s.gc=function(){return this.Rc().gc()},w(an,"Maps/EntrySet",1971),b(1097,1971,pu,s4n),s.Hc=function(e){return LQ(this.a.d.vc(),e)},s.Kc=function(){return new AW(this.a)},s.Rc=function(){return this.a},s.Mc=function(e){var t;return!!LQ(this.a.d.vc(),e)&&(t=u(e,42),ade(this.a.e,t.cd()),!0)},s.Nc=function(){return L8(this.a.d.vc().Nc(),new o4n(this.a))},w(an,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),b(1098,1,{},o4n),s.Kb=function(e){return bAn(this.a,u(e,42))},w(an,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),b(730,1,mr,AW),s.Nb=function(e){Ar(this,e)},s.Pb=function(){var e;return e=u(this.b.Pb(),42),this.a=u(e.dd(),14),bAn(this.c,e)},s.Ob=function(){return this.b.Ob()},s.Qb=function(){Yw(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},w(an,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),b(532,1970,pu,Gj),s.$b=function(){this.b.$b()},s.Hc=function(e){return this.b._b(e)},s.Jc=function(e){ve(e),this.b.wc(new C4n(e))},s.dc=function(){return this.b.dc()},s.Kc=function(){return new t5(this.b.vc().Kc())},s.Mc=function(e){return!!this.b._b(e)&&(this.b.Bc(e),!0)},s.gc=function(){return this.b.gc()},w(an,"Maps/KeySet",532),b(318,532,pu,qw),s.$b=function(){ZE(new nU(this,this.b.vc().Kc()))},s.Ic=function(e){return this.b.ec().Ic(e)},s.Fb=function(e){return this===e||et(this.b.ec(),e)},s.Hb=function(){return kt(this.b.ec())},s.Kc=function(){return new nU(this,this.b.vc().Kc())},s.Mc=function(e){var t,r;return r=0,(t=u(this.b.Bc(e),14))&&(r=t.gc(),t.$b(),this.a.d-=r),r>0},s.Nc=function(){return this.b.ec().Nc()},w(an,"AbstractMapBasedMultimap/KeySet",318),b(731,1,mr,nU),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return this.c.Ob()},s.Pb=function(){return this.a=u(this.c.Pb(),42),this.a.cd()},s.Qb=function(){var e;Yw(!!this.a),e=u(this.a.dd(),14),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},w(an,"AbstractMapBasedMultimap/KeySet/1",731),b(491,389,{83:1,161:1},A8),s.bc=function(){return this.Sc()},s.ec=function(){return this.Tc()},s.Sc=function(){return new i8(this.c,this.Uc())},s.Tc=function(){return this.b||(this.b=this.Sc())},s.Uc=function(){return u(this.d,161)},w(an,"AbstractMapBasedMultimap/SortedAsMap",491),b(542,491,WRn,RE),s.bc=function(){return new hp(this.a,u(u(this.d,161),171))},s.Sc=function(){return new hp(this.a,u(u(this.d,161),171))},s.ec=function(){return u(this.b||(this.b=new hp(this.a,u(u(this.d,161),171))),271)},s.Tc=function(){return u(this.b||(this.b=new hp(this.a,u(u(this.d,161),171))),271)},s.Uc=function(){return u(u(this.d,161),171)},w(an,"AbstractMapBasedMultimap/NavigableAsMap",542),b(490,318,XRn,i8),s.Nc=function(){return this.b.ec().Nc()},w(an,"AbstractMapBasedMultimap/SortedKeySet",490),b(388,490,mnn,hp),w(an,"AbstractMapBasedMultimap/NavigableKeySet",388),b(541,28,qb,JT),s.Fc=function(e){var t,r;return Lu(this),r=this.d.dc(),(t=this.d.Fc(e))&&(++this.f.d,r&&D8(this)),t},s.Gc=function(e){var t,r,i;return!e.dc()&&(Lu(this),i=this.d.gc(),(t=this.d.Gc(e))&&(r=this.d.gc(),this.f.d+=r-i,0==i&&D8(this)),t)},s.$b=function(){var e;Lu(this),0!=(e=this.d.gc())&&(this.d.$b(),this.f.d-=e,iT(this))},s.Hc=function(e){return Lu(this),this.d.Hc(e)},s.Ic=function(e){return Lu(this),this.d.Ic(e)},s.Fb=function(e){return e===this||(Lu(this),et(this.d,e))},s.Hb=function(){return Lu(this),kt(this.d)},s.Kc=function(){return Lu(this),new bW(this)},s.Mc=function(e){var t;return Lu(this),(t=this.d.Mc(e))&&(--this.f.d,iT(this)),t},s.gc=function(){return Hkn(this)},s.Nc=function(){return Lu(this),this.d.Nc()},s.Ib=function(){return Lu(this),xi(this.d)},w(an,"AbstractMapBasedMultimap/WrappedCollection",541);var Bs=Et(fe,"List");b(728,541,{20:1,28:1,14:1,15:1},qW),s.ad=function(e){Jw(this,e)},s.Nc=function(){return Lu(this),this.d.Nc()},s.Vc=function(e,t){var r;Lu(this),r=this.d.dc(),u(this.d,15).Vc(e,t),++this.a.d,r&&D8(this)},s.Wc=function(e,t){var r,i,c;return!t.dc()&&(Lu(this),c=this.d.gc(),(r=u(this.d,15).Wc(e,t))&&(i=this.d.gc(),this.a.d+=i-c,0==c&&D8(this)),r)},s.Xb=function(e){return Lu(this),u(this.d,15).Xb(e)},s.Xc=function(e){return Lu(this),u(this.d,15).Xc(e)},s.Yc=function(){return Lu(this),new yyn(this)},s.Zc=function(e){return Lu(this),new FCn(this,e)},s.$c=function(e){var t;return Lu(this),t=u(this.d,15).$c(e),--this.a.d,iT(this),t},s._c=function(e,t){return Lu(this),u(this.d,15)._c(e,t)},s.bd=function(e,t){return Lu(this),CSn(this.a,this.e,u(this.d,15).bd(e,t),this.b?this.b:this)},w(an,"AbstractMapBasedMultimap/WrappedList",728),b(1096,728,{20:1,28:1,14:1,15:1,54:1},ljn),w(an,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),b(620,1,mr,bW),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return Dp(this),this.b.Ob()},s.Pb=function(){return Dp(this),this.b.Pb()},s.Qb=function(){Xyn(this)},w(an,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),b(729,620,Mh,yyn,FCn),s.Qb=function(){Xyn(this)},s.Rb=function(e){var t;t=0==Hkn(this.a),(Dp(this),u(this.b,125)).Rb(e),++this.a.a.d,t&&D8(this.a)},s.Sb=function(){return(Dp(this),u(this.b,125)).Sb()},s.Tb=function(){return(Dp(this),u(this.b,125)).Tb()},s.Ub=function(){return(Dp(this),u(this.b,125)).Ub()},s.Vb=function(){return(Dp(this),u(this.b,125)).Vb()},s.Wb=function(e){(Dp(this),u(this.b,125)).Wb(e)},w(an,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),b(727,541,XRn,Lz),s.Nc=function(){return Lu(this),this.d.Nc()},w(an,"AbstractMapBasedMultimap/WrappedSortedSet",727),b(1095,727,mnn,dyn),w(an,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),b(1094,541,pu,Cjn),s.Nc=function(){return Lu(this),this.d.Nc()},w(an,"AbstractMapBasedMultimap/WrappedSet",1094),b(1103,1,{},qu),s.Kb=function(e){return function pde(n){var e;return e=n.cd(),L8(u(n.dd(),14).Nc(),new f4n(e))}(u(e,42))},w(an,"AbstractMapBasedMultimap/lambda$1$Type",1103),b(1102,1,{},f4n),s.Kb=function(e){return new Id(this.a,e)},w(an,"AbstractMapBasedMultimap/lambda$2$Type",1102);var F_,L_,N_,dUn,ed=Et(fe,"Map/Entry");b(345,1,QM),s.Fb=function(e){var t;return!!I(e,42)&&(t=u(e,42),Wf(this.cd(),t.cd())&&Wf(this.dd(),t.dd()))},s.Hb=function(){var e,t;return e=this.cd(),t=this.dd(),(null==e?0:kt(e))^(null==t?0:kt(t))},s.ed=function(e){throw C(new ye)},s.Ib=function(){return this.cd()+"="+this.dd()},w(an,VRn,345),b(1988,28,qb),s.$b=function(){this.fd().$b()},s.Hc=function(e){var t;return!!I(e,42)&&(t=u(e,42),function Yle(n,e,t){var r;return!!(r=u(n.Zb().xc(e),14))&&r.Hc(t)}(this.fd(),t.cd(),t.dd()))},s.Mc=function(e){var t;return!!I(e,42)&&(t=u(e,42),cSn(this.fd(),t.cd(),t.dd()))},s.gc=function(){return this.fd().d},w(an,"Multimaps/Entries",1988),b(733,1988,qb,Iq),s.Kc=function(){return this.a.kc()},s.fd=function(){return this.a},s.Nc=function(){return this.a.lc()},w(an,"AbstractMultimap/Entries",733),b(734,733,pu,IG),s.Nc=function(){return this.a.lc()},s.Fb=function(e){return CY(this,e)},s.Hb=function(){return uOn(this)},w(an,"AbstractMultimap/EntrySet",734),b(735,28,qb,Oq),s.$b=function(){this.a.$b()},s.Hc=function(e){return function Nwe(n,e){var r;for(r=n.Zb().Cc().Kc();r.Ob();)if(u(r.Pb(),14).Hc(e))return!0;return!1}(this.a,e)},s.Kc=function(){return this.a.nc()},s.gc=function(){return this.a.d},s.Nc=function(){return this.a.oc()},w(an,"AbstractMultimap/Values",735),b(1989,28,{835:1,20:1,28:1,14:1}),s.Jc=function(e){ve(e),Uw(this).Jc(new T4n(e))},s.Nc=function(){var e;return VL(e=Uw(this).Nc(),new hj,64|1296&e.qd(),this.a.d)},s.Fc=function(e){return _G(),!0},s.Gc=function(e){return ve(this),ve(e),I(e,543)?rae(u(e,835)):!e.dc()&&wF(this,e.Kc())},s.Hc=function(e){var t;return((t=u(Sb(B2(this.a),e),14))?t.gc():0)>0},s.Fb=function(e){return function Qme(n,e){var t,r,i;if(e===n)return!0;if(I(e,543)){if(i=u(e,835),n.a.d!=i.a.d||Uw(n).gc()!=Uw(i).gc())return!1;for(r=Uw(i).Kc();r.Ob();)if(LMn(n,(t=u(r.Pb(),416)).a.cd())!=u(t.a.dd(),14).gc())return!1;return!0}return!1}(this,e)},s.Hb=function(){return kt(Uw(this))},s.dc=function(){return Uw(this).dc()},s.Mc=function(e){return CNn(this,e,1)>0},s.Ib=function(){return xi(Uw(this))},w(an,"AbstractMultiset",1989),b(1991,1970,pu),s.$b=function(){vC(this.a.a)},s.Hc=function(e){var r;return!(!I(e,492)||(r=u(e,416),u(r.a.dd(),14).gc()<=0||LMn(this.a,r.a.cd())!=u(r.a.dd(),14).gc()))},s.Mc=function(e){var t,r,i;return!(!I(e,492)||(r=u(e,416),t=r.a.cd(),i=u(r.a.dd(),14).gc(),0==i))&&function B6e(n,e,t){var r,c,o;return os(t,"oldCount"),os(0,"newCount"),((r=u(Sb(B2(n.a),e),14))?r.gc():0)==t&&(os(0,"count"),(o=-((c=u(Sb(B2(n.a),e),14))?c.gc():0))>0?_G():o<0&&CNn(n,e,-o),!0)}(this.a,t,i)},w(an,"Multisets/EntrySet",1991),b(1109,1991,pu,h4n),s.Kc=function(){return new B9n(TTn(B2(this.a.a)).Kc())},s.gc=function(){return B2(this.a.a).gc()},w(an,"AbstractMultiset/EntrySet",1109),b(619,726,Ua),s.hc=function(){return this.gd()},s.jc=function(){return this.hd()},s.cc=function(e){return this.jd(e)},s.fc=function(e){return this.kd(e)},s.Zb=function(){return this.f||(this.f=this.ac())},s.hd=function(){return An(),An(),aA},s.Fb=function(e){return HF(this,e)},s.jd=function(e){return u(it(this,e),21)},s.kd=function(e){return u(I7(this,e),21)},s.mc=function(e){return An(),new up(u(e,21))},s.pc=function(e,t){return new Cjn(this,e,u(t,21))},w(an,"AbstractSetMultimap",619),b(1657,619,Ua),s.hc=function(){return new ol(this.b)},s.gd=function(){return new ol(this.b)},s.jc=function(){return iX(new ol(this.b))},s.hd=function(){return iX(new ol(this.b))},s.cc=function(e){return u(u(it(this,e),21),84)},s.jd=function(e){return u(u(it(this,e),21),84)},s.fc=function(e){return u(u(I7(this,e),21),84)},s.kd=function(e){return u(u(I7(this,e),21),84)},s.mc=function(e){return I(e,271)?iX(u(e,271)):(An(),new bz(u(e,84)))},s.Zb=function(){return this.f||(this.f=I(this.c,171)?new RE(this,u(this.c,171)):I(this.c,161)?new A8(this,u(this.c,161)):new lp(this,this.c))},s.pc=function(e,t){return I(t,271)?new dyn(this,e,u(t,271)):new Lz(this,e,u(t,84))},w(an,"AbstractSortedSetMultimap",1657),b(1658,1657,Ua),s.Zb=function(){return u(u(this.f||(this.f=I(this.c,171)?new RE(this,u(this.c,171)):I(this.c,161)?new A8(this,u(this.c,161)):new lp(this,this.c)),161),171)},s.ec=function(){return u(u(this.i||(this.i=I(this.c,171)?new hp(this,u(this.c,171)):I(this.c,161)?new i8(this,u(this.c,161)):new qw(this,this.c)),84),271)},s.bc=function(){return I(this.c,171)?new hp(this,u(this.c,171)):I(this.c,161)?new i8(this,u(this.c,161)):new qw(this,this.c)},w(an,"AbstractSortedKeySortedSetMultimap",1658),b(2010,1,{1947:1}),s.Fb=function(e){return function S3e(n,e){var i;return e===n||!!I(e,664)&&(i=u(e,1947),D$n(n.g||(n.g=new eO(n)),i.g||(i.g=new eO(i))))}(this,e)},s.Hb=function(){return uQ(this.g||(this.g=new eO(this)))},s.Ib=function(){return oLn(this.f||(this.f=new uz(this)))},w(an,"AbstractTable",2010),b(665,Ef,pu,eO),s.$b=function(){X9n()},s.Hc=function(e){var t,r;return!!I(e,468)&&(t=u(e,682),!!(r=u(Sb(WTn(this.a),ll(t.c.e,t.b)),83))&&LQ(r.vc(),new Id(ll(t.c.c,t.a),U2(t.c,t.b,t.a))))},s.Kc=function(){return function l1e(n){return new Hyn(n,n.e.Hd().gc()*n.c.Hd().gc())}(this.a)},s.Mc=function(e){var t,r;return!!I(e,468)&&(t=u(e,682),!!(r=u(Sb(WTn(this.a),ll(t.c.e,t.b)),83))&&function fge(n,e){ve(n);try{return n.Mc(e)}catch(t){if(I(t=jt(t),205)||I(t,173))return!1;throw C(t)}}(r.vc(),new Id(ll(t.c.c,t.a),U2(t.c,t.b,t.a))))},s.gc=function(){return cTn(this.a)},s.Nc=function(){return function uae(n){return UD(n.e.Hd().gc()*n.c.Hd().gc(),273,new i4n(n))}(this.a)},w(an,"AbstractTable/CellSet",665),b(1928,28,qb,l4n),s.$b=function(){X9n()},s.Hc=function(e){return function p4e(n,e){var t,r,i,c,f,h,l;for(h=0,l=(f=n.a).length;h=0?"+":"")+(r/60|0),t=EE(j.Math.abs(r)%60),(pLn(),PUn)[this.q.getDay()]+" "+IUn[this.q.getMonth()]+" "+EE(this.q.getDate())+" "+EE(this.q.getHours())+":"+EE(this.q.getMinutes())+":"+EE(this.q.getSeconds())+" GMT"+e+t+" "+this.q.getFullYear()};var kUn,yUn,jUn,H_,Rl,Hrn,EUn,qrn,Grn,fA=w(fe,"Date",199);b(1915,199,sKn,UFn),s.a=!1,s.b=0,s.c=0,s.d=0,s.e=0,s.f=0,s.g=!1,s.i=0,s.j=0,s.k=0,s.n=0,s.o=0,s.p=0,w("com.google.gwt.i18n.shared.impl","DateRecord",1915),b(1966,1,{}),s.fe=function(){return null},s.ge=function(){return null},s.he=function(){return null},s.ie=function(){return null},s.je=function(){return null},w(fv,"JSONValue",1966),b(216,1966,{216:1},da,$q),s.Fb=function(e){return!!I(e,216)&&DX(this.a,u(e,216).a)},s.ee=function(){return Fte},s.Hb=function(){return mX(this.a)},s.fe=function(){return this},s.Ib=function(){var e,t,r;for(r=new ts("["),t=0,e=this.a.length;t0&&(r.a+=","),cc(r,yb(this,t));return r.a+="]",r.a},w(fv,"JSONArray",216),b(483,1966,{483:1},Fq),s.ee=function(){return Lte},s.ge=function(){return this},s.Ib=function(){return Hn(),""+this.a},s.a=!1,w(fv,"JSONBoolean",483),b(985,60,s1,_9n),w(fv,"JSONException",985),b(1023,1966,{},xI),s.ee=function(){return Rte},s.Ib=function(){return iu},w(fv,"JSONNull",1023),b(258,1966,{258:1},yj),s.Fb=function(e){return!!I(e,258)&&this.a==u(e,258).a},s.ee=function(){return Nte},s.Hb=function(){return gp(this.a)},s.he=function(){return this},s.Ib=function(){return this.a+""},s.a=0,w(fv,"JSONNumber",258),b(183,1966,{183:1},v2,G9),s.Fb=function(e){return!!I(e,183)&&DX(this.a,u(e,183).a)},s.ee=function(){return xte},s.Hb=function(){return mX(this.a)},s.ie=function(){return this},s.Ib=function(){var e,t,r,i,c,f;for(f=new ts("{"),e=!0,i=0,c=(r=AF(this,L(tn,q,2,0,6,1))).length;i=0?":"+this.c:"")+")"},s.c=0;var nin=w(zi,"StackTraceElement",310);aUn={3:1,475:1,35:1,2:1};var ein,tn=w(zi,ynn,2);b(107,418,{475:1},m1,s5,Gs),w(zi,"StringBuffer",107),b(100,418,{475:1},cl,nb,ts),w(zi,"StringBuilder",100),b(687,73,Tx,KG),w(zi,"StringIndexOutOfBoundsException",687),b(2043,1,{}),b(844,1,{},Kt),s.Kb=function(e){return u(e,78).e},w(zi,"Throwable/lambda$0$Type",844),b(41,60,{3:1,102:1,60:1,78:1,41:1},ye,p1),w(zi,"UnsupportedOperationException",41),b(240,236,{3:1,35:1,236:1,240:1},a7,QG),s.wd=function(e){return YBn(this,u(e,240))},s.ke=function(){return Lb(F_n(this))},s.Fb=function(e){var t;return this===e||!!I(e,240)&&(t=u(e,240),this.e==t.e&&0==YBn(this,t))},s.Hb=function(){var e;return 0!=this.b?this.b:this.a<54?(e=tu(this.f),this.b=ge(rr(e,-1)),this.b=33*this.b+ge(rr(wl(e,32),-1)),this.b=17*this.b+Ht(this.e),this.b):(this.b=17*DDn(this.c)+Ht(this.e),this.b)},s.Ib=function(){return F_n(this)},s.a=0,s.b=0,s.d=0,s.e=0,s.f=0;var MUn,rd,tin,rin,iin,cin,uin,sin,G_=w("java.math","BigDecimal",240);b(91,236,{3:1,35:1,236:1,91:1},yJ,S1,Gw,rY,L$n,dl),s.wd=function(e){return I$n(this,u(e,91))},s.ke=function(){return Lb(JN(this,0))},s.Fb=function(e){return nJ(this,e)},s.Hb=function(){return DDn(this)},s.Ib=function(){return JN(this,0)},s.b=-2,s.c=0,s.d=0,s.e=0;var U_,hA,oin,z_,lA,u4,SUn,AUn,jv,Om,$g=w("java.math","BigInteger",91);b(488,1967,k0),s.$b=function(){Cu(this)},s._b=function(e){return Vu(this,e)},s.uc=function(e){return gDn(this,e,this.g)||gDn(this,e,this.f)},s.vc=function(){return new wa(this)},s.xc=function(e){return te(this,e)},s.zc=function(e,t){return tt(this,e,t)},s.Bc=function(e){return G2(this,e)},s.gc=function(){return h5(this)},w(fe,"AbstractHashMap",488),b(261,Ef,pu,wa),s.$b=function(){this.a.$b()},s.Hc=function(e){return bSn(this,e)},s.Kc=function(){return new Na(this.a)},s.Mc=function(e){var t;return!!bSn(this,e)&&(t=u(e,42).cd(),this.a.Bc(t),!0)},s.gc=function(){return this.a.gc()},w(fe,"AbstractHashMap/EntrySet",261),b(262,1,mr,Na),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return Zd(this)},s.Ob=function(){return this.b},s.Qb=function(){lPn(this)},s.b=!1,w(fe,"AbstractHashMap/EntrySetIterator",262),b(417,1,mr,V4),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return f8(this)},s.Pb=function(){return NCn(this)},s.Qb=function(){Qu(this)},s.b=0,s.c=-1,w(fe,"AbstractList/IteratorImpl",417),b(96,417,Mh,Sr),s.Qb=function(){Qu(this)},s.Rb=function(e){fb(this,e)},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Ub=function(){return ne(this.b>0),this.a.Xb(this.c=--this.b)},s.Vb=function(){return this.b-1},s.Wb=function(e){ub(-1!=this.c),this.a._c(this.c,e)},w(fe,"AbstractList/ListIteratorImpl",96),b(219,52,R3,yh),s.Vc=function(e,t){vb(e,this.b),this.c.Vc(this.a+e,t),++this.b},s.Xb=function(e){return Ln(e,this.b),this.c.Xb(this.a+e)},s.$c=function(e){var t;return Ln(e,this.b),t=this.c.$c(this.a+e),--this.b,t},s._c=function(e,t){return Ln(e,this.b),this.c._c(this.a+e,t)},s.gc=function(){return this.b},s.a=0,s.b=0,w(fe,"AbstractList/SubList",219),b(384,Ef,pu,Yv),s.$b=function(){this.a.$b()},s.Hc=function(e){return this.a._b(e)},s.Kc=function(){return new Rq(this.a.vc().Kc())},s.Mc=function(e){return!!this.a._b(e)&&(this.a.Bc(e),!0)},s.gc=function(){return this.a.gc()},w(fe,"AbstractMap/1",384),b(691,1,mr,Rq),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){return u(this.a.Pb(),42).cd()},s.Qb=function(){this.a.Qb()},w(fe,"AbstractMap/1/1",691),b(226,28,qb,Kh),s.$b=function(){this.a.$b()},s.Hc=function(e){return this.a.uc(e)},s.Kc=function(){return new J0(this.a.vc().Kc())},s.gc=function(){return this.a.gc()},w(fe,"AbstractMap/2",226),b(294,1,mr,J0),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){return u(this.a.Pb(),42).dd()},s.Qb=function(){this.a.Qb()},w(fe,"AbstractMap/2/1",294),b(484,1,{484:1,42:1}),s.Fb=function(e){var t;return!!I(e,42)&&(t=u(e,42),mc(this.d,t.cd())&&mc(this.e,t.dd()))},s.cd=function(){return this.d},s.dd=function(){return this.e},s.Hb=function(){return Rw(this.d)^Rw(this.e)},s.ed=function(e){return Hz(this,e)},s.Ib=function(){return this.d+"="+this.e},w(fe,"AbstractMap/AbstractEntry",484),b(383,484,{484:1,383:1,42:1},iE),w(fe,"AbstractMap/SimpleEntry",383),b(1984,1,Ax),s.Fb=function(e){var t;return!!I(e,42)&&(t=u(e,42),mc(this.cd(),t.cd())&&mc(this.dd(),t.dd()))},s.Hb=function(){return Rw(this.cd())^Rw(this.dd())},s.Ib=function(){return this.cd()+"="+this.dd()},w(fe,VRn,1984),b(1992,1967,WRn),s.tc=function(e){return jAn(this,e)},s._b=function(e){return FD(this,e)},s.vc=function(){return new Uq(this)},s.xc=function(e){return Qi(yQ(this,e))},s.ec=function(){return new W9(this)},w(fe,"AbstractNavigableMap",1992),b(739,Ef,pu,Uq),s.Hc=function(e){return I(e,42)&&jAn(this.b,u(e,42))},s.Kc=function(){return new K5(this.b)},s.Mc=function(e){var t;return!!I(e,42)&&(t=u(e,42),fPn(this.b,t))},s.gc=function(){return this.b.c},w(fe,"AbstractNavigableMap/EntrySet",739),b(493,Ef,mnn,W9),s.Nc=function(){return new tE(this)},s.$b=function(){r5(this.a)},s.Hc=function(e){return FD(this.a,e)},s.Kc=function(){return new X9(new K5(new B5(this.a).b))},s.Mc=function(e){return!!FD(this.a,e)&&(e6(this.a,e),!0)},s.gc=function(){return this.a.c},w(fe,"AbstractNavigableMap/NavigableKeySet",493),b(494,1,mr,X9),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return f8(this.a.a)},s.Pb=function(){return BE(this.a).cd()},s.Qb=function(){aEn(this.a)},w(fe,"AbstractNavigableMap/NavigableKeySet/1",494),b(2004,28,qb),s.Fc=function(e){return _p(j3(this,e)),!0},s.Gc=function(e){return _n(e),zE(e!=this,"Can't add a queue to itself"),zr(this,e)},s.$b=function(){for(;null!=gF(this););},w(fe,"AbstractQueue",2004),b(302,28,{4:1,20:1,28:1,14:1},Ow,_Mn),s.Fc=function(e){return RX(this,e),!0},s.$b=function(){zX(this)},s.Hc=function(e){return _On(new n6(this),e)},s.dc=function(){return i5(this)},s.Kc=function(){return new n6(this)},s.Mc=function(e){return function Q1e(n,e){return!!_On(n,e)&&(xIn(n),!0)}(new n6(this),e)},s.gc=function(){return this.c-this.b&this.a.length-1},s.Nc=function(){return new Fn(this,272)},s.Qc=function(e){var t;return e.length<(t=this.c-this.b&this.a.length-1)&&(e=Bj(new Array(t),e)),JIn(this,e,t),e.length>t&&St(e,t,null),e},s.b=0,s.c=0,w(fe,"ArrayDeque",302),b(446,1,mr,n6),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return this.a!=this.b},s.Pb=function(){return _C(this)},s.Qb=function(){xIn(this)},s.a=0,s.b=0,s.c=-1,w(fe,"ArrayDeque/IteratorImpl",446),b(12,52,hKn,X,Oc,bu),s.Vc=function(e,t){lb(this,e,t)},s.Fc=function(e){return W(this,e)},s.Wc=function(e,t){return SQ(this,e,t)},s.Gc=function(e){return Qt(this,e)},s.$b=function(){this.c=L(Zn,rn,1,0,5,1)},s.Hc=function(e){return-1!=Li(this,e,0)},s.Jc=function(e){Zc(this,e)},s.Xb=function(e){return un(this,e)},s.Xc=function(e){return Li(this,e,0)},s.dc=function(){return 0==this.c.length},s.Kc=function(){return new E(this)},s.$c=function(e){return M1(this,e)},s.Mc=function(e){return Jc(this,e)},s.Ud=function(e,t){BMn(this,e,t)},s._c=function(e,t){return Ps(this,e,t)},s.gc=function(){return this.c.length},s.ad=function(e){ar(this,e)},s.Pc=function(){return ED(this)},s.Qc=function(e){return yf(this,e)};var Gr,$h,aA,s4,fin,hin,lin,PUn,IUn,FCe=w(fe,"ArrayList",12);b(7,1,mr,E),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return Ki(this)},s.Pb=function(){return y(this)},s.Qb=function(){Q5(this)},s.a=0,s.b=-1,w(fe,"ArrayList/1",7),b(2013,j.Function,{},W4),s.te=function(e,t){return Jt(e,t)},b(154,52,lKn,Uu),s.Hc=function(e){return-1!=_In(this,e)},s.Jc=function(e){var r,i,c;for(_n(e),i=0,c=(r=this.a).length;i>>0).toString(16))},s.f=0,s.i=Wt;var GUn,gA=w(Ih,"CNode",57);b(814,1,{},yG),w(Ih,"CNode/CNodeBuilder",814),b(1525,1,{},Mln),s.Oe=function(e,t){return 0},s.Pe=function(e,t){return 0},w(Ih,mKn,1525),b(1790,1,{},Sln),s.Le=function(e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T;for(a=Ft,i=new E(e.a.b);i.ai.d.c||i.d.c==o.d.c&&i.d.b0?e+this.n.d+this.n.a:0},s.Se=function(){var t,r,i,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].Se());else if(this.g)c=VQ(this,RL(this,null,!0));else for(Vo(),r=0,i=(t=S(M(ew,1),U,232,0,[nc,Nc,ec])).length;r0?c+this.n.b+this.n.c:0},s.Te=function(){var e,t,r,i,c;if(this.g)for(e=RL(this,null,!1),Vo(),i=0,c=(r=S(M(ew,1),U,232,0,[nc,Nc,ec])).length;i0&&(i[0]+=this.d,r-=i[0]),i[2]>0&&(i[2]+=this.d,r-=i[2]),this.c.a=j.Math.max(0,r),this.c.d=t.d+e.d+(this.c.a-r)/2,i[1]=j.Math.max(i[1],r),ZX(this,Nc,t.d+e.d+i[0]-(i[1]-r)/2,i)},s.b=null,s.d=0,s.e=!1,s.f=!1,s.g=!1;var Z_=0,vA=0;w(Wa,"GridContainerCell",1473),b(461,22,{3:1,35:1,22:1,461:1},xO);var Kl,oh,Oo,ezn,nzn=Me(Wa,"HorizontalLabelAlignment",461,Ie,function lle(){return Mu(),S(M(nzn,1),U,461,0,[oh,Kl,Oo])},function Vue(n){return Mu(),$e((xAn(),ezn),n)});b(306,212,{212:1,306:1},cMn,aIn,tMn),s.Re=function(){return qEn(this)},s.Se=function(){return MW(this)},s.a=0,s.c=!1;var GCe=w(Wa,"LabelCell",306);b(244,326,{212:1,326:1,244:1},S6),s.Re=function(){return Y7(this)},s.Se=function(){return Z7(this)},s.Te=function(){ON(this)},s.Ue=function(){DN(this)},s.b=0,s.c=0,s.d=!1,w(Wa,"StripContainerCell",244),b(1626,1,Xe,Fln),s.Mb=function(e){return function ore(n){return!!n&&n.k}(u(e,212))},w(Wa,"StripContainerCell/lambda$0$Type",1626),b(1627,1,{},Lln),s.Fe=function(e){return u(e,212).Se()},w(Wa,"StripContainerCell/lambda$1$Type",1627),b(1628,1,Xe,Nln),s.Mb=function(e){return function fre(n){return!!n&&n.j}(u(e,212))},w(Wa,"StripContainerCell/lambda$2$Type",1628),b(1629,1,{},xln),s.Fe=function(e){return u(e,212).Re()},w(Wa,"StripContainerCell/lambda$3$Type",1629),b(462,22,{3:1,35:1,22:1,462:1},BO);var Do,Hl,tf,rzn,tzn=Me(Wa,"VerticalLabelAlignment",462,Ie,function ale(){return Yc(),S(M(tzn,1),U,462,0,[tf,Hl,Do])},function Que(n){return Yc(),$e((BAn(),rzn),n)});b(789,1,{},fnn),s.c=0,s.d=0,s.k=0,s.s=0,s.t=0,s.v=!1,s.w=0,s.D=!1,w(rS,"NodeContext",789),b(1471,1,ft,Bln),s.ue=function(e,t){return cyn(u(e,61),u(t,61))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(rS,"NodeContext/0methodref$comparePortSides$Type",1471),b(1472,1,ft,_ln),s.ue=function(e,t){return function N4e(n,e){var t;if(0!=(t=cyn(n.b.Hf(),e.b.Hf())))return t;switch(n.b.Hf().g){case 1:case 2:return Wc(n.b.sf(),e.b.sf());case 3:case 4:return Wc(e.b.sf(),n.b.sf())}return 0}(u(e,111),u(t,111))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(rS,"NodeContext/1methodref$comparePortContexts$Type",1472),b(159,22,{3:1,35:1,22:1,159:1},Ds);var izn,czn,uzn,szn,ozn,fzn,hzn,lzn,azn,dzn,bzn,wzn,gzn,vzn,pzn,mzn,kzn,yzn,jzn,Ezn,Tzn,nR,Mzn,Gin,pA,Czn=Me(rS,"NodeLabelLocation",159,Ie,pL,function Jue(n){return VM(),$e((Vkn(),Mzn),n)});b(111,1,{111:1},BNn),s.a=!1,w(rS,"PortContext",111),b(1476,1,Jn,Rln),s.td=function(e){T8n(u(e,306))},w(Mk,DKn,1476),b(1477,1,Xe,Kln),s.Mb=function(e){return!!u(e,111).c},w(Mk,$Kn,1477),b(1478,1,Jn,Hln),s.td=function(e){T8n(u(e,111).c)},w(Mk,"LabelPlacer/lambda$2$Type",1478),b(1475,1,Jn,Gln),s.td=function(e){ob(),function Hte(n){n.b.tf(n.e)}(u(e,111))},w(Mk,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),b(790,1,Jn,cW),s.td=function(e){nie(this.b,this.c,this.a,u(e,181))},s.a=!1,s.c=!1,w(Mk,"NodeLabelCellCreator/lambda$0$Type",790),b(1474,1,Jn,u5n),s.td=function(e){!function Ute(n,e){MY(n.c,e)}(this.a,u(e,181))},w(Mk,"PortContextCreator/lambda$0$Type",1474),b(1829,1,{},Uln),w(G3,"GreedyRectangleStripOverlapRemover",1829),b(1830,1,ft,qln),s.ue=function(e,t){return function Dce(n,e){return Jt(n.c.d,e.c.d)}(u(e,222),u(t,222))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(G3,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),b(1786,1,{},t9n),s.a=5,s.e=0,w(G3,"RectangleStripOverlapRemover",1786),b(1787,1,ft,Wln),s.ue=function(e,t){return function $ce(n,e){return Jt(n.c.c,e.c.c)}(u(e,222),u(t,222))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(G3,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),b(1789,1,ft,Xln),s.ue=function(e,t){return function rhe(n,e){return Jt(n.c.c+n.c.b,e.c.c+e.c.b)}(u(e,222),u(t,222))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(G3,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),b(406,22,{3:1,35:1,22:1,406:1},sE);var Vk,eR,tR,Qk,Azn,Szn=Me(G3,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Ie,function lae(){return i0(),S(M(Szn,1),U,406,0,[Qk,Vk,eR,tR])},function Yue(n){return i0(),$e((jPn(),Azn),n)});b(222,1,{222:1},JD),w(G3,"RectangleStripOverlapRemover/RectangleNode",222),b(1788,1,Jn,s5n),s.td=function(e){!function spe(n,e){var t,r;switch(r=e.c,t=e.a,n.b.g){case 0:t.d=n.e-r.a-r.d;break;case 1:t.d+=n.e;break;case 2:t.c=n.e-r.a-r.d;break;case 3:t.c=n.e+r.d}}(this.a,u(e,222))},w(G3,"RectangleStripOverlapRemover/lambda$1$Type",1788),b(1304,1,ft,Vln),s.ue=function(e,t){return function dje(n,e){var t,r,i,c;return t=new Qln,1==(i=2==(i=(r=u(us(Vc(new Dn(null,new Fn(n.f,16)),t),kb(new Ko,new rl,new h2,new l2,S(M(_u,1),U,132,0,[(kf(),nw),ws]))),21)).gc())?1:0)&&Dd(N7(u(us(gt(r.Lc(),new Jln),COn(_a(0),new aj)),162).a,2),0)&&(i=0),1==(c=2==(c=(r=u(us(Vc(new Dn(null,new Fn(e.f,16)),t),kb(new Ko,new rl,new h2,new l2,S(M(_u,1),U,132,0,[nw,ws]))),21)).gc())?1:0)&&Dd(N7(u(us(gt(r.Lc(),new Yln),COn(_a(0),new aj)),162).a,2),0)&&(c=0),i0?n.a:n.b,e,t)}(this,u(e,46),u(t,167))},w(nh,"SuccessorCombination",777),b(644,1,{},GI),s.Ce=function(e,t){var r;return function Q6e(n){var e,t,r,i,c;return t=i=u(n.a,19).a,r=c=u(n.b,19).a,e=j.Math.max(j.Math.abs(i),j.Math.abs(c)),i<=0&&i==c?(t=0,r=c-1):i==-e&&c!=e?(t=c,r=i,c>=0&&++t):(t=-c,r=i),new Mr(Q(t),Q(r))}((r=u(e,46),u(t,167),r))},w(nh,"SuccessorJitter",644),b(643,1,{},UI),s.Ce=function(e,t){var r;return function B8e(n){var e,t;if(e=u(n.a,19).a,t=u(n.b,19).a,e>=0){if(e==t)return new Mr(Q(-e-1),Q(-e-1));if(e==-t)return new Mr(Q(-e),Q(t+1))}return j.Math.abs(e)>j.Math.abs(t)?new Mr(Q(-e),Q(e<0?t:t+1)):new Mr(Q(e+1),Q(t))}((r=u(e,46),u(t,167),r))},w(nh,"SuccessorLineByLine",643),b(568,1,{},dj),s.Ce=function(e,t){var r;return function Jme(n){var e,t,r,i;return e=r=u(n.a,19).a,t=i=u(n.b,19).a,0==r&&0==i?t-=1:-1==r&&i<=0?(e=0,t-=2):r<=0&&i>0?(e-=1,t-=1):r>=0&&i<0?(e+=1,t+=1):r>0&&i>=0?(e-=1,t+=1):(e+=1,t-=1),new Mr(Q(e),Q(t))}((r=u(e,46),u(t,167),r))},w(nh,"SuccessorManhattan",568),b(1356,1,{},ian),s.Ce=function(e,t){var r;return function o8e(n){var e,t,r;return t=u(n.a,19).a,r=u(n.b,19).a,t<(e=j.Math.max(j.Math.abs(t),j.Math.abs(r)))&&r==-e?new Mr(Q(t+1),Q(r)):t==e&&r=-e&&r==e?new Mr(Q(t-1),Q(r)):new Mr(Q(t),Q(r-1))}((r=u(e,46),u(t,167),r))},w(nh,"SuccessorMaxNormWindingInMathPosSense",1356),b(400,1,{},ep),s.Ce=function(e,t){return nX(this,e,t)},s.c=!1,s.d=!1,s.e=!1,s.f=!1,w(nh,"SuccessorQuadrantsGeneric",400),b(1357,1,{},can),s.Kb=function(e){return u(e,324).a},w(nh,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),b(323,22,{3:1,35:1,22:1,323:1},uE),s.a=!1;var Jk,Yk,Zk,ny,Izn,Pzn=Me(cS,Rnn,323,Ie,function bae(){return nv(),S(M(Pzn,1),U,323,0,[Yk,Jk,Zk,ny])},function Zue(n){return nv(),$e((EPn(),Izn),n)});b(1298,1,{}),s.Ib=function(){var e,t,r,i,c,o;for(r=" ",e=Q(0),c=0;c0&&nu(A,N*z),R>0&&eu(A,R*en);for(g6(n.b,new van),e=new X,f=new Na(new wa(n.c).a);f.b;)r=u((o=Zd(f)).cd(),79),t=u(o.dd(),395).a,i=wg(r,!1,!1),hk(d=hLn(Ch(r),V7(i),t),i),(D=jLn(r))&&-1==Li(e,D,0)&&(e.c[e.c.length]=D,ACn(D,(ne(0!=d.b),u(d.a.a.c,8)),t));for(T=new Na(new wa(n.d).a);T.b;)r=u((m=Zd(T)).cd(),79),t=u(m.dd(),395).a,i=wg(r,!1,!1),d=hLn(Pl(r),S7(V7(i)),t),hk(d=S7(d),i),(D=ELn(r))&&-1==Li(e,D,0)&&(e.c[e.c.length]=D,ACn(D,(ne(0!=d.b),u(d.c.b.c,8)),t))}(o),bi(e,Qin,this.b),ce(t)},s.a=0,w(BKn,"DisCoLayoutProvider",1132),b(1244,1,{},han),s.c=!1,s.e=0,s.f=0,w(BKn,"DisCoPolyominoCompactor",1244),b(561,1,{561:1},fTn),s.b=!0,w(sS,"DCComponent",561),b(394,22,{3:1,35:1,22:1,394:1},cE),s.a=!1;var mA,ey,kA,ty,$zn,Dzn=Me(sS,"DCDirection",394,Ie,function dae(){return P6(),S(M(Dzn,1),U,394,0,[ey,mA,kA,ty])},function nse(n){return P6(),$e((TPn(),$zn),n)});b(266,134,{3:1,266:1,94:1,134:1},hN),w(sS,"DCElement",266),b(395,1,{395:1},OJ),s.c=0,w(sS,"DCExtension",395),b(755,134,Knn,u8n),w(sS,"DCGraph",755),b(481,22,{3:1,35:1,22:1,481:1},hjn);var rR,Fzn,Lzn,Xin,Vin,Nzn,xzn,Bzn,iR,_zn,Qin,yA,cR,Jin,Rzn,Kzn,Hzn,qzn,Yin,uR,sR,jA,Win=Me(zx,Hnn,481,Ie,function qhe(){return Xj(),S(M(Win,1),U,481,0,[rR])},function ese(n){return Xj(),$e((TSn(),Fzn),n)});b(854,1,Js,f3n),s.Qe=function(e){En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,qnn),_Kn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),Vin),(x1(),xt)),Win),Tn((Jo(),Wn))))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,Gnn),_Kn),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),$4),tn),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,Unn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),Of),Zn),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,znn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),Of),Zn),Tn(Wn)))),E_n((new h3n,e))},w(zx,"DisCoMetaDataProvider",854),b(998,1,Js,h3n),s.Qe=function(e){E_n(e)},w(zx,"DisCoOptions",998),b(999,1,{},lan),s.$e=function(){return new fan},s._e=function(e){},w(zx,"DisCoOptions/DiscoFactory",999),b(562,167,{321:1,167:1,562:1},kxn),s.a=0,s.b=0,s.c=0,s.d=0,w("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),b(1268,1,Xe,aan),s.Mb=function(e){return HU(e)},w(Tg,"ElkGraphComponentsProcessor/lambda$0$Type",1268),b(1269,1,{},dan),s.Kb=function(e){return x2(),Ch(u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$1$Type",1269),b(1270,1,Xe,ban),s.Mb=function(e){return function nfe(n){return x2(),Ch(n)==At(Pl(n))}(u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$2$Type",1270),b(1271,1,{},wan),s.Kb=function(e){return x2(),Pl(u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$3$Type",1271),b(1272,1,Xe,gan),s.Mb=function(e){return function efe(n){return x2(),Pl(n)==At(Ch(n))}(u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$4$Type",1272),b(1273,1,Xe,o5n),s.Mb=function(e){return function U1e(n,e){return x2(),n==At(Ch(e))||n==At(Pl(e))}(this.a,u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$5$Type",1273),b(1274,1,{},f5n),s.Kb=function(e){return function fhe(n,e){return x2(),n==Ch(e)?Pl(e):Ch(e)}(this.a,u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$6$Type",1274),b(1241,1,{},RSn),s.a=0,w(Tg,"ElkGraphTransformer",1241),b(1242,1,{},van),s.Od=function(e,t){!function nme(n,e,t){var r,i,c,o;n.a=t.b.d,I(e,352)?(Ir(c=V7(i=wg(u(e,79),!1,!1)),r=new h5n(n)),hk(c,i),null!=e.We((We(),n2))&&Ir(u(e.We(n2),74),r)):((o=u(e,470)).Hg(o.Dg()+n.a.a),o.Ig(o.Eg()+n.a.b))}(this,u(e,160),u(t,266))},w(Tg,"ElkGraphTransformer/OffsetApplier",1242),b(1243,1,Jn,h5n),s.td=function(e){!function Cce(n,e){sb(e,n.a.a.a,n.a.a.b)}(this,u(e,8))},w(Tg,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),b(753,1,{},oq),w(Xnn,Vnn,753),b(1232,1,ft,pan),s.ue=function(e,t){return function R6e(n,e){var t,r,i;return 0==(t=u(k(e,(Zo(),f4)),19).a-u(k(n,f4),19).a)?(r=pr(Ji(u(k(n,(El(),ry)),8)),u(k(n,Fm),8)),i=pr(Ji(u(k(e,ry),8)),u(k(e,Fm),8)),Jt(r.a*r.b,i.a*i.b)):t}(u(e,231),u(t,231))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Xnn,RKn,1232),b(740,209,Xa,pG),s.Ze=function(e,t){Exn(this,e,t)},w(Xnn,"ForceLayoutProvider",740),b(357,134,{3:1,357:1,94:1,134:1}),w(Ak,"FParticle",357),b(559,357,{3:1,559:1,357:1,94:1,134:1},GTn),s.Ib=function(){var e;return this.a?(e=Li(this.a.a,this,0))>=0?"b"+e+"["+V$(this.a)+"]":"b["+V$(this.a)+"]":"b_"+Ld(this)},w(Ak,"FBendpoint",559),b(282,134,{3:1,282:1,94:1,134:1},_jn),s.Ib=function(){return V$(this)},w(Ak,"FEdge",282),b(231,134,{3:1,231:1,94:1,134:1},zT);var Gzn,Uzn,Zin,zzn,Wzn,Xzn,Vzn,Qzn,zCe=w(Ak,"FGraph",231);b(447,357,{3:1,447:1,357:1,94:1,134:1},HSn),s.Ib=function(){return null==this.b||0==this.b.length?"l["+V$(this.a)+"]":"l_"+this.b},w(Ak,"FLabel",447),b(144,357,{3:1,144:1,357:1,94:1,134:1},YTn),s.Ib=function(){return OX(this)},s.b=0,w(Ak,"FNode",144),b(2003,1,{}),s.bf=function(e){HZ(this,e)},s.cf=function(){yFn(this)},s.d=0,w(Qnn,"AbstractForceModel",2003),b(631,2003,{631:1},OOn),s.af=function(e,t){var r,i,c,f;return vNn(this.f,e,t),c=pr(Ji(t.d),e.d),f=j.Math.sqrt(c.a*c.a+c.b*c.b),i=j.Math.max(0,f-Y5(e.e)/2-Y5(t.e)/2),Gf(c,((r=sDn(this.e,e,t))>0?-function nhe(n,e){return n>0?j.Math.log(n/e):-100}(i,this.c)*r:function zce(n,e){return n>0?e/(n*n):100*e}(i,this.b)*u(k(e,(Zo(),f4)),19).a)/f),c},s.bf=function(e){HZ(this,e),this.a=u(k(e,(Zo(),TA)),19).a,this.c=K(Y(k(e,CA))),this.b=K(Y(k(e,fR)))},s.df=function(e){return e0?e*e/n:e*e*100}(i=j.Math.max(0,f-Y5(e.e)/2-Y5(t.e)/2),this.a)*u(k(e,(Zo(),f4)),19).a,(r=sDn(this.e,e,t))>0&&(o-=function ire(n,e){return n*n/e}(i,this.a)*r),Gf(c,o*this.b/f),c},s.bf=function(e){var t,r,i,c,o,f,h;for(HZ(this,e),this.b=K(Y(k(e,(Zo(),hR)))),this.c=this.b/u(k(e,TA),19).a,i=e.e.c.length,o=0,c=0,h=new E(e.e);h.a0},s.a=0,s.b=0,s.c=0,w(Qnn,"FruchtermanReingoldModel",632),b(849,1,Js,a3n),s.Qe=function(e){En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,oS),""),"Force Model"),"Determines the model for force calculation."),Zin),(x1(),xt)),ncn),Tn((Jo(),Wn))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Jnn),""),"Iterations"),"The number of iterations on the force model."),Q(300)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ynn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Q(0)),oc),qr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Qx),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),eh),Di),Cr),Tn(Wn)))),Er(e,Qx,oS,Qzn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Jx),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Di),Cr),Tn(Wn)))),Er(e,Jx,oS,Wzn),pRn((new d3n,e))},w(im,"ForceMetaDataProvider",849),b(424,22,{3:1,35:1,22:1,424:1},gU);var oR,EA,Jzn,Yzn,Zzn,ecn,TA,tcn,nWn,eWn,tWn,rcn,rWn,icn,ccn,iWn,f4,cWn,fR,ucn,uWn,sWn,CA,hR,ry,Fm,Ev,MA,oWn,fWn,scn,hWn,lWn,aWn,SA,ocn,fcn,hcn,lcn,acn,dWn,bWn,wWn,gWn,dcn,vWn,ncn=Me(im,"ForceModelStrategy",424,Ie,function R1e(){return sC(),S(M(ncn,1),U,424,0,[oR,EA])},function tse(n){return sC(),$e((XSn(),Jzn),n)});b(988,1,Js,d3n),s.Qe=function(e){pRn(e)},w(im,"ForceOptions",988),b(989,1,{},man),s.$e=function(){return new pG},s._e=function(e){},w(im,"ForceOptions/ForceFactory",989),b(850,1,Js,b3n),s.Qe=function(e){En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,een),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Hn(),!1)),(x1(),xr)),cr),Tn((Jo(),wr))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ten),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Di),Cr),vt(Wn,S(M(V1,1),U,175,0,[ah]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ren),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),scn),xt),bcn),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ien),""),"Stress Epsilon"),"Termination criterion for the iterative process."),eh),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,cen),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Q(Ze)),oc),qr),Tn(Wn)))),tRn((new w3n,e))},w(im,"StressMetaDataProvider",850),b(992,1,Js,w3n),s.Qe=function(e){tRn(e)},w(im,"StressOptions",992),b(993,1,{},kan),s.$e=function(){return new Rjn},s._e=function(e){},w(im,"StressOptions/StressFactory",993),b(1128,209,Xa,Rjn),s.Ze=function(e,t){var i,c,o,f;for(le(t,GKn,1),on(sn(hn(e,(q7(),lcn))))?on(sn(hn(e,dcn)))||PT(new V9((tb(),new Y0(e)))):Exn(new pG,e,jc(t,1)),c=ZOn(e),f=(i=a_n(this.a,c)).Kc();f.Ob();)!((o=u(f.Pb(),231)).e.c.length<=1)&&(lje(this.b,o),qme(this.b),Zc(o.d,new yan));jRn(c=CRn(i)),ce(t)},w(lS,"StressLayoutProvider",1128),b(1129,1,Jn,yan),s.td=function(e){VZ(u(e,447))},w(lS,"StressLayoutProvider/lambda$0$Type",1129),b(990,1,{},Vmn),s.c=0,s.e=0,s.g=0,w(lS,"StressMajorization",990),b(379,22,{3:1,35:1,22:1,379:1},_O);var lR,aR,dR,pWn,mWn,kWn,yWn,bcn=Me(lS,"StressMajorization/Dimension",379,Ie,function ble(){return f6(),S(M(bcn,1),U,379,0,[aR,lR,dR])},function rse(n){return f6(),$e((RAn(),pWn),n)});b(991,1,ft,l5n),s.ue=function(e,t){return function $ue(n,e,t){return Jt(n[e.b],n[t.b])}(this.a,u(e,144),u(t,144))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(lS,"StressMajorization/lambda$0$Type",991),b(1229,1,{},eSn),w(vv,"ElkLayered",1229),b(1230,1,Jn,jan),s.td=function(e){!function G6e(n){var e;if((e=u(k(n,(nn(),Wm)),314))==(W2(),Cv))throw C(new u5("The hierarchy aware processor "+e+" in child node "+n+" is only allowed if the root node specifies the same hierarchical processor."))}(u(e,37))},w(vv,"ElkLayered/lambda$0$Type",1230),b(1231,1,Jn,a5n),s.td=function(e){!function Fue(n,e){return H(e,(nn(),gy),n)}(this.a,u(e,37))},w(vv,"ElkLayered/lambda$1$Type",1231),b(1263,1,{},Syn),w(vv,"GraphConfigurator",1263),b(759,1,Jn,nG),s.td=function(e){PLn(this.a,u(e,10))},w(vv,"GraphConfigurator/lambda$0$Type",759),b(760,1,{},fq),s.Kb=function(e){return zJ(),new Dn(null,new Fn(u(e,29).a,16))},w(vv,"GraphConfigurator/lambda$1$Type",760),b(761,1,Jn,eG),s.td=function(e){PLn(this.a,u(e,10))},w(vv,"GraphConfigurator/lambda$2$Type",761),b(1127,209,Xa,Ymn),s.Ze=function(e,t){var r;r=Dye(new i9n,e),B(hn(e,(nn(),hw)))===B((e1(),Q1))?h2e(this.a,r,t):ume(this.a,r,t),vRn(new v3n,r)},w(vv,"LayeredLayoutProvider",1127),b(356,22,{3:1,35:1,22:1,356:1},l8);var fh,ql,Hc,Mc,Oi,jWn,EWn,TWn,wcn=Me(vv,"LayeredPhases",356,Ie,function Jae(){return Wr(),S(M(wcn,1),U,356,0,[fh,ql,Hc,Mc,Oi])},function ise(n){return Wr(),$e((nIn(),jWn),n)});b(1651,1,{},RIn),s.i=0,w(Ok,"ComponentsToCGraphTransformer",1651),b(1652,1,{},Ean),s.ef=function(e,t){return j.Math.min(null!=e.a?K(e.a):e.c.i,null!=t.a?K(t.a):t.c.i)},s.ff=function(e,t){return j.Math.min(null!=e.a?K(e.a):e.c.i,null!=t.a?K(t.a):t.c.i)},w(Ok,"ComponentsToCGraphTransformer/1",1652),b(81,1,{81:1}),s.i=0,s.k=!0,s.o=Wt;var wR,gR,bR=w(sm,"CNode",81);b(460,81,{460:1,81:1},vz,pJ),s.Ib=function(){return""},w(Ok,"ComponentsToCGraphTransformer/CRectNode",460),b(1623,1,{},Tan),w(Ok,"OneDimensionalComponentsCompaction",1623),b(1624,1,{},Can),s.Kb=function(e){return function cle(n){return QF(),Hn(),0!=u(n.a,81).d.e}(u(e,46))},s.Fb=function(e){return this===e},w(Ok,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),b(1625,1,{},Man),s.Kb=function(e){return function p2e(n){return QF(),Hn(),!!(r$n(u(n.a,81).j,u(n.b,103))||0!=u(n.a,81).d.e&&r$n(u(n.a,81).j,u(n.b,103)))}(u(e,46))},s.Fb=function(e){return this===e},w(Ok,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),b(1654,1,{},JTn),w(sm,"CGraph",1654),b(189,1,{189:1},wL),s.b=0,s.c=0,s.e=0,s.g=!0,s.i=Wt,w(sm,"CGroup",189),b(1653,1,{},Ian),s.ef=function(e,t){return j.Math.max(null!=e.a?K(e.a):e.c.i,null!=t.a?K(t.a):t.c.i)},s.ff=function(e,t){return j.Math.max(null!=e.a?K(e.a):e.c.i,null!=t.a?K(t.a):t.c.i)},w(sm,mKn,1653),b(1655,1,{},INn),s.d=!1;var CWn,vR=w(sm,jKn,1655);b(1656,1,{},Oan),s.Kb=function(e){return rU(),Hn(),0!=u(u(e,46).a,81).d.e},s.Fb=function(e){return this===e},w(sm,EKn,1656),b(823,1,{},SW),s.a=!1,s.b=!1,s.c=!1,s.d=!1,w(sm,TKn,823),b(1825,1,{},wTn),w(aS,CKn,1825);var iy=Et(Qa,vKn);b(1826,1,{369:1},zCn),s.Ke=function(e){!function Z8e(n,e){var t,r,i;e.a?(_8(n.b,e.b),n.a[e.b.i]=u($D(n.b,e.b),81),(t=u(DD(n.b,e.b),81))&&(n.a[t.i]=e.b)):((r=u($D(n.b,e.b),81))&&r==n.a[e.b.i]&&r.d&&r.d!=e.b.d&&r.f.Fc(e.b),(i=u(DD(n.b,e.b),81))&&n.a[i.i]==e.b&&i.d&&i.d!=e.b.d&&e.b.f.Fc(i),kD(n.b,e.b))}(this,u(e,466))},w(aS,MKn,1826),b(1827,1,ft,Dan),s.ue=function(e,t){return function Zhe(n,e){return Jt(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}(u(e,81),u(t,81))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(aS,SKn,1827),b(466,1,{466:1},pU),s.a=!1,w(aS,AKn,466),b(1828,1,ft,$an),s.ue=function(e,t){return function l3e(n,e){var t,r,i;if(r=n.b.g.d,n.a||(r+=n.b.g.a),i=e.b.g.d,e.a||(i+=e.b.g.a),0==(t=Jt(r,i))){if(!n.a&&e.a)return-1;if(!e.a&&n.a)return 1}return t}(u(e,466),u(t,466))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(aS,PKn,1828),b(140,1,{140:1},wp,jW),s.Fb=function(e){var t;return null!=e&&WCe==Fu(e)&&(t=u(e,140),mc(this.c,t.c)&&mc(this.d,t.d))},s.Hb=function(){return xC(S(M(Zn,1),rn,1,5,[this.c,this.d]))},s.Ib=function(){return"("+this.c+Xr+this.d+(this.a?"cx":"")+this.b+")"},s.a=!0,s.c=0,s.d=0;var WCe=w(Qa,"Point",140);b(405,22,{3:1,35:1,22:1,405:1},oE);var I0,tw,Lg,rw,SWn,AWn,PWn,IWn,OWn,DWn,gcn,ht,MWn=Me(Qa,"Point/Quadrant",405,Ie,function wae(){return r3(),S(M(MWn,1),U,405,0,[I0,rw,tw,Lg])},function cse(n){return r3(),$e((yPn(),SWn),n)});b(1642,1,{},Zmn),s.b=null,s.c=null,s.d=null,s.e=null,s.f=null,w(Qa,"RectilinearConvexHull",1642),b(574,1,{369:1},rM),s.Ke=function(e){!function Yde(n,e){n.a.ue(e.d,n.b)>0&&(W(n.c,new jW(e.c,e.d,n.d)),n.b=e.d)}(this,u(e,140))},s.b=0,w(Qa,"RectilinearConvexHull/MaximalElementsEventHandler",574),b(1644,1,ft,Aan),s.ue=function(e,t){return function Hhe(n,e){return iU(),Jt((_n(n),n),(_n(e),e))}(Y(e),Y(t))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),b(1643,1,{369:1},fIn),s.Ke=function(e){a8e(this,u(e,140))},s.a=0,s.b=null,s.c=null,s.d=null,s.e=null,w(Qa,"RectilinearConvexHull/RectangleEventHandler",1643),b(1645,1,ft,Pan),s.ue=function(e,t){return function Ule(n,e){return h6(),n.c==e.c?Jt(e.d,n.d):Jt(n.c,e.c)}(u(e,140),u(t,140))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/lambda$0$Type",1645),b(1646,1,ft,San),s.ue=function(e,t){return function zle(n,e){return h6(),n.c==e.c?Jt(n.d,e.d):Jt(n.c,e.c)}(u(e,140),u(t,140))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/lambda$1$Type",1646),b(1647,1,ft,Fan),s.ue=function(e,t){return function Xle(n,e){return h6(),n.c==e.c?Jt(e.d,n.d):Jt(e.c,n.c)}(u(e,140),u(t,140))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/lambda$2$Type",1647),b(1648,1,ft,Lan),s.ue=function(e,t){return function Wle(n,e){return h6(),n.c==e.c?Jt(n.d,e.d):Jt(e.c,n.c)}(u(e,140),u(t,140))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/lambda$3$Type",1648),b(1649,1,ft,Nan),s.ue=function(e,t){return Q4e(u(e,140),u(t,140))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/lambda$4$Type",1649),b(1650,1,{},EMn),w(Qa,"Scanline",1650),b(2005,1,{}),w(th,"AbstractGraphPlacer",2005),b(325,1,{325:1},wjn),s.mf=function(e){return!!this.nf(e)&&(Cn(this.b,u(k(e,(G(),cw)),21),e),!0)},s.nf=function(e){var t,r,i;for(t=u(k(e,(G(),cw)),21),i=u(it(ht,t),21).Kc();i.Ob();)if(r=u(i.Pb(),21),!u(it(this.b,r),15).dc())return!1;return!0},w(th,"ComponentGroup",325),b(765,2005,{},jG),s.of=function(e){var r;for(r=new E(this.a);r.ar?1:0}(u(e,37),u(t,37))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(th,"ComponentsProcessor/lambda$0$Type",1265),b(570,325,{325:1,570:1},gAn),s.mf=function(e){return jQ(this,e)},s.nf=function(e){return Ixn(this,e)},w(th,"ModelOrderComponentGroup",570),b(1291,2005,{},Ban),s.lf=function(e,t){var r,i,c,o,f,h,l,a,g,v,p,m,T,A,$,D,N,R,z,en;if(1!=e.gc()){if(e.dc())return t.a.c=L(Zn,rn,1,0,5,1),t.f.a=0,void(t.f.b=0);if(B(k(t,(nn(),$v)))===B((c0(),Ng))){for(l=e.Kc();l.Ob();){for($=0,T=new E((f=u(l.Pb(),37)).a);T.ap&&(z=0,en+=v+c,v=0),H6(f,z+(A=f.c).a,en+A.b),Uo(A),r=j.Math.max(r,z+D.a),v=j.Math.max(v,D.b),z+=D.a+c;if(t.f.a=r,t.f.b=en+v,on(sn(k(o,dP)))){for(wnn(i=new WI,e,c),g=e.Kc();g.Ob();)ut(Uo(u(g.Pb(),37).c),i.e);ut(Uo(t.f),i.a)}wV(t,e)}else(N=u(e.Xb(0),37))!=t&&(t.a.c=L(Zn,rn,1,0,5,1),LBn(t,N,0,0),Pi(t,N),gX(t.d,N.d),t.f.a=N.f.a,t.f.b=N.f.b)},w(th,"SimpleRowGraphPlacer",1291),b(1292,1,ft,_an),s.ue=function(e,t){return function Xbe(n,e){var t;return 0==(t=e.p-n.p)?Jt(n.f.a*n.f.b,e.f.a*e.f.b):t}(u(e,37),u(t,37))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(th,"SimpleRowGraphPlacer/1",1292),b(1262,1,Zf,Ran),s.Lb=function(e){var t;return!!(t=u(k(u(e,243).b,(nn(),Ci)),74))&&0!=t.b},s.Fb=function(e){return this===e},s.Mb=function(e){var t;return!!(t=u(k(u(e,243).b,(nn(),Ci)),74))&&0!=t.b},w(dS,"CompoundGraphPostprocessor/1",1262),b(1261,1,Lt,c9n),s.pf=function(e,t){iFn(this,u(e,37),t)},w(dS,"CompoundGraphPreprocessor",1261),b(441,1,{441:1},UDn),s.c=!1,w(dS,"CompoundGraphPreprocessor/ExternalPort",441),b(243,1,{243:1},GE),s.Ib=function(){return TD(this.c)+":"+MNn(this.b)},w(dS,"CrossHierarchyEdge",243),b(763,1,ft,tG),s.ue=function(e,t){return function xpe(n,e,t){var r,i;return e.c==(ii(),xc)&&t.c==Pu?-1:e.c==Pu&&t.c==xc?1:(r=CDn(e.a,n.a),i=CDn(t.a,n.a),e.c==xc?i-r:r-i)}(this,u(e,243),u(t,243))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(dS,"CrossHierarchyEdgeComparator",763),b(299,134,{3:1,299:1,94:1,134:1}),s.p=0,w(Lc,"LGraphElement",299),b(17,299,{3:1,17:1,299:1,94:1,134:1},Ud),s.Ib=function(){return MNn(this)};var mR=w(Lc,"LEdge",17);b(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},xV),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new E(this.b)},s.Ib=function(){return 0==this.b.c.length?"G-unlayered"+Il(this.a):0==this.a.c.length?"G-layered"+Il(this.b):"G[layerless"+Il(this.a)+", layers"+Il(this.b)+"]"};var NWn,LWn=w(Lc,"LGraph",37);b(657,1,{}),s.qf=function(){return this.e.n},s.We=function(e){return k(this.e,e)},s.rf=function(){return this.e.o},s.sf=function(){return this.e.p},s.Xe=function(e){return fr(this.e,e)},s.tf=function(e){this.e.n.a=e.a,this.e.n.b=e.b},s.uf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},s.vf=function(e){this.e.p=e},w(Lc,"LGraphAdapters/AbstractLShapeAdapter",657),b(577,1,{839:1},Tj),s.wf=function(){var e,t;if(!this.b)for(this.b=gh(this.a.b.c.length),t=new E(this.a.b);t.a0&&ODn((Ce(t-1,e.length),e.charCodeAt(t-1)),")]}\"' \t\r\n");)--t;if(o> ",e),dM(r)),De(cc((e.a+="[",e),r.i),"]")),e.a},s.c=!0,s.d=!1;var ycn,yR,jcn,jR,Ecn,Tcn,_Wn,RWn,BWn=w(Lc,"LPort",11);b(397,1,Sh,tp),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new d5n(new E(this.a.e))},w(Lc,"LPort/1",397),b(1290,1,mr,d5n),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return u(y(this.a),17).c},s.Ob=function(){return Ki(this.a)},s.Qb=function(){Q5(this.a)},w(Lc,"LPort/1/1",1290),b(359,1,Sh,d2),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new rG(new E(this.a.g))},w(Lc,"LPort/2",359),b(762,1,mr,rG),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return u(y(this.a),17).d},s.Ob=function(){return Ki(this.a)},s.Qb=function(){Q5(this.a)},w(Lc,"LPort/2/1",762),b(1283,1,Sh,z7n),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new gf(this)},w(Lc,"LPort/CombineIter",1283),b(201,1,mr,gf),s.Nb=function(e){Ar(this,e)},s.Qb=function(){g8n()},s.Ob=function(){return _5(this)},s.Pb=function(){return Ki(this.a)?y(this.a):y(this.b)},w(Lc,"LPort/CombineIter/1",201),b(1285,1,Zf,Han),s.Lb=function(e){return STn(e)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),0!=u(e,11).e.c.length},w(Lc,"LPort/lambda$0$Type",1285),b(1284,1,Zf,qan),s.Lb=function(e){return ATn(e)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),0!=u(e,11).g.c.length},w(Lc,"LPort/lambda$1$Type",1284),b(1286,1,Zf,Gan),s.Lb=function(e){return gu(),u(e,11).j==(J(),Rn)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),u(e,11).j==(J(),Rn)},w(Lc,"LPort/lambda$2$Type",1286),b(1287,1,Zf,Uan),s.Lb=function(e){return gu(),u(e,11).j==(J(),Xn)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),u(e,11).j==(J(),Xn)},w(Lc,"LPort/lambda$3$Type",1287),b(1288,1,Zf,zan),s.Lb=function(e){return gu(),u(e,11).j==(J(),ae)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),u(e,11).j==(J(),ae)},w(Lc,"LPort/lambda$4$Type",1288),b(1289,1,Zf,Wan),s.Lb=function(e){return gu(),u(e,11).j==(J(),qn)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),u(e,11).j==(J(),qn)},w(Lc,"LPort/lambda$5$Type",1289),b(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},Us),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new E(this.a)},s.Ib=function(){return"L_"+Li(this.b.b,this,0)+Il(this.a)},w(Lc,"Layer",29),b(1342,1,{},i9n),w(R1,nHn,1342),b(1346,1,{},Xan),s.Kb=function(e){return Ii(u(e,82))},w(R1,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),b(1349,1,{},Van),s.Kb=function(e){return Ii(u(e,82))},w(R1,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),b(1343,1,Jn,b5n),s.td=function(e){RNn(this.a,u(e,118))},w(R1,eHn,1343),b(1344,1,Jn,w5n),s.td=function(e){RNn(this.a,u(e,118))},w(R1,tHn,1344),b(1345,1,{},Qan),s.Kb=function(e){return new Dn(null,new Fn(function xhe(n){return!n.c&&(n.c=new $n(he,n,5,8)),n.c}(u(e,79)),16))},w(R1,rHn,1345),b(1347,1,Xe,g5n),s.Mb=function(e){return function Bie(n,e){return Eb(e,lf(n))}(this.a,u(e,33))},w(R1,iHn,1347),b(1348,1,{},Jan),s.Kb=function(e){return new Dn(null,new Fn(function Bhe(n){return!n.b&&(n.b=new $n(he,n,4,7)),n.b}(u(e,79)),16))},w(R1,"ElkGraphImporter/lambda$5$Type",1348),b(1350,1,Xe,v5n),s.Mb=function(e){return function _ie(n,e){return Eb(e,lf(n))}(this.a,u(e,33))},w(R1,"ElkGraphImporter/lambda$7$Type",1350),b(1351,1,Xe,Yan),s.Mb=function(e){return function e1e(n){return d0(n)&&on(sn(hn(n,(nn(),ud))))}(u(e,79))},w(R1,"ElkGraphImporter/lambda$8$Type",1351),b(1278,1,{},v3n),w(R1,"ElkGraphLayoutTransferrer",1278),b(1279,1,Xe,p5n),s.Mb=function(e){return function Sue(n,e){return s8(),!n3(e.d.i,n)}(this.a,u(e,17))},w(R1,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),b(1280,1,Jn,m5n),s.td=function(e){s8(),W(this.a,u(e,17))},w(R1,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),b(1281,1,Xe,k5n),s.Mb=function(e){return function aue(n,e){return s8(),n3(e.d.i,n)}(this.a,u(e,17))},w(R1,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),b(1282,1,Jn,y5n),s.td=function(e){s8(),W(this.a,u(e,17))},w(R1,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),b(1485,1,Lt,Zan),s.pf=function(e,t){!function bbe(n,e){le(e,cHn,1),Bt(qi(new Dn(null,new Fn(n.b,16)),new ndn),new edn),ce(e)}(u(e,37),t)},w(Un,"CommentNodeMarginCalculator",1485),b(1486,1,{},ndn),s.Kb=function(e){return new Dn(null,new Fn(u(e,29).a,16))},w(Un,"CommentNodeMarginCalculator/lambda$0$Type",1486),b(1487,1,Jn,edn),s.td=function(e){!function Xye(n){var e,t,r,i,c,o,f,h,l,a,d,g;if(f=n.d,d=u(k(n,(G(),Dv)),15),e=u(k(n,Sv),15),d||e){if(c=K(Y(Pb(n,(nn(),kK)))),o=K(Y(Pb(n,eon))),g=0,d){for(l=0,i=d.Kc();i.Ob();)r=u(i.Pb(),10),l=j.Math.max(l,r.o.b),g+=r.o.a;g+=c*(d.gc()-1),f.d+=l+o}if(t=0,e){for(l=0,i=e.Kc();i.Ob();)r=u(i.Pb(),10),l=j.Math.max(l,r.o.b),t+=r.o.a;t+=c*(e.gc()-1),f.a+=l+o}(h=j.Math.max(g,t))>n.o.a&&(f.b=j.Math.max(f.b,a=(h-n.o.a)/2),f.c=j.Math.max(f.c,a))}}(u(e,10))},w(Un,"CommentNodeMarginCalculator/lambda$1$Type",1487),b(1488,1,Lt,tdn),s.pf=function(e,t){!function s7e(n,e){var t,r,i,c,o,f,h;for(le(e,"Comment post-processing",1),c=new E(n.b);c.a0&&_Bn((Ln(0,t.c.length),u(t.c[0],29)),n),t.c.length>1&&_Bn(u(un(t,t.c.length-1),29),n),ce(e)}(u(e,37),t)},w(Un,"HierarchicalPortPositionProcessor",1517),b(1518,1,Lt,p3n),s.pf=function(e,t){!function zTe(n,e){var t,r,i,c,o,f,h,l,a,g,v,m,T,A,$,D,N,z,en,ln,wn,Gn;for(n.b=e,n.a=u(k(e,(nn(),Fsn)),19).a,n.c=u(k(e,Nsn),19).a,0==n.c&&(n.c=Ze),T=new Sr(e.b,0);T.b=n.a&&(r=Aye(n,$),a=j.Math.max(a,r.b),N=j.Math.max(N,r.d),W(f,new Mr($,r)));for(ln=new X,l=0;l0),T.a.Xb(T.c=--T.b),fb(T,wn=new Us(n.b)),ne(T.b=2){for(m=!0,t=u(y(g=new E(c.j)),11),v=null;g.a0)}(u(e,17))},w(Un,"PartitionPreprocessor/lambda$2$Type",1577),b(1578,1,Jn,j0n),s.td=function(e){!function fwe(n){var e;v0(n,!0),e=B1,fr(n,(nn(),S4))&&(e+=u(k(n,S4),19).a),H(n,S4,Q(e))}(u(e,17))},w(Un,"PartitionPreprocessor/lambda$3$Type",1578),b(1579,1,Lt,M3n),s.pf=function(e,t){!function Cke(n,e){var r,i,c,o,f,h;for(le(e,"Port order processing",1),h=u(k(n,(nn(),Zsn)),421),r=new E(n.b);r.ae.d.c){if((v=n.c[e.a.d])==(T=n.c[d.a.d]))continue;Po(mo(po(ko(vo(new qs,1),100),v),T))}}}(this),function W9e(n){var e,t,r,i,c,o,f;for(c=new Ct,i=new E(n.d.a);i.a1)for(e=Nd((t=new va,++n.b,t),n.d),f=Re(c,0);f.b!=f.d.c;)o=u(_e(f),121),Po(mo(po(ko(vo(new qs,1),0),e),o))}(this),SN(BD(this.d),new ip),c=new E(this.a.a.b);c.a=T&&(W(o,Q(d)),D=j.Math.max(D,N[d-1]-g),h+=m,A+=N[d-1]-A,g=N[d-1],m=l[d]),m=j.Math.max(m,l[d]),++d;h+=m}(p=j.Math.min(1/D,1/t.b/h))>i&&(i=p,r=o)}return r},s.Wf=function(){return!1},w(rh,"MSDCutIndexHeuristic",802),b(1617,1,Lt,kwn),s.pf=function(e,t){Eye(u(e,37),t)},w(rh,"SingleEdgeGraphWrapper",1617),b(227,22,{3:1,35:1,22:1,227:1},m5);var Bg,w4,g4,iw,xm,_g,hXn,v4=Me(ac,"CenterEdgeLabelPlacementStrategy",227,Ie,function Fde(){return tv(),S(M(v4,1),U,227,0,[g4,xm,w4,iw,_g,Bg])},function ase(n){return tv(),$e((TIn(),hXn),n)});b(422,22,{3:1,35:1,22:1,422:1},mU);var fun,BR,lXn,hun=Me(ac,"ConstraintCalculationStrategy",422,Ie,function T1e(){return YT(),S(M(hun,1),U,422,0,[fun,BR])},function dse(n){return YT(),$e((nAn(),lXn),n)});b(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},HO),s.Kf=function(){return kNn(this)},s.Xf=function(){return kNn(this)};var oy,Cv,lun,aXn,aun=Me(ac,"CrossingMinimizationStrategy",314,Ie,function gle(){return W2(),S(M(aun,1),U,314,0,[Cv,oy,lun])},function bse(n){return W2(),$e((HAn(),aXn),n)});b(337,22,{3:1,35:1,22:1,337:1},qO);var dun,_R,ZA,dXn,bun=Me(ac,"CuttingStrategy",337,Ie,function vle(){return gC(),S(M(bun,1),U,337,0,[dun,ZA,_R])},function vse(n){return gC(),$e((qAn(),dXn),n)});b(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},d8),s.Kf=function(){return uxn(this)},s.Xf=function(){return uxn(this)};var wun,RR,Bm,KR,_m,bXn,gun=Me(ac,"CycleBreakingStrategy",335,Ie,function ude(){return Ha(),S(M(gun,1),U,335,0,[RR,wun,KR,_m,Bm])},function pse(n){return Ha(),$e((WPn(),bXn),n)});b(419,22,{3:1,35:1,22:1,419:1},kU);var nP,vun,wXn,pun=Me(ac,"DirectionCongruency",419,Ie,function E1e(){return b7(),S(M(pun,1),U,419,0,[nP,vun])},function mse(n){return b7(),$e((QSn(),wXn),n)});b(450,22,{3:1,35:1,22:1,450:1},GO);var p4,HR,Rg,vXn,gXn=Me(ac,"EdgeConstraint",450,Ie,function ple(){return Fa(),S(M(gXn,1),U,450,0,[HR,p4,Rg])},function kse(n){return Fa(),$e((GAn(),vXn),n)});b(276,22,{3:1,35:1,22:1,276:1},k5);var qR,GR,UR,zR,eP,WR,pXn,mun=Me(ac,"EdgeLabelSideSelection",276,Ie,function Bde(){return jM(),S(M(mun,1),U,276,0,[GR,qR,zR,UR,WR,eP])},function yse(n){return jM(),$e((AIn(),pXn),n)});b(479,22,{3:1,35:1,22:1,479:1},yU);var tP,kun,mXn,yun=Me(ac,"EdgeStraighteningStrategy",479,Ie,function j1e(){return u7(),S(M(yun,1),U,479,0,[kun,tP])},function jse(n){return u7(),$e((JSn(),mXn),n)});b(274,22,{3:1,35:1,22:1,274:1},y5);var XR,jun,Eun,rP,Tun,Cun,kXn,Mun=Me(ac,"FixedAlignment",274,Ie,function Nde(){return z7(),S(M(Mun,1),U,274,0,[rP,Eun,Cun,jun,Tun,XR])},function Ese(n){return z7(),$e((MIn(),kXn),n)});b(275,22,{3:1,35:1,22:1,275:1},j5);var Sun,Aun,Pun,Iun,Rm,Oun,yXn,Dun=Me(ac,"GraphCompactionStrategy",275,Ie,function Lde(){return E3(),S(M(Dun,1),U,275,0,[Rm,Aun,Oun,Iun,Pun,Sun])},function Tse(n){return E3(),$e((CIn(),yXn),n)});b(256,22,{3:1,35:1,22:1,256:1},rb);var m4,iP,k4,_s,Km,cP,y4,Kg,uP,Hm,jXn,VR=Me(ac,"GraphProperties",256,Ie,function Ebe(){return ui(),S(M(VR,1),U,256,0,[iP,_s,Km,cP,y4,Kg,Hm,m4,k4,uP])},function Cse(n){return ui(),$e((XOn(),jXn),n)});b(292,22,{3:1,35:1,22:1,292:1},UO);var fy,QR,JR,EXn,YR=Me(ac,"GreedySwitchType",292,Ie,function yle(){return t3(),S(M(YR,1),U,292,0,[QR,JR,fy])},function Mse(n){return t3(),$e((WAn(),EXn),n)});b(303,22,{3:1,35:1,22:1,303:1},zO);var Mv,hy,Hg,CXn,TXn=Me(ac,"InLayerConstraint",303,Ie,function kle(){return Yh(),S(M(TXn,1),U,303,0,[hy,Hg,Mv])},function Sse(n){return Yh(),$e((zAn(),CXn),n)});b(420,22,{3:1,35:1,22:1,420:1},jU);var ZR,$un,MXn,Lun,Sv,$0,sP,Nun,xun,oP,Bun,ly,fP,qm,Av,cw,nK,hP,tc,_un,F0,Ac,eK,tK,ay,id,L0,Pv,Run,Iv,dy,uw,rf,io,rK,qg,bc,rt,Kun,Hun,qun,Gun,Uun,iK,lP,Au,N0,cK,Ov,by,Pf,Gg,j4,Ug,zg,E4,cd,zun,uK,sK,Dv,Fun=Me(ac,"InteractiveReferencePoint",420,Ie,function C1e(){return KT(),S(M(Fun,1),U,420,0,[ZR,$un])},function Ase(n){return KT(),$e((eAn(),MXn),n)});b(163,22,{3:1,35:1,22:1,163:1},w8);var Gm,Ul,Um,sw,wy,SXn,AXn,PXn,IXn,Xun,OXn,Vun,DXn,Qun,$Xn,FXn,LXn,Jun,NXn,xXn,Yun,BXn,_Xn,RXn,Zun,KXn,HXn,qXn,nsn,GXn,UXn,zXn,WXn,XXn,VXn,QXn,JXn,esn,YXn,tsn,ZXn,rsn,nVn,isn,eVn,csn,tVn,rVn,iVn,usn,cVn,ssn,uVn,osn,sVn,oVn,fVn,hVn,lVn,aVn,dVn,bVn,wVn,gVn,fsn,vVn,pVn,mVn,kVn,yVn,jVn,hsn,EVn,TVn,CVn,MVn,SVn,AVn,PVn,lsn,IVn,asn,OVn,DVn,$Vn,dsn,FVn,LVn,bsn,NVn,xVn,BVn,_Vn,RVn,KVn,HVn,qVn,wsn,GVn,UVn,zVn,gsn,WVn,vsn,XVn,VVn,QVn,JVn,YVn,ZVn,nQn,eQn,tQn,rQn,iQn,cQn,uQn,sQn,oQn,fQn,hQn,lQn,psn,aQn,dQn,msn,bQn,wQn,gQn,vQn,pQn,mQn,kQn,yQn,jQn,ksn,EQn,TQn,CQn,MQn,ysn,SQn,AQn,hh,oK,aP,zm,dP,jsn,bP,$v,wP,Esn,Tsn,fK,zl,hK,ow,Csn,gy,lK,Msn,PQn,gP,aK,Wm,fw,IQn,gs,Ssn,Asn,vP,dK,lh,pP,l1,Psn,Isn,Osn,bK,wK,Dsn,G1,gK,$sn,hw,Fsn,Lsn,Nsn,mP,lw,ud,xsn,Bsn,Ci,_sn,OQn,qc,kP,Rsn,Ksn,Hsn,vK,qsn,yP,Gsn,Usn,jP,x0,zsn,pK,Xm,Wsn,B0,Vm,EP,sd,mK,T4,TP,od,Xsn,Vsn,Qsn,C4,Jsn,DQn,$Qn,FQn,LQn,_0,aw,Nt,U1,NQn,dw,Ysn,M4,Zsn,bw,xQn,S4,non,Fv,BQn,_Qn,vy,kK,eon,py,$o,Wg,Lv,R0,fd,CP,ww,yK,A4,P4,K0,Xg,jK,my,Qm,Jm,EK,ton,ron,ion,con,TK,uon,son,oon,fon,CK,MP,RQn,SP,KQn,Wun=Me(ac,"LayerConstraint",163,Ie,function fde(){return Fs(),S(M(Wun,1),U,163,0,[wy,Gm,Ul,Um,sw])},function Pse(n){return Fs(),$e((QPn(),SXn),n)});b(848,1,Js,I3n),s.Qe=function(e){En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,oen),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),rsn),(x1(),xt)),pun),Tn((Jo(),Wn))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,fen),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Hn(),!1)),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,bS),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),fsn),xt),Fun),Tn(Wn)))),Er(e,bS,cB,pVn),Er(e,bS,hm,vVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,hen),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,len),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),xr),cr),Tn(Wn)))),En(e,new bn(function Lre(n,e){return n.f=e,n}(yn(kn(jn(On(gn(mn(vn(pn(new dn,aen),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),xr),cr),Tn(ld)),S(M(tn,1),q,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,den),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),vsn),xt),Con),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ben),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Q(7)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,wen),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,gen),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,cB),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),tsn),xt),gun),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Fk),PB),"Node Layering Strategy"),"Strategy for node layering."),asn),xt),don),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ven),PB),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),hsn),xt),Wun),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,pen),PB),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),Q(-1)),oc),qr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,men),PB),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Q(-1)),oc),qr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,uB),wHn),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),Q(4)),oc),qr),Tn(Wn)))),Er(e,uB,Fk,CVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,sB),wHn),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),Q(2)),oc),qr),Tn(Wn)))),Er(e,sB,Fk,SVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,oB),gHn),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),lsn),xt),jon),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,fB),gHn),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Q(0)),oc),qr),Tn(Wn)))),Er(e,fB,oB,null),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,hB),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Q(Ze)),oc),qr),Tn(Wn)))),Er(e,hB,Fk,kVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,hm),Lk),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),esn),xt),aun),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ken),Lk),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,lB),Lk),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Di),Cr),Tn(Wn)))),Er(e,lB,SS,zXn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,aB),Lk),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),xr),cr),Tn(Wn)))),Er(e,aB,hm,QXn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,yen),Lk),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),Q(-1)),oc),qr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,jen),Lk),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Q(-1)),oc),qr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Een),vHn),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),Q(40)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,dB),vHn),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),nsn),xt),YR),Tn(Wn)))),Er(e,dB,hm,GXn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,wS),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),Zun),xt),YR),Tn(Wn)))),Er(e,wS,hm,KXn),Er(e,wS,SS,HXn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Mg),pHn),"Node Placement Strategy"),"Strategy for node placement."),gsn),xt),von),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,gS),pHn),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),xr),cr),Tn(Wn)))),Er(e,gS,Mg,BVn),Er(e,gS,Mg,_Vn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,bB),mHn),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),dsn),xt),yun),Tn(Wn)))),Er(e,bB,Mg,FVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,wB),mHn),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),bsn),xt),Mun),Tn(Wn)))),Er(e,wB,Mg,NVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,gB),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Di),Cr),Tn(Wn)))),Er(e,gB,Mg,KVn),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,vB),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),xt),IK),Tn(wr)))),Er(e,vB,Mg,UVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,pB),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),wsn),xt),IK),Tn(Wn)))),Er(e,pB,Mg,GVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ten),kHn),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),usn),xt),Aon),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Cen),kHn),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),ssn),xt),Pon),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,vS),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),osn),xt),Oon),Tn(Wn)))),Er(e,vS,Nk,sVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,pS),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Di),Cr),Tn(Wn)))),Er(e,pS,Nk,fVn),Er(e,pS,vS,hVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,mB),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),Di),Cr),Tn(Wn)))),Er(e,mB,Nk,rVn),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,Men),Cf),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Sen),Cf),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Aen),Cf),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Pen),Cf),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ien),_en),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),Q(0)),oc),qr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Oen),_en),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Q(0)),oc),qr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Den),_en),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),Q(0)),oc),qr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,kB),Ren),xKn),"Tries to further compact components (disconnected sub-graphs)."),!1),xr),cr),Tn(Wn)))),Er(e,kB,cm,!0),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,$en),yHn),"Post Compaction Strategy"),jHn),Vun),xt),Dun),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Fen),yHn),"Post Compaction Constraint Calculation"),jHn),Xun),xt),hun),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,mS),Ken),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,yB),Ken),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Q(16)),oc),qr),Tn(Wn)))),Er(e,yB,mS,!0),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,jB),Ken),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Q(5)),oc),qr),Tn(Wn)))),Er(e,jB,mS,!0),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,h1),Hen),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),ksn),xt),Lon),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,kS),Hen),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),Di),Cr),Tn(Wn)))),Er(e,kS,h1,iQn),Er(e,kS,h1,cQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,yS),Hen),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),Di),Cr),Tn(Wn)))),Er(e,yS,h1,sQn),Er(e,yS,h1,oQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,lm),EHn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),msn),xt),bun),Tn(Wn)))),Er(e,lm,h1,bQn),Er(e,lm,h1,wQn),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,EB),EHn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),Of),Bs),Tn(Wn)))),Er(e,EB,lm,hQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,TB),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),psn),oc),qr),Tn(Wn)))),Er(e,TB,lm,aQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,jS),THn),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),ysn),xt),Fon),Tn(Wn)))),Er(e,jS,h1,SQn),Er(e,jS,h1,AQn),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,ES),THn),"Valid Indices for Wrapping"),null),Of),Bs),Tn(Wn)))),Er(e,ES,h1,TQn),Er(e,ES,h1,CQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,TS),qen),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),xr),cr),Tn(Wn)))),Er(e,TS,h1,mQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,CS),qen),"Distance Penalty When Improving Cuts"),null),2),Di),Cr),Tn(Wn)))),Er(e,CS,h1,vQn),Er(e,CS,TS,!0),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,CB),qen),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),xr),cr),Tn(Wn)))),Er(e,CB,h1,yQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Len),IB),"Edge Label Side Selection"),"Method to decide on edge label sides."),csn),xt),mun),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Nen),IB),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),isn),xt),v4),vt(Wn,S(M(V1,1),U,175,0,[X1]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,MS),xk),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),Yun),xt),Ton),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,xen),xk),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,MB),xk),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),Qun),xt),pcn),Tn(Wn)))),Er(e,MB,cm,null),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ben),xk),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),Jun),xt),won),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,SB),xk),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),Di),Cr),Tn(Wn)))),Er(e,SB,MS,null),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,AB),xk),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),Di),Cr),Tn(Wn)))),Er(e,AB,MS,null),HRn((new $3n,e))},w(ac,"LayeredMetaDataProvider",848),b(986,1,Js,$3n),s.Qe=function(e){HRn(e)},w(ac,"LayeredOptions",986),b(987,1,{},jwn),s.$e=function(){return new Ymn},s._e=function(e){},w(ac,"LayeredOptions/LayeredFactory",987),b(1372,1,{}),s.a=0,w(dc,"ElkSpacings/AbstractSpacingsBuilder",1372),b(779,1372,{},ZQ),w(ac,"LayeredSpacings/LayeredSpacingsBuilder",779),b(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},E5),s.Kf=function(){return yxn(this)},s.Xf=function(){return yxn(this)};var MK,hon,lon,AP,SK,aon,HQn,don=Me(ac,"LayeringStrategy",313,Ie,function xde(){return pM(),S(M(don,1),U,313,0,[SK,lon,MK,hon,aon,AP])},function Ise(n){return pM(),$e((SIn(),HQn),n)});b(378,22,{3:1,35:1,22:1,378:1},WO);var AK,bon,PP,qQn,won=Me(ac,"LongEdgeOrderingStrategy",378,Ie,function wle(){return m6(),S(M(won,1),U,378,0,[AK,bon,PP])},function Ose(n){return m6(),$e((XAn(),qQn),n)});b(197,22,{3:1,35:1,22:1,197:1},lE);var Vg,Qg,IP,PK,GQn,IK=Me(ac,"NodeFlexibility",197,Ie,function jae(){return Ib(),S(M(IK,1),U,197,0,[IP,PK,Qg,Vg])},function Dse(n){return Ib(),$e((PPn(),GQn),n)});b(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},b8),s.Kf=function(){return cxn(this)},s.Xf=function(){return cxn(this)};var Ym,OK,DK,Zm,gon,UQn,von=Me(ac,"NodePlacementStrategy",315,Ie,function cde(){return I6(),S(M(von,1),U,315,0,[gon,OK,DK,Ym,Zm])},function Bse(n){return I6(),$e((XPn(),UQn),n)});b(260,22,{3:1,35:1,22:1,260:1},E2);var pon,ky,mon,kon,yy,yon,OP,DP,zQn,jon=Me(ac,"NodePromotionStrategy",260,Ie,function N0e(){return bg(),S(M(jon,1),U,260,0,[OP,ky,yy,mon,kon,pon,yon,DP])},function Fse(n){return bg(),$e((yOn(),zQn),n)});b(339,22,{3:1,35:1,22:1,339:1},XO);var Eon,Wl,$K,WQn,Ton=Me(ac,"OrderingStrategy",339,Ie,function Ele(){return n1(),S(M(Ton,1),U,339,0,[Wl,Eon,$K])},function Lse(n){return n1(),$e((QAn(),WQn),n)});b(421,22,{3:1,35:1,22:1,421:1},EU);var FK,LK,XQn,Con=Me(ac,"PortSortingStrategy",421,Ie,function M1e(){return h7(),S(M(Con,1),U,421,0,[FK,LK])},function Nse(n){return h7(),$e((ZSn(),XQn),n)});b(452,22,{3:1,35:1,22:1,452:1},VO);var Pu,xc,n9,QQn,VQn=Me(ac,"PortType",452,Ie,function jle(){return ii(),S(M(VQn,1),U,452,0,[n9,Pu,xc])},function $se(n){return ii(),$e((JAn(),QQn),n)});b(375,22,{3:1,35:1,22:1,375:1},QO);var Mon,NK,Son,JQn,Aon=Me(ac,"SelfLoopDistributionStrategy",375,Ie,function Tle(){return PC(),S(M(Aon,1),U,375,0,[Mon,NK,Son])},function xse(n){return PC(),$e((VAn(),JQn),n)});b(376,22,{3:1,35:1,22:1,376:1},TU);var jy,xK,YQn,Pon=Me(ac,"SelfLoopOrderingStrategy",376,Ie,function y1e(){return n7(),S(M(Pon,1),U,376,0,[xK,jy])},function _se(n){return n7(),$e((YSn(),YQn),n)});b(304,1,{304:1},G_n),w(ac,"Spacings",304),b(336,22,{3:1,35:1,22:1,336:1},JO);var BK,Ion,e9,ZQn,Oon=Me(ac,"SplineRoutingMode",336,Ie,function Mle(){return f3(),S(M(Oon,1),U,336,0,[BK,Ion,e9])},function Rse(n){return f3(),$e((ZAn(),ZQn),n)});b(338,22,{3:1,35:1,22:1,338:1},YO);var _K,Don,$on,nJn,Fon=Me(ac,"ValidifyStrategy",338,Ie,function Sle(){return SC(),S(M(Fon,1),U,338,0,[$on,_K,Don])},function Kse(n){return SC(),$e((nPn(),nJn),n)});b(377,22,{3:1,35:1,22:1,377:1},ZO);var gw,RK,I4,eJn,tJn,rJn,iJn,cJn,uJn,sJn,Non,xon,oJn,Lon=Me(ac,"WrappingStrategy",377,Ie,function Cle(){return FC(),S(M(Lon,1),U,377,0,[RK,I4,gw])},function Hse(n){return FC(),$e((YAn(),eJn),n)});b(1383,1,Cc,F3n),s.Yf=function(e){return u(e,37),tJn},s.pf=function(e,t){!function vje(n,e,t){var i,c,o,h,l,a,d,v;for(le(t,"Depth-first cycle removal",1),a=(d=e.a).c.length,n.c=new X,n.d=L(Hu,Oh,25,a,16,1),n.a=L(Hu,Oh,25,a,16,1),n.b=new X,o=0,l=new E(d);l.a0?se+1:1);for(o=new E(z.g);o.a0?se+1:1)}0==n.c[l]?Ke(n.e,m):0==n.a[l]&&Ke(n.f,m),++l}for(p=-1,v=1,d=new X,n.d=u(k(e,(G(),Ov)),230);Nf>0;){for(;0!=n.e.b;)ur=u(KD(n.e),10),n.b[ur.p]=p--,xZ(n,ur),--Nf;for(;0!=n.f.b;)ys=u(KD(n.f),10),n.b[ys.p]=v++,xZ(n,ys),--Nf;if(Nf>0){for(g=Lr,$=new E(D);$.a<$.c.c.length;)m=u(y($),10),0==n.b[m.p]&&(N=n.c[m.p]-n.a[m.p])>=g&&(N>g&&(d.c=L(Zn,rn,1,0,5,1),g=N),d.c[d.c.length]=m);a=n.Zf(d),n.b[a.p]=v++,xZ(n,a),--Nf}}for(Je=D.c.length+1,l=0;ln.b[(r=i[c]).d.i.p]&&(v0(r,!0),H(e,ly,(Hn(),!0)));n.a=null,n.c=null,n.b=null,zs(n.f),zs(n.e),ce(t)}(this,u(e,37),t)},s.Zf=function(e){return u(un(e,sM(this.d,e.c.length)),10)},w(IS,"GreedyCycleBreaker",782),b(1386,782,Cc,Okn),s.Zf=function(e){var t,r,i,c;for(c=null,t=Ze,i=new E(e);i.a0&&qLn(n,f,d);for(i=new E(d);i.a=h){ne(A.b>0),A.a.Xb(A.c=--A.b);break}m.a>l&&(i?(Qt(i.b,m.b),i.a=j.Math.max(i.a,m.a),Qu(A)):(W(m.b,d),m.c=j.Math.min(m.c,l),m.a=j.Math.max(m.a,h),i=m))}i||((i=new u9n).c=l,i.a=h,fb(A,i),W(i.b,d))}for(f=e.b,a=0,T=new E(r);T.ae.p?-1:0}(u(e,10),u(t,10))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Xb,"StretchWidthLayerer/1",1394),b(402,1,Ctn),s.Nf=function(e,t,r,i,c,o){},s._f=function(e,t,r){return RBn(this,e,t,r)},s.Mf=function(){this.g=L(Aw,MHn,25,this.d,15,1),this.f=L(Aw,MHn,25,this.d,15,1)},s.Of=function(e,t){this.e[e]=L(be,Ne,25,t[e].length,15,1)},s.Pf=function(e,t,r){r[e][t].p=t,this.e[e][t]=t},s.Qf=function(e,t,r,i){u(un(i[e][t].j,r),11).p=this.d++},s.b=0,s.c=0,s.d=0,w(mu,"AbstractBarycenterPortDistributor",402),b(1633,1,ft,u6n),s.ue=function(e,t){return function hve(n,e,t){var r,i,c,o;return(c=e.j)!=(o=t.j)?c.g-o.g:(i=n.f[t.p],0==(r=n.f[e.p])&&0==i?0:0==r?-1:0==i?1:Jt(r,i))}(this.a,u(e,11),u(t,11))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(mu,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),b(817,1,$k,_X),s.Nf=function(e,t,r,i,c,o){},s.Pf=function(e,t,r){},s.Qf=function(e,t,r,i){},s.Lf=function(){return!1},s.Mf=function(){this.c=this.e.a,this.g=this.f.g},s.Of=function(e,t){t[e][0].c.p=e},s.Rf=function(){return!1},s.ag=function(e,t,r,i){r?WFn(this,e):(JFn(this,e,i),iRn(this,e,t)),e.c.length>1&&(on(sn(k(Rr((Ln(0,e.c.length),u(e.c[0],10))),(nn(),ow))))?wxn(e,this.d,u(this,660)):(An(),ar(e,this.d)),LOn(this.e,e))},s.Sf=function(e,t,r,i){var f,h,l,a,d;for(t!=uTn(r,e.length)&&oV(this.f,e[t-(r?1:-1)],r?(ii(),xc):(ii(),Pu)),d=!i||e[t][0].k==(Vn(),zt),a=wf(e[t]),this.ag(a,d,!1,r),f=0,l=new E(a);l.a"),e0?$$(this.a,e[t-1],e[t]):!r&&t0&&(t+=h.n.a+h.o.a/2,++d),p=new E(h.j);p.a0&&(t/=d),A=L(kr,wi,25,r.a.c.length,15,1),f=0,l=new E(r.a);l.a1&&(on(sn(k(Rr((Ln(0,e.c.length),u(e.c[0],10))),(nn(),ow))))?wxn(e,this.d,this):(An(),ar(e,this.d)),on(sn(k(Rr((Ln(0,e.c.length),u(e.c[0],10))),ow)))||LOn(this.e,e))},w(mu,"ModelOrderBarycenterHeuristic",660),b(1803,1,ft,w6n),s.ue=function(e,t){return O5e(this.a,u(e,10),u(t,10))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(mu,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),b(1403,1,Cc,H3n),s.Yf=function(e){var t;return u(e,37),Ye(t=TE(gJn),(Wr(),Hc),(ti(),KA)),t},s.pf=function(e,t){!function g1e(n){le(n,"No crossing minimization",1),ce(n)}((u(e,37),t))},w(mu,"NoCrossingMinimizer",1403),b(796,402,Ctn,WG),s.$f=function(e,t,r){var i,c,o,f,h,l,a,d,g,v,p;switch(g=this.g,r.g){case 1:for(c=0,o=0,d=new E(e.j);d.a1&&(c.j==(J(),Xn)?this.b[e]=!0:c.j==qn&&e>0&&(this.b[e-1]=!0))},s.f=0,w(Dh,"AllCrossingsCounter",1798),b(587,1,{},EC),s.b=0,s.d=0,w(Dh,"BinaryIndexedTree",587),b(524,1,{},$8),w(Dh,"CrossingsCounter",524),b(1906,1,ft,g6n),s.ue=function(e,t){return function mfe(n,e,t){return Wc(n.d[e.p],n.d[t.p])}(this.a,u(e,11),u(t,11))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Dh,"CrossingsCounter/lambda$0$Type",1906),b(1907,1,ft,v6n),s.ue=function(e,t){return function kfe(n,e,t){return Wc(n.d[e.p],n.d[t.p])}(this.a,u(e,11),u(t,11))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Dh,"CrossingsCounter/lambda$1$Type",1907),b(1908,1,ft,p6n),s.ue=function(e,t){return function yfe(n,e,t){return Wc(n.d[e.p],n.d[t.p])}(this.a,u(e,11),u(t,11))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Dh,"CrossingsCounter/lambda$2$Type",1908),b(1909,1,ft,m6n),s.ue=function(e,t){return function jfe(n,e,t){return Wc(n.d[e.p],n.d[t.p])}(this.a,u(e,11),u(t,11))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Dh,"CrossingsCounter/lambda$3$Type",1909),b(1910,1,Jn,k6n),s.td=function(e){!function r0e(n,e){return Ep(),W(n,new Mr(e,Q(e.e.c.length+e.g.c.length)))}(this.a,u(e,11))},w(Dh,"CrossingsCounter/lambda$4$Type",1910),b(1911,1,Xe,y6n),s.Mb=function(e){return function vie(n,e){return Ep(),e!=n}(this.a,u(e,11))},w(Dh,"CrossingsCounter/lambda$5$Type",1911),b(1912,1,Jn,j6n),s.td=function(e){Skn(this,e)},w(Dh,"CrossingsCounter/lambda$6$Type",1912),b(1913,1,Jn,Z7n),s.td=function(e){var t;Ep(),yl(this.b,(t=this.a,u(e,11),t))},w(Dh,"CrossingsCounter/lambda$7$Type",1913),b(826,1,Zf,pq),s.Lb=function(e){return Ep(),fr(u(e,11),(G(),Au))},s.Fb=function(e){return this===e},s.Mb=function(e){return Ep(),fr(u(e,11),(G(),Au))},w(Dh,"CrossingsCounter/lambda$8$Type",826),b(1905,1,{},E6n),w(Dh,"HyperedgeCrossingsCounter",1905),b(467,1,{35:1,467:1},qjn),s.wd=function(e){return function nve(n,e){return n.ee.e?1:n.fe.f?1:kt(n)-kt(e)}(this,u(e,467))},s.b=0,s.c=0,s.e=0,s.f=0;var QCe=w(Dh,"HyperedgeCrossingsCounter/Hyperedge",467);b(362,1,{35:1,362:1},yT),s.wd=function(e){return function Yme(n,e){return n.ce.c?1:n.be.b?1:n.a!=e.a?kt(n.a)-kt(e.a):n.d==(s6(),i9)&&e.d==r9?-1:n.d==r9&&e.d==i9?1:0}(this,u(e,362))},s.b=0,s.c=0;var vJn=w(Dh,"HyperedgeCrossingsCounter/HyperedgeCorner",362);b(523,22,{3:1,35:1,22:1,523:1},CU);var r9,i9,mJn,kJn,yJn,LP,NP,pJn=Me(Dh,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Ie,function S1e(){return s6(),S(M(pJn,1),U,523,0,[i9,r9])},function Gse(n){return s6(),$e((rAn(),mJn),n)});b(1405,1,Cc,D3n),s.Yf=function(e){return u(k(u(e,37),(G(),Ac)),21).Hc((ui(),_s))?kJn:null},s.pf=function(e,t){!function m3e(n,e,t){var i;for(le(t,"Interactive node placement",1),n.a=u(k(e,(G(),Ug)),304),i=new E(e.b);i.a1},w(oi,"NetworkSimplexPlacer/lambda$18$Type",1431),b(1432,1,Jn,ECn),s.td=function(e){!function l2e(n,e,t,r,i){is(),Po(mo(po(vo(ko(new qs,0),i.d.e-n),e),i.d)),Po(mo(po(vo(ko(new qs,0),t-i.a.e),i.a),r))}(this.c,this.b,this.d,this.a,u(e,401))},s.c=0,s.d=0,w(oi,"NetworkSimplexPlacer/lambda$19$Type",1432),b(1415,1,{},Rwn),s.Kb=function(e){return is(),new Dn(null,new Fn(u(e,29).a,16))},w(oi,"NetworkSimplexPlacer/lambda$2$Type",1415),b(1433,1,Jn,S6n),s.td=function(e){!function rce(n,e){return is(),e.n.b+=n}(this.a,u(e,11))},s.a=0,w(oi,"NetworkSimplexPlacer/lambda$20$Type",1433),b(1434,1,{},Kwn),s.Kb=function(e){return is(),new Dn(null,new Fn(u(e,29).a,16))},w(oi,"NetworkSimplexPlacer/lambda$21$Type",1434),b(1435,1,Jn,A6n),s.td=function(e){pce(this.a,u(e,10))},w(oi,"NetworkSimplexPlacer/lambda$22$Type",1435),b(1436,1,Xe,Hwn),s.Mb=function(e){return Sjn(e)},w(oi,"NetworkSimplexPlacer/lambda$23$Type",1436),b(1437,1,{},qwn),s.Kb=function(e){return is(),new Dn(null,new Fn(u(e,29).a,16))},w(oi,"NetworkSimplexPlacer/lambda$24$Type",1437),b(1438,1,Xe,P6n),s.Mb=function(e){return function Tie(n,e){return 2==n.j[e.p]}(this.a,u(e,10))},w(oi,"NetworkSimplexPlacer/lambda$25$Type",1438),b(1439,1,Jn,tkn),s.td=function(e){!function W5e(n,e,t){var r,i,c;for(i=new ie(ue(t1(t).a.Kc(),new Yn));Ae(i);)!Ur(r=u(pe(i),17))&&(Ur(r)||r.c.i.c!=r.d.i.c)&&(c=Sxn(n,r,t,new f9n)).c.length>1&&(e.c[e.c.length]=c)}(this.a,this.b,u(e,10))},w(oi,"NetworkSimplexPlacer/lambda$26$Type",1439),b(1440,1,Xe,Gwn),s.Mb=function(e){return is(),!Ur(u(e,17))},w(oi,"NetworkSimplexPlacer/lambda$27$Type",1440),b(1441,1,Xe,Uwn),s.Mb=function(e){return is(),!Ur(u(e,17))},w(oi,"NetworkSimplexPlacer/lambda$28$Type",1441),b(1442,1,{},I6n),s.Ce=function(e,t){return wce(this.a,u(e,29),u(t,29))},w(oi,"NetworkSimplexPlacer/lambda$29$Type",1442),b(1416,1,{},zwn),s.Kb=function(e){return is(),new Dn(null,new Rd(new ie(ue(Yt(u(e,10)).a.Kc(),new Yn))))},w(oi,"NetworkSimplexPlacer/lambda$3$Type",1416),b(1417,1,Xe,Wwn),s.Mb=function(e){return is(),function tae(n){return is(),!(Ur(n)||!Ur(n)&&n.c.i.c==n.d.i.c)}(u(e,17))},w(oi,"NetworkSimplexPlacer/lambda$4$Type",1417),b(1418,1,Jn,O6n),s.td=function(e){!function kye(n,e){var t,r,o,f,h,a,d,g,p;t=Nd(new va,n.f),f=(h=e.c).a.b,d=(g=e.d).a.b,n.i[e.c.i.p].b||(f+=h.n.b),n.i[e.d.i.p].b||(d+=g.n.b),a=Ht(j.Math.max(0,f-d)),o=Ht(j.Math.max(0,d-f)),p=j.Math.max(1,u(k(e,(nn(),Fv)),19).a)*qX(e.c.i.k,e.d.i.k),r=new nkn(Po(mo(po(vo(ko(new qs,p),o),t),u(te(n.k,e.c),121))),Po(mo(po(vo(ko(new qs,p),a),t),u(te(n.k,e.d),121)))),n.c[e.p]=r}(this.a,u(e,17))},w(oi,"NetworkSimplexPlacer/lambda$5$Type",1418),b(1419,1,{},Xwn),s.Kb=function(e){return is(),new Dn(null,new Fn(u(e,29).a,16))},w(oi,"NetworkSimplexPlacer/lambda$6$Type",1419),b(1420,1,Xe,Vwn),s.Mb=function(e){return is(),u(e,10).k==(Vn(),nr)},w(oi,"NetworkSimplexPlacer/lambda$7$Type",1420),b(1421,1,{},Qwn),s.Kb=function(e){return is(),new Dn(null,new Rd(new ie(ue(t1(u(e,10)).a.Kc(),new Yn))))},w(oi,"NetworkSimplexPlacer/lambda$8$Type",1421),b(1422,1,Xe,Jwn),s.Mb=function(e){return is(),function tfe(n){return!Ur(n)&&n.c.i.c==n.d.i.c}(u(e,17))},w(oi,"NetworkSimplexPlacer/lambda$9$Type",1422),b(1404,1,Cc,X3n),s.Yf=function(e){return u(k(u(e,37),(G(),Ac)),21).Hc((ui(),_s))?TJn:null},s.pf=function(e,t){!function eje(n,e){var t,r,i,c,o,f,h,l,a,d;for(le(e,"Simple node placement",1),d=u(k(n,(G(),Ug)),304),f=0,c=new E(n.b);c.a0?(v=(p-1)*t,f&&(v+=r),a&&(v+=r),v0&&(D-=v),enn(o,D),a=0,g=new E(o.a);g.a0),f.a.Xb(f.c=--f.b)),h=.4*r*a,!c&&f.b"+this.b+" ("+function Kce(n){return null!=n.f?n.f:""+n.g}(this.c)+")"},s.d=0,w(nf,"HyperEdgeSegmentDependency",129),b(520,22,{3:1,35:1,22:1,520:1},AU);var Xl,vw,qJn,GJn,UJn,zJn,WJn,XJn,HJn=Me(nf,"HyperEdgeSegmentDependency/DependencyType",520,Ie,function A1e(){return zo(),S(M(HJn,1),U,520,0,[vw,Xl])},function Wse(n){return zo(),$e((tAn(),qJn),n)});b(1815,1,{},$6n),w(nf,"HyperEdgeSegmentSplitter",1815),b(1816,1,{},h8n),s.a=0,s.b=0,w(nf,"HyperEdgeSegmentSplitter/AreaRating",1816),b(329,1,{329:1},_D),s.a=0,s.b=0,s.c=0,w(nf,"HyperEdgeSegmentSplitter/FreeArea",329),b(1817,1,ft,wgn),s.ue=function(e,t){return function xue(n,e){return Jt(n.c-n.s,e.c-e.s)}(u(e,112),u(t,112))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(nf,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),b(1818,1,Jn,TCn),s.td=function(e){Hae(this.a,this.d,this.c,this.b,u(e,112))},s.b=0,w(nf,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),b(1819,1,{},ggn),s.Kb=function(e){return new Dn(null,new Fn(u(e,112).e,16))},w(nf,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),b(1820,1,{},vgn),s.Kb=function(e){return new Dn(null,new Fn(u(e,112).j,16))},w(nf,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),b(1821,1,{},pgn),s.Fe=function(e){return K(Y(e))},w(nf,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),b(655,1,{},f$),s.a=0,s.b=0,s.c=0,w(nf,"OrthogonalRoutingGenerator",655),b(1638,1,{},mgn),s.Kb=function(e){return new Dn(null,new Fn(u(e,112).e,16))},w(nf,"OrthogonalRoutingGenerator/lambda$0$Type",1638),b(1639,1,{},kgn),s.Kb=function(e){return new Dn(null,new Fn(u(e,112).j,16))},w(nf,"OrthogonalRoutingGenerator/lambda$1$Type",1639),b(661,1,{}),w(NB,"BaseRoutingDirectionStrategy",661),b(1807,661,{},b9n),s.dg=function(e,t,r){var i,c,o,f,h,l,a,d,g,v,p,m,T;if(!e.r||e.q)for(d=t+e.o*r,a=new E(e.n);a.aeh&&(c=e,i=new fn(g,o=d),Ke(f.a,i),g0(this,f,c,i,!1),(v=e.r)&&(i=new fn(p=K(Y(Yo(v.e,0))),o),Ke(f.a,i),g0(this,f,c,i,!1),c=v,i=new fn(p,o=t+v.o*r),Ke(f.a,i),g0(this,f,c,i,!1)),i=new fn(T,o),Ke(f.a,i),g0(this,f,c,i,!1)))},s.eg=function(e){return e.i.n.a+e.n.a+e.a.a},s.fg=function(){return J(),ae},s.gg=function(){return J(),Rn},w(NB,"NorthToSouthRoutingStrategy",1807),b(1808,661,{},w9n),s.dg=function(e,t,r){var i,c,o,f,h,l,a,d,g,v,p,m,T;if(!e.r||e.q)for(d=t-e.o*r,a=new E(e.n);a.aeh&&(c=e,i=new fn(g,o=d),Ke(f.a,i),g0(this,f,c,i,!1),(v=e.r)&&(i=new fn(p=K(Y(Yo(v.e,0))),o),Ke(f.a,i),g0(this,f,c,i,!1),c=v,i=new fn(p,o=t-v.o*r),Ke(f.a,i),g0(this,f,c,i,!1)),i=new fn(T,o),Ke(f.a,i),g0(this,f,c,i,!1)))},s.eg=function(e){return e.i.n.a+e.n.a+e.a.a},s.fg=function(){return J(),Rn},s.gg=function(){return J(),ae},w(NB,"SouthToNorthRoutingStrategy",1808),b(1806,661,{},g9n),s.dg=function(e,t,r){var i,c,o,f,h,l,a,d,g,v,p,m,T;if(!e.r||e.q)for(d=t+e.o*r,a=new E(e.n);a.aeh&&(c=e,i=new fn(o=d,g),Ke(f.a,i),g0(this,f,c,i,!0),(v=e.r)&&(i=new fn(o,p=K(Y(Yo(v.e,0)))),Ke(f.a,i),g0(this,f,c,i,!0),c=v,i=new fn(o=t+v.o*r,p),Ke(f.a,i),g0(this,f,c,i,!0)),i=new fn(o,T),Ke(f.a,i),g0(this,f,c,i,!0)))},s.eg=function(e){return e.i.n.b+e.n.b+e.a.b},s.fg=function(){return J(),Xn},s.gg=function(){return J(),qn},w(NB,"WestToEastRoutingStrategy",1806),b(813,1,{},XZ),s.Ib=function(){return Il(this.a)},s.b=0,s.c=!1,s.d=!1,s.f=0,w(Vb,"NubSpline",813),b(407,1,{407:1},_xn,iMn),w(Vb,"NubSpline/PolarCP",407),b(1453,1,Cc,AFn),s.Yf=function(e){return function d4e(n){var e,t;return fs(e=new or,GJn),(t=u(k(n,(G(),Ac)),21)).Hc((ui(),Hm))&&fs(e,XJn),t.Hc(m4)&&fs(e,UJn),t.Hc(Kg)&&fs(e,WJn),t.Hc(k4)&&fs(e,zJn),e}(u(e,37))},s.pf=function(e,t){!function WTe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,m,T,$,D,N,R,z,en,ln,wn,Gn,zn,se;if(le(t,"Spline edge routing",1),0==e.b.c.length)return e.f.a=0,void ce(t);$=K(Y(k(e,(nn(),Xg)))),f=K(Y(k(e,fd))),o=K(Y(k(e,Wg))),ln=u(k(e,wK),336)==(f3(),e9),en=K(Y(k(e,Dsn))),n.d=e,n.j.c=L(Zn,rn,1,0,5,1),n.a.c=L(Zn,rn,1,0,5,1),Cu(n.k),a=yE((h=u(un(e.b,0),29)).a,(OM(),Ty)),d=yE((p=u(un(e.b,e.b.c.length-1),29)).a,Ty),m=new E(e.b),T=null,se=0;do{for($Te(n,T,D=m.a0?(l=0,T&&(l+=f),l+=(wn-1)*o,D&&(l+=f),ln&&D&&(l=j.Math.max(l,S8e(D,o,$,en))),l<$&&!g&&!v&&(zn=($-l)/2,l=$),N+=l):!g&&!v&&(N+=$),D&&enn(D,N),z=new E(n.i);z.a("+this.c+") "+this.b},s.c=0,w(Vb,"SplineEdgeRouter/Dependency",268),b(455,22,{3:1,35:1,22:1,455:1},PU);var Vl,Jg,QJn,VJn=Me(Vb,"SplineEdgeRouter/SideToProcess",455,Ie,function O1e(){return zd(),S(M(VJn,1),U,455,0,[Vl,Jg])},function Xse(n){return zd(),$e((uAn(),QJn),n)});b(1454,1,Xe,dgn),s.Mb=function(e){return R6(),!u(e,128).o},w(Vb,"SplineEdgeRouter/lambda$0$Type",1454),b(1455,1,{},agn),s.Ge=function(e){return R6(),u(e,128).v+1},w(Vb,"SplineEdgeRouter/lambda$1$Type",1455),b(1456,1,Jn,ckn),s.td=function(e){!function ife(n,e,t){return tt(n.b,u(t.b,17),e)}(this.a,this.b,u(e,46))},w(Vb,"SplineEdgeRouter/lambda$2$Type",1456),b(1457,1,Jn,ukn),s.td=function(e){!function cfe(n,e,t){return tt(n.b,u(t.b,17),e)}(this.a,this.b,u(e,46))},w(Vb,"SplineEdgeRouter/lambda$3$Type",1457),b(128,1,{35:1,128:1},tNn,nnn),s.wd=function(e){return function Ore(n,e){return n.s-e.s}(this,u(e,128))},s.b=0,s.e=!1,s.f=0,s.g=0,s.j=!1,s.k=!1,s.n=0,s.o=!1,s.p=!1,s.q=!1,s.s=0,s.u=0,s.v=0,s.F=0,w(Vb,"SplineSegment",128),b(459,1,{459:1},bgn),s.a=0,s.b=!1,s.c=!1,s.d=!1,s.e=!1,s.f=0,w(Vb,"SplineSegment/EdgeInformation",459),b(1234,1,{},ogn),w(am,Vnn,1234),b(1235,1,ft,fgn),s.ue=function(e,t){return function K6e(n,e){var t,r,i;return 0==(t=u(k(e,(w0(),qP)),19).a-u(k(n,qP),19).a)?(r=pr(Ji(u(k(n,(uc(),My)),8)),u(k(n,s9),8)),i=pr(Ji(u(k(e,My),8)),u(k(e,s9),8)),Jt(r.a*r.b,i.a*i.b)):t}(u(e,135),u(t,135))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(am,RKn,1235),b(1233,1,{},M8n),w(am,"MrTree",1233),b(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},aE),s.Kf=function(){return SNn(this)},s.Xf=function(){return SNn(this)};var xP,c9,Cy,u9,JJn,Ron=Me(am,"TreeLayoutPhases",393,Ie,function Eae(){return p3(),S(M(Ron,1),U,393,0,[xP,c9,Cy,u9])},function Vse(n){return p3(),$e((CPn(),JJn),n)});b(1130,209,Xa,zjn),s.Ze=function(e,t){var i,c,o,h,l;for(on(sn(hn(e,(w0(),zon))))||PT(new V9((tb(),new Y0(e)))),Pi(h=new XT,e),H(h,(uc(),f9),e),function Dke(n,e,t){var r,i,c,o,f;for(c=0,i=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));i.e!=i.i.gc();)o="",0==(!(r=u(oe(i),33)).n&&(r.n=new V(_i,r,1,7)),r.n).i||(o=u(O((!r.n&&(r.n=new V(_i,r,1,7)),r.n),0),137).a),Pi(f=new _F(c++,e,o),r),H(f,(uc(),f9),r),f.e.b=r.j+r.f/2,f.f.a=j.Math.max(r.g,1),f.e.a=r.i+r.g/2,f.f.b=j.Math.max(r.f,1),Ke(e.b,f),Rc(t.f,r,f)}(e,h,l=new we),function Vke(n,e,t){var r,i,c,o,f,h,l;for(o=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));o.e!=o.i.gc();)for(i=new ie(ue(c1(c=u(oe(o),33)).a.Kc(),new Yn));Ae(i);)!B6(r=u(pe(i),79))&&!B6(r)&&!d0(r)&&(h=u(Qi(Ai(t.f,c)),86),l=u(te(t,Ii(u(O((!r.c&&(r.c=new $n(he,r,5,8)),r.c),0),82))),86),h&&l&&(H(f=new pX(h,l),(uc(),f9),r),Pi(f,r),Ke(h.d,f),Ke(l.b,f),Ke(e.a,f)))}(e,h,l),c=new E(o=Hke(this.a,h));c.ad&&(zn=0,se+=a+en,a=0),O9e(R,o,zn,se),e=j.Math.max(e,zn+z.a),a=j.Math.max(a,z.b),zn+=z.a+en;for(N=new we,t=new we,wn=new E(n);wn.a"+NT(this.c):"e_"+kt(this)},w(dm,"TEdge",188),b(135,134,{3:1,135:1,94:1,134:1},XT),s.Ib=function(){var e,t,r,i,c;for(c=null,i=Re(this.b,0);i.b!=i.d.c;)c+=(null==(r=u(_e(i),86)).c||0==r.c.length?"n_"+r.g:"n_"+r.c)+"\n";for(t=Re(this.a,0);t.b!=t.d.c;)c+=((e=u(_e(t),188)).b&&e.c?NT(e.b)+"->"+NT(e.c):"e_"+kt(e))+"\n";return c};var ZCe=w(dm,"TGraph",135);b(633,502,{3:1,502:1,633:1,94:1,134:1}),w(dm,"TShape",633),b(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},_F),s.Ib=function(){return NT(this)};var nMe=w(dm,"TNode",86);b(255,1,Sh,il),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new b2(Re(this.a.d,0))},w(dm,"TNode/2",255),b(358,1,mr,b2),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return u(_e(this.a),188).c},s.Ob=function(){return Hj(this.a)},s.Qb=function(){fC(this.a)},w(dm,"TNode/2/1",358),b(1840,1,Lt,Ujn),s.pf=function(e,t){lye(this,u(e,135),t)},w(mv,"FanProcessor",1840),b(327,22,{3:1,35:1,22:1,327:1,234:1},T5),s.Kf=function(){switch(this.g){case 0:return new O9n;case 1:return new Ujn;case 2:return new Egn;case 3:return new ygn;case 4:return new Cgn;case 5:return new Mgn;default:throw C(new Kn(tB+(null!=this.f?this.f:""+this.g)))}};var HK,qK,GK,UK,zK,BP,ZJn,My,s9,nYn,WK,_P,o9,XK,RP,KP,O4,f9,HP,W1,Kon,eYn,VK,pw,QK,Hon,tYn,qon,rYn,Gon,iYn,Uon,cYn,uYn,sYn,oYn,zon,fYn,Won,hYn,qP,Xon,lYn,Von,aYn,YJn=Me(mv,sen,327,Ie,function _de(){return N6(),S(M(YJn,1),U,327,0,[BP,qK,UK,GK,zK,HK])},function Qse(n){return N6(),$e((PIn(),ZJn),n)});b(1843,1,Lt,ygn),s.pf=function(e,t){Wme(this,u(e,135),t)},s.a=0,w(mv,"LevelHeightProcessor",1843),b(1844,1,Sh,jgn),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return An(),ap(),s4},w(mv,"LevelHeightProcessor/1",1844),b(1841,1,Lt,Egn),s.pf=function(e,t){n6e(this,u(e,135),t)},s.a=0,w(mv,"NeighborsProcessor",1841),b(1842,1,Sh,Tgn),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return An(),ap(),s4},w(mv,"NeighborsProcessor/1",1842),b(1845,1,Lt,Cgn),s.pf=function(e,t){zme(this,u(e,135),t)},s.a=0,w(mv,"NodePositionProcessor",1845),b(1839,1,Lt,O9n),s.pf=function(e,t){!function pje(n,e){var t,r,i,c,o,f,h;for(n.a.c=L(Zn,rn,1,0,5,1),r=Re(e.b,0);r.b!=r.d.c;)0==(t=u(_e(r),86)).b.b&&(H(t,(uc(),pw),(Hn(),!0)),W(n.a,t));switch(n.a.c.length){case 0:H(i=new _F(0,e,"DUMMY_ROOT"),(uc(),pw),(Hn(),!0)),H(i,WK,!0),Ke(e.b,i);break;case 1:break;default:for(c=new _F(0,e,"SUPER_ROOT"),f=new E(n.a);f.aSg&&(i-=Sg),f=u(hn(r,_v),8),(c=j.Math.atan2(f.b+n,f.a))<0&&(c+=Sg),(c+=e)>Sg&&(c-=Sg),ff(),Mo(1e-10),j.Math.abs(i-c)<=1e-10||i==c||isNaN(i)&&isNaN(c)?0:ic?1:$d(isNaN(i),isNaN(c))}(this.a,this.b,u(e,33),u(t,33))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},s.a=0,s.b=0,w(Atn,"RadialUtil/lambda$0$Type",549),b(1375,1,Lt,Pgn),s.pf=function(e,t){!function sEe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,A;for(le(e,"Calculate Graph Size",1),e.n&&n&&Eo(e,To(n),(Yu(),ks)),f=U3,h=U3,c=Ptn,o=Ptn,d=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));d.e!=d.i.gc();)p=(l=u(oe(d),33)).i,m=l.j,A=l.g,r=l.f,i=u(hn(l,(We(),By)),142),f=j.Math.min(f,p-i.b),h=j.Math.min(h,m-i.d),c=j.Math.max(c,p+A+i.c),o=j.Math.max(o,m+r+i.a);for(g=new fn(f-(v=u(hn(n,(We(),dd)),116)).b,h-v.d),a=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));a.e!=a.i.gc();)nu(l=u(oe(a),33),l.i-g.a),eu(l,l.j-g.b);t=o-h+(v.d+v.a),e0(n,c-f+(v.b+v.c)),n0(n,t),e.n&&n&&Eo(e,To(n),(Yu(),ks))}(u(e,33),t)},w($Hn,"CalculateGraphSize",1375),b(442,22,{3:1,35:1,22:1,442:1,234:1},eD),s.Kf=function(){switch(this.g){case 0:return new Fgn;case 1:return new Agn;case 2:return new Pgn;default:throw C(new Kn(tB+(null!=this.f?this.f:""+this.g)))}};var ZK,nH,eH,yYn,kYn=Me($Hn,sen,442,Ie,function Ple(){return UC(),S(M(kYn,1),U,442,0,[eH,ZK,nH])},function noe(n){return UC(),$e((tPn(),yYn),n)});b(645,1,{}),s.e=1,s.g=0,w(_B,"AbstractRadiusExtensionCompaction",645),b(1772,645,{},Ejn),s.hg=function(e){var t,r,i,c,o,f,h,l,a;for(this.c=u(hn(e,(R5(),h9)),33),function ate(n,e){n.f=e}(this,this.c),this.d=EL(u(hn(e,(Ob(),Sy)),293)),(l=u(hn(e,rH),19))&&D4n(this,l.a),_q(this,(_n(h=Y(hn(e,(We(),bd)))),h)),a=_b(this.c),this.d&&this.d.lg(a),function rke(n,e){var t,r,i;for(r=new E(e);r.ar?1:0}(u(e,33),u(t,33))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(_Hn,"RectPackingLayoutProvider/lambda$0$Type",1137),b(1256,1,{},kEn),s.a=0,s.c=!1,w($S,"AreaApproximation",1256);var kfn=Et($S,"BestCandidateFilter");b(638,1,{526:1},XI),s.mg=function(e,t,r){var i,c,o,f,h,l;for(l=new X,o=Ft,h=new E(e);h.a1)for(i=new E(n.a);i.a>>28]|e[n>>24&15]<<4|e[n>>20&15]<<8|e[n>>16&15]<<12|e[n>>12&15]<<16|e[n>>8&15]<<20|e[n>>4&15]<<24|e[15&n]<<28}(gp(this.b))},s.Jf=function(e){var t,i,c;for(i=0;i0&&IDn((Ce(t-1,e.length),e.charCodeAt(t-1)),")]}\"' \t\r\n");)--t;if(i>=t)throw C(new Kn("The given string does not contain any numbers."));if(2!=(c=Rb(e.substr(i,t-i),",|;|\r|\n")).length)throw C(new Kn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Lb(Fb(c[0])),this.b=Lb(Fb(c[1]))}catch(o){throw I(o=jt(o),127)?C(new Kn(JKn+o)):C(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var hr=w(Dk,"KVector",8);b(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},lu,Rj,bjn),s.Pc=function(){return function _we(n){var e,t,r;for(e=0,r=L(hr,q,8,n.b,0,1),t=Re(n,0);t.b!=t.d.c;)r[e++]=u(_e(t),8);return r}(this)},s.Jf=function(e){var r,i,c,o,f;i=Rb(e,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),zs(this);try{for(r=0,o=0,c=0,f=0;r0&&(o%2==0?c=Lb(i[r]):f=Lb(i[r]),o>0&&o%2!=0&&Ke(this,new fn(c,f)),++o),++r}catch(h){throw I(h=jt(h),127)?C(new Kn("The given string does not match the expected format for vectors."+h)):C(h)}},s.Ib=function(){var e,t,r;for(e=new ts("("),t=Re(this,0);t.b!=t.d.c;)De(e,(r=u(_e(t),8)).a+","+r.b),t.b!=t.d.c&&(e.a+="; ");return(e.a+=")",e).a};var fhn=w(Dk,"KVectorChain",74);b(248,22,{3:1,35:1,22:1,248:1},C5);var mH,nI,eI,Iy,Oy,tI,_Zn,lhn,kH,RZn,ahn,dhn,KZn,bhn,HZn,qZn,whn,ghn,GZn,hhn=Me(Zs,"Alignment",248,Ie,function $de(){return Th(),S(M(hhn,1),U,248,0,[mH,Iy,Oy,tI,nI,eI])},function goe(n){return Th(),$e((EIn(),_Zn),n)});b(979,1,Js,Z3n),s.Qe=function(e){XBn(e)},w(Zs,"BoxLayouterOptions",979),b(980,1,{},y2n),s.$e=function(){return new P2n},s._e=function(e){},w(Zs,"BoxLayouterOptions/BoxFactory",980),b(291,22,{3:1,35:1,22:1,291:1},M5);var Dy,yH,$y,Fy,Ly,jH,UZn,w9,zZn,vhn,Bv,WZn,XZn,phn,VZn,rI,mhn,Ny,q0,khn,TH,CH,yhn,jhn,Ehn,Thn,Chn,Mhn,Zg,Shn,QZn,xy,MH,iI,Ahn,n2,Phn,By,Ihn,Ohn,Dhn,e2,$hn,ad,Fhn,cI,t2,Lhn,Ql,Nhn,uI,_y,dd,xhn,JZn,Bhn,YZn,ZZn,_hn,Rhn,SH,AH,PH,IH,Khn,Ru,g9,Hhn,OH,DH,mw,qhn,Ghn,r2,Uhn,_v,sI,$H,F4,nne,FH,ene,tne,zhn,rne,Whn,ine,Rv,Xhn,oI,Vhn,Qhn,bd,cne,Jhn,Yhn,Zhn,EH=Me(Zs,"ContentAlignment",291,Ie,function Dde(){return $b(),S(M(EH,1),U,291,0,[jH,Ly,Fy,yH,Dy,$y])},function voe(n){return $b(),$e((jIn(),UZn),n)});b(684,1,Js,Mq),s.Qe=function(e){En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,zHn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(x1(),$4)),tn),Tn((Jo(),Wn))))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,WHn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Of),rMe),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,itn),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),vhn),xt),hhn),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,bv),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,Ytn),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),Of),fhn),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,AS),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),mhn),xv),EH),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Bk),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Hn(),!1)),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,stn),""),Rnn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),khn),xt),v9),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Nk),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),Ehn),xt),NH),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,FS),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,SS),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),Shn),xt),a1n),vt(Wn,S(M(V1,1),U,175,0,[wr]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,j0),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),xhn),Of),kcn),vt(Wn,S(M(V1,1),U,175,0,[wr]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ik),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,FB),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,um),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Zx),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),Hhn),xt),w1n),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,PS),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),Of),hr),vt(wr,S(M(V1,1),U,175,0,[ld,X1]))))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,Pk),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),oc),qr),vt(wr,S(M(V1,1),U,175,0,[ah]))))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,fS),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,cm),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,gtn),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),Phn),Of),fhn),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,mtn),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ktn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,XHn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),Of),oMe),vt(Wn,S(M(V1,1),U,175,0,[X1]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,jtn),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),Ihn),Of),mcn),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ttn),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),xr),cr),vt(wr,S(M(V1,1),U,175,0,[ah,ld,X1]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,VHn),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),Di),Cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,QHn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,JHn),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),Q(100)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,YHn),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ZHn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Q(4e3)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,nqn),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Q(400)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,eqn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,tqn),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,rqn),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,iqn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Jtn),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),phn),xt),y1n),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Gen),Cf),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Uen),Cf),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Wx),Cf),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,zen),Cf),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Yx),Cf),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Wen),Cf),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Xen),Cf),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Jen),Cf),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ven),Cf),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Qen),Cf),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Wb),Cf),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Yen),Cf),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Zen),Cf),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Di),Cr),vt(Wn,S(M(V1,1),U,175,0,[wr]))))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,ntn),Cf),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),Of),Mne),vt(wr,S(M(V1,1),U,175,0,[ah,ld,X1]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Etn),Cf),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),Yhn),Of),mcn),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,$B),oqn),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),oc),qr),vt(Wn,S(M(V1,1),U,175,0,[wr]))))),Er(e,$B,DB,ZZn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,DB),oqn),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),Bhn),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,otn),fqn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Dhn),Of),kcn),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,W3),fqn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),$hn),xv),fi),vt(wr,S(M(V1,1),U,175,0,[X1]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ltn),NS),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),Rhn),xt),y9),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,atn),NS),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),xt),y9),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,dtn),NS),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),xt),y9),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,btn),NS),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),xt),y9),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,wtn),NS),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),xt),y9),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Cg),ZB),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),Fhn),xv),T9),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,wv),ZB),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),Nhn),xv),v1n),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,gv),ZB),"Node Size Minimum"),"The minimal size to which a node can be reduced."),Lhn),Of),hr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,OB),ZB),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,vtn),IB),"Edge Label Placement"),"Gives a hint on where to put edge labels."),yhn),xt),n1n),Tn(X1)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,hS),IB),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),xr),cr),Tn(X1)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,cqn),"font"),"Font Name"),"Font name used for a label."),$4),tn),Tn(X1)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,uqn),"font"),"Font Size"),"Font size used for a label."),oc),qr),Tn(X1)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,ytn),n_),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),Of),hr),Tn(ld)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,ptn),n_),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),oc),qr),Tn(ld)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,rtn),n_),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),Uhn),xt),Qr),Tn(ld)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,etn),n_),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),Di),Cr),Tn(ld)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,X3),Ztn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),qhn),xv),hI),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ftn),Ztn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,htn),Ztn),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ctn),hqn),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,utn),hqn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),xr),cr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Xx),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),Di),Cr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,sqn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),Chn),xt),u1n),Tn(ah)))),b5(e,new _2(o5(op(sp(new a2,Qn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),b5(e,new _2(o5(op(sp(new a2,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),b5(e,new _2(o5(op(sp(new a2,ds),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),b5(e,new _2(o5(op(sp(new a2,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),b5(e,new _2(o5(op(sp(new a2,DHn),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),b5(e,new _2(o5(op(sp(new a2,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),b5(e,new _2(o5(op(sp(new a2,ch),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),$Bn((new n4n,e)),XBn((new Z3n,e)),fBn((new e4n,e))},w(Zs,"CoreOptions",684),b(103,22,{3:1,35:1,22:1,103:1},m8);var a1,co,Fo,Lh,d1,une,v9=Me(Zs,Rnn,103,Ie,function ede(){return ci(),S(M(v9,1),U,103,0,[Lh,Fo,co,a1,d1])},function koe(n){return ci(),$e((eIn(),une),n)});b(272,22,{3:1,35:1,22:1,272:1},uD);var L4,kw,N4,sne,n1n=Me(Zs,"EdgeLabelPlacement",272,Ie,function Lle(){return vf(),S(M(n1n,1),U,272,0,[L4,kw,N4])},function yoe(n){return vf(),$e((oPn(),sne),n)});b(218,22,{3:1,35:1,22:1,218:1},bE);var x4,Ry,Kv,LH,one,NH=Me(Zs,"EdgeRouting",218,Ie,function Sae(){return r1(),S(M(NH,1),U,218,0,[LH,Ry,x4,Kv])},function joe(n){return r1(),$e((DPn(),one),n)});b(312,22,{3:1,35:1,22:1,312:1},S5);var e1n,t1n,r1n,i1n,xH,c1n,fne,s1n,o1n,f1n,h1n,hne,l1n,p9,u1n=Me(Zs,"EdgeType",312,Ie,function Kde(){return kM(),S(M(u1n,1),U,312,0,[xH,r1n,c1n,e1n,i1n,t1n])},function Eoe(n){return kM(),$e((OIn(),fne),n)});b(977,1,Js,n4n),s.Qe=function(e){$Bn(e)},w(Zs,"FixedLayouterOptions",977),b(978,1,{},F2n),s.$e=function(){return new S2n},s._e=function(e){},w(Zs,"FixedLayouterOptions/FixedFactory",978),b(334,22,{3:1,35:1,22:1,334:1},sD);var Q1,fI,m9,lne,a1n=Me(Zs,"HierarchyHandling",334,Ie,function Fle(){return e1(),S(M(a1n,1),U,334,0,[fI,Q1,m9])},function Toe(n){return e1(),$e((sPn(),lne),n)});b(285,22,{3:1,35:1,22:1,285:1},wE);var Nh,Jl,Ky,Hy,dne,ane=Me(Zs,"LabelSide",285,Ie,function Mae(){return hs(),S(M(ane,1),U,285,0,[Hy,Nh,Jl,Ky])},function Coe(n){return hs(),$e((OPn(),dne),n)});b(93,22,{3:1,35:1,22:1,93:1},Nw);var b1,Lo,uo,No,vs,xo,so,xh,Bo,bne,fi=Me(Zs,"NodeLabelPlacement",93,Ie,function G0e(){return xb(),S(M(fi,1),U,93,0,[Lo,b1,No,Bo,xh,so,vs,xo,uo])},function Moe(n){return xb(),$e((DOn(),bne),n)});b(249,22,{3:1,35:1,22:1,249:1},k8);var d1n,k9,Yl,b1n,qy,wne,y9=Me(Zs,"PortAlignment",249,Ie,function tde(){return ig(),S(M(y9,1),U,249,0,[Yl,qy,d1n,k9,b1n])},function Soe(n){return ig(),$e((tIn(),wne),n)});b(98,22,{3:1,35:1,22:1,98:1},A5);var wd,Pc,Bh,B4,Df,Zl,gne,w1n=Me(Zs,"PortConstraints",98,Ie,function Tde(){return Tr(),S(M(w1n,1),U,98,0,[Zl,Df,B4,wd,Bh,Pc])},function Aoe(n){return Tr(),$e((vIn(),gne),n)});b(273,22,{3:1,35:1,22:1,273:1},P5);var j9,E9,w1,Gy,na,Hv,vne,hI=Me(Zs,"PortLabelPlacement",273,Ie,function Rde(){return Su(),S(M(hI,1),U,273,0,[na,w1,Gy,E9,j9,Hv])},function Poe(n){return Su(),$e((IIn(),vne),n)});b(61,22,{3:1,35:1,22:1,61:1},y8);var Xn,Rn,Rs,Ks,cu,Gc,$f,_o,Iu,yu,Ic,Ou,uu,su,Ro,ps,ms,oo,ae,Xi,qn,pne,mne,kne,g1n,yne,jne,Qr=Me(Zs,"PortSide",61,Ie,function Yae(){return J(),S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn])},function Doe(n){return J(),$e((rIn(),pne),n)});b(981,1,Js,e4n),s.Qe=function(e){fBn(e)},w(Zs,"RandomLayouterOptions",981),b(982,1,{},L2n),s.$e=function(){return new B2n},s._e=function(e){},w(Zs,"RandomLayouterOptions/RandomFactory",982),b(374,22,{3:1,35:1,22:1,374:1},gE);var yw,Uy,zy,gd,Ene,T9=Me(Zs,"SizeConstraint",374,Ie,function Cae(){return Zu(),S(M(T9,1),U,374,0,[zy,gd,Uy,yw])},function Ioe(n){return Zu(),$e((FPn(),Ene),n)});b(259,22,{3:1,35:1,22:1,259:1},xw);var Wy,lI,_4,BH,Xy,C9,aI,dI,bI,Tne,v1n=Me(Zs,"SizeOptions",259,Ie,function J0e(){return xu(),S(M(v1n,1),U,259,0,[_4,Xy,lI,C9,aI,bI,dI,BH,Wy])},function Ooe(n){return xu(),$e((VOn(),Tne),n)});b(370,1,{1949:1},ip),s.b=!1,s.c=0,s.d=-1,s.e=null,s.f=null,s.g=-1,s.j=!1,s.k=!1,s.n=!1,s.o=0,s.q=0,s.r=0,w(dc,"BasicProgressMonitor",370),b(972,209,Xa,P2n),s.Ze=function(e,t){var r,i,c,o,f,h,l,a,d;0===(le(t,"Box layout",2),c=n8(Y(hn(e,(yM(),GZn)))),o=u(hn(e,qZn),116),r=on(sn(hn(e,ahn))),i=on(sn(hn(e,dhn))),u(hn(e,kH),311).g)?(h=new bu((!e.a&&(e.a=new V(It,e,10,11)),e.a)),An(),ar(h,new U6n(i)),f=h,l=$Y(e),(null==(a=Y(hn(e,lhn)))||(_n(a),a<=0))&&(a=1.3),p0(e,(d=NTe(f,c,o,l.a,l.b,r,(_n(a),a))).a,d.b,!1,!0)):Dje(e,c,o,r),ce(t)},w(dc,"BoxLayoutProvider",972),b(973,1,ft,U6n),s.ue=function(e,t){return function n8e(n,e,t){var r,i,c;return!(i=u(hn(e,(yM(),ghn)),19))&&(i=Q(0)),!(c=u(hn(t,ghn),19))&&(c=Q(0)),i.a>c.a?-1:i.a0&&p.b>0&&p0(A,p.a,p.b,!0,!0)),g=j.Math.max(g,A.i+A.g),v=j.Math.max(v,A.j+A.f),a=new re((!A.n&&(A.n=new V(_i,A,1,7)),A.n));a.e!=a.i.gc();)h=u(oe(a),137),(wn=u(hn(h,p9),8))&&of(h,wn.a,wn.b),g=j.Math.max(g,A.i+h.i+h.g),v=j.Math.max(v,A.j+h.j+h.f);for(z=new re((!A.c&&(A.c=new V(Ku,A,9,9)),A.c));z.e!=z.i.gc();)for(R=u(oe(z),118),(wn=u(hn(R,p9),8))&&of(R,wn.a,wn.b),ln=A.j+R.j,g=j.Math.max(g,(en=A.i+R.i)+R.g),v=j.Math.max(v,ln+R.f),l=new re((!R.n&&(R.n=new V(_i,R,1,7)),R.n));l.e!=l.i.gc();)h=u(oe(l),137),(wn=u(hn(h,p9),8))&&of(h,wn.a,wn.b),g=j.Math.max(g,en+h.i+h.g),v=j.Math.max(v,ln+h.j+h.f);for(c=new ie(ue(c1(A).a.Kc(),new Yn));Ae(c);)d=TRn(r=u(pe(c),79)),g=j.Math.max(g,d.a),v=j.Math.max(v,d.b);for(i=new ie(ue(tk(A).a.Kc(),new Yn));Ae(i);)At(Ch(r=u(pe(i),79)))!=e&&(d=TRn(r),g=j.Math.max(g,d.a),v=j.Math.max(v,d.b))}if(o==(r1(),x4))for($=new re((!e.a&&(e.a=new V(It,e,10,11)),e.a));$.e!=$.i.gc();)for(i=new ie(ue(c1(A=u(oe($),33)).a.Kc(),new Yn));Ae(i);)f=Zke(r=u(pe(i),79)),bi(r,n2,0==f.b?null:f);on(sn(hn(e,(NC(),f1n))))||p0(e,g+(N=u(hn(e,hne),116)).b+N.c,v+N.d+N.a,!0,!0),ce(t)},w(dc,"FixedLayoutProvider",1138),b(373,134,{3:1,414:1,373:1,94:1,134:1},JI,KPn),s.Jf=function(e){var r,i,o,f,h,l,a;if(e)try{for(l=Rb(e,";,;"),f=0,h=(o=l).length;f>16&Gt|t^(o&Gt)<<16},s.Kc=function(){return new V6n(this)},s.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+xi(this.b)+")":null==this.b?"pair("+xi(this.a)+",null)":"pair("+xi(this.a)+","+xi(this.b)+")"},w(dc,"Pair",46),b(983,1,mr,V6n),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},s.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw C(new ic)},s.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),C(new hu)},s.b=!1,s.c=!1,w(dc,"Pair/1",983),b(448,1,{448:1},CCn),s.Fb=function(e){return mc(this.a,u(e,448).a)&&mc(this.c,u(e,448).c)&&mc(this.d,u(e,448).d)&&mc(this.b,u(e,448).b)},s.Hb=function(){return xC(S(M(Zn,1),rn,1,5,[this.a,this.c,this.d,this.b]))},s.Ib=function(){return"("+this.a+Xr+this.c+Xr+this.d+Xr+this.b+")"},w(dc,"Quadruple",448),b(1126,209,Xa,B2n),s.Ze=function(e,t){var o;le(t,"Random Layout",1),0!=(!e.a&&(e.a=new V(It,e,10,11)),e.a).i?(function dTe(n,e,t,r,i){var c,f,h,l,a,d,g,v,p,m,T,A,$,D,R,z,en,ln,wn,Gn;for(D=0,p=0,v=0,g=1,$=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));$.e!=$.i.gc();)g+=Vh(new ie(ue(c1(T=u(oe($),33)).a.Kc(),new Yn))),p=j.Math.max(p,ln=T.g),v=j.Math.max(v,d=T.f),D+=ln*d;for(m=(!n.a&&(n.a=new V(It,n,10,11)),n.a).i,c=j.Math.sqrt(D+2*r*r*g*m),h=j.Math.max(c*t,p),f=j.Math.max(c/t,v),A=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));A.e!=A.i.gc();)T=u(oe(A),33),wn=i.b+(Nu(e,26)*Z6+Nu(e,27)*nm)*(h-T.g),Gn=i.b+(Nu(e,26)*Z6+Nu(e,27)*nm)*(f-T.f),nu(T,wn),eu(T,Gn);for(en=h+(i.b+i.c),z=f+(i.d+i.a),R=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));R.e!=R.i.gc();)for(a=new ie(ue(c1(u(oe(R),33)).a.Kc(),new Yn));Ae(a);)B6(l=u(pe(a),79))||bCe(l,e,en,z);p0(n,en+=i.b+i.c,z+=i.d+i.a,!1,!0)}(e,(o=u(hn(e,(fJ(),yne)),19))&&0!=o.a?new GT(o.a):new uL,n8(Y(hn(e,mne))),n8(Y(hn(e,jne))),u(hn(e,kne),116)),ce(t)):ce(t)},w(dc,"RandomLayoutProvider",1126),b(553,1,{}),s.qf=function(){return new fn(this.f.i,this.f.j)},s.We=function(e){return JCn(e,(We(),Ru))?hn(this.f,Ine):hn(this.f,e)},s.rf=function(){return new fn(this.f.g,this.f.f)},s.sf=function(){return this.g},s.Xe=function(e){return Aa(this.f,e)},s.tf=function(e){nu(this.f,e.a),eu(this.f,e.b)},s.uf=function(e){e0(this.f,e.a),n0(this.f,e.b)},s.vf=function(e){this.g=e},s.g=0,w(gm,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),b(554,1,{839:1},Mj),s.wf=function(){var e,t;if(!this.b)for(this.b=RT(pT(this.a).i),t=new re(pT(this.a));t.e!=t.i.gc();)e=u(oe(t),137),W(this.b,new EO(e));return this.b},s.b=null,w(gm,"ElkGraphAdapters/ElkEdgeAdapter",554),b(301,553,{},Y0),s.xf=function(){return CFn(this)},s.a=null,w(gm,"ElkGraphAdapters/ElkGraphAdapter",301),b(630,553,{181:1},EO),w(gm,"ElkGraphAdapters/ElkLabelAdapter",630),b(629,553,{680:1},jD),s.wf=function(){return function wpe(n){var e,t;if(!n.b)for(n.b=RT(u(n.f,33).Ag().i),t=new re(u(n.f,33).Ag());t.e!=t.i.gc();)e=u(oe(t),137),W(n.b,new EO(e));return n.b}(this)},s.Af=function(){var e;return!(e=u(hn(this.f,(We(),By)),142))&&(e=new n5),e},s.Cf=function(){return function gpe(n){var e,t;if(!n.e)for(n.e=RT(v$(u(n.f,33)).i),t=new re(v$(u(n.f,33)));t.e!=t.i.gc();)e=u(oe(t),118),W(n.e,new Tmn(e));return n.e}(this)},s.Ef=function(e){var t;t=new xD(e),bi(this.f,(We(),By),t)},s.Ff=function(e){bi(this.f,(We(),dd),new iW(e))},s.yf=function(){return this.d},s.zf=function(){var e,t;if(!this.a)for(this.a=new X,t=new ie(ue(tk(u(this.f,33)).a.Kc(),new Yn));Ae(t);)e=u(pe(t),79),W(this.a,new Mj(e));return this.a},s.Bf=function(){var e,t;if(!this.c)for(this.c=new X,t=new ie(ue(c1(u(this.f,33)).a.Kc(),new Yn));Ae(t);)e=u(pe(t),79),W(this.c,new Mj(e));return this.c},s.Df=function(){return 0!=TT(u(this.f,33)).i||on(sn(u(this.f,33).We((We(),xy))))},s.Gf=function(){u0e(this,(tb(),Pne))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null,w(gm,"ElkGraphAdapters/ElkNodeAdapter",629),b(1266,553,{838:1},Tmn),s.wf=function(){return function Tpe(n){var e,t;if(!n.b)for(n.b=RT(u(n.f,118).Ag().i),t=new re(u(n.f,118).Ag());t.e!=t.i.gc();)e=u(oe(t),137),W(n.b,new EO(e));return n.b}(this)},s.zf=function(){var e,t;if(!this.a)for(this.a=gh(u(this.f,118).xg().i),t=new re(u(this.f,118).xg());t.e!=t.i.gc();)e=u(oe(t),79),W(this.a,new Mj(e));return this.a},s.Bf=function(){var e,t;if(!this.c)for(this.c=gh(u(this.f,118).yg().i),t=new re(u(this.f,118).yg());t.e!=t.i.gc();)e=u(oe(t),79),W(this.c,new Mj(e));return this.c},s.Hf=function(){return u(u(this.f,118).We((We(),r2)),61)},s.If=function(){var e,t,r,i,o,f,h;for(i=lf(u(this.f,118)),r=new re(u(this.f,118).yg());r.e!=r.i.gc();)for(h=new re((!(e=u(oe(r),79)).c&&(e.c=new $n(he,e,5,8)),e.c));h.e!=h.i.gc();){if(Eb(Ii(f=u(oe(h),82)),i))return!0;if(Ii(f)==i&&on(sn(hn(e,(We(),MH)))))return!0}for(t=new re(u(this.f,118).xg());t.e!=t.i.gc();)for(o=new re((!(e=u(oe(t),79)).b&&(e.b=new $n(he,e,4,7)),e.b));o.e!=o.i.gc();)if(Eb(Ii(u(oe(o),82)),i))return!0;return!1},s.a=null,s.b=null,s.c=null,w(gm,"ElkGraphAdapters/ElkPortAdapter",1266),b(1267,1,ft,_2n),s.ue=function(e,t){return function z7e(n,e){var t,r,i,c;if(0!=(c=u(hn(n,(We(),r2)),61).g-u(hn(e,r2),61).g))return c;if(t=u(hn(n,OH),19),r=u(hn(e,OH),19),t&&r&&0!=(i=t.a-r.a))return i;switch(u(hn(n,r2),61).g){case 1:return Jt(n.i,e.i);case 2:return Jt(n.j,e.j);case 3:return Jt(e.i,n.i);case 4:return Jt(e.j,n.j);default:throw C(new $i(uen))}}(u(e,118),u(t,118))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(gm,"ElkGraphAdapters/PortComparator",1267);var One,gr,Dne,$ne,C1n,wI,Fne,M1n,S1n,A1n,ta,Lne,Nne,xne,S9,P1n,Bne,_ne,ea=Et(Ns,"EObject"),R4=Et(Pg,dqn),fo=Et(Pg,bqn),Vy=Et(Pg,wqn),Qy=Et(Pg,"ElkShape"),he=Et(Pg,gqn),lr=Et(Pg,nrn),Mt=Et(Pg,vqn),Jy=Et(Ns,pqn),M9=Et(Ns,"EFactory"),RH=Et(Ns,mqn),cf=Et(Ns,"EPackage"),_i=Et(Pg,ern),It=Et(Pg,trn),Ku=Et(Pg,rrn);b(90,1,kqn),s.Jg=function(){return this.Kg(),null},s.Kg=function(){return null},s.Lg=function(){return this.Kg(),!1},s.Mg=function(){return!1},s.Ng=function(e){nt(this,e)},w(kv,"BasicNotifierImpl",90),b(97,90,Tqn),s.nh=function(){return zu(this)},s.Og=function(e,t){return e},s.Pg=function(){throw C(new ye)},s.Qg=function(e){var t;return t=ei(u(In(this.Tg(),this.Vg()),18)),this.eh().ih(this,t.n,t.f,e)},s.Rg=function(e,t){throw C(new ye)},s.Sg=function(e,t,r){return as(this,e,t,r)},s.Tg=function(){var e;return this.Pg()&&(e=this.Pg().ck())?e:this.zh()},s.Ug=function(){return fN(this)},s.Vg=function(){throw C(new ye)},s.Wg=function(){var e,t;return!(t=this.ph().dk())&&this.Pg().ik((w5(),t=null==(e=yX(Qf(this.Tg())))?XH:new T8(this,e))),t},s.Xg=function(e,t){return e},s.Yg=function(e){return e.Gj()?e.aj():yt(this.Tg(),e)},s.Zg=function(){var e;return(e=this.Pg())?e.fk():null},s.$g=function(){return this.Pg()?this.Pg().ck():null},s._g=function(e,t,r){return cM(this,e,t,r)},s.ah=function(e){return Rp(this,e)},s.bh=function(e,t){return nF(this,e,t)},s.dh=function(){var e;return!!(e=this.Pg())&&e.gk()},s.eh=function(){throw C(new ye)},s.fh=function(){return YC(this)},s.gh=function(e,t,r,i){return Z2(this,e,t,i)},s.hh=function(e,t,r){return u(In(this.Tg(),t),66).Nj().Qj(this,this.yh(),t-this.Ah(),e,r)},s.ih=function(e,t,r,i){return AT(this,e,t,i)},s.jh=function(e,t,r){return u(In(this.Tg(),t),66).Nj().Rj(this,this.yh(),t-this.Ah(),e,r)},s.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},s.lh=function(e){return kL(this,e)},s.mh=function(e){return bMn(this,e)},s.oh=function(e){return __n(this,e)},s.ph=function(){throw C(new ye)},s.qh=function(){return this.Pg()?this.Pg().ek():null},s.rh=function(){return YC(this)},s.sh=function(e,t){iN(this,e,t)},s.th=function(e){this.ph().hk(e)},s.uh=function(e){this.ph().kk(e)},s.vh=function(e){this.ph().jk(e)},s.wh=function(e,t){var r,i,c,o;return(o=this.Zg())&&e&&(t=Kr(o.Vk(),this,t),o.Zk(this)),(i=this.eh())&&(CN(this,this.eh(),this.Vg()).Bb&Vr?(c=i.fh())&&(e?!o&&c.Zk(this):c.Yk(this)):(t=(r=this.Vg())>=0?this.Qg(t):this.eh().ih(this,-1-r,null,t),t=this.Sg(null,-1,t))),this.uh(e),t},s.xh=function(e){var t,r,i,c,o,f,l;if((o=yt(r=this.Tg(),e))>=(t=this.Ah()))return u(e,66).Nj().Uj(this,this.yh(),o-t);if(o<=-1){if(!(f=mg((vu(),Dr),r,e)))throw C(new Kn(_l+e.ne()+e_));if(Zr(),u(f,66).Oj()||(f=R2(ji(Dr,f))),c=u((i=this.Yg(f))>=0?this._g(i,!0,!0):b0(this,f,!0),153),(l=f.Zj())>1||-1==l)return u(u(c,215).hl(e,!1),76)}else if(e.$j())return u((i=this.Yg(e))>=0?this._g(i,!1,!0):b0(this,e,!1),76);return new Fkn(this,e)},s.yh=function(){return jV(this)},s.zh=function(){return(pl(),Nn).S},s.Ah=function(){return ee(this.zh())},s.Bh=function(e){ZL(this,e)},s.Ib=function(){return Ao(this)},w(xn,"BasicEObjectImpl",97),b(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),s.Ch=function(e){return EV(this)[e]},s.Dh=function(e,t){St(EV(this),e,t)},s.Eh=function(e){St(EV(this),e,null)},s.Jg=function(){return u(Bn(this,4),126)},s.Kg=function(){throw C(new ye)},s.Lg=function(){return 0!=(4&this.Db)},s.Pg=function(){throw C(new ye)},s.Fh=function(e){Y2(this,2,e)},s.Rg=function(e,t){this.Db=t<<16|255&this.Db,this.Fh(e)},s.Tg=function(){return Qc(this)},s.Vg=function(){return this.Db>>16},s.Wg=function(){var t;return w5(),null==(t=yX(Qf(u(Bn(this,16),26)||this.zh())))?XH:new T8(this,t)},s.Mg=function(){return 0==(1&this.Db)},s.Zg=function(){return u(Bn(this,128),1935)},s.$g=function(){return u(Bn(this,16),26)},s.dh=function(){return 0!=(32&this.Db)},s.eh=function(){return u(Bn(this,2),49)},s.kh=function(){return 0!=(64&this.Db)},s.ph=function(){throw C(new ye)},s.qh=function(){return u(Bn(this,64),281)},s.th=function(e){Y2(this,16,e)},s.uh=function(e){Y2(this,128,e)},s.vh=function(e){Y2(this,64,e)},s.yh=function(){return _c(this)},s.Db=0,w(xn,"MinimalEObjectImpl",114),b(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s.Fh=function(e){this.Cb=e},s.eh=function(){return this.Cb},w(xn,"MinimalEObjectImpl/Container",115),b(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(e,t,r){return FJ(this,e,t,r)},s.jh=function(e,t,r){return jY(this,e,t,r)},s.lh=function(e){return $X(this,e)},s.sh=function(e,t){mQ(this,e,t)},s.zh=function(){return Fc(),Nne},s.Bh=function(e){oQ(this,e)},s.Ve=function(){return z$n(this)},s.We=function(e){return hn(this,e)},s.Xe=function(e){return Aa(this,e)},s.Ye=function(e,t){return bi(this,e,t)},w(Ja,"EMapPropertyHolderImpl",1985),b(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},wj),s._g=function(e,t,r){switch(e){case 0:return this.a;case 1:return this.b}return cM(this,e,t,r)},s.lh=function(e){switch(e){case 0:return 0!=this.a;case 1:return 0!=this.b}return kL(this,e)},s.sh=function(e,t){switch(e){case 0:return void dC(this,K(Y(t)));case 1:return void bC(this,K(Y(t)))}iN(this,e,t)},s.zh=function(){return Fc(),Dne},s.Bh=function(e){switch(e){case 0:return void dC(this,0);case 1:return void bC(this,0)}ZL(this,e)},s.Ib=function(){var e;return 64&this.Db?Ao(this):((e=new Gs(Ao(this))).a+=" (x: ",Fw(e,this.a),e.a+=", y: ",Fw(e,this.b),e.a+=")",e.a)},s.a=0,s.b=0,w(Ja,"ElkBendPointImpl",567),b(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(e,t,r){return BQ(this,e,t,r)},s.hh=function(e,t,r){return WL(this,e,t,r)},s.jh=function(e,t,r){return OF(this,e,t,r)},s.lh=function(e){return nQ(this,e)},s.sh=function(e,t){ZJ(this,e,t)},s.zh=function(){return Fc(),Fne},s.Bh=function(e){FQ(this,e)},s.zg=function(){return this.k},s.Ag=function(){return pT(this)},s.Ib=function(){return iL(this)},s.k=null,w(Ja,"ElkGraphElementImpl",723),b(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(e,t,r){return XQ(this,e,t,r)},s.lh=function(e){return eJ(this,e)},s.sh=function(e,t){nY(this,e,t)},s.zh=function(){return Fc(),Lne},s.Bh=function(e){uJ(this,e)},s.Bg=function(){return this.f},s.Cg=function(){return this.g},s.Dg=function(){return this.i},s.Eg=function(){return this.j},s.Fg=function(e,t){CE(this,e,t)},s.Gg=function(e,t){of(this,e,t)},s.Hg=function(e){nu(this,e)},s.Ig=function(e){eu(this,e)},s.Ib=function(){return YL(this)},s.f=0,s.g=0,s.i=0,s.j=0,w(Ja,"ElkShapeImpl",724),b(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(e,t,r){return AJ(this,e,t,r)},s.hh=function(e,t,r){return WJ(this,e,t,r)},s.jh=function(e,t,r){return XJ(this,e,t,r)},s.lh=function(e){return vQ(this,e)},s.sh=function(e,t){rZ(this,e,t)},s.zh=function(){return Fc(),$ne},s.Bh=function(e){kJ(this,e)},s.xg=function(){return!this.d&&(this.d=new $n(lr,this,8,5)),this.d},s.yg=function(){return!this.e&&(this.e=new $n(lr,this,7,4)),this.e},w(Ja,"ElkConnectableShapeImpl",725),b(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},yq),s.Qg=function(e){return qJ(this,e)},s._g=function(e,t,r){switch(e){case 3:return W8(this);case 4:return!this.b&&(this.b=new $n(he,this,4,7)),this.b;case 5:return!this.c&&(this.c=new $n(he,this,5,8)),this.c;case 6:return!this.a&&(this.a=new V(Mt,this,6,6)),this.a;case 7:return Hn(),!this.b&&(this.b=new $n(he,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $n(he,this,5,8)),this.c.i<=1));case 8:return Hn(),!!B6(this);case 9:return Hn(),!!d0(this);case 10:return Hn(),!this.b&&(this.b=new $n(he,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new $n(he,this,5,8)),0!=this.c.i)}return BQ(this,e,t,r)},s.hh=function(e,t,r){var i;switch(t){case 3:return this.Cb&&(r=(i=this.Db>>16)>=0?qJ(this,r):this.Cb.ih(this,-1-i,null,r)),Nz(this,u(e,33),r);case 4:return!this.b&&(this.b=new $n(he,this,4,7)),$c(this.b,e,r);case 5:return!this.c&&(this.c=new $n(he,this,5,8)),$c(this.c,e,r);case 6:return!this.a&&(this.a=new V(Mt,this,6,6)),$c(this.a,e,r)}return WL(this,e,t,r)},s.jh=function(e,t,r){switch(t){case 3:return Nz(this,null,r);case 4:return!this.b&&(this.b=new $n(he,this,4,7)),Kr(this.b,e,r);case 5:return!this.c&&(this.c=new $n(he,this,5,8)),Kr(this.c,e,r);case 6:return!this.a&&(this.a=new V(Mt,this,6,6)),Kr(this.a,e,r)}return OF(this,e,t,r)},s.lh=function(e){switch(e){case 3:return!!W8(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new $n(he,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $n(he,this,5,8)),this.c.i<=1));case 8:return B6(this);case 9:return d0(this);case 10:return!this.b&&(this.b=new $n(he,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new $n(he,this,5,8)),0!=this.c.i)}return nQ(this,e)},s.sh=function(e,t){switch(e){case 3:return void wN(this,u(t,33));case 4:return!this.b&&(this.b=new $n(he,this,4,7)),de(this.b),!this.b&&(this.b=new $n(he,this,4,7)),void Dt(this.b,u(t,14));case 5:return!this.c&&(this.c=new $n(he,this,5,8)),de(this.c),!this.c&&(this.c=new $n(he,this,5,8)),void Dt(this.c,u(t,14));case 6:return!this.a&&(this.a=new V(Mt,this,6,6)),de(this.a),!this.a&&(this.a=new V(Mt,this,6,6)),void Dt(this.a,u(t,14))}ZJ(this,e,t)},s.zh=function(){return Fc(),C1n},s.Bh=function(e){switch(e){case 3:return void wN(this,null);case 4:return!this.b&&(this.b=new $n(he,this,4,7)),void de(this.b);case 5:return!this.c&&(this.c=new $n(he,this,5,8)),void de(this.c);case 6:return!this.a&&(this.a=new V(Mt,this,6,6)),void de(this.a)}FQ(this,e)},s.Ib=function(){return T_n(this)},w(Ja,"ElkEdgeImpl",352),b(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},gj),s.Qg=function(e){return _J(this,e)},s._g=function(e,t,r){switch(e){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new Vt(fo,this,5)),this.a;case 6:return lMn(this);case 7:return t?CL(this):this.i;case 8:return t?TL(this):this.f;case 9:return!this.g&&(this.g=new $n(Mt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new $n(Mt,this,10,9)),this.e;case 11:return this.d}return FJ(this,e,t,r)},s.hh=function(e,t,r){var c;switch(t){case 6:return this.Cb&&(r=(c=this.Db>>16)>=0?_J(this,r):this.Cb.ih(this,-1-c,null,r)),xz(this,u(e,79),r);case 9:return!this.g&&(this.g=new $n(Mt,this,9,10)),$c(this.g,e,r);case 10:return!this.e&&(this.e=new $n(Mt,this,10,9)),$c(this.e,e,r)}return u(In(u(Bn(this,16),26)||(Fc(),wI),t),66).Nj().Qj(this,_c(this),t-ee((Fc(),wI)),e,r)},s.jh=function(e,t,r){switch(t){case 5:return!this.a&&(this.a=new Vt(fo,this,5)),Kr(this.a,e,r);case 6:return xz(this,null,r);case 9:return!this.g&&(this.g=new $n(Mt,this,9,10)),Kr(this.g,e,r);case 10:return!this.e&&(this.e=new $n(Mt,this,10,9)),Kr(this.e,e,r)}return jY(this,e,t,r)},s.lh=function(e){switch(e){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!lMn(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return $X(this,e)},s.sh=function(e,t){switch(e){case 1:return void zp(this,K(Y(t)));case 2:return void Xp(this,K(Y(t)));case 3:return void Up(this,K(Y(t)));case 4:return void Wp(this,K(Y(t)));case 5:return!this.a&&(this.a=new Vt(fo,this,5)),de(this.a),!this.a&&(this.a=new Vt(fo,this,5)),void Dt(this.a,u(t,14));case 6:return void Cxn(this,u(t,79));case 7:return void mC(this,u(t,82));case 8:return void pC(this,u(t,82));case 9:return!this.g&&(this.g=new $n(Mt,this,9,10)),de(this.g),!this.g&&(this.g=new $n(Mt,this,9,10)),void Dt(this.g,u(t,14));case 10:return!this.e&&(this.e=new $n(Mt,this,10,9)),de(this.e),!this.e&&(this.e=new $n(Mt,this,10,9)),void Dt(this.e,u(t,14));case 11:return void UV(this,Te(t))}mQ(this,e,t)},s.zh=function(){return Fc(),wI},s.Bh=function(e){switch(e){case 1:return void zp(this,0);case 2:return void Xp(this,0);case 3:return void Up(this,0);case 4:return void Wp(this,0);case 5:return!this.a&&(this.a=new Vt(fo,this,5)),void de(this.a);case 6:return void Cxn(this,null);case 7:return void mC(this,null);case 8:return void pC(this,null);case 9:return!this.g&&(this.g=new $n(Mt,this,9,10)),void de(this.g);case 10:return!this.e&&(this.e=new $n(Mt,this,10,9)),void de(this.e);case 11:return void UV(this,null)}oQ(this,e)},s.Ib=function(){return qNn(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0,w(Ja,"ElkEdgeSectionImpl",439),b(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),s._g=function(e,t,r){return 0==e?(!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab):Is(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t,r)},s.hh=function(e,t,r){return 0==t?(!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r)):u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Qj(this,_c(this),t-ee(this.zh()),e,r)},s.jh=function(e,t,r){return 0==t?(!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r)):u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Rj(this,_c(this),t-ee(this.zh()),e,r)},s.lh=function(e){return 0==e?!!this.Ab&&0!=this.Ab.i:As(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.oh=function(e){return lnn(this,e)},s.sh=function(e,t){if(0===e)return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));Ls(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t)},s.uh=function(e){Y2(this,128,e)},s.zh=function(){return Sn(),tee},s.Bh=function(e){if(0===e)return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);$s(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.Gh=function(){this.Bb|=1},s.Hh=function(e){return q6(this,e)},s.Bb=0,w(xn,"EModelElementImpl",150),b(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},Sq),s.Ih=function(e,t){return nRn(this,e,t)},s.Jh=function(e){var r,i,c,o;if(this.a!=ss(e)||256&e.Bb)throw C(new Kn(r_+e.zb+M0));for(i=Si(e);0!=wc(i.a).i;){if(a0(r=u(dk(i,0,I(o=u(O(wc(i.a),0),87).c,88)?u(o,26):(Sn(),bo)),26)))return u(c=ss(r).Nh().Jh(r),49).th(e),c;i=Si(r)}return"java.util.Map$Entry"==(null!=e.D?e.D:e.B)?new VEn(e):new EW(e)},s.Kh=function(e,t){return m0(this,e,t)},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.a}return Is(this,e-ee((Sn(),ua)),In(u(Bn(this,16),26)||ua,e),t,r)},s.hh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 1:return this.a&&(r=u(this.a,49).ih(this,4,cf,r)),DQ(this,u(e,235),r)}return u(In(u(Bn(this,16),26)||(Sn(),ua),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),ua)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 1:return DQ(this,null,r)}return u(In(u(Bn(this,16),26)||(Sn(),ua),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),ua)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return As(this,e-ee((Sn(),ua)),In(u(Bn(this,16),26)||ua,e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void CLn(this,u(t,235))}Ls(this,e-ee((Sn(),ua)),In(u(Bn(this,16),26)||ua,e),t)},s.zh=function(){return Sn(),ua},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void CLn(this,null)}$s(this,e-ee((Sn(),ua)),In(u(Bn(this,16),26)||ua,e))},w(xn,"EFactoryImpl",704),b(Io,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},K2n),s.Ih=function(e,t){switch(e.yj()){case 12:return u(t,146).tg();case 13:return xi(t);default:throw C(new Kn(Y3+e.ne()+M0))}},s.Jh=function(e){var t;switch(-1==e.G&&(e.G=(t=ss(e))?F1(t.Mh(),e):-1),e.G){case 4:return new jq;case 6:return new MG;case 7:return new SG;case 8:return new yq;case 9:return new wj;case 10:return new gj;case 11:return new H2n;default:throw C(new Kn(r_+e.zb+M0))}},s.Kh=function(e,t){switch(e.yj()){case 13:case 12:return null;default:throw C(new Kn(Y3+e.ne()+M0))}},w(Ja,"ElkGraphFactoryImpl",Io),b(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),s.Wg=function(){var t;return null==(t=yX(Qf(u(Bn(this,16),26)||this.zh())))?(w5(),w5(),XH):new gjn(this,t)},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.ne()}return Is(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return As(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void this.Lh(Te(t))}Ls(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t)},s.zh=function(){return Sn(),ree},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void this.Lh(null)}$s(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.ne=function(){return this.zb},s.Lh=function(e){Dc(this,e)},s.Ib=function(){return k6(this)},s.zb=null,w(xn,"ENamedElementImpl",438),b(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},QCn),s.Qg=function(e){return _Fn(this,e)},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new db(this,uf,this)),this.rb;case 6:return!this.vb&&(this.vb=new P2(cf,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,235):null:aMn(this)}return Is(this,e-ee((Sn(),nl)),In(u(Bn(this,16),26)||nl,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 4:return this.sb&&(r=u(this.sb,49).ih(this,1,M9,r)),NQ(this,u(e,471),r);case 5:return!this.rb&&(this.rb=new db(this,uf,this)),$c(this.rb,e,r);case 6:return!this.vb&&(this.vb=new P2(cf,this,6,7)),$c(this.vb,e,r);case 7:return this.Cb&&(r=(c=this.Db>>16)>=0?_Fn(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,7,r)}return u(In(u(Bn(this,16),26)||(Sn(),nl),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),nl)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 4:return NQ(this,null,r);case 5:return!this.rb&&(this.rb=new db(this,uf,this)),Kr(this.rb,e,r);case 6:return!this.vb&&(this.vb=new P2(cf,this,6,7)),Kr(this.vb,e,r);case 7:return as(this,null,7,r)}return u(In(u(Bn(this,16),26)||(Sn(),nl),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),nl)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!aMn(this)}return As(this,e-ee((Sn(),nl)),In(u(Bn(this,16),26)||nl,e))},s.oh=function(e){return function b8e(n,e){var t,r,i,c,o,f;if(!n.tb){for(!n.rb&&(n.rb=new db(n,uf,n)),f=new k2((c=n.rb).i),i=new re(c);i.e!=i.i.gc();)r=u(oe(i),138),(t=u(null==(o=r.ne())?Rc(f.f,null,r):u0(f.g,o,r),138))&&(null==o?Rc(f.f,null,t):u0(f.g,o,t));n.tb=f}return u(kc(n.tb,e),138)}(this,e)||lnn(this,e)},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void Dc(this,Te(t));case 2:return void MC(this,Te(t));case 3:return void CC(this,Te(t));case 4:return void JL(this,u(t,471));case 5:return!this.rb&&(this.rb=new db(this,uf,this)),de(this.rb),!this.rb&&(this.rb=new db(this,uf,this)),void Dt(this.rb,u(t,14));case 6:return!this.vb&&(this.vb=new P2(cf,this,6,7)),de(this.vb),!this.vb&&(this.vb=new P2(cf,this,6,7)),void Dt(this.vb,u(t,14))}Ls(this,e-ee((Sn(),nl)),In(u(Bn(this,16),26)||nl,e),t)},s.vh=function(e){var t,r;if(e&&this.rb)for(r=new re(this.rb);r.e!=r.i.gc();)I(t=oe(r),351)&&(u(t,351).w=null);Y2(this,64,e)},s.zh=function(){return Sn(),nl},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void Dc(this,null);case 2:return void MC(this,null);case 3:return void CC(this,null);case 4:return void JL(this,null);case 5:return!this.rb&&(this.rb=new db(this,uf,this)),void de(this.rb);case 6:return!this.vb&&(this.vb=new P2(cf,this,6,7)),void de(this.vb)}$s(this,e-ee((Sn(),nl)),In(u(Bn(this,16),26)||nl,e))},s.Gh=function(){BL(this)},s.Mh=function(){return!this.rb&&(this.rb=new db(this,uf,this)),this.rb},s.Nh=function(){return this.sb},s.Oh=function(){return this.ub},s.Ph=function(){return this.xb},s.Qh=function(){return this.yb},s.Rh=function(e){this.ub=e},s.Ib=function(){var e;return 64&this.Db?k6(this):((e=new Gs(k6(this))).a+=" (nsURI: ",li(e,this.yb),e.a+=", nsPrefix: ",li(e,this.xb),e.a+=")",e.a)},s.xb=null,s.yb=null,w(xn,"EPackageImpl",179),b(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},YNn),s.q=!1,s.r=!1;var Rne=!1;w(Ja,"ElkGraphPackageImpl",555),b(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},jq),s.Qg=function(e){return RJ(this,e)},s._g=function(e,t,r){switch(e){case 7:return dMn(this);case 8:return this.a}return XQ(this,e,t,r)},s.hh=function(e,t,r){var i;return 7===t?(this.Cb&&(r=(i=this.Db>>16)>=0?RJ(this,r):this.Cb.ih(this,-1-i,null,r)),BW(this,u(e,160),r)):WL(this,e,t,r)},s.jh=function(e,t,r){return 7==t?BW(this,null,r):OF(this,e,t,r)},s.lh=function(e){switch(e){case 7:return!!dMn(this);case 8:return!Mn("",this.a)}return eJ(this,e)},s.sh=function(e,t){switch(e){case 7:return void vZ(this,u(t,160));case 8:return void BV(this,Te(t))}nY(this,e,t)},s.zh=function(){return Fc(),M1n},s.Bh=function(e){switch(e){case 7:return void vZ(this,null);case 8:return void BV(this,"")}uJ(this,e)},s.Ib=function(){return _Ln(this)},s.a="",w(Ja,"ElkLabelImpl",354),b(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},MG),s.Qg=function(e){return GJ(this,e)},s._g=function(e,t,r){switch(e){case 9:return!this.c&&(this.c=new V(Ku,this,9,9)),this.c;case 10:return!this.a&&(this.a=new V(It,this,10,11)),this.a;case 11:return At(this);case 12:return!this.b&&(this.b=new V(lr,this,12,3)),this.b;case 13:return Hn(),!this.a&&(this.a=new V(It,this,10,11)),this.a.i>0}return AJ(this,e,t,r)},s.hh=function(e,t,r){var i;switch(t){case 9:return!this.c&&(this.c=new V(Ku,this,9,9)),$c(this.c,e,r);case 10:return!this.a&&(this.a=new V(It,this,10,11)),$c(this.a,e,r);case 11:return this.Cb&&(r=(i=this.Db>>16)>=0?GJ(this,r):this.Cb.ih(this,-1-i,null,r)),zz(this,u(e,33),r);case 12:return!this.b&&(this.b=new V(lr,this,12,3)),$c(this.b,e,r)}return WJ(this,e,t,r)},s.jh=function(e,t,r){switch(t){case 9:return!this.c&&(this.c=new V(Ku,this,9,9)),Kr(this.c,e,r);case 10:return!this.a&&(this.a=new V(It,this,10,11)),Kr(this.a,e,r);case 11:return zz(this,null,r);case 12:return!this.b&&(this.b=new V(lr,this,12,3)),Kr(this.b,e,r)}return XJ(this,e,t,r)},s.lh=function(e){switch(e){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!At(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new V(It,this,10,11)),this.a.i>0}return vQ(this,e)},s.sh=function(e,t){switch(e){case 9:return!this.c&&(this.c=new V(Ku,this,9,9)),de(this.c),!this.c&&(this.c=new V(Ku,this,9,9)),void Dt(this.c,u(t,14));case 10:return!this.a&&(this.a=new V(It,this,10,11)),de(this.a),!this.a&&(this.a=new V(It,this,10,11)),void Dt(this.a,u(t,14));case 11:return void bZ(this,u(t,33));case 12:return!this.b&&(this.b=new V(lr,this,12,3)),de(this.b),!this.b&&(this.b=new V(lr,this,12,3)),void Dt(this.b,u(t,14))}rZ(this,e,t)},s.zh=function(){return Fc(),S1n},s.Bh=function(e){switch(e){case 9:return!this.c&&(this.c=new V(Ku,this,9,9)),void de(this.c);case 10:return!this.a&&(this.a=new V(It,this,10,11)),void de(this.a);case 11:return void bZ(this,null);case 12:return!this.b&&(this.b=new V(lr,this,12,3)),void de(this.b)}kJ(this,e)},s.Ib=function(){return DZ(this)},w(Ja,"ElkNodeImpl",239),b(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},SG),s.Qg=function(e){return KJ(this,e)},s._g=function(e,t,r){return 9==e?lf(this):AJ(this,e,t,r)},s.hh=function(e,t,r){var i;return 9===t?(this.Cb&&(r=(i=this.Db>>16)>=0?KJ(this,r):this.Cb.ih(this,-1-i,null,r)),Bz(this,u(e,33),r)):WJ(this,e,t,r)},s.jh=function(e,t,r){return 9==t?Bz(this,null,r):XJ(this,e,t,r)},s.lh=function(e){return 9==e?!!lf(this):vQ(this,e)},s.sh=function(e,t){9!==e?rZ(this,e,t):dZ(this,u(t,33))},s.zh=function(){return Fc(),A1n},s.Bh=function(e){9!==e?kJ(this,e):dZ(this,null)},s.Ib=function(){return CBn(this)},w(Ja,"ElkPortImpl",186);var Kne=Et(Hr,"BasicEMap/Entry");b(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},H2n),s.Fb=function(e){return this===e},s.cd=function(){return this.b},s.Hb=function(){return Ld(this)},s.Uh=function(e){_V(this,u(e,146))},s._g=function(e,t,r){switch(e){case 0:return this.b;case 1:return this.c}return cM(this,e,t,r)},s.lh=function(e){switch(e){case 0:return!!this.b;case 1:return null!=this.c}return kL(this,e)},s.sh=function(e,t){switch(e){case 0:return void _V(this,u(t,146));case 1:return void HV(this,t)}iN(this,e,t)},s.zh=function(){return Fc(),ta},s.Bh=function(e){switch(e){case 0:return void _V(this,null);case 1:return void HV(this,null)}ZL(this,e)},s.Sh=function(){var e;return-1==this.a&&(this.a=(e=this.b)?kt(e):0),this.a},s.dd=function(){return this.c},s.Th=function(e){this.a=e},s.ed=function(e){var t;return t=this.c,HV(this,e),t},s.Ib=function(){var e;return 64&this.Db?Ao(this):(De(De(De(e=new cl,this.b?this.b.tg():iu),nB),x5(this.c)),e.a)},s.a=-1,s.c=null;var G0=w(Ja,"ElkPropertyToValueMapEntryImpl",1092);b(984,1,{},U2n),w(Or,"JsonAdapter",984),b(210,60,s1,Kf),w(Or,"JsonImportException",210),b(857,1,{},RFn),w(Or,"JsonImporter",857),b(891,1,{},wkn),w(Or,"JsonImporter/lambda$0$Type",891),b(892,1,{},gkn),w(Or,"JsonImporter/lambda$1$Type",892),b(900,1,{},Q6n),w(Or,"JsonImporter/lambda$10$Type",900),b(902,1,{},vkn),w(Or,"JsonImporter/lambda$11$Type",902),b(903,1,{},pkn),w(Or,"JsonImporter/lambda$12$Type",903),b(909,1,{},ICn),w(Or,"JsonImporter/lambda$13$Type",909),b(908,1,{},PCn),w(Or,"JsonImporter/lambda$14$Type",908),b(904,1,{},mkn),w(Or,"JsonImporter/lambda$15$Type",904),b(905,1,{},kkn),w(Or,"JsonImporter/lambda$16$Type",905),b(906,1,{},ykn),w(Or,"JsonImporter/lambda$17$Type",906),b(907,1,{},jkn),w(Or,"JsonImporter/lambda$18$Type",907),b(912,1,{},J6n),w(Or,"JsonImporter/lambda$19$Type",912),b(893,1,{},Y6n),w(Or,"JsonImporter/lambda$2$Type",893),b(910,1,{},Z6n),w(Or,"JsonImporter/lambda$20$Type",910),b(911,1,{},nmn),w(Or,"JsonImporter/lambda$21$Type",911),b(915,1,{},emn),w(Or,"JsonImporter/lambda$22$Type",915),b(913,1,{},tmn),w(Or,"JsonImporter/lambda$23$Type",913),b(914,1,{},rmn),w(Or,"JsonImporter/lambda$24$Type",914),b(917,1,{},imn),w(Or,"JsonImporter/lambda$25$Type",917),b(916,1,{},cmn),w(Or,"JsonImporter/lambda$26$Type",916),b(918,1,Jn,Ekn),s.td=function(e){!function qde(n,e,t){var r,i;i=null,(r=Wh(n,t))&&(i=AY(r)),H$n(e,t,i)}(this.b,this.a,Te(e))},w(Or,"JsonImporter/lambda$27$Type",918),b(919,1,Jn,Tkn),s.td=function(e){!function Gde(n,e,t){var r,i;i=null,(r=Wh(n,t))&&(i=AY(r)),H$n(e,t,i)}(this.b,this.a,Te(e))},w(Or,"JsonImporter/lambda$28$Type",919),b(920,1,{},Ckn),w(Or,"JsonImporter/lambda$29$Type",920),b(896,1,{},umn),w(Or,"JsonImporter/lambda$3$Type",896),b(921,1,{},Mkn),w(Or,"JsonImporter/lambda$30$Type",921),b(922,1,{},smn),w(Or,"JsonImporter/lambda$31$Type",922),b(923,1,{},omn),w(Or,"JsonImporter/lambda$32$Type",923),b(924,1,{},fmn),w(Or,"JsonImporter/lambda$33$Type",924),b(925,1,{},hmn),w(Or,"JsonImporter/lambda$34$Type",925),b(859,1,{},lmn),w(Or,"JsonImporter/lambda$35$Type",859),b(929,1,{},yEn),w(Or,"JsonImporter/lambda$36$Type",929),b(926,1,Jn,amn),s.td=function(e){!function Wae(n,e){var t;Ta(t=new v2,"x",e.a),Ta(t,"y",e.b),L2(n,t)}(this.a,u(e,469))},w(Or,"JsonImporter/lambda$37$Type",926),b(927,1,Jn,Dkn),s.td=function(e){!function yie(n,e,t){YFn(e,eN(n,t))}(this.a,this.b,u(e,202))},w(Or,"JsonImporter/lambda$38$Type",927),b(928,1,Jn,$kn),s.td=function(e){!function jie(n,e,t){YFn(e,eN(n,t))}(this.a,this.b,u(e,202))},w(Or,"JsonImporter/lambda$39$Type",928),b(894,1,{},dmn),w(Or,"JsonImporter/lambda$4$Type",894),b(930,1,Jn,bmn),s.td=function(e){!function Xae(n,e){var t;Ta(t=new v2,"x",e.a),Ta(t,"y",e.b),L2(n,t)}(this.a,u(e,8))},w(Or,"JsonImporter/lambda$40$Type",930),b(895,1,{},wmn),w(Or,"JsonImporter/lambda$5$Type",895),b(899,1,{},gmn),w(Or,"JsonImporter/lambda$6$Type",899),b(897,1,{},vmn),w(Or,"JsonImporter/lambda$7$Type",897),b(898,1,{},pmn),w(Or,"JsonImporter/lambda$8$Type",898),b(901,1,{},mmn),w(Or,"JsonImporter/lambda$9$Type",901),b(948,1,Jn,kmn),s.td=function(e){L2(this.a,new bb(Te(e)))},w(Or,"JsonMetaDataConverter/lambda$0$Type",948),b(949,1,Jn,ymn),s.td=function(e){!function hhe(n,e){L2(n,new bb(null!=e.f?e.f:""+e.g))}(this.a,u(e,237))},w(Or,"JsonMetaDataConverter/lambda$1$Type",949),b(950,1,Jn,jmn),s.td=function(e){!function sle(n,e){null!=e.c&&L2(n,new bb(e.c))}(this.a,u(e,149))},w(Or,"JsonMetaDataConverter/lambda$2$Type",950),b(951,1,Jn,Emn),s.td=function(e){!function lhe(n,e){L2(n,new bb(null!=e.f?e.f:""+e.g))}(this.a,u(e,175))},w(Or,"JsonMetaDataConverter/lambda$3$Type",951),b(237,22,{3:1,35:1,22:1,237:1},C2);var gI,vI,KH,pI,mI,kI,HH,qH,Hne,yI=Me(Sk,"GraphFeature",237,Ie,function $0e(){return M3(),S(M(yI,1),U,237,0,[qH,mI,kI,pI,HH,vI,gI,KH])},function Loe(n){return M3(),$e((TOn(),Hne),n)});b(13,1,{35:1,146:1},at,er,Pn,ni),s.wd=function(e){return function kce(n,e){return iV(n.b,e.tg())}(this,u(e,146))},s.Fb=function(e){return JCn(this,e)},s.wg=function(){return cn(this)},s.tg=function(){return this.b},s.Hb=function(){return L1(this.b)},s.Ib=function(){return this.b},w(Sk,"Property",13),b(818,1,ft,cG),s.ue=function(e,t){return function Bge(n,e,t){var r,i;return r=u(e.We(n.a),35),i=u(t.We(n.a),35),null!=r&&null!=i?v7(r,i):null!=r?-1:null!=i?1:0}(this,u(e,94),u(t,94))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Sk,"PropertyHolderComparator",818),b(695,1,mr,uG),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return function Xde(n){var e;if(!n.a)throw C(new mCn);return e=n.a,n.a=At(n.a),e}(this)},s.Qb=function(){g8n()},s.Ob=function(){return!!this.a},w(RS,"ElkGraphUtil/AncestorIterator",695);var I1n=Et(Hr,"EList");b(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),s.Vc=function(e,t){E6(this,e,t)},s.Fc=function(e){return me(this,e)},s.Wc=function(e,t){return fQ(this,e,t)},s.Gc=function(e){return Dt(this,e)},s.Zh=function(){return new A2(this)},s.$h=function(){return new C8(this)},s._h=function(e){return g7(this,e)},s.ai=function(){return!0},s.bi=function(e,t){},s.ci=function(){},s.di=function(e,t){tF(this,e,t)},s.ei=function(e,t,r){},s.fi=function(e,t){},s.gi=function(e,t,r){},s.Fb=function(e){return lBn(this,e)},s.Hb=function(){return iQ(this)},s.hi=function(){return!1},s.Kc=function(){return new re(this)},s.Yc=function(){return new S2(this)},s.Zc=function(e){var t;if(t=this.gc(),e<0||e>t)throw C(new hb(e,t));return new s$(this,e)},s.ji=function(e,t){this.ii(e,this.Xc(t))},s.Mc=function(e){return cC(this,e)},s.li=function(e,t){return t},s._c=function(e,t){return cg(this,e,t)},s.Ib=function(){return QQ(this)},s.ni=function(){return!0},s.oi=function(e,t){return u3(this,t)},w(Hr,"AbstractEList",67),b(63,67,sh,pj,Yd,QV),s.Vh=function(e,t){return XL(this,e,t)},s.Wh=function(e){return dFn(this,e)},s.Xh=function(e,t){O7(this,e,t)},s.Yh=function(e){Z8(this,e)},s.pi=function(e){return vV(this,e)},s.$b=function(){o6(this)},s.Hc=function(e){return y3(this,e)},s.Xb=function(e){return O(this,e)},s.qi=function(e){var t,r,i;++this.j,e>(r=null==this.g?0:this.g.length)&&(i=this.g,(t=r+(r/2|0)+4)=0&&(this.$c(t),!0)},s.mi=function(e,t){return this.Ui(e,this.oi(e,t))},s.gc=function(){return this.Vi()},s.Pc=function(){return this.Wi()},s.Qc=function(e){return this.Xi(e)},s.Ib=function(){return this.Yi()},w(Hr,"DelegatingEList",1995),b(1996,1995,oGn),s.Vh=function(e,t){return KZ(this,e,t)},s.Wh=function(e){return this.Vh(this.Vi(),e)},s.Xh=function(e,t){QNn(this,e,t)},s.Yh=function(e){KNn(this,e)},s.ai=function(){return!this.bj()},s.$b=function(){V6(this)},s.Zi=function(e,t,r,i,c){return new ZCn(this,e,t,r,i,c)},s.$i=function(e){nt(this.Ai(),e)},s._i=function(){return null},s.aj=function(){return-1},s.Ai=function(){return null},s.bj=function(){return!1},s.cj=function(e,t){return t},s.dj=function(e,t){return t},s.ej=function(){return!1},s.fj=function(){return!this.Ri()},s.ii=function(e,t){var r,i;return this.ej()?(i=this.fj(),r=mY(this,e,t),this.$i(this.Zi(7,Q(t),r,e,i)),r):mY(this,e,t)},s.$c=function(e){var t,r,i,c;return this.ej()?(r=null,i=this.fj(),t=this.Zi(4,c=YE(this,e),null,e,i),this.bj()&&c?(r=this.dj(c,r))?(r.Ei(t),r.Fi()):this.$i(t):r?(r.Ei(t),r.Fi()):this.$i(t),c):(c=YE(this,e),this.bj()&&c&&(r=this.dj(c,null))&&r.Fi(),c)},s.mi=function(e,t){return i_n(this,e,t)},w(kv,"DelegatingNotifyingListImpl",1996),b(143,1,Kk),s.Ei=function(e){return uY(this,e)},s.Fi=function(){lF(this)},s.xi=function(){return this.d},s._i=function(){return null},s.gj=function(){return null},s.yi=function(e){return-1},s.zi=function(){return Gxn(this)},s.Ai=function(){return null},s.Bi=function(){return jZ(this)},s.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.hj=function(){return!1},s.Di=function(e){var t,i,f,h,l,a,d,g;switch(this.d){case 1:case 2:switch(e.xi()){case 1:case 2:if(B(e.Ai())===B(this.Ai())&&this.yi(null)==e.yi(null))return this.g=e.zi(),1==e.xi()&&(this.d=1),!0}case 4:if(4===e.xi()&&B(e.Ai())===B(this.Ai())&&this.yi(null)==e.yi(null))return a=inn(this),l=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,f=e.Ci(),this.d=6,g=new Yd(2),l<=f?(me(g,this.n),me(g,e.Bi()),this.g=S(M(be,1),Ne,25,15,[this.o=l,f+1])):(me(g,e.Bi()),me(g,this.n),this.g=S(M(be,1),Ne,25,15,[this.o=f,l])),this.n=g,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===e.xi()&&B(e.Ai())===B(this.Ai())&&this.yi(null)==e.yi(null)){for(a=inn(this),f=e.Ci(),d=u(this.g,48),i=L(be,Ne,25,d.length+1,15,1),t=0;t>>0).toString(16))).a+=" (eventType: ",this.d){case 1:i.a+="SET";break;case 2:i.a+="UNSET";break;case 3:i.a+="ADD";break;case 5:i.a+="ADD_MANY";break;case 4:i.a+="REMOVE";break;case 6:i.a+="REMOVE_MANY";break;case 7:i.a+="MOVE";break;case 8:i.a+="REMOVING_ADAPTER";break;case 9:i.a+="RESOLVE";break;default:IO(i,this.d)}if(DBn(this)&&(i.a+=", touch: true"),i.a+=", position: ",IO(i,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),i.a+=", notifier: ",O5(i,this.Ai()),i.a+=", feature: ",O5(i,this._i()),i.a+=", oldValue: ",O5(i,jZ(this)),i.a+=", newValue: ",6==this.d&&I(this.g,48)){for(r=u(this.g,48),i.a+="[",e=0;e10?((!this.b||this.c.j!=this.a)&&(this.b=new G5(this),this.a=this.j),Hh(this.b,e)):y3(this,e)},s.ni=function(){return!0},s.a=0,w(Hr,"AbstractEList/1",953),b(295,73,Tx,hb),w(Hr,"AbstractEList/BasicIndexOutOfBoundsException",295),b(40,1,mr,re),s.Nb=function(e){Ar(this,e)},s.mj=function(){if(this.i.j!=this.f)throw C(new Ts)},s.nj=function(){return oe(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.nj()},s.Qb=function(){$6(this)},s.e=0,s.f=0,s.g=-1,w(Hr,"AbstractEList/EIterator",40),b(278,40,Mh,S2,s$),s.Qb=function(){$6(this)},s.Rb=function(e){w$n(this,e)},s.oj=function(){var e;try{return e=this.d.Xb(--this.e),this.mj(),this.g=this.e,e}catch(t){throw I(t=jt(t),73)?(this.mj(),C(new ic)):C(t)}},s.pj=function(e){gFn(this,e)},s.Sb=function(){return 0!=this.e},s.Tb=function(){return this.e},s.Ub=function(){return this.oj()},s.Vb=function(){return this.e-1},s.Wb=function(e){this.pj(e)},w(Hr,"AbstractEList/EListIterator",278),b(341,40,mr,A2),s.nj=function(){return yL(this)},s.Qb=function(){throw C(new ye)},w(Hr,"AbstractEList/NonResolvingEIterator",341),b(385,278,Mh,C8,Zz),s.Rb=function(e){throw C(new ye)},s.nj=function(){var e;try{return e=this.c.ki(this.e),this.mj(),this.g=this.e++,e}catch(t){throw I(t=jt(t),73)?(this.mj(),C(new ic)):C(t)}},s.oj=function(){var e;try{return e=this.c.ki(--this.e),this.mj(),this.g=this.e,e}catch(t){throw I(t=jt(t),73)?(this.mj(),C(new ic)):C(t)}},s.Qb=function(){throw C(new ye)},s.Wb=function(e){throw C(new ye)},w(Hr,"AbstractEList/NonResolvingEListIterator",385),b(1982,67,fGn),s.Vh=function(e,t){var i,c,o,f,l,a,d,g;if(0!=(c=t.gc())){for(i=qF(this,(d=null==(a=u(Bn(this.a,4),126))?0:a.length)+c),(g=d-e)>0&&vc(a,e,i,e+c,g),l=t.Kc(),f=0;fr)throw C(new hb(e,r));return new hCn(this,e)},s.$b=function(){var e,t;++this.j,t=null==(e=u(Bn(this.a,4),126))?0:e.length,v3(this,null),tF(this,t,e)},s.Hc=function(e){var t,i,c,o;if(null!=(t=u(Bn(this.a,4),126)))if(null!=e){for(c=0,o=(i=t).length;c=(r=null==(t=u(Bn(this.a,4),126))?0:t.length))throw C(new hb(e,r));return t[e]},s.Xc=function(e){var t,r,i;if(null!=(t=u(Bn(this.a,4),126)))if(null!=e){for(r=0,i=t.length;rr)throw C(new hb(e,r));return new fCn(this,e)},s.ii=function(e,t){var r,i,c;if(e>=(c=null==(r=E$n(this))?0:r.length))throw C(new pi(a_+e+Ya+c));if(t>=c)throw C(new pi(d_+t+Ya+c));return i=r[t],e!=t&&(e=(o=null==(t=u(Bn(n.a,4),126))?0:t.length))throw C(new hb(e,o));return i=t[e],1==o?r=null:(vc(t,0,r=L(UH,p_,415,o-1,0,1),0,e),(c=o-e-1)>0&&vc(t,e+1,r,e,c)),v3(n,r),rNn(n,e,i),i}(this,e)},s.mi=function(e,t){var r,i;return i=(r=E$n(this))[e],wD(r,e,u3(this,t)),v3(this,r),i},s.gc=function(){var e;return null==(e=u(Bn(this.a,4),126))?0:e.length},s.Pc=function(){var e,t,r;return e=u(Bn(this.a,4),126),t=L(UH,p_,415,r=null==e?0:e.length,0,1),r>0&&vc(e,0,t,0,r),t},s.Qc=function(e){var t,i;return(i=null==(t=u(Bn(this.a,4),126))?0:t.length)>0&&(e.lengthi&&St(e,i,null),e},w(Hr,"ArrayDelegatingEList",1982),b(1038,40,mr,mAn),s.mj=function(){if(this.b.j!=this.f||B(u(Bn(this.b.a,4),126))!==B(this.a))throw C(new Ts)},s.Qb=function(){$6(this),this.a=u(Bn(this.b.a,4),126)},w(Hr,"ArrayDelegatingEList/EIterator",1038),b(706,278,Mh,$Tn,fCn),s.mj=function(){if(this.b.j!=this.f||B(u(Bn(this.b.a,4),126))!==B(this.a))throw C(new Ts)},s.pj=function(e){gFn(this,e),this.a=u(Bn(this.b.a,4),126)},s.Qb=function(){$6(this),this.a=u(Bn(this.b.a,4),126)},w(Hr,"ArrayDelegatingEList/EListIterator",706),b(1039,341,mr,kAn),s.mj=function(){if(this.b.j!=this.f||B(u(Bn(this.b.a,4),126))!==B(this.a))throw C(new Ts)},w(Hr,"ArrayDelegatingEList/NonResolvingEIterator",1039),b(707,385,Mh,FTn,hCn),s.mj=function(){if(this.b.j!=this.f||B(u(Bn(this.b.a,4),126))!==B(this.a))throw C(new Ts)},w(Hr,"ArrayDelegatingEList/NonResolvingEListIterator",707),b(606,295,Tx,hD),w(Hr,"BasicEList/BasicIndexOutOfBoundsException",606),b(696,63,sh,BU),s.Vc=function(e,t){throw C(new ye)},s.Fc=function(e){throw C(new ye)},s.Wc=function(e,t){throw C(new ye)},s.Gc=function(e){throw C(new ye)},s.$b=function(){throw C(new ye)},s.qi=function(e){throw C(new ye)},s.Kc=function(){return this.Zh()},s.Yc=function(){return this.$h()},s.Zc=function(e){return this._h(e)},s.ii=function(e,t){throw C(new ye)},s.ji=function(e,t){throw C(new ye)},s.$c=function(e){throw C(new ye)},s.Mc=function(e){throw C(new ye)},s._c=function(e,t){throw C(new ye)},w(Hr,"BasicEList/UnmodifiableEList",696),b(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),s.Vc=function(e,t){!function hce(n,e,t){n.c.Vc(e,u(t,133))}(this,e,u(t,42))},s.Fc=function(e){return function Qce(n,e){return n.c.Fc(u(e,133))}(this,u(e,42))},s.Jc=function(e){Ir(this,e)},s.Xb=function(e){return u(O(this.c,e),133)},s.ii=function(e,t){return u(this.c.ii(e,t),42)},s.ji=function(e,t){!function lce(n,e,t){n.c.ji(e,u(t,133))}(this,e,u(t,42))},s.Lc=function(){return new Dn(null,new Fn(this,16))},s.$c=function(e){return u(this.c.$c(e),42)},s._c=function(e,t){return function ihe(n,e,t){return u(n.c._c(e,u(t,133)),42)}(this,e,u(t,42))},s.ad=function(e){Jw(this,e)},s.Nc=function(){return new Fn(this,16)},s.Oc=function(){return new Dn(null,new Fn(this,16))},s.Wc=function(e,t){return this.c.Wc(e,t)},s.Gc=function(e){return this.c.Gc(e)},s.$b=function(){this.c.$b()},s.Hc=function(e){return this.c.Hc(e)},s.Ic=function(e){return y7(this.c,e)},s.qj=function(){var t,r;if(null==this.d){for(this.d=L(O1n,yrn,63,2*this.f+1,0,1),r=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)oM(this,u(t.nj(),133));this.e=r}},s.Fb=function(e){return cEn(this,e)},s.Hb=function(){return iQ(this.c)},s.Xc=function(e){return this.c.Xc(e)},s.rj=function(){this.c=new Cmn(this)},s.dc=function(){return 0==this.f},s.Kc=function(){return this.c.Kc()},s.Yc=function(){return this.c.Yc()},s.Zc=function(e){return this.c.Zc(e)},s.sj=function(){return t7(this)},s.tj=function(e,t,r){return new jEn(e,t,r)},s.uj=function(){return new V2n},s.Mc=function(e){return BIn(this,e)},s.gc=function(){return this.f},s.bd=function(e,t){return new yh(this.c,e,t)},s.Pc=function(){return this.c.Pc()},s.Qc=function(e){return this.c.Qc(e)},s.Ib=function(){return QQ(this.c)},s.e=0,s.f=0,w(Hr,"BasicEMap",705),b(1033,63,sh,Cmn),s.bi=function(e,t){!function Wte(n,e){oM(n.a,e)}(this,u(t,133))},s.ei=function(e,t,r){++(this,u(t,133),this).a.e},s.fi=function(e,t){!function Xte(n,e){eL(n.a,e)}(this,u(t,133))},s.gi=function(e,t,r){!function xce(n,e,t){eL(n.a,t),oM(n.a,e)}(this,u(t,133),u(r,133))},s.di=function(e,t){AOn(this.a)},w(Hr,"BasicEMap/1",1033),b(1034,63,sh,V2n),s.ri=function(e){return L(cMe,hGn,612,e,0,1)},w(Hr,"BasicEMap/2",1034),b(1035,Ef,pu,Mmn),s.$b=function(){this.a.c.$b()},s.Hc=function(e){return aL(this.a,e)},s.Kc=function(){return 0==this.a.f?(yp(),nj.a):new s8n(this.a)},s.Mc=function(e){var t;return t=this.a.f,JC(this.a,e),this.a.f!=t},s.gc=function(){return this.a.f},w(Hr,"BasicEMap/3",1035),b(1036,28,qb,Smn),s.$b=function(){this.a.c.$b()},s.Hc=function(e){return aBn(this.a,e)},s.Kc=function(){return 0==this.a.f?(yp(),nj.a):new o8n(this.a)},s.gc=function(){return this.a.f},w(Hr,"BasicEMap/4",1036),b(1037,Ef,pu,Amn),s.$b=function(){this.a.c.$b()},s.Hc=function(e){var t,r,i,c,o,f,h,l,a;if(this.a.f>0&&I(e,42)&&(this.a.qj(),c=null==(h=(l=u(e,42)).cd())?0:kt(h),o=_z(this.a,c),t=this.a.d[o]))for(r=u(t.g,367),a=t.i,f=0;f"+this.c},s.a=0;var nj,cMe=w(Hr,"BasicEMap/EntryImpl",612);b(536,1,{},vj),w(Hr,"BasicEMap/View",536),b(768,1,{}),s.Fb=function(e){return iZ((An(),Gr),e)},s.Hb=function(){return gQ((An(),Gr))},s.Ib=function(){return Il((An(),Gr))},w(Hr,"ECollections/BasicEmptyUnmodifiableEList",768),b(1312,1,Mh,Q2n),s.Nb=function(e){Ar(this,e)},s.Rb=function(e){throw C(new ye)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw C(new ic)},s.Tb=function(){return 0},s.Ub=function(){throw C(new ic)},s.Vb=function(){return-1},s.Qb=function(){throw C(new ye)},s.Wb=function(e){throw C(new ye)},w(Hr,"ECollections/BasicEmptyUnmodifiableEList/1",1312),b(1310,768,{20:1,14:1,15:1,58:1},p9n),s.Vc=function(e,t){P8n()},s.Fc=function(e){return I8n()},s.Wc=function(e,t){return O8n()},s.Gc=function(e){return D8n()},s.$b=function(){$8n()},s.Hc=function(e){return!1},s.Ic=function(e){return!1},s.Jc=function(e){Ir(this,e)},s.Xb=function(e){return KU((An(),e)),null},s.Xc=function(e){return-1},s.dc=function(){return!0},s.Kc=function(){return this.a},s.Yc=function(){return this.a},s.Zc=function(e){return this.a},s.ii=function(e,t){return F8n()},s.ji=function(e,t){L8n()},s.Lc=function(){return new Dn(null,new Fn(this,16))},s.$c=function(e){return N8n()},s.Mc=function(e){return x8n()},s._c=function(e,t){return B8n()},s.gc=function(){return 0},s.ad=function(e){Jw(this,e)},s.Nc=function(){return new Fn(this,16)},s.Oc=function(){return new Dn(null,new Fn(this,16))},s.bd=function(e,t){return An(),new yh(Gr,e,t)},s.Pc=function(){return KW((An(),Gr))},s.Qc=function(e){return An(),R7(Gr,e)},w(Hr,"ECollections/EmptyUnmodifiableEList",1310),b(1311,768,{20:1,14:1,15:1,58:1,589:1},m9n),s.Vc=function(e,t){P8n()},s.Fc=function(e){return I8n()},s.Wc=function(e,t){return O8n()},s.Gc=function(e){return D8n()},s.$b=function(){$8n()},s.Hc=function(e){return!1},s.Ic=function(e){return!1},s.Jc=function(e){Ir(this,e)},s.Xb=function(e){return KU((An(),e)),null},s.Xc=function(e){return-1},s.dc=function(){return!0},s.Kc=function(){return this.a},s.Yc=function(){return this.a},s.Zc=function(e){return this.a},s.ii=function(e,t){return F8n()},s.ji=function(e,t){L8n()},s.Lc=function(){return new Dn(null,new Fn(this,16))},s.$c=function(e){return N8n()},s.Mc=function(e){return x8n()},s._c=function(e,t){return B8n()},s.gc=function(){return 0},s.ad=function(e){Jw(this,e)},s.Nc=function(){return new Fn(this,16)},s.Oc=function(){return new Dn(null,new Fn(this,16))},s.bd=function(e,t){return An(),new yh(Gr,e,t)},s.Pc=function(){return KW((An(),Gr))},s.Qc=function(e){return An(),R7(Gr,e)},s.sj=function(){return An(),An(),$h},w(Hr,"ECollections/EmptyUnmodifiableEMap",1311);var jI,$1n=Et(Hr,"Enumerator");b(281,1,{281:1},kN),s.Fb=function(e){var t;return this===e||!!I(e,281)&&(t=u(e,281),this.f==t.f&&function Cfe(n,e){return null==n?null==e:ZC(n,e)}(this.i,t.i)&&WD(this.a,256&this.f?256&t.f?t.a:null:256&t.f?null:t.a)&&WD(this.d,t.d)&&WD(this.g,t.g)&&WD(this.e,t.e)&&function mve(n,e){var t,r;if(n.j.length!=e.j.length)return!1;for(t=0,r=n.j.length;t=0?n.Bh(t):RY(n,e)}(this.a,this.b)},w(xn,"BasicEObjectImpl/4",1027),b(1983,1,{108:1}),s.bk=function(e){this.e=0==e?see:L(Zn,rn,1,e,5,1)},s.Ch=function(e){return this.e[e]},s.Dh=function(e,t){this.e[e]=t},s.Eh=function(e){this.e[e]=null},s.ck=function(){return this.c},s.dk=function(){throw C(new ye)},s.ek=function(){throw C(new ye)},s.fk=function(){return this.d},s.gk=function(){return null!=this.e},s.hk=function(e){this.c=e},s.ik=function(e){throw C(new ye)},s.jk=function(e){throw C(new ye)},s.kk=function(e){this.d=e},w(xn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),b(185,1983,{108:1},qo),s.dk=function(){return this.a},s.ek=function(){return this.b},s.ik=function(e){this.a=e},s.jk=function(e){this.b=e},w(xn,"BasicEObjectImpl/EPropertiesHolderImpl",185),b(506,97,Tqn,mj),s.Kg=function(){return this.f},s.Pg=function(){return this.k},s.Rg=function(e,t){this.g=e,this.i=t},s.Tg=function(){return 2&this.j?this.ph().ck():this.zh()},s.Vg=function(){return this.i},s.Mg=function(){return 0!=(1&this.j)},s.eh=function(){return this.g},s.kh=function(){return 0!=(4&this.j)},s.ph=function(){return!this.k&&(this.k=new qo),this.k},s.th=function(e){this.ph().hk(e),e?this.j|=2:this.j&=-3},s.vh=function(e){this.ph().jk(e),e?this.j|=4:this.j&=-5},s.zh=function(){return(pl(),Nn).S},s.i=0,s.j=1,w(xn,"EObjectImpl",506),b(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},EW),s.Ch=function(e){return this.e[e]},s.Dh=function(e,t){this.e[e]=t},s.Eh=function(e){this.e[e]=null},s.Tg=function(){return this.d},s.Yg=function(e){return yt(this.d,e)},s.$g=function(){return this.d},s.dh=function(){return null!=this.e},s.ph=function(){return!this.k&&(this.k=new J2n),this.k},s.th=function(e){this.d=e},s.yh=function(){var e;return null==this.e&&(e=ee(this.d),this.e=0==e?oee:L(Zn,rn,1,e,5,1)),this},s.Ah=function(){return 0},w(xn,"DynamicEObjectImpl",780),b(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},VEn),s.Fb=function(e){return this===e},s.Hb=function(){return Ld(this)},s.th=function(e){this.d=e,this.b=ik(e,"key"),this.c=ik(e,mm)},s.Sh=function(){var e;return-1==this.a&&(e=aF(this,this.b),this.a=null==e?0:kt(e)),this.a},s.cd=function(){return aF(this,this.b)},s.dd=function(){return aF(this,this.c)},s.Th=function(e){this.a=e},s.Uh=function(e){EX(this,this.b,e)},s.ed=function(e){var t;return t=aF(this,this.c),EX(this,this.c,e),t},s.a=0,w(xn,"DynamicEObjectImpl/BasicEMapEntry",1376),b(1377,1,{108:1},J2n),s.bk=function(e){throw C(new ye)},s.Ch=function(e){throw C(new ye)},s.Dh=function(e,t){throw C(new ye)},s.Eh=function(e){throw C(new ye)},s.ck=function(){throw C(new ye)},s.dk=function(){return this.a},s.ek=function(){return this.b},s.fk=function(){return this.c},s.gk=function(){throw C(new ye)},s.hk=function(e){throw C(new ye)},s.ik=function(e){this.a=e},s.jk=function(e){this.b=e},s.kk=function(e){this.c=e},w(xn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),b(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},Eq),s.Qg=function(e){return HJ(this,e)},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.d;case 2:return r?(!this.b&&(this.b=new Wu((Sn(),Jr),rc,this)),this.b):(!this.b&&(this.b=new Wu((Sn(),Jr),rc,this)),t7(this.b));case 3:return mMn(this);case 4:return!this.a&&(this.a=new Vt(ea,this,4)),this.a;case 5:return!this.c&&(this.c=new Hw(ea,this,5)),this.c}return Is(this,e-ee((Sn(),J1)),In(u(Bn(this,16),26)||J1,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 3:return this.Cb&&(r=(c=this.Db>>16)>=0?HJ(this,r):this.Cb.ih(this,-1-c,null,r)),_W(this,u(e,147),r)}return u(In(u(Bn(this,16),26)||(Sn(),J1),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),J1)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 2:return!this.b&&(this.b=new Wu((Sn(),Jr),rc,this)),HE(this.b,e,r);case 3:return _W(this,null,r);case 4:return!this.a&&(this.a=new Vt(ea,this,4)),Kr(this.a,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),J1),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),J1)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!mMn(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return As(this,e-ee((Sn(),J1)),In(u(Bn(this,16),26)||J1,e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void function hfe(n,e){qV(n,null==e?null:(_n(e),e))}(this,Te(t));case 2:return!this.b&&(this.b=new Wu((Sn(),Jr),rc,this)),void IC(this.b,t);case 3:return void $xn(this,u(t,147));case 4:return!this.a&&(this.a=new Vt(ea,this,4)),de(this.a),!this.a&&(this.a=new Vt(ea,this,4)),void Dt(this.a,u(t,14));case 5:return!this.c&&(this.c=new Hw(ea,this,5)),de(this.c),!this.c&&(this.c=new Hw(ea,this,5)),void Dt(this.c,u(t,14))}Ls(this,e-ee((Sn(),J1)),In(u(Bn(this,16),26)||J1,e),t)},s.zh=function(){return Sn(),J1},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void qV(this,null);case 2:return!this.b&&(this.b=new Wu((Sn(),Jr),rc,this)),void this.b.c.$b();case 3:return void $xn(this,null);case 4:return!this.a&&(this.a=new Vt(ea,this,4)),void de(this.a);case 5:return!this.c&&(this.c=new Hw(ea,this,5)),void de(this.c)}$s(this,e-ee((Sn(),J1)),In(u(Bn(this,16),26)||J1,e))},s.Ib=function(){return XDn(this)},s.d=null,w(xn,"EAnnotationImpl",510),b(151,705,jrn,Ju),s.Xh=function(e,t){!function zie(n,e,t){u(n.c,69).Xh(e,t)}(this,e,u(t,42))},s.lk=function(e,t){return function Rue(n,e,t){return u(n.c,69).lk(e,t)}(this,u(e,42),t)},s.pi=function(e){return u(u(this.c,69).pi(e),133)},s.Zh=function(){return u(this.c,69).Zh()},s.$h=function(){return u(this.c,69).$h()},s._h=function(e){return u(this.c,69)._h(e)},s.mk=function(e,t){return HE(this,e,t)},s.Wj=function(e){return u(this.c,76).Wj(e)},s.rj=function(){},s.fj=function(){return u(this.c,76).fj()},s.tj=function(e,t,r){var i;return(i=u(ss(this.b).Nh().Jh(this.b),133)).Th(e),i.Uh(t),i.ed(r),i},s.uj=function(){return new oG(this)},s.Wb=function(e){IC(this,e)},s.Xj=function(){u(this.c,76).Xj()},w(pt,"EcoreEMap",151),b(158,151,jrn,Wu),s.qj=function(){var e,t,r,c,o;if(null==this.d){for(o=L(O1n,yrn,63,2*this.f+1,0,1),r=this.c.Kc();r.e!=r.i.gc();)!(e=o[c=((t=u(r.nj(),133)).Sh()&Ze)%o.length])&&(e=o[c]=new oG(this)),e.Fc(t);this.d=o}},w(xn,"EAnnotationImpl/1",158),b(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),!!this.$j();case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q}return Is(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 9:return h$(this,r)}return u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Rj(this,_c(this),t-ee(this.zh()),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i)}return As(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.sh=function(e,t){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void this.Lh(Te(t));case 2:return void D1(this,on(sn(t)));case 3:return void $1(this,on(sn(t)));case 4:return void P1(this,u(t,19).a);case 5:return void this.ok(u(t,19).a);case 8:return void xa(this,u(t,138));case 9:return void((i=jf(this,u(t,87),null))&&i.Fi())}Ls(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t)},s.zh=function(){return Sn(),uee},s.Bh=function(e){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void this.Lh(null);case 2:return void D1(this,!0);case 3:return void $1(this,!0);case 4:return void P1(this,0);case 5:return void this.ok(1);case 8:return void xa(this,null);case 9:return void((r=jf(this,null,null))&&r.Fi())}$s(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.Gh=function(){Vs(this),this.Bb|=1},s.Yj=function(){return Vs(this)},s.Zj=function(){return this.t},s.$j=function(){var e;return(e=this.t)>1||-1==e},s.hi=function(){return 0!=(512&this.Bb)},s.nk=function(e,t){return xQ(this,e,t)},s.ok=function(e){Cb(this,e)},s.Ib=function(){return XY(this)},s.s=0,s.t=1,w(xn,"ETypedElementImpl",284),b(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),s.Qg=function(e){return IFn(this,e)},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),!!this.$j();case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q;case 10:return Hn(),!!(this.Bb&Io);case 11:return Hn(),!!(this.Bb&Zb);case 12:return Hn(),!!(this.Bb&Ub);case 13:return this.j;case 14:return A3(this);case 15:return Hn(),!!(this.Bb&ku);case 16:return Hn(),!!(this.Bb&Jf);case 17:return gb(this)}return Is(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 17:return this.Cb&&(r=(c=this.Db>>16)>=0?IFn(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,17,r)}return u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Qj(this,_c(this),t-ee(this.zh()),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 9:return h$(this,r);case 17:return as(this,null,17,r)}return u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Rj(this,_c(this),t-ee(this.zh()),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i);case 10:return 0==(this.Bb&Io);case 11:return 0!=(this.Bb&Zb);case 12:return 0!=(this.Bb&Ub);case 13:return null!=this.j;case 14:return null!=A3(this);case 15:return 0!=(this.Bb&ku);case 16:return 0!=(this.Bb&Jf);case 17:return!!gb(this)}return As(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.sh=function(e,t){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void B$(this,Te(t));case 2:return void D1(this,on(sn(t)));case 3:return void $1(this,on(sn(t)));case 4:return void P1(this,u(t,19).a);case 5:return void this.ok(u(t,19).a);case 8:return void xa(this,u(t,138));case 9:return void((i=jf(this,u(t,87),null))&&i.Fi());case 10:return void l3(this,on(sn(t)));case 11:return void b3(this,on(sn(t)));case 12:return void a3(this,on(sn(t)));case 13:return void _U(this,Te(t));case 15:return void d3(this,on(sn(t)));case 16:return void w3(this,on(sn(t)))}Ls(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t)},s.zh=function(){return Sn(),cee},s.Bh=function(e){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,88)&&Nb(Du(u(this.Cb,88)),4),void Dc(this,null);case 2:return void D1(this,!0);case 3:return void $1(this,!0);case 4:return void P1(this,0);case 5:return void this.ok(1);case 8:return void xa(this,null);case 9:return void((r=jf(this,null,null))&&r.Fi());case 10:return void l3(this,!0);case 11:return void b3(this,!1);case 12:return void a3(this,!1);case 13:return this.i=null,void yC(this,null);case 15:return void d3(this,!1);case 16:return void w3(this,!1)}$s(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.Gh=function(){Op(ji((vu(),Dr),this)),Vs(this),this.Bb|=1},s.Gj=function(){return this.f},s.zj=function(){return A3(this)},s.Hj=function(){return gb(this)},s.Lj=function(){return null},s.pk=function(){return this.k},s.aj=function(){return this.n},s.Mj=function(){return vM(this)},s.Nj=function(){var e,t,r,i,c,o,f,h,l;return this.p||(null==(r=gb(this)).i&&Qf(r),(i=this.Lj())&&ee(gb(i)),e=(f=(c=Vs(this)).Bj())?1&f.i?f==Hu?cr:f==be?qr:f==Aw?c4:f==kr?Cr:f==oa?A0:f==o2?P0:f==ju?yv:Im:f:null,t=A3(this),h=c.zj(),Gge(this),this.p=this.Bb&Jf&&((o=VJ((vu(),Dr),r))&&o!=this||(o=R2(ji(Dr,this))))?new Nkn(this,o):this.$j()?this.rk()?i?this.Bb&ku?e?this.sk()?new Ea(47,e,this,i):new Ea(5,e,this,i):this.sk()?new Ma(46,this,i):new Ma(4,this,i):e?this.sk()?new Ea(49,e,this,i):new Ea(7,e,this,i):this.sk()?new Ma(48,this,i):new Ma(6,this,i):this.Bb&ku?e?e==ed?new E1(50,Kne,this):this.sk()?new E1(43,e,this):new E1(1,e,this):this.sk()?new C1(42,this):new C1(0,this):e?e==ed?new E1(41,Kne,this):this.sk()?new E1(45,e,this):new E1(3,e,this):this.sk()?new C1(44,this):new C1(2,this):I(c,148)?e==CI?new C1(40,this):512&this.Bb?this.Bb&ku?e?new E1(9,e,this):new C1(8,this):e?new E1(11,e,this):new C1(10,this):this.Bb&ku?e?new E1(13,e,this):new C1(12,this):e?new E1(15,e,this):new C1(14,this):i?(l=i.t)>1||-1==l?this.sk()?this.Bb&ku?e?new Ea(25,e,this,i):new Ma(24,this,i):e?new Ea(27,e,this,i):new Ma(26,this,i):this.Bb&ku?e?new Ea(29,e,this,i):new Ma(28,this,i):e?new Ea(31,e,this,i):new Ma(30,this,i):this.sk()?this.Bb&ku?e?new Ea(33,e,this,i):new Ma(32,this,i):e?new Ea(35,e,this,i):new Ma(34,this,i):this.Bb&ku?e?new Ea(37,e,this,i):new Ma(36,this,i):e?new Ea(39,e,this,i):new Ma(38,this,i):this.sk()?this.Bb&ku?e?new E1(17,e,this):new C1(16,this):e?new E1(19,e,this):new C1(18,this):this.Bb&ku?e?new E1(21,e,this):new C1(20,this):e?new E1(23,e,this):new C1(22,this):this.qk()?this.sk()?new EEn(u(c,26),this,i):new jX(u(c,26),this,i):I(c,148)?e==CI?new C1(40,this):this.Bb&ku?e?new yTn(t,h,this,(lL(),f==be?X1n:f==Hu?q1n:f==oa?V1n:f==Aw?W1n:f==kr?z1n:f==o2?Q1n:f==ju?G1n:f==Hs?U1n:VH)):new $Cn(u(c,148),t,h,this):e?new kTn(t,h,this,(lL(),f==be?X1n:f==Hu?q1n:f==oa?V1n:f==Aw?W1n:f==kr?z1n:f==o2?Q1n:f==ju?G1n:f==Hs?U1n:VH)):new DCn(u(c,148),t,h,this):this.rk()?i?this.Bb&ku?this.sk()?new CEn(u(c,26),this,i):new dW(u(c,26),this,i):this.sk()?new TEn(u(c,26),this,i):new RD(u(c,26),this,i):this.Bb&ku?this.sk()?new kjn(u(c,26),this):new Sz(u(c,26),this):this.sk()?new mjn(u(c,26),this):new MD(u(c,26),this):this.sk()?i?this.Bb&ku?new MEn(u(c,26),this,i):new lW(u(c,26),this,i):this.Bb&ku?new yjn(u(c,26),this):new Az(u(c,26),this):i?this.Bb&ku?new SEn(u(c,26),this,i):new aW(u(c,26),this,i):this.Bb&ku?new jjn(u(c,26),this):new eT(u(c,26),this)),this.p},s.Ij=function(){return 0!=(this.Bb&Io)},s.qk=function(){return!1},s.rk=function(){return!1},s.Jj=function(){return 0!=(this.Bb&Jf)},s.Oj=function(){return bF(this)},s.sk=function(){return!1},s.Kj=function(){return 0!=(this.Bb&ku)},s.tk=function(e){this.k=e},s.Lh=function(e){B$(this,e)},s.Ib=function(){return LM(this)},s.e=!1,s.n=0,w(xn,"EStructuralFeatureImpl",449),b(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},dO),s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),!!GY(this);case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q;case 10:return Hn(),!!(this.Bb&Io);case 11:return Hn(),!!(this.Bb&Zb);case 12:return Hn(),!!(this.Bb&Ub);case 13:return this.j;case 14:return A3(this);case 15:return Hn(),!!(this.Bb&ku);case 16:return Hn(),!!(this.Bb&Jf);case 17:return gb(this);case 18:return Hn(),!!(this.Bb&sc);case 19:return t?DF(this):$An(this)}return Is(this,e-ee((Sn(),Cw)),In(u(Bn(this,16),26)||Cw,e),t,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return GY(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i);case 10:return 0==(this.Bb&Io);case 11:return 0!=(this.Bb&Zb);case 12:return 0!=(this.Bb&Ub);case 13:return null!=this.j;case 14:return null!=A3(this);case 15:return 0!=(this.Bb&ku);case 16:return 0!=(this.Bb&Jf);case 17:return!!gb(this);case 18:return 0!=(this.Bb&sc);case 19:return!!$An(this)}return As(this,e-ee((Sn(),Cw)),In(u(Bn(this,16),26)||Cw,e))},s.sh=function(e,t){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void B$(this,Te(t));case 2:return void D1(this,on(sn(t)));case 3:return void $1(this,on(sn(t)));case 4:return void P1(this,u(t,19).a);case 5:return void l8n(this,u(t,19).a);case 8:return void xa(this,u(t,138));case 9:return void((i=jf(this,u(t,87),null))&&i.Fi());case 10:return void l3(this,on(sn(t)));case 11:return void b3(this,on(sn(t)));case 12:return void a3(this,on(sn(t)));case 13:return void _U(this,Te(t));case 15:return void d3(this,on(sn(t)));case 16:return void w3(this,on(sn(t)));case 18:return void rL(this,on(sn(t)))}Ls(this,e-ee((Sn(),Cw)),In(u(Bn(this,16),26)||Cw,e),t)},s.zh=function(){return Sn(),Cw},s.Bh=function(e){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,88)&&Nb(Du(u(this.Cb,88)),4),void Dc(this,null);case 2:return void D1(this,!0);case 3:return void $1(this,!0);case 4:return void P1(this,0);case 5:return this.b=0,void Cb(this,1);case 8:return void xa(this,null);case 9:return void((r=jf(this,null,null))&&r.Fi());case 10:return void l3(this,!0);case 11:return void b3(this,!1);case 12:return void a3(this,!1);case 13:return this.i=null,void yC(this,null);case 15:return void d3(this,!1);case 16:return void w3(this,!1);case 18:return void rL(this,!1)}$s(this,e-ee((Sn(),Cw)),In(u(Bn(this,16),26)||Cw,e))},s.Gh=function(){DF(this),Op(ji((vu(),Dr),this)),Vs(this),this.Bb|=1},s.$j=function(){return GY(this)},s.nk=function(e,t){return this.b=0,this.a=null,xQ(this,e,t)},s.ok=function(e){l8n(this,e)},s.Ib=function(){var e;return 64&this.Db?LM(this):((e=new Gs(LM(this))).a+=" (iD: ",k1(e,0!=(this.Bb&sc)),e.a+=")",e.a)},s.b=0,w(xn,"EAttributeImpl",322),b(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),s.uk=function(e){return e.Tg()==this},s.Qg=function(e){return xL(this,e)},s.Rg=function(e,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=e},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return a0(this);case 4:return this.zj();case 5:return this.F;case 6:return t?ss(this):Fp(this);case 7:return!this.A&&(this.A=new au(Uc,this,7)),this.A}return Is(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 6:return this.Cb&&(r=(c=this.Db>>16)>=0?xL(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,6,r)}return u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Qj(this,_c(this),t-ee(this.zh()),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 6:return as(this,null,6,r);case 7:return!this.A&&(this.A=new au(Uc,this,7)),Kr(this.A,e,r)}return u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Rj(this,_c(this),t-ee(this.zh()),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!a0(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Fp(this);case 7:return!!this.A&&0!=this.A.i}return As(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void LT(this,Te(t));case 2:return void dD(this,Te(t));case 5:return void F3(this,Te(t));case 7:return!this.A&&(this.A=new au(Uc,this,7)),de(this.A),!this.A&&(this.A=new au(Uc,this,7)),void Dt(this.A,u(t,14))}Ls(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t)},s.zh=function(){return Sn(),Zne},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,179)&&(u(this.Cb,179).tb=null),void Dc(this,null);case 2:return s3(this,null),void Vp(this,this.D);case 5:return void F3(this,null);case 7:return!this.A&&(this.A=new au(Uc,this,7)),void de(this.A)}$s(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.yj=function(){var e;return-1==this.G&&(this.G=(e=ss(this))?F1(e.Mh(),this):-1),this.G},s.zj=function(){return null},s.Aj=function(){return ss(this)},s.vk=function(){return this.v},s.Bj=function(){return a0(this)},s.Cj=function(){return null!=this.D?this.D:this.B},s.Dj=function(){return this.F},s.wj=function(e){return PN(this,e)},s.wk=function(e){this.v=e},s.xk=function(e){fOn(this,e)},s.yk=function(e){this.C=e},s.Lh=function(e){LT(this,e)},s.Ib=function(){return WC(this)},s.C=null,s.D=null,s.G=-1,w(xn,"EClassifierImpl",351),b(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},Aq),s.uk=function(e){return function Mue(n,e){return e==n||y3(AM(e),n)}(this,e.Tg())},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return a0(this);case 4:return null;case 5:return this.F;case 6:return t?ss(this):Fp(this);case 7:return!this.A&&(this.A=new au(Uc,this,7)),this.A;case 8:return Hn(),!!(256&this.Bb);case 9:return Hn(),!!(512&this.Bb);case 10:return Si(this);case 11:return!this.q&&(this.q=new V(lo,this,11,10)),this.q;case 12:return pg(this);case 13:return z6(this);case 14:return z6(this),this.r;case 15:return pg(this),this.k;case 16:return FY(this);case 17:return FN(this);case 18:return Qf(this);case 19:return AM(this);case 20:return pg(this),this.o;case 21:return!this.s&&(this.s=new V(ou,this,21,17)),this.s;case 22:return wc(this);case 23:return mN(this)}return Is(this,e-ee((Sn(),ia)),In(u(Bn(this,16),26)||ia,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 6:return this.Cb&&(r=(c=this.Db>>16)>=0?xL(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,6,r);case 11:return!this.q&&(this.q=new V(lo,this,11,10)),$c(this.q,e,r);case 21:return!this.s&&(this.s=new V(ou,this,21,17)),$c(this.s,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),ia),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),ia)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 6:return as(this,null,6,r);case 7:return!this.A&&(this.A=new au(Uc,this,7)),Kr(this.A,e,r);case 11:return!this.q&&(this.q=new V(lo,this,11,10)),Kr(this.q,e,r);case 21:return!this.s&&(this.s=new V(ou,this,21,17)),Kr(this.s,e,r);case 22:return Kr(wc(this),e,r)}return u(In(u(Bn(this,16),26)||(Sn(),ia),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),ia)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!a0(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Fp(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==wc(this.u.a).i||this.n&&ML(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=pg(this).i;case 13:return 0!=z6(this).i;case 14:return z6(this),0!=this.r.i;case 15:return pg(this),0!=this.k.i;case 16:return 0!=FY(this).i;case 17:return 0!=FN(this).i;case 18:return 0!=Qf(this).i;case 19:return 0!=AM(this).i;case 20:return pg(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&ML(this.n);case 23:return 0!=mN(this).i}return As(this,e-ee((Sn(),ia)),In(u(Bn(this,16),26)||ia,e))},s.oh=function(e){return(null==this.i||this.q&&0!=this.q.i?null:ik(this,e))||lnn(this,e)},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void LT(this,Te(t));case 2:return void dD(this,Te(t));case 5:return void F3(this,Te(t));case 7:return!this.A&&(this.A=new au(Uc,this,7)),de(this.A),!this.A&&(this.A=new au(Uc,this,7)),void Dt(this.A,u(t,14));case 8:return void _Q(this,on(sn(t)));case 9:return void RQ(this,on(sn(t)));case 10:return V6(Si(this)),void Dt(Si(this),u(t,14));case 11:return!this.q&&(this.q=new V(lo,this,11,10)),de(this.q),!this.q&&(this.q=new V(lo,this,11,10)),void Dt(this.q,u(t,14));case 21:return!this.s&&(this.s=new V(ou,this,21,17)),de(this.s),!this.s&&(this.s=new V(ou,this,21,17)),void Dt(this.s,u(t,14));case 22:return de(wc(this)),void Dt(wc(this),u(t,14))}Ls(this,e-ee((Sn(),ia)),In(u(Bn(this,16),26)||ia,e),t)},s.zh=function(){return Sn(),ia},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,179)&&(u(this.Cb,179).tb=null),void Dc(this,null);case 2:return s3(this,null),void Vp(this,this.D);case 5:return void F3(this,null);case 7:return!this.A&&(this.A=new au(Uc,this,7)),void de(this.A);case 8:return void _Q(this,!1);case 9:return void RQ(this,!1);case 10:return void(this.u&&V6(this.u));case 11:return!this.q&&(this.q=new V(lo,this,11,10)),void de(this.q);case 21:return!this.s&&(this.s=new V(ou,this,21,17)),void de(this.s);case 22:return void(this.n&&de(this.n))}$s(this,e-ee((Sn(),ia)),In(u(Bn(this,16),26)||ia,e))},s.Gh=function(){var e,t;if(pg(this),z6(this),FY(this),FN(this),Qf(this),AM(this),mN(this),o6(function qoe(n){return!n.c&&(n.c=new Jv),n.c}(Du(this))),this.s)for(e=0,t=this.s.i;e=0;--t)O(this,t);return oJ(this,e)},s.Xj=function(){de(this)},s.oi=function(e,t){return DIn(this,0,t)},w(pt,"EcoreEList",622),b(496,622,Bi,x8),s.ai=function(){return!1},s.aj=function(){return this.c},s.bj=function(){return!1},s.Fk=function(){return!0},s.hi=function(){return!0},s.li=function(e,t){return t},s.ni=function(){return!1},s.c=0,w(pt,"EObjectEList",496),b(85,496,Bi,Vt),s.bj=function(){return!0},s.Dk=function(){return!1},s.rk=function(){return!0},w(pt,"EObjectContainmentEList",85),b(545,85,Bi,OE),s.ci=function(){this.b=!0},s.fj=function(){return this.b},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.b,this.b=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.b=!1},s.b=!1,w(pt,"EObjectContainmentEList/Unsettable",545),b(1140,545,Bi,pTn),s.ii=function(e,t){var r,i;return r=u(T6(this,e,t),87),zu(this.e)&&rp(this,new i7(this.a,7,(Sn(),nee),Q(t),I(i=r.c,88)?u(i,26):bo,e)),r},s.jj=function(e,t){return function O2e(n,e,t){var r,i;return r=new Jh(n.e,3,10,null,I(i=e.c,88)?u(i,26):(Sn(),bo),F1(n,e),!1),t?t.Ei(r):t=r,t}(this,u(e,87),t)},s.kj=function(e,t){return function I2e(n,e,t){var r,i;return r=new Jh(n.e,4,10,I(i=e.c,88)?u(i,26):(Sn(),bo),null,F1(n,e),!1),t?t.Ei(r):t=r,t}(this,u(e,87),t)},s.lj=function(e,t,r){return function D3e(n,e,t,r){var i,c,o;return i=new Jh(n.e,1,10,I(o=e.c,88)?u(o,26):(Sn(),bo),I(c=t.c,88)?u(c,26):(Sn(),bo),F1(n,e),!1),r?r.Ei(i):r=i,r}(this,u(e,87),u(t,87),r)},s.Zi=function(e,t,r,i,c){switch(e){case 3:return t6(this,e,t,r,i,this.i>1);case 5:return t6(this,e,t,r,i,this.i-u(r,15).gc()>0);default:return new Jh(this.e,e,this.c,t,r,i,!0)}},s.ij=function(){return!0},s.fj=function(){return ML(this)},s.Xj=function(){de(this)},w(xn,"EClassImpl/1",1140),b(1154,1153,krn),s.ui=function(e){var t,r,i,c,o,f,h;if(8!=(r=e.xi())){if(0==(i=function bve(n){switch(n.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(e)))switch(r){case 1:case 9:null!=(h=e.Bi())&&(!(t=Du(u(h,473))).c&&(t.c=new Jv),cC(t.c,e.Ai())),null!=(f=e.zi())&&(1&(c=u(f,473)).Bb||(!(t=Du(c)).c&&(t.c=new Jv),me(t.c,u(e.Ai(),26))));break;case 3:null!=(f=e.zi())&&(1&(c=u(f,473)).Bb||(!(t=Du(c)).c&&(t.c=new Jv),me(t.c,u(e.Ai(),26))));break;case 5:if(null!=(f=e.zi()))for(o=u(f,14).Kc();o.Ob();)1&(c=u(o.Pb(),473)).Bb||(!(t=Du(c)).c&&(t.c=new Jv),me(t.c,u(e.Ai(),26)));break;case 4:null!=(h=e.Bi())&&(1&(c=u(h,473)).Bb||(!(t=Du(c)).c&&(t.c=new Jv),cC(t.c,e.Ai())));break;case 6:if(null!=(h=e.Bi()))for(o=u(h,14).Kc();o.Ob();)1&(c=u(o.Pb(),473)).Bb||(!(t=Du(c)).c&&(t.c=new Jv),cC(t.c,e.Ai()))}this.Hk(i)}},s.Hk=function(e){vBn(this,e)},s.b=63,w(xn,"ESuperAdapter",1154),b(1155,1154,krn,Imn),s.Hk=function(e){Nb(this,e)},w(xn,"EClassImpl/10",1155),b(1144,696,Bi),s.Vh=function(e,t){return XL(this,e,t)},s.Wh=function(e){return dFn(this,e)},s.Xh=function(e,t){O7(this,e,t)},s.Yh=function(e){Z8(this,e)},s.pi=function(e){return vV(this,e)},s.mi=function(e,t){return dF(this,e,t)},s.lk=function(e,t){throw C(new ye)},s.Zh=function(){return new A2(this)},s.$h=function(){return new C8(this)},s._h=function(e){return g7(this,e)},s.mk=function(e,t){throw C(new ye)},s.Wj=function(e){return this},s.fj=function(){return 0!=this.i},s.Wb=function(e){throw C(new ye)},s.Xj=function(){throw C(new ye)},w(pt,"EcoreEList/UnmodifiableEList",1144),b(319,1144,Bi,Bw),s.ni=function(){return!1},w(pt,"EcoreEList/UnmodifiableEList/FastCompare",319),b(1147,319,Bi,eDn),s.Xc=function(e){var r,i;if(I(e,170)&&-1!=(r=u(e,170).aj()))for(i=this.i;r4){if(!this.wj(e))return!1;if(this.rk()){if(h=(r=(i=u(e,49)).Ug())==this.b&&(this.Dk()?i.Og(i.Vg(),u(In(Qc(this.b),this.aj()).Yj(),26).Bj())==ei(u(In(Qc(this.b),this.aj()),18)).n:-1-i.Vg()==this.aj()),this.Ek()&&!h&&!r&&i.Zg())for(c=0;c1||-1==i)},s.Dk=function(){var t;return!!I(t=In(Qc(this.b),this.aj()),99)&&!!ei(u(t,18))},s.Ek=function(){var t;return!!I(t=In(Qc(this.b),this.aj()),99)&&0!=(u(t,18).Bb&Vr)},s.Xc=function(e){var r,i,c;if((i=this.Qi(e))>=0)return i;if(this.Fk())for(r=0,c=this.Vi();r=0;--e)dk(this,e,this.Oi(e));return this.Wi()},s.Qc=function(e){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)dk(this,t,this.Oi(t));return this.Xi(e)},s.Xj=function(){V6(this)},s.oi=function(e,t){return gPn(this,0,t)},w(pt,"DelegatingEcoreEList",742),b(1150,742,Trn,$jn),s.Hi=function(e,t){!function nue(n,e,t){E6(wc(n.a),e,DMn(t))}(this,e,u(t,26))},s.Ii=function(e){!function Xie(n,e){me(wc(n.a),DMn(e))}(this,u(e,26))},s.Oi=function(e){var r;return I(r=u(O(wc(this.a),e),87).c,88)?u(r,26):(Sn(),bo)},s.Ti=function(e){var r;return I(r=u(Bb(wc(this.a),e),87).c,88)?u(r,26):(Sn(),bo)},s.Ui=function(e,t){return function epe(n,e,t){var r,i,c;return(64&(c=I(i=(r=u(O(wc(n.a),e),87)).c,88)?u(i,26):(Sn(),bo)).Db?Sl(n.b,c):c)==t?BM(r):Gp(r,t),c}(this,e,u(t,26))},s.ai=function(){return!1},s.Zi=function(e,t,r,i,c){return null},s.Ji=function(){return new Dmn(this)},s.Ki=function(){de(wc(this.a))},s.Li=function(e){return zDn(this,e)},s.Mi=function(e){var r;for(r=e.Kc();r.Ob();)if(!zDn(this,r.Pb()))return!1;return!0},s.Ni=function(e){var t,r,i;if(I(e,15)&&(i=u(e,15)).gc()==wc(this.a).i){for(t=i.Kc(),r=new re(this);t.Ob();)if(B(t.Pb())!==B(oe(r)))return!1;return!0}return!1},s.Pi=function(){var t,r,i,c;for(r=1,t=new re(wc(this.a));t.e!=t.i.gc();)r=31*r+((i=I(c=u(oe(t),87).c,88)?u(c,26):(Sn(),bo))?Ld(i):0);return r},s.Qi=function(e){var t,r,i,c;for(i=0,r=new re(wc(this.a));r.e!=r.i.gc();){if(t=u(oe(r),87),B(e)===B(I(c=t.c,88)?u(c,26):(Sn(),bo)))return i;++i}return-1},s.Ri=function(){return 0==wc(this.a).i},s.Si=function(){return null},s.Vi=function(){return wc(this.a).i},s.Wi=function(){var e,t,r,i,c,o;for(o=wc(this.a).i,c=L(Zn,rn,1,o,5,1),r=0,t=new re(wc(this.a));t.e!=t.i.gc();)e=u(oe(t),87),c[r++]=I(i=e.c,88)?u(i,26):(Sn(),bo);return c},s.Xi=function(e){var r,i,f,h;for(h=wc(this.a).i,e.lengthh&&St(e,h,null),i=0,r=new re(wc(this.a));r.e!=r.i.gc();)St(e,i++,I(f=u(oe(r),87).c,88)?u(f,26):(Sn(),bo));return e},s.Yi=function(){var e,t,r,i,c;for((c=new m1).a+="[",e=wc(this.a),t=0,i=wc(this.a).i;t>16)>=0?xL(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,6,r);case 9:return!this.a&&(this.a=new V(g1,this,9,5)),$c(this.a,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),ca),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),ca)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 6:return as(this,null,6,r);case 7:return!this.A&&(this.A=new au(Uc,this,7)),Kr(this.A,e,r);case 9:return!this.a&&(this.a=new V(g1,this,9,5)),Kr(this.a,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),ca),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),ca)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!a0(this);case 4:return!!CQ(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Fp(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return As(this,e-ee((Sn(),ca)),In(u(Bn(this,16),26)||ca,e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void LT(this,Te(t));case 2:return void dD(this,Te(t));case 5:return void F3(this,Te(t));case 7:return!this.A&&(this.A=new au(Uc,this,7)),de(this.A),!this.A&&(this.A=new au(Uc,this,7)),void Dt(this.A,u(t,14));case 8:return void KC(this,on(sn(t)));case 9:return!this.a&&(this.a=new V(g1,this,9,5)),de(this.a),!this.a&&(this.a=new V(g1,this,9,5)),void Dt(this.a,u(t,14))}Ls(this,e-ee((Sn(),ca)),In(u(Bn(this,16),26)||ca,e),t)},s.zh=function(){return Sn(),ca},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,179)&&(u(this.Cb,179).tb=null),void Dc(this,null);case 2:return s3(this,null),void Vp(this,this.D);case 5:return void F3(this,null);case 7:return!this.A&&(this.A=new au(Uc,this,7)),void de(this.A);case 8:return void KC(this,!0);case 9:return!this.a&&(this.a=new V(g1,this,9,5)),void de(this.a)}$s(this,e-ee((Sn(),ca)),In(u(Bn(this,16),26)||ca,e))},s.Gh=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e>16==5?u(this.Cb,671):null}return Is(this,e-ee((Sn(),Y1)),In(u(Bn(this,16),26)||Y1,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 5:return this.Cb&&(r=(c=this.Db>>16)>=0?BFn(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,5,r)}return u(In(u(Bn(this,16),26)||(Sn(),Y1),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),Y1)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 5:return as(this,null,5,r)}return u(In(u(Bn(this,16),26)||(Sn(),Y1),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),Y1)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!u(this.Cb,671))}return As(this,e-ee((Sn(),Y1)),In(u(Bn(this,16),26)||Y1,e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void Dc(this,Te(t));case 2:return void mF(this,u(t,19).a);case 3:return void $Nn(this,u(t,1940));case 4:return void yF(this,Te(t))}Ls(this,e-ee((Sn(),Y1)),In(u(Bn(this,16),26)||Y1,e),t)},s.zh=function(){return Sn(),Y1},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void Dc(this,null);case 2:return void mF(this,0);case 3:return void $Nn(this,null);case 4:return void yF(this,null)}$s(this,e-ee((Sn(),Y1)),In(u(Bn(this,16),26)||Y1,e))},s.Ib=function(){return this.c??this.zb},s.b=null,s.c=null,s.d=0,w(xn,"EEnumLiteralImpl",573);var H1n,XH,ej,uMe=Et(xn,"EFactoryImpl/InternalEDateTimeFormat");b(489,1,{2015:1},Q9),w(xn,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),b(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},jd),s.Sg=function(e,t,r){var i;return r=as(this,e,t,r),this.e&&I(e,170)&&(i=SM(this,this.e))!=this.c&&(r=L3(this,i,r)),r},s._g=function(e,t,r){switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new Vt(hi,this,1)),this.d;case 2:return t?BM(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?PL(this):this.a}return Is(this,e-ee((Sn(),z0)),In(u(Bn(this,16),26)||z0,e),t,r)},s.jh=function(e,t,r){switch(t){case 0:return NDn(this,null,r);case 1:return!this.d&&(this.d=new Vt(hi,this,1)),Kr(this.d,e,r);case 3:return LDn(this,null,r)}return u(In(u(Bn(this,16),26)||(Sn(),z0),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),z0)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return As(this,e-ee((Sn(),z0)),In(u(Bn(this,16),26)||z0,e))},s.sh=function(e,t){switch(e){case 0:return void tLn(this,u(t,87));case 1:return!this.d&&(this.d=new Vt(hi,this,1)),de(this.d),!this.d&&(this.d=new Vt(hi,this,1)),void Dt(this.d,u(t,14));case 3:return void iY(this,u(t,87));case 4:return void yY(this,u(t,836));case 5:return void Gp(this,u(t,138))}Ls(this,e-ee((Sn(),z0)),In(u(Bn(this,16),26)||z0,e),t)},s.zh=function(){return Sn(),z0},s.Bh=function(e){switch(e){case 0:return void tLn(this,null);case 1:return!this.d&&(this.d=new Vt(hi,this,1)),void de(this.d);case 3:return void iY(this,null);case 4:return void yY(this,null);case 5:return void Gp(this,null)}$s(this,e-ee((Sn(),z0)),In(u(Bn(this,16),26)||z0,e))},s.Ib=function(){var e;return(e=new ts(Ao(this))).a+=" (expression: ",BN(this,e),e.a+=")",e.a},w(xn,"EGenericTypeImpl",241),b(1969,1964,US),s.Xh=function(e,t){Ijn(this,e,t)},s.lk=function(e,t){return Ijn(this,this.gc(),e),t},s.pi=function(e){return Yo(this.Gi(),e)},s.Zh=function(){return this.$h()},s.Gi=function(){return new Nmn(this)},s.$h=function(){return this._h(0)},s._h=function(e){return this.Gi().Zc(e)},s.mk=function(e,t){return Ab(this,e,!0),t},s.ii=function(e,t){var i;return i=_L(this,t),this.Zc(e).Rb(i),i},s.ji=function(e,t){Ab(this,t,!0),this.Zc(e).Rb(t)},w(pt,"AbstractSequentialInternalEList",1969),b(486,1969,US,T8),s.pi=function(e){return Yo(this.Gi(),e)},s.Zh=function(){return null==this.b?(y1(),y1(),ej):this.Jk()},s.Gi=function(){return new eyn(this.a,this.b)},s.$h=function(){return null==this.b?(y1(),y1(),ej):this.Jk()},s._h=function(e){var t,r;if(null==this.b){if(e<0||e>1)throw C(new pi(km+e+", size=0"));return y1(),y1(),ej}for(r=this.Jk(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.Gj()!=R4||0!=t.aj())&&(!this.Mk()||this.b.mh(t)))if(o=this.b.bh(t,this.Lk()),this.f=(Zr(),u(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(i=u(o,15),this.k=i):(i=u(o,69),this.k=this.j=i),I(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?XLn(this,this.p):uNn(this))return c=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((e=u(c,72)).ak(),r=e.dd(),this.i=r):this.i=r=c,this.g=-3,!0}else if(null!=o)return this.k=null,this.p=null,this.i=r=o,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},s.Pb=function(){return OC(this)},s.Tb=function(){return this.a},s.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw C(new ic)},s.Vb=function(){return this.a-1},s.Qb=function(){throw C(new ye)},s.Lk=function(){return!1},s.Wb=function(e){throw C(new ye)},s.Mk=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0,w(pt,"EContentsEList/FeatureIteratorImpl",279),b(697,279,zS,Mz),s.Lk=function(){return!0},w(pt,"EContentsEList/ResolvingFeatureIteratorImpl",697),b(1157,697,zS,pjn),s.Mk=function(){return!1},w(xn,"ENamedElementImpl/1/1",1157),b(1158,279,zS,vjn),s.Mk=function(){return!1},w(xn,"ENamedElementImpl/1/2",1158),b(36,143,Kk,mb,z$,dr,sF,Jh,Co,IV,zMn,OV,WMn,eV,XMn,FV,VMn,tV,QMn,DV,JMn,V5,i7,T$,$V,YMn,rV,ZMn),s._i=function(){return bV(this)},s.gj=function(){var e;return(e=bV(this))?e.zj():null},s.yi=function(e){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,e)},s.Ai=function(){return this.c},s.hj=function(){var e;return!!(e=bV(this))&&e.Kj()},s.b=-1,w(xn,"ENotificationImpl",36),b(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},bO),s.Qg=function(e){return KFn(this,e)},s._g=function(e,t,r){var o;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),(o=this.t)>1||-1==o;case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,26):null;case 11:return!this.d&&(this.d=new au(Uc,this,11)),this.d;case 12:return!this.c&&(this.c=new V(U0,this,12,10)),this.c;case 13:return!this.a&&(this.a=new I8(this,this)),this.a;case 14:return $u(this)}return Is(this,e-ee((Sn(),Z1)),In(u(Bn(this,16),26)||Z1,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 10:return this.Cb&&(r=(c=this.Db>>16)>=0?KFn(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,10,r);case 12:return!this.c&&(this.c=new V(U0,this,12,10)),$c(this.c,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),Z1),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),Z1)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 9:return h$(this,r);case 10:return as(this,null,10,r);case 11:return!this.d&&(this.d=new au(Uc,this,11)),Kr(this.d,e,r);case 12:return!this.c&&(this.c=new V(U0,this,12,10)),Kr(this.c,e,r);case 14:return Kr($u(this),e,r)}return u(In(u(Bn(this,16),26)||(Sn(),Z1),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),Z1)),e,r)},s.lh=function(e){var i;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(i=this.t)>1||-1==i;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i);case 10:return!(this.Db>>16!=10||!u(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==$u(this.a.a).i||this.b&&SL(this.b));case 14:return!!this.b&&SL(this.b)}return As(this,e-ee((Sn(),Z1)),In(u(Bn(this,16),26)||Z1,e))},s.sh=function(e,t){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void Dc(this,Te(t));case 2:return void D1(this,on(sn(t)));case 3:return void $1(this,on(sn(t)));case 4:return void P1(this,u(t,19).a);case 5:return void Cb(this,u(t,19).a);case 8:return void xa(this,u(t,138));case 9:return void((i=jf(this,u(t,87),null))&&i.Fi());case 11:return!this.d&&(this.d=new au(Uc,this,11)),de(this.d),!this.d&&(this.d=new au(Uc,this,11)),void Dt(this.d,u(t,14));case 12:return!this.c&&(this.c=new V(U0,this,12,10)),de(this.c),!this.c&&(this.c=new V(U0,this,12,10)),void Dt(this.c,u(t,14));case 13:return!this.a&&(this.a=new I8(this,this)),V6(this.a),!this.a&&(this.a=new I8(this,this)),void Dt(this.a,u(t,14));case 14:return de($u(this)),void Dt($u(this),u(t,14))}Ls(this,e-ee((Sn(),Z1)),In(u(Bn(this,16),26)||Z1,e),t)},s.zh=function(){return Sn(),Z1},s.Bh=function(e){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void Dc(this,null);case 2:return void D1(this,!0);case 3:return void $1(this,!0);case 4:return void P1(this,0);case 5:return void Cb(this,1);case 8:return void xa(this,null);case 9:return void((r=jf(this,null,null))&&r.Fi());case 11:return!this.d&&(this.d=new au(Uc,this,11)),void de(this.d);case 12:return!this.c&&(this.c=new V(U0,this,12,10)),void de(this.c);case 13:return void(this.a&&V6(this.a));case 14:return void(this.b&&de(this.b))}$s(this,e-ee((Sn(),Z1)),In(u(Bn(this,16),26)||Z1,e))},s.Gh=function(){var e,t;if(this.c)for(e=0,t=this.c.i;eh&&St(e,h,null),i=0,r=new re($u(this.a));r.e!=r.i.gc();)St(e,i++,u(oe(r),87).c||(Sn(),Ff));return e},s.Yi=function(){var e,t,i,c;for((c=new m1).a+="[",e=$u(this.a),t=0,i=$u(this.a).i;t1);case 5:return t6(this,e,t,r,i,this.i-u(r,15).gc()>0);default:return new Jh(this.e,e,this.c,t,r,i,!0)}},s.ij=function(){return!0},s.fj=function(){return SL(this)},s.Xj=function(){de(this)},w(xn,"EOperationImpl/2",1341),b(498,1,{1938:1,498:1},Lkn),w(xn,"EPackageImpl/1",498),b(16,85,Bi,V),s.zk=function(){return this.d},s.Ak=function(){return this.b},s.Dk=function(){return!0},s.b=0,w(pt,"EObjectContainmentWithInverseEList",16),b(353,16,Bi,P2),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectContainmentWithInverseEList/Resolving",353),b(298,353,Bi,db),s.ci=function(){this.a.tb=null},w(xn,"EPackageImpl/2",298),b(1228,1,{},rvn),w(xn,"EPackageImpl/3",1228),b(718,43,jg,AG),s._b=function(e){return vr(e)?C$(this,e):!!Ai(this.f,e)},w(xn,"EPackageRegistryImpl",718),b(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},wO),s.Qg=function(e){return HFn(this,e)},s._g=function(e,t,r){var o;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),(o=this.t)>1||-1==o;case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,59):null}return Is(this,e-ee((Sn(),Mw)),In(u(Bn(this,16),26)||Mw,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 10:return this.Cb&&(r=(c=this.Db>>16)>=0?HFn(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,10,r)}return u(In(u(Bn(this,16),26)||(Sn(),Mw),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),Mw)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 9:return h$(this,r);case 10:return as(this,null,10,r)}return u(In(u(Bn(this,16),26)||(Sn(),Mw),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),Mw)),e,r)},s.lh=function(e){var i;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(i=this.t)>1||-1==i;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i);case 10:return!(this.Db>>16!=10||!u(this.Cb,59))}return As(this,e-ee((Sn(),Mw)),In(u(Bn(this,16),26)||Mw,e))},s.zh=function(){return Sn(),Mw},w(xn,"EParameterImpl",509),b(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},Oz),s._g=function(e,t,r){var o,f;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),(f=this.t)>1||-1==f;case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q;case 10:return Hn(),!!(this.Bb&Io);case 11:return Hn(),!!(this.Bb&Zb);case 12:return Hn(),!!(this.Bb&Ub);case 13:return this.j;case 14:return A3(this);case 15:return Hn(),!!(this.Bb&ku);case 16:return Hn(),!!(this.Bb&Jf);case 17:return gb(this);case 18:return Hn(),!!(this.Bb&sc);case 19:return Hn(),!!((o=ei(this))&&o.Bb&sc);case 20:return Hn(),!!(this.Bb&Vr);case 21:return t?ei(this):this.b;case 22:return t?bQ(this):yAn(this);case 23:return!this.a&&(this.a=new Hw(Ew,this,23)),this.a}return Is(this,e-ee((Sn(),i2)),In(u(Bn(this,16),26)||i2,e),t,r)},s.lh=function(e){var i,c;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(c=this.t)>1||-1==c;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i);case 10:return 0==(this.Bb&Io);case 11:return 0!=(this.Bb&Zb);case 12:return 0!=(this.Bb&Ub);case 13:return null!=this.j;case 14:return null!=A3(this);case 15:return 0!=(this.Bb&ku);case 16:return 0!=(this.Bb&Jf);case 17:return!!gb(this);case 18:return 0!=(this.Bb&sc);case 19:return!!(i=ei(this))&&0!=(i.Bb&sc);case 20:return 0==(this.Bb&Vr);case 21:return!!this.b;case 22:return!!yAn(this);case 23:return!!this.a&&0!=this.a.i}return As(this,e-ee((Sn(),i2)),In(u(Bn(this,16),26)||i2,e))},s.sh=function(e,t){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void B$(this,Te(t));case 2:return void D1(this,on(sn(t)));case 3:return void $1(this,on(sn(t)));case 4:return void P1(this,u(t,19).a);case 5:return void Cb(this,u(t,19).a);case 8:return void xa(this,u(t,138));case 9:return void((i=jf(this,u(t,87),null))&&i.Fi());case 10:return void l3(this,on(sn(t)));case 11:return void b3(this,on(sn(t)));case 12:return void a3(this,on(sn(t)));case 13:return void _U(this,Te(t));case 15:return void d3(this,on(sn(t)));case 16:return void w3(this,on(sn(t)));case 18:return void function ule(n,e){GQ(n,e),I(n.Cb,88)&&Nb(Du(u(n.Cb,88)),2)}(this,on(sn(t)));case 20:return void UQ(this,on(sn(t)));case 21:return void GV(this,u(t,18));case 23:return!this.a&&(this.a=new Hw(Ew,this,23)),de(this.a),!this.a&&(this.a=new Hw(Ew,this,23)),void Dt(this.a,u(t,14))}Ls(this,e-ee((Sn(),i2)),In(u(Bn(this,16),26)||i2,e),t)},s.zh=function(){return Sn(),i2},s.Bh=function(e){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,88)&&Nb(Du(u(this.Cb,88)),4),void Dc(this,null);case 2:return void D1(this,!0);case 3:return void $1(this,!0);case 4:return void P1(this,0);case 5:return void Cb(this,1);case 8:return void xa(this,null);case 9:return void((r=jf(this,null,null))&&r.Fi());case 10:return void l3(this,!0);case 11:return void b3(this,!1);case 12:return void a3(this,!1);case 13:return this.i=null,void yC(this,null);case 15:return void d3(this,!1);case 16:return void w3(this,!1);case 18:return GQ(this,!1),void(I(this.Cb,88)&&Nb(Du(u(this.Cb,88)),2));case 20:return void UQ(this,!0);case 21:return void GV(this,null);case 23:return!this.a&&(this.a=new Hw(Ew,this,23)),void de(this.a)}$s(this,e-ee((Sn(),i2)),In(u(Bn(this,16),26)||i2,e))},s.Gh=function(){bQ(this),Op(ji((vu(),Dr),this)),Vs(this),this.Bb|=1},s.Lj=function(){return ei(this)},s.qk=function(){var e;return!!(e=ei(this))&&0!=(e.Bb&sc)},s.rk=function(){return 0!=(this.Bb&sc)},s.sk=function(){return 0!=(this.Bb&Vr)},s.nk=function(e,t){return this.c=null,xQ(this,e,t)},s.Ib=function(){var e;return 64&this.Db?LM(this):((e=new Gs(LM(this))).a+=" (containment: ",k1(e,0!=(this.Bb&sc)),e.a+=", resolveProxies: ",k1(e,0!=(this.Bb&Vr)),e.a+=")",e.a)},w(xn,"EReferenceImpl",99),b(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},ivn),s.Fb=function(e){return this===e},s.cd=function(){return this.b},s.dd=function(){return this.c},s.Hb=function(){return Ld(this)},s.Uh=function(e){!function lfe(n,e){RV(n,null==e?null:(_n(e),e))}(this,Te(e))},s.ed=function(e){return function Zoe(n,e){var t;return t=n.c,KV(n,e),t}(this,Te(e))},s._g=function(e,t,r){switch(e){case 0:return this.b;case 1:return this.c}return Is(this,e-ee((Sn(),Jr)),In(u(Bn(this,16),26)||Jr,e),t,r)},s.lh=function(e){switch(e){case 0:return null!=this.b;case 1:return null!=this.c}return As(this,e-ee((Sn(),Jr)),In(u(Bn(this,16),26)||Jr,e))},s.sh=function(e,t){switch(e){case 0:return void function afe(n,e){RV(n,null==e?null:(_n(e),e))}(this,Te(t));case 1:return void KV(this,Te(t))}Ls(this,e-ee((Sn(),Jr)),In(u(Bn(this,16),26)||Jr,e),t)},s.zh=function(){return Sn(),Jr},s.Bh=function(e){switch(e){case 0:return void RV(this,null);case 1:return void KV(this,null)}$s(this,e-ee((Sn(),Jr)),In(u(Bn(this,16),26)||Jr,e))},s.Sh=function(){var e;return-1==this.a&&(this.a=null==(e=this.b)?0:L1(e)),this.a},s.Th=function(e){this.a=e},s.Ib=function(){var e;return 64&this.Db?Ao(this):((e=new Gs(Ao(this))).a+=" (key: ",li(e,this.b),e.a+=", value: ",li(e,this.c),e.a+=")",e.a)},s.a=-1,s.b=null,s.c=null;var _h,q1n,G1n,U1n,z1n,W1n,X1n,V1n,VH,Q1n,rc=w(xn,"EStringToStringMapEntryImpl",548),hee=Et(pt,"FeatureMap/Entry/Internal");b(565,1,WS),s.Ok=function(e){return this.Pk(u(e,49))},s.Pk=function(e){return this.Ok(e)},s.Fb=function(e){var t,r;return this===e||!!I(e,72)&&(t=u(e,72)).ak()==this.c&&(null==(r=this.dd())?null==t.dd():et(r,t.dd()))},s.ak=function(){return this.c},s.Hb=function(){var e;return e=this.dd(),kt(this.c)^(null==e?0:kt(e))},s.Ib=function(){var e,t;return t=ss((e=this.c).Hj()).Ph(),e.ne(),(null!=t&&0!=t.length?t+":"+e.ne():e.ne())+"="+this.dd()},w(xn,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),b(776,565,WS,Rz),s.Pk=function(e){return new Rz(this.c,e)},s.dd=function(){return this.a},s.Qk=function(e,t,r){return function Abe(n,e,t,r,i){var c;return t&&(c=yt(e.Tg(),n.c),i=t.gh(e,-1-(-1==c?r:c),null,i)),i}(this,e,this.a,t,r)},s.Rk=function(e,t,r){return function Pbe(n,e,t,r,i){var c;return t&&(c=yt(e.Tg(),n.c),i=t.ih(e,-1-(-1==c?r:c),null,i)),i}(this,e,this.a,t,r)},w(xn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),b(1314,1,{},Nkn),s.Pj=function(e,t,r,i,c){return u(Rp(e,this.b),215).nl(this.a).Wj(i)},s.Qj=function(e,t,r,i,c){return u(Rp(e,this.b),215).el(this.a,i,c)},s.Rj=function(e,t,r,i,c){return u(Rp(e,this.b),215).fl(this.a,i,c)},s.Sj=function(e,t,r){return u(Rp(e,this.b),215).nl(this.a).fj()},s.Tj=function(e,t,r,i){u(Rp(e,this.b),215).nl(this.a).Wb(i)},s.Uj=function(e,t,r){return u(Rp(e,this.b),215).nl(this.a)},s.Vj=function(e,t,r){u(Rp(e,this.b),215).nl(this.a).Xj()},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),b(89,1,{},E1,Ea,C1,Ma),s.Pj=function(e,t,r,i,c){var o;if(null==(o=t.Ch(r))&&t.Dh(r,o=XM(this,e)),!c)switch(this.e){case 50:case 41:return u(o,589).sj();case 40:return u(o,215).kl()}return o},s.Qj=function(e,t,r,i,c){var f;return null==(f=t.Ch(r))&&t.Dh(r,f=XM(this,e)),u(f,69).lk(i,c)},s.Rj=function(e,t,r,i,c){var o;return null!=(o=t.Ch(r))&&(c=u(o,69).mk(i,c)),c},s.Sj=function(e,t,r){var i;return null!=(i=t.Ch(r))&&u(i,76).fj()},s.Tj=function(e,t,r,i){var c;!(c=u(t.Ch(r),76))&&t.Dh(r,c=XM(this,e)),c.Wb(i)},s.Uj=function(e,t,r){var c;return null==(c=t.Ch(r))&&t.Dh(r,c=XM(this,e)),I(c,76)?u(c,76):new Lmn(u(t.Ch(r),15))},s.Vj=function(e,t,r){var i;!(i=u(t.Ch(r),76))&&t.Dh(r,i=XM(this,e)),i.Xj()},s.b=0,s.e=0,w(xn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),b(504,1,{}),s.Qj=function(e,t,r,i,c){throw C(new ye)},s.Rj=function(e,t,r,i,c){throw C(new ye)},s.Uj=function(e,t,r){return new OCn(this,e,t,r)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),b(1331,1,m_,OCn),s.Wj=function(e){return this.a.Pj(this.c,this.d,this.b,e,!0)},s.fj=function(){return this.a.Sj(this.c,this.d,this.b)},s.Wb=function(e){this.a.Tj(this.c,this.d,this.b,e)},s.Xj=function(){this.a.Vj(this.c,this.d,this.b)},s.b=0,w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),b(769,504,{},jX),s.Pj=function(e,t,r,i,c){return CN(e,e.eh(),e.Vg())==this.b?this.sk()&&i?fN(e):e.eh():null},s.Qj=function(e,t,r,i,c){var o,f;return e.eh()&&(c=(o=e.Vg())>=0?e.Qg(c):e.eh().ih(e,-1-o,null,c)),f=yt(e.Tg(),this.e),e.Sg(i,f,c)},s.Rj=function(e,t,r,i,c){var o;return o=yt(e.Tg(),this.e),e.Sg(null,o,c)},s.Sj=function(e,t,r){var i;return i=yt(e.Tg(),this.e),!!e.eh()&&e.Vg()==i},s.Tj=function(e,t,r,i){var c,o,f,h,l;if(null!=i&&!PN(this.a,i))throw C(new cp(XS+(I(i,56)?tY(u(i,56).Tg()):MV(Fu(i)))+VS+this.a+"'"));if(c=e.eh(),f=yt(e.Tg(),this.e),B(i)!==B(c)||e.Vg()!=f&&null!=i){if(m3(e,u(i,56)))throw C(new Kn(pm+e.Ib()));l=null,c&&(l=(o=e.Vg())>=0?e.Qg(l):e.eh().ih(e,-1-o,null,l)),(h=u(i,49))&&(l=h.gh(e,yt(h.Tg(),this.b),null,l)),(l=e.Sg(h,f,l))&&l.Fi()}else e.Lg()&&e.Mg()&&nt(e,new dr(e,1,f,i,i))},s.Vj=function(e,t,r){var c,o,f;e.eh()?(f=(c=e.Vg())>=0?e.Qg(null):e.eh().ih(e,-1-c,null,null),o=yt(e.Tg(),this.e),(f=e.Sg(null,o,f))&&f.Fi()):e.Lg()&&e.Mg()&&nt(e,new V5(e,1,this.e,null,null))},s.sk=function(){return!1},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),b(1315,769,{},EEn),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),b(563,504,{}),s.Pj=function(e,t,r,i,c){var o;return null==(o=t.Ch(r))?this.b:B(o)===B(_h)?null:o},s.Sj=function(e,t,r){var i;return null!=(i=t.Ch(r))&&(B(i)===B(_h)||!et(i,this.b))},s.Tj=function(e,t,r,i){var c,o;e.Lg()&&e.Mg()?(c=null==(o=t.Ch(r))?this.b:B(o)===B(_h)?null:o,null==i?null!=this.c?(t.Dh(r,null),i=this.b):t.Dh(r,null!=this.b?_h:null):(this.Sk(i),t.Dh(r,i)),nt(e,this.d.Tk(e,1,this.e,c,i))):null==i?t.Dh(r,null!=this.c?null:null!=this.b?_h:null):(this.Sk(i),t.Dh(r,i))},s.Vj=function(e,t,r){var i,c;e.Lg()&&e.Mg()?(i=null==(c=t.Ch(r))?this.b:B(c)===B(_h)?null:c,t.Eh(r),nt(e,this.d.Tk(e,1,this.e,i,this.b))):t.Eh(r)},s.Sk=function(e){throw C(new Umn)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),b(Dg,1,{},cvn),s.Tk=function(e,t,r,i,c){return new V5(e,t,r,i,c)},s.Uk=function(e,t,r,i,c,o){return new T$(e,t,r,i,c,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",Dg),b(1332,Dg,{},uvn),s.Tk=function(e,t,r,i,c){return new rV(e,t,r,on(sn(i)),on(sn(c)))},s.Uk=function(e,t,r,i,c,o){return new ZMn(e,t,r,on(sn(i)),on(sn(c)),o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),b(1333,Dg,{},svn),s.Tk=function(e,t,r,i,c){return new IV(e,t,r,u(i,217).a,u(c,217).a)},s.Uk=function(e,t,r,i,c,o){return new zMn(e,t,r,u(i,217).a,u(c,217).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),b(1334,Dg,{},ovn),s.Tk=function(e,t,r,i,c){return new OV(e,t,r,u(i,172).a,u(c,172).a)},s.Uk=function(e,t,r,i,c,o){return new WMn(e,t,r,u(i,172).a,u(c,172).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),b(1335,Dg,{},fvn),s.Tk=function(e,t,r,i,c){return new eV(e,t,r,K(Y(i)),K(Y(c)))},s.Uk=function(e,t,r,i,c,o){return new XMn(e,t,r,K(Y(i)),K(Y(c)),o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),b(1336,Dg,{},hvn),s.Tk=function(e,t,r,i,c){return new FV(e,t,r,u(i,155).a,u(c,155).a)},s.Uk=function(e,t,r,i,c,o){return new VMn(e,t,r,u(i,155).a,u(c,155).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),b(1337,Dg,{},lvn),s.Tk=function(e,t,r,i,c){return new tV(e,t,r,u(i,19).a,u(c,19).a)},s.Uk=function(e,t,r,i,c,o){return new QMn(e,t,r,u(i,19).a,u(c,19).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),b(1338,Dg,{},avn),s.Tk=function(e,t,r,i,c){return new DV(e,t,r,u(i,162).a,u(c,162).a)},s.Uk=function(e,t,r,i,c,o){return new JMn(e,t,r,u(i,162).a,u(c,162).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),b(1339,Dg,{},dvn),s.Tk=function(e,t,r,i,c){return new $V(e,t,r,u(i,184).a,u(c,184).a)},s.Uk=function(e,t,r,i,c,o){return new YMn(e,t,r,u(i,184).a,u(c,184).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),b(1317,563,{},DCn),s.Sk=function(e){if(!this.a.wj(e))throw C(new cp(XS+Fu(e)+VS+this.a+"'"))},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),b(1318,563,{},kTn),s.Sk=function(e){},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),b(770,563,{}),s.Sj=function(e,t,r){return null!=t.Ch(r)},s.Tj=function(e,t,r,i){var c,o;e.Lg()&&e.Mg()?(c=!0,null==(o=t.Ch(r))?(c=!1,o=this.b):B(o)===B(_h)&&(o=null),null==i?null!=this.c?(t.Dh(r,null),i=this.b):t.Dh(r,_h):(this.Sk(i),t.Dh(r,i)),nt(e,this.d.Uk(e,1,this.e,o,i,!c))):null==i?t.Dh(r,null!=this.c?null:_h):(this.Sk(i),t.Dh(r,i))},s.Vj=function(e,t,r){var i,c;e.Lg()&&e.Mg()?(i=!0,null==(c=t.Ch(r))?(i=!1,c=this.b):B(c)===B(_h)&&(c=null),t.Eh(r),nt(e,this.d.Uk(e,2,this.e,c,this.b,i))):t.Eh(r)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),b(1319,770,{},$Cn),s.Sk=function(e){if(!this.a.wj(e))throw C(new cp(XS+Fu(e)+VS+this.a+"'"))},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),b(1320,770,{},yTn),s.Sk=function(e){},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),b(398,504,{},eT),s.Pj=function(e,t,r,i,c){var o,f,h,l,a;if(a=t.Ch(r),this.Kj()&&B(a)===B(_h))return null;if(this.sk()&&i&&null!=a){if((h=u(a,49)).kh()&&h!=(l=Sl(e,h))){if(!PN(this.a,l))throw C(new cp(XS+Fu(l)+VS+this.a+"'"));t.Dh(r,a=l),this.rk()&&(o=u(l,49),f=h.ih(e,this.b?yt(h.Tg(),this.b):-1-yt(e.Tg(),this.e),null,null),!o.eh()&&(f=o.gh(e,this.b?yt(o.Tg(),this.b):-1-yt(e.Tg(),this.e),null,f)),f&&f.Fi()),e.Lg()&&e.Mg()&&nt(e,new V5(e,9,this.e,h,l))}return a}return a},s.Qj=function(e,t,r,i,c){var o,f;return B(f=t.Ch(r))===B(_h)&&(f=null),t.Dh(r,i),this.bj()?B(f)!==B(i)&&null!=f&&(c=(o=u(f,49)).ih(e,yt(o.Tg(),this.b),null,c)):this.rk()&&null!=f&&(c=u(f,49).ih(e,-1-yt(e.Tg(),this.e),null,c)),e.Lg()&&e.Mg()&&(!c&&(c=new ul(4)),c.Ei(new V5(e,1,this.e,f,i))),c},s.Rj=function(e,t,r,i,c){var o;return B(o=t.Ch(r))===B(_h)&&(o=null),t.Eh(r),e.Lg()&&e.Mg()&&(!c&&(c=new ul(4)),this.Kj()?c.Ei(new V5(e,2,this.e,o,null)):c.Ei(new V5(e,1,this.e,o,null))),c},s.Sj=function(e,t,r){return null!=t.Ch(r)},s.Tj=function(e,t,r,i){var c,o,f,h,l;if(null!=i&&!PN(this.a,i))throw C(new cp(XS+(I(i,56)?tY(u(i,56).Tg()):MV(Fu(i)))+VS+this.a+"'"));h=null!=(l=t.Ch(r)),this.Kj()&&B(l)===B(_h)&&(l=null),f=null,this.bj()?B(l)!==B(i)&&(null!=l&&(f=(c=u(l,49)).ih(e,yt(c.Tg(),this.b),null,f)),null!=i&&(f=(c=u(i,49)).gh(e,yt(c.Tg(),this.b),null,f))):this.rk()&&B(l)!==B(i)&&(null!=l&&(f=u(l,49).ih(e,-1-yt(e.Tg(),this.e),null,f)),null!=i&&(f=u(i,49).gh(e,-1-yt(e.Tg(),this.e),null,f))),null==i&&this.Kj()?t.Dh(r,_h):t.Dh(r,i),e.Lg()&&e.Mg()?(o=new T$(e,1,this.e,l,i,this.Kj()&&!h),f?(f.Ei(o),f.Fi()):nt(e,o)):f&&f.Fi()},s.Vj=function(e,t,r){var i,c,o,f,h;f=null!=(h=t.Ch(r)),this.Kj()&&B(h)===B(_h)&&(h=null),o=null,null!=h&&(this.bj()?o=(i=u(h,49)).ih(e,yt(i.Tg(),this.b),null,o):this.rk()&&(o=u(h,49).ih(e,-1-yt(e.Tg(),this.e),null,o))),t.Eh(r),e.Lg()&&e.Mg()?(c=new T$(e,this.Kj()?2:1,this.e,h,null,f),o?(o.Ei(c),o.Fi()):nt(e,c)):o&&o.Fi()},s.bj=function(){return!1},s.rk=function(){return!1},s.sk=function(){return!1},s.Kj=function(){return!1},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),b(564,398,{},MD),s.rk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),b(1323,564,{},mjn),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),b(772,564,{},Sz),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),b(1325,772,{},kjn),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),b(640,564,{},RD),s.bj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),b(1324,640,{},TEn),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),b(773,640,{},dW),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),b(1326,773,{},CEn),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),b(641,398,{},Az),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),b(1327,641,{},yjn),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),b(774,641,{},lW),s.bj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),b(1328,774,{},MEn),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),b(1321,398,{},jjn),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),b(771,398,{},aW),s.bj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),b(1322,771,{},SEn),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),b(775,565,WS,oX),s.Pk=function(e){return new oX(this.a,this.c,e)},s.dd=function(){return this.b},s.Qk=function(e,t,r){return function Pde(n,e,t,r){return t&&(r=t.gh(e,yt(t.Tg(),n.c.Lj()),null,r)),r}(this,e,this.b,r)},s.Rk=function(e,t,r){return function Ide(n,e,t,r){return t&&(r=t.ih(e,yt(t.Tg(),n.c.Lj()),null,r)),r}(this,e,this.b,r)},w(xn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),b(1329,1,m_,Lmn),s.Wj=function(e){return this.a},s.fj=function(){return I(this.a,95)?u(this.a,95).fj():!this.a.dc()},s.Wb=function(e){this.a.$b(),this.a.Gc(u(e,15))},s.Xj=function(){I(this.a,95)?u(this.a,95).Xj():this.a.$b()},w(xn,"EStructuralFeatureImpl/SettingMany",1329),b(1330,565,WS,KSn),s.Ok=function(e){return new PD((ot(),$9),this.b.Ih(this.a,e))},s.dd=function(){return null},s.Qk=function(e,t,r){return r},s.Rk=function(e,t,r){return r},w(xn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),b(642,565,WS,PD),s.Ok=function(e){return new PD(this.c,e)},s.dd=function(){return this.a},s.Qk=function(e,t,r){return r},s.Rk=function(e,t,r){return r},w(xn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),b(391,497,sh,Jv),s.ri=function(e){return L(ho,rn,26,e,0,1)},s.ni=function(){return!1},w(xn,"ESuperAdapter/1",391),b(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},ZI),s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new U5(this,hi,this)),this.a}return Is(this,e-ee((Sn(),W0)),In(u(Bn(this,16),26)||W0,e),t,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 2:return!this.a&&(this.a=new U5(this,hi,this)),Kr(this.a,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),W0),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),W0)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return As(this,e-ee((Sn(),W0)),In(u(Bn(this,16),26)||W0,e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void Dc(this,Te(t));case 2:return!this.a&&(this.a=new U5(this,hi,this)),de(this.a),!this.a&&(this.a=new U5(this,hi,this)),void Dt(this.a,u(t,14))}Ls(this,e-ee((Sn(),W0)),In(u(Bn(this,16),26)||W0,e),t)},s.zh=function(){return Sn(),W0},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void Dc(this,null);case 2:return!this.a&&(this.a=new U5(this,hi,this)),void de(this.a)}$s(this,e-ee((Sn(),W0)),In(u(Bn(this,16),26)||W0,e))},w(xn,"ETypeParameterImpl",444),b(445,85,Bi,U5),s.cj=function(e,t){return function I4e(n,e,t){var i,c;for(t=Z2(e,n.e,-1-n.c,t),c=new Pj(new Na(new wa(hX(n.a).a).a));c.a.b;)t=L3(i=u(Zd(c.a).cd(),87),SM(i,n.a),t);return t}(this,u(e,87),t)},s.dj=function(e,t){return function O4e(n,e,t){var i,c;for(t=AT(e,n.e,-1-n.c,t),c=new Pj(new Na(new wa(hX(n.a).a).a));c.a.b;)t=L3(i=u(Zd(c.a).cd(),87),SM(i,n.a),t);return t}(this,u(e,87),t)},w(xn,"ETypeParameterImpl/1",445),b(634,43,jg,gO),s.ec=function(){return new Aj(this)},w(xn,"ETypeParameterImpl/2",634),b(556,Ef,pu,Aj),s.Fc=function(e){return Xjn(this,u(e,87))},s.Gc=function(e){var t,r,i;for(i=!1,r=e.Kc();r.Ob();)t=u(r.Pb(),87),null==tt(this.a,t,"")&&(i=!0);return i},s.$b=function(){Cu(this.a)},s.Hc=function(e){return Vu(this.a,e)},s.Kc=function(){return new Pj(new Na(new wa(this.a).a))},s.Mc=function(e){return FAn(this,e)},s.gc=function(){return h5(this.a)},w(xn,"ETypeParameterImpl/2/1",556),b(557,1,mr,Pj),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return u(Zd(this.a).cd(),87)},s.Ob=function(){return this.a.b},s.Qb=function(){lPn(this.a)},w(xn,"ETypeParameterImpl/2/1/1",557),b(1276,43,jg,C9n),s._b=function(e){return vr(e)?C$(this,e):!!Ai(this.f,e)},s.xc=function(e){var t;return I(t=vr(e)?kc(this,e):Qi(Ai(this.f,e)),837)?(t=u(t,837)._j(),tt(this,u(e,235),t),t):t??(null==e?($O(),aee):null)},w(xn,"EValidatorRegistryImpl",1276),b(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},bvn),s.Ih=function(e,t){switch(e.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:xi(t);case 25:return B0e(t);case 27:return function e0e(n){return I(n,172)?""+u(n,172).a:null==n?null:xi(n)}(t);case 28:return function t0e(n){return I(n,172)?""+u(n,172).a:null==n?null:xi(n)}(t);case 29:return null==t?null:Ayn(S9[0],u(t,199));case 41:return null==t?"":sl(u(t,290));case 42:return xi(t);case 50:return Te(t);default:throw C(new Kn(Y3+e.ne()+M0))}},s.Jh=function(e){var v;switch(-1==e.G&&(e.G=(v=ss(e))?F1(v.Mh(),e):-1),e.G){case 0:return new dO;case 1:return new Eq;case 2:return new Aq;case 4:return new Ij;case 5:return new T9n;case 6:return new Xmn;case 7:return new Sq;case 10:return new mj;case 11:return new bO;case 12:return new QCn;case 13:return new wO;case 14:return new Oz;case 17:return new ivn;case 18:return new jd;case 19:return new ZI;default:throw C(new Kn(r_+e.zb+M0))}},s.Kh=function(e,t){switch(e.yj()){case 20:return null==t?null:new QG(t);case 21:return null==t?null:new dl(t);case 23:case 22:return null==t?null:function q2e(n){if(ZC(J3,n))return Hn(),i4;if(ZC(YB,n))return Hn(),td;throw C(new Kn("Expecting true or false"))}(t);case 26:case 24:return null==t?null:d7(ls(t,-128,127)<<24>>24);case 25:return function n9e(n){var e,t,r,i,c,o,f;if(null==n)return null;for(o=L(ju,Ig,25,i=((f=n.length)+1)/2|0,15,1),f%2!=0&&(o[--i]=SZ((Ce(f-1,n.length),n.charCodeAt(f-1)))),t=0,r=0;t>24;return o}(t);case 27:return function Mpe(n){var t;if(null==n)return null;t=0;try{t=ls(n,Lr,Ze)&Gt}catch(r){if(!I(r=jt(r),127))throw C(r);t=iC(n)[0]}return j7(t)}(t);case 28:return function Spe(n){var t;if(null==n)return null;t=0;try{t=ls(n,Lr,Ze)&Gt}catch(r){if(!I(r=jt(r),127))throw C(r);t=iC(n)[0]}return j7(t)}(t);case 29:return function V4e(n){var e,t;if(null==n)return null;for(e=null,t=0;t>16);case 50:return t;default:throw C(new Kn(Y3+e.ne()+M0))}},w(xn,"EcoreFactoryImpl",1313),b(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},dCn),s.gb=!1,s.hb=!1;var J1n,lee=!1;w(xn,"EcorePackageImpl",547),b(1184,1,{837:1},wvn),s._j=function(){return Yyn(),dee},w(xn,"EcorePackageImpl/1",1184),b(1193,1,qe,gvn),s.wj=function(e){return I(e,147)},s.xj=function(e){return L(Jy,rn,147,e,0,1)},w(xn,"EcorePackageImpl/10",1193),b(1194,1,qe,vvn),s.wj=function(e){return I(e,191)},s.xj=function(e){return L(RH,rn,191,e,0,1)},w(xn,"EcorePackageImpl/11",1194),b(1195,1,qe,pvn),s.wj=function(e){return I(e,56)},s.xj=function(e){return L(ea,rn,56,e,0,1)},w(xn,"EcorePackageImpl/12",1195),b(1196,1,qe,mvn),s.wj=function(e){return I(e,399)},s.xj=function(e){return L(lo,Ern,59,e,0,1)},w(xn,"EcorePackageImpl/13",1196),b(1197,1,qe,kvn),s.wj=function(e){return I(e,235)},s.xj=function(e){return L(cf,rn,235,e,0,1)},w(xn,"EcorePackageImpl/14",1197),b(1198,1,qe,yvn),s.wj=function(e){return I(e,509)},s.xj=function(e){return L(U0,rn,2017,e,0,1)},w(xn,"EcorePackageImpl/15",1198),b(1199,1,qe,jvn),s.wj=function(e){return I(e,99)},s.xj=function(e){return L(Tw,Og,18,e,0,1)},w(xn,"EcorePackageImpl/16",1199),b(1200,1,qe,Evn),s.wj=function(e){return I(e,170)},s.xj=function(e){return L(ou,Og,170,e,0,1)},w(xn,"EcorePackageImpl/17",1200),b(1201,1,qe,Tvn),s.wj=function(e){return I(e,472)},s.xj=function(e){return L(jw,rn,472,e,0,1)},w(xn,"EcorePackageImpl/18",1201),b(1202,1,qe,Cvn),s.wj=function(e){return I(e,548)},s.xj=function(e){return L(rc,hGn,548,e,0,1)},w(xn,"EcorePackageImpl/19",1202),b(1185,1,qe,Mvn),s.wj=function(e){return I(e,322)},s.xj=function(e){return L(Ew,Og,34,e,0,1)},w(xn,"EcorePackageImpl/2",1185),b(1203,1,qe,Svn),s.wj=function(e){return I(e,241)},s.xj=function(e){return L(hi,SGn,87,e,0,1)},w(xn,"EcorePackageImpl/20",1203),b(1204,1,qe,Avn),s.wj=function(e){return I(e,444)},s.xj=function(e){return L(Uc,rn,836,e,0,1)},w(xn,"EcorePackageImpl/21",1204),b(1205,1,qe,Pvn),s.wj=function(e){return ib(e)},s.xj=function(e){return L(cr,q,476,e,8,1)},w(xn,"EcorePackageImpl/22",1205),b(1206,1,qe,Ivn),s.wj=function(e){return I(e,190)},s.xj=function(e){return L(ju,q,190,e,0,2)},w(xn,"EcorePackageImpl/23",1206),b(1207,1,qe,Ovn),s.wj=function(e){return I(e,217)},s.xj=function(e){return L(yv,q,217,e,0,1)},w(xn,"EcorePackageImpl/24",1207),b(1208,1,qe,Dvn),s.wj=function(e){return I(e,172)},s.xj=function(e){return L(Im,q,172,e,0,1)},w(xn,"EcorePackageImpl/25",1208),b(1209,1,qe,$vn),s.wj=function(e){return I(e,199)},s.xj=function(e){return L(fA,q,199,e,0,1)},w(xn,"EcorePackageImpl/26",1209),b(1210,1,qe,Fvn),s.wj=function(e){return!1},s.xj=function(e){return L(wln,rn,2110,e,0,1)},w(xn,"EcorePackageImpl/27",1210),b(1211,1,qe,Lvn),s.wj=function(e){return cb(e)},s.xj=function(e){return L(Cr,q,333,e,7,1)},w(xn,"EcorePackageImpl/28",1211),b(1212,1,qe,Nvn),s.wj=function(e){return I(e,58)},s.xj=function(e){return L(I1n,zb,58,e,0,1)},w(xn,"EcorePackageImpl/29",1212),b(1186,1,qe,xvn),s.wj=function(e){return I(e,510)},s.xj=function(e){return L(Be,{3:1,4:1,5:1,1934:1},590,e,0,1)},w(xn,"EcorePackageImpl/3",1186),b(1213,1,qe,Bvn),s.wj=function(e){return I(e,573)},s.xj=function(e){return L($1n,rn,1940,e,0,1)},w(xn,"EcorePackageImpl/30",1213),b(1214,1,qe,_vn),s.wj=function(e){return I(e,153)},s.xj=function(e){return L(tln,zb,153,e,0,1)},w(xn,"EcorePackageImpl/31",1214),b(1215,1,qe,Rvn),s.wj=function(e){return I(e,72)},s.xj=function(e){return L(CI,NGn,72,e,0,1)},w(xn,"EcorePackageImpl/32",1215),b(1216,1,qe,Kvn),s.wj=function(e){return I(e,155)},s.xj=function(e){return L(c4,q,155,e,0,1)},w(xn,"EcorePackageImpl/33",1216),b(1217,1,qe,Hvn),s.wj=function(e){return I(e,19)},s.xj=function(e){return L(qr,q,19,e,0,1)},w(xn,"EcorePackageImpl/34",1217),b(1218,1,qe,qvn),s.wj=function(e){return I(e,290)},s.xj=function(e){return L(Nrn,rn,290,e,0,1)},w(xn,"EcorePackageImpl/35",1218),b(1219,1,qe,Gvn),s.wj=function(e){return I(e,162)},s.xj=function(e){return L(A0,q,162,e,0,1)},w(xn,"EcorePackageImpl/36",1219),b(1220,1,qe,Uvn),s.wj=function(e){return I(e,83)},s.xj=function(e){return L(xrn,rn,83,e,0,1)},w(xn,"EcorePackageImpl/37",1220),b(1221,1,qe,zvn),s.wj=function(e){return I(e,591)},s.xj=function(e){return L(Y1n,rn,591,e,0,1)},w(xn,"EcorePackageImpl/38",1221),b(1222,1,qe,Wvn),s.wj=function(e){return!1},s.xj=function(e){return L(gln,rn,2111,e,0,1)},w(xn,"EcorePackageImpl/39",1222),b(1187,1,qe,Xvn),s.wj=function(e){return I(e,88)},s.xj=function(e){return L(ho,rn,26,e,0,1)},w(xn,"EcorePackageImpl/4",1187),b(1223,1,qe,Vvn),s.wj=function(e){return I(e,184)},s.xj=function(e){return L(P0,q,184,e,0,1)},w(xn,"EcorePackageImpl/40",1223),b(1224,1,qe,Qvn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(xn,"EcorePackageImpl/41",1224),b(1225,1,qe,Jvn),s.wj=function(e){return I(e,588)},s.xj=function(e){return L(D1n,rn,588,e,0,1)},w(xn,"EcorePackageImpl/42",1225),b(1226,1,qe,Yvn),s.wj=function(e){return!1},s.xj=function(e){return L(vln,q,2112,e,0,1)},w(xn,"EcorePackageImpl/43",1226),b(1227,1,qe,Zvn),s.wj=function(e){return I(e,42)},s.xj=function(e){return L(ed,YM,42,e,0,1)},w(xn,"EcorePackageImpl/44",1227),b(1188,1,qe,npn),s.wj=function(e){return I(e,138)},s.xj=function(e){return L(uf,rn,138,e,0,1)},w(xn,"EcorePackageImpl/5",1188),b(1189,1,qe,epn),s.wj=function(e){return I(e,148)},s.xj=function(e){return L(zH,rn,148,e,0,1)},w(xn,"EcorePackageImpl/6",1189),b(1190,1,qe,tpn),s.wj=function(e){return I(e,457)},s.xj=function(e){return L(TI,rn,671,e,0,1)},w(xn,"EcorePackageImpl/7",1190),b(1191,1,qe,rpn),s.wj=function(e){return I(e,573)},s.xj=function(e){return L(g1,rn,678,e,0,1)},w(xn,"EcorePackageImpl/8",1191),b(1192,1,qe,ipn),s.wj=function(e){return I(e,471)},s.xj=function(e){return L(M9,rn,471,e,0,1)},w(xn,"EcorePackageImpl/9",1192),b(1025,1982,fGn,q9n),s.bi=function(e,t){!function wge(n,e){var r,i,c;if(e.vi(n.a),null!=(c=u(Bn(n.a,8),1936)))for(r=0,i=c.length;r0){if(Ce(0,e.length),47==e.charCodeAt(0)){for(o=new Oc(4),c=1,t=1;t0&&(e=e.substr(0,r))}return function x6e(n,e){var t,r,i,c,o,f;for(c=null,i=new LTn((!n.a&&(n.a=new oO(n)),n.a));WY(i);)if(pg(o=(t=u(MM(i),56)).Tg()),null!=(r=(f=o.o)&&t.mh(f)?Jz(DF(f),t.ah(f)):null)&&Mn(r,e)){c=t;break}return c}(this,e)},s.Xk=function(){return this.c},s.Ib=function(){return sl(this.gm)+"@"+(kt(this)>>>0).toString(16)+" uri='"+this.d+"'"},s.b=!1,w(k_,"ResourceImpl",781),b(1379,781,BGn,xmn),w(k_,"BinaryResourceImpl",1379),b(1169,694,b_),s.si=function(e){return I(e,56)?function p1e(n,e){return n.a?e.Wg().Kc():u(e.Wg(),69).Zh()}(this,u(e,56)):I(e,591)?new re(u(e,591).Vk()):B(e)===B(this.f)?u(e,14).Kc():(yp(),nj.a)},s.Ob=function(){return WY(this)},s.a=!1,w(pt,"EcoreUtil/ContentTreeIterator",1169),b(1380,1169,b_,LTn),s.si=function(e){return B(e)===B(this.f)?u(e,15).Kc():new pSn(u(e,56))},w(k_,"ResourceImpl/5",1380),b(648,1994,MGn,oO),s.Hc=function(e){return this.i<=4?y3(this,e):I(e,49)&&u(e,49).Zg()==this.a},s.bi=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},s.di=function(e,t){0==e?this.a.b||(this.a.b=!0):tF(this,e,t)},s.fi=function(e,t){},s.gi=function(e,t,r){},s.aj=function(){return 2},s.Ai=function(){return this.a},s.bj=function(){return!0},s.cj=function(e,t){return u(e,49).wh(this.a,t)},s.dj=function(e,t){return u(e,49).wh(null,t)},s.ej=function(){return!1},s.hi=function(){return!0},s.ri=function(e){return L(ea,rn,56,e,0,1)},s.ni=function(){return!1},w(k_,"ResourceImpl/ContentsEList",648),b(957,1964,R3,Nmn),s.Zc=function(e){return this.a._h(e)},s.gc=function(){return this.a.gc()},w(pt,"AbstractSequentialInternalEList/1",957),b(624,1,{},xEn),w(pt,"BasicExtendedMetaData",624),b(1160,1,{},xkn),s.$k=function(){return null},s._k=function(){return-2==this.a&&function vte(n,e){n.a=e}(this,function G4e(n,e){var t,r,i;if((t=e.Hh(n.a))&&null!=(i=Qo((!t.b&&(t.b=new Wu((Sn(),Jr),rc,t)),t.b),no)))for(r=1;r<(vu(),Z1n).length;++r)if(Mn(Z1n[r],i))return r;return 0}(this.d,this.b)),this.a},s.al=function(){return null},s.bl=function(){return An(),An(),Gr},s.ne=function(){return this.c==e4&&function mte(n,e){n.c=e}(this,F$n(this.d,this.b)),this.c},s.cl=function(){return 0},s.a=-2,s.c=e4,w(pt,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),b(1161,1,{},iSn),s.$k=function(){return this.a==(Bp(),MI)&&function pte(n,e){n.a=e}(this,function u8e(n,e){var t,i,c,o;return(i=e.Hh(n.a))&&(!i.b&&(i.b=new Wu((Sn(),Jr),rc,i)),null!=(t=Te(Qo(i.b,Nr)))&&I(o=-1==(c=t.lastIndexOf("#"))?Pz(n,e.Aj(),t):0==c?c7(n,null,t.substr(1)):c7(n,t.substr(0,c),t.substr(c+1)),148))?u(o,148):null}(this.f,this.b)),this.a},s._k=function(){return 0},s.al=function(){return this.c==(Bp(),MI)&&function kte(n,e){n.c=e}(this,function s8e(n,e){var r,i,c,o;return(r=e.Hh(n.a))&&(!r.b&&(r.b=new Wu((Sn(),Jr),rc,r)),null!=(c=Te(Qo(r.b,j_)))&&I(o=-1==(i=c.lastIndexOf("#"))?Pz(n,e.Aj(),c):0==i?c7(n,null,c.substr(1)):c7(n,c.substr(0,i),c.substr(i+1)),148))?u(o,148):null}(this.f,this.b)),this.c},s.bl=function(){return!this.d&&function yte(n,e){n.d=e}(this,function uke(n,e){var t,r,i,c,o,f,h,l,a;if((t=e.Hh(n.a))&&null!=(h=Te(Qo((!t.b&&(t.b=new Wu((Sn(),Jr),rc,t)),t.b),"memberTypes")))){for(l=new X,o=0,f=(c=Rb(h,"\\w")).length;ot?e:t;l<=d;++l)l==t?f=r++:(a=p.rl(i[l].ak()),l==e&&(h=l!=d||a?r:r-1),a&&++r);return g=u(T6(n,e,t),72),f!=h&&rp(n,new i7(n.e,7,o,Q(f),v.dd(),h)),g}return u(T6(n,e,t),72)}(this,e,t)},s.li=function(e,t){return function rEe(n,e,t){var r,c,o,f,h,l,a,d,g,v,p,m,T;if(I(o=t.ak(),99)&&u(o,18).Bb&Vr&&(g=u(t.dd(),49),(m=Sl(n.e,g))!=g)){if(N5(n,e,zL(n,0,a=jh(o,m))),d=null,zu(n.e)&&(r=mg((vu(),Dr),n.e.Tg(),o))!=In(n.e.Tg(),n.c)){for(T=Kc(n.e.Tg(),o),f=0,c=u(n.g,119),h=0;h=0;)if(this.k.rl((t=e[this.c]).ak()))return this.j=this.f?t:t.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},w(pt,"BasicFeatureMap/FeatureEIterator",410),b(662,410,Mh,lD),s.Lk=function(){return!0},w(pt,"BasicFeatureMap/ResolvingFeatureEIterator",662),b(955,486,US,Iyn),s.Gi=function(){return this},w(pt,"EContentsEList/1",955),b(956,486,US,eyn),s.Lk=function(){return!1},w(pt,"EContentsEList/2",956),b(954,279,zS,Oyn),s.Nk=function(e){},s.Ob=function(){return!1},s.Sb=function(){return!1},w(pt,"EContentsEList/FeatureIteratorImpl/1",954),b(825,585,Bi,cz),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.a,this.a=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.a=!1},s.a=!1,w(pt,"EDataTypeEList/Unsettable",825),b(1849,585,Bi,_yn),s.hi=function(){return!0},w(pt,"EDataTypeUniqueEList",1849),b(1850,825,Bi,Ryn),s.hi=function(){return!0},w(pt,"EDataTypeUniqueEList/Unsettable",1850),b(139,85,Bi,au),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectContainmentEList/Resolving",139),b(1163,545,Bi,Byn),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectContainmentEList/Unsettable/Resolving",1163),b(748,16,Bi,Wz),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.a,this.a=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.a=!1},s.a=!1,w(pt,"EObjectContainmentWithInverseEList/Unsettable",748),b(1173,748,Bi,Vjn),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),b(743,496,Bi,iz),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.a,this.a=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.a=!1},s.a=!1,w(pt,"EObjectEList/Unsettable",743),b(328,496,Bi,Hw),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectResolvingEList",328),b(1641,743,Bi,Kyn),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectResolvingEList/Unsettable",1641),b(1381,1,{},cpn),w(pt,"EObjectValidator",1381),b(546,496,Bi,aT),s.zk=function(){return this.d},s.Ak=function(){return this.b},s.bj=function(){return!0},s.Dk=function(){return!0},s.b=0,w(pt,"EObjectWithInverseEList",546),b(1176,546,Bi,Qjn),s.Ck=function(){return!0},w(pt,"EObjectWithInverseEList/ManyInverse",1176),b(625,546,Bi,OD),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.a,this.a=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.a=!1},s.a=!1,w(pt,"EObjectWithInverseEList/Unsettable",625),b(1175,625,Bi,Jjn),s.Ck=function(){return!0},w(pt,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),b(749,546,Bi,Xz),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectWithInverseResolvingEList",749),b(31,749,Bi,$n),s.Ck=function(){return!0},w(pt,"EObjectWithInverseResolvingEList/ManyInverse",31),b(750,625,Bi,Vz),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectWithInverseResolvingEList/Unsettable",750),b(1174,750,Bi,Yjn),s.Ck=function(){return!0},w(pt,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),b(1164,622,Bi),s.ai=function(){return 0==(1792&this.b)},s.ci=function(){this.b|=1},s.Bk=function(){return 0!=(4&this.b)},s.bj=function(){return 0!=(40&this.b)},s.Ck=function(){return 0!=(16&this.b)},s.Dk=function(){return 0!=(8&this.b)},s.Ek=function(){return 0!=(this.b&Zb)},s.rk=function(){return 0!=(32&this.b)},s.Fk=function(){return 0!=(this.b&Io)},s.wj=function(e){return this.d?$Sn(this.d,e):this.ak().Yj().wj(e)},s.fj=function(){return 2&this.b?0!=(1&this.b):0!=this.i},s.hi=function(){return 0!=(128&this.b)},s.Xj=function(){var e;de(this),2&this.b&&(zu(this.e)?(e=0!=(1&this.b),this.b&=-2,rp(this,new Co(this.e,2,yt(this.e.Tg(),this.ak()),e,!1))):this.b&=-2)},s.ni=function(){return 0==(1536&this.b)},s.b=0,w(pt,"EcoreEList/Generic",1164),b(1165,1164,Bi,HCn),s.ak=function(){return this.a},w(pt,"EcoreEList/Dynamic",1165),b(747,63,sh,oG),s.ri=function(e){return w7(this.a.a,e)},w(pt,"EcoreEMap/1",747),b(746,85,Bi,WW),s.bi=function(e,t){oM(this.b,u(t,133))},s.di=function(e,t){AOn(this.b)},s.ei=function(e,t,r){var i;++(i=this.b,u(t,133),i).e},s.fi=function(e,t){eL(this.b,u(t,133))},s.gi=function(e,t,r){eL(this.b,u(r,133)),B(r)===B(t)&&u(r,133).Th(function Qie(n){return null==n?0:kt(n)}(u(t,133).cd())),oM(this.b,u(t,133))},w(pt,"EcoreEMap/DelegateEObjectContainmentEList",746),b(1171,151,jrn,KIn),w(pt,"EcoreEMap/Unsettable",1171),b(1172,746,Bi,Zjn),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.a,this.a=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.a=!1},s.a=!1,w(pt,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),b(1168,228,jg,UTn),s.a=!1,s.b=!1,w(pt,"EcoreUtil/Copier",1168),b(745,1,mr,pSn),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return b$n(this)},s.Pb=function(){var e;return b$n(this),e=this.b,this.b=null,e},s.Qb=function(){this.a.Qb()},w(pt,"EcoreUtil/ProperContentIterator",745),b(1382,1381,{},t4n),w(pt,"EcoreValidator",1382),Et(pt,"FeatureMapUtil/Validator"),b(1260,1,{1942:1},upn),s.rl=function(e){return!0},w(pt,"FeatureMapUtil/1",1260),b(757,1,{1942:1},hnn),s.rl=function(e){var t;return this.c==e||(null==(t=sn(te(this.a,e)))?function K7e(n,e){var t;return n.f==QH?(t=Gd(ji((vu(),Dr),e)),n.e?4==t&&e!=(iv(),Uv)&&e!=(iv(),Gv)&&e!=(iv(),JH)&&e!=(iv(),YH):2==t):!(!n.d||!(n.d.Hc(e)||n.d.Hc(R2(ji((vu(),Dr),e)))||n.d.Hc(mg((vu(),Dr),n.b,e))))||!(!n.f||!wZ((vu(),n.f),H8(ji(Dr,e))))&&(t=Gd(ji(Dr,e)),n.e?4==t:2==t)}(this,e)?(MAn(this.a,e,(Hn(),i4)),!0):(MAn(this.a,e,(Hn(),td)),!1):t==(Hn(),i4))},s.e=!1,w(pt,"FeatureMapUtil/BasicValidator",757),b(758,43,jg,nz),w(pt,"FeatureMapUtil/BasicValidator/Cache",758),b(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},j8),s.Vc=function(e,t){qxn(this.c,this.b,e,t)},s.Fc=function(e){return LZ(this.c,this.b,e)},s.Wc=function(e,t){return function tje(n,e,t,r){var i,c,o,f,h,l,a,d;if(0==r.gc())return!1;if(Zr(),o=(h=u(e,66).Oj())?r:new Yd(r.gc()),u1(n.e,e)){if(e.hi())for(a=r.Kc();a.Ob();)_M(n,e,l=a.Pb(),I(e,99)&&0!=(u(e,18).Bb&Vr))||(c=jh(e,l),o.Fc(c));else if(!h)for(a=r.Kc();a.Ob();)c=jh(e,l=a.Pb()),o.Fc(c)}else{for(d=Kc(n.e.Tg(),e),i=u(n.g,119),f=0;f1)throw C(new Kn(Uk));h||(c=jh(e,r.Kc().Pb()),o.Fc(c))}return fQ(n,PY(n,e,t),o)}(this.c,this.b,e,t)},s.Gc=function(e){return L5(this,e)},s.Xh=function(e,t){!function E0e(n,e,t,r){n.j=-1,VY(n,PY(n,e,t),(Zr(),u(e,66).Mj().Ok(r)))}(this.c,this.b,e,t)},s.lk=function(e,t){return PZ(this.c,this.b,e,t)},s.pi=function(e){return KM(this.c,this.b,e,!1)},s.Zh=function(){return ayn(this.c,this.b)},s.$h=function(){return function xie(n,e){return new e3(e,n)}(this.c,this.b)},s._h=function(e){return function Ade(n,e,t){var r,i;for(i=new e3(e,n),r=0;r0)if((t-=r.length-e)>=0){for(i.a+="0.";t>rd.length;t-=rd.length)eTn(i,rd);xjn(i,rd,Ht(t)),De(i,r.substr(e))}else De(i,rs(r,e,Ht(t=e-t))),i.a+=".",De(i,E8(r,Ht(t)));else{for(De(i,r.substr(e));t<-rd.length;t+=rd.length)eTn(i,rd);xjn(i,rd,Ht(-t))}return i.a}(u(t,240));case 15:case 14:return null==t?null:function Yfe(n){return n==Ft?zk:n==Wt?"-INF":""+n}(K(Y(t)));case 17:return rLn((ot(),t));case 18:return rLn(t);case 21:case 20:return null==t?null:function Zfe(n){return n==Ft?zk:n==Wt?"-INF":""+n}(u(t,155).a);case 27:return tue(u(t,190));case 30:return mFn((ot(),u(t,15)));case 31:return mFn(u(t,15));case 40:return function iue(n){return null==n?null:xi(n)}((ot(),t));case 42:return iLn((ot(),t));case 43:return iLn(t);case 59:case 48:return function rue(n){return null==n?null:xi(n)}((ot(),t));default:throw C(new Kn(Y3+e.ne()+M0))}},s.Jh=function(e){var r;switch(-1==e.G&&(e.G=(r=ss(e))?F1(r.Mh(),e):-1),e.G){case 0:return new PG;case 1:return new opn;case 2:return new S9n;case 3:return new M9n;default:throw C(new Kn(r_+e.zb+M0))}},s.Kh=function(e,t){var r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$;switch(e.yj()){case 5:case 52:case 4:return t;case 6:return pve(t);case 8:case 7:return null==t?null:function c4e(n){if(n=Tc(n,!0),Mn(J3,n)||Mn("1",n))return Hn(),i4;if(Mn(YB,n)||Mn("0",n))return Hn(),td;throw C(new TO("Invalid boolean value: '"+n+"'"))}(t);case 9:return null==t?null:d7(ls((i=Tc(t,!0)).length>0&&(Ce(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==t?null:d7(ls((c=Tc(t,!0)).length>0&&(Ce(0,c.length),43==c.charCodeAt(0))?c.substr(1):c,-128,127)<<24>>24);case 11:return Te(m0(this,(ot(),mee),t));case 12:return Te(m0(this,(ot(),kee),t));case 13:return null==t?null:new QG(Tc(t,!0));case 15:case 14:return function M9e(n){var e,t,r,i;if(null==n)return null;if(Mn((r=Tc(n,!0)).substr(r.length-(i=zk.length),i),zk))if(4==(t=r.length)){if(Ce(0,r.length),43==(e=r.charCodeAt(0)))return cln;if(45==e)return Oee}else if(3==t)return cln;return Lb(r)}(t);case 16:return Te(m0(this,(ot(),yee),t));case 17:return C$n((ot(),t));case 18:return C$n(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Tc(t,!0);case 21:case 20:return function L9e(n){var e,t,r,i;if(null==n)return null;if(Mn((r=Tc(n,!0)).substr(r.length-(i=zk.length),i),zk))if(4==(t=r.length)){if(Ce(0,r.length),43==(e=r.charCodeAt(0)))return uln;if(45==e)return Dee}else if(3==t)return uln;return new gG(r)}(t);case 22:return Te(m0(this,(ot(),jee),t));case 23:return Te(m0(this,(ot(),Eee),t));case 24:return Te(m0(this,(ot(),Tee),t));case 25:return Te(m0(this,(ot(),Cee),t));case 26:return Te(m0(this,(ot(),Mee),t));case 27:return dve(t);case 30:return M$n((ot(),t));case 31:return M$n(t);case 32:return null==t?null:Q(ls((d=Tc(t,!0)).length>0&&(Ce(0,d.length),43==d.charCodeAt(0))?d.substr(1):d,Lr,Ze));case 33:return null==t?null:new dl((g=Tc(t,!0)).length>0&&(Ce(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 34:return null==t?null:Q(ls((v=Tc(t,!0)).length>0&&(Ce(0,v.length),43==v.charCodeAt(0))?v.substr(1):v,Lr,Ze));case 36:return null==t?null:_a(WM((p=Tc(t,!0)).length>0&&(Ce(0,p.length),43==p.charCodeAt(0))?p.substr(1):p));case 37:return null==t?null:_a(WM((m=Tc(t,!0)).length>0&&(Ce(0,m.length),43==m.charCodeAt(0))?m.substr(1):m));case 40:return function P2e(n){var e;return null==n?null:new dl((e=Tc(n,!0)).length>0&&(Ce(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}((ot(),t));case 42:return S$n((ot(),t));case 43:return S$n(t);case 44:return null==t?null:new dl((T=Tc(t,!0)).length>0&&(Ce(0,T.length),43==T.charCodeAt(0))?T.substr(1):T);case 45:return null==t?null:new dl((A=Tc(t,!0)).length>0&&(Ce(0,A.length),43==A.charCodeAt(0))?A.substr(1):A);case 46:return Tc(t,!1);case 47:return Te(m0(this,(ot(),See),t));case 59:case 48:return function A2e(n){var e;return null==n?null:new dl((e=Tc(n,!0)).length>0&&(Ce(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}((ot(),t));case 49:return Te(m0(this,(ot(),Aee),t));case 50:return null==t?null:h3(ls(($=Tc(t,!0)).length>0&&(Ce(0,$.length),43==$.charCodeAt(0))?$.substr(1):$,QS,32767)<<16>>16);case 51:return null==t?null:h3(ls((o=Tc(t,!0)).length>0&&(Ce(0,o.length),43==o.charCodeAt(0))?o.substr(1):o,QS,32767)<<16>>16);case 53:return Te(m0(this,(ot(),Pee),t));case 55:return null==t?null:h3(ls((f=Tc(t,!0)).length>0&&(Ce(0,f.length),43==f.charCodeAt(0))?f.substr(1):f,QS,32767)<<16>>16);case 56:return null==t?null:h3(ls((h=Tc(t,!0)).length>0&&(Ce(0,h.length),43==h.charCodeAt(0))?h.substr(1):h,QS,32767)<<16>>16);case 57:return null==t?null:_a(WM((l=Tc(t,!0)).length>0&&(Ce(0,l.length),43==l.charCodeAt(0))?l.substr(1):l));case 58:return null==t?null:_a(WM((a=Tc(t,!0)).length>0&&(Ce(0,a.length),43==a.charCodeAt(0))?a.substr(1):a));case 60:return null==t?null:Q(ls((r=Tc(t,!0)).length>0&&(Ce(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,Lr,Ze));case 61:return null==t?null:Q(ls(Tc(t,!0),Lr,Ze));default:throw C(new Kn(Y3+e.ne()+M0))}},w(Ut,"XMLTypeFactoryImpl",1919),b(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},aCn),s.N=!1,s.O=!1;var Lf,el,F9,PI,P,$ee=!1;w(Ut,"XMLTypePackageImpl",586),b(1852,1,{837:1},fpn),s._j=function(){return qZ(),Hee},w(Ut,"XMLTypePackageImpl/1",1852),b(1861,1,qe,hpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/10",1861),b(1862,1,qe,lpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/11",1862),b(1863,1,qe,apn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/12",1863),b(1864,1,qe,dpn),s.wj=function(e){return cb(e)},s.xj=function(e){return L(Cr,q,333,e,7,1)},w(Ut,"XMLTypePackageImpl/13",1864),b(1865,1,qe,bpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/14",1865),b(1866,1,qe,wpn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/15",1866),b(1867,1,qe,gpn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/16",1867),b(1868,1,qe,vpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/17",1868),b(1869,1,qe,ppn),s.wj=function(e){return I(e,155)},s.xj=function(e){return L(c4,q,155,e,0,1)},w(Ut,"XMLTypePackageImpl/18",1869),b(1870,1,qe,mpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/19",1870),b(1853,1,qe,kpn),s.wj=function(e){return I(e,843)},s.xj=function(e){return L(tj,rn,843,e,0,1)},w(Ut,"XMLTypePackageImpl/2",1853),b(1871,1,qe,ypn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/20",1871),b(1872,1,qe,jpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/21",1872),b(1873,1,qe,Epn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/22",1873),b(1874,1,qe,Tpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/23",1874),b(1875,1,qe,Cpn),s.wj=function(e){return I(e,190)},s.xj=function(e){return L(ju,q,190,e,0,2)},w(Ut,"XMLTypePackageImpl/24",1875),b(1876,1,qe,Mpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/25",1876),b(1877,1,qe,Spn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/26",1877),b(1878,1,qe,Apn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/27",1878),b(1879,1,qe,Ppn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/28",1879),b(1880,1,qe,Ipn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/29",1880),b(1854,1,qe,Opn),s.wj=function(e){return I(e,667)},s.xj=function(e){return L(AI,rn,2021,e,0,1)},w(Ut,"XMLTypePackageImpl/3",1854),b(1881,1,qe,Dpn),s.wj=function(e){return I(e,19)},s.xj=function(e){return L(qr,q,19,e,0,1)},w(Ut,"XMLTypePackageImpl/30",1881),b(1882,1,qe,$pn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/31",1882),b(1883,1,qe,Fpn),s.wj=function(e){return I(e,162)},s.xj=function(e){return L(A0,q,162,e,0,1)},w(Ut,"XMLTypePackageImpl/32",1883),b(1884,1,qe,Lpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/33",1884),b(1885,1,qe,Npn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/34",1885),b(1886,1,qe,xpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/35",1886),b(1887,1,qe,Bpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/36",1887),b(1888,1,qe,_pn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/37",1888),b(1889,1,qe,Rpn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/38",1889),b(1890,1,qe,Kpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/39",1890),b(1855,1,qe,Hpn),s.wj=function(e){return I(e,668)},s.xj=function(e){return L(rj,rn,2022,e,0,1)},w(Ut,"XMLTypePackageImpl/4",1855),b(1891,1,qe,qpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/40",1891),b(1892,1,qe,Gpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/41",1892),b(1893,1,qe,Upn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/42",1893),b(1894,1,qe,zpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/43",1894),b(1895,1,qe,Wpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/44",1895),b(1896,1,qe,Xpn),s.wj=function(e){return I(e,184)},s.xj=function(e){return L(P0,q,184,e,0,1)},w(Ut,"XMLTypePackageImpl/45",1896),b(1897,1,qe,Vpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/46",1897),b(1898,1,qe,Qpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/47",1898),b(1899,1,qe,Jpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/48",1899),b(Ll,1,qe,Ypn),s.wj=function(e){return I(e,184)},s.xj=function(e){return L(P0,q,184,e,0,1)},w(Ut,"XMLTypePackageImpl/49",Ll),b(1856,1,qe,Zpn),s.wj=function(e){return I(e,669)},s.xj=function(e){return L(rln,rn,2023,e,0,1)},w(Ut,"XMLTypePackageImpl/5",1856),b(1901,1,qe,n3n),s.wj=function(e){return I(e,162)},s.xj=function(e){return L(A0,q,162,e,0,1)},w(Ut,"XMLTypePackageImpl/50",1901),b(1902,1,qe,e3n),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/51",1902),b(1903,1,qe,t3n),s.wj=function(e){return I(e,19)},s.xj=function(e){return L(qr,q,19,e,0,1)},w(Ut,"XMLTypePackageImpl/52",1903),b(1857,1,qe,r3n),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/6",1857),b(1858,1,qe,i3n),s.wj=function(e){return I(e,190)},s.xj=function(e){return L(ju,q,190,e,0,2)},w(Ut,"XMLTypePackageImpl/7",1858),b(1859,1,qe,c3n),s.wj=function(e){return ib(e)},s.xj=function(e){return L(cr,q,476,e,8,1)},w(Ut,"XMLTypePackageImpl/8",1859),b(1860,1,qe,u3n),s.wj=function(e){return I(e,217)},s.xj=function(e){return L(yv,q,217,e,0,1)},w(Ut,"XMLTypePackageImpl/9",1860),b(50,60,s1,Ee),w(q1,"RegEx/ParseException",50),b(820,1,{},Cq),s.sl=function(e){return e16*r)throw C(new Ee(Pe((je(),Zqn))));r=16*r+c}if(125!=this.a)throw C(new Ee(Pe((je(),nGn))));if(r>t4)throw C(new Ee(Pe((je(),eGn))));e=r}else{if(c=0,0!=this.c||(c=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(r=c,Ve(this),0!=this.c||(c=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));e=r=16*r+c}break;case 117:if(i=0,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));e=t=16*t+i;break;case 118:if(Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if((t=16*t+i)>t4)throw C(new Ee(Pe((je(),"parser.descappe.4"))));e=t;break;case 65:case 90:case 122:throw C(new Ee(Pe((je(),tGn))))}return e},s.ul=function(e){var r;switch(e){case 100:r=32==(32&this.e)?$l("Nd",!0):(Qe(),II);break;case 68:r=32==(32&this.e)?$l("Nd",!1):(Qe(),aln);break;case 119:r=32==(32&this.e)?$l("IsWord",!0):(Qe(),q4);break;case 87:r=32==(32&this.e)?$l("IsWord",!1):(Qe(),bln);break;case 115:r=32==(32&this.e)?$l("IsSpace",!0):(Qe(),zv);break;case 83:r=32==(32&this.e)?$l("IsSpace",!1):(Qe(),dln);break;default:throw C(new Ri(tUn+e.toString(16)))}return r},s.vl=function(e){var t,r,i,c,f,h,l,a,d,g,v;for(this.b=1,Ve(this),t=null,0==this.c&&94==this.a?(Ve(this),e?(Qe(),Qe(),d=new cs(5)):(Qe(),Qe(),Ec(t=new cs(4),0,t4),d=new cs(4))):(Qe(),Qe(),d=new cs(4)),c=!0;1!=(v=this.c)&&(0!=v||93!=this.a||c);){if(c=!1,r=this.a,i=!1,10==v)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:Hb(d,this.ul(r)),i=!0;break;case 105:case 73:case 99:case 67:(r=this.Ll(d,r))<0&&(i=!0);break;case 112:case 80:if(!(g=UY(this,r)))throw C(new Ee(Pe((je(),g_))));Hb(d,g),i=!0;break;default:r=this.tl()}else if(20==v){if((f=mp(this.i,58,this.d))<0)throw C(new Ee(Pe((je(),grn))));if(h=!0,94==Pr(this.i,this.d)&&(++this.d,h=!1),!(l=dPn(rs(this.i,this.d,f),h,512==(512&this.e))))throw C(new Ee(Pe((je(),Xqn))));if(Hb(d,l),i=!0,f+1>=this.j||93!=Pr(this.i,f+1))throw C(new Ee(Pe((je(),grn))));this.d=f+2}if(Ve(this),!i)if(0!=this.c||45!=this.a)Ec(d,r,r);else{if(Ve(this),1==(v=this.c))throw C(new Ee(Pe((je(),qS))));0==v&&93==this.a?(Ec(d,r,r),Ec(d,45,45)):(a=this.a,10==v&&(a=this.tl()),Ve(this),Ec(d,r,a))}(this.e&Io)==Io&&0==this.c&&44==this.a&&Ve(this)}if(1==this.c)throw C(new Ee(Pe((je(),qS))));return t&&(Q6(t,d),d=t),ag(d),X6(d),this.b=0,Ve(this),d},s.wl=function(){var e,t,r,i;for(r=this.vl(!1);7!=(i=this.c);){if(e=this.a,(0!=i||45!=e&&38!=e)&&4!=i)throw C(new Ee(Pe((je(),Jqn))));if(Ve(this),9!=this.c)throw C(new Ee(Pe((je(),Qqn))));if(t=this.vl(!1),4==i)Hb(r,t);else if(45==e)Q6(r,t);else{if(38!=e)throw C(new Ri("ASSERT"));X_n(r,t)}}return Ve(this),r},s.xl=function(){var e,t;return e=this.a-48,Qe(),Qe(),t=new I$(12,null,e),!this.g&&(this.g=new Dj),Oj(this.g,new fG(e)),Ve(this),t},s.yl=function(){return Ve(this),Qe(),Nee},s.zl=function(){return Ve(this),Qe(),Lee},s.Al=function(){throw C(new Ee(Pe((je(),xs))))},s.Bl=function(){throw C(new Ee(Pe((je(),xs))))},s.Cl=function(){return Ve(this),Iwe()},s.Dl=function(){return Ve(this),Qe(),Bee},s.El=function(){return Ve(this),Qe(),Ree},s.Fl=function(){var e;if(this.d>=this.j||64!=(65504&(e=Pr(this.i,this.d++))))throw C(new Ee(Pe((je(),Uqn))));return Ve(this),Qe(),Qe(),new ph(0,e-64)},s.Gl=function(){return Ve(this),function dye(){var n,e,t,r,i,c;if(Qe(),nq)return nq;for(Hb(n=new cs(4),$l(I_,!0)),Q6(n,$l("M",!0)),Q6(n,$l("C",!0)),c=new cs(4),r=0;r<11;r++)Ec(c,r,r);return Hb(e=new cs(4),$l("M",!0)),Ec(e,4448,4607),Ec(e,65438,65439),Ga(i=new F5(2),n),Ga(i,N9),(t=new F5(2)).$l(rT(c,$l("L",!0))),t.$l(e),t=new eX(i,t=new pb(3,t)),nq=t}()},s.Hl=function(){return Ve(this),Qe(),Kee},s.Il=function(){var e;return Qe(),Qe(),e=new ph(0,105),Ve(this),e},s.Jl=function(){return Ve(this),Qe(),_ee},s.Kl=function(){return Ve(this),Qe(),xee},s.Ll=function(e,t){return this.tl()},s.Ml=function(){return Ve(this),Qe(),hln},s.Nl=function(){var e,t,r,i,c;if(this.d+1>=this.j)throw C(new Ee(Pe((je(),Hqn))));if(i=-1,t=null,49<=(e=Pr(this.i,this.d))&&e<=57){if(i=e-48,!this.g&&(this.g=new Dj),Oj(this.g,new fG(i)),++this.d,41!=Pr(this.i,this.d))throw C(new Ee(Pe((je(),Za))));++this.d}else switch(63==e&&--this.d,Ve(this),t=bnn(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw C(new Ee(Pe((je(),Za))));break;default:throw C(new Ee(Pe((je(),qqn))))}if(Ve(this),r=null,2==(c=f0(this)).e){if(2!=c.em())throw C(new Ee(Pe((je(),Gqn))));r=c.am(1),c=c.am(0)}if(7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),Qe(),Qe(),new UPn(i,t,c,r)},s.Ol=function(){return Ve(this),Qe(),lln},s.Pl=function(){var e;if(Ve(this),e=dT(24,f0(this)),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Ql=function(){var e;if(Ve(this),e=dT(20,f0(this)),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Rl=function(){var e;if(Ve(this),e=dT(22,f0(this)),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Sl=function(){var e,t,r,i,c;for(e=0,r=0,t=-1;this.d=this.j)throw C(new Ee(Pe((je(),brn))));if(45==t){for(++this.d;this.d=this.j)throw C(new Ee(Pe((je(),brn))))}if(58==t){if(++this.d,Ve(this),i=QTn(f0(this),e,r),7!=this.c)throw C(new Ee(Pe((je(),Za))));Ve(this)}else{if(41!=t)throw C(new Ee(Pe((je(),Kqn))));++this.d,Ve(this),i=QTn(f0(this),e,r)}return i},s.Tl=function(){var e;if(Ve(this),e=dT(21,f0(this)),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Ul=function(){var e;if(Ve(this),e=dT(23,f0(this)),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Vl=function(){var e,t;if(Ve(this),e=this.f++,t=r$(f0(this),e),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),t},s.Wl=function(){var e;if(Ve(this),e=r$(f0(this),0),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Xl=function(e){return Ve(this),5==this.c?(Ve(this),rT(e,(Qe(),Qe(),new pb(9,e)))):rT(e,(Qe(),Qe(),new pb(3,e)))},s.Yl=function(e){var t;return Ve(this),Qe(),Qe(),t=new F5(2),5==this.c?(Ve(this),Ga(t,N9),Ga(t,e)):(Ga(t,e),Ga(t,N9)),t},s.Zl=function(e){return Ve(this),5==this.c?(Ve(this),Qe(),Qe(),new pb(9,e)):(Qe(),Qe(),new pb(3,e))},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0,w(q1,"RegEx/RegexParser",820),b(1824,820,{},A9n),s.sl=function(e){return!1},s.tl=function(){return CZ(this)},s.ul=function(e){return O3(e)},s.vl=function(e){return RRn(this)},s.wl=function(){throw C(new Ee(Pe((je(),xs))))},s.xl=function(){throw C(new Ee(Pe((je(),xs))))},s.yl=function(){throw C(new Ee(Pe((je(),xs))))},s.zl=function(){throw C(new Ee(Pe((je(),xs))))},s.Al=function(){return Ve(this),O3(67)},s.Bl=function(){return Ve(this),O3(73)},s.Cl=function(){throw C(new Ee(Pe((je(),xs))))},s.Dl=function(){throw C(new Ee(Pe((je(),xs))))},s.El=function(){throw C(new Ee(Pe((je(),xs))))},s.Fl=function(){return Ve(this),O3(99)},s.Gl=function(){throw C(new Ee(Pe((je(),xs))))},s.Hl=function(){throw C(new Ee(Pe((je(),xs))))},s.Il=function(){return Ve(this),O3(105)},s.Jl=function(){throw C(new Ee(Pe((je(),xs))))},s.Kl=function(){throw C(new Ee(Pe((je(),xs))))},s.Ll=function(e,t){return Hb(e,O3(t)),-1},s.Ml=function(){return Ve(this),Qe(),Qe(),new ph(0,94)},s.Nl=function(){throw C(new Ee(Pe((je(),xs))))},s.Ol=function(){return Ve(this),Qe(),Qe(),new ph(0,36)},s.Pl=function(){throw C(new Ee(Pe((je(),xs))))},s.Ql=function(){throw C(new Ee(Pe((je(),xs))))},s.Rl=function(){throw C(new Ee(Pe((je(),xs))))},s.Sl=function(){throw C(new Ee(Pe((je(),xs))))},s.Tl=function(){throw C(new Ee(Pe((je(),xs))))},s.Ul=function(){throw C(new Ee(Pe((je(),xs))))},s.Vl=function(){var e;if(Ve(this),e=r$(f0(this),0),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Wl=function(){throw C(new Ee(Pe((je(),xs))))},s.Xl=function(e){return Ve(this),rT(e,(Qe(),Qe(),new pb(3,e)))},s.Yl=function(e){var t;return Ve(this),Qe(),Qe(),Ga(t=new F5(2),e),Ga(t,N9),t},s.Zl=function(e){return Ve(this),Qe(),Qe(),new pb(3,e)};var s2=null,K4=null;w(q1,"RegEx/ParserForXMLSchema",1824),b(117,1,r4,yd),s.$l=function(e){throw C(new Ri("Not supported."))},s._l=function(){return-1},s.am=function(e){return null},s.bm=function(){return null},s.cm=function(e){},s.dm=function(e){},s.em=function(){return 0},s.Ib=function(){return this.fm(0)},s.fm=function(e){return 11==this.e?".":""},s.e=0;var sln,H4,L9,Fee,oln,II,fln,N9,hln,lln,aln,dln,bln,Lee,zv,Nee,xee,Bee,_ee,q4,Ree,Kee,Hee,sa,Sw=null,ZH=null,nq=null,sMe=w(q1,"RegEx/Token",117);b(136,117,{3:1,136:1,117:1},cs),s.fm=function(e){var t,r,i;if(4==this.e)if(this==fln)r=".";else if(this==II)r="\\d";else if(this==q4)r="\\w";else if(this==zv)r="\\s";else{for((i=new m1).a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?li(i,lk(this.b[t])):(li(i,lk(this.b[t])),i.a+="-",li(i,lk(this.b[t+1])));i.a+="]",r=i.a}else if(this==aln)r="\\D";else if(this==bln)r="\\W";else if(this==dln)r="\\S";else{for((i=new m1).a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?li(i,lk(this.b[t])):(li(i,lk(this.b[t])),i.a+="-",li(i,lk(this.b[t+1])));i.a+="]",r=i.a}return r},s.a=!1,s.c=!1,w(q1,"RegEx/RangeToken",136),b(584,1,{584:1},fG),s.a=0,w(q1,"RegEx/RegexParser/ReferencePosition",584),b(583,1,{3:1,583:1},_8n),s.Fb=function(e){var t;return!(null==e||!I(e,583))&&(t=u(e,583),Mn(this.b,t.b)&&this.a==t.a)},s.Hb=function(){return L1(this.b+"/"+mZ(this.a))},s.Ib=function(){return this.c.fm(this.a)},s.a=0,w(q1,"RegEx/RegularExpression",583),b(223,117,r4,ph),s._l=function(){return this.a},s.fm=function(e){var r,i;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:i="\\"+ID(this.a&Gt);break;case 12:i="\\f";break;case 10:i="\\n";break;case 13:i="\\r";break;case 9:i="\\t";break;case 27:i="\\e";break;default:i=this.a>=Vr?"\\v"+rs(r="0"+(this.a>>>0).toString(16),r.length-6,r.length):""+ID(this.a&Gt)}break;case 8:i=this==hln||this==lln?""+ID(this.a&Gt):"\\"+ID(this.a&Gt);break;default:i=null}return i},s.a=0,w(q1,"RegEx/Token/CharToken",223),b(309,117,r4,pb),s.am=function(e){return this.a},s.cm=function(e){this.b=e},s.dm=function(e){this.c=e},s.em=function(){return 1},s.fm=function(e){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.fm(e)+"*";else if(this.c==this.b)t=this.a.fm(e)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.fm(e)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw C(new Ri("Token#toString(): CLOSURE "+this.c+Xr+this.b));t=this.a.fm(e)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.fm(e)+"*?";else if(this.c==this.b)t=this.a.fm(e)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.fm(e)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw C(new Ri("Token#toString(): NONGREEDYCLOSURE "+this.c+Xr+this.b));t=this.a.fm(e)+"{"+this.c+",}?"}return t},s.b=0,s.c=0,w(q1,"RegEx/Token/ClosureToken",309),b(821,117,r4,eX),s.am=function(e){return 0==e?this.a:this.b},s.em=function(){return 2},s.fm=function(e){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(e)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(e)+"+?":this.a.fm(e)+""+this.b.fm(e)},w(q1,"RegEx/Token/ConcatToken",821),b(1822,117,r4,UPn),s.am=function(e){if(0==e)return this.d;if(1==e)return this.b;throw C(new Ri("Internal Error: "+e))},s.em=function(){return this.b?2:1},s.fm=function(e){return(this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a)+(this.b?this.d+"|"+this.b+")":this.d+")")},s.c=0,w(q1,"RegEx/Token/ConditionToken",1822),b(1823,117,r4,UMn),s.am=function(e){return this.b},s.em=function(){return 1},s.fm=function(e){return"(?"+(0==this.a?"":mZ(this.a))+(0==this.c?"":mZ(this.c))+":"+this.b.fm(e)+")"},s.a=0,s.c=0,w(q1,"RegEx/Token/ModifierToken",1823),b(822,117,r4,sX),s.am=function(e){return this.a},s.em=function(){return 1},s.fm=function(e){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.fm(e)+")":"("+this.a.fm(e)+")";break;case 20:t="(?="+this.a.fm(e)+")";break;case 21:t="(?!"+this.a.fm(e)+")";break;case 22:t="(?<="+this.a.fm(e)+")";break;case 23:t="(?"+this.a.fm(e)+")"}return t},s.b=0,w(q1,"RegEx/Token/ParenToken",822),b(521,117,{3:1,117:1,521:1},I$),s.bm=function(){return this.b},s.fm=function(e){return 12==this.e?"\\"+this.a:function yme(n){var e,t,r,i;for(i=n.length,e=null,r=0;r=0?(e||(e=new s5,r>0&&li(e,n.substr(0,r))),e.a+="\\",Ap(e,t&Gt)):e&&Ap(e,t&Gt);return e?e.a:n}(this.b)},s.a=0,w(q1,"RegEx/Token/StringToken",521),b(465,117,r4,F5),s.$l=function(e){Ga(this,e)},s.am=function(e){return u(Hd(this.a,e),117)},s.em=function(){return this.a?this.a.a.c.length:0},s.fm=function(e){var t,r,i,c,o;if(1==this.e){if(2==this.a.a.c.length)t=u(Hd(this.a,0),117),c=3==(r=u(Hd(this.a,1),117)).e&&r.am(0)==t?t.fm(e)+"+":9==r.e&&r.am(0)==t?t.fm(e)+"+?":t.fm(e)+""+r.fm(e);else{for(o=new m1,i=0;i=n.c.b:n.a<=n.c.b))throw C(new ic);return e=n.a,n.a+=n.c.c,++n.b,Q(e)}(this)},s.Ub=function(){return function Wde(n){if(n.b<=0)throw C(new ic);return--n.b,n.a-=n.c.c,Q(n.a)}(this)},s.Wb=function(e){u(e,19),function nce(){throw C(new p1(oUn))}()},s.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Vb=function(){return this.b-1},s.Qb=function(){throw C(new p1(fUn))},s.a=0,s.b=0,w(Lrn,"ExclusiveRange/RangeIterator",254);var Hs=Pp(GS,"C"),be=Pp(Tm,"I"),Hu=Pp(sv,"Z"),oa=Pp(Cm,"J"),ju=Pp(ym,"B"),kr=Pp(jm,"D"),Aw=Pp(Em,"F"),o2=Pp(Mm,"S"),oMe=Et("org.eclipse.elk.core.labels","ILabelManager"),wln=Et(Hr,"DiagnosticChain"),gln=Et(xGn,"ResourceSet"),vln=w(Hr,"InvocationTargetException",null),qee=(xj(),function Zae(n){return xj(),function(){return hae(n,this,arguments)}}),Gee=Gee=function H3e(n,e,t,r){R8n();var i=D_;function c(){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};!function v1(gi,Tt){if(!(gi instanceof Tt))throw new TypeError("Cannot call a class as a function")}(this,Tt);var vi=Object.assign({},Yr),Eu=!1;try{dh.resolve("web-worker"),Eu=!0}catch{}if(Yr.workerUrl)if(Eu){var qu=dh("web-worker");vi.workerFactory=function(Yn){return new qu(Yn)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!vi.workerFactory){var js=dh("./elk-worker.min.js").Worker;vi.workerFactory=function(Yn){return new js(Yn)}}return function j(gi,Tt){if(!gi)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Tt||"object"!=typeof Tt&&"function"!=typeof Tt?gi:Tt}(this,(Tt.__proto__||Object.getPrototypeOf(Tt)).call(this,vi))}return function fa(gi,Tt){if("function"!=typeof Tt&&null!==Tt)throw new TypeError("Super expression must either be null or a function, not "+typeof Tt);gi.prototype=Object.create(Tt&&Tt.prototype,{constructor:{value:gi,enumerable:!1,writable:!0,configurable:!0}}),Tt&&(Object.setPrototypeOf?Object.setPrototypeOf(gi,Tt):gi.__proto__=Tt)}(Tt,gi),Tt}(dh("./elk-api.js").default);Object.defineProperty(zc.exports,"__esModule",{value:!0}),zc.exports=pc,pc.default=pc},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(dh,zc,bh){zc.exports=Worker},{}]},{},[3])(3)},5650:(DI,f2,es)=>{"use strict";es.d(f2,{Z:()=>zc});const zc=(0,es(5820).Z)(Object.getPrototypeOf,Object)},2031:(DI,f2,es)=>{"use strict";es.d(f2,{Z:()=>Tt});var H9=es(7079),dh=es(5650),zc=es(214),fa=Function.prototype.toString,xf=Object.prototype.hasOwnProperty,pc=fa.call(Object);const Tt=function gi(Yr){if(!(0,zc.Z)(Yr)||"[object Object]"!=(0,H9.Z)(Yr))return!1;var vi=(0,dh.Z)(Yr);if(null===vi)return!0;var Eu=xf.call(vi,"constructor")&&vi.constructor;return"function"==typeof Eu&&Eu instanceof Eu&&fa.call(Eu)==pc}},4194:(DI,f2,es)=>{"use strict";es.r(f2),es.d(f2,{diagram:()=>HI});var H9=es(5861),dh=es(4976),zc=es(5703),bh=es(3330),v1=es(3057),j=es(855),fa=es(1775),xf=es(9111),pc=es(7942);es(2735),es(1764),es(6780);const Eu=new pc,qu={},Rh={};let js={};const Vv=(Se,wt,F)=>{const yr={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return yr.TD=yr.TB,j.l.info("abc88",F,wt,Se),yr[F][wt][Se]},z4=(Se,wt,F)=>{if(j.l.info("getNextPort abc88",{node:Se,edgeDirection:wt,graphDirection:F}),!qu[Se])switch(F){case"TB":case"TD":qu[Se]={inPosition:"north",outPosition:"south"};break;case"BT":qu[Se]={inPosition:"south",outPosition:"north"};break;case"RL":qu[Se]={inPosition:"east",outPosition:"west"};break;case"LR":qu[Se]={inPosition:"west",outPosition:"east"}}const yr="in"===wt?qu[Se].inPosition:qu[Se].outPosition;return"in"===wt?qu[Se].inPosition=Vv(qu[Se].inPosition,wt,F):qu[Se].outPosition=Vv(qu[Se].outPosition,wt,F),yr},BI=function(Se,wt,F,yr,mt){const ri=function(Se,wt,F){const yr=((Se,wt,F)=>{const{parentById:yr}=F,mt=new Set;let ri=Se;for(;ri;){if(mt.add(ri),ri===wt)return ri;ri=yr[ri]}for(ri=wt;ri;){if(mt.has(ri))return ri;ri=yr[ri]}return"root"})(Se,wt,F);if(void 0===yr||"root"===yr)return{x:0,y:0};const mt=js[yr].offset;return{x:mt.posX,y:mt.posY}}(wt.sourceId,wt.targetId,mt),Bf=wt.sections[0].startPoint,Kt=wt.sections[0].endPoint,Vi=(wt.sections[0].bendPoints?wt.sections[0].bendPoints:[]).map(sf=>[sf.x+ri.x,sf.y+ri.y]),go=[[Bf.x+ri.x,Bf.y+ri.y],...Vi,[Kt.x+ri.x,Kt.y+ri.y]],Mi=(0,zc.jvg)().curve(zc.c_6),pd=Se.insert("path").attr("d",Mi(go)).attr("class","path").attr("fill","none"),Gu=Se.insert("g").attr("class","edgeLabel"),lt=(0,zc.Ys)(Gu.node().appendChild(wt.labelEl)),Es=lt.node().firstChild.getBoundingClientRect();lt.attr("width",Es.width),lt.attr("height",Es.height),Gu.attr("transform",`translate(${wt.labels[0].x+ri.x}, ${wt.labels[0].y+ri.y})`),function(Se,wt,F,yr){let mt="";switch(yr&&(mt=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,mt=mt.replace(/\(/g,"\\("),mt=mt.replace(/\)/g,"\\)")),wt.arrowTypeStart){case"arrow_cross":Se.attr("marker-start","url("+mt+"#"+F+"-crossStart)");break;case"arrow_point":Se.attr("marker-start","url("+mt+"#"+F+"-pointStart)");break;case"arrow_barb":Se.attr("marker-start","url("+mt+"#"+F+"-barbStart)");break;case"arrow_circle":Se.attr("marker-start","url("+mt+"#"+F+"-circleStart)");break;case"aggregation":Se.attr("marker-start","url("+mt+"#"+F+"-aggregationStart)");break;case"extension":Se.attr("marker-start","url("+mt+"#"+F+"-extensionStart)");break;case"composition":Se.attr("marker-start","url("+mt+"#"+F+"-compositionStart)");break;case"dependency":Se.attr("marker-start","url("+mt+"#"+F+"-dependencyStart)");break;case"lollipop":Se.attr("marker-start","url("+mt+"#"+F+"-lollipopStart)")}switch(wt.arrowTypeEnd){case"arrow_cross":Se.attr("marker-end","url("+mt+"#"+F+"-crossEnd)");break;case"arrow_point":Se.attr("marker-end","url("+mt+"#"+F+"-pointEnd)");break;case"arrow_barb":Se.attr("marker-end","url("+mt+"#"+F+"-barbEnd)");break;case"arrow_circle":Se.attr("marker-end","url("+mt+"#"+F+"-circleEnd)");break;case"aggregation":Se.attr("marker-end","url("+mt+"#"+F+"-aggregationEnd)");break;case"extension":Se.attr("marker-end","url("+mt+"#"+F+"-extensionEnd)");break;case"composition":Se.attr("marker-end","url("+mt+"#"+F+"-compositionEnd)");break;case"dependency":Se.attr("marker-end","url("+mt+"#"+F+"-dependencyEnd)");break;case"lollipop":Se.attr("marker-end","url("+mt+"#"+F+"-lollipopEnd)")}}(pd,F,yr.type,yr.arrowMarkerAbsolute)},hj=(Se,wt)=>{Se.forEach(F=>{F.children||(F.children=[]);const yr=wt.childrenById[F.id];yr&&yr.forEach(mt=>{F.children.push(js[mt])}),hj(F.children,wt)})},_I=function(){var Se=(0,H9.Z)(function*(wt,F,yr,mt){var ri;mt.db.clear(),js={},mt.db.setGen("gen-2"),mt.parser.parse(wt);const Bf=(0,zc.Ys)("body").append("div").attr("style","height:400px").attr("id","cy");let Kt={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(j.l.info("Drawing flowchart using v3 renderer",Eu),mt.db.getDirection()){case"BT":Kt.layoutOptions["elk.direction"]="UP";break;case"TB":Kt.layoutOptions["elk.direction"]="DOWN";break;case"LR":Kt.layoutOptions["elk.direction"]="RIGHT";break;case"RL":Kt.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:Vi,flowchart:go}=(0,j.g)();let Mi;"sandbox"===Vi&&(Mi=(0,zc.Ys)("#i"+F));const pd=(0,zc.Ys)("sandbox"===Vi?Mi.nodes()[0].contentDocument.body:"body"),Gu="sandbox"===Vi?Mi.nodes()[0].contentDocument:document,lt=pd.select(`[id="${F}"]`);(0,bh.a)(lt,["point","circle","cross"],mt.type,mt.arrowMarkerAbsolute);const sf=mt.db.getVertices();let md;const la=mt.db.getSubGraphs();j.l.info("Subgraphs - ",la);for(let _f=la.length-1;_f>=0;_f--)md=la[_f],mt.db.addVertex(md.id,md.title,"group",void 0,md.classes,md.dir);const fu=lt.insert("g").attr("class","subgraphs"),kd=function(Se){const wt={parentById:{},childrenById:{}},F=Se.getSubGraphs();return j.l.info("Subgraphs - ",F),F.forEach(function(yr){yr.nodes.forEach(function(mt){wt.parentById[mt]=yr.id,void 0===wt.childrenById[yr.id]&&(wt.childrenById[yr.id]=[]),wt.childrenById[yr.id].push(mt)})}),F.forEach(function(yr){}),wt}(mt.db);Kt=function(Se,wt,F,yr,mt,ri,Bf){const Kt=F.select(`[id="${wt}"]`),ha=Kt.insert("g").attr("class","nodes");return Object.keys(Se).forEach(function(go){const Mi=Se[go];let pd="default";Mi.classes.length>0&&(pd=Mi.classes.join(" "));const Gu=(0,xf.m)(Mi.styles);let Es,lt=void 0!==Mi.text?Mi.text:Mi.id;const sf={width:0,height:0};if((0,j.j)((0,j.g)().flowchart.htmlLabels)){const _f={label:lt.replace(/fa[blrs]?:fa-[\w-]+/g,X4=>``)};Es=(0,v1.a)(Kt,_f).node();const Rf=Es.getBBox();sf.width=Rf.width,sf.height=Rf.height,sf.labelNode=Es,Es.parentNode.removeChild(Es)}else{const _f=yr.createElementNS("http://www.w3.org/2000/svg","text");_f.setAttribute("style",Gu.labelStyle.replace("color:","fill:"));const Rf=lt.split(j.d.lineBreakRegex);for(const aj of Rf){const Ho=yr.createElementNS("http://www.w3.org/2000/svg","tspan");Ho.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),Ho.setAttribute("dy","1em"),Ho.setAttribute("x","1"),Ho.textContent=aj,_f.appendChild(Ho)}Es=_f;const X4=Es.getBBox();sf.width=X4.width,sf.height=X4.height,sf.labelNode=Es}const md=[{id:Mi.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:Mi.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:Mi.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:Mi.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let la=0,fu="",kd={};switch(Mi.type){case"round":la=5,fu="rect";break;case"square":case"group":default:fu="rect";break;case"diamond":fu="question",kd={portConstraints:"FIXED_SIDE"};break;case"hexagon":fu="hexagon";break;case"odd":case"odd_right":fu="rect_left_inv_arrow";break;case"lean_right":fu="lean_right";break;case"lean_left":fu="lean_left";break;case"trapezoid":fu="trapezoid";break;case"inv_trapezoid":fu="inv_trapezoid";break;case"circle":fu="circle";break;case"ellipse":fu="ellipse";break;case"stadium":fu="stadium";break;case"subroutine":fu="subroutine";break;case"cylinder":fu="cylinder";break;case"doublecircle":fu="doublecircle"}const Iw={labelStyle:Gu.labelStyle,shape:fu,labelText:lt,rx:la,ry:la,class:pd,style:Gu.style,id:Mi.id,link:Mi.link,linkTarget:Mi.linkTarget,tooltip:mt.db.getTooltip(Mi.id)||"",domId:mt.db.lookUpDomId(Mi.id),haveCallback:Mi.haveCallback,width:"group"===Mi.type?500:void 0,dir:Mi.dir,type:Mi.type,props:Mi.props,padding:(0,j.g)().flowchart.padding};let Ko,rl;"group"!==Iw.type&&(rl=(0,bh.e)(ha,Iw,Mi.dir),Ko=rl.node().getBBox());const Qv={id:Mi.id,ports:"diamond"===Mi.type?md:[],layoutOptions:kd,labelText:lt,labelData:sf,domId:mt.db.lookUpDomId(Mi.id),width:Ko?.width,height:Ko?.height,type:Mi.type,el:rl,parent:ri.parentById[Mi.id]};js[Iw.id]=Qv}),Bf}(sf,F,pd,Gu,mt,kd,Kt);const Iw=lt.insert("g").attr("class","edges edgePath"),Ko=mt.db.getEdges();Kt=function(Se,wt,F,yr){j.l.info("abc78 edges = ",Se);const mt=yr.insert("g").attr("class","edgeLabels");let Kt,ha,ri={},Bf=wt.db.getDirection();if(void 0!==Se.defaultStyle){const Vi=(0,xf.m)(Se.defaultStyle);Kt=Vi.style,ha=Vi.labelStyle}return Se.forEach(function(Vi){var go="L-"+Vi.start+"-"+Vi.end;void 0===ri[go]?(ri[go]=0,j.l.info("abc78 new entry",go,ri[go])):(ri[go]++,j.l.info("abc78 new entry",go,ri[go]));let Mi=go+"-"+ri[go];j.l.info("abc78 new link id to be used is",go,Mi,ri[go]);var pd="LS-"+Vi.start,Gu="LE-"+Vi.end;const lt={style:"",labelStyle:""};switch(lt.minlen=Vi.length||1,lt.arrowhead="arrow_open"===Vi.type?"none":"normal",lt.arrowTypeStart="arrow_open",lt.arrowTypeEnd="arrow_open",Vi.type){case"double_arrow_cross":lt.arrowTypeStart="arrow_cross";case"arrow_cross":lt.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":lt.arrowTypeStart="arrow_point";case"arrow_point":lt.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":lt.arrowTypeStart="arrow_circle";case"arrow_circle":lt.arrowTypeEnd="arrow_circle"}let Es="",sf="";switch(Vi.stroke){case"normal":Es="fill:none;",void 0!==Kt&&(Es=Kt),void 0!==ha&&(sf=ha),lt.thickness="normal",lt.pattern="solid";break;case"dotted":lt.thickness="normal",lt.pattern="dotted",lt.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":lt.thickness="thick",lt.pattern="solid",lt.style="stroke-width: 3.5px;fill:none;"}if(void 0!==Vi.style){const Ko=(0,xf.m)(Vi.style);Es=Ko.style,sf=Ko.labelStyle}lt.style=lt.style+=Es,lt.labelStyle=lt.labelStyle+=sf,lt.curve=(0,xf.n)(void 0!==Vi.interpolate?Vi.interpolate:void 0!==Se.defaultInterpolate?Se.defaultInterpolate:Rh.curve,zc.c_6),void 0===Vi.text?void 0!==Vi.style&&(lt.arrowheadStyle="fill: #333"):(lt.arrowheadStyle="fill: #333",lt.labelpos="c"),lt.labelType="text",lt.label=Vi.text.replace(j.d.lineBreakRegex,"\n"),void 0===Vi.style&&(lt.style=lt.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),lt.labelStyle=lt.labelStyle.replace("color:","fill:"),lt.id=Mi,lt.classes="flowchart-link "+pd+" "+Gu;const md=(0,bh.f)(mt,lt),{source:la,target:fu,sourceId:kd,targetId:Iw}=((Se,wt)=>{let F=Se.start,yr=Se.end;const mt=F,ri=yr,Bf=js[F],Kt=js[yr];return Bf&&Kt?("diamond"===Bf.type&&(F=`${F}-${z4(F,"out",wt)}`),"diamond"===Kt.type&&(yr=`${yr}-${z4(yr,"in",wt)}`),{source:F,target:yr,sourceId:mt,targetId:ri}):{source:F,target:yr}})(Vi,Bf);j.l.debug("abc78 source and target",la,fu),F.edges.push({id:"e"+Vi.start+Vi.end,sources:[la],targets:[fu],sourceId:kd,targetId:Iw,labelEl:md,labels:[{width:lt.width,height:lt.height,orgWidth:lt.width,orgHeight:lt.height,text:lt.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:lt})}),F}(Ko,mt,Kt,lt),Object.keys(js).forEach(_f=>{const Rf=js[_f];Rf.parent||Kt.children.push(Rf),void 0!==kd.childrenById[_f]&&(Rf.labels=[{text:Rf.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:Rf.labelData.width,height:Rf.labelData.height}],delete Rf.x,delete Rf.y,delete Rf.width,delete Rf.height)}),hj(Kt.children,kd),j.l.info("after layout",JSON.stringify(Kt,null,2));const Qv=yield Eu.layout(Kt);lj(0,0,Qv.children,lt,fu,mt,0),j.l.info("after layout",Qv),null==(ri=Qv.edges)||ri.map(_f=>{BI(Iw,_f,_f.edgeData,mt,kd)}),(0,fa.s)({},lt,go.diagramPadding,go.useMaxWidth),Bf.remove()});return function(F,yr,mt,ri){return Se.apply(this,arguments)}}(),lj=(Se,wt,F,yr,mt,ri,Bf)=>{F.forEach(function(Kt){if(Kt)if(js[Kt.id].offset={posX:Kt.x+Se,posY:Kt.y+wt,x:Se,y:wt,depth:Bf,width:Kt.width,height:Kt.height},"group"===Kt.type){const ha=mt.insert("g").attr("class","subgraph");ha.insert("rect").attr("class","subgraph subgraph-lvl-"+Bf%5+" node").attr("x",Kt.x+Se).attr("y",Kt.y+wt).attr("width",Kt.width).attr("height",Kt.height);const Vi=ha.insert("g").attr("class","label");Vi.attr("transform",`translate(${Kt.labels[0].x+Se+Kt.x}, ${Kt.labels[0].y+wt+Kt.y})`),Vi.node().appendChild(Kt.labelData.labelNode),j.l.info("Id (UGH)= ",Kt.type,Kt.labels)}else j.l.info("Id (UGH)= ",Kt.id),Kt.el.attr("transform",`translate(${Kt.x+Se+Kt.width/2}, ${Kt.y+wt+Kt.height/2})`)}),F.forEach(function(Kt){Kt&&"group"===Kt.type&&lj(Se+Kt.x,wt+Kt.y,Kt.children,yr,mt,ri,Bf+1)})},HI={db:dh.d,renderer:{getClasses:function(Se,wt){j.l.info("Extracting classes"),wt.db.clear("ver-2");try{return wt.parse(Se),wt.db.getClasses()}catch{return{}}},draw:_I},parser:dh.p,styles:Se=>`.label {\n font-family: ${Se.fontFamily};\n color: ${Se.nodeTextColor||Se.textColor};\n }\n .cluster-label text {\n fill: ${Se.titleColor};\n }\n .cluster-label span {\n color: ${Se.titleColor};\n }\n\n .label text,span {\n fill: ${Se.nodeTextColor||Se.textColor};\n color: ${Se.nodeTextColor||Se.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${Se.mainBkg};\n stroke: ${Se.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${Se.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${Se.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${Se.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${Se.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${Se.edgeLabelBackground};\n fill: ${Se.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${Se.clusterBkg};\n stroke: ${Se.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${Se.titleColor};\n }\n\n .cluster span {\n color: ${Se.titleColor};\n }\n /* .cluster div {\n color: ${Se.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${Se.fontFamily};\n font-size: 12px;\n background: ${Se.tertiaryColor};\n border: 1px solid ${Se.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${Se.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n ${(Se=>{let wt="";for(let F=0;F<5;F++)wt+=`\n .subgraph-lvl-${F} {\n fill: ${Se[`surface${F}`]};\n stroke: ${Se[`surfacePeer${F}`]};\n }\n `;return wt})(Se)}\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/571.d4ff05732590cfb8.js b/pkg/apiserver-impl/ui/571.d4ff05732590cfb8.js new file mode 100644 index 000000000..3850c4770 --- /dev/null +++ b/pkg/apiserver-impl/ui/571.d4ff05732590cfb8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[571],{8571:(N,M,a)=>{a.r(M),a.d(M,{diagram:()=>K});var h=a(3612),u=a(5703),C=a(8814),s=a(855),w=a(5963),E=a(9111),A=a(1775);a(2735),a(1764),a(9006),a(7416),a(6780);const L=o=>s.d.sanitizeText(o,(0,s.g)());let T={dividerMargin:10,padding:5,textHeight:10,curve:void 0};function P(o){let n;switch(o){case 0:n="aggregation";break;case 1:n="extension";break;case 2:n="composition";break;case 3:n="dependency";break;case 4:n="lollipop";break;default:n="none"}return n}const K={parser:h.p,db:h.d,renderer:{setConf:function(o){T={...T,...o}},draw:function(o,n,b,i){s.l.info("Drawing class - ",n);const t=(0,s.g)().flowchart??(0,s.g)().class,r=(0,s.g)().securityLevel;s.l.info("config:",t);const l=t?.nodeSpacing??50,d=t?.rankSpacing??50,e=new C.k({multigraph:!0,compound:!0}).setGraph({rankdir:i.db.getDirection(),nodesep:l,ranksep:d,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),y=i.db.getClasses(),c=i.db.getRelations(),p=i.db.getNotes();let _;s.l.info(c),function(o,n,b,i){const t=Object.keys(o);s.l.info("keys:",t),s.l.info(o),t.forEach(function(r){var l,d;const e=o[r];let y="";e.cssClasses.length>0&&(y=y+" "+e.cssClasses.join(" "));const f={labelStyle:"",shape:"class_box",labelText:L(e.label??e.id),classData:e,rx:0,ry:0,class:y,style:"",id:e.id,domId:e.domId,tooltip:i.db.getTooltip(e.id)||"",haveCallback:e.haveCallback,link:e.link,width:"group"===e.type?500:void 0,type:e.type,padding:(null==(l=(0,s.g)().flowchart)?void 0:l.padding)??(null==(d=(0,s.g)().class)?void 0:d.padding)};n.setNode(e.id,f),s.l.info("setNode",f)})}(y,e,0,i),function(o,n){const b=(0,s.g)().flowchart;let i=0;o.forEach(function(t){var r;i++;const l={classes:"relation",pattern:1==t.relation.lineType?"dashed":"solid",id:"id"+i,arrowhead:"arrow_open"===t.type?"none":"normal",startLabelRight:"none"===t.relationTitle1?"":t.relationTitle1,endLabelLeft:"none"===t.relationTitle2?"":t.relationTitle2,arrowTypeStart:P(t.relation.type1),arrowTypeEnd:P(t.relation.type2),style:"fill:none",labelStyle:"",curve:(0,E.n)(b?.curve,u.c_6)};if(s.l.info(l,t),void 0!==t.style){const d=(0,E.m)(t.style);l.style=d.style,l.labelStyle=d.labelStyle}t.text=t.title,void 0===t.text?void 0!==t.style&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",(null==(r=(0,s.g)().flowchart)?void 0:r.htmlLabels)??(0,s.g)().htmlLabels?(l.labelType="html",l.label=''+t.text+""):(l.labelType="text",l.label=t.text.replace(s.d.lineBreakRegex,"\n"),void 0===t.style&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),n.setEdge(t.id1,t.id2,l,i)})}(c,e),function(o,n,b,i){s.l.info(o),o.forEach(function(t,r){var l,d;const e=t,f={labelStyle:"",shape:"note",labelText:L(e.text),noteData:e,rx:0,ry:0,class:"",style:"",id:e.id,domId:e.id,tooltip:"",type:"note",padding:(null==(l=(0,s.g)().flowchart)?void 0:l.padding)??(null==(d=(0,s.g)().class)?void 0:d.padding)};if(n.setNode(e.id,f),s.l.info("setNode",f),!e.class||!(e.class in i))return;const x=b+r,D={id:`edgeNote${x}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,E.n)(T.curve,u.c_6)};n.setEdge(e.id,e.class,D,x)})}(p,e,c.length+1,y),"sandbox"===r&&(_=(0,u.Ys)("#i"+n));const g=(0,u.Ys)("sandbox"===r?_.nodes()[0].contentDocument.body:"body"),f=g.select(`[id="${n}"]`),x=g.select("#"+n+" g");if((0,w.r)(x,e,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",n),E.u.insertTitle(f,"classTitleText",t?.titleTopMargin??5,i.db.getDiagramTitle()),(0,A.s)(e,f,t?.diagramPadding,t?.useMaxWidth),!t?.htmlLabels){const D="sandbox"===r?_.nodes()[0].contentDocument:document,U=D.querySelectorAll('[id="'+n+'"] .edgeLabel .label');for(const m of U){const S=m.getBBox(),v=D.createElementNS("http://www.w3.org/2000/svg","rect");v.setAttribute("rx",0),v.setAttribute("ry",0),v.setAttribute("width",S.width),v.setAttribute("height",S.height),m.insertBefore(v,m.firstChild)}}}},styles:h.s,init:o=>{o.class||(o.class={}),o.class.arrowMarkerAbsolute=o.arrowMarkerAbsolute,h.d.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/598.45cf43e9a099cc7e.js b/pkg/apiserver-impl/ui/598.45cf43e9a099cc7e.js new file mode 100644 index 000000000..f3cd9485d --- /dev/null +++ b/pkg/apiserver-impl/ui/598.45cf43e9a099cc7e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[598],{5598:(l,E,_)=>{_.r(E),_.d(E,{diagram:()=>M});var a=_(4976),s=_(4724),d=_(855);_(5703),_(6780),_(2735),_(8814),_(9006),_(7416),_(1764);const M={parser:a.p,db:a.f,renderer:s.f,styles:s.a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,(0,d.f)({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),s.f.setConf(r.flowchart),a.f.clear(),a.f.setGen("gen-2")}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/6.e9c32fa3193aa48e.js b/pkg/apiserver-impl/ui/6.e9c32fa3193aa48e.js new file mode 100644 index 000000000..fc2885f8d --- /dev/null +++ b/pkg/apiserver-impl/ui/6.e9c32fa3193aa48e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[6],{9006:(x,m,r)=>{r.d(m,{bK:()=>Ra});var u=r(6391),g=r(8917),f=r(6947),Z=r(145),l=r(6224),h=r(2957),E=r(1256),b=r(8814);class P{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,t=e._prev;if(t!==e)return C(t),t}enqueue(e){var t=this._sentinel;e._prev&&e._next&&C(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t}toString(){for(var e=[],t=this._sentinel,a=t._prev;a!==t;)e.push(JSON.stringify(a,R)),a=a._prev;return"["+e.join(", ")+"]"}}function C(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function R(n,e){if("_next"!==n&&"_prev"!==n)return e}var y=Z.Z(1);function S(n,e,t,a,s){var i=s?[]:void 0;return u.Z(n.inEdges(a.v),function(o){var d=n.edge(o),c=n.node(o.v);s&&i.push({v:o.v,w:o.w}),c.out-=d,j(e,t,c)}),u.Z(n.outEdges(a.v),function(o){var d=n.edge(o),p=n.node(o.w);p.in-=d,j(e,t,p)}),n.removeNode(a.v),i}function j(n,e,t){t.out?t.in?n[t.out-t.in+e].enqueue(t):n[n.length-1].enqueue(t):n[0].enqueue(t)}function q(n){var e="greedy"===n.graph().acyclicer?function L(n,e){if(n.nodeCount()<=1)return[];var t=function Y(n,e){var t=new b.k,a=0,s=0;u.Z(n.nodes(),function(d){t.setNode(d,{v:d,in:0,out:0})}),u.Z(n.edges(),function(d){var c=t.edge(d.v,d.w)||0,p=e(d);t.setEdge(d.v,d.w,c+p),s=Math.max(s,t.node(d.v).out+=p),a=Math.max(a,t.node(d.w).in+=p)});var i=E.Z(s+a+3).map(function(){return new P}),o=a+1;return u.Z(t.nodes(),function(d){j(i,o,t.node(d))}),{graph:t,buckets:i,zeroIdx:o}}(n,e||y),a=function M(n,e,t){for(var o,a=[],s=e[e.length-1],i=e[0];n.nodeCount();){for(;o=i.dequeue();)S(n,e,t,o);for(;o=s.dequeue();)S(n,e,t,o);if(n.nodeCount())for(var d=e.length-2;d>0;--d)if(o=e[d].dequeue()){a=a.concat(S(n,e,t,o,!0));break}}return a}(t.graph,t.buckets,t.zeroIdx);return l.Z(h.Z(a,function(s){return n.outEdges(s.v,s.w)}))}(n,function t(a){return function(s){return a.edge(s).weight}}(n)):function nn(n){var e=[],t={},a={};return u.Z(n.nodes(),function s(i){f.Z(a,i)||(a[i]=!0,t[i]=!0,u.Z(n.outEdges(i),function(o){f.Z(t,o.w)?e.push(o):s(o.w)}),delete t[i])}),e}(n);u.Z(e,function(a){var s=n.edge(a);n.removeEdge(a),s.forwardName=a.name,s.reversed=!0,n.setEdge(a.w,a.v,s,g.Z("rev"))})}var W=r(5343),sn=r(3496),wn=r(3093);const pn=function vn(n,e,t){(void 0!==t&&!(0,wn.Z)(n[e],t)||void 0===t&&!(e in n))&&(0,sn.Z)(n,e,t)};var On=r(139),An=r(634),ln=r(9376),mn=r(8297),Tn=r(3121),Dn=r(4825),xn=r(4177),Vn=r(7118),le=r(5202),_e=r(2089),ee=r(1999),$n=r(2031),he=r(7583);const _n=function Jn(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]};var Kn=r(3276),Bn=r(571);const Nn=function Rn(n,e,t,a,s,i,o){var d=_n(n,t),c=_n(e,t),p=o.get(c);if(p)pn(n,t,p);else{var O=i?i(d,c,t+"",n,e,o):void 0,D=void 0===O;if(D){var N=(0,xn.Z)(c),V=!N&&(0,le.Z)(c),Q=!N&&!V&&(0,he.Z)(c);O=c,N||V||Q?(0,xn.Z)(d)?O=d:(0,Vn.Z)(d)?O=(0,mn.Z)(d):V?(D=!1,O=(0,An.Z)(c,!0)):Q?(D=!1,O=(0,ln.Z)(c,!0)):O=[]:(0,$n.Z)(c)||(0,Dn.Z)(c)?(O=d,(0,Dn.Z)(d)?O=function te(n){return(0,Kn.Z)(n,(0,Bn.Z)(n))}(d):(!(0,ee.Z)(d)||(0,_e.Z)(d))&&(O=(0,Tn.Z)(c))):D=!1}D&&(o.set(c,O),s(O,c,a,i,o),o.delete(c)),pn(n,t,O)}},G=function Wn(n,e,t,a,s){n!==e&&(0,On.Z)(e,function(i,o){if(s||(s=new W.Z),(0,ee.Z)(i))Nn(n,e,o,t,Wn,a,s);else{var d=a?a(_n(n,o),i,o+"",n,e,s):void 0;void 0===d&&(d=i),pn(n,o,d)}},Bn.Z)};var v=r(7965),T=r(4810);const $=function B(n){return(0,v.Z)(function(e,t){var a=-1,s=t.length,i=s>1?t[s-1]:void 0,o=s>2?t[2]:void 0;for(i=n.length>3&&"function"==typeof i?(s--,i):void 0,o&&(0,T.Z)(t[0],t[1],o)&&(i=s<3?void 0:i,s=1),e=Object(e);++ae};var ve=r(9940);const Sn=function Me(n){return n&&n.length?yn(n,ve.Z,Ie):void 0},re=function ge(n){var e=null==n?0:n.length;return e?n[e-1]:void 0};var we=r(7607),Gn=r(4380);const ae=function pe(n,e){var t={};return e=(0,Gn.Z)(e,3),(0,we.Z)(n,function(a,s,i){(0,sn.Z)(t,s,e(a,s,i))}),t};var Cn=r(9948);const se=function me(n,e){return nMath.abs(s)*d?(i<0&&(d=-d),c=d*s/i,p=d):(s<0&&(o=-o),c=o,p=o*i/s),{x:t+c,y:a+p}}function oe(n){var e=h.Z(E.Z(X(n)+1),function(){return[]});return u.Z(n.nodes(),function(t){var a=n.node(t),s=a.rank;Cn.Z(s)||(e[s][a.order]=t)}),e}function K(n,e,t,a){var s={width:0,height:0};return arguments.length>=4&&(s.rank=t,s.order=a),Yn(n,"border",s,e)}function X(n){return Sn(h.Z(n.nodes(),function(e){var t=n.node(e).rank;if(!Cn.Z(t))return t}))}function H(n,e){var t=be();try{return e()}finally{console.log(n+" time: "+(be()-t)+"ms")}}function un(n,e){return e()}function on(n,e,t,a,s,i){var d=s[e][i-1],c=Yn(n,"border",{width:0,height:0,rank:i,borderType:e},t);s[e][i]=c,n.setParent(c,a),d&&n.setEdge(d,c,{weight:1})}function cn(n){u.Z(n.nodes(),function(e){an(n.node(e))}),u.Z(n.edges(),function(e){an(n.edge(e))})}function an(n){var e=n.width;n.width=n.height,n.height=e}function hn(n){n.y=-n.y}function Ln(n){var e=n.x;n.x=n.y,n.y=e}const zn=function ue(n,e){return n&&n.length?yn(n,(0,Gn.Z)(e,2),se):void 0};function Se(n){var e={};u.Z(n.sources(),function t(a){var s=n.node(a);if(f.Z(e,a))return s.rank;e[a]=!0;var i=Xn(h.Z(n.outEdges(a),function(o){return t(o.w)-n.edge(o).minlen}));return(i===Number.POSITIVE_INFINITY||null==i)&&(i=0),s.rank=i})}function Ze(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function je(n){var s,i,e=new b.k({directed:!1}),t=n.nodes()[0],a=n.nodeCount();for(e.setNode(t,{});He(e,n)-1?s[i?e[o]:o]:void 0}}(function bn(n,e,t){var a=null==n?0:n.length;if(!a)return-1;var s=null==t?0:function de(n){var e=(0,En.Z)(n),t=e%1;return e==e?t?e-t:e:0}(t);return s<0&&(s=Hn(a+s,0)),(0,k.Z)(n,(0,Gn.Z)(e,3),s)});var fe=r(8736);Z.Z(1),Z.Z(1),r(4884),r(7183),r(7079),r(214),(0,r(666).Z)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var it="\\ud800-\\udfff",nr="["+it+"]",ke="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",qe="\\ud83c[\\udffb-\\udfff]",ot="[^"+it+"]",ut="(?:\\ud83c[\\udde6-\\uddff]){2}",dt="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="(?:"+ke+"|"+qe+")?",ct="[\\ufe0e\\ufe0f]?",ar=ct+ft+"(?:\\u200d(?:"+[ot,ut,dt].join("|")+")"+ct+ft+")*",sr="(?:"+[ot+ke+"?",ke,ut,dt,nr].join("|")+")";function _t(n,e,t){xn.Z(e)||(e=[e]);var a=(n.isDirected()?n.successors:n.neighbors).bind(n),s=[],i={};return u.Z(e,function(o){if(!n.hasNode(o))throw new Error("Graph does not have node: "+o);ht(n,o,"post"===t,i,a,s)}),s}function ht(n,e,t,a,s,i){f.Z(a,e)||(a[e]=!0,t||i.push(e),u.Z(s(e),function(o){ht(n,o,t,a,s,i)}),t&&i.push(e))}function Ee(n){n=function xe(n){var e=(new b.k).setGraph(n.graph());return u.Z(n.nodes(),function(t){e.setNode(t,n.node(t))}),u.Z(n.edges(),function(t){var a=e.edge(t.v,t.w)||{weight:0,minlen:1},s=n.edge(t);e.setEdge(t.v,t.w,{weight:a.weight+s.weight,minlen:Math.max(a.minlen,s.minlen)})}),e}(n),Se(n);var t,e=je(n);for(et(e),nt(e,n);t=Et(e);)pt(e,n,t,gt(e,n,t))}function nt(n,e){var t=function vr(n,e){return _t(n,e,"post")}(n,n.nodes());t=t.slice(0,t.length-1),u.Z(t,function(a){!function Er(n,e,t){var a=n.node(t);n.edge(t,a.parent).cutvalue=vt(n,e,t)}(n,e,a)})}function vt(n,e,t){var s=n.node(t).parent,i=!0,o=e.edge(t,s),d=0;return o||(i=!1,o=e.edge(s,t)),d=o.weight,u.Z(e.nodeEdges(t),function(c){var p=c.v===t,O=p?c.w:c.v;if(O!==s){var D=p===i,N=e.edge(c).weight;if(d+=D?N:-N,function pr(n,e,t){return n.hasEdge(e,t)}(n,t,O)){var V=n.edge(t,O).cutvalue;d+=D?-V:V}}}),d}function et(n,e){arguments.length<2&&(e=n.nodes()[0]),Zt(n,{},1,e)}function Zt(n,e,t,a,s){var i=t,o=n.node(a);return e[a]=!0,u.Z(n.neighbors(a),function(d){f.Z(e,d)||(t=Zt(n,e,t,d,a))}),o.low=i,o.lim=t++,s?o.parent=s:delete o.parent,t}function Et(n){return Fe(n.edges(),function(e){return n.edge(e).cutvalue<0})}function gt(n,e,t){var a=t.v,s=t.w;e.hasEdge(a,s)||(a=t.w,s=t.v);var i=n.node(a),o=n.node(s),d=i,c=!1;i.lim>o.lim&&(d=o,c=!0);var p=fe.Z(e.edges(),function(O){return c===mt(0,n.node(O.v),d)&&c!==mt(0,n.node(O.w),d)});return zn(p,function(O){return Ze(e,O)})}function pt(n,e,t,a){n.removeEdge(t.v,t.w),n.setEdge(a.v,a.w,{}),et(n),nt(n,e),function gr(n,e){var t=Fe(n.nodes(),function(s){return!e.node(s).parent}),a=function Zr(n,e){return _t(n,e,"pre")}(n,t);a=a.slice(1),u.Z(a,function(s){var i=n.node(s).parent,o=e.edge(s,i),d=!1;o||(o=e.edge(i,s),d=!0),e.node(s).rank=e.node(i).rank+(d?o.minlen:-o.minlen)})}(n,e)}function mt(n,e,t){return t.low<=e.lim&&e.lim<=t.lim}function mr(n){switch(n.graph().ranker){case"network-simplex":default:!function bt(n){Ee(n)}(n);break;case"tight-tree":!function Pr(n){Se(n),je(n)}(n);break;case"longest-path":br(n)}}RegExp(qe+"(?="+qe+")|"+sr+ar,"g"),new Error,r(1595),Ee.initLowLimValues=et,Ee.initCutValues=nt,Ee.calcCutValue=vt,Ee.leaveEdge=Et,Ee.enterEdge=gt,Ee.exchangeEdges=pt;var br=Se;var Le=r(1412),ze=r(2510);function Or(n){var e=Yn(n,"root",{},"_root"),t=function Ar(n){var e={};function t(a,s){var i=n.children(a);i&&i.length&&u.Z(i,function(o){t(o,s+1)}),e[a]=s}return u.Z(n.children(),function(a){t(a,1)}),e}(n),a=Sn(Le.Z(t))-1,s=2*a+1;n.graph().nestingRoot=e,u.Z(n.edges(),function(o){n.edge(o).minlen*=s});var i=function Tr(n){return ze.Z(n.edges(),function(e,t){return e+n.edge(t).weight},0)}(n)+1;u.Z(n.children(),function(o){Pt(n,e,s,i,a,t,o)}),n.graph().nodeRankFactor=s}function Pt(n,e,t,a,s,i,o){var d=n.children(o);if(d.length){var c=K(n,"_bt"),p=K(n,"_bb"),O=n.node(o);n.setParent(c,o),O.borderTop=c,n.setParent(p,o),O.borderBottom=p,u.Z(d,function(D){Pt(n,e,t,a,s,i,D);var N=n.node(D),V=N.borderTop?N.borderTop:D,Q=N.borderBottom?N.borderBottom:D,gn=N.borderTop?a:2*a,Ne=V!==Q?1:s-i[o]+1;n.setEdge(c,V,{weight:gn,minlen:Ne,nestingEdge:!0}),n.setEdge(Q,p,{weight:gn,minlen:Ne,nestingEdge:!0})}),n.parent(o)||n.setEdge(e,c,{weight:0,minlen:s+i[o]})}else o!==e&&n.setEdge(e,o,{weight:0,minlen:t})}var Cr=r(4258);const wr=function Mr(n){return(0,Cr.Z)(n,5)};var Br=r(6198);const Kr=function Fr(n,e){return function Sr(n,e,t){for(var a=-1,s=n.length,i=e.length,o={};++ae||i&&o&&c&&!d&&!p||a&&o&&c||!t&&c||!s)return 1;if(!a&&!i&&!p&&n=d?c:c*("desc"==t[a]?-1:1)}return n.index-e.index}(i,o,t)})},Ke=(0,v.Z)(function(n,e){if(null==n)return[];var t=e.length;return t>1&&(0,T.Z)(n,e[0],e[1])?e=[]:t>2&&(0,T.Z)(e[0],e[1],e[2])&&(e=[e[0]]),Qr(n,(0,Nr.Z)(e,1),[])});function qr(n,e){for(var t=0,a=1;a0;)O%2&&(D+=d[O+1]),d[O=O-1>>1]+=p.weight;c+=p.weight*D})),c}function Ot(n,e,t){for(var a;e.length&&(a=re(e)).i<=t;)e.pop(),n.push(a.vs),t++;return t}function At(n,e,t,a){var s=n.children(e),i=n.node(e),o=i?i.borderLeft:void 0,d=i?i.borderRight:void 0,c={};o&&(s=fe.Z(s,function(Q){return Q!==o&&Q!==d}));var p=function ta(n,e){return h.Z(e,function(t){var a=n.inEdges(t);if(a.length){var s=ze.Z(a,function(i,o){var d=n.edge(o),c=n.node(o.v);return{sum:i.sum+d.weight*c.order,weight:i.weight+d.weight}},{sum:0,weight:0});return{v:t,barycenter:s.sum/s.weight,weight:s.weight}}return{v:t}})}(n,s);u.Z(p,function(Q){if(n.children(Q.v).length){var gn=At(n,Q.v,t,a);c[Q.v]=gn,f.Z(gn,"barycenter")&&function da(n,e){Cn.Z(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}(Q,gn)}});var O=function ra(n,e){var t={};return u.Z(n,function(s,i){var o=t[s.v]={indegree:0,in:[],out:[],vs:[s.v],i};Cn.Z(s.barycenter)||(o.barycenter=s.barycenter,o.weight=s.weight)}),u.Z(e.edges(),function(s){var i=t[s.v],o=t[s.w];!Cn.Z(i)&&!Cn.Z(o)&&(o.indegree++,i.out.push(t[s.w]))}),function aa(n){var e=[];function t(i){return function(o){o.merged||(Cn.Z(o.barycenter)||Cn.Z(i.barycenter)||o.barycenter>=i.barycenter)&&function sa(n,e){var t=0,a=0;n.weight&&(t+=n.barycenter*n.weight,a+=n.weight),e.weight&&(t+=e.barycenter*e.weight,a+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=t/a,n.weight=a,n.i=Math.min(e.i,n.i),e.merged=!0}(i,o)}}function a(i){return function(o){o.in.push(i),0==--o.indegree&&n.push(o)}}for(;n.length;){var s=n.pop();e.push(s),u.Z(s.in.reverse(),t(s)),u.Z(s.out,a(s))}return h.Z(fe.Z(e,function(i){return!i.merged}),function(i){return J.Z(i,["vs","i","barycenter","weight"])})}(fe.Z(t,function(s){return!s.indegree}))}(p,t);!function ua(n,e){u.Z(n,function(t){t.vs=l.Z(t.vs.map(function(a){return e[a]?e[a].vs:a}))})}(O,c);var D=function ia(n,e){var t=function tn(n,e){var t={lhs:[],rhs:[]};return u.Z(n,function(a){e(a)?t.lhs.push(a):t.rhs.push(a)}),t}(n,function(O){return f.Z(O,"barycenter")}),a=t.lhs,s=Ke(t.rhs,function(O){return-O.i}),i=[],o=0,d=0,c=0;a.sort(function oa(n){return function(e,t){return e.barycentert.barycenter?1:n?t.i-e.i:e.i-t.i}}(!!e)),c=Ot(i,s,c),u.Z(a,function(O){c+=O.vs.length,i.push(O.vs),o+=O.barycenter*O.weight,d+=O.weight,c=Ot(i,s,c)});var p={vs:l.Z(i)};return d&&(p.barycenter=o/d,p.weight=d),p}(O,a);if(o&&(D.vs=l.Z([o,D.vs,d]),n.predecessors(o).length)){var N=n.node(n.predecessors(o)[0]),V=n.node(n.predecessors(d)[0]);f.Z(D,"barycenter")||(D.barycenter=0,D.weight=0),D.barycenter=(D.barycenter*D.weight+N.order+V.order)/(D.weight+2),D.weight+=2}return D}function Tt(n,e,t){return h.Z(e,function(a){return function Rr(n,e,t){var a=function xr(n){for(var e;n.hasNode(e=g.Z("_root")););return e}(n),s=new b.k({compound:!0}).setGraph({root:a}).setDefaultNodeLabel(function(i){return n.node(i)});return u.Z(n.nodes(),function(i){var o=n.node(i),d=n.parent(i);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(s.setNode(i),s.setParent(i,d||a),u.Z(n[t](i),function(c){var p=c.v===i?c.w:c.v,O=s.edge(p,i),D=Cn.Z(O)?0:O.weight;s.setEdge(p,i,{weight:n.edge(c).weight+D})}),f.Z(o,"minRank")&&s.setNode(i,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),s}(n,a,t)})}function ca(n,e){var t=new b.k;u.Z(n,function(a){var s=a.graph().root,i=At(a,s,t,e);u.Z(i.vs,function(o,d){a.node(o).order=d}),function Dr(n,e,t){var s,a={};u.Z(t,function(i){for(var d,c,o=n.parent(i);o;){if((d=n.parent(o))?(c=a[d],a[d]=o):(c=s,s=o),c&&c!==o)return void e.setEdge(c,o);o=d}})}(a,t,i.vs)})}function yt(n,e){u.Z(e,function(t){u.Z(t,function(a,s){n.node(a).order=s})})}var va=r(5750);const Ea=function Za(n,e){return null==n?n:(0,On.Z)(n,(0,va.Z)(e),Bn.Z)};function Ct(n,e,t){if(e>t){var a=e;e=t,t=a}var s=n[e];s||(n[e]=s={}),s[t]=!0}function ba(n,e,t){if(e>t){var a=e;e=t,t=a}return f.Z(n[e],t)}function La(n){var s,e=oe(n),t=$(function ga(n,e){var t={};return ze.Z(e,function a(s,i){var o=0,d=0,c=s.length,p=re(i);return u.Z(i,function(O,D){var N=function ma(n,e){if(n.node(e).dummy)return Fe(n.predecessors(e),function(t){return n.node(t).dummy})}(n,O),V=N?n.node(N).order:c;(N||O===p)&&(u.Z(i.slice(d,D+1),function(Q){u.Z(n.predecessors(Q),function(gn){var Ne=n.node(gn),Lt=Ne.order;(Ltp)&&Ct(t,N,O)})})}return ze.Z(e,function s(i,o){var c,d=-1,p=0;return u.Z(o,function(O,D){if("border"===n.node(O).dummy){var N=n.predecessors(O);N.length&&(c=n.node(N[0]).order,a(o,p,D,d,c),p=D,d=c)}a(o,p,o.length,c,i.length)}),o}),t}(n,e)),a={};u.Z(["u","d"],function(o){s="u"===o?e:Le.Z(e).reverse(),u.Z(["l","r"],function(d){"r"===d&&(s=h.Z(s,function(D){return Le.Z(D).reverse()}));var c=("u"===o?n.predecessors:n.successors).bind(n),p=function Pa(n,e,t,a){var s={},i={},o={};return u.Z(e,function(d){u.Z(d,function(c,p){s[c]=c,i[c]=c,o[c]=p})}),u.Z(e,function(d){var c=-1;u.Z(d,function(p){var O=a(p);if(O.length)for(var D=((O=Ke(O,function(gn){return o[gn]})).length-1)/2,N=Math.floor(D),V=Math.ceil(D);N<=V;++N){var Q=O[N];i[p]===p&&co||d>e[c].lim));for(p=c,c=a;(c=n.parent(c))!==p;)i.push(c);return{path:s.concat(i.reverse()),lca:p}}(n,e,s.v,s.w),o=i.path,d=i.lca,c=0,p=o[c],O=!0;t!==s.w;){if(a=n.node(t),O){for(;(p=o[c])!==d&&n.node(p).maxRank=2);var p=qr(n,s=oe(n));p{r.d(m,{k:()=>Bn});var u=r(6947),g=r(145),f=r(2089),Z=r(1952),l=r(8736),h=r(9378),E=r(6391),b=r(9948),P=r(113),C=r(7965),R=r(3713),y=r(9009);const M=function L(G){return G!=G},F=function nn(G,v){return!(null==G||!G.length)&&function j(G,v,T){return v==v?function S(G,v,T){for(var B=T-1,U=G.length;++B-1},sn=function W(G,v,T){for(var B=-1,U=null==G?0:G.length;++B=200){var jn=v?null:Tn(G);if(jn)return(0,An.Z)(jn);$=!1,U=wn.Z,dn=new R.Z}else dn=v?[]:J;n:for(;++B1?U.setNode(z,T):U.setNode(z)}),this}setNode(v,T){return u.Z(this._nodes,v)?(arguments.length>1&&(this._nodes[v]=T),this):(this._nodes[v]=arguments.length>1?T:this._defaultNodeLabelFn(v),this._isCompound&&(this._parent[v]="\0",this._children[v]={},this._children["\0"][v]=!0),this._in[v]={},this._preds[v]={},this._out[v]={},this._sucs[v]={},++this._nodeCount,this)}node(v){return this._nodes[v]}hasNode(v){return u.Z(this._nodes,v)}removeNode(v){var T=this;if(u.Z(this._nodes,v)){var B=function(U){T.removeEdge(T._edgeObjs[U])};delete this._nodes[v],this._isCompound&&(this._removeFromParentsChildList(v),delete this._parent[v],E.Z(this.children(v),function(U){T.setParent(U)}),delete this._children[v]),E.Z(Z.Z(this._in[v]),B),delete this._in[v],delete this._preds[v],E.Z(Z.Z(this._out[v]),B),delete this._out[v],delete this._sucs[v],--this._nodeCount}return this}setParent(v,T){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(b.Z(T))T="\0";else{for(var B=T+="";!b.Z(B);B=this.parent(B))if(B===v)throw new Error("Setting "+T+" as parent of "+v+" would create a cycle");this.setNode(T)}return this.setNode(v),this._removeFromParentsChildList(v),this._parent[v]=T,this._children[T][v]=!0,this}_removeFromParentsChildList(v){delete this._children[this._parent[v]][v]}parent(v){if(this._isCompound){var T=this._parent[v];if("\0"!==T)return T}}children(v){if(b.Z(v)&&(v="\0"),this._isCompound){var T=this._children[v];if(T)return Z.Z(T)}else{if("\0"===v)return this.nodes();if(this.hasNode(v))return[]}}predecessors(v){var T=this._preds[v];if(T)return Z.Z(T)}successors(v){var T=this._sucs[v];if(T)return Z.Z(T)}neighbors(v){var T=this.predecessors(v);if(T)return ee(T,this.successors(v))}isLeaf(v){return 0===(this.isDirected()?this.successors(v):this.neighbors(v)).length}filterNodes(v){var T=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});T.setGraph(this.graph());var B=this;E.Z(this._nodes,function($,J){v(J)&&T.setNode(J,$)}),E.Z(this._edgeObjs,function($){T.hasNode($.v)&&T.hasNode($.w)&&T.setEdge($,B.edge($))});var U={};function z($){var J=B.parent($);return void 0===J||T.hasNode(J)?(U[$]=J,J):J in U?U[J]:z(J)}return this._isCompound&&E.Z(T.nodes(),function($){T.setParent($,z($))}),T}setDefaultEdgeLabel(v){return f.Z(v)||(v=g.Z(v)),this._defaultEdgeLabelFn=v,this}edgeCount(){return this._edgeCount}edges(){return $n.Z(this._edgeObjs)}setPath(v,T){var B=this,U=arguments;return he.Z(v,function(z,$){return U.length>1?B.setEdge(z,$,T):B.setEdge(z,$),$}),this}setEdge(){var v,T,B,U,z=!1,$=arguments[0];"object"==typeof $&&null!==$&&"v"in $?(v=$.v,T=$.w,B=$.name,2===arguments.length&&(U=arguments[1],z=!0)):(v=$,T=arguments[1],B=arguments[3],arguments.length>2&&(U=arguments[2],z=!0)),v=""+v,T=""+T,b.Z(B)||(B=""+B);var J=Rn(this._isDirected,v,T,B);if(u.Z(this._edgeLabels,J))return z&&(this._edgeLabels[J]=U),this;if(!b.Z(B)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(v),this.setNode(T),this._edgeLabels[J]=z?U:this._defaultEdgeLabelFn(v,T,B);var dn=function Nn(G,v,T,B){var U=""+v,z=""+T;if(!G&&U>z){var $=U;U=z,z=$}var J={v:U,w:z};return B&&(J.name=B),J}(this._isDirected,v,T,B);return v=dn.v,T=dn.w,Object.freeze(dn),this._edgeObjs[J]=dn,te(this._preds[T],v),te(this._sucs[v],T),this._in[T][J]=dn,this._out[v][J]=dn,this._edgeCount++,this}edge(v,T,B){var U=1===arguments.length?Wn(this._isDirected,arguments[0]):Rn(this._isDirected,v,T,B);return this._edgeLabels[U]}hasEdge(v,T,B){var U=1===arguments.length?Wn(this._isDirected,arguments[0]):Rn(this._isDirected,v,T,B);return u.Z(this._edgeLabels,U)}removeEdge(v,T,B){var U=1===arguments.length?Wn(this._isDirected,arguments[0]):Rn(this._isDirected,v,T,B),z=this._edgeObjs[U];return z&&(v=z.v,T=z.w,delete this._edgeLabels[U],delete this._edgeObjs[U],Qn(this._preds[T],v),Qn(this._sucs[v],T),delete this._in[T][U],delete this._out[v][U],this._edgeCount--),this}inEdges(v,T){var B=this._in[v];if(B){var U=$n.Z(B);return T?l.Z(U,function(z){return z.v===T}):U}}outEdges(v,T){var B=this._out[v];if(B){var U=$n.Z(B);return T?l.Z(U,function(z){return z.w===T}):U}}nodeEdges(v,T){var B=this.inEdges(v,T);if(B)return B.concat(this.outEdges(v,T))}}function te(G,v){G[v]?G[v]++:G[v]=1}function Qn(G,v){--G[v]||delete G[v]}function Rn(G,v,T,B){var U=""+v,z=""+T;if(!G&&U>z){var $=U;U=z,z=$}return U+Kn+z+Kn+(b.Z(B)?Jn:B)}function Wn(G,v){return Rn(G,v.v,v.w,v.name)}Bn.prototype._nodeCount=0,Bn.prototype._edgeCount=0},8814:(x,m,r)=>{r.d(m,{k:()=>u.k});var u=r(1595)},3713:(x,m,r)=>{r.d(m,{Z:()=>b});var u=r(3639);function E(P){var C=-1,R=null==P?0:P.length;for(this.__data__=new u.Z;++C{r.d(m,{Z:()=>Y});var u=r(2622);var C=r(9329),R=r(3639);function S(j){var q=this.__data__=new u.Z(j);this.size=q.size}S.prototype.clear=function g(){this.__data__=new u.Z,this.size=0},S.prototype.delete=function Z(j){var q=this.__data__,nn=q.delete(j);return this.size=q.size,nn},S.prototype.get=function h(j){return this.__data__.get(j)},S.prototype.has=function b(j){return this.__data__.has(j)},S.prototype.set=function L(j,q){var nn=this.__data__;if(nn instanceof u.Z){var F=nn.__data__;if(!C.Z||F.length<199)return F.push([j,q]),this.size=++nn.size,this;nn=this.__data__=new R.Z(F)}return nn.set(j,q),this.size=nn.size,this};const Y=S},1630:(x,m,r)=>{r.d(m,{Z:()=>f});const f=r(5946).Z.Uint8Array},7585:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f,Z){for(var l=-1,h=null==f?0:f.length;++l{r.d(m,{Z:()=>g});const g=function u(f,Z){for(var l=-1,h=null==f?0:f.length,E=0,b=[];++l{r.d(m,{Z:()=>R});var f=r(4825),Z=r(4177),l=r(5202),h=r(6667),E=r(7583),P=Object.prototype.hasOwnProperty;const R=function C(y,L){var M=(0,Z.Z)(y),S=!M&&(0,f.Z)(y),Y=!M&&!S&&(0,l.Z)(y),j=!M&&!S&&!Y&&(0,E.Z)(y),q=M||S||Y||j,nn=q?function u(y,L){for(var M=-1,S=Array(y);++M{r.d(m,{Z:()=>g});const g=function u(f,Z){for(var l=-1,h=null==f?0:f.length,E=Array(h);++l{r.d(m,{Z:()=>g});const g=function u(f,Z){for(var l=-1,h=Z.length,E=f.length;++l{r.d(m,{Z:()=>h});var u=r(3496),g=r(3093),Z=Object.prototype.hasOwnProperty;const h=function l(E,b,P){var C=E[b];(!Z.call(E,b)||!(0,g.Z)(C,P)||void 0===P&&!(b in E))&&(0,u.Z)(E,b,P)}},3496:(x,m,r)=>{r.d(m,{Z:()=>f});var u=r(2370);const f=function g(Z,l,h){"__proto__"==l&&u.Z?(0,u.Z)(Z,l,{configurable:!0,enumerable:!0,value:h,writable:!0}):Z[l]=h}},4258:(x,m,r)=>{r.d(m,{Z:()=>Je});var u=r(5343),g=r(7585),f=r(6198),Z=r(3276),l=r(1952);var b=r(571);var R=r(634),y=r(8297),L=r(3033);var Y=r(6623),j=r(5650),q=r(3419);const W=Object.getOwnPropertySymbols?function(w){for(var k=[];w;)(0,Y.Z)(k,(0,L.Z)(w)),w=(0,j.Z)(w);return k}:q.Z;var vn=r(8501),pn=r(8203);const An=function On(w){return(0,pn.Z)(w,b.Z,W)};var ln=r(7183),Tn=Object.prototype.hasOwnProperty;var Vn=r(3116);var ee=/\w*$/;var Jn=r(8492),_n=Jn.Z?Jn.Z.prototype:void 0,Kn=_n?_n.valueOf:void 0;var Qn=r(9376);const ge=function Sn(w,k,En){var de=w.constructor;switch(k){case"[object ArrayBuffer]":return(0,Vn.Z)(w);case"[object Boolean]":case"[object Date]":return new de(+w);case"[object DataView]":return function le(w,k){var En=k?(0,Vn.Z)(w.buffer):w.buffer;return new w.constructor(En,w.byteOffset,w.byteLength)}(w,En);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,Qn.Z)(w,En);case"[object Map]":case"[object Set]":return new de;case"[object Number]":case"[object String]":return new de(w);case"[object RegExp]":return function $n(w){var k=new w.constructor(w.source,ee.exec(w));return k.lastIndex=w.lastIndex,k}(w);case"[object Symbol]":return function Bn(w){return Kn?Object(Kn.call(w)):{}}(w)}};var re=r(3121),we=r(4177),Gn=r(5202),pe=r(214);var se=r(6932),ie=r(6594),Xn=ie.Z&&ie.Z.isMap;const Re=Xn?(0,se.Z)(Xn):function Cn(w){return(0,pe.Z)(w)&&"[object Map]"==(0,ln.Z)(w)};var be=r(1999);var Be=ie.Z&&ie.Z.isSet;const Oe=Be?(0,se.Z)(Be):function xe(w){return(0,pe.Z)(w)&&"[object Set]"==(0,ln.Z)(w)};var K="[object Arguments]",rn="[object Function]",cn="[object Object]",en={};en[K]=en["[object Array]"]=en["[object ArrayBuffer]"]=en["[object DataView]"]=en["[object Boolean]"]=en["[object Date]"]=en["[object Float32Array]"]=en["[object Float64Array]"]=en["[object Int8Array]"]=en["[object Int16Array]"]=en["[object Int32Array]"]=en["[object Map]"]=en["[object Number]"]=en[cn]=en["[object RegExp]"]=en["[object Set]"]=en["[object String]"]=en["[object Symbol]"]=en["[object Uint8Array]"]=en["[object Uint8ClampedArray]"]=en["[object Uint16Array]"]=en["[object Uint32Array]"]=!0,en["[object Error]"]=en[rn]=en["[object WeakMap]"]=!1;const Je=function Te(w,k,En,de,ye,Hn){var bn,Ue=1&k,Ce=2&k,Fe=4&k;if(En&&(bn=ye?En(w,de,ye,Hn):En(w)),void 0!==bn)return bn;if(!(0,be.Z)(w))return w;var fe=(0,we.Z)(w);if(fe){if(bn=function Dn(w){var k=w.length,En=new w.constructor(k);return k&&"string"==typeof w[0]&&Tn.call(w,"index")&&(En.index=w.index,En.input=w.input),En}(w),!Ue)return(0,y.Z)(w,bn)}else{var ce=(0,ln.Z)(w),Qe=ce==rn||"[object GeneratorFunction]"==ce;if((0,Gn.Z)(w))return(0,R.Z)(w,Ue);if(ce==cn||ce==K||Qe&&!ye){if(bn=Ce||Qe?{}:(0,re.Z)(w),!Ue)return Ce?function sn(w,k){return(0,Z.Z)(w,W(w),k)}(w,function P(w,k){return w&&(0,Z.Z)(k,(0,b.Z)(k),w)}(bn,w)):function M(w,k){return(0,Z.Z)(w,(0,L.Z)(w),k)}(w,function h(w,k){return w&&(0,Z.Z)(k,(0,l.Z)(k),w)}(bn,w))}else{if(!en[ce])return ye?w:{};bn=ge(w,ce,Ue)}}Hn||(Hn=new u.Z);var Ge=Hn.get(w);if(Ge)return Ge;Hn.set(w,bn),Oe(w)?w.forEach(function(qn){bn.add(Te(qn,k,En,qn,w,Hn))}):Re(w)&&w.forEach(function(qn,ne){bn.set(ne,Te(qn,k,En,ne,w,Hn))});var Xe=fe?void 0:(Fe?Ce?An:vn.Z:Ce?b.Z:l.Z)(w);return(0,g.Z)(Xe||w,function(qn,ne){Xe&&(qn=w[ne=qn]),(0,f.Z)(bn,ne,Te(qn,k,En,ne,w,Hn))}),bn}},1082:(x,m,r)=>{r.d(m,{Z:()=>h});var u=r(7607),g=r(8706);const h=function f(E,b){return function(P,C){if(null==P)return P;if(!(0,g.Z)(P))return E(P,C);for(var R=P.length,y=b?R:-1,L=Object(P);(b?y--:++y{r.d(m,{Z:()=>g});const g=function u(f,Z,l,h){for(var E=f.length,b=l+(h?1:-1);h?b--:++b{r.d(m,{Z:()=>P});var u=r(6623),g=r(8492),f=r(4825),Z=r(4177),l=g.Z?g.Z.isConcatSpreadable:void 0;const E=function h(C){return(0,Z.Z)(C)||(0,f.Z)(C)||!!(l&&C&&C[l])},P=function b(C,R,y,L,M){var S=-1,Y=C.length;for(y||(y=E),M||(M=[]);++S0&&y(j)?R>1?b(j,R-1,y,L,M):(0,u.Z)(M,j):L||(M[M.length]=j)}return M}},139:(x,m,r)=>{r.d(m,{Z:()=>Z});const Z=function u(l){return function(h,E,b){for(var P=-1,C=Object(h),R=b(h),y=R.length;y--;){var L=R[l?y:++P];if(!1===E(C[L],L,C))break}return h}}()},7607:(x,m,r)=>{r.d(m,{Z:()=>Z});var u=r(139),g=r(1952);const Z=function f(l,h){return l&&(0,u.Z)(l,h,g.Z)}},7298:(x,m,r)=>{r.d(m,{Z:()=>Z});var u=r(7894),g=r(2168);const Z=function f(l,h){for(var E=0,b=(h=(0,u.Z)(h,l)).length;null!=l&&E{r.d(m,{Z:()=>Z});var u=r(6623),g=r(4177);const Z=function f(l,h,E){var b=h(l);return(0,g.Z)(l)?b:(0,u.Z)(b,E(l))}},4380:(x,m,r)=>{r.d(m,{Z:()=>oe});var u=r(5343),g=r(3713);const Z=function f(A,I){for(var K=-1,X=null==A?0:A.length;++Krn))return!1;var fn=H.get(A),Zn=H.get(I);if(fn&&Zn)return fn==I&&Zn==A;var cn=-1,an=!0,Mn=2&K?new g.Z:void 0;for(H.set(A,I),H.set(I,A);++cn{r.d(m,{Z:()=>Z});var u=r(1082),g=r(8706);const Z=function f(l,h){var E=-1,b=(0,g.Z)(l)?Array(l.length):[];return(0,u.Z)(l,function(P,C,R){b[++E]=h(P,C,R)}),b}},666:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f){return function(Z){return Z?.[f]}}},7965:(x,m,r)=>{r.d(m,{Z:()=>l});var u=r(9940),g=r(5604),f=r(8959);const l=function Z(h,E){return(0,f.Z)((0,g.Z)(h,E,u.Z),h+"")}},3228:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f,Z){return f.has(Z)}},5750:(x,m,r)=>{r.d(m,{Z:()=>f});var u=r(9940);const f=function g(Z){return"function"==typeof Z?Z:u.Z}},7894:(x,m,r)=>{r.d(m,{Z:()=>L});var u=r(4177),g=r(8042),f=r(2572),E=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/\\(\\)?/g;const C=function l(M){var S=(0,f.Z)(M,function(j){return 500===Y.size&&Y.clear(),j}),Y=S.cache;return S}(function(M){var S=[];return 46===M.charCodeAt(0)&&S.push(""),M.replace(E,function(Y,j,q,nn){S.push(q?nn.replace(b,"$1"):j||Y)}),S});var R=r(6506);const L=function y(M,S){return(0,u.Z)(M)?M:(0,g.Z)(M,S)?[M]:C((0,R.Z)(M))}},3116:(x,m,r)=>{r.d(m,{Z:()=>f});var u=r(1630);const f=function g(Z){var l=new Z.constructor(Z.byteLength);return new u.Z(l).set(new u.Z(Z)),l}},634:(x,m,r)=>{r.d(m,{Z:()=>b});var u=r(5946),g="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=g&&"object"==typeof module&&module&&!module.nodeType&&module,l=f&&f.exports===g?u.Z.Buffer:void 0,h=l?l.allocUnsafe:void 0;const b=function E(P,C){if(C)return P.slice();var R=P.length,y=h?h(R):new P.constructor(R);return P.copy(y),y}},9376:(x,m,r)=>{r.d(m,{Z:()=>f});var u=r(3116);const f=function g(Z,l){var h=l?(0,u.Z)(Z.buffer):Z.buffer;return new Z.constructor(h,Z.byteOffset,Z.length)}},8297:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f,Z){var l=-1,h=f.length;for(Z||(Z=Array(h));++l{r.d(m,{Z:()=>Z});var u=r(6198),g=r(3496);const Z=function f(l,h,E,b){var P=!E;E||(E={});for(var C=-1,R=h.length;++C{r.d(m,{Z:()=>f});var u=r(3858);const f=function(){try{var Z=(0,u.Z)(Object,"defineProperty");return Z({},"",{}),Z}catch{}}()},8501:(x,m,r)=>{r.d(m,{Z:()=>l});var u=r(8203),g=r(3033),f=r(1952);const l=function Z(h){return(0,u.Z)(h,f.Z,g.Z)}},5650:(x,m,r)=>{r.d(m,{Z:()=>f});const f=(0,r(5820).Z)(Object.getPrototypeOf,Object)},3033:(x,m,r)=>{r.d(m,{Z:()=>E});var u=r(197),g=r(3419),Z=Object.prototype.propertyIsEnumerable,l=Object.getOwnPropertySymbols;const E=l?function(b){return null==b?[]:(b=Object(b),(0,u.Z)(l(b),function(P){return Z.call(b,P)}))}:g.Z},9868:(x,m,r)=>{r.d(m,{Z:()=>b});var u=r(7894),g=r(4825),f=r(4177),Z=r(6667),l=r(8696),h=r(2168);const b=function E(P,C,R){for(var y=-1,L=(C=(0,u.Z)(C,P)).length,M=!1;++y{r.d(m,{Z:()=>b});var u=r(1999),g=Object.create;const Z=function(){function P(){}return function(C){if(!(0,u.Z)(C))return{};if(g)return g(C);P.prototype=C;var R=new P;return P.prototype=void 0,R}}();var l=r(5650),h=r(1986);const b=function E(P){return"function"!=typeof P.constructor||(0,h.Z)(P)?{}:Z((0,l.Z)(P))}},6667:(x,m,r)=>{r.d(m,{Z:()=>Z});var g=/^(?:0|[1-9]\d*)$/;const Z=function f(l,h){var E=typeof l;return!!(h=h??9007199254740991)&&("number"==E||"symbol"!=E&&g.test(l))&&l>-1&&l%1==0&&l{r.d(m,{Z:()=>h});var u=r(3093),g=r(8706),f=r(6667),Z=r(1999);const h=function l(E,b,P){if(!(0,Z.Z)(P))return!1;var C=typeof b;return!!("number"==C?(0,g.Z)(P)&&(0,f.Z)(b,P.length):"string"==C&&b in P)&&(0,u.Z)(P[b],E)}},8042:(x,m,r)=>{r.d(m,{Z:()=>h});var u=r(4177),g=r(6460),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/;const h=function l(E,b){if((0,u.Z)(E))return!1;var P=typeof E;return!("number"!=P&&"symbol"!=P&&"boolean"!=P&&null!=E&&!(0,g.Z)(E))||Z.test(E)||!f.test(E)||null!=b&&E in Object(b)}},5604:(x,m,r)=>{r.d(m,{Z:()=>l});const g=function u(h,E,b){switch(b.length){case 0:return h.call(E);case 1:return h.call(E,b[0]);case 2:return h.call(E,b[0],b[1]);case 3:return h.call(E,b[0],b[1],b[2])}return h.apply(E,b)};var f=Math.max;const l=function Z(h,E,b){return E=f(void 0===E?h.length-1:E,0),function(){for(var P=arguments,C=-1,R=f(P.length-E,0),y=Array(R);++C{r.d(m,{Z:()=>g});const g=function u(f){var Z=-1,l=Array(f.size);return f.forEach(function(h){l[++Z]=h}),l}},8959:(x,m,r)=>{r.d(m,{Z:()=>y});var u=r(145),g=r(2370),f=r(9940),h=800,E=16,b=Date.now;const y=function P(L){var M=0,S=0;return function(){var Y=b(),j=E-(Y-S);if(S=Y,j>0){if(++M>=h)return arguments[0]}else M=0;return L.apply(void 0,arguments)}}(g.Z?function(L,M){return(0,g.Z)(L,"toString",{configurable:!0,enumerable:!1,value:(0,u.Z)(M),writable:!0})}:f.Z)},2168:(x,m,r)=>{r.d(m,{Z:()=>Z});var u=r(6460);const Z=function f(l){if("string"==typeof l||(0,u.Z)(l))return l;var h=l+"";return"0"==h&&1/l==-Infinity?"-0":h}},145:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f){return function(){return f}}},3233:(x,m,r)=>{r.d(m,{Z:()=>b});var u=r(7965),g=r(3093),f=r(4810),Z=r(571),l=Object.prototype,h=l.hasOwnProperty;const b=(0,u.Z)(function(P,C){P=Object(P);var R=-1,y=C.length,L=y>2?C[2]:void 0;for(L&&(0,f.Z)(C[0],C[1],L)&&(y=1);++R{r.d(m,{Z:()=>b});var u=r(197),g=r(1082);const Z=function f(P,C){var R=[];return(0,g.Z)(P,function(y,L,M){C(y,L,M)&&R.push(y)}),R};var l=r(4380),h=r(4177);const b=function E(P,C){return((0,h.Z)(P)?u.Z:Z)(P,(0,l.Z)(C,3))}},6224:(x,m,r)=>{r.d(m,{Z:()=>f});var u=r(113);const f=function g(Z){return null!=Z&&Z.length?(0,u.Z)(Z,1):[]}},6391:(x,m,r)=>{r.d(m,{Z:()=>h});var u=r(7585),g=r(1082),f=r(5750),Z=r(4177);const h=function l(E,b){return((0,Z.Z)(E)?u.Z:g.Z)(E,(0,f.Z)(b))}},6947:(x,m,r)=>{r.d(m,{Z:()=>E});var g=Object.prototype.hasOwnProperty;const Z=function f(b,P){return null!=b&&g.call(b,P)};var l=r(9868);const E=function h(b,P){return null!=b&&(0,l.Z)(b,P,Z)}},9080:(x,m,r)=>{r.d(m,{Z:()=>l});const g=function u(h,E){return null!=h&&E in Object(h)};var f=r(9868);const l=function Z(h,E){return null!=h&&(0,f.Z)(h,E,g)}},9940:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f){return f}},7118:(x,m,r)=>{r.d(m,{Z:()=>Z});var u=r(8706),g=r(214);const Z=function f(l){return(0,g.Z)(l)&&(0,u.Z)(l)}},2031:(x,m,r)=>{r.d(m,{Z:()=>R});var u=r(7079),g=r(5650),f=r(214),E=Function.prototype.toString,b=Object.prototype.hasOwnProperty,P=E.call(Object);const R=function C(y){if(!(0,f.Z)(y)||"[object Object]"!=(0,u.Z)(y))return!1;var L=(0,g.Z)(y);if(null===L)return!0;var M=b.call(L,"constructor")&&L.constructor;return"function"==typeof M&&M instanceof M&&E.call(M)==P}},6460:(x,m,r)=>{r.d(m,{Z:()=>l});var u=r(7079),g=r(214);const l=function Z(h){return"symbol"==typeof h||(0,g.Z)(h)&&"[object Symbol]"==(0,u.Z)(h)}},9948:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f){return void 0===f}},1952:(x,m,r)=>{r.d(m,{Z:()=>l});var u=r(3487),g=r(4884),f=r(8706);const l=function Z(h){return(0,f.Z)(h)?(0,u.Z)(h):(0,g.Z)(h)}},571:(x,m,r)=>{r.d(m,{Z:()=>y});var u=r(3487),g=r(1999),f=r(1986);var E=Object.prototype.hasOwnProperty;const P=function b(L){if(!(0,g.Z)(L))return function Z(L){var M=[];if(null!=L)for(var S in Object(L))M.push(S);return M}(L);var M=(0,f.Z)(L),S=[];for(var Y in L)"constructor"==Y&&(M||!E.call(L,Y))||S.push(Y);return S};var C=r(8706);const y=function R(L){return(0,C.Z)(L)?(0,u.Z)(L,!0):P(L)}},2957:(x,m,r)=>{r.d(m,{Z:()=>h});var u=r(7988),g=r(4380),f=r(1177),Z=r(4177);const h=function l(E,b){return((0,Z.Z)(E)?u.Z:f.Z)(E,(0,g.Z)(b,3))}},6264:(x,m,r)=>{r.d(m,{Z:()=>F});var u=r(7298),g=r(6198),f=r(7894),Z=r(6667),l=r(1999),h=r(2168);const b=function E(W,sn,wn,vn){if(!(0,l.Z)(W))return W;for(var pn=-1,On=(sn=(0,f.Z)(sn,W)).length,An=On-1,ln=W;null!=ln&&++pn{r.d(m,{Z:()=>C});var u=Math.ceil,g=Math.max;var l=r(4810),h=r(1605);const C=function E(R){return function(y,L,M){return M&&"number"!=typeof M&&(0,l.Z)(y,L,M)&&(L=M=void 0),y=(0,h.Z)(y),void 0===L?(L=y,y=0):L=(0,h.Z)(L),function f(R,y,L,M){for(var S=-1,Y=g(u((y-R)/(L||1)),0),j=Array(Y);Y--;)j[M?Y:++S]=R,R+=L;return j}(y,L,M=void 0===M?y{r.d(m,{Z:()=>P});const g=function u(C,R,y,L){var M=-1,S=null==C?0:C.length;for(L&&S&&(y=C[++M]);++M{r.d(m,{Z:()=>g});const g=function u(){return[]}},1605:(x,m,r)=>{r.d(m,{Z:()=>nn});var u=/\s/;var Z=/^\s+/;const h=function l(F){return F&&F.slice(0,function g(F){for(var W=F.length;W--&&u.test(F.charAt(W)););return W}(F)+1).replace(Z,"")};var E=r(1999),b=r(6460),C=/^[-+]0x[0-9a-f]+$/i,R=/^0b[01]+$/i,y=/^0o[0-7]+$/i,L=parseInt;var Y=1/0;const nn=function q(F){return F?(F=function M(F){if("number"==typeof F)return F;if((0,b.Z)(F))return NaN;if((0,E.Z)(F)){var W="function"==typeof F.valueOf?F.valueOf():F;F=(0,E.Z)(W)?W+"":W}if("string"!=typeof F)return 0===F?F:+F;F=h(F);var sn=R.test(F);return sn||y.test(F)?L(F.slice(2),sn?2:8):C.test(F)?NaN:+F}(F))===Y||F===-Y?17976931348623157e292*(F<0?-1:1):F==F?F:0:0===F?F:0}},6506:(x,m,r)=>{r.d(m,{Z:()=>R});var u=r(8492),g=r(7988),f=r(4177),Z=r(6460),h=u.Z?u.Z.prototype:void 0,E=h?h.toString:void 0;const P=function b(y){if("string"==typeof y)return y;if((0,f.Z)(y))return(0,g.Z)(y,b)+"";if((0,Z.Z)(y))return E?E.call(y):"";var L=y+"";return"0"==L&&1/y==-Infinity?"-0":L},R=function C(y){return null==y?"":P(y)}},8917:(x,m,r)=>{r.d(m,{Z:()=>Z});var u=r(6506),g=0;const Z=function f(l){var h=++g;return(0,u.Z)(l)+h}},1412:(x,m,r)=>{r.d(m,{Z:()=>h});var u=r(7988);var Z=r(1952);const h=function l(E){return null==E?[]:function g(E,b){return(0,u.Z)(b,function(P){return E[P]})}(E,(0,Z.Z)(E))}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/608.906465dee653ee56.js b/pkg/apiserver-impl/ui/608.906465dee653ee56.js new file mode 100644 index 000000000..4866c2f72 --- /dev/null +++ b/pkg/apiserver-impl/ui/608.906465dee653ee56.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[608],{608:(ie,J,x)=>{x.r(J),x.d(J,{diagram:()=>se});var P=x(4976);x(8814),x(5703),x(855),x(6947),x(3233),x(6391),x(9006),x(6257),x(3057),x(8917),x(1256),x(6264),x(9111),x(1775);var rt=x(4724);x(2735),x(1764),x(6780),x(7416);const pt={},se={parser:P.p,db:P.f,renderer:rt.f,styles:rt.a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,function(r){const e=Object.keys(r);for(const t of e)pt[t]=r[t]}(r.flowchart),P.f.clear(),P.f.setGen("gen-1")}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/61.021401352c8fac58.js b/pkg/apiserver-impl/ui/61.021401352c8fac58.js new file mode 100644 index 000000000..46b46e40e --- /dev/null +++ b/pkg/apiserver-impl/ui/61.021401352c8fac58.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[61],{5061:(e,r,s)=>{s.r(r),s.d(r,{diagram:()=>d});var _=s(3683);s(5703),s(2735),s(1764),s(6780);const d={db:{clear:()=>{}},styles:()=>"",renderer:_.r,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/612.634d6c1c5de81831.js b/pkg/apiserver-impl/ui/612.634d6c1c5de81831.js new file mode 100644 index 000000000..71d0ec7a2 --- /dev/null +++ b/pkg/apiserver-impl/ui/612.634d6c1c5de81831.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[612],{3612:(_t,Ue,I)=>{I.d(Ue,{d:()=>ht,p:()=>Ye,s:()=>At});var P=I(5703),b=I(855),de=I(9111),Ge=I(4169),N=I(6012),q=function(){var e=function(v,i,r,l){for(r=r||{},l=v.length;l--;r[v[l]]=i);return r},n=[1,3],c=[1,7],o=[1,8],h=[1,9],E=[1,10],p=[1,13],B=[1,12],F=[1,16,25],ke=[1,20],De=[1,32],Fe=[1,33],me=[1,34],be=[1,48],Be=[1,39],ye=[1,37],Te=[1,38],Se=[1,44],ve=[1,45],Ne=[1,40],Le=[1,41],Oe=[1,42],Ie=[1,43],C=[1,49],_=[1,50],g=[1,51],D=[1,52],a=[16,25],Y=[1,66],K=[1,67],j=[1,68],z=[1,69],W=[1,70],ue=[1,71],ie=[1,72],xe=[1,82],V=[16,25,28,29,36,49,50,64,65,66,67,68,69,70,75,77],ne=[16,25,28,29,34,36,49,50,55,64,65,66,67,68,69,70,75,77,92,93,94,95],Re=[5,8,9,10,11,16,19,23,25],Q=[29,92,93,94,95],M=[29,69,70,92,93,94,95],Pe=[29,64,65,66,67,68,92,93,94,95],re=[1,96],ae=[16,25,49,50],X=[16,25,36],le={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,classLabel:27,SQS:28,STR:29,SQE:30,className:31,alphaNumToken:32,classLiteralName:33,GENERICTYPE:34,relationStatement:35,LABEL:36,classStatement:37,methodStatement:38,annotationStatement:39,clickStatement:40,cssClassStatement:41,noteStatement:42,acc_title:43,acc_title_value:44,acc_descr:45,acc_descr_value:46,acc_descr_multiline_value:47,classIdentifier:48,STYLE_SEPARATOR:49,STRUCT_START:50,members:51,STRUCT_STOP:52,CLASS:53,ANNOTATION_START:54,ANNOTATION_END:55,MEMBER:56,SEPARATOR:57,relation:58,NOTE_FOR:59,noteText:60,NOTE:61,relationType:62,lineType:63,AGGREGATION:64,EXTENSION:65,COMPOSITION:66,DEPENDENCY:67,LOLLIPOP:68,LINE:69,DOTTED_LINE:70,CALLBACK:71,LINK:72,LINK_TARGET:73,CLICK:74,CALLBACK_NAME:75,CALLBACK_ARGS:76,HREF:77,CSSCLASS:78,commentToken:79,textToken:80,graphCodeTokens:81,textNoTagsToken:82,TAGSTART:83,TAGEND:84,"==":85,"--":86,PCT:87,DEFAULT:88,SPACE:89,MINUS:90,keywords:91,UNICODE_TEXT:92,NUM:93,ALPHA:94,BQUOTE_STR:95,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",28:"SQS",29:"STR",30:"SQE",34:"GENERICTYPE",36:"LABEL",43:"acc_title",44:"acc_title_value",45:"acc_descr",46:"acc_descr_value",47:"acc_descr_multiline_value",49:"STYLE_SEPARATOR",50:"STRUCT_START",52:"STRUCT_STOP",53:"CLASS",54:"ANNOTATION_START",55:"ANNOTATION_END",56:"MEMBER",57:"SEPARATOR",59:"NOTE_FOR",61:"NOTE",64:"AGGREGATION",65:"EXTENSION",66:"COMPOSITION",67:"DEPENDENCY",68:"LOLLIPOP",69:"LINE",70:"DOTTED_LINE",71:"CALLBACK",72:"LINK",73:"LINK_TARGET",74:"CLICK",75:"CALLBACK_NAME",76:"CALLBACK_ARGS",77:"HREF",78:"CSSCLASS",81:"graphCodeTokens",83:"TAGSTART",84:"TAGEND",85:"==",86:"--",87:"PCT",88:"DEFAULT",89:"SPACE",90:"MINUS",91:"keywords",92:"UNICODE_TEXT",93:"NUM",94:"ALPHA",95:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,3],[31,1],[31,1],[31,2],[31,2],[31,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[37,1],[37,3],[37,4],[37,6],[48,2],[48,3],[39,4],[51,1],[51,2],[38,1],[38,2],[38,1],[38,1],[35,3],[35,4],[35,4],[35,5],[42,3],[42,2],[58,3],[58,2],[58,2],[58,1],[62,1],[62,1],[62,1],[62,1],[62,1],[63,1],[63,1],[40,3],[40,4],[40,3],[40,4],[40,4],[40,5],[40,3],[40,4],[40,4],[40,5],[40,3],[40,4],[40,4],[40,5],[41,3],[79,1],[79,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[82,1],[82,1],[82,1],[82,1],[32,1],[32,1],[32,1],[33,1],[60,1]],performAction:function(i,r,l,u,A,t,U){var s=t.length-1;switch(A){case 5:u.setDirection("TB");break;case 6:u.setDirection("BT");break;case 7:u.setDirection("RL");break;case 8:u.setDirection("LR");break;case 12:u.parseDirective("%%{","open_directive");break;case 13:u.parseDirective(t[s],"type_directive");break;case 14:t[s]=t[s].trim().replace(/'/g,'"'),u.parseDirective(t[s],"arg_directive");break;case 15:u.parseDirective("}%%","close_directive","class");break;case 20:this.$=t[s-1];break;case 21:case 22:this.$=t[s];break;case 23:this.$=t[s-1]+t[s];break;case 24:case 25:this.$=t[s-1]+"~"+t[s];break;case 26:u.addRelation(t[s]);break;case 27:t[s-1].title=u.cleanupLabel(t[s]),u.addRelation(t[s-1]);break;case 36:this.$=t[s].trim(),u.setAccTitle(this.$);break;case 37:case 38:this.$=t[s].trim(),u.setAccDescription(this.$);break;case 40:u.setCssClass(t[s-2],t[s]);break;case 41:u.addMembers(t[s-3],t[s-1]);break;case 42:u.setCssClass(t[s-5],t[s-3]),u.addMembers(t[s-5],t[s-1]);break;case 43:this.$=t[s],u.addClass(t[s]);break;case 44:this.$=t[s-1],u.addClass(t[s-1]),u.setClassLabel(t[s-1],t[s]);break;case 45:u.addAnnotation(t[s],t[s-2]);break;case 46:this.$=[t[s]];break;case 47:t[s].push(t[s-1]),this.$=t[s];break;case 48:case 50:case 51:break;case 49:u.addMember(t[s-1],u.cleanupLabel(t[s]));break;case 52:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 54:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 55:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 56:u.addNote(t[s],t[s-1]);break;case 57:u.addNote(t[s]);break;case 58:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 59:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 61:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 62:this.$=u.relationType.AGGREGATION;break;case 63:this.$=u.relationType.EXTENSION;break;case 64:this.$=u.relationType.COMPOSITION;break;case 65:this.$=u.relationType.DEPENDENCY;break;case 66:this.$=u.relationType.LOLLIPOP;break;case 67:this.$=u.lineType.LINE;break;case 68:this.$=u.lineType.DOTTED_LINE;break;case 69:case 75:this.$=t[s-2],u.setClickEvent(t[s-1],t[s]);break;case 70:case 76:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 71:case 79:this.$=t[s-2],u.setLink(t[s-1],t[s]);break;case 72:case 80:this.$=t[s-3],u.setLink(t[s-2],t[s-1],t[s]);break;case 73:case 81:this.$=t[s-3],u.setLink(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 74:case 82:this.$=t[s-4],u.setLink(t[s-3],t[s-2],t[s]),u.setTooltip(t[s-3],t[s-1]);break;case 77:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1],t[s]);break;case 78:this.$=t[s-4],u.setClickEvent(t[s-3],t[s-2],t[s-1]),u.setTooltip(t[s-3],t[s]);break;case 83:u.setCssClass(t[s-1],t[s])}},table:[{3:1,4:2,5:n,6:4,7:5,8:c,9:o,10:h,11:E,12:6,13:11,19:p,23:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:n,6:4,7:5,8:c,9:o,10:h,11:E,12:6,13:11,19:p,23:B},{1:[2,9]},e(F,[2,5]),e(F,[2,6]),e(F,[2,7]),e(F,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:ke},e([17,22],[2,13]),{6:31,7:30,8:c,9:o,10:h,11:E,13:11,19:p,24:21,26:22,31:35,32:46,33:47,35:23,37:24,38:25,39:26,40:27,41:28,42:29,43:De,45:Fe,47:me,48:36,53:be,54:Be,56:ye,57:Te,59:Se,61:ve,71:Ne,72:Le,74:Oe,78:Ie,92:C,93:_,94:g,95:D},{16:[1,53]},{18:54,21:[1,55]},{16:[2,15]},{25:[1,56]},{16:[1,57],25:[2,17]},e(a,[2,26],{36:[1,58]}),e(a,[2,28]),e(a,[2,29]),e(a,[2,30]),e(a,[2,31]),e(a,[2,32]),e(a,[2,33]),e(a,[2,34]),e(a,[2,35]),{44:[1,59]},{46:[1,60]},e(a,[2,38]),e(a,[2,48],{58:61,62:64,63:65,29:[1,62],36:[1,63],64:Y,65:K,66:j,67:z,68:W,69:ue,70:ie}),e(a,[2,39],{49:[1,73],50:[1,74]}),e(a,[2,50]),e(a,[2,51]),{32:75,92:C,93:_,94:g},{31:76,32:46,33:47,92:C,93:_,94:g,95:D},{31:77,32:46,33:47,92:C,93:_,94:g,95:D},{31:78,32:46,33:47,92:C,93:_,94:g,95:D},{29:[1,79]},{31:80,32:46,33:47,92:C,93:_,94:g,95:D},{29:xe,60:81},e(V,[2,21],{32:46,33:47,31:83,34:[1,84],92:C,93:_,94:g,95:D}),e(V,[2,22],{34:[1,85]}),{31:86,32:46,33:47,92:C,93:_,94:g,95:D},e(ne,[2,97]),e(ne,[2,98]),e(ne,[2,99]),e([16,25,28,29,34,36,49,50,64,65,66,67,68,69,70,75,77],[2,100]),e(Re,[2,10]),{15:87,22:ke},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:c,9:o,10:h,11:E,13:11,19:p,24:88,25:[2,18],26:22,31:35,32:46,33:47,35:23,37:24,38:25,39:26,40:27,41:28,42:29,43:De,45:Fe,47:me,48:36,53:be,54:Be,56:ye,57:Te,59:Se,61:ve,71:Ne,72:Le,74:Oe,78:Ie,92:C,93:_,94:g,95:D},e(a,[2,27]),e(a,[2,36]),e(a,[2,37]),{29:[1,90],31:89,32:46,33:47,92:C,93:_,94:g,95:D},{58:91,62:64,63:65,64:Y,65:K,66:j,67:z,68:W,69:ue,70:ie},e(a,[2,49]),{63:92,69:ue,70:ie},e(Q,[2,61],{62:93,64:Y,65:K,66:j,67:z,68:W}),e(M,[2,62]),e(M,[2,63]),e(M,[2,64]),e(M,[2,65]),e(M,[2,66]),e(Pe,[2,67]),e(Pe,[2,68]),{32:94,92:C,93:_,94:g},{51:95,56:re},{55:[1,97]},{29:[1,98]},{29:[1,99]},{75:[1,100],77:[1,101]},{32:102,92:C,93:_,94:g},{29:xe,60:103},e(a,[2,57]),e(a,[2,101]),e(V,[2,23]),e(V,[2,24]),e(V,[2,25]),e(ae,[2,43],{27:104,28:[1,105]}),{16:[1,106]},{25:[2,19]},e(X,[2,52]),{31:107,32:46,33:47,92:C,93:_,94:g,95:D},{29:[1,109],31:108,32:46,33:47,92:C,93:_,94:g,95:D},e(Q,[2,60],{62:110,64:Y,65:K,66:j,67:z,68:W}),e(Q,[2,59]),e(a,[2,40],{50:[1,111]}),{52:[1,112]},{51:113,52:[2,46],56:re},{31:114,32:46,33:47,92:C,93:_,94:g,95:D},e(a,[2,69],{29:[1,115]}),e(a,[2,71],{29:[1,117],73:[1,116]}),e(a,[2,75],{29:[1,118],76:[1,119]}),e(a,[2,79],{29:[1,121],73:[1,120]}),e(a,[2,83]),e(a,[2,56]),e(ae,[2,44]),{29:[1,122]},e(Re,[2,11]),e(X,[2,54]),e(X,[2,53]),{31:123,32:46,33:47,92:C,93:_,94:g,95:D},e(Q,[2,58]),{51:124,56:re},e(a,[2,41]),{52:[2,47]},e(a,[2,45]),e(a,[2,70]),e(a,[2,72]),e(a,[2,73],{73:[1,125]}),e(a,[2,76]),e(a,[2,77],{29:[1,126]}),e(a,[2,80]),e(a,[2,81],{73:[1,127]}),{30:[1,128]},e(X,[2,55]),{52:[1,129]},e(a,[2,74]),e(a,[2,78]),e(a,[2,82]),e(ae,[2,20]),e(a,[2,42])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],55:[2,14],56:[2,16],88:[2,19],113:[2,47]},parseError:function(i,r){if(!r.recoverable){var l=new Error(i);throw l.hash=r,l}this.trace(i)},parse:function(i){var l=[0],u=[],A=[null],t=[],U=this.table,s="",H=0,we=0,pt=t.slice.call(arguments,1),d=Object.create(this.lexer),L={yy:{}};for(var oe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,oe)&&(L.yy[oe]=this.yy[oe]);d.setInput(i,L.yy),L.yy.lexer=d,L.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var he=d.yylloc;t.push(he);var S,Et=d.options&&d.options.ranges;this.parseError="function"==typeof L.yy.parseError?L.yy.parseError:Object.getPrototypeOf(this).parseError;for(var k,O,m,Ae,J,T,Z,R={};;){if(this.defaultActions[O=l[l.length-1]]?m=this.defaultActions[O]:((null===k||typeof k>"u")&&(S=void 0,"number"!=typeof(S=u.pop()||d.lex()||1)&&(S instanceof Array&&(S=(u=S).pop()),S=this.symbols_[S]||S),k=S),m=U[O]&&U[O][k]),typeof m>"u"||!m.length||!m[0]){var fe;for(J in Z=[],U[O])this.terminals_[J]&&J>2&&Z.push("'"+this.terminals_[J]+"'");fe=d.showPosition?"Parse error on line "+(H+1)+":\n"+d.showPosition()+"\nExpecting "+Z.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(H+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(fe,{text:d.match,token:this.terminals_[k]||k,line:d.yylineno,loc:he,expected:Z})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+k);switch(m[0]){case 1:l.push(k),A.push(d.yytext),t.push(d.yylloc),l.push(m[1]),k=null,we=d.yyleng,s=d.yytext,H=d.yylineno,he=d.yylloc;break;case 2:if(R.$=A[A.length-(T=this.productions_[m[1]][1])],R._$={first_line:t[t.length-(T||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(T||1)].first_column,last_column:t[t.length-1].last_column},Et&&(R._$.range=[t[t.length-(T||1)].range[0],t[t.length-1].range[1]]),typeof(Ae=this.performAction.apply(R,[s,we,H,L.yy,m[1],A,t].concat(pt)))<"u")return Ae;T&&(l=l.slice(0,-1*T*2),A=A.slice(0,-1*T),t=t.slice(0,-1*T)),l.push(this.productions_[m[1]][0]),A.push(R.$),t.push(R._$),l.push(U[l[l.length-2]][l[l.length-1]]);break;case 3:return!0}}return!0}};function ce(){this.yy={}}return le.lexer={EOF:1,parseError:function(r,l){if(!this.yy.parser)throw new Error(r);this.yy.parser.parseError(r,l)},setInput:function(i,r){return this.yy=r||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];return this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i,i.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var r=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===u.length?this.yylloc.first_column:0)+u[u.length-l.length].length-l[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+"\n"+r+"^"},test_match:function(i,r){var l,u,A;if(this.options.backtrack_lexer&&(A={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(A.yylloc.range=this.yylloc.range.slice(0))),(u=i[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],l=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var t in A)this[t]=A[t];return!1}return!1},next:function(){if(this.done)return this.EOF;var i,r,l,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var A=this._currentRules(),t=0;tr[0].length)){if(r=l,u=t,this.options.backtrack_lexer){if(!1!==(i=this.test_match(l,A[t])))return i;if(this._backtrack){r=!1;continue}return!1}if(!this.options.flex)break}return r?!1!==(i=this.test_match(r,A[u]))&&i:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return(r=this.conditionStack.length-1-Math.abs(r||0))>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(r,l,u,A){switch(u){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 27:break;case 11:return this.begin("acc_title"),43;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),45;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 39:case 42:case 45:case 48:case 51:case 54:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 16;case 20:case 21:return 23;case 22:return this.begin("struct"),50;case 23:return"EDGE_STATE";case 24:return"EOF_IN_STRUCT";case 25:return"OPEN_IN_STRUCT";case 26:return this.popState(),52;case 28:return"MEMBER";case 29:return 53;case 30:return 78;case 31:return 71;case 32:return 72;case 33:return 74;case 34:return 59;case 35:return 61;case 36:return 54;case 37:return 55;case 38:this.begin("generic");break;case 40:return"GENERICTYPE";case 41:this.begin("string");break;case 43:return"STR";case 44:this.begin("bqstring");break;case 46:return"BQUOTE_STR";case 47:this.begin("href");break;case 49:return 77;case 50:this.begin("callback_name");break;case 52:this.popState(),this.begin("callback_args");break;case 53:return 75;case 55:return 76;case 56:case 57:case 58:case 59:return 73;case 60:case 61:return 65;case 62:case 63:return 67;case 64:return 66;case 65:return 64;case 66:return 68;case 67:return 69;case 68:return 70;case 69:return 36;case 70:return 49;case 71:return 90;case 72:return"DOT";case 73:return"PLUS";case 74:return 87;case 75:case 76:return"EQUALS";case 77:return 94;case 78:return 28;case 79:return 30;case 80:return"PUNCTUATION";case 81:return 93;case 82:return 92;case 83:return 89;case 84:return 25}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:\[\*\])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[54,55],inclusive:!1},callback_name:{rules:[51,52,53],inclusive:!1},href:{rules:[48,49],inclusive:!1},struct:{rules:[23,24,25,26,27,28],inclusive:!1},generic:{rules:[39,40],inclusive:!1},bqstring:{rules:[45,46],inclusive:!1},string:{rules:[42,43],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,29,30,31,32,33,34,35,36,37,38,41,44,47,50,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],inclusive:!0}}},ce.prototype=le,le.Parser=ce,new ce}();q.parser=q;const Ye=q,$="classId-";let ee=[],f={},G=[],pe=0,w=[];const y=e=>b.d.sanitizeText(e,(0,b.g)()),x=function(e){let n="",c=e;if(e.indexOf("~")>0){const o=e.split("~");c=y(o[0]),n=y(o[1])}return{className:c,type:n}},te=function(e){const n=x(e);void 0===f[n.className]&&(f[n.className]={id:n.className,type:n.type,label:n.className,cssClasses:[],methods:[],members:[],annotations:[],domId:$+n.className+"-"+pe},pe++)},Ee=function(e){if(e in f)return f[e].domId;throw new Error("Class not found: "+e)},Ce=function(e,n){const c=x(e).className,o=f[c];if("string"==typeof n){const h=n.trim();h.startsWith("<<")&&h.endsWith(">>")?o.annotations.push(y(h.substring(2,h.length-2))):h.indexOf(")")>0?o.methods.push(y(h)):h&&o.members.push(y(h))}},se=function(e,n){e.split(",").forEach(function(c){let o=c;c[0].match(/\d/)&&(o=$+o),void 0!==f[o]&&f[o].cssClasses.push(n)})},_e=function(e){let n=(0,P.Ys)(".mermaidTooltip");null===(n._groups||n)[0][0]&&(n=(0,P.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,P.Ys)(e).select("svg").selectAll("g.node").on("mouseover",function(){const h=(0,P.Ys)(this);if(null===h.attr("title"))return;const p=this.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.text(h.attr("title")).style("left",window.scrollX+p.left+(p.right-p.left)/2+"px").style("top",window.scrollY+p.top-14+document.body.scrollTop+"px"),n.html(n.html().replace(/<br\/>/g,"
")),h.classed("hover",!0)}).on("mouseout",function(){n.transition().duration(500).style("opacity",0),(0,P.Ys)(this).classed("hover",!1)})};w.push(_e);let ge="TB";const ht={parseDirective:function(e,n,c){Ge.m.parseDirective(this,e,n,c)},setAccTitle:N.s,getAccTitle:N.g,getAccDescription:N.a,setAccDescription:N.b,getConfig:()=>(0,b.g)().class,addClass:te,bindFunctions:function(e){w.forEach(function(n){n(e)})},clear:function(){ee=[],f={},G=[],w=[],w.push(_e),(0,N.f)()},getClass:function(e){return f[e]},getClasses:function(){return f},getNotes:function(){return G},addAnnotation:function(e,n){const c=x(e).className;f[c].annotations.push(n)},addNote:function(e,n){G.push({id:`note${G.length}`,class:n,text:e})},getRelations:function(){return ee},addRelation:function(e){b.l.debug("Adding relation: "+JSON.stringify(e)),te(e.id1),te(e.id2),e.id1=x(e.id1).className,e.id2=x(e.id2).className,e.relationTitle1=b.d.sanitizeText(e.relationTitle1.trim(),(0,b.g)()),e.relationTitle2=b.d.sanitizeText(e.relationTitle2.trim(),(0,b.g)()),ee.push(e)},getDirection:()=>ge,setDirection:e=>{ge=e},addMember:Ce,addMembers:function(e,n){Array.isArray(n)&&(n.reverse(),n.forEach(c=>Ce(e,c)))},cleanupLabel:function(e){return e.startsWith(":")&&(e=e.substring(1)),y(e.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(e,n,c){e.split(",").forEach(function(o){(function(e,n,c){if("loose"===(0,b.g)().securityLevel&&void 0!==n&&void 0!==f[e]){const E=Ee(e);let p=[];if("string"==typeof c){p=c.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let B=0;B`g.classGroup text {\n fill: ${e.nodeBorder};\n fill: ${e.classText};\n stroke: none;\n font-family: ${e.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${e.classText};\n}\n.edgeLabel .label rect {\n fill: ${e.mainBkg};\n}\n.label text {\n fill: ${e.classText};\n}\n.edgeLabel .label span {\n background: ${e.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${e.nodeBorder};\n stroke: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${e.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${e.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${e.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n}\n`}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/719.83bb129036b7dcdd.js b/pkg/apiserver-impl/ui/719.83bb129036b7dcdd.js new file mode 100644 index 000000000..1eb570cd0 --- /dev/null +++ b/pkg/apiserver-impl/ui/719.83bb129036b7dcdd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[719],{4719:(at,ge,H)=>{H.r(ge),H.d(ge,{diagram:()=>et});var b=H(855),q=H(9111),we=H(4169),z=H(6012),Me=H(5703),ae=(H(2735),H(1764),H(6780),function(){var r=function(j,l,u,g){for(u=u||{},g=j.length;g--;u[j[g]]=l);return u},n=[1,4],o=[1,7],h=[1,5],a=[1,9],c=[1,6],f=[2,6],p=[1,16],T=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],E=[8,14,20,22,24,25,27,29,32,37,40],m=[8,13,14,20,22,24,25,27,29,32,37,40],k=[1,26],x=[6,8,14,50,55],s=[8,14,55],L=[1,53],w=[1,52],D=[8,14,30,33,35,38,55],y=[1,67],d=[1,68],_=[1,69],G=[8,14,33,35,42,55],le={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(l,u,g,i,v,e,Z){var t=e.length-1;switch(v){case 3:return e[t];case 4:return e[t-1];case 5:return i.setDirection(e[t-3]),e[t-1];case 7:i.setOptions(e[t-1]),this.$=e[t];break;case 8:e[t-1]+=e[t],this.$=e[t-1];break;case 10:this.$=[];break;case 11:e[t-1].push(e[t]),this.$=e[t-1];break;case 12:this.$=e[t-1];break;case 17:this.$=e[t].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=e[t].trim(),i.setAccDescription(this.$);break;case 20:i.addSection(e[t].substr(8)),this.$=e[t].substr(8);break;case 22:i.checkout(e[t]);break;case 23:i.branch(e[t]);break;case 24:i.branch(e[t-2],e[t]);break;case 25:i.cherryPick(e[t],"",void 0);break;case 26:i.cherryPick(e[t-2],"",e[t]);break;case 27:case 29:i.cherryPick(e[t-2],"","");break;case 28:i.cherryPick(e[t],"",e[t-2]);break;case 30:i.merge(e[t],"","","");break;case 31:i.merge(e[t-2],e[t],"","");break;case 32:i.merge(e[t-2],"",e[t],"");break;case 33:i.merge(e[t-2],"","",e[t]);break;case 34:i.merge(e[t-4],e[t],"",e[t-2]);break;case 35:i.merge(e[t-4],"",e[t],e[t-2]);break;case 36:i.merge(e[t-4],"",e[t-2],e[t]);break;case 37:i.merge(e[t-4],e[t-2],e[t],"");break;case 38:i.merge(e[t-4],e[t-2],"",e[t]);break;case 39:i.merge(e[t-4],e[t],e[t-2],"");break;case 40:i.merge(e[t-6],e[t-4],e[t-2],e[t]);break;case 41:i.merge(e[t-6],e[t],e[t-4],e[t-2]);break;case 42:i.merge(e[t-6],e[t-4],e[t],e[t-2]);break;case 43:i.merge(e[t-6],e[t-2],e[t-4],e[t]);break;case 44:i.merge(e[t-6],e[t],e[t-2],e[t-4]);break;case 45:i.merge(e[t-6],e[t-2],e[t],e[t-4]);break;case 46:i.commit(e[t]);break;case 47:i.commit("","",i.commitType.NORMAL,e[t]);break;case 48:i.commit("","",e[t],"");break;case 49:i.commit("","",e[t],e[t-2]);break;case 50:i.commit("","",e[t-2],e[t]);break;case 51:i.commit("",e[t],i.commitType.NORMAL,"");break;case 52:i.commit("",e[t-2],i.commitType.NORMAL,e[t]);break;case 53:i.commit("",e[t],i.commitType.NORMAL,e[t-2]);break;case 54:i.commit("",e[t-2],e[t],"");break;case 55:i.commit("",e[t],e[t-2],"");break;case 56:i.commit("",e[t-4],e[t-2],e[t]);break;case 57:i.commit("",e[t-4],e[t],e[t-2]);break;case 58:i.commit("",e[t-2],e[t-4],e[t]);break;case 59:i.commit("",e[t],e[t-4],e[t-2]);break;case 60:i.commit("",e[t],e[t-2],e[t-4]);break;case 61:i.commit("",e[t-2],e[t],e[t-4]);break;case 62:i.commit(e[t],"",i.commitType.NORMAL,"");break;case 63:i.commit(e[t],"",i.commitType.NORMAL,e[t-2]);break;case 64:i.commit(e[t-2],"",i.commitType.NORMAL,e[t]);break;case 65:i.commit(e[t-2],"",e[t],"");break;case 66:i.commit(e[t],"",e[t-2],"");break;case 67:i.commit(e[t],e[t-2],i.commitType.NORMAL,"");break;case 68:i.commit(e[t-2],e[t],i.commitType.NORMAL,"");break;case 69:i.commit(e[t-4],"",e[t-2],e[t]);break;case 70:i.commit(e[t-4],"",e[t],e[t-2]);break;case 71:i.commit(e[t-2],"",e[t-4],e[t]);break;case 72:i.commit(e[t],"",e[t-4],e[t-2]);break;case 73:i.commit(e[t],"",e[t-2],e[t-4]);break;case 74:i.commit(e[t-2],"",e[t],e[t-4]);break;case 75:i.commit(e[t-4],e[t],e[t-2],"");break;case 76:i.commit(e[t-4],e[t-2],e[t],"");break;case 77:i.commit(e[t-2],e[t],e[t-4],"");break;case 78:i.commit(e[t],e[t-2],e[t-4],"");break;case 79:i.commit(e[t],e[t-4],e[t-2],"");break;case 80:i.commit(e[t-2],e[t-4],e[t],"");break;case 81:i.commit(e[t-4],e[t],i.commitType.NORMAL,e[t-2]);break;case 82:i.commit(e[t-4],e[t-2],i.commitType.NORMAL,e[t]);break;case 83:i.commit(e[t-2],e[t],i.commitType.NORMAL,e[t-4]);break;case 84:i.commit(e[t],e[t-2],i.commitType.NORMAL,e[t-4]);break;case 85:i.commit(e[t],e[t-4],i.commitType.NORMAL,e[t-2]);break;case 86:i.commit(e[t-2],e[t-4],i.commitType.NORMAL,e[t]);break;case 87:i.commit(e[t-6],e[t-4],e[t-2],e[t]);break;case 88:i.commit(e[t-6],e[t-4],e[t],e[t-2]);break;case 89:i.commit(e[t-6],e[t-2],e[t-4],e[t]);break;case 90:i.commit(e[t-6],e[t],e[t-4],e[t-2]);break;case 91:i.commit(e[t-6],e[t-2],e[t],e[t-4]);break;case 92:i.commit(e[t-6],e[t],e[t-2],e[t-4]);break;case 93:i.commit(e[t-4],e[t-6],e[t-2],e[t]);break;case 94:i.commit(e[t-4],e[t-6],e[t],e[t-2]);break;case 95:i.commit(e[t-2],e[t-6],e[t-4],e[t]);break;case 96:i.commit(e[t],e[t-6],e[t-4],e[t-2]);break;case 97:i.commit(e[t-2],e[t-6],e[t],e[t-4]);break;case 98:i.commit(e[t],e[t-6],e[t-2],e[t-4]);break;case 99:i.commit(e[t],e[t-4],e[t-2],e[t-6]);break;case 100:i.commit(e[t-2],e[t-4],e[t],e[t-6]);break;case 101:i.commit(e[t],e[t-2],e[t-4],e[t-6]);break;case 102:i.commit(e[t-2],e[t],e[t-4],e[t-6]);break;case 103:i.commit(e[t-4],e[t-2],e[t],e[t-6]);break;case 104:i.commit(e[t-4],e[t],e[t-2],e[t-6]);break;case 105:i.commit(e[t-2],e[t-4],e[t-6],e[t]);break;case 106:i.commit(e[t],e[t-4],e[t-6],e[t-2]);break;case 107:i.commit(e[t-2],e[t],e[t-6],e[t-4]);break;case 108:i.commit(e[t],e[t-2],e[t-6],e[t-4]);break;case 109:i.commit(e[t-4],e[t-2],e[t-6],e[t]);break;case 110:i.commit(e[t-4],e[t],e[t-6],e[t-2]);break;case 111:this.$="";break;case 112:this.$=e[t];break;case 113:this.$=i.commitType.NORMAL;break;case 114:this.$=i.commitType.REVERSE;break;case 115:this.$=i.commitType.HIGHLIGHT;break;case 118:i.parseDirective("%%{","open_directive");break;case 119:i.parseDirective(e[t],"type_directive");break;case 120:e[t]=e[t].trim().replace(/'/g,'"'),i.parseDirective(e[t],"arg_directive");break;case 121:i.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:n,8:o,14:h,46:8,50:a,55:c},{1:[3]},{3:10,4:2,5:3,6:n,8:o,14:h,46:8,50:a,55:c},{3:11,4:2,5:3,6:n,8:o,14:h,46:8,50:a,55:c},{7:12,8:f,9:[1,13],10:[1,14],11:15,14:p},r(T,[2,124]),r(T,[2,125]),r(T,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:f,11:15,14:p},{9:[1,21]},r(E,[2,10],{12:22,13:[1,23]}),r(m,[2,9]),{9:[1,25],48:24,53:k},r([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:f,11:15,14:p},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},r(m,[2,8]),r(x,[2,116]),{49:45,52:[1,46]},r(x,[2,121]),{1:[2,4]},{8:[1,47]},r(E,[2,11]),{4:48,8:o,14:h,55:c},r(E,[2,13]),r(s,[2,14]),r(s,[2,15]),r(s,[2,16]),{21:[1,49]},{23:[1,50]},r(s,[2,19]),r(s,[2,20]),r(s,[2,21]),{28:51,34:L,54:w},r(s,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:L,54:w},{33:[1,61],35:[1,62]},{28:63,34:L,54:w},{48:64,53:k},{53:[2,120]},{1:[2,5]},r(E,[2,12]),r(s,[2,17]),r(s,[2,18]),r(s,[2,22]),r(D,[2,122]),r(D,[2,123]),r(s,[2,46]),{34:[1,65]},{39:66,43:y,44:d,45:_},{34:[1,70]},{34:[1,71]},r(s,[2,112]),r(s,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},r(s,[2,23],{30:[1,78]}),r(x,[2,117]),r(s,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),r(s,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),r(G,[2,113]),r(G,[2,114]),r(G,[2,115]),r(s,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),r(s,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:y,44:d,45:_},{34:[1,93]},r(s,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:y,44:d,45:_},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:y,44:d,45:_},{34:[1,106]},{34:[1,107]},{39:108,43:y,44:d,45:_},{34:[1,109]},r(s,[2,31],{35:[1,111],38:[1,110]}),r(s,[2,32],{33:[1,113],35:[1,112]}),r(s,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},r(s,[2,24]),r(s,[2,49],{33:[1,120],42:[1,121]}),r(s,[2,53],{38:[1,122],42:[1,123]}),r(s,[2,63],{33:[1,125],38:[1,124]}),r(s,[2,50],{33:[1,126],42:[1,127]}),r(s,[2,55],{35:[1,128],42:[1,129]}),r(s,[2,66],{33:[1,131],35:[1,130]}),r(s,[2,52],{38:[1,132],42:[1,133]}),r(s,[2,54],{35:[1,134],42:[1,135]}),r(s,[2,67],{35:[1,137],38:[1,136]}),r(s,[2,64],{33:[1,139],38:[1,138]}),r(s,[2,65],{33:[1,141],35:[1,140]}),r(s,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:y,44:d,45:_},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:y,44:d,45:_},r(s,[2,26]),r(s,[2,27]),r(s,[2,28]),r(s,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:y,44:d,45:_},{34:[1,153]},{39:154,43:y,44:d,45:_},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:y,44:d,45:_},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:y,44:d,45:_},{34:[1,167]},{39:168,43:y,44:d,45:_},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:y,44:d,45:_},{34:[1,173]},r(s,[2,37],{35:[1,174]}),r(s,[2,38],{38:[1,175]}),r(s,[2,36],{33:[1,176]}),r(s,[2,39],{35:[1,177]}),r(s,[2,34],{38:[1,178]}),r(s,[2,35],{33:[1,179]}),r(s,[2,60],{42:[1,180]}),r(s,[2,73],{33:[1,181]}),r(s,[2,61],{42:[1,182]}),r(s,[2,84],{38:[1,183]}),r(s,[2,74],{33:[1,184]}),r(s,[2,83],{38:[1,185]}),r(s,[2,59],{42:[1,186]}),r(s,[2,72],{33:[1,187]}),r(s,[2,58],{42:[1,188]}),r(s,[2,78],{35:[1,189]}),r(s,[2,71],{33:[1,190]}),r(s,[2,77],{35:[1,191]}),r(s,[2,57],{42:[1,192]}),r(s,[2,85],{38:[1,193]}),r(s,[2,56],{42:[1,194]}),r(s,[2,79],{35:[1,195]}),r(s,[2,80],{35:[1,196]}),r(s,[2,86],{38:[1,197]}),r(s,[2,70],{33:[1,198]}),r(s,[2,81],{38:[1,199]}),r(s,[2,69],{33:[1,200]}),r(s,[2,75],{35:[1,201]}),r(s,[2,76],{35:[1,202]}),r(s,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:y,44:d,45:_},{34:[1,206]},{34:[1,207]},{39:208,43:y,44:d,45:_},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:y,44:d,45:_},{34:[1,214]},{39:215,43:y,44:d,45:_},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:y,44:d,45:_},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:y,44:d,45:_},{34:[1,228]},{39:229,43:y,44:d,45:_},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:y,44:d,45:_},r(s,[2,40]),r(s,[2,42]),r(s,[2,41]),r(s,[2,43]),r(s,[2,45]),r(s,[2,44]),r(s,[2,101]),r(s,[2,102]),r(s,[2,99]),r(s,[2,100]),r(s,[2,104]),r(s,[2,103]),r(s,[2,108]),r(s,[2,107]),r(s,[2,106]),r(s,[2,105]),r(s,[2,110]),r(s,[2,109]),r(s,[2,98]),r(s,[2,97]),r(s,[2,96]),r(s,[2,95]),r(s,[2,93]),r(s,[2,94]),r(s,[2,92]),r(s,[2,91]),r(s,[2,90]),r(s,[2,89]),r(s,[2,87]),r(s,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(l,u){if(!u.recoverable){var g=new Error(l);throw g.hash=u,g}this.trace(l)},parse:function(l){var g=[0],i=[],v=[null],e=[],Z=this.table,t="",ie=0,ve=0,it=e.slice.call(arguments,1),O=Object.create(this.lexer),U={yy:{}};for(var me in this.yy)Object.prototype.hasOwnProperty.call(this.yy,me)&&(U.yy[me]=this.yy[me]);O.setInput(l,U.yy),U.yy.lexer=O,U.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var ue=O.yylloc;e.push(ue);var B,st=O.options&&O.options.ranges;this.parseError="function"==typeof U.yy.parseError?U.yy.parseError:Object.getPrototypeOf(this).parseError;for(var S,F,N,pe,se,V,ne,W={};;){if(this.defaultActions[F=g[g.length-1]]?N=this.defaultActions[F]:((null===S||typeof S>"u")&&(B=void 0,"number"!=typeof(B=i.pop()||O.lex()||1)&&(B instanceof Array&&(B=(i=B).pop()),B=this.symbols_[B]||B),S=B),N=Z[F]&&Z[F][S]),typeof N>"u"||!N.length||!N[0]){var fe;for(se in ne=[],Z[F])this.terminals_[se]&&se>2&&ne.push("'"+this.terminals_[se]+"'");fe=O.showPosition?"Parse error on line "+(ie+1)+":\n"+O.showPosition()+"\nExpecting "+ne.join(", ")+", got '"+(this.terminals_[S]||S)+"'":"Parse error on line "+(ie+1)+": Unexpected "+(1==S?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(fe,{text:O.match,token:this.terminals_[S]||S,line:O.yylineno,loc:ue,expected:ne})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+S);switch(N[0]){case 1:g.push(S),v.push(O.yytext),e.push(O.yylloc),g.push(N[1]),S=null,ve=O.yyleng,t=O.yytext,ie=O.yylineno,ue=O.yylloc;break;case 2:if(W.$=v[v.length-(V=this.productions_[N[1]][1])],W._$={first_line:e[e.length-(V||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(V||1)].first_column,last_column:e[e.length-1].last_column},st&&(W._$.range=[e[e.length-(V||1)].range[0],e[e.length-1].range[1]]),typeof(pe=this.performAction.apply(W,[t,ve,ie,U.yy,N[1],v,e].concat(it)))<"u")return pe;V&&(g=g.slice(0,-1*V*2),v=v.slice(0,-1*V),e=e.slice(0,-1*V)),g.push(this.productions_[N[1]][0]),v.push(W.$),e.push(W._$),g.push(Z[g[g.length-2]][g[g.length-1]]);break;case 3:return!0}}return!0}};function he(){this.yy={}}return le.lexer={EOF:1,parseError:function(u,g){if(!this.yy.parser)throw new Error(u);this.yy.parser.parseError(u,g)},setInput:function(l,u){return this.yy=u||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var l=this._input[0];return this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l,l.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},unput:function(l){var u=l.length,g=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var v=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===i.length?this.yylloc.first_column:0)+i[i.length-g.length].length-g[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(l){this.unput(this.match.slice(l))},pastInput:function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var l=this.pastInput(),u=new Array(l.length+1).join("-");return l+this.upcomingInput()+"\n"+u+"^"},test_match:function(l,u){var g,i,v;if(this.options.backtrack_lexer&&(v={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(v.yylloc.range=this.yylloc.range.slice(0))),(i=l[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+l[0].length},this.yytext+=l[0],this.match+=l[0],this.matches=l,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(l[0].length),this.matched+=l[0],g=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),g)return g;if(this._backtrack){for(var e in v)this[e]=v[e];return!1}return!1},next:function(){if(this.done)return this.EOF;var l,u,g,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var v=this._currentRules(),e=0;eu[0].length)){if(u=g,i=e,this.options.backtrack_lexer){if(!1!==(l=this.test_match(g,v[e])))return l;if(this._backtrack){u=!1;continue}return!1}if(!this.options.flex)break}return u?!1!==(l=this.test_match(u,v[i]))&&l:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(u){this.conditionStack.push(u)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(u){return(u=this.conditionStack.length-1-Math.abs(u||0))>=0?this.conditionStack[u]:"INITIAL"},pushState:function(u){this.begin(u)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(u,g,i,v){switch(i){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 38:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}},he.prototype=le,le.Parser=he,new he}());ae.parser=ae;const Ce=ae;let $=(0,b.g)().gitGraph.mainBranchName,Le=(0,b.g)().gitGraph.mainBranchOrder,M={},A=null,J={};J[$]={name:$,order:Le};let R={};R[$]=A;let C=$,be="LR",K=0;function ce(){return(0,q.o)({length:7})}let de={};const ke=function(r){if(r=b.d.sanitizeText(r,(0,b.g)()),void 0===R[r]){let n=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+r+'")');throw n.hash={text:"checkout "+r,token:"checkout "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+r+'"']},n}C=r,A=M[R[C]]};function _e(r,n,o){const h=r.indexOf(n);-1===h?r.push(o):r.splice(h,1,o)}function xe(r){const n=r.reduce((a,c)=>a.seq>c.seq?a:c,r[0]);let o="";r.forEach(function(a){o+=a===n?"\t*":"\t|"});const h=[o,n.id,n.seq];for(let a in R)R[a]===n.id&&h.push(a);if(b.l.debug(h.join(" ")),n.parents&&2==n.parents.length)_e(r,n,M[n.parents[0]]),r.push(M[n.parents[1]]);else{if(0==n.parents.length)return;_e(r,n,M[n.parents])}r=function Ae(r,n){const o=Object.create(null);return r.reduce((h,a)=>{const c=n(a);return o[c]||(o[c]=!0,h.push(a)),h},[])}(r,a=>a.id),xe(r)}const ye=function(){const r=Object.keys(M).map(function(n){return M[n]});return r.forEach(function(n){b.l.debug(n.id)}),r.sort((n,o)=>n.seq-o.seq),r},Q={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4};let X={};let P={},ee={},te=[],re=0;const Ee=(r,n,o)=>{const h=(0,q.q)().gitGraph,a=r.append("g").attr("class","commit-bullets"),c=r.append("g").attr("class","commit-labels");let f=0;Object.keys(n).sort((E,m)=>n[E].seq-n[m].seq).forEach(E=>{const m=n[E],k=P[m.branch].pos,x=f+10;if(o){let s,L=void 0!==m.customType&&""!==m.customType?m.customType:m.type;switch(L){case 0:default:s="commit-normal";break;case 1:s="commit-reverse";break;case 2:s="commit-highlight";break;case 3:s="commit-merge";break;case 4:s="commit-cherry-pick"}if(2===L){const w=a.append("rect");w.attr("x",x-10),w.attr("y",k-10),w.attr("height",20),w.attr("width",20),w.attr("class",`commit ${m.id} commit-highlight${P[m.branch].index%8} ${s}-outer`),a.append("rect").attr("x",x-6).attr("y",k-6).attr("height",12).attr("width",12).attr("class",`commit ${m.id} commit${P[m.branch].index%8} ${s}-inner`)}else if(4===L)a.append("circle").attr("cx",x).attr("cy",k).attr("r",10).attr("class",`commit ${m.id} ${s}`),a.append("circle").attr("cx",x-3).attr("cy",k+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${m.id} ${s}`),a.append("circle").attr("cx",x+3).attr("cy",k+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${m.id} ${s}`),a.append("line").attr("x1",x+3).attr("y1",k+1).attr("x2",x).attr("y2",k-5).attr("stroke","#fff").attr("class",`commit ${m.id} ${s}`),a.append("line").attr("x1",x-3).attr("y1",k+1).attr("x2",x).attr("y2",k-5).attr("stroke","#fff").attr("class",`commit ${m.id} ${s}`);else{const w=a.append("circle");if(w.attr("cx",x),w.attr("cy",k),w.attr("r",3===m.type?9:10),w.attr("class",`commit ${m.id} commit${P[m.branch].index%8}`),3===L){const D=a.append("circle");D.attr("cx",x),D.attr("cy",k),D.attr("r",6),D.attr("class",`commit ${s} ${m.id} commit${P[m.branch].index%8}`)}1===L&&a.append("path").attr("d",`M ${x-5},${k-5}L${x+5},${k+5}M${x-5},${k+5}L${x+5},${k-5}`).attr("class",`commit ${s} ${m.id} commit${P[m.branch].index%8}`)}}if(ee[m.id]={x:f+10,y:k},o){if(4!==m.type&&(m.customId&&3===m.type||3!==m.type)&&h.showCommitLabel){const w=c.append("g"),D=w.insert("rect").attr("class","commit-label-bkg"),y=w.append("text").attr("x",f).attr("y",k+25).attr("class","commit-label").text(m.id);let d=y.node().getBBox();D.attr("x",f+10-d.width/2-2).attr("y",k+13.5).attr("width",d.width+4).attr("height",d.height+4),y.attr("x",f+10-d.width/2),h.rotateCommitLabel&&w.attr("transform","translate("+(-7.5-(d.width+10)/25*9.5)+", "+(10+d.width/25*8.5)+") rotate(-45, "+f+", "+k+")")}if(m.tag){const w=c.insert("polygon"),D=c.append("circle"),y=c.append("text").attr("y",k-16).attr("class","tag-label").text(m.tag);let d=y.node().getBBox();y.attr("x",f+10-d.width/2);const _=d.height/2,G=k-19.2;w.attr("class","tag-label-bkg").attr("points",`\n ${f-d.width/2-2},${G+2}\n ${f-d.width/2-2},${G-2}\n ${f+10-d.width/2-4},${G-_-2}\n ${f+10+d.width/2+4},${G-_-2}\n ${f+10+d.width/2+4},${G+_+2}\n ${f+10-d.width/2-4},${G+_+2}`),D.attr("cx",f-d.width/2+2).attr("cy",G).attr("r",1.5).attr("class","tag-hole")}}f+=50,f>re&&(re=f)})},oe=(r,n,o=0)=>{const h=r+Math.abs(r-n)/2;if(o>5)return h;if(te.every(f=>Math.abs(f-h)>=10))return te.push(h),h;const c=Math.abs(r-n);return oe(r,n-c/5,o+1)},et={parser:Ce,db:{parseDirective:function(r,n,o){we.m.parseDirective(this,r,n,o)},getConfig:()=>(0,b.g)().gitGraph,setDirection:function(r){be=r},setOptions:function(r){b.l.debug("options str",r),r=(r=r&&r.trim())||"{}";try{de=JSON.parse(r)}catch(n){b.l.error("error while parsing gitGraph options",n.message)}},getOptions:function(){return de},commit:function(r,n,o,h){b.l.debug("Entering commit:",r,n,o,h),n=b.d.sanitizeText(n,(0,b.g)()),r=b.d.sanitizeText(r,(0,b.g)()),h=b.d.sanitizeText(h,(0,b.g)());const a={id:n||K+"-"+ce(),message:r,seq:K++,type:o||Q.NORMAL,tag:h||"",parents:null==A?[]:[A.id],branch:C};A=a,M[a.id]=a,R[C]=a.id,b.l.debug("in pushCommit "+a.id)},branch:function(r,n){if(r=b.d.sanitizeText(r,(0,b.g)()),void 0!==R[r]){let o=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+r+'")');throw o.hash={text:"branch "+r,token:"branch "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+r+'"']},o}R[r]=null!=A?A.id:null,J[r]={name:r,order:n?parseInt(n,10):null},ke(r),b.l.debug("in createBranch")},merge:function(r,n,o,h){r=b.d.sanitizeText(r,(0,b.g)()),n=b.d.sanitizeText(n,(0,b.g)());const a=M[R[C]],c=M[R[r]];if(C===r){let p=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw p.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},p}if(void 0===a||!a){let p=new Error('Incorrect usage of "merge". Current branch ('+C+")has no commits");throw p.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},p}if(void 0===R[r]){let p=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw p.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+r]},p}if(void 0===c||!c){let p=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw p.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},p}if(a===c){let p=new Error('Incorrect usage of "merge". Both branches have same head');throw p.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},p}if(n&&void 0!==M[n]){let p=new Error('Incorrect usage of "merge". Commit with id:'+n+" already exists, use different custom Id");throw p.hash={text:"merge "+r+n+o+h,token:"merge "+r+n+o+h,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+r+" "+n+"_UNIQUE "+o+" "+h]},p}const f={id:n||K+"-"+ce(),message:"merged branch "+r+" into "+C,seq:K++,parents:[null==A?null:A.id,R[r]],branch:C,type:Q.MERGE,customType:o,customId:!!n,tag:h||""};A=f,M[f.id]=f,R[C]=f.id,b.l.debug(R),b.l.debug("in mergeBranch")},cherryPick:function(r,n,o){if(b.l.debug("Entering cherryPick:",r,n,o),r=b.d.sanitizeText(r,(0,b.g)()),n=b.d.sanitizeText(n,(0,b.g)()),o=b.d.sanitizeText(o,(0,b.g)()),!r||void 0===M[r]){let c=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw c.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},c}let h=M[r],a=h.branch;if(h.type===Q.MERGE){let c=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw c.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},c}if(!n||void 0===M[n]){if(a===C){let p=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw p.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},p}const c=M[R[C]];if(void 0===c||!c){let p=new Error('Incorrect usage of "cherry-pick". Current branch ('+C+")has no commits");throw p.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},p}const f={id:K+"-"+ce(),message:"cherry-picked "+h+" into "+C,seq:K++,parents:[null==A?null:A.id,h.id],branch:C,type:Q.CHERRY_PICK,tag:o??"cherry-pick:"+h.id};A=f,M[f.id]=f,R[C]=f.id,b.l.debug(R),b.l.debug("in cherryPick")}},checkout:ke,prettyPrint:function(){b.l.debug(M),xe([ye()[0]])},clear:function(){M={},A=null;let r=(0,b.g)().gitGraph.mainBranchName,n=(0,b.g)().gitGraph.mainBranchOrder;R={},R[r]=null,J={},J[r]={name:r,order:n},C=r,K=0,(0,z.f)()},getBranchesAsObjArray:function(){return Object.values(J).map((n,o)=>null!==n.order?n:{...n,order:parseFloat(`0.${o}`,10)}).sort((n,o)=>n.order-o.order).map(({name:n})=>({name:n}))},getBranches:function(){return R},getCommits:function(){return M},getCommitsArray:ye,getCurrentBranch:function(){return C},getDirection:function(){return be},getHead:function(){return A},setAccTitle:z.s,getAccTitle:z.g,getAccDescription:z.a,setAccDescription:z.b,setDiagramTitle:z.d,getDiagramTitle:z.e,commitType:Q},renderer:{draw:function(r,n,o,h){P={},ee={},X={},re=0,te=[];const a=(0,q.q)(),c=a.gitGraph;b.l.debug("in gitgraph renderer",r+"\n","id:",n,o),X=h.db.getCommits();const f=h.db.getBranchesAsObjArray();let p=0;f.forEach((E,m)=>{P[E.name]={pos:p,index:m},p+=50+(c.rotateCommitLabel?40:0)});const T=(0,Me.Ys)(`[id="${n}"]`);Ee(T,X,!1),c.showBranches&&((r,n)=>{const o=(0,q.q)().gitGraph,h=r.append("g");n.forEach((a,c)=>{const f=c%8,p=P[a.name].pos,T=h.append("line");T.attr("x1",0),T.attr("y1",p),T.attr("x2",re),T.attr("y2",p),T.attr("class","branch branch"+f),te.push(p);const m=(r=>{const n=document.createElementNS("http://www.w3.org/2000/svg","text");let o=[];o="string"==typeof r?r.split(/\\n|\n|/gi):Array.isArray(r)?r:[];for(const h of o){const a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),a.setAttribute("class","row"),a.textContent=h.trim(),n.appendChild(a)}return n})(a.name),k=h.insert("rect"),s=h.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+f);s.node().appendChild(m);let L=m.getBBox();k.attr("class","branchLabelBkg label"+f).attr("rx",4).attr("ry",4).attr("x",-L.width-4-(!0===o.rotateCommitLabel?30:0)).attr("y",-L.height/2+8).attr("width",L.width+18).attr("height",L.height+4),s.attr("transform","translate("+(-L.width-14-(!0===o.rotateCommitLabel?30:0))+", "+(p-L.height/2-1)+")"),k.attr("transform","translate(-19, "+(p-L.height/2)+")")})})(T,f),((r,n)=>{const o=r.append("g").attr("class","commit-arrows");Object.keys(n).forEach(h=>{const a=n[h];a.parents&&a.parents.length>0&&a.parents.forEach(c=>{((r,n,o,h)=>{const a=ee[n.id],c=ee[o.id],f=((r,n,o)=>Object.keys(o).filter(c=>o[c].branch===n.branch&&o[c].seq>r.seq&&o[c].seq0)(n,o,h);let x,p="",T="",E=0,m=0,k=P[o.branch].index;if(f){p="A 10 10, 0, 0, 0,",T="A 10 10, 0, 0, 1,",E=10,m=10,k=P[o.branch].index;const s=a.yc.y&&(p="A 20 20, 0, 0, 0,",E=20,m=20,k=P[n.branch].index,x=`M ${a.x} ${a.y} L ${c.x-E} ${a.y} ${p} ${c.x} ${a.y-m} L ${c.x} ${c.y}`),a.y===c.y&&(k=P[n.branch].index,x=`M ${a.x} ${a.y} L ${a.x} ${c.y-E} ${p} ${a.x+m} ${c.y} L ${c.x} ${c.y}`);r.append("path").attr("d",x).attr("class","arrow arrow"+k%8)})(o,n[c],a,n)})})})(T,X),Ee(T,X,!0),q.u.insertTitle(T,"gitTitleText",c.titleTopMargin,h.db.getDiagramTitle()),(0,q.s)(void 0,T,c.diagramPadding,c.useMaxWidth??a.useMaxWidth)}},styles:r=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map(n=>`\n .branch-label${n} { fill: ${r["gitBranchLabel"+n]}; }\n .commit${n} { stroke: ${r["git"+n]}; fill: ${r["git"+n]}; }\n .commit-highlight${n} { stroke: ${r["gitInv"+n]}; fill: ${r["gitInv"+n]}; }\n .label${n} { fill: ${r["git"+n]}; }\n .arrow${n} { stroke: ${r["git"+n]}; }\n `).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${r.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelColor};}\n .commit-label-bkg { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${r.tagLabelFontSize}; fill: ${r.tagLabelColor};}\n .tag-label-bkg { fill: ${r.tagLabelBackground}; stroke: ${r.tagLabelBorder}; }\n .tag-hole { fill: ${r.textColor}; }\n\n .commit-merge {\n stroke: ${r.primaryColor};\n fill: ${r.primaryColor};\n }\n .commit-reverse {\n stroke: ${r.primaryColor};\n fill: ${r.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${r.primaryColor};\n fill: ${r.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${r.textColor};\n }\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/736.6667486e1f659685.js b/pkg/apiserver-impl/ui/736.6667486e1f659685.js new file mode 100644 index 000000000..22e792b65 --- /dev/null +++ b/pkg/apiserver-impl/ui/736.6667486e1f659685.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[736],{2736:(Dt,nt,I)=>{I.r(nt),I.d(nt,{diagram:()=>jt});var kt=I(9111),it=I(6012),V=I(5703),E=I(855),Et=I(1775),wt=I(5847),St=I(1223),Mt=I(8674),Q=(I(6780),I(2735),I(1764),function(){var n=function(v,r,a,h){for(a=a||{},h=v.length;h--;a[v[h]]=r);return a},t=[1,2],e=[1,5],s=[6,9,11,17,18,20,22,23,26,27,28],i=[1,15],o=[1,16],c=[1,17],f=[1,18],d=[1,19],y=[1,23],m=[1,24],w=[1,27],b=[4,6,9,11,17,18,20,22,23,26,27,28],x={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(r,a,h,u,g,l,T){var _=l.length-1;switch(g){case 1:return l[_-1];case 3:case 7:case 8:this.$=[];break;case 4:l[_-1].push(l[_]),this.$=l[_-1];break;case 5:case 6:this.$=l[_];break;case 11:u.getCommonDb().setDiagramTitle(l[_].substr(6)),this.$=l[_].substr(6);break;case 12:this.$=l[_].trim(),u.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=l[_].trim(),u.getCommonDb().setAccDescription(this.$);break;case 15:u.addSection(l[_].substr(8)),this.$=l[_].substr(8);break;case 19:u.addTask(l[_],0,""),this.$=l[_];break;case 20:u.addEvent(l[_].substr(2)),this.$=l[_];break;case 21:u.parseDirective("%%{","open_directive");break;case 22:u.parseDirective(l[_],"type_directive");break;case 23:l[_]=l[_].trim().replace(/'/g,'"'),u.parseDirective(l[_],"arg_directive");break;case 24:u.parseDirective("}%%","close_directive","timeline")}},table:[{3:1,4:t,7:3,12:4,28:e},{1:[3]},n(s,[2,3],{5:6}),{3:7,4:t,7:3,12:4,28:e},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:i,18:o,20:c,22:f,23:d,24:20,25:21,26:y,27:m,28:e},{1:[2,2]},{14:25,15:[1,26],31:w},n([15,31],[2,22]),n(s,[2,8],{1:[2,1]}),n(s,[2,4]),{7:22,10:28,12:4,17:i,18:o,20:c,22:f,23:d,24:20,25:21,26:y,27:m,28:e},n(s,[2,6]),n(s,[2,7]),n(s,[2,11]),{19:[1,29]},{21:[1,30]},n(s,[2,14]),n(s,[2,15]),n(s,[2,16]),n(s,[2,17]),n(s,[2,18]),n(s,[2,19]),n(s,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},n(s,[2,5]),n(s,[2,12]),n(s,[2,13]),n(b,[2,9]),{14:34,31:w},{31:[2,23]},{11:[1,35]},n(b,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(r,a){if(!a.recoverable){var h=new Error(r);throw h.hash=a,h}this.trace(r)},parse:function(r){var h=[0],u=[],g=[null],l=[],T=this.table,_="",A=0,B=0,R=l.slice.call(arguments,1),p=Object.create(this.lexer),M={yy:{}};for(var N in this.yy)Object.prototype.hasOwnProperty.call(this.yy,N)&&(M.yy[N]=this.yy[N]);p.setInput(r,M.yy),M.yy.lexer=p,M.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var $=p.yylloc;l.push($);var O,H=p.options&&p.options.ranges;this.parseError="function"==typeof M.yy.parseError?M.yy.parseError:Object.getPrototypeOf(this).parseError;for(var k,z,P,tt,G,C,J,K={};;){if(this.defaultActions[z=h[h.length-1]]?P=this.defaultActions[z]:((null===k||typeof k>"u")&&(O=void 0,"number"!=typeof(O=u.pop()||p.lex()||1)&&(O instanceof Array&&(O=(u=O).pop()),O=this.symbols_[O]||O),k=O),P=T[z]&&T[z][k]),typeof P>"u"||!P.length||!P[0]){var et;for(G in J=[],T[z])this.terminals_[G]&&G>2&&J.push("'"+this.terminals_[G]+"'");et=p.showPosition?"Parse error on line "+(A+1)+":\n"+p.showPosition()+"\nExpecting "+J.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(A+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(et,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:$,expected:J})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+k);switch(P[0]){case 1:h.push(k),g.push(p.yytext),l.push(p.yylloc),h.push(P[1]),k=null,B=p.yyleng,_=p.yytext,A=p.yylineno,$=p.yylloc;break;case 2:if(K.$=g[g.length-(C=this.productions_[P[1]][1])],K._$={first_line:l[l.length-(C||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(C||1)].first_column,last_column:l[l.length-1].last_column},H&&(K._$.range=[l[l.length-(C||1)].range[0],l[l.length-1].range[1]]),typeof(tt=this.performAction.apply(K,[_,B,A,M.yy,P[1],g,l].concat(R)))<"u")return tt;C&&(h=h.slice(0,-1*C*2),g=g.slice(0,-1*C),l=l.slice(0,-1*C)),h.push(this.productions_[P[1]][0]),g.push(K.$),l.push(K._$),h.push(T[h[h.length-2]][h[h.length-1]]);break;case 3:return!0}}return!0}};function L(){this.yy={}}return x.lexer={EOF:1,parseError:function(a,h){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,h)},setInput:function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];return this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,r.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var a=r.length,h=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var g=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===u.length?this.yylloc.first_column:0)+u[u.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+"\n"+a+"^"},test_match:function(r,a){var h,u,g;if(this.options.backtrack_lexer&&(g={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(g.yylloc.range=this.yylloc.range.slice(0))),(u=r[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],h=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var l in g)this[l]=g[l];return!1}return!1},next:function(){if(this.done)return this.EOF;var r,a,h,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var g=this._currentRules(),l=0;la[0].length)){if(a=h,u=l,this.options.backtrack_lexer){if(!1!==(r=this.test_match(h,g[l])))return r;if(this._backtrack){a=!1;continue}return!1}if(!this.options.flex)break}return a?!1!==(r=this.test_match(a,g[u]))&&r:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(a,h,u,g){switch(u){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}},L.prototype=x,x.Parser=L,new L}());Q.parser=Q;const Tt=Q;let F="",st=0;const Y=[],D=[],U=[],rt=()=>it.c,at=(n,t,e)=>{(0,kt.p)(globalThis,n,t,e)},lt=function(){Y.length=0,D.length=0,F="",U.length=0,(0,it.f)()},ct=function(n){F=n,Y.push(n)},ot=function(){return Y},ht=function(){let n=yt(),e=0;for(;!n&&e<100;)n=yt(),e++;return D.push(...U),D},dt=function(n,t,e){const s={id:st++,section:F,type:F,task:n,score:t||0,events:e?[e]:[]};U.push(s)},ut=function(n){U.find(e=>e.id===st-1).events.push(n)},pt=function(n){D.push({section:F,type:F,description:n,task:n,classes:[]})},yt=function(){const n=function(e){return U[e].processed};let t=!0;for(const[e,s]of U.entries())n(e),t=t&&s.processed;return t},It=Object.freeze(Object.defineProperty({__proto__:null,addEvent:ut,addSection:ct,addTask:dt,addTaskOrg:pt,clear:lt,default:{clear:lt,getCommonDb:rt,addSection:ct,getSections:ot,getTasks:ht,addTask:dt,addTaskOrg:pt,addEvent:ut,parseDirective:at},getCommonDb:rt,getSections:ot,getTasks:ht,parseDirective:at},Symbol.toStringTag,{value:"Module"}));function mt(n,t){n.each(function(){var i,e=(0,V.Ys)(this),s=e.text().split(/(\s+|
)/).reverse(),o=[],f=e.attr("y"),d=parseFloat(e.attr("dy")),y=e.text(null).append("tspan").attr("x",0).attr("y",f).attr("dy",d+"em");for(let m=0;mt||"
"===i)&&(o.pop(),y.text(o.join(" ").trim()),o="
"===i?[""]:[i],y=e.append("tspan").attr("x",0).attr("y",f).attr("dy","1.1em").text(i))})}const W_drawNode=function(n,t,e,s){const i=e%12-1,o=n.append("g");t.section=i,o.attr("class",(t.class?t.class+" ":"")+"timeline-node section-"+i);const c=o.append("g"),f=o.append("g"),y=f.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(mt,t.width).node().getBBox(),m=s.fontSize&&s.fontSize.replace?s.fontSize.replace("px",""):s.fontSize;return t.height=y.height+1.1*m*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,f.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),function(n,t,e){n.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${10-t.height} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),n.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)}(c,t,i),t},W_getVirtualNodeHeight=function(n,t,e){const s=n.append("g"),o=s.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(mt,t.width).node().getBBox(),c=e.fontSize&&e.fontSize.replace?e.fontSize.replace("px",""):e.fontSize;return s.remove(),o.height+1.1*c*.5+t.padding},xt=function(n,t,e,s,i,o,c,f,d,y,m){var w;for(const b of t){const x={descr:b.task,section:e,number:e,width:150,padding:20,maxHeight:o};E.l.debug("taskNode",x);const S=n.append("g").attr("class","taskWrapper"),v=W_drawNode(S,x,e,c).height;if(E.l.debug("taskHeight after draw",v),S.attr("transform",`translate(${s}, ${i})`),o=Math.max(o,v),b.events){const r=n.append("g").attr("class","lineWrapper");let a=o;a+=Ft(n,b.events,e,s,i+=100,c),i-=100,r.append("line").attr("x1",s+95).attr("y1",i+o).attr("x2",s+95).attr("y2",i+o+(m?o:y)+d+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}s+=200,m&&(null==(w=c.timeline)||!w.disableMulticolor)&&e++}i-=10},Ft=function(n,t,e,s,i,o){let c=0;const f=i;i+=100;for(const d of t){const y={descr:d,section:e,number:e,width:150,padding:20,maxHeight:50};E.l.debug("eventNode",y);const m=n.append("g").attr("class","eventWrapper"),b=W_drawNode(m,y,e,o).height;c+=b,m.attr("transform",`translate(${s}, ${i})`),i=i+10+b}return i=f,c},jt={db:It,renderer:{setConf:()=>{},draw:function(n,t,e,s){var i,o,c,f;const d=(0,E.g)(),y=d.leftMargin??50;null==(o=(i=s.db).clear)||o.call(i),s.parser.parse(n+"\n"),E.l.debug("timeline",s.db);const m=d.securityLevel;let w;"sandbox"===m&&(w=(0,V.Ys)("#i"+t));const x=(0,V.Ys)("sandbox"===m?w.nodes()[0].contentDocument.body:"body").select("#"+t);x.append("g");const S=s.db.getTasks(),L=s.db.getCommonDb().getDiagramTitle();E.l.debug("task",S),function(n){n.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}(x);const v=s.db.getSections();E.l.debug("sections",v);let r=0,a=0,h=0,u=0,g=50+y,l=50;u=50;let T=0,_=!0;v.forEach(function(R){const M=W_getVirtualNodeHeight(x,{number:T,descr:R,section:T,width:150,padding:20,maxHeight:r},d);E.l.debug("sectionHeight before draw",M),r=Math.max(r,M+20)});let A=0,B=0;E.l.debug("tasks.length",S.length);for(const[R,p]of S.entries()){const N=W_getVirtualNodeHeight(x,{number:R,descr:p,section:p.section,width:150,padding:20,maxHeight:a},d);E.l.debug("taskHeight before draw",N),a=Math.max(a,N+20),A=Math.max(A,p.events.length);let $=0;for(let H=0;H0?v.forEach(R=>{const p=S.filter(H=>H.section===R),M={number:T,descr:R,section:T,width:200*Math.max(p.length,1)-50,padding:20,maxHeight:r};E.l.debug("sectionNode",M);const N=x.append("g"),$=W_drawNode(N,M,T,d);E.l.debug("sectionNode output",$),N.attr("transform",`translate(${g}, 50)`),l+=r+50,p.length>0&&xt(x,p,T,g,l,a,d,0,B,r,!1),g+=200*Math.max(p.length,1),l=50,T++}):(_=!1,xt(x,S,T,g,l,a,d,0,B,r,!0));const j=x.node().getBBox();E.l.debug("bounds",j),L&&x.append("text").text(L).attr("x",j.width/2-y).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),h=_?r+a+150:a+100,x.append("g").attr("class","lineWrapper").append("line").attr("x1",y).attr("y1",h).attr("x2",j.width+3*y).attr("y2",h).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,Et.s)(void 0,x,(null==(c=d.timeline)?void 0:c.padding)??50,(null==(f=d.timeline)?void 0:f.useMaxWidth)??!1)}},parser:Tt,styles:n=>`\n .edge {\n stroke-width: 3;\n }\n ${(n=>{let t="";for(let e=0;e{P.r(it),P.d(it,{diagram:()=>Bt});var ft=P(4169),A=P(855),C=P(6012),F=P(5703),pt=P(1775),X=(P(6780),P(2735),P(1764),function(){var e=function(_,n,a,h){for(a=a||{},h=_.length;h--;a[_[h]]=n);return a},t=[1,2],i=[1,5],r=[6,9,11,17,18,20,22,23,24,26],s=[1,15],o=[1,16],l=[1,17],y=[1,18],u=[1,19],x=[1,20],g=[1,24],p=[4,6,9,11,17,18,20,22,23,24,26],d={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,a,h,f,m,c,Y){var k=c.length-1;switch(m){case 1:return c[k-1];case 3:case 7:case 8:this.$=[];break;case 4:c[k-1].push(c[k]),this.$=c[k-1];break;case 5:case 6:this.$=c[k];break;case 11:f.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 12:this.$=c[k].trim(),f.setAccTitle(this.$);break;case 13:case 14:this.$=c[k].trim(),f.setAccDescription(this.$);break;case 15:f.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 16:f.addTask(c[k-1],c[k]),this.$="task";break;case 18:f.parseDirective("%%{","open_directive");break;case 19:f.parseDirective(c[k],"type_directive");break;case 20:c[k]=c[k].trim().replace(/'/g,'"'),f.parseDirective(c[k],"arg_directive");break;case 21:f.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:t,7:3,12:4,26:i},{1:[3]},e(r,[2,3],{5:6}),{3:7,4:t,7:3,12:4,26:i},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},{1:[2,2]},{14:22,15:[1,23],29:g},e([15,29],[2,19]),e(r,[2,8],{1:[2,1]}),e(r,[2,4]),{7:21,10:25,12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},e(r,[2,6]),e(r,[2,7]),e(r,[2,11]),{19:[1,26]},{21:[1,27]},e(r,[2,14]),e(r,[2,15]),{25:[1,28]},e(r,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},e(r,[2,5]),e(r,[2,12]),e(r,[2,13]),e(r,[2,16]),e(p,[2,9]),{14:32,29:g},{29:[2,20]},{11:[1,33]},e(p,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(n,a){if(!a.recoverable){var h=new Error(n);throw h.hash=a,h}this.trace(n)},parse:function(n){var h=[0],f=[],m=[null],c=[],Y=this.table,k="",K=0,ut=0,Nt=c.slice.call(arguments,1),b=Object.create(this.lexer),L={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(L.yy[Q]=this.yy[Q]);b.setInput(n,L.yy),L.yy.lexer=b,L.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;c.push(q);var I,jt=b.options&&b.options.ranges;this.parseError="function"==typeof L.yy.parseError?L.yy.parseError:Object.getPrototypeOf(this).parseError;for(var w,R,T,tt,D,$,G,B={};;){if(this.defaultActions[R=h[h.length-1]]?T=this.defaultActions[R]:((null===w||typeof w>"u")&&(I=void 0,"number"!=typeof(I=f.pop()||b.lex()||1)&&(I instanceof Array&&(I=(f=I).pop()),I=this.symbols_[I]||I),w=I),T=Y[R]&&Y[R][w]),typeof T>"u"||!T.length||!T[0]){var et;for(D in G=[],Y[R])this.terminals_[D]&&D>2&&G.push("'"+this.terminals_[D]+"'");et=b.showPosition?"Parse error on line "+(K+1)+":\n"+b.showPosition()+"\nExpecting "+G.join(", ")+", got '"+(this.terminals_[w]||w)+"'":"Parse error on line "+(K+1)+": Unexpected "+(1==w?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(et,{text:b.match,token:this.terminals_[w]||w,line:b.yylineno,loc:q,expected:G})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+w);switch(T[0]){case 1:h.push(w),m.push(b.yytext),c.push(b.yylloc),h.push(T[1]),w=null,ut=b.yyleng,k=b.yytext,K=b.yylineno,q=b.yylloc;break;case 2:if(B.$=m[m.length-($=this.productions_[T[1]][1])],B._$={first_line:c[c.length-($||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-($||1)].first_column,last_column:c[c.length-1].last_column},jt&&(B._$.range=[c[c.length-($||1)].range[0],c[c.length-1].range[1]]),typeof(tt=this.performAction.apply(B,[k,ut,K,L.yy,T[1],m,c].concat(Nt)))<"u")return tt;$&&(h=h.slice(0,-1*$*2),m=m.slice(0,-1*$),c=c.slice(0,-1*$)),h.push(this.productions_[T[1]][0]),m.push(B.$),c.push(B._$),h.push(Y[h[h.length-2]][h[h.length-1]]);break;case 3:return!0}}return!0}};function v(){this.yy={}}return d.lexer={EOF:1,parseError:function(a,h){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,h)},setInput:function(n,a){return this.yy=a||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];return this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,n.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var a=n.length,h=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var f=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var m=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===f.length?this.yylloc.first_column:0)+f[f.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),a=new Array(n.length+1).join("-");return n+this.upcomingInput()+"\n"+a+"^"},test_match:function(n,a){var h,f,m;if(this.options.backtrack_lexer&&(m={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(m.yylloc.range=this.yylloc.range.slice(0))),(f=n[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(n[0].length),this.matched+=n[0],h=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var c in m)this[c]=m[c];return!1}return!1},next:function(){if(this.done)return this.EOF;var n,a,h,f;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),c=0;ca[0].length)){if(a=h,f=c,this.options.backtrack_lexer){if(!1!==(n=this.test_match(h,m[c])))return n;if(this._backtrack){a=!1;continue}return!1}if(!this.options.flex)break}return a?!1!==(n=this.test_match(a,m[f]))&&n:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(a,h,f,m){switch(f){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}},v.prototype=d,d.Parser=v,new v}());X.parser=X;const gt=X;let O="";const H=[],N=[],j=[],st=function(){const e=function(i){return j[i].processed};let t=!0;for(const[i,r]of j.entries())e(i),t=t&&r.processed;return t},rt={parseDirective:function(e,t,i){ft.m.parseDirective(this,e,t,i)},getConfig:()=>(0,A.g)().journey,clear:function(){H.length=0,N.length=0,O="",j.length=0,(0,C.f)()},setDiagramTitle:C.d,getDiagramTitle:C.e,setAccTitle:C.s,getAccTitle:C.g,setAccDescription:C.b,getAccDescription:C.a,addSection:function(e){O=e,H.push(e)},getSections:function(){return H},getTasks:function(){let e=st(),i=0;for(;!e&&i<100;)e=st(),i++;return N.push(...j),N},addTask:function(e,t){const i=t.substr(1).split(":");let r=0,s=[];1===i.length?(r=Number(i[0]),s=[]):(r=Number(i[0]),s=i[1].split(","));const o=s.map(y=>y.trim());j.push({section:O,type:O,people:o,task:e,score:r})},addTaskOrg:function(e){N.push({section:O,type:O,description:e,task:e,classes:[]})},getActors:function(){return function(){const e=[];return N.forEach(i=>{i.people&&e.push(...i.people)}),[...new Set(e)].sort()}()}},U=function(e,t){const i=e.append("rect");return i.attr("x",t.x),i.attr("y",t.y),i.attr("fill",t.fill),i.attr("stroke",t.stroke),i.attr("width",t.width),i.attr("height",t.height),i.attr("rx",t.rx),i.attr("ry",t.ry),void 0!==t.class&&i.attr("class",t.class),i},nt=function(e,t){const i=e.append("circle");return i.attr("cx",t.cx),i.attr("cy",t.cy),i.attr("class","actor-"+t.pos),i.attr("fill",t.fill),i.attr("stroke",t.stroke),i.attr("r",t.r),void 0!==i.class&&i.attr("class",i.class),void 0!==t.title&&i.append("title").text(t.title),i},at=function(e,t){const i=t.text.replace(//gi," "),r=e.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),void 0!==t.class&&r.attr("class",t.class);const s=r.append("tspan");return s.attr("x",t.x+2*t.textMargin),s.text(i),r};let lt=-1;const ct=function(){function e(s,o,l,y,u,x,g,p){r(o.append("text").attr("x",l+u/2).attr("y",y+x/2+5).style("font-color",p).style("text-anchor","middle").text(s),g)}function t(s,o,l,y,u,x,g,p,d){const{taskFontSize:E,taskFontFamily:v}=p,_=s.split(//gi);for(let n=0;n<_.length;n++){const a=n*E-E*(_.length-1)/2,h=o.append("text").attr("x",l+u/2).attr("y",y).attr("fill",d).style("text-anchor","middle").style("font-size",E).style("font-family",v);h.append("tspan").attr("x",l+u/2).attr("dy",a).text(_[n]),h.attr("y",y+x/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(h,g)}}function i(s,o,l,y,u,x,g,p){const d=o.append("switch"),v=d.append("foreignObject").attr("x",l).attr("y",y).attr("width",u).attr("height",x).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");v.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(s),t(s,d,l,y,u,x,g,p),r(v,g)}function r(s,o){for(const l in o)l in o&&s.attr(l,o[l])}return function(s){return"fo"===s.textPlacement?i:"old"===s.textPlacement?e:t}}(),W_drawCircle=nt,W_drawSection=function(e,t,i){const r=e.append("g"),s={x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0};s.x=t.x,s.y=t.y,s.fill=t.fill,s.width=i.width*t.taskCount+i.diagramMarginX*(t.taskCount-1),s.height=i.height,s.class="journey-section section-type-"+t.num,s.rx=3,s.ry=3,U(r,s),ct(i)(t.text,r,s.x,s.y,s.width,s.height,{class:"journey-section section-type-"+t.num},i,t.colour)},W_drawText=at,W_drawTask=function(e,t,i){const r=t.x+i.width/2,s=e.append("g");lt++,s.append("line").attr("id","task"+lt).attr("x1",r).attr("y1",t.y).attr("x2",r).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),function(e,t){e.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible");const s=e.append("g");s.append("circle").attr("cx",t.cx-5).attr("cy",t.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),s.append("circle").attr("cx",t.cx+5).attr("cy",t.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),t.score>3?function o(u){const x=(0,F.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",x).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}(s):t.score<3?function l(u){const x=(0,F.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",x).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}(s):function y(u){u.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(s)}(s,{cx:r,cy:300+30*(5-t.score),score:t.score});const l={x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0};l.x=t.x,l.y=t.y,l.fill=t.fill,l.width=i.width,l.height=i.height,l.class="task task-type-"+t.num,l.rx=3,l.ry=3,U(s,l);let y=t.x+14;t.people.forEach(u=>{nt(s,{cx:y,cy:t.y,r:7,fill:t.actors[u].color,stroke:"#000",title:u,pos:t.actors[u].position}),y+=10}),ct(i)(t.task,s,l.x,l.y,l.width,l.height,{class:"task"},i,t.colour)},W_initGraphics=function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},S={},z=(0,A.g)().journey,V=z.leftMargin,M={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(e,t,i,r){e[t]=void 0===e[t]?i:r(i,e[t])},updateBounds:function(e,t,i,r){const s=(0,A.g)().journey,o=this;let l=0;this.sequenceItems.forEach(function y(u){return function(g){l++;const p=o.sequenceItems.length-l+1;o.updateVal(g,"starty",t-p*s.boxMargin,Math.min),o.updateVal(g,"stopy",r+p*s.boxMargin,Math.max),o.updateVal(M.data,"startx",e-p*s.boxMargin,Math.min),o.updateVal(M.data,"stopx",i+p*s.boxMargin,Math.max),"activation"!==u&&(o.updateVal(g,"startx",e-p*s.boxMargin,Math.min),o.updateVal(g,"stopx",i+p*s.boxMargin,Math.max),o.updateVal(M.data,"starty",t-p*s.boxMargin,Math.min),o.updateVal(M.data,"stopy",r+p*s.boxMargin,Math.max))}}())},insert:function(e,t,i,r){const s=Math.min(e,i),o=Math.max(e,i),l=Math.min(t,r),y=Math.max(t,r);this.updateVal(M.data,"startx",s,Math.min),this.updateVal(M.data,"starty",l,Math.min),this.updateVal(M.data,"stopx",o,Math.max),this.updateVal(M.data,"stopy",y,Math.max),this.updateBounds(s,l,o,y)},bumpVerticalPos:function(e){this.verticalPos=this.verticalPos+e,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},J=z.sectionFills,ot=z.sectionColours,ht={setConf:function(e){Object.keys(e).forEach(function(i){z[i]=e[i]})},draw:function(e,t,i,r){const s=(0,A.g)().journey;r.db.clear(),r.parser.parse(e+"\n");const o=(0,A.g)().securityLevel;let l;"sandbox"===o&&(l=(0,F.Ys)("#i"+t));const y=(0,F.Ys)("sandbox"===o?l.nodes()[0].contentDocument.body:"body");M.init();const u=y.select("#"+t);W_initGraphics(u);const x=r.db.getTasks(),g=r.db.getDiagramTitle(),p=r.db.getActors();for(const a in S)delete S[a];let d=0;p.forEach(a=>{S[a]={color:s.actorColours[d%s.actorColours.length],position:d},d++}),function Lt(e){const t=(0,A.g)().journey;let i=60;Object.keys(S).forEach(r=>{W_drawCircle(e,{cx:20,cy:i,r:7,fill:S[r].color,stroke:"#000",pos:S[r].position}),W_drawText(e,{x:40,y:i+7,fill:"#666",text:r,textMargin:5|t.boxTextMargin}),i+=20})}(u),M.insert(0,0,V,50*Object.keys(S).length),function(e,t,i){const r=(0,A.g)().journey;let s="";const l=i+(2*r.height+r.diagramMarginY);let y=0,u="#CCC",x="black",g=0;for(const[p,d]of t.entries()){if(s!==d.section){u=J[y%J.length],g=y%J.length,x=ot[y%ot.length];let v=0;const _=d.section;for(let a=p;a(S[_]&&(v[_]=S[_]),v),{});d.x=p*r.taskMargin+p*r.width+V,d.y=l,d.width=r.diagramMarginX,d.height=r.diagramMarginY,d.colour=x,d.fill=u,d.num=g,d.actors=E,W_drawTask(e,d,r),M.insert(d.x,d.y,d.x+d.width+r.taskMargin,450)}}(u,x,0);const E=M.getBounds();g&&u.append("text").text(g).attr("x",V).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const v=E.stopy-E.starty+2*s.diagramMarginY,_=V+E.stopx+2*s.diagramMarginX;(0,pt.c)(u,v,_,s.useMaxWidth),u.append("line").attr("x1",V).attr("y1",4*s.height).attr("x2",_-V-4).attr("y2",4*s.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const n=g?70:0;u.attr("viewBox",`${E.startx} -25 ${_} ${v+n}`),u.attr("preserveAspectRatio","xMinYMin meet"),u.attr("height",v+n+25)}},Bt={parser:gt,db:rt,renderer:ht,styles:e=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${e.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${e.textColor}\n }\n\n .legend {\n fill: ${e.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${e.textColor}\n }\n\n .face {\n ${e.faceColor?`fill: ${e.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${e.fillType0?`fill: ${e.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${e.fillType0?`fill: ${e.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${e.fillType0?`fill: ${e.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${e.fillType0?`fill: ${e.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${e.fillType0?`fill: ${e.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${e.fillType0?`fill: ${e.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${e.fillType0?`fill: ${e.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${e.fillType0?`fill: ${e.fillType7}`:""};\n }\n\n .actor-0 {\n ${e.actor0?`fill: ${e.actor0}`:""};\n }\n .actor-1 {\n ${e.actor1?`fill: ${e.actor1}`:""};\n }\n .actor-2 {\n ${e.actor2?`fill: ${e.actor2}`:""};\n }\n .actor-3 {\n ${e.actor3?`fill: ${e.actor3}`:""};\n }\n .actor-4 {\n ${e.actor4?`fill: ${e.actor4}`:""};\n }\n .actor-5 {\n ${e.actor5?`fill: ${e.actor5}`:""};\n }\n`,init:e=>{ht.setConf(e.journey),rt.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/806.c6ff18a1f12536c9.js b/pkg/apiserver-impl/ui/806.c6ff18a1f12536c9.js new file mode 100644 index 000000000..980798e73 --- /dev/null +++ b/pkg/apiserver-impl/ui/806.c6ff18a1f12536c9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[806],{5806:(ht,v,l)=>{l.r(v),l.d(v,{diagram:()=>At});var d=l(2911),J=l(8814),P=l(5703),i=l(855),Q=l(5963),X=l(1775),Z=l(9111);l(2735),l(1764),l(9006),l(7416),l(6780);const C="rect",R="rectWithTitle",T="statediagram",ot=`${T}-state`,$="transition",ct=`${$} note-edge`,it=`${T}-note`,lt=`${T}-cluster`,rt=`${T}-cluster-alt`,B="parent",G="note",dt="state",O="----",_t=`${O}${G}`,N=`${O}${B}`,U="fill:none",W="fill: #333",K="text",H="normal";let p={},E=0;function M(t="",n=0,s="",c=O){return`${dt}-${t}${null!==s&&s.length>0?`${c}${s}`:""}-${n}`}const f=(t,n,s,c,r,_)=>{const e=s.id,h=function St(t){return null==t?"":t.classes?t.classes.join(" "):""}(c[e]);if("root"!==e){let A=C;!0===s.start&&(A="start"),!1===s.start&&(A="end"),s.type!==d.a&&(A=s.type),p[e]||(p[e]={id:e,shape:A,description:i.d.sanitizeText(e,(0,i.g)()),classes:`${h} ${ot}`});const o=p[e];s.description&&(Array.isArray(o.description)?(o.shape=R,o.description.push(s.description)):o.description.length>0?(o.shape=R,o.description=o.description===e?[s.description]:[o.description,s.description]):(o.shape=C,o.description=s.description),o.description=i.d.sanitizeTextOrArray(o.description,(0,i.g)())),1===o.description.length&&o.shape===R&&(o.shape=C),!o.type&&s.doc&&(i.l.info("Setting cluster for ",e,x(s)),o.type="group",o.dir=x(s),o.shape=s.type===d.b?"divider":"roundedWithTitle",o.classes=o.classes+" "+lt+" "+(_?rt:""));const u={labelStyle:"",shape:o.shape,labelText:o.description,classes:o.classes,style:"",id:e,dir:o.dir,domId:M(e,E),type:o.type,padding:15};if(s.note){const S={labelStyle:"",shape:"note",labelText:s.note.text,classes:it,style:"",id:e+_t+"-"+E,domId:M(e,E,G),type:o.type,padding:15},y={labelStyle:"",shape:"noteGroup",labelText:s.note.text,classes:o.classes,style:"",id:e+N,domId:M(e,E,B),type:"group",padding:0};E++;const a=e+N;t.setNode(a,y),t.setNode(S.id,S),t.setNode(e,u),t.setParent(e,a),t.setParent(S.id,a);let g=e,D=S.id;"left of"===s.note.position&&(g=S.id,D=e),t.setEdge(g,D,{arrowhead:"none",arrowType:"",style:U,labelStyle:"",classes:ct,arrowheadStyle:W,labelpos:"c",labelType:K,thickness:H})}else t.setNode(e,u)}n&&"root"!==n.id&&(i.l.trace("Setting node ",e," to be child of its parent ",n.id),t.setParent(e,n.id)),s.doc&&(i.l.trace("Adding nodes children "),Dt(t,s,s.doc,c,r,!_))},Dt=(t,n,s,c,r,_)=>{i.l.trace("items",s),s.forEach(e=>{switch(e.stmt){case d.c:case d.a:f(t,n,e,c,r,_);break;case d.S:{f(t,n,e.state1,c,r,_),f(t,n,e.state2,c,r,_);const h={id:"edge"+E,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:U,labelStyle:"",label:i.d.sanitizeText(e.description,(0,i.g)()),arrowheadStyle:W,labelpos:"c",labelType:K,thickness:H,classes:$};t.setEdge(e.state1.id,e.state2.id,h,E),E++}}})},x=(t,n=d.e)=>{let s=n;if(t.doc)for(let c=0;c{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,d.d.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/807.04e2b45e478bfa14.js b/pkg/apiserver-impl/ui/807.04e2b45e478bfa14.js new file mode 100644 index 000000000..1e529bccb --- /dev/null +++ b/pkg/apiserver-impl/ui/807.04e2b45e478bfa14.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[807],{3057:(Q2,h2,o1)=>{o1.d(h2,{a:()=>s2});var x1=o1(6257);function s2(R1,a2){var l1=R1.append("foreignObject").attr("width","100000"),s1=l1.append("xhtml:div");s1.attr("xmlns","http://www.w3.org/1999/xhtml");var q1=a2.label;switch(typeof q1){case"function":s1.insert(q1);break;case"object":s1.insert(function(){return q1});break;default:s1.html(q1)}x1.bg(s1,a2.labelStyle),s1.style("display","inline-block"),s1.style("white-space","nowrap");var c2=s1.node().getBoundingClientRect();return l1.attr("width",c2.width).attr("height",c2.height),l1}},6257:(Q2,h2,o1)=>{o1.d(h2,{$p:()=>c2,O1:()=>a2,WR:()=>b2,bF:()=>R1,bg:()=>q1});var x1=o1(2031),s2=o1(2089);function R1(Z,j){return!!Z.children(j).length}function a2(Z){return s1(Z.v)+":"+s1(Z.w)+":"+s1(Z.name)}var l1=/:/g;function s1(Z){return Z?String(Z).replace(l1,"\\:"):""}function q1(Z,j){j&&Z.attr("style",j)}function c2(Z,j,A1){j&&Z.attr("class",j).attr("class",A1+" "+Z.attr("class"))}function b2(Z,j){var A1=j.graph();if(x1.Z(A1)){var I1=A1.transition;if(s2.Z(I1))return I1(Z)}return Z}},4976:(Q2,h2,o1)=>{o1.d(h2,{d:()=>Ke,f:()=>Te,p:()=>q1});var x1=o1(5703),s2=o1(9111),R1=o1(855),a2=o1(4169),l1=o1(6012),s1=function(){var e=function(t2,a,o,B){for(o=o||{},B=t2.length;B--;o[t2[B]]=a);return o},u=[1,9],r=[1,7],n=[1,6],c=[1,8],Y=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],F=[2,10],r1=[1,20],z=[1,21],u1=[1,22],_1=[1,23],$1=[1,30],u2=[1,32],r2=[1,33],d2=[1,34],J=[1,62],h1=[1,48],N1=[1,52],v2=[1,36],T2=[1,37],S2=[1,38],m2=[1,39],y2=[1,40],P1=[1,56],w1=[1,63],U1=[1,51],M1=[1,53],G1=[1,55],K1=[1,59],W1=[1,60],V2=[1,41],L2=[1,42],R2=[1,43],x2=[1,44],j1=[1,61],Y1=[1,50],H1=[1,54],z1=[1,57],Q1=[1,58],X1=[1,49],Se=[1,66],p2=[1,71],Q=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],b1=[1,75],D1=[1,74],g1=[1,76],I2=[20,21,23,81,82],i1=[1,99],l=[1,104],h=[1,107],f=[1,108],n1=[1,101],A=[1,106],d=[1,109],a1=[1,102],p=[1,114],E=[1,113],_=[1,103],b=[1,105],D=[1,110],g=[1,111],k=[1,112],C=[1,115],U2=[20,21,22,23,81,82],t1=[20,21,22,23,53,81,82],q=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],H=[20,21,23],me=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],M2=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],E2=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],T=[1,149],S=[1,157],m=[1,158],y=[1,159],V=[1,160],L=[1,144],R=[1,145],$=[1,141],x=[1,152],I=[1,153],O=[1,154],N=[1,155],P=[1,156],w=[1,161],U=[1,162],M=[1,147],G=[1,150],K=[1,146],W=[1,143],G2=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],ye=[1,165],o2=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],v=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],Ve=[12,21,22,24],Le=[22,106],k1=[1,250],C1=[1,245],F1=[1,246],B1=[1,254],v1=[1,251],T1=[1,248],S1=[1,247],m1=[1,249],y1=[1,252],V1=[1,253],L1=[1,255],e2=[1,273],Re=[20,21,23,106],f1=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],K2={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",86:"STYLE",87:"LINKSTYLE",88:"CLASSDEF",89:"CLASS",90:"CLICK",91:"DOWN",92:"UP",95:"DEFAULT",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"HEX",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"MINUS",110:"UNIT",111:"BRKT",112:"DOT",113:"PCT",114:"TAGSTART",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr",122:"PUNCTUATION",123:"UNICODE_TEXT",124:"PLUS",125:"EQUALS",126:"MULT",127:"UNDERSCORE",129:"ARROW_CROSS",130:"ARROW_POINT",131:"ARROW_CIRCLE",132:"ARROW_OPEN",133:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(a,o,B,i,X,t,_2){var s=t.length-1;switch(X){case 5:i.parseDirective("%%{","open_directive");break;case 6:i.parseDirective(t[s],"type_directive");break;case 7:t[s]=t[s].trim().replace(/'/g,'"'),i.parseDirective(t[s],"arg_directive");break;case 8:i.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:case 78:case 150:this.$=t[s];break;case 19:i.setDirection("TB"),this.$="TB";break;case 20:i.setDirection(t[s-1]),this.$=t[s-1];break;case 35:this.$=t[s-1].nodes;break;case 41:this.$=i.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 42:this.$=i.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 43:this.$=i.addSubGraph(void 0,t[s-1],void 0);break;case 45:this.$=t[s].trim(),i.setAccTitle(this.$);break;case 46:case 47:this.$=t[s].trim(),i.setAccDescription(this.$);break;case 51:i.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 52:i.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 53:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 54:this.$={stmt:t[s],nodes:t[s]};break;case 55:case 123:case 125:this.$=[t[s]];break;case 56:this.$=t[s-4].concat(t[s]);break;case 57:this.$=[t[s-2]],i.setClass(t[s-2],t[s]);break;case 58:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"square");break;case 59:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"doublecircle");break;case 60:this.$=t[s-5],i.addVertex(t[s-5],t[s-2],"circle");break;case 61:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"ellipse");break;case 62:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"stadium");break;case 63:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"subroutine");break;case 64:this.$=t[s-7],i.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 65:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"cylinder");break;case 66:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"round");break;case 67:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"diamond");break;case 68:this.$=t[s-5],i.addVertex(t[s-5],t[s-2],"hexagon");break;case 69:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"odd");break;case 70:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"trapezoid");break;case 71:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 72:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"lean_right");break;case 73:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"lean_left");break;case 74:this.$=t[s],i.addVertex(t[s]);break;case 75:t[s-1].text=t[s],this.$=t[s-1];break;case 76:case 77:t[s-2].text=t[s-1],this.$=t[s-2];break;case 79:var p1=i.destructLink(t[s],t[s-2]);this.$={type:p1.type,stroke:p1.stroke,length:p1.length,text:t[s-1]};break;case 80:p1=i.destructLink(t[s]),this.$={type:p1.type,stroke:p1.stroke,length:p1.length};break;case 81:this.$=t[s-1];break;case 83:case 97:case 153:case 151:this.$=t[s-1]+""+t[s];break;case 98:case 99:this.$=t[s-4],i.addClass(t[s-2],t[s]);break;case 100:this.$=t[s-4],i.setClass(t[s-2],t[s]);break;case 101:case 109:this.$=t[s-1],i.setClickEvent(t[s-1],t[s]);break;case 102:case 110:this.$=t[s-3],i.setClickEvent(t[s-3],t[s-2]),i.setTooltip(t[s-3],t[s]);break;case 103:this.$=t[s-2],i.setClickEvent(t[s-2],t[s-1],t[s]);break;case 104:this.$=t[s-4],i.setClickEvent(t[s-4],t[s-3],t[s-2]),i.setTooltip(t[s-4],t[s]);break;case 105:case 111:this.$=t[s-1],i.setLink(t[s-1],t[s]);break;case 106:case 112:this.$=t[s-3],i.setLink(t[s-3],t[s-2]),i.setTooltip(t[s-3],t[s]);break;case 107:case 113:this.$=t[s-3],i.setLink(t[s-3],t[s-2],t[s]);break;case 108:case 114:this.$=t[s-5],i.setLink(t[s-5],t[s-4],t[s]),i.setTooltip(t[s-5],t[s-2]);break;case 115:this.$=t[s-4],i.addVertex(t[s-2],void 0,void 0,t[s]);break;case 116:case 118:this.$=t[s-4],i.updateLink(t[s-2],t[s]);break;case 117:this.$=t[s-4],i.updateLink([t[s-2]],t[s]);break;case 119:this.$=t[s-8],i.updateLinkInterpolate([t[s-6]],t[s-2]),i.updateLink([t[s-6]],t[s]);break;case 120:this.$=t[s-8],i.updateLinkInterpolate(t[s-6],t[s-2]),i.updateLink(t[s-6],t[s]);break;case 121:this.$=t[s-6],i.updateLinkInterpolate([t[s-4]],t[s]);break;case 122:this.$=t[s-6],i.updateLinkInterpolate(t[s-4],t[s]);break;case 124:case 126:t[s-2].push(t[s]),this.$=t[s-2];break;case 128:this.$=t[s-1]+t[s];break;case 156:this.$="v";break;case 157:this.$="-";break;case 158:this.$={stmt:"dir",value:"TB"};break;case 159:this.$={stmt:"dir",value:"BT"};break;case 160:this.$={stmt:"dir",value:"RL"};break;case 161:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:u,16:4,21:r,22:n,24:c},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:u,16:4,21:r,22:n,24:c},e(Y,F,{17:11}),{7:12,13:[1,13]},{16:14,21:r,22:n,24:c},{16:15,21:r,22:n,24:c},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:r1,21:z,22:u1,23:_1,32:24,33:25,34:26,35:27,36:28,37:29,38:$1,43:31,44:u2,46:r2,48:d2,50:35,51:45,52:J,54:46,66:h1,67:N1,86:v2,87:T2,88:S2,89:m2,90:y2,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,118:V2,119:L2,120:R2,121:x2,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},{8:64,10:[1,65],15:Se},e([10,15],[2,6]),e(Y,[2,17]),e(Y,[2,18]),e(Y,[2,19]),{20:[1,68],21:[1,69],22:p2,27:67,30:70},e(Q,[2,11]),e(Q,[2,12]),e(Q,[2,13]),e(Q,[2,14]),e(Q,[2,15]),e(Q,[2,16]),{9:72,20:b1,21:D1,23:g1,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:b1,21:D1,23:g1},{9:81,20:b1,21:D1,23:g1},{9:82,20:b1,21:D1,23:g1},{9:83,20:b1,21:D1,23:g1},{9:84,20:b1,21:D1,23:g1},{9:86,20:b1,21:D1,22:[1,85],23:g1},e(Q,[2,44]),{45:[1,87]},{47:[1,88]},e(Q,[2,47]),e(I2,[2,54],{30:89,22:p2}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:i1,52:l,66:h,67:f,84:[1,97],91:n1,97:96,98:[1,94],100:[1,95],105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},e(Q,[2,158]),e(Q,[2,159]),e(Q,[2,160]),e(Q,[2,161]),e(U2,[2,55],{53:[1,116]}),e(t1,[2,74],{116:129,40:[1,117],52:J,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:h1,67:N1,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1}),e(q,[2,150]),e(q,[2,175]),e(q,[2,176]),e(q,[2,177]),e(q,[2,178]),e(q,[2,179]),e(q,[2,180]),e(q,[2,181]),e(q,[2,182]),e(q,[2,183]),e(q,[2,184]),e(q,[2,185]),e(q,[2,186]),e(q,[2,187]),e(q,[2,188]),e(q,[2,189]),e(q,[2,190]),{9:130,20:b1,21:D1,23:g1},{11:131,14:[1,132]},e(H,[2,8]),e(Y,[2,20]),e(Y,[2,26]),e(Y,[2,27]),{21:[1,133]},e(me,[2,34],{30:134,22:p2}),e(Q,[2,35]),{50:135,51:45,52:J,54:46,66:h1,67:N1,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},e(M2,[2,48]),e(M2,[2,49]),e(M2,[2,50]),e(E2,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:T,24:S,26:m,38:y,39:139,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),e(Q,[2,36]),e(Q,[2,37]),e(Q,[2,38]),e(Q,[2,39]),e(Q,[2,40]),{22:T,24:S,26:m,38:y,39:163,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(G2,F,{17:164}),e(Q,[2,45]),e(Q,[2,46]),e(I2,[2,53],{52:ye}),{26:i1,52:l,66:h,67:f,91:n1,97:166,102:[1,167],105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},{95:[1,168],103:169,105:[1,170]},{26:i1,52:l,66:h,67:f,91:n1,95:[1,171],97:172,105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},{26:i1,52:l,66:h,67:f,91:n1,97:173,105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},e(H,[2,101],{22:[1,174],99:[1,175]}),e(H,[2,105],{22:[1,176]}),e(H,[2,109],{115:100,117:178,22:[1,177],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,122:_,123:b,124:D,125:g,126:k,127:C}),e(H,[2,111],{22:[1,179]}),e(o2,[2,152]),e(o2,[2,154]),e(o2,[2,155]),e(o2,[2,156]),e(o2,[2,157]),e(v,[2,162]),e(v,[2,163]),e(v,[2,164]),e(v,[2,165]),e(v,[2,166]),e(v,[2,167]),e(v,[2,168]),e(v,[2,169]),e(v,[2,170]),e(v,[2,171]),e(v,[2,172]),e(v,[2,173]),e(v,[2,174]),{52:J,54:180,66:h1,67:N1,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},{22:T,24:S,26:m,38:y,39:181,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:182,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:184,42:V,52:l,57:[1,183],66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:185,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:186,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:187,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{66:[1,188]},{22:T,24:S,26:m,38:y,39:189,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:190,42:V,52:l,66:h,67:f,71:[1,191],73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:192,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:193,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:194,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(q,[2,151]),e(Ve,[2,3]),{8:195,15:Se},{15:[2,7]},e(Y,[2,28]),e(me,[2,33]),e(I2,[2,51],{30:196,22:p2}),e(E2,[2,75],{22:[1,197]}),{22:[1,198]},{22:T,24:S,26:m,38:y,39:199,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,73:L,81:R,82:[1,200],83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(v,[2,82]),e(v,[2,84]),e(v,[2,140]),e(v,[2,141]),e(v,[2,142]),e(v,[2,143]),e(v,[2,144]),e(v,[2,145]),e(v,[2,146]),e(v,[2,147]),e(v,[2,148]),e(v,[2,149]),e(v,[2,85]),e(v,[2,86]),e(v,[2,87]),e(v,[2,88]),e(v,[2,89]),e(v,[2,90]),e(v,[2,91]),e(v,[2,92]),e(v,[2,93]),e(v,[2,94]),e(v,[2,95]),{9:203,20:b1,21:D1,22:T,23:g1,24:S,26:m,38:y,40:[1,202],42:V,52:l,66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{18:18,19:19,20:r1,21:z,22:u1,23:_1,32:24,33:25,34:26,35:27,36:28,37:29,38:$1,42:[1,204],43:31,44:u2,46:r2,48:d2,50:35,51:45,52:J,54:46,66:h1,67:N1,86:v2,87:T2,88:S2,89:m2,90:y2,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,118:V2,119:L2,120:R2,121:x2,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},{22:p2,30:205},{22:[1,206],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,115:100,117:178,122:_,123:b,124:D,125:g,126:k,127:C},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},e(Le,[2,123]),{22:[1,211]},{22:[1,212],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,115:100,117:178,122:_,123:b,124:D,125:g,126:k,127:C},{22:[1,213],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,115:100,117:178,122:_,123:b,124:D,125:g,126:k,127:C},{84:[1,214]},e(H,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},e(o2,[2,153]),{84:[1,219],101:[1,220]},e(U2,[2,57],{116:129,52:J,66:h1,67:N1,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1}),{22:T,24:S,26:m,38:y,41:[1,221],42:V,52:l,66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,56:[1,222],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:223,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,58:[1,224],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,60:[1,225],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,62:[1,226],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,64:[1,227],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{67:[1,228]},{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,70:[1,229],73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,72:[1,230],73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:231,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,41:[1,232],42:V,52:l,66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,73:L,75:[1,233],77:[1,234],81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,73:L,75:[1,236],77:[1,235],81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{9:237,20:b1,21:D1,23:g1},e(I2,[2,52],{52:ye}),e(E2,[2,77]),e(E2,[2,76]),{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,68:[1,238],73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(E2,[2,79]),e(v,[2,83]),{22:T,24:S,26:m,38:y,39:239,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(G2,F,{17:240}),e(Q,[2,43]),{51:241,52:J,54:46,66:h1,67:N1,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},{22:k1,66:C1,67:F1,86:B1,96:242,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{22:k1,66:C1,67:F1,86:B1,96:256,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{22:k1,66:C1,67:F1,86:B1,96:257,102:v1,104:[1,258],105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{22:k1,66:C1,67:F1,86:B1,96:259,102:v1,104:[1,260],105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{105:[1,261]},{22:k1,66:C1,67:F1,86:B1,96:262,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{22:k1,66:C1,67:F1,86:B1,96:263,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{26:i1,52:l,66:h,67:f,91:n1,97:264,105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},e(H,[2,102]),{84:[1,265]},e(H,[2,106],{22:[1,266]}),e(H,[2,107]),e(H,[2,110]),e(H,[2,112],{22:[1,267]}),e(H,[2,113]),e(t1,[2,58]),e(t1,[2,59]),{22:T,24:S,26:m,38:y,42:V,52:l,58:[1,268],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(t1,[2,66]),e(t1,[2,61]),e(t1,[2,62]),e(t1,[2,63]),{66:[1,269]},e(t1,[2,65]),e(t1,[2,67]),{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,72:[1,270],73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(t1,[2,69]),e(t1,[2,70]),e(t1,[2,72]),e(t1,[2,71]),e(t1,[2,73]),e(Ve,[2,4]),e([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:T,24:S,26:m,38:y,41:[1,271],42:V,52:l,66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{18:18,19:19,20:r1,21:z,22:u1,23:_1,32:24,33:25,34:26,35:27,36:28,37:29,38:$1,42:[1,272],43:31,44:u2,46:r2,48:d2,50:35,51:45,52:J,54:46,66:h1,67:N1,86:v2,87:T2,88:S2,89:m2,90:y2,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,118:V2,119:L2,120:R2,121:x2,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},e(U2,[2,56]),e(H,[2,115],{106:e2}),e(Re,[2,125],{108:274,22:k1,66:C1,67:F1,86:B1,102:v1,105:T1,109:S1,110:m1,111:y1,112:V1,113:L1}),e(f1,[2,127]),e(f1,[2,129]),e(f1,[2,130]),e(f1,[2,131]),e(f1,[2,132]),e(f1,[2,133]),e(f1,[2,134]),e(f1,[2,135]),e(f1,[2,136]),e(f1,[2,137]),e(f1,[2,138]),e(f1,[2,139]),e(H,[2,116],{106:e2}),e(H,[2,117],{106:e2}),{22:[1,275]},e(H,[2,118],{106:e2}),{22:[1,276]},e(Le,[2,124]),e(H,[2,98],{106:e2}),e(H,[2,99],{106:e2}),e(H,[2,100],{115:100,117:178,26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,122:_,123:b,124:D,125:g,126:k,127:C}),e(H,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:b1,21:D1,23:g1},e(Q,[2,42]),{22:k1,66:C1,67:F1,86:B1,102:v1,105:T1,107:283,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},e(f1,[2,128]),{26:i1,52:l,66:h,67:f,91:n1,97:284,105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},{26:i1,52:l,66:h,67:f,91:n1,97:285,105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},e(H,[2,108]),e(H,[2,114]),e(t1,[2,60]),{22:T,24:S,26:m,38:y,39:286,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(t1,[2,68]),e(G2,F,{17:287}),e(Re,[2,126],{108:274,22:k1,66:C1,67:F1,86:B1,102:v1,105:T1,109:S1,110:m1,111:y1,112:V1,113:L1}),e(H,[2,121],{115:100,117:178,22:[1,288],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,122:_,123:b,124:D,125:g,126:k,127:C}),e(H,[2,122],{115:100,117:178,22:[1,289],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,122:_,123:b,124:D,125:g,126:k,127:C}),{22:T,24:S,26:m,38:y,41:[1,290],42:V,52:l,66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{18:18,19:19,20:r1,21:z,22:u1,23:_1,32:24,33:25,34:26,35:27,36:28,37:29,38:$1,42:[1,291],43:31,44:u2,46:r2,48:d2,50:35,51:45,52:J,54:46,66:h1,67:N1,86:v2,87:T2,88:S2,89:m2,90:y2,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,118:V2,119:L2,120:R2,121:x2,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},{22:k1,66:C1,67:F1,86:B1,96:292,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{22:k1,66:C1,67:F1,86:B1,96:293,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},e(t1,[2,64]),e(Q,[2,41]),e(H,[2,119],{106:e2}),e(H,[2,120],{106:e2})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(a,o){if(!o.recoverable){var B=new Error(a);throw B.hash=o,B}this.trace(a)},parse:function(a){var B=[0],i=[],X=[null],t=[],_2=this.table,s="",p1=0,xe=0,Ye=t.slice.call(arguments,1),e1=Object.create(this.lexer),i2={yy:{}};for(var j2 in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j2)&&(i2.yy[j2]=this.yy[j2]);e1.setInput(a,i2.yy),i2.yy.lexer=e1,i2.yy.parser=this,typeof e1.yylloc>"u"&&(e1.yylloc={});var Y2=e1.yylloc;t.push(Y2);var J1,He=e1.options&&e1.options.ranges;this.parseError="function"==typeof i2.yy.parseError?i2.yy.parseError:Object.getPrototypeOf(this).parseError;for(var c1,n2,E1,H2,O2,Z1,N2,l2={};;){if(this.defaultActions[n2=B[B.length-1]]?E1=this.defaultActions[n2]:((null===c1||typeof c1>"u")&&(J1=void 0,"number"!=typeof(J1=i.pop()||e1.lex()||1)&&(J1 instanceof Array&&(J1=(i=J1).pop()),J1=this.symbols_[J1]||J1),c1=J1),E1=_2[n2]&&_2[n2][c1]),typeof E1>"u"||!E1.length||!E1[0]){var z2;for(O2 in N2=[],_2[n2])this.terminals_[O2]&&O2>2&&N2.push("'"+this.terminals_[O2]+"'");z2=e1.showPosition?"Parse error on line "+(p1+1)+":\n"+e1.showPosition()+"\nExpecting "+N2.join(", ")+", got '"+(this.terminals_[c1]||c1)+"'":"Parse error on line "+(p1+1)+": Unexpected "+(1==c1?"end of input":"'"+(this.terminals_[c1]||c1)+"'"),this.parseError(z2,{text:e1.match,token:this.terminals_[c1]||c1,line:e1.yylineno,loc:Y2,expected:N2})}if(E1[0]instanceof Array&&E1.length>1)throw new Error("Parse Error: multiple actions possible at state: "+n2+", token: "+c1);switch(E1[0]){case 1:B.push(c1),X.push(e1.yytext),t.push(e1.yylloc),B.push(E1[1]),c1=null,xe=e1.yyleng,s=e1.yytext,p1=e1.yylineno,Y2=e1.yylloc;break;case 2:if(l2.$=X[X.length-(Z1=this.productions_[E1[1]][1])],l2._$={first_line:t[t.length-(Z1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(Z1||1)].first_column,last_column:t[t.length-1].last_column},He&&(l2._$.range=[t[t.length-(Z1||1)].range[0],t[t.length-1].range[1]]),typeof(H2=this.performAction.apply(l2,[s,xe,p1,i2.yy,E1[1],X,t].concat(Ye)))<"u")return H2;Z1&&(B=B.slice(0,-1*Z1*2),X=X.slice(0,-1*Z1),t=t.slice(0,-1*Z1)),B.push(this.productions_[E1[1]][0]),X.push(l2.$),t.push(l2._$),B.push(_2[B[B.length-2]][B[B.length-1]]);break;case 3:return!0}}return!0}};function W2(){this.yy={}}return K2.lexer={EOF:1,parseError:function(o,B){if(!this.yy.parser)throw new Error(o);this.yy.parser.parseError(o,B)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var o=a.length,B=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),B.length-1&&(this.yylineno-=B.length-1);var X=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:B?(B.length===i.length?this.yylloc.first_column:0)+i[i.length-B.length].length-B[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[X[0],X[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+o+"^"},test_match:function(a,o){var B,i,X;if(this.options.backtrack_lexer&&(X={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(X.yylloc.range=this.yylloc.range.slice(0))),(i=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],B=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),B)return B;if(this._backtrack){for(var t in X)this[t]=X[t];return!1}return!1},next:function(){if(this.done)return this.EOF;var a,o,B,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var X=this._currentRules(),t=0;to[0].length)){if(o=B,i=t,this.options.backtrack_lexer){if(!1!==(a=this.test_match(B,X[t])))return a;if(this._backtrack){o=!1;continue}return!1}if(!this.options.flex)break}return o?!1!==(a=this.test_match(o,X[i]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(o){return(o=this.conditionStack.length-1-Math.abs(o||0))>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(o,B,i,X){switch(i){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:return this.begin("acc_title"),44;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),46;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:case 24:case 27:case 30:case 33:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"STR";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin("href");break;case 25:return 100;case 26:this.begin("callbackname");break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 31:return 99;case 32:this.begin("click");break;case 34:return 90;case 35:case 36:case 37:return o.lex.firstGraph()&&this.begin("dir"),24;case 38:return 38;case 39:return 42;case 40:case 41:case 42:case 43:return 101;case 44:return this.popState(),25;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),26;case 55:return 118;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 105;case 60:return 111;case 61:return 53;case 62:return 67;case 63:return 52;case 64:return 20;case 65:return 106;case 66:return 126;case 67:case 68:case 69:case 70:return 82;case 71:case 72:case 73:return 81;case 74:return 59;case 75:return 60;case 76:return 61;case 77:return 62;case 78:return 63;case 79:return 64;case 80:return 65;case 81:return 69;case 82:return 70;case 83:return 55;case 84:return 56;case 85:return 109;case 86:return 112;case 87:return 127;case 88:return 124;case 89:return 113;case 90:case 91:return 125;case 92:return 114;case 93:return 73;case 94:return 92;case 95:return"SEP";case 96:return 91;case 97:return 66;case 98:return 75;case 99:return 74;case 100:return 77;case 101:return 76;case 102:return 122;case 103:return 123;case 104:return 68;case 105:return 57;case 106:return 58;case 107:return 40;case 108:return 41;case 109:return 71;case 110:return 72;case 111:return 133;case 112:return 21;case 113:return 22;case 114:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[44,45,46,47,48,49,50,51,52,53,54],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],inclusive:!0}}},W2.prototype=K2,K2.Parser=W2,new W2}();s1.parser=s1;const q1=s1;let d1,k2,b2=0,Z=(0,R1.g)(),j={},A1=[],I1={},O1=[],D2={},P2={},g2=0,w2=!0,C2=[];const F2=e=>R1.d.sanitizeText(e,Z),X2=function(e,u,r){a2.m.parseDirective(this,e,u,r)},f2=function(e){const u=Object.keys(j);for(const r of u)if(j[r].id===e)return j[r].domId;return e},Z2=function(e,u,r,n,c,Y,F={}){let r1,z=e;void 0!==z&&0!==z.trim().length&&(void 0===j[z]&&(j[z]={id:z,domId:"flowchart-"+z+"-"+b2,styles:[],classes:[]}),b2++,void 0!==u?(Z=(0,R1.g)(),r1=F2(u.trim()),'"'===r1[0]&&'"'===r1[r1.length-1]&&(r1=r1.substring(1,r1.length-1)),j[z].text=r1):void 0===j[z].text&&(j[z].text=e),void 0!==r&&(j[z].type=r),n?.forEach(function(u1){j[z].styles.push(u1)}),c?.forEach(function(u1){j[z].classes.push(u1)}),void 0!==Y&&(j[z].dir=Y),void 0===j[z].props?j[z].props=F:void 0!==F&&Object.assign(j[z].props,F))},J2=function(e,u,r,n){const F={start:e,end:u,type:void 0,text:""};void 0!==(n=r.text)&&(F.text=F2(n.trim()),'"'===F.text[0]&&'"'===F.text[F.text.length-1]&&(F.text=F.text.substring(1,F.text.length-1))),void 0!==r&&(F.type=r.type,F.stroke=r.stroke,F.length=r.length),A1.push(F)},q2=function(e,u,r,n){let c,Y;for(c=0;c/)&&(d1="LR"),d1.match(/.*v/)&&(d1="TB"),"TD"===d1&&(d1="TB")},B2=function(e,u){e.split(",").forEach(function(r){let n=r;void 0!==j[n]&&j[n].classes.push(u),void 0!==D2[n]&&D2[n].classes.push(u)})},ue=function(e,u,r){e.split(",").forEach(function(n){void 0!==j[n]&&(j[n].link=s2.u.formatUrl(u,Z),j[n].linkTarget=r)}),B2(e,"clickable")},re=function(e){return P2[e]},ie=function(e,u,r){e.split(",").forEach(function(n){!function(e,u,r){let n=f2(e);if("loose"!==(0,R1.g)().securityLevel||void 0===u)return;let c=[];if("string"==typeof r){c=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let Y=0;Y")),c.classed("hover",!0)}).on("mouseout",function(){u.transition().duration(500).style("opacity",0),(0,x1.Ys)(this).classed("hover",!1)})};C2.push(he);const fe=function(e="gen-1"){j={},I1={},A1=[],C2=[he],O1=[],D2={},g2=0,P2=[],w2=!0,k2=e,(0,l1.f)()},Ae=e=>{k2=e||"gen-2"},de=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},pe=function(e,u,r){let n=e.trim(),c=r;e===r&&r.match(/\s/)&&(n=void 0);let F=[];const{nodeList:r1,dir:z}=function Y(_1){const $1={boolean:{},number:{},string:{}},u2=[];let r2;return{nodeList:_1.filter(function(J){const h1=typeof J;return J.stmt&&"dir"===J.stmt?(r2=J.value,!1):""!==J.trim()&&(h1 in $1?!$1[h1].hasOwnProperty(J)&&($1[h1][J]=!0):!u2.includes(J)&&u2.push(J))}),dir:r2}}(F.concat.apply(F,u));if(F=r1,"gen-1"===k2)for(let _1=0;_12e3)return;if(Ee[A2]=u,O1[u].id===e)return{result:!0,count:0};let n=0,c=1;for(;n=0){const F=_e(e,Y);if(F.result)return{result:!0,count:c+F.count};c+=F.count}n+=1}return{result:!1,count:c}},be=function(e){return Ee[e]},De=function(){A2=-1,O1.length>0&&_e("none",O1.length-1)},ge=function(){return O1},ke=()=>!!w2&&(w2=!1,!0),Ce=(e,u)=>{const r=(e=>{const u=e.trim();let r=u.slice(0,-1),n="arrow_open";switch(u.slice(-1)){case"x":n="arrow_cross","x"===u[0]&&(n="double_"+n,r=r.slice(1));break;case">":n="arrow_point","<"===u[0]&&(n="double_"+n,r=r.slice(1));break;case"o":n="arrow_circle","o"===u[0]&&(n="double_"+n,r=r.slice(1))}let c="normal",Y=r.length-1;"="===r[0]&&(c="thick"),"~"===r[0]&&(c="invisible");let F=((e,u)=>{const r=u.length;let n=0;for(let c=0;c{let u=e.trim(),r="arrow_open";switch(u[0]){case"<":r="arrow_point",u=u.slice(1);break;case"x":r="arrow_cross",u=u.slice(1);break;case"o":r="arrow_circle",u=u.slice(1)}let n="normal";return u.includes("=")&&(n="thick"),u.includes(".")&&(n="dotted"),{type:r,stroke:n}})(u),n.stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===n.type)n.type=r.type;else{if(n.type!==r.type)return{type:"INVALID",stroke:"INVALID"};n.type="double_"+n.type}return"double_arrow"===n.type&&(n.type="double_arrow_point"),n.length=r.length,n}return r},Fe=(e,u)=>{let r=!1;return e.forEach(n=>{n.nodes.indexOf(u)>=0&&(r=!0)}),r},Be=(e,u)=>{const r=[];return e.nodes.forEach((n,c)=>{Fe(u,n)||r.push(e.nodes[c])}),{nodes:r}},ve={firstGraph:ke},Te={parseDirective:X2,defaultConfig:()=>R1.i.flowchart,setAccTitle:l1.s,getAccTitle:l1.g,getAccDescription:l1.a,setAccDescription:l1.b,addVertex:Z2,lookUpDomId:f2,addLink:q2,updateLinkInterpolate:$2,updateLink:ee,addClass:te,setDirection:se,setClass:B2,setTooltip:function(e,u){e.split(",").forEach(function(r){void 0!==u&&(P2["gen-1"===k2?f2(r):r]=F2(u))})},getTooltip:re,setClickEvent:ie,setLink:ue,bindFunctions:ne,getDirection:ae,getVertices:ce,getEdges:oe,getClasses:le,clear:fe,setGen:Ae,defaultStyle:de,addSubGraph:pe,getDepthFirstPos:be,indexNodes:De,getSubGraphs:ge,destructLink:Ce,lex:ve,exists:Fe,makeUniq:Be,setDiagramTitle:l1.d,getDiagramTitle:l1.e},Ke=Object.freeze(Object.defineProperty({__proto__:null,addClass:te,addLink:q2,addSingleLink:J2,addSubGraph:pe,addVertex:Z2,bindFunctions:ne,clear:fe,default:Te,defaultStyle:de,destructLink:Ce,firstGraph:ke,getClasses:le,getDepthFirstPos:be,getDirection:ae,getEdges:oe,getSubGraphs:ge,getTooltip:re,getVertices:ce,indexNodes:De,lex:ve,lookUpDomId:f2,parseDirective:X2,setClass:B2,setClickEvent:ie,setDirection:se,setGen:Ae,setLink:ue,updateLink:ee,updateLinkInterpolate:$2},Symbol.toStringTag,{value:"Module"}))}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/883.8dbb7430ed8af2ea.js b/pkg/apiserver-impl/ui/883.8dbb7430ed8af2ea.js new file mode 100644 index 000000000..682ab8cfb --- /dev/null +++ b/pkg/apiserver-impl/ui/883.8dbb7430ed8af2ea.js @@ -0,0 +1 @@ +(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[883],{1861:function(vt){vt.exports=function(){"use strict";return function($,A){var nt=A.prototype,D=nt.format;nt.format=function(U){var E=this,ct=this.$locale();if(!this.isValid())return D.bind(this)(U);var m=this.$utils(),j=(U||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(O){switch(O){case"Q":return Math.ceil((E.$M+1)/3);case"Do":return ct.ordinal(E.$D);case"gggg":return E.weekYear();case"GGGG":return E.isoWeekYear();case"wo":return ct.ordinal(E.week(),"W");case"w":case"ww":return m.s(E.week(),"w"===O?1:2,"0");case"W":case"WW":return m.s(E.isoWeek(),"W"===O?1:2,"0");case"k":case"kk":return m.s(String(0===E.$H?24:E.$H),"k"===O?1:2,"0");case"X":return Math.floor(E.$d.getTime()/1e3);case"x":return E.$d.getTime();case"z":return"["+E.offsetName()+"]";case"zzz":return"["+E.offsetName("long")+"]";default:return O}});return D.bind(this)(j)}}}()},274:function(vt){vt.exports=function(){"use strict";var $={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},A=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,nt=/\d\d/,D=/\d\d?/,U=/\d*[^-_:/,()\s\d]+/,E={},ct=function(g){return(g=+g)+(g>68?1900:2e3)},m=function(g){return function(T){this[g]=+T}},j=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(T){if(!T||"Z"===T)return 0;var I=T.match(/([+-]|\d\d)/g),x=60*I[1]+(+I[2]||0);return 0===x?0:"+"===I[0]?-x:x}(g)}],O=function(g){var T=E[g];return T&&(T.indexOf?T:T.s.concat(T.f))},P=function(g,T){var I,x=E.meridiem;if(x){for(var G=1;G<=24;G+=1)if(g.indexOf(x(G,0,T))>-1){I=G>12;break}}else I=g===(T?"pm":"PM");return I},C={A:[U,function(g){this.afternoon=P(g,!1)}],a:[U,function(g){this.afternoon=P(g,!0)}],S:[/\d/,function(g){this.milliseconds=100*+g}],SS:[nt,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[D,m("seconds")],ss:[D,m("seconds")],m:[D,m("minutes")],mm:[D,m("minutes")],H:[D,m("hours")],h:[D,m("hours")],HH:[D,m("hours")],hh:[D,m("hours")],D:[D,m("day")],DD:[nt,m("day")],Do:[U,function(g){var T=E.ordinal,I=g.match(/\d+/);if(this.day=I[0],T)for(var x=1;x<=31;x+=1)T(x).replace(/\[|\]/g,"")===g&&(this.day=x)}],M:[D,m("month")],MM:[nt,m("month")],MMM:[U,function(g){var T=O("months"),I=(O("monthsShort")||T.map(function(x){return x.slice(0,3)})).indexOf(g)+1;if(I<1)throw new Error;this.month=I%12||I}],MMMM:[U,function(g){var T=O("months").indexOf(g)+1;if(T<1)throw new Error;this.month=T%12||T}],Y:[/[+-]?\d+/,m("year")],YY:[nt,function(g){this.year=ct(g)}],YYYY:[/\d{4}/,m("year")],Z:j,ZZ:j};return function(g,T,I){I.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(ct=g.parseTwoDigitYear);var x=T.prototype,G=x.parse;x.parse=function(K){var ot=K.date,Z=K.utc,B=K.args;this.$u=Z;var X=B[1];if("string"==typeof X){var st=!0===B[2],H=!0===B[3],F=st||H,V=B[2];H&&(V=B[2]),E=this.$locale(),!st&&V&&(E=I.Ls[V]),this.$d=function(mt,kt,lt){try{if(["x","X"].indexOf(kt)>-1)return new Date(("X"===kt?1e3:1)*mt);var Q=function wt(g){var I;I=E&&E.formats;for(var x=(g=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(st,H,F){var V=F&&F.toUpperCase();return H||I[F]||$[F]||I[V].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(tt,R,rt){return R||rt.slice(1)})})).match(A),G=x.length,K=0;K0?Tt-1:Ct.getMonth());var At=Ht||0,Lt=Qt||0,It=Jt||0,Yt=qt||0;return Wt?new Date(Date.UTC(Mt,xt,St,At,Lt,It,Yt+60*Wt.offset*1e3)):lt?new Date(Date.UTC(Mt,xt,St,At,Lt,It,Yt)):new Date(Mt,xt,St,At,Lt,It,Yt)}catch{return new Date("")}}(ot,X,Z),this.init(),V&&!0!==V&&(this.$L=this.locale(V).$L),F&&ot!=this.format(X)&&(this.$d=new Date("")),E={}}else if(X instanceof Array)for(var tt=X.length,R=1;R<=tt;R+=1){B[1]=X[R-1];var rt=I.apply(this,B);if(rt.isValid()){this.$d=rt.$d,this.$L=rt.$L,this.init();break}R===tt&&(this.$d=new Date(""))}else G.call(this,K)}}}()},7517:function(vt){vt.exports=function(){"use strict";var $="day";return function(A,nt,D){var U=function(m){return m.add(4-m.isoWeekday(),$)},E=nt.prototype;E.isoWeekYear=function(){return U(this).year()},E.isoWeek=function(m){if(!this.$utils().u(m))return this.add(7*(m-this.isoWeek()),$);var j,P,C,wt=U(this),g=(j=this.isoWeekYear(),C=4-(P=(this.$u?D.utc:D)().year(j).startOf("year")).isoWeekday(),P.isoWeekday()>4&&(C+=7),P.add(C,$));return wt.diff(g,"week")+1},E.isoWeekday=function(m){return this.$utils().u(m)?this.day()||7:this.day(this.day()%7?m:m-7)};var ct=E.startOf;E.startOf=function(m,j){var O=this.$utils(),P=!!O.u(j)||j;return"isoweek"===O.p(m)?P?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):ct.bind(this)(m,j)}}}()},5883:(vt,$,A)=>{"use strict";A.r($),A.d($,{diagram:()=>Me});var nt=A(6780),D=A(1764),U=A(7517),E=A(274),ct=A(1861),m=A(855),j=A(9111),O=A(4169),P=A(6012),C=A(5703),wt=A(1775),T=(A(2735),function(){var t=function(at,f,a,l){for(a=a||{},l=at.length;l--;a[at[l]]=f);return a},u=[1,3],s=[1,5],i=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],r=[1,15],k=[1,16],y=[1,17],J=[1,18],N=[1,19],Ot=[1,20],ft=[1,21],Dt=[1,22],et=[1,23],M=[1,24],q=[1,25],Vt=[1,26],Rt=[1,27],Nt=[1,29],Ut=[1,31],jt=[1,34],Gt=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],Pt={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(f,a,l,c,d,e,w){var n=e.length-1;switch(d){case 2:return e[n-1];case 3:case 7:case 8:this.$=[];break;case 4:e[n-1].push(e[n]),this.$=e[n-1];break;case 5:case 6:this.$=e[n];break;case 9:c.setDateFormat(e[n].substr(11)),this.$=e[n].substr(11);break;case 10:c.enableInclusiveEndDates(),this.$=e[n].substr(18);break;case 11:c.TopAxis(),this.$=e[n].substr(8);break;case 12:c.setAxisFormat(e[n].substr(11)),this.$=e[n].substr(11);break;case 13:c.setTickInterval(e[n].substr(13)),this.$=e[n].substr(13);break;case 14:c.setExcludes(e[n].substr(9)),this.$=e[n].substr(9);break;case 15:c.setIncludes(e[n].substr(9)),this.$=e[n].substr(9);break;case 16:c.setTodayMarker(e[n].substr(12)),this.$=e[n].substr(12);break;case 17:c.setDiagramTitle(e[n].substr(6)),this.$=e[n].substr(6);break;case 18:this.$=e[n].trim(),c.setAccTitle(this.$);break;case 19:case 20:this.$=e[n].trim(),c.setAccDescription(this.$);break;case 21:c.addSection(e[n].substr(8)),this.$=e[n].substr(8);break;case 23:c.addTask(e[n-1],e[n]),this.$="task";break;case 27:this.$=e[n-1],c.setClickEvent(e[n-1],e[n],null);break;case 28:this.$=e[n-2],c.setClickEvent(e[n-2],e[n-1],e[n]);break;case 29:this.$=e[n-2],c.setClickEvent(e[n-2],e[n-1],null),c.setLink(e[n-2],e[n]);break;case 30:this.$=e[n-3],c.setClickEvent(e[n-3],e[n-2],e[n-1]),c.setLink(e[n-3],e[n]);break;case 31:this.$=e[n-2],c.setClickEvent(e[n-2],e[n],null),c.setLink(e[n-2],e[n-1]);break;case 32:this.$=e[n-3],c.setClickEvent(e[n-3],e[n-1],e[n]),c.setLink(e[n-3],e[n-2]);break;case 33:this.$=e[n-1],c.setLink(e[n-1],e[n]);break;case 34:case 40:this.$=e[n-1]+" "+e[n];break;case 35:case 36:case 38:this.$=e[n-2]+" "+e[n-1]+" "+e[n];break;case 37:case 39:this.$=e[n-3]+" "+e[n-2]+" "+e[n-1]+" "+e[n];break;case 41:c.parseDirective("%%{","open_directive");break;case 42:c.parseDirective(e[n],"type_directive");break;case 43:e[n]=e[n].trim().replace(/'/g,'"'),c.parseDirective(e[n],"arg_directive");break;case 44:c.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:u,30:4,40:s},{1:[3]},{3:6,4:2,5:u,30:4,40:s},t(i,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:r,13:k,14:y,15:J,16:N,17:Ot,18:ft,19:Dt,20:et,21:M,23:q,25:Vt,26:Rt,27:28,28:Nt,30:4,35:Ut,40:s},{32:32,33:[1,33],43:jt},t([33,43],[2,42]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:30,10:35,12:r,13:k,14:y,15:J,16:N,17:Ot,18:ft,19:Dt,20:et,21:M,23:q,25:Vt,26:Rt,27:28,28:Nt,30:4,35:Ut,40:s},t(i,[2,6]),t(i,[2,7]),t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),t(i,[2,12]),t(i,[2,13]),t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),{22:[1,36]},{24:[1,37]},t(i,[2,20]),t(i,[2,21]),t(i,[2,22]),{29:[1,38]},t(i,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(i,[2,5]),t(i,[2,18]),t(i,[2,19]),t(i,[2,23]),t(i,[2,27],{37:[1,44],38:[1,45]}),t(i,[2,33],{36:[1,46]}),t(Gt,[2,25]),{32:47,43:jt},{43:[2,43]},t(i,[2,28],{38:[1,48]}),t(i,[2,29]),t(i,[2,31],{37:[1,49]}),{11:[1,50]},t(i,[2,30]),t(i,[2,32]),t(Gt,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(f,a){if(!a.recoverable){var l=new Error(f);throw l.hash=a,l}this.trace(f)},parse:function(f){var l=[0],c=[],d=[null],e=[],w=this.table,n="",b=0,W=0,p=e.slice.call(arguments,1),h=Object.create(this.lexer),S={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(S.yy[L]=this.yy[L]);h.setInput(f,S.yy),S.yy.lexer=h,S.yy.parser=this,typeof h.yylloc>"u"&&(h.yylloc={});var v=h.yylloc;e.push(v);var ht,_=h.options&&h.options.ranges;this.parseError="function"==typeof S.yy.parseError?S.yy.parseError:Object.getPrototypeOf(this).parseError;for(var z,pt,it,ne,Kt,dt,Zt,Et={};;){if(this.defaultActions[pt=l[l.length-1]]?it=this.defaultActions[pt]:((null===z||typeof z>"u")&&(ht=void 0,"number"!=typeof(ht=c.pop()||h.lex()||1)&&(ht instanceof Array&&(ht=(c=ht).pop()),ht=this.symbols_[ht]||ht),z=ht),it=w[pt]&&w[pt][z]),typeof it>"u"||!it.length||!it[0]){var se;for(Kt in Zt=[],w[pt])this.terminals_[Kt]&&Kt>2&&Zt.push("'"+this.terminals_[Kt]+"'");se=h.showPosition?"Parse error on line "+(b+1)+":\n"+h.showPosition()+"\nExpecting "+Zt.join(", ")+", got '"+(this.terminals_[z]||z)+"'":"Parse error on line "+(b+1)+": Unexpected "+(1==z?"end of input":"'"+(this.terminals_[z]||z)+"'"),this.parseError(se,{text:h.match,token:this.terminals_[z]||z,line:h.yylineno,loc:v,expected:Zt})}if(it[0]instanceof Array&&it.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pt+", token: "+z);switch(it[0]){case 1:l.push(z),d.push(h.yytext),e.push(h.yylloc),l.push(it[1]),z=null,W=h.yyleng,n=h.yytext,b=h.yylineno,v=h.yylloc;break;case 2:if(Et.$=d[d.length-(dt=this.productions_[it[1]][1])],Et._$={first_line:e[e.length-(dt||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(dt||1)].first_column,last_column:e[e.length-1].last_column},_&&(Et._$.range=[e[e.length-(dt||1)].range[0],e[e.length-1].range[1]]),typeof(ne=this.performAction.apply(Et,[n,W,b,S.yy,it[1],d,e].concat(p)))<"u")return ne;dt&&(l=l.slice(0,-1*dt*2),d=d.slice(0,-1*dt),e=e.slice(0,-1*dt)),l.push(this.productions_[it[1]][0]),d.push(Et.$),e.push(Et._$),l.push(w[l[l.length-2]][l[l.length-1]]);break;case 3:return!0}}return!0}};function Ft(){this.yy={}}return Pt.lexer={EOF:1,parseError:function(a,l){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,l)},setInput:function(f,a){return this.yy=a||this.yy||{},this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];return this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f,f.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var a=f.length,l=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===c.length?this.yylloc.first_column:0)+c[c.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),a=new Array(f.length+1).join("-");return f+this.upcomingInput()+"\n"+a+"^"},test_match:function(f,a){var l,c,d;if(this.options.backtrack_lexer&&(d={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(d.yylloc.range=this.yylloc.range.slice(0))),(c=f[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=c.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],l=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var e in d)this[e]=d[e];return!1}return!1},next:function(){if(this.done)return this.EOF;var f,a,l,c;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),e=0;ea[0].length)){if(a=l,c=e,this.options.backtrack_lexer){if(!1!==(f=this.test_match(l,d[e])))return f;if(this._backtrack){a=!1;continue}return!1}if(!this.options.flex)break}return a?!1!==(f=this.test_match(a,d[c]))&&f:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(a,l,c,d){switch(c){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 20:case 23:case 26:case 29:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:case 13:case 14:case 16:case 17:case 18:break;case 15:return 11;case 19:this.begin("href");break;case 21:return 38;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 27:return 37;case 28:this.begin("click");break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return"date";case 41:return 20;case 42:return"accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}},Ft.prototype=Pt,Pt.Parser=Ft,new Ft}());T.parser=T;const I=T;D.extend(U),D.extend(E),D.extend(ct);let K,x="",G="",ot="",Z=[],B=[],X={},st=[],H=[],F="";const V=["active","done","crit","milestone"];let tt=[],R=!1,rt=!1,mt=0;const ae=function(t,u,s,i){return!i.includes(t.format(u.trim()))&&(!!(t.isoWeekday()>=6&&s.includes("weekends")||s.includes(t.format("dddd").toLowerCase()))||s.includes(t.format(u.trim())))},ce=function(t,u,s,i){if(!s.length||t.manualEndTime)return;let r,k;r=t.startTime instanceof Date?D(t.startTime):D(t.startTime,u,!0),r=r.add(1,"d"),k=t.endTime instanceof Date?D(t.endTime):D(t.endTime,u,!0);const[y,J]=pe(r,k,u,s,i);t.endTime=y.toDate(),t.renderEndTime=J},pe=function(t,u,s,i,r){let k=!1,y=null;for(;t<=u;)k||(y=u.toDate()),k=ae(t,s,i,r),k&&(u=u.add(1,"d")),t=t.add(1,"d");return[u,y]},$t=function(t,u,s){s=s.trim();const r=/^after\s+([\d\w- ]+)/.exec(s.trim());if(null!==r){let y=null;if(r[1].split(" ").forEach(function(J){let N=_t(J);void 0!==N&&(y?N.endTime>y.endTime&&(y=N):y=N)}),y)return y.endTime;{const J=new Date;return J.setHours(0,0,0,0),J}}let k=D(s,u.trim(),!0);if(k.isValid())return k.toDate();{m.l.debug("Invalid date:"+s),m.l.debug("With date format:"+u.trim());const y=new Date(s);if(void 0===y||isNaN(y.getTime()))throw new Error("Invalid date:"+s);return y}},oe=function(t){const u=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==u?[Number.parseFloat(u[1]),u[2]]:[NaN,"ms"]},le=function(t,u,s,i=!1){s=s.trim();let r=D(s,u.trim(),!0);if(r.isValid())return i&&(r=r.add(1,"d")),r.toDate();let k=D(t);const[y,J]=oe(s);if(!Number.isNaN(y)){const N=k.add(y,J);N.isValid()&&(k=N)}return k.toDate()};let zt=0;const bt=function(t){return void 0===t?(zt+=1,"task"+zt):t};let te,Bt,Y=[];const ue={},_t=function(t){return Y[ue[t]]},fe=function(){const t=function(s){const i=Y[s];let r="";switch(Y[s].raw.startTime.type){case"prevTaskEnd":{const k=_t(i.prevTaskId);i.startTime=k.endTime;break}case"getStartDate":r=$t(0,x,Y[s].raw.startTime.startData),r&&(Y[s].startTime=r)}return Y[s].startTime&&(Y[s].endTime=le(Y[s].startTime,x,Y[s].raw.endTime.data,R),Y[s].endTime&&(Y[s].processed=!0,Y[s].manualEndTime=D(Y[s].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),ce(Y[s],x,B,Z))),Y[s].processed};let u=!0;for(const[s,i]of Y.entries())t(s),u=u&&i.processed;return u},de=function(t,u){t.split(",").forEach(function(s){let i=_t(s);void 0!==i&&i.classes.push(u)})},he=function(t,u){tt.push(function(){const s=document.querySelector(`[id="${t}"]`);null!==s&&s.addEventListener("click",function(){u()})},function(){const s=document.querySelector(`[id="${t}-text"]`);null!==s&&s.addEventListener("click",function(){u()})})};function me(t,u,s){let i=!0;for(;i;)i=!1,s.forEach(function(r){const y=new RegExp("^\\s*"+r+"\\s*$");t[0].match(y)&&(u[r]=!0,t.shift(1),i=!0)})}let ut;const Me={parser:I,db:{parseDirective:function(t,u,s){O.m.parseDirective(this,t,u,s)},getConfig:()=>(0,m.g)().gantt,clear:function(){st=[],H=[],F="",tt=[],zt=0,te=void 0,Bt=void 0,Y=[],x="",G="",K=void 0,ot="",Z=[],B=[],R=!1,rt=!1,mt=0,X={},(0,P.f)()},setDateFormat:function(t){x=t},getDateFormat:function(){return x},enableInclusiveEndDates:function(){R=!0},endDatesAreInclusive:function(){return R},enableTopAxis:function(){rt=!0},topAxisEnabled:function(){return rt},setAxisFormat:function(t){G=t},getAxisFormat:function(){return G},setTickInterval:function(t){K=t},getTickInterval:function(){return K},setTodayMarker:function(t){ot=t},getTodayMarker:function(){return ot},setAccTitle:P.s,getAccTitle:P.g,setDiagramTitle:P.d,getDiagramTitle:P.e,setAccDescription:P.b,getAccDescription:P.a,addSection:function(t){F=t,st.push(t)},getSections:function(){return st},getTasks:function(){let t=fe(),s=0;for(;!t&&s<10;)t=fe(),s++;return H=Y,H},addTask:function(t,u){const s={section:F,type:F,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:u},task:t,classes:[]},i=function(t,u){let s;s=":"===u.substr(0,1)?u.substr(1,u.length):u;const i=s.split(","),r={};me(i,r,V);for(let k=0;k{j.u.runFunc(u,...i)})}(i,u,s)}),de(t,"clickable")},setLink:function(t,u){let s=u;"loose"!==(0,m.g)().securityLevel&&(s=(0,nt.N)(u)),t.split(",").forEach(function(i){void 0!==_t(i)&&(he(i,()=>{window.open(s,"_self")}),X[i]=s)}),de(t,"clickable")},getLinks:function(){return X},bindFunctions:function(t){tt.forEach(function(u){u(t)})},parseDuration:oe,isInvalidDate:ae},renderer:{setConf:function(){m.l.debug("Something is calling, setConf, remove the call")},draw:function(t,u,s,i){const r=(0,m.g)().gantt,k=(0,m.g)().securityLevel;let y;"sandbox"===k&&(y=(0,C.Ys)("#i"+u));const J=(0,C.Ys)("sandbox"===k?y.nodes()[0].contentDocument.body:"body"),N="sandbox"===k?y.nodes()[0].contentDocument:document,Ot=N.getElementById(u);ut=Ot.parentElement.offsetWidth,void 0===ut&&(ut=1200),void 0!==r.useWidth&&(ut=r.useWidth);const ft=i.db.getTasks(),Dt=ft.length*(r.barHeight+r.barGap)+2*r.topPadding;Ot.setAttribute("viewBox","0 0 "+ut+" "+Dt);const et=J.select(`[id="${u}"]`),M=(0,C.Xf)().domain([(0,C.VV$)(ft,function(a){return a.startTime}),(0,C.Fp7)(ft,function(a){return a.endTime})]).rangeRound([0,ut-r.leftPadding-r.rightPadding]);let q=[];for(const a of ft)q.push(a.type);const Vt=q;function f(a,l){return function at(a){let l=a.length;const c={};for(;l;)c[a[--l]]=(c[a[l]]||0)+1;return c}(l)[a]||0}q=function Ft(a){const l={},c=[];for(let d=0,e=a.length;dd?e=1:cv?Math.min(v,_):_,0),yt=w.reduce((v,{endTime:_})=>v?Math.max(v,_):_,0),o=i.db.getDateFormat();if(!W||!yt)return;const p=[];let h=null,S=D(W);for(;S.valueOf()<=yt;)i.db.isInvalidDate(S,o,n,b)?h?h.end=S:h={start:S,end:S}:h&&(p.push(h),h=null),S=S.add(1,"d");et.append("g").selectAll("rect").data(p).enter().append("rect").attr("id",function(v){return"exclude-"+v.start.format("YYYY-MM-DD")}).attr("x",function(v){return M(v.start)+c}).attr("y",r.gridLineStartPadding).attr("width",function(v){const _=v.end.add(1,"day");return M(_)-M(v.start)}).attr("height",e-l-r.gridLineStartPadding).attr("transform-origin",function(v,_){return(M(v.start)+c+.5*(M(v.end)-M(v.start))).toString()+"px "+(_*a+.5*e).toString()+"px"}).attr("class","exclude-range")}(e,w,n,0,c,a,i.db.getExcludes(),i.db.getIncludes()),function Gt(a,l,c,d){let e=(0,C.LLu)(M).tickSize(-d+l+r.gridLineStartPadding).tickFormat((0,C.i$Z)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));const n=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||r.tickInterval);if(null!==n){const b=n[1];switch(n[2]){case"minute":e.ticks(C.Z_i.every(b));break;case"hour":e.ticks(C.WQD.every(b));break;case"day":e.ticks(C.rr1.every(b));break;case"week":e.ticks(C.NGh.every(b));break;case"month":e.ticks(C.F0B.every(b))}}if(et.append("g").attr("class","grid").attr("transform","translate("+a+", "+(d-50)+")").call(e).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||r.topAxis){let b=(0,C.F5q)(M).tickSize(-d+l+r.gridLineStartPadding).tickFormat((0,C.i$Z)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));if(null!==n){const W=n[1];switch(n[2]){case"minute":b.ticks(C.Z_i.every(W));break;case"hour":b.ticks(C.WQD.every(W));break;case"day":b.ticks(C.rr1.every(W));break;case"week":b.ticks(C.NGh.every(W));break;case"month":b.ticks(C.F0B.every(W))}}et.append("g").attr("class","grid").attr("transform","translate("+a+", "+l+")").call(b).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(n,w,0,c),function Ut(a,l,c,d,e,w,n){et.append("g").selectAll("rect").data(a).enter().append("rect").attr("x",0).attr("y",function(o,p){return o.order*l+c-2}).attr("width",function(){return n-r.rightPadding/2}).attr("height",l).attr("class",function(o){for(const[p,h]of q.entries())if(o.type===h)return"section section"+p%r.numberSectionStyles;return"section section0"});const b=et.append("g").selectAll("rect").data(a).enter(),W=i.db.getLinks();if(b.append("rect").attr("id",function(o){return o.id}).attr("rx",3).attr("ry",3).attr("x",function(o){return o.milestone?M(o.startTime)+d+.5*(M(o.endTime)-M(o.startTime))-.5*e:M(o.startTime)+d}).attr("y",function(o,p){return o.order*l+c}).attr("width",function(o){return o.milestone?e:M(o.renderEndTime||o.endTime)-M(o.startTime)}).attr("height",e).attr("transform-origin",function(o,p){return p=o.order,(M(o.startTime)+d+.5*(M(o.endTime)-M(o.startTime))).toString()+"px "+(p*l+c+.5*e).toString()+"px"}).attr("class",function(o){let h="";o.classes.length>0&&(h=o.classes.join(" "));let S=0;for(const[v,_]of q.entries())o.type===_&&(S=v%r.numberSectionStyles);let L="";return o.active?o.crit?L+=" activeCrit":L=" active":o.done?L=o.crit?" doneCrit":" done":o.crit&&(L+=" crit"),0===L.length&&(L=" task"),o.milestone&&(L=" milestone "+L),L+=S,L+=" "+h,"task"+L}),b.append("text").attr("id",function(o){return o.id+"-text"}).text(function(o){return o.task}).attr("font-size",r.fontSize).attr("x",function(o){let p=M(o.startTime),h=M(o.renderEndTime||o.endTime);o.milestone&&(p+=.5*(M(o.endTime)-M(o.startTime))-.5*e),o.milestone&&(h=p+e);const S=this.getBBox().width;return S>h-p?h+S+1.5*r.leftPadding>n?p+d-5:h+d+5:(h-p)/2+p+d}).attr("y",function(o,p){return o.order*l+r.barHeight/2+(r.fontSize/2-2)+c}).attr("text-height",e).attr("class",function(o){const p=M(o.startTime);let h=M(o.endTime);o.milestone&&(h=p+e);const S=this.getBBox().width;let L="";o.classes.length>0&&(L=o.classes.join(" "));let v=0;for(const[ie,z]of q.entries())o.type===z&&(v=ie%r.numberSectionStyles);let _="";return o.active&&(_=o.crit?"activeCritText"+v:"activeText"+v),o.done?_=o.crit?_+" doneCritText"+v:_+" doneText"+v:o.crit&&(_=_+" critText"+v),o.milestone&&(_+=" milestoneText"),S>h-p?h+S+1.5*r.leftPadding>n?L+" taskTextOutsideLeft taskTextOutside"+v+" "+_:L+" taskTextOutsideRight taskTextOutside"+v+" "+_+" width-"+S:L+" taskText taskText"+v+" "+_+" width-"+S}),"sandbox"===(0,m.g)().securityLevel){let o;o=(0,C.Ys)("#i"+u);const p=o.nodes()[0].contentDocument;b.filter(function(h){return void 0!==W[h.id]}).each(function(h){var S=p.querySelector("#"+h.id),L=p.querySelector("#"+h.id+"-text");const v=S.parentNode;var _=p.createElement("a");_.setAttribute("xlink:href",W[h.id]),_.setAttribute("target","_top"),v.appendChild(_),_.appendChild(S),_.appendChild(L)})}}(a,e,w,n,d,0,l),function Pt(a,l){const c=[];let d=0;for(const[e,w]of q.entries())c[e]=[w,f(w,Vt)];et.append("g").selectAll("text").data(c).enter().append(function(e){const w=e[0].split(m.d.lineBreakRegex),n=-(w.length-1)/2,b=N.createElementNS("http://www.w3.org/2000/svg","text");b.setAttribute("dy",n+"em");for(const[W,yt]of w.entries()){const o=N.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttribute("alignment-baseline","central"),o.setAttribute("x","10"),W>0&&o.setAttribute("dy","1em"),o.textContent=yt,b.appendChild(o)}return b}).attr("x",10).attr("y",function(e,w){if(!(w>0))return e[1]*a/2+l;for(let n=0;n`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/905.32f9d8e99950acca.js b/pkg/apiserver-impl/ui/905.32f9d8e99950acca.js new file mode 100644 index 000000000..bb1753c02 --- /dev/null +++ b/pkg/apiserver-impl/ui/905.32f9d8e99950acca.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[905],{1905:(xt,it,d)=>{d.r(it),d.d(it,{diagram:()=>dt});var y=d(855),at=d(4169),T=d(6012),$=d(5703),lt=d(1775),J=(d(2735),d(1764),d(6780),function(){var s=function(_,e,t,i){for(t=t||{},i=_.length;i--;t[_[i]]=e);return t},p=[1,4],A=[1,5],g=[1,6],V=[1,7],u=[1,9],E=[1,11,13,15,17,19,20,26,27,28,29],F=[2,5],S=[1,6,11,13,15,17,19,20,26,27,28,29],h=[26,27,28],W=[2,8],U=[1,18],D=[1,19],K=[1,20],z=[1,21],L=[1,22],N=[1,23],R=[1,28],b=[6,26,27,28,29],w={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(e,t,i,r,a,n,P){var c=n.length-1;switch(a){case 4:r.setShowData(!0);break;case 7:this.$=n[c-1];break;case 9:r.addSection(n[c-1],r.cleanupValue(n[c]));break;case 10:this.$=n[c].trim(),r.setDiagramTitle(this.$);break;case 11:this.$=n[c].trim(),r.setAccTitle(this.$);break;case 12:case 13:this.$=n[c].trim(),r.setAccDescription(this.$);break;case 14:r.addSection(n[c].substr(8)),this.$=n[c].substr(8);break;case 21:r.parseDirective("%%{","open_directive");break;case 22:r.parseDirective(n[c],"type_directive");break;case 23:n[c]=n[c].trim().replace(/'/g,'"'),r.parseDirective(n[c],"arg_directive");break;case 24:r.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:p,21:8,26:A,27:g,28:V,29:u},{1:[3]},{3:10,4:2,5:3,6:p,21:8,26:A,27:g,28:V,29:u},{3:11,4:2,5:3,6:p,21:8,26:A,27:g,28:V,29:u},s(E,F,{7:12,8:[1,13]}),s(S,[2,18]),s(S,[2,19]),s(S,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},s(h,W,{21:8,9:16,10:17,5:24,1:[2,3],11:U,13:D,15:K,17:z,19:L,20:N,29:u}),s(E,F,{7:25}),{23:26,24:[1,27],32:R},s([24,32],[2,22]),s(E,[2,6]),{4:29,26:A,27:g,28:V},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},s(h,[2,13]),s(h,[2,14]),s(h,[2,15]),s(h,W,{21:8,9:16,10:17,5:24,1:[2,4],11:U,13:D,15:K,17:z,19:L,20:N,29:u}),s(b,[2,16]),{25:34,31:[1,35]},s(b,[2,24]),s(E,[2,7]),s(h,[2,9]),s(h,[2,10]),s(h,[2,11]),s(h,[2,12]),{23:36,32:R},{32:[2,23]},s(b,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)},parse:function(e){var i=[0],r=[],a=[null],n=[],P=this.table,c="",Y=0,st=0,mt=n.slice.call(arguments,1),l=Object.create(this.lexer),I={yy:{}};for(var Z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Z)&&(I.yy[Z]=this.yy[Z]);l.setInput(e,I.yy),I.yy.lexer=l,I.yy.parser=this,typeof l.yylloc>"u"&&(l.yylloc={});var q=l.yylloc;n.push(q);var k,vt=l.options&&l.options.ranges;this.parseError="function"==typeof I.yy.parseError?I.yy.parseError:Object.getPrototypeOf(this).parseError;for(var o,O,f,tt,G,x,H,M={};;){if(this.defaultActions[O=i[i.length-1]]?f=this.defaultActions[O]:((null===o||typeof o>"u")&&(k=void 0,"number"!=typeof(k=r.pop()||l.lex()||1)&&(k instanceof Array&&(k=(r=k).pop()),k=this.symbols_[k]||k),o=k),f=P[O]&&P[O][o]),typeof f>"u"||!f.length||!f[0]){var et;for(G in H=[],P[O])this.terminals_[G]&&G>2&&H.push("'"+this.terminals_[G]+"'");et=l.showPosition?"Parse error on line "+(Y+1)+":\n"+l.showPosition()+"\nExpecting "+H.join(", ")+", got '"+(this.terminals_[o]||o)+"'":"Parse error on line "+(Y+1)+": Unexpected "+(1==o?"end of input":"'"+(this.terminals_[o]||o)+"'"),this.parseError(et,{text:l.match,token:this.terminals_[o]||o,line:l.yylineno,loc:q,expected:H})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+o);switch(f[0]){case 1:i.push(o),a.push(l.yytext),n.push(l.yylloc),i.push(f[1]),o=null,st=l.yyleng,c=l.yytext,Y=l.yylineno,q=l.yylloc;break;case 2:if(M.$=a[a.length-(x=this.productions_[f[1]][1])],M._$={first_line:n[n.length-(x||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(x||1)].first_column,last_column:n[n.length-1].last_column},vt&&(M._$.range=[n[n.length-(x||1)].range[0],n[n.length-1].range[1]]),typeof(tt=this.performAction.apply(M,[c,st,Y,I.yy,f[1],a,n].concat(mt)))<"u")return tt;x&&(i=i.slice(0,-1*x*2),a=a.slice(0,-1*x),n=n.slice(0,-1*x)),i.push(this.productions_[f[1]][0]),a.push(M.$),n.push(M._$),i.push(P[i[i.length-2]][i[i.length-1]]);break;case 3:return!0}}return!0}};function j(){this.yy={}}return w.lexer={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var i,r,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;nt[0].length)){if(t=i,r=n,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,a[n])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,a[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,r,a){switch(r){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}},j.prototype=w,w.Parser=j,new j}());J.parser=J;const ct=J;let B={},Q=!1;const pt={parseDirective:function(s,p,A){at.m.parseDirective(this,s,p,A)},getConfig:()=>(0,y.g)().pie,addSection:function(s,p){s=y.d.sanitizeText(s,(0,y.g)()),void 0===B[s]&&(B[s]=p,y.l.debug("Added new section :",s))},getSections:()=>B,cleanupValue:function(s){return":"===s.substring(0,1)&&(s=s.substring(1).trim()),Number(s.trim())},clear:function(){B={},Q=!1,(0,T.f)()},setAccTitle:T.s,getAccTitle:T.g,setDiagramTitle:T.d,getDiagramTitle:T.e,setShowData:function(s){Q=s},getShowData:function(){return Q},getAccDescription:T.a,setAccDescription:T.b};let v,m=(0,y.g)();const dt={parser:ct,db:pt,renderer:{draw:(s,p,A,g)=>{try{m=(0,y.g)(),y.l.debug("Rendering info diagram\n"+s);const b=(0,y.g)().securityLevel;let w;"sandbox"===b&&(w=(0,$.Ys)("#i"+p));const X=(0,$.Ys)("sandbox"===b?w.nodes()[0].contentDocument.body:"body"),j="sandbox"===b?w.nodes()[0].contentDocument:document;g.db.clear(),g.parser.parse(s),y.l.debug("Parsed info diagram");const _=j.getElementById(p);v=_.parentElement.offsetWidth,void 0===v&&(v=1200),void 0!==m.useWidth&&(v=m.useWidth),void 0!==m.pie.useWidth&&(v=m.pie.useWidth);const e=X.select("#"+p);(0,lt.c)(e,450,v,m.pie.useMaxWidth),_.setAttribute("viewBox","0 0 "+v+" 450");var F=Math.min(v,450)/2-40,S=e.append("g").attr("transform","translate("+v/2+",225)"),h=g.db.getSections(),W=0;Object.keys(h).forEach(function(i){W+=h[i]});const t=m.themeVariables;var U=[t.pie1,t.pie2,t.pie3,t.pie4,t.pie5,t.pie6,t.pie7,t.pie8,t.pie9,t.pie10,t.pie11,t.pie12],D=(0,$.PKp)().range(U),K=Object.entries(h).map(function(i,r){return{order:r,name:i[0],value:i[1]}}),L=(0,$.ve8)().value(function(i){return i.value}).sort(function(i,r){return i.order-r.order})(K),N=(0,$.Nb1)().innerRadius(0).outerRadius(F);S.selectAll("mySlices").data(L).enter().append("path").attr("d",N).attr("fill",function(i){return D(i.data.name)}).attr("class","pieCircle"),S.selectAll("mySlices").data(L).enter().append("text").text(function(i){return(i.data.value/W*100).toFixed(0)+"%"}).attr("transform",function(i){return"translate("+N.centroid(i)+")"}).style("text-anchor","middle").attr("class","slice"),S.append("text").text(g.db.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var R=S.selectAll(".legend").data(D.domain()).enter().append("g").attr("class","legend").attr("transform",function(i,r){return"translate(216,"+(22*r-22*D.domain().length/2)+")"});R.append("rect").attr("width",18).attr("height",18).style("fill",D).style("stroke",D),R.data(L).append("text").attr("x",22).attr("y",14).text(function(i){return g.db.getShowData()||m.showData||m.pie.showData?i.data.name+" ["+i.data.value+"]":i.data.name})}catch(b){y.l.error("Error while rendering info diagram"),y.l.error(b)}}},styles:s=>`\n .pieCircle{\n stroke: ${s.pieStrokeColor};\n stroke-width : ${s.pieStrokeWidth};\n opacity : ${s.pieOpacity};\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${s.pieTitleTextSize};\n fill: ${s.pieTitleTextColor};\n font-family: ${s.fontFamily};\n }\n .slice {\n font-family: ${s.fontFamily};\n fill: ${s.pieSectionTextColor};\n font-size:${s.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${s.pieLegendTextColor};\n font-family: ${s.fontFamily};\n font-size: ${s.pieLegendTextSize};\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/911.f351650d584d08a4.js b/pkg/apiserver-impl/ui/911.f351650d584d08a4.js new file mode 100644 index 000000000..a07660fec --- /dev/null +++ b/pkg/apiserver-impl/ui/911.f351650d584d08a4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[911],{2911:(be,zt,w)=>{w.d(zt,{D:()=>At,S:()=>pt,a:()=>j,b:()=>Lt,c:()=>M,d:()=>ge,e:()=>Xt,p:()=>Ht,s:()=>me});var _=w(855),Kt=w(9111),Wt=w(4169),C=w(6012),ft=function(){var t=function(x,r,a,i){for(a=a||{},i=x.length;i--;a[x[i]]=r);return a},s=[1,2],n=[1,3],h=[1,5],u=[1,7],f=[2,5],p=[1,15],D=[1,17],d=[1,21],E=[1,22],k=[1,23],H=[1,24],$=[1,37],X=[1,25],J=[1,26],Q=[1,27],Z=[1,28],q=[1,29],tt=[1,32],et=[1,33],st=[1,34],it=[1,35],rt=[1,36],nt=[1,39],at=[1,40],ct=[1,41],lt=[1,42],F=[1,38],Mt=[1,45],o=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],ot=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],Tt=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],jt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],kt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(r,a,i,l,y,e,Y){var c=e.length-1;switch(y){case 4:return l.setRootDoc(e[c]),e[c];case 5:this.$=[];break;case 6:"nl"!=e[c]&&(e[c-1].push(e[c]),this.$=e[c-1]);break;case 7:case 8:case 12:this.$=e[c];break;case 9:this.$="nl";break;case 13:const G=e[c-1];G.description=l.trimColon(e[c]),this.$=G;break;case 14:this.$={stmt:"relation",state1:e[c-2],state2:e[c]};break;case 15:const bt=l.trimColon(e[c]);this.$={stmt:"relation",state1:e[c-3],state2:e[c-1],description:bt};break;case 19:this.$={stmt:"state",id:e[c-3],type:"default",description:"",doc:e[c-1]};break;case 20:var L=e[c],R=e[c-2].trim();if(e[c].match(":")){var ht=e[c].split(":");L=ht[0],R=[R,ht[1]]}this.$={stmt:"state",id:L,type:"default",description:R};break;case 21:this.$={stmt:"state",id:e[c-3],type:"default",description:e[c-5],doc:e[c-1]};break;case 22:this.$={stmt:"state",id:e[c],type:"fork"};break;case 23:this.$={stmt:"state",id:e[c],type:"join"};break;case 24:this.$={stmt:"state",id:e[c],type:"choice"};break;case 25:this.$={stmt:"state",id:l.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:e[c-1].trim(),note:{position:e[c-2].trim(),text:e[c].trim()}};break;case 30:this.$=e[c].trim(),l.setAccTitle(this.$);break;case 31:case 32:this.$=e[c].trim(),l.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:e[c-1].trim(),classes:e[c].trim()};break;case 35:this.$={stmt:"applyClass",id:e[c-1].trim(),styleClass:e[c].trim()};break;case 38:l.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:l.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:l.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:l.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:e[c].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:e[c-2].trim(),classes:[e[c].trim()],type:"default",description:""};break;case 50:l.parseDirective("%%{","open_directive");break;case 51:l.parseDirective(e[c],"type_directive");break;case 52:e[c]=e[c].trim().replace(/'/g,'"'),l.parseDirective(e[c],"arg_directive");break;case 53:l.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:s,5:n,6:4,7:h,45:6,60:u},{1:[3]},{3:8,4:s,5:n,6:4,7:h,45:6,60:u},{3:9,4:s,5:n,6:4,7:h,45:6,60:u},{3:10,4:s,5:n,6:4,7:h,45:6,60:u},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],f,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:p,5:D,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:E,19:k,22:H,24:$,25:X,26:J,27:Q,28:Z,29:q,32:31,33:tt,35:et,37:st,38:it,42:rt,45:6,50:nt,51:at,52:ct,53:lt,56:F,60:u},{47:43,48:[1,44],63:Mt},t([48,63],[2,51]),t(o,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:d,17:E,19:k,22:H,24:$,25:X,26:J,27:Q,28:Z,29:q,32:31,33:tt,35:et,37:st,38:it,42:rt,45:6,50:nt,51:at,52:ct,53:lt,56:F,60:u},t(o,[2,8]),t(o,[2,9]),t(o,[2,10]),t(o,[2,11]),t(o,[2,12],{14:[1,47],15:[1,48]}),t(o,[2,16]),{18:[1,49]},t(o,[2,18],{20:[1,50]}),{23:[1,51]},t(o,[2,22]),t(o,[2,23]),t(o,[2,24]),t(o,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(o,[2,28]),t(o,[2,29]),{34:[1,56]},{36:[1,57]},t(o,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(ot,[2,44],{57:[1,61]}),t(ot,[2,45],{57:[1,62]}),t(o,[2,38]),t(o,[2,39]),t(o,[2,40]),t(o,[2,41]),t(Tt,[2,36]),{49:63,62:[1,64]},t(Tt,[2,53]),t(o,[2,7]),t(o,[2,13]),{13:65,24:$,56:F},t(o,[2,17]),t(jt,f,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(o,[2,30]),t(o,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:Mt},{63:[2,52]},t(o,[2,14],{14:[1,76]}),{4:p,5:D,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:E,19:k,21:[1,77],22:H,24:$,25:X,26:J,27:Q,28:Z,29:q,32:31,33:tt,35:et,37:st,38:it,42:rt,45:6,50:nt,51:at,52:ct,53:lt,56:F,60:u},t(o,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(o,[2,33]),t(o,[2,34]),t(o,[2,35]),t(ot,[2,46]),t(ot,[2,47]),t(Tt,[2,37]),t(o,[2,15]),t(o,[2,19]),t(jt,f,{8:81}),t(o,[2,26]),t(o,[2,27]),{4:p,5:D,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:E,19:k,21:[1,82],22:H,24:$,25:X,26:J,27:Q,28:Z,29:q,32:31,33:tt,35:et,37:st,38:it,42:rt,45:6,50:nt,51:at,52:ct,53:lt,56:F,60:u},t(o,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(r,a){if(!a.recoverable){var i=new Error(r);throw i.hash=a,i}this.trace(r)},parse:function(r){var i=[0],l=[],y=[null],e=[],Y=this.table,c="",L=0,R=0,bt=e.slice.call(arguments,1),S=Object.create(this.lexer),I={yy:{}};for(var vt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,vt)&&(I.yy[vt]=this.yy[vt]);S.setInput(r,I.yy),I.yy.lexer=S,I.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var Dt=S.yylloc;e.push(Dt);var v,ke=S.options&&S.options.ranges;this.parseError="function"==typeof I.yy.parseError?I.yy.parseError:Object.getPrototypeOf(this).parseError;for(var m,O,T,xt,ut,b,dt,N={};;){if(this.defaultActions[O=i[i.length-1]]?T=this.defaultActions[O]:((null===m||typeof m>"u")&&(v=void 0,"number"!=typeof(v=l.pop()||S.lex()||1)&&(v instanceof Array&&(v=(l=v).pop()),v=this.symbols_[v]||v),m=v),T=Y[O]&&Y[O][m]),typeof T>"u"||!T.length||!T[0]){var Ct;for(ut in dt=[],Y[O])this.terminals_[ut]&&ut>2&&dt.push("'"+this.terminals_[ut]+"'");Ct=S.showPosition?"Parse error on line "+(L+1)+":\n"+S.showPosition()+"\nExpecting "+dt.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(L+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(Ct,{text:S.match,token:this.terminals_[m]||m,line:S.yylineno,loc:Dt,expected:dt})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+m);switch(T[0]){case 1:i.push(m),y.push(S.yytext),e.push(S.yylloc),i.push(T[1]),m=null,R=S.yyleng,c=S.yytext,L=S.yylineno,Dt=S.yylloc;break;case 2:if(N.$=y[y.length-(b=this.productions_[T[1]][1])],N._$={first_line:e[e.length-(b||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(b||1)].first_column,last_column:e[e.length-1].last_column},ke&&(N._$.range=[e[e.length-(b||1)].range[0],e[e.length-1].range[1]]),typeof(xt=this.performAction.apply(N,[c,R,L,I.yy,T[1],y,e].concat(bt)))<"u")return xt;b&&(i=i.slice(0,-1*b*2),y=y.slice(0,-1*b),e=e.slice(0,-1*b)),i.push(this.productions_[T[1]][0]),y.push(N.$),e.push(N._$),i.push(Y[i[i.length-2]][i[i.length-1]]);break;case 3:return!0}}return!0}};function Et(){this.yy={}}return kt.lexer={EOF:1,parseError:function(a,i){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,i)},setInput:function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];return this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,r.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var a=r.length,i=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===l.length?this.yylloc.first_column:0)+l[l.length-i.length].length-i[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+"\n"+a+"^"},test_match:function(r,a){var i,l,y;if(this.options.backtrack_lexer&&(y={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(y.yylloc.range=this.yylloc.range.slice(0))),(l=r[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=l.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],i=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var e in y)this[e]=y[e];return!1}return!1},next:function(){if(this.done)return this.EOF;var r,a,i,l;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var y=this._currentRules(),e=0;ea[0].length)){if(a=i,l=e,this.options.backtrack_lexer){if(!1!==(r=this.test_match(i,y[e])))return r;if(this._backtrack){a=!1;continue}return!1}if(!this.options.flex)break}return a?!1!==(r=this.test_match(a,y[l]))&&r:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(a,i,l,y){switch(l){case 0:return 41;case 1:case 44:return 50;case 2:case 45:return 51;case 3:case 46:return 52;case 4:case 47:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:case 11:case 13:case 14:case 15:case 16:case 56:case 58:case 64:break;case 12:case 79:return 5;case 17:case 34:return this.pushState("SCALE"),17;case 18:case 35:return 18;case 19:case 25:case 36:case 51:case 54:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 37:this.pushState("STATE");break;case 38:case 41:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 39:case 42:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),26;case 40:case 43:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),27;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:case 66:return this.popState(),"ID";case 52:return"STATE_DESCR";case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 57:return this.popState(),21;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:return"NOTE_TEXT";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),i.yytext=i.yytext.substr(2).trim(),31;case 69:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),31;case 70:case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return i.yytext=i.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 80:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}},Et.prototype=kt,kt.Parser=Et,new Et}();ft.parser=ft;const Ht=ft,At="LR",Xt="TB",M="state",pt="relation",j="default",Lt="divider",yt="[*]",It="start",Ot=yt;let Pt=At,U=[],B={},z={root:{relations:[],states:{},documents:{}}},g=z.root,P=0,$t=0;const K=t=>JSON.parse(JSON.stringify(t)),W=(t,s,n)=>{if(s.stmt===pt)W(t,s.state1,!0),W(t,s.state2,!1);else if(s.stmt===M&&("[*]"===s.id?(s.id=n?t.id+"_start":t.id+"_end",s.start=n):s.id=s.id.trim()),s.doc){const h=[];let f,u=[];for(f=0;f0&&u.length>0){const p={stmt:M,id:(0,Kt.v)(),type:"divider",doc:K(u)};h.push(K(p)),s.doc=h}s.doc.forEach(p=>W(s,p,!0))}},A=function(t,s=j,n=null,h=null,u=null,f=null,p=null,D=null){const d=t?.trim();void 0===g.states[d]?(_.l.info("Adding state ",d,h),g.states[d]={id:d,descriptions:[],type:s,doc:n,note:u,classes:[],styles:[],textStyles:[]}):(g.states[d].doc||(g.states[d].doc=n),g.states[d].type||(g.states[d].type=s)),h&&(_.l.info("Setting state description",d,h),"string"==typeof h&>(d,h.trim()),"object"==typeof h&&h.forEach(E=>gt(d,E.trim()))),u&&(g.states[d].note=u,g.states[d].note.text=_.d.sanitizeText(g.states[d].note.text,(0,_.g)())),f&&(_.l.info("Setting state classes",d,f),("string"==typeof f?[f]:f).forEach(k=>mt(d,k.trim()))),p&&(_.l.info("Setting state styles",d,p),("string"==typeof p?[p]:p).forEach(k=>_e(d,k.trim()))),D&&(_.l.info("Setting state styles",d,p),("string"==typeof D?[D]:D).forEach(k=>Se(d,k.trim())))},Ft=function(t){z={root:{relations:[],states:{},documents:{}}},g=z.root,P=0,B={},t||(0,C.f)()},V=function(t){return g.states[t]};function _t(t=""){let s=t;return t===yt&&(P++,s=`${It}${P}`),s}function St(t="",s=j){return t===yt?It:s}const Yt=function(t,s,n){if("object"==typeof t)!function de(t,s,n){let h=_t(t.id.trim()),u=St(t.id.trim(),t.type),f=_t(s.id.trim()),p=St(s.id.trim(),s.type);A(h,u,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),A(f,p,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),g.relations.push({id1:h,id2:f,relationTitle:_.d.sanitizeText(n,(0,_.g)())})}(t,s,n);else{const h=_t(t.trim()),u=St(t),f=function he(t=""){let s=t;return t===Ot&&(P++,s=`end${P}`),s}(s.trim()),p=function ue(t="",s=j){return t===Ot?"end":s}(s);A(h,u),A(f,p),g.relations.push({id1:h,id2:f,title:_.d.sanitizeText(n,(0,_.g)())})}},gt=function(t,s){const n=g.states[t],h=s.startsWith(":")?s.replace(":","").trim():s;n.descriptions.push(_.d.sanitizeText(h,(0,_.g)()))},Gt=function(t,s=""){void 0===B[t]&&(B[t]={id:t,styles:[],textStyles:[]});const n=B[t];s?.split(",").forEach(h=>{const u=h.replace(/([^;]*);/,"$1").trim();if(h.match("color")){const p=u.replace("fill","bgFill").replace("color","fill");n.textStyles.push(p)}n.styles.push(u)})},mt=function(t,s){t.split(",").forEach(function(n){let h=V(n);if(void 0===h){const u=n.trim();A(u),h=V(u)}h.classes.push(s)})},_e=function(t,s){const n=V(t);void 0!==n&&n.textStyles.push(s)},Se=function(t,s){const n=V(t);void 0!==n&&n.textStyles.push(s)},ge={parseDirective:function(t,s,n){Wt.m.parseDirective(this,t,s,n)},getConfig:()=>(0,_.g)().state,addState:A,clear:Ft,getState:V,getStates:function(){return g.states},getRelations:function(){return g.relations},getClasses:function(){return B},getDirection:()=>Pt,addRelation:Yt,getDividerId:()=>($t++,"divider-id-"+$t),setDirection:t=>{Pt=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){_.l.info("Documents = ",z)},getRootDoc:()=>U,setRootDoc:t=>{_.l.info("Setting root doc",t),U=t},getRootDocV2:()=>(W({id:"root"},{id:"root",doc:U},!0),{id:"root",doc:U}),extract:t=>{let s;s=t.doc?t.doc:t,_.l.info(s),Ft(!0),_.l.info("Extract",s),s.forEach(n=>{switch(n.stmt){case M:A(n.id.trim(),n.type,n.doc,n.description,n.note,n.classes,n.styles,n.textStyles);break;case pt:Yt(n.state1,n.state2,n.description);break;case"classDef":Gt(n.id.trim(),n.classes);break;case"applyClass":mt(n.id.trim(),n.styleClass)}})},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:C.g,setAccTitle:C.s,getAccDescription:C.a,setAccDescription:C.b,addStyleClass:Gt,setCssClass:mt,addDescription:gt,setDiagramTitle:C.d,getDiagramTitle:C.e},me=t=>`\ndefs #statediagram-barbEnd {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/963.b8dda41c64c45e9f.js b/pkg/apiserver-impl/ui/963.b8dda41c64c45e9f.js new file mode 100644 index 000000000..a307ad63b --- /dev/null +++ b/pkg/apiserver-impl/ui/963.b8dda41c64c45e9f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[963],{7416:(p,P,E)=>{E.d(P,{c:()=>b});var O=E(9948),N=E(4258);const T=function i(u){return(0,N.Z)(u,4)};var S=E(2957);function b(u){var g={options:{directed:u.isDirected(),multigraph:u.isMultigraph(),compound:u.isCompound()},nodes:B(u),edges:R(u)};return O.Z(u.graph())||(g.value=T(u.graph())),g}function B(u){return S.Z(u.nodes(),function(g){var v=u.node(g),y=u.parent(g),D={v:g};return O.Z(v)||(D.value=v),O.Z(y)||(D.parent=y),D})}function R(u){return S.Z(u.edges(),function(g){var v=u.edge(g),y={v:g.v,w:g.w};return O.Z(g.name)||(y.name=g.name),O.Z(v)||(y.value=v),y})}E(1595)},5963:(p,P,E)=>{E.d(P,{r:()=>G});var O=E(9006),N=E(7416),w=E(3330),i=E(855),T=E(8814),S=E(5703);let o={},b={},B={};const X=(n,t)=>(i.l.trace("In isDecendant",t," ",n," = ",b[t].includes(n)),!!b[t].includes(n)),g=(n,t,e,r)=>{i.l.warn("Copying children of ",n,"root",r,"data",t.node(n),r);const s=t.children(n)||[];n!==r&&s.push(n),i.l.warn("Copying (nodes) clusterId",n,"nodes",s),s.forEach(l=>{if(t.children(l).length>0)g(l,t,e,r);else{const f=t.node(l);i.l.info("cp ",l," to ",r," with parent ",n),e.setNode(l,f),r!==t.parent(l)&&(i.l.warn("Setting parent",l,t.parent(l)),e.setParent(l,t.parent(l))),n!==r&&l!==n?(i.l.debug("Setting parent",l,n),e.setParent(l,n)):(i.l.info("In copy ",n,"root",r,"data",t.node(n),r),i.l.debug("Not Setting parent for node=",l,"cluster!==rootId",n!==r,"node!==clusterId",l!==n));const d=t.edges(l);i.l.debug("Copying Edges",d),d.forEach(h=>{i.l.info("Edge",h);const x=t.edge(h.v,h.w,h.name);i.l.info("Edge data",x,r);try{((n,t)=>(i.l.info("Decendants of ",t," is ",b[t]),i.l.info("Edge is ",n),n.v!==t&&n.w!==t&&(b[t]?b[t].includes(n.v)||X(n.v,t)||X(n.w,t)||b[t].includes(n.w):(i.l.debug("Tilt, ",t,",not in decendants"),!1))))(h,r)?(i.l.info("Copying as ",h.v,h.w,x,h.name),e.setEdge(h.v,h.w,x,h.name),i.l.info("newGraph edges ",e.edges(),e.edge(e.edges()[0]))):i.l.info("Skipping copy of edge ",h.v,"--\x3e",h.w," rootId: ",r," clusterId:",n)}catch(m){i.l.error(m)}})}i.l.debug("Removing node",l),t.removeNode(l)})},v=(n,t)=>{const e=t.children(n);let r=[...e];for(const s of e)B[s]=n,r=[...r,...v(s,t)];return r},y=(n,t)=>{i.l.trace("Searching",n);const e=t.children(n);if(i.l.trace("Searching children of id ",n,e),e.length<1)return i.l.trace("This is a valid node",n),n;for(const r of e){const s=y(r,t);if(s)return i.l.trace("Found replacement for",n," => ",s),s}},D=n=>o[n]&&o[n].externalConnections&&o[n]?o[n].id:n,J=(n,t)=>{if(i.l.warn("extractor - ",t,N.c(n),n.children("D")),t>10)return void i.l.error("Bailing out");let e=n.nodes(),r=!1;for(const s of e){const l=n.children(s);r=r||l.length>0}if(r){i.l.debug("Nodes = ",e,t);for(const s of e)if(i.l.debug("Extracting node",s,o,o[s]&&!o[s].externalConnections,!n.parent(s),n.node(s),n.children("D")," Depth ",t),o[s])if(!o[s].externalConnections&&n.children(s)&&n.children(s).length>0){i.l.warn("Cluster without external connections, without a parent and with children",s,t);let f="TB"===n.graph().rankdir?"LR":"TB";o[s]&&o[s].clusterData&&o[s].clusterData.dir&&(f=o[s].clusterData.dir,i.l.warn("Fixing dir",o[s].clusterData.dir,f));const d=new T.k({multigraph:!0,compound:!0}).setGraph({rankdir:f,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.l.warn("Old graph before copy",N.c(n)),g(s,n,d,s),n.setNode(s,{clusterNode:!0,id:s,clusterData:o[s].clusterData,labelText:o[s].labelText,graph:d}),i.l.warn("New graph after copy node: (",s,")",N.c(d)),i.l.debug("Old graph after copy",N.c(n))}else i.l.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!o[s].externalConnections," no parent: ",!n.parent(s)," children ",n.children(s)&&n.children(s).length>0,n.children("D"),t),i.l.debug(o);else i.l.debug("Not a cluster",s,t);e=n.nodes(),i.l.warn("New list of nodes",e);for(const s of e){const l=n.node(s);i.l.warn(" Now next level",s,l),l.clusterNode&&J(l.graph,t+1)}}else i.l.debug("Done, no node has children",n.nodes())},M=(n,t)=>{if(0===t.length)return[];let e=Object.assign(t);return t.forEach(r=>{const s=n.children(r),l=M(n,s);e=[...e,...l]}),e},Z={rect:(n,t)=>{i.l.trace("Creating subgraph rect for ",t.id,t);const e=n.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=e.insert("rect",":first-child"),s=e.insert("g").attr("class","cluster-label"),l=s.node().appendChild((0,w.c)(t.labelText,t.labelStyle,void 0,!0));let f=l.getBBox();if((0,i.j)((0,i.g)().flowchart.htmlLabels)){const c=l.children[0],a=(0,S.Ys)(l);f=c.getBoundingClientRect(),a.attr("width",f.width),a.attr("height",f.height)}const d=0*t.padding,h=d/2,x=t.width<=f.width+d?f.width+d:t.width;t.diff=t.width<=f.width+d?(f.width-t.width)/2-t.padding/2:-t.padding/2,i.l.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-x/2).attr("y",t.y-t.height/2-h).attr("width",x).attr("height",t.height+d),s.attr("transform","translate("+(t.x-f.width/2)+", "+(t.y-t.height/2)+")");const m=r.node().getBBox();return t.width=m.width,t.height=m.height,t.intersect=function(c){return(0,w.i)(t,c)},e},roundedWithTitle:(n,t)=>{const e=n.insert("g").attr("class",t.classes).attr("id",t.id),r=e.insert("rect",":first-child"),s=e.insert("g").attr("class","cluster-label"),l=e.append("rect"),f=s.node().appendChild((0,w.c)(t.labelText,t.labelStyle,void 0,!0));let d=f.getBBox();if((0,i.j)((0,i.g)().flowchart.htmlLabels)){const a=f.children[0],C=(0,S.Ys)(f);d=a.getBoundingClientRect(),C.attr("width",d.width),C.attr("height",d.height)}d=f.getBBox();const h=0*t.padding,x=h/2,m=t.width<=d.width+t.padding?d.width+t.padding:t.width;t.diff=t.width<=d.width+t.padding?(d.width+0*t.padding-t.width)/2:-t.padding/2,r.attr("class","outer").attr("x",t.x-m/2-x).attr("y",t.y-t.height/2-x).attr("width",m+h).attr("height",t.height+h),l.attr("class","inner").attr("x",t.x-m/2-x).attr("y",t.y-t.height/2-x+d.height-1).attr("width",m+h).attr("height",t.height+h-d.height-3),s.attr("transform","translate("+(t.x-d.width/2)+", "+(t.y-t.height/2-t.padding/3+((0,i.j)((0,i.g)().flowchart.htmlLabels)?5:3))+")");const c=r.node().getBBox();return t.height=c.height,t.intersect=function(a){return(0,w.i)(t,a)},e},noteGroup:(n,t)=>{const e=n.insert("g").attr("class","note-cluster").attr("id",t.id),r=e.insert("rect",":first-child"),s=0*t.padding,l=s/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-l).attr("y",t.y-t.height/2-l).attr("width",t.width+s).attr("height",t.height+s).attr("fill","none");const f=r.node().getBBox();return t.width=f.width,t.height=f.height,t.intersect=function(d){return(0,w.i)(t,d)},e},divider:(n,t)=>{const e=n.insert("g").attr("class",t.classes).attr("id",t.id),r=e.insert("rect",":first-child"),s=0*t.padding,l=s/2;r.attr("class","divider").attr("x",t.x-t.width/2-l).attr("y",t.y-t.height/2).attr("width",t.width+s).attr("height",t.height+s);const f=r.node().getBBox();return t.width=f.width,t.height=f.height,t.diff=-t.padding/2,t.intersect=function(d){return(0,w.i)(t,d)},e}};let j={};const A=(n,t,e,r)=>{i.l.info("Graph in recursive render: XXX",N.c(t),r);const s=t.graph().rankdir;i.l.trace("Dir in recursive render - dir:",s);const l=n.insert("g").attr("class","root");t.nodes()?i.l.info("Recursive render XXX",t.nodes()):i.l.info("No nodes found for",t),t.edges().length>0&&i.l.trace("Recursive edges",t.edge(t.edges()[0]));const f=l.insert("g").attr("class","clusters"),d=l.insert("g").attr("class","edgePaths"),h=l.insert("g").attr("class","edgeLabels"),x=l.insert("g").attr("class","nodes");t.nodes().forEach(function(c){const a=t.node(c);if(void 0!==r){const C=JSON.parse(JSON.stringify(r.clusterData));i.l.info("Setting data for cluster XXX (",c,") ",C,r),t.setNode(r.id,C),t.parent(c)||(i.l.trace("Setting parent",c,r.id),t.setParent(c,r.id,C))}if(i.l.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),a&&a.clusterNode){i.l.info("Cluster identified",c,a.width,t.node(c));const C=A(x,a.graph,e,t.node(c)),L=C.elem;(0,w.u)(a,L),a.diff=C.diff||0,i.l.info("Node bounds (abc123)",c,a,a.width,a.x,a.y),(0,w.s)(L,a),i.l.warn("Recursive render complete ",L,a)}else t.children(c).length>0?(i.l.info("Cluster - the non recursive path XXX",c,a.id,a,t),i.l.info(y(a.id,t)),o[a.id]={id:y(a.id,t),node:a}):(i.l.info("Node - the non recursive path",c,a.id,a),(0,w.e)(x,t.node(c),s))}),t.edges().forEach(function(c){const a=t.edge(c.v,c.w,c.name);i.l.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),i.l.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),i.l.info("Fix",o,"ids:",c.v,c.w,"Translateing: ",o[c.v],o[c.w]),(0,w.f)(h,a)}),t.edges().forEach(function(c){i.l.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),i.l.info("#############################################"),i.l.info("### Layout ###"),i.l.info("#############################################"),i.l.info(t),(0,O.bK)(t),i.l.info("Graph after layout:",N.c(t));let m=0;return(n=>M(n,n.children()))(t).forEach(function(c){const a=t.node(c);i.l.info("Position "+c+": "+JSON.stringify(t.node(c))),i.l.info("Position "+c+": ("+a.x,","+a.y,") width: ",a.width," height: ",a.height),a&&a.clusterNode?(0,w.p)(a):t.children(c).length>0?(((n,t)=>{i.l.trace("Inserting cluster"),j[t.id]=Z[t.shape||"rect"](n,t)})(f,a),o[a.id].node=a):(0,w.p)(a)}),t.edges().forEach(function(c){const a=t.edge(c);i.l.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(a),a);const C=(0,w.g)(d,c,a,o,e,t);(0,w.h)(a,C)}),t.nodes().forEach(function(c){const a=t.node(c);i.l.info(c,a.type,a.diff),"group"===a.type&&(m=a.diff)}),{elem:l,diff:m}},G=(n,t,e,r,s)=>{(0,w.a)(n,e,r,s),(0,w.b)(),(0,w.d)(),j={},b={},B={},o={},i.l.warn("Graph at first:",N.c(t)),((n,t)=>{n?(i.l.debug("Opting in, graph "),n.nodes().forEach(function(e){n.children(e).length>0&&(i.l.warn("Cluster identified",e," Replacement id in edges: ",y(e,n)),b[e]=v(e,n),o[e]={id:y(e,n),clusterData:n.node(e)})}),n.nodes().forEach(function(e){const r=n.children(e),s=n.edges();r.length>0?(i.l.debug("Cluster identified",e,b),s.forEach(l=>{l.v!==e&&l.w!==e&&X(l.v,e)^X(l.w,e)&&(i.l.warn("Edge: ",l," leaves cluster ",e),i.l.warn("Decendants of XXX ",e,": ",b[e]),o[e].externalConnections=!0)})):i.l.debug("Not a cluster ",e,b)}),n.edges().forEach(function(e){const r=n.edge(e);i.l.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),i.l.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(n.edge(e)));let s=e.v,l=e.w;if(i.l.warn("Fix XXX",o,"ids:",e.v,e.w,"Translating: ",o[e.v]," --- ",o[e.w]),o[e.v]&&o[e.w]&&o[e.v]===o[e.w]){i.l.warn("Fixing and trixing link to self - removing XXX",e.v,e.w,e.name),i.l.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),s=D(e.v),l=D(e.w),n.removeEdge(e.v,e.w,e.name);const f=e.w+"---"+e.v;n.setNode(f,{domId:f,id:f,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const d=JSON.parse(JSON.stringify(r)),h=JSON.parse(JSON.stringify(r));d.label="",d.arrowTypeEnd="none",h.label="",d.fromCluster=e.v,h.toCluster=e.v,n.setEdge(s,f,d,e.name+"-cyclic-special"),n.setEdge(f,l,h,e.name+"-cyclic-special")}else(o[e.v]||o[e.w])&&(i.l.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),s=D(e.v),l=D(e.w),n.removeEdge(e.v,e.w,e.name),s!==e.v&&(r.fromCluster=e.v),l!==e.w&&(r.toCluster=e.w),i.l.warn("Fix Replacing with XXX",s,l,e.name),n.setEdge(s,l,r,e.name))}),i.l.warn("Adjusted Graph",N.c(n)),J(n,0),i.l.trace(o)):i.l.debug("Opting out, no graph ")})(t),i.l.warn("Graph after:",N.c(t)),A(n,t,r)}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/964.301dc27cc2e0e79c.js b/pkg/apiserver-impl/ui/964.301dc27cc2e0e79c.js new file mode 100644 index 000000000..b5a88331b --- /dev/null +++ b/pkg/apiserver-impl/ui/964.301dc27cc2e0e79c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[964],{3964:(v0,Ut,j)=>{j.r(Ut),j.d(Ut,{diagram:()=>T0});var Kt=j(4169),I=j(855),rt=j(6012),yt=j(5703),D=j(9111),vt=j(6780),xe=j(1775),Mt=(j(2735),j(1764),function(){var t=function(lt,m,_,w){for(_=_||{},w=lt.length;w--;_[lt[w]]=m);return _},e=[1,2],s=[1,3],i=[1,5],n=[1,7],a=[2,5],o=[1,15],l=[1,17],p=[1,19],h=[1,21],T=[1,22],y=[1,23],u=[1,29],x=[1,30],b=[1,31],k=[1,32],A=[1,33],R=[1,34],P=[1,35],Y=[1,36],V=[1,37],q=[1,38],G=[1,39],F=[1,40],C=[1,42],X=[1,43],H=[1,45],W=[1,46],U=[1,47],J=[1,48],Q=[1,49],E=[1,50],L=[1,53],v=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],K=[4,5,21,54,56],N=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],ce=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,53,54,56,57,62,63,64,65,73,83],le=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,52,54,56,57,62,63,64,65,73,83],he=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,54,56,57,62,63,64,65,73,83],ct=[71,72,73],nt=[1,125],de=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],Yt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,critical:48,option_sections:49,break:50,option:51,and:52,else:53,participant:54,AS:55,participant_actor:56,note:57,placement:58,text2:59,over:60,actor_pair:61,links:62,link:63,properties:64,details:65,spaceList:66,",":67,left_of:68,right_of:69,signaltype:70,"+":71,"-":72,ACTOR:73,SOLID_OPEN_ARROW:74,DOTTED_OPEN_ARROW:75,SOLID_ARROW:76,DOTTED_ARROW:77,SOLID_CROSS:78,DOTTED_CROSS:79,SOLID_POINT:80,DOTTED_POINT:81,TXT:82,open_directive:83,type_directive:84,arg_directive:85,close_directive:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"critical",50:"break",51:"option",52:"and",53:"else",54:"participant",55:"AS",56:"participant_actor",57:"note",60:"over",62:"links",63:"link",64:"properties",65:"details",67:",",68:"left_of",69:"right_of",71:"+",72:"-",73:"ACTOR",74:"SOLID_OPEN_ARROW",75:"DOTTED_OPEN_ARROW",76:"SOLID_ARROW",77:"DOTTED_ARROW",78:"SOLID_CROSS",79:"DOTTED_CROSS",80:"SOLID_POINT",81:"DOTTED_POINT",82:"TXT",83:"open_directive",84:"type_directive",85:"arg_directive",86:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[49,1],[49,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[66,2],[66,1],[61,3],[61,1],[58,1],[58,1],[22,5],[22,5],[22,4],[27,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[59,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(m,_,w,g,S,c,_t){var d=c.length-1;switch(S){case 4:return g.apply(c[d]),c[d];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:c[d-1].push(c[d]),this.$=c[d-1];break;case 7:case 8:case 12:case 13:case 63:this.$=c[d];break;case 18:c[d-1].unshift({type:"boxStart",boxData:g.parseBoxData(c[d-2])}),c[d-1].push({type:"boxEnd",boxText:c[d-2]}),this.$=c[d-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[d-2]),sequenceIndexStep:Number(c[d-1]),sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(c[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:g.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[d-1]};break;case 25:this.$={type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[d-1]};break;case 31:g.setDiagramTitle(c[d].substring(6)),this.$=c[d].substring(6);break;case 32:g.setDiagramTitle(c[d].substring(7)),this.$=c[d].substring(7);break;case 33:this.$=c[d].trim(),g.setAccTitle(this.$);break;case 34:case 35:this.$=c[d].trim(),g.setAccDescription(this.$);break;case 36:c[d-1].unshift({type:"loopStart",loopText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.LOOP_START}),c[d-1].push({type:"loopEnd",loopText:c[d-2],signalType:g.LINETYPE.LOOP_END}),this.$=c[d-1];break;case 37:c[d-1].unshift({type:"rectStart",color:g.parseMessage(c[d-2]),signalType:g.LINETYPE.RECT_START}),c[d-1].push({type:"rectEnd",color:g.parseMessage(c[d-2]),signalType:g.LINETYPE.RECT_END}),this.$=c[d-1];break;case 38:c[d-1].unshift({type:"optStart",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.OPT_START}),c[d-1].push({type:"optEnd",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.OPT_END}),this.$=c[d-1];break;case 39:c[d-1].unshift({type:"altStart",altText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.ALT_START}),c[d-1].push({type:"altEnd",signalType:g.LINETYPE.ALT_END}),this.$=c[d-1];break;case 40:c[d-1].unshift({type:"parStart",parText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.PAR_START}),c[d-1].push({type:"parEnd",signalType:g.LINETYPE.PAR_END}),this.$=c[d-1];break;case 41:c[d-1].unshift({type:"criticalStart",criticalText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.CRITICAL_START}),c[d-1].push({type:"criticalEnd",signalType:g.LINETYPE.CRITICAL_END}),this.$=c[d-1];break;case 42:c[d-1].unshift({type:"breakStart",breakText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.BREAK_START}),c[d-1].push({type:"breakEnd",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.BREAK_END}),this.$=c[d-1];break;case 45:this.$=c[d-3].concat([{type:"option",optionText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.CRITICAL_OPTION},c[d]]);break;case 47:this.$=c[d-3].concat([{type:"and",parText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.PAR_AND},c[d]]);break;case 49:this.$=c[d-3].concat([{type:"else",altText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.ALT_ELSE},c[d]]);break;case 50:c[d-3].type="addParticipant",c[d-3].description=g.parseMessage(c[d-1]),this.$=c[d-3];break;case 51:c[d-1].type="addParticipant",this.$=c[d-1];break;case 52:c[d-3].type="addActor",c[d-3].description=g.parseMessage(c[d-1]),this.$=c[d-3];break;case 53:c[d-1].type="addActor",this.$=c[d-1];break;case 54:this.$=[c[d-1],{type:"addNote",placement:c[d-2],actor:c[d-1].actor,text:c[d]}];break;case 55:c[d-2]=[].concat(c[d-1],c[d-1]).slice(0,2),c[d-2][0]=c[d-2][0].actor,c[d-2][1]=c[d-2][1].actor,this.$=[c[d-1],{type:"addNote",placement:g.PLACEMENT.OVER,actor:c[d-2].slice(0,2),text:c[d]}];break;case 56:this.$=[c[d-1],{type:"addLinks",actor:c[d-1].actor,text:c[d]}];break;case 57:this.$=[c[d-1],{type:"addALink",actor:c[d-1].actor,text:c[d]}];break;case 58:this.$=[c[d-1],{type:"addProperties",actor:c[d-1].actor,text:c[d]}];break;case 59:this.$=[c[d-1],{type:"addDetails",actor:c[d-1].actor,text:c[d]}];break;case 62:this.$=[c[d-2],c[d]];break;case 64:this.$=g.PLACEMENT.LEFTOF;break;case 65:this.$=g.PLACEMENT.RIGHTOF;break;case 66:this.$=[c[d-4],c[d-1],{type:"addMessage",from:c[d-4].actor,to:c[d-1].actor,signalType:c[d-3],msg:c[d]},{type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[d-1]}];break;case 67:this.$=[c[d-4],c[d-1],{type:"addMessage",from:c[d-4].actor,to:c[d-1].actor,signalType:c[d-3],msg:c[d]},{type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[d-4]}];break;case 68:this.$=[c[d-3],c[d-1],{type:"addMessage",from:c[d-3].actor,to:c[d-1].actor,signalType:c[d-2],msg:c[d]}];break;case 69:this.$={type:"addParticipant",actor:c[d]};break;case 70:this.$=g.LINETYPE.SOLID_OPEN;break;case 71:this.$=g.LINETYPE.DOTTED_OPEN;break;case 72:this.$=g.LINETYPE.SOLID;break;case 73:this.$=g.LINETYPE.DOTTED;break;case 74:this.$=g.LINETYPE.SOLID_CROSS;break;case 75:this.$=g.LINETYPE.DOTTED_CROSS;break;case 76:this.$=g.LINETYPE.SOLID_POINT;break;case 77:this.$=g.LINETYPE.DOTTED_POINT;break;case 78:this.$=g.parseMessage(c[d].trim().substring(1));break;case 79:g.parseDirective("%%{","open_directive");break;case 80:g.parseDirective(c[d],"type_directive");break;case 81:c[d]=c[d].trim().replace(/'/g,'"'),g.parseDirective(c[d],"arg_directive");break;case 82:g.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:s,6:4,7:i,14:6,83:n},{1:[3]},{3:8,4:e,5:s,6:4,7:i,14:6,83:n},{3:9,4:e,5:s,6:4,7:i,14:6,83:n},{3:10,4:e,5:s,6:4,7:i,14:6,83:n},t([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],a,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{16:51,17:[1,52],86:L},t([17,86],[2,80]),t(v,[2,6]),{6:41,10:54,13:18,14:6,19:p,22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},t(v,[2,8]),t(v,[2,9]),t(v,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:E},{27:61,73:E},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},t(v,[2,31]),t(v,[2,32]),{37:[1,67]},{39:[1,68]},t(v,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},t(v,[2,43]),{27:76,73:E},{27:77,73:E},{70:78,74:[1,79],75:[1,80],76:[1,81],77:[1,82],78:[1,83],79:[1,84],80:[1,85],81:[1,86]},{58:87,60:[1,88],68:[1,89],69:[1,90]},{27:91,73:E},{27:92,73:E},{27:93,73:E},{27:94,73:E},t([5,55,67,74,75,76,77,78,79,80,81,82],[2,69]),{5:[1,95]},{18:96,85:[1,97]},{5:[2,82]},t(v,[2,7]),t(K,[2,10],{11:98}),t(v,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},t(v,[2,23]),{5:[1,102]},{5:[1,103]},t(v,[2,26]),t(v,[2,27]),t(v,[2,28]),t(v,[2,29]),t(v,[2,30]),t(v,[2,33]),t(v,[2,34]),t(N,a,{8:104}),t(N,a,{8:105}),t(N,a,{8:106}),t(ce,a,{45:107,8:108}),t(le,a,{47:109,8:110}),t(he,a,{49:111,8:112}),t(N,a,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:E},t(ct,[2,70]),t(ct,[2,71]),t(ct,[2,72]),t(ct,[2,73]),t(ct,[2,74]),t(ct,[2,75]),t(ct,[2,76]),t(ct,[2,77]),{27:121,73:E},{27:123,61:122,73:E},{73:[2,64]},{73:[2,65]},{59:124,82:nt},{59:126,82:nt},{59:127,82:nt},{59:128,82:nt},t(de,[2,15]),{16:129,86:L},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:C,56:X},{5:[1,135]},t(v,[2,21]),t(v,[2,22]),t(v,[2,24]),t(v,[2,25]),{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,136],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,137],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,138],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{21:[1,139]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,48],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,53:[1,140],54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{21:[1,141]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,46],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,52:[1,142],54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{21:[1,143]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,44],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,51:[1,144],54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,145],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{20:[1,146]},t(v,[2,51]),{20:[1,147]},t(v,[2,53]),{27:148,73:E},{27:149,73:E},{59:150,82:nt},{59:151,82:nt},{59:152,82:nt},{67:[1,153],82:[2,63]},{5:[2,56]},{5:[2,78]},{5:[2,57]},{5:[2,58]},{5:[2,59]},{5:[1,154]},t(v,[2,18]),t(K,[2,11]),{13:155,54:C,56:X},t(K,[2,13]),t(K,[2,14]),t(v,[2,20]),t(v,[2,36]),t(v,[2,37]),t(v,[2,38]),t(v,[2,39]),{20:[1,156]},t(v,[2,40]),{20:[1,157]},t(v,[2,41]),{20:[1,158]},t(v,[2,42]),{5:[1,159]},{5:[1,160]},{59:161,82:nt},{59:162,82:nt},{5:[2,68]},{5:[2,54]},{5:[2,55]},{27:163,73:E},t(de,[2,16]),t(K,[2,12]),t(ce,a,{8:108,45:164}),t(le,a,{8:110,47:165}),t(he,a,{8:112,49:166}),t(v,[2,50]),t(v,[2,52]),{5:[2,66]},{5:[2,67]},{82:[2,62]},{21:[2,49]},{21:[2,47]},{21:[2,45]}],defaultActions:{7:[2,79],8:[2,1],9:[2,2],10:[2,3],53:[2,82],89:[2,64],90:[2,65],97:[2,81],124:[2,56],125:[2,78],126:[2,57],127:[2,58],128:[2,59],150:[2,68],151:[2,54],152:[2,55],161:[2,66],162:[2,67],163:[2,62],164:[2,49],165:[2,47],166:[2,45]},parseError:function(m,_){if(!_.recoverable){var w=new Error(m);throw w.hash=_,w}this.trace(m)},parse:function(m){var w=[0],g=[],S=[null],c=[],_t=this.table,d="",It=0,pe=0,m0=c.slice.call(arguments,1),B=Object.create(this.lexer),pt={yy:{}};for(var Wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Wt)&&(pt.yy[Wt]=this.yy[Wt]);B.setInput(m,pt.yy),pt.yy.lexer=B,pt.yy.parser=this,typeof B.yylloc>"u"&&(B.yylloc={});var zt=B.yylloc;c.push(zt);var at,b0=B.options&&B.options.ranges;this.parseError="function"==typeof pt.yy.parseError?pt.yy.parseError:Object.getPrototypeOf(this).parseError;for(var z,ut,Z,qt,Nt,st,At,Tt={};;){if(this.defaultActions[ut=w[w.length-1]]?Z=this.defaultActions[ut]:((null===z||typeof z>"u")&&(at=void 0,"number"!=typeof(at=g.pop()||B.lex()||1)&&(at instanceof Array&&(at=(g=at).pop()),at=this.symbols_[at]||at),z=at),Z=_t[ut]&&_t[ut][z]),typeof Z>"u"||!Z.length||!Z[0]){var Ht;for(Nt in At=[],_t[ut])this.terminals_[Nt]&&Nt>2&&At.push("'"+this.terminals_[Nt]+"'");Ht=B.showPosition?"Parse error on line "+(It+1)+":\n"+B.showPosition()+"\nExpecting "+At.join(", ")+", got '"+(this.terminals_[z]||z)+"'":"Parse error on line "+(It+1)+": Unexpected "+(1==z?"end of input":"'"+(this.terminals_[z]||z)+"'"),this.parseError(Ht,{text:B.match,token:this.terminals_[z]||z,line:B.yylineno,loc:zt,expected:At})}if(Z[0]instanceof Array&&Z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ut+", token: "+z);switch(Z[0]){case 1:w.push(z),S.push(B.yytext),c.push(B.yylloc),w.push(Z[1]),z=null,pe=B.yyleng,d=B.yytext,It=B.yylineno,zt=B.yylloc;break;case 2:if(Tt.$=S[S.length-(st=this.productions_[Z[1]][1])],Tt._$={first_line:c[c.length-(st||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(st||1)].first_column,last_column:c[c.length-1].last_column},b0&&(Tt._$.range=[c[c.length-(st||1)].range[0],c[c.length-1].range[1]]),typeof(qt=this.performAction.apply(Tt,[d,pe,It,pt.yy,Z[1],S,c].concat(m0)))<"u")return qt;st&&(w=w.slice(0,-1*st*2),S=S.slice(0,-1*st),c=c.slice(0,-1*st)),w.push(this.productions_[Z[1]][0]),S.push(Tt.$),c.push(Tt._$),w.push(_t[w[w.length-2]][w[w.length-1]]);break;case 3:return!0}}return!0}};function Ft(){this.yy={}}return Yt.lexer={EOF:1,parseError:function(_,w){if(!this.yy.parser)throw new Error(_);this.yy.parser.parseError(_,w)},setInput:function(m,_){return this.yy=_||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var m=this._input[0];return this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m,m.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},unput:function(m){var _=m.length,w=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-_),this.offset-=_;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),w.length-1&&(this.yylineno-=w.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:w?(w.length===g.length?this.yylloc.first_column:0)+g[g.length-w.length].length-w[0].length:this.yylloc.first_column-_},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-_]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(m){this.unput(this.match.slice(m))},pastInput:function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var m=this.pastInput(),_=new Array(m.length+1).join("-");return m+this.upcomingInput()+"\n"+_+"^"},test_match:function(m,_){var w,g,S;if(this.options.backtrack_lexer&&(S={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(S.yylloc.range=this.yylloc.range.slice(0))),(g=m[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(m[0].length),this.matched+=m[0],w=this.performAction.call(this,this.yy,this,_,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),w)return w;if(this._backtrack){for(var c in S)this[c]=S[c];return!1}return!1},next:function(){if(this.done)return this.EOF;var m,_,w,g;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var S=this._currentRules(),c=0;c_[0].length)){if(_=w,g=c,this.options.backtrack_lexer){if(!1!==(m=this.test_match(w,S[c])))return m;if(this._backtrack){_=!1;continue}return!1}if(!this.options.flex)break}return _?!1!==(m=this.test_match(_,S[g]))&&m:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(_){this.conditionStack.push(_)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(_){return(_=this.conditionStack.length-1-Math.abs(_||0))>=0?this.conditionStack[_]:"INITIAL"},pushState:function(_){this.begin(_)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(_,w,g,S){switch(g){case 0:return this.begin("open_directive"),83;case 1:return this.begin("type_directive"),84;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),86;case 4:return 85;case 5:case 53:case 66:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),54;case 14:return this.begin("ID"),56;case 15:return w.yytext=w.yytext.trim(),this.begin("ALIAS"),73;case 16:return this.popState(),this.popState(),this.begin("LINE"),55;case 17:return this.popState(),this.popState(),5;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),44;case 22:return this.begin("LINE"),53;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),52;case 25:return this.begin("LINE"),48;case 26:return this.begin("LINE"),51;case 27:return this.begin("LINE"),50;case 28:return this.popState(),20;case 29:return 21;case 30:return 68;case 31:return 69;case 32:return 62;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 60;case 37:return 57;case 38:return this.begin("ID"),26;case 39:return this.begin("ID"),28;case 40:return 34;case 41:return 35;case 42:return this.begin("acc_title"),36;case 43:return this.popState(),"acc_title_value";case 44:return this.begin("acc_descr"),38;case 45:return this.popState(),"acc_descr_value";case 46:this.begin("acc_descr_multiline");break;case 47:this.popState();break;case 48:return"acc_descr_multiline_value";case 49:return 7;case 50:return 23;case 51:return 25;case 52:return 67;case 54:return w.yytext=w.yytext.trim(),73;case 55:return 76;case 56:return 77;case 57:return 74;case 58:return 75;case 59:return 78;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 71;case 65:return 72;case 67:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[47,48],inclusive:!1},acc_descr:{rules:[45],inclusive:!1},acc_title:{rules:[43],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,28],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,44,46,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}},Ft.prototype=Yt,Yt.Parser=Ft,new Ft}());Mt.parser=Mt;const ge=Mt;let Et,St,it,ot={},ft=[],$=[],wt=!1;const Rt=function(t,e,s,i){let n=it;const a=ot[t];if(a){if(it&&a.box&&it!==a.box)throw new Error("A same participant should only be defined in one Box: "+a.name+" can't be in '"+a.box.name+"' and in '"+it.name+"' at the same time.");if(n=a.box?a.box:it,a.box=n,a&&e===a.name&&null==s)return}(null==s||null==s.text)&&(s={text:e,wrap:null,type:i}),(null==i||null==s.text)&&(s={text:e,wrap:null,type:i}),ot[t]={box:n,name:e,description:s.text,wrap:void 0===s.wrap&&ht()||!!s.wrap,prevActor:Et,links:{},properties:{},actorCnt:null,rectData:null,type:i||"participant"},Et&&ot[Et]&&(ot[Et].nextActor=t),it&&it.actorKeys.push(t),Et=t},O=function(t,e,s={text:void 0,wrap:void 0},i){if(i===bt.ACTIVE_END&&(t=>{let e,s=0;for(e=0;e<$.length;e++)$[e].type===bt.ACTIVE_START&&$[e].from.actor===t&&s++,$[e].type===bt.ACTIVE_END&&$[e].from.actor===t&&s--;return s})(t.actor)<1){let a=new Error("Trying to inactivate an inactive participant ("+t.actor+")");throw a.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},a}return $.push({from:t,to:e,message:s.text,wrap:void 0===s.wrap&&ht()||!!s.wrap,type:i}),!0},mt=function(t){return ot[t]},ht=()=>void 0!==St?St:(0,I.g)().sequence.wrap,bt={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31},Gt=function(t,e,s){void 0===s.wrap&&ht();const i=[].concat(t,t);$.push({from:i[0],to:i[1],message:s.text,wrap:void 0===s.wrap&&ht()||!!s.wrap,type:bt.NOTE,placement:e})},Xt=function(t,e){const s=mt(t);try{let i=(0,I.b)(e.text,(0,I.g)());i=i.replace(/&/g,"&"),i=i.replace(/=/g,"="),Dt(s,JSON.parse(i))}catch(i){I.l.error("error while parsing actor link text",i)}};function Dt(t,e){if(null==t.links)t.links=e;else for(let s in e)t.links[s]=e[s]}const Jt=function(t,e){const s=mt(t);try{let i=(0,I.b)(e.text,(0,I.g)());Qt(s,JSON.parse(i))}catch(i){I.l.error("error while parsing actor properties text",i)}};function Qt(t,e){if(null==t.properties)t.properties=e;else for(let s in e)t.properties[s]=e[s]}const Zt=function(t,e){const s=mt(t),i=document.getElementById(e.text);try{const a=JSON.parse(i.innerHTML);a.properties&&Qt(s,a.properties),a.links&&Dt(s,a.links)}catch(n){I.l.error("error while parsing actor details text",n)}},jt=function(t){if(Array.isArray(t))t.forEach(function(e){jt(e)});else switch(t.type){case"sequenceIndex":$.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":Rt(t.actor,t.actor,t.description,"participant");break;case"addActor":Rt(t.actor,t.actor,t.description,"actor");break;case"activeStart":case"activeEnd":O(t.actor,void 0,void 0,t.signalType);break;case"addNote":Gt(t.actor,t.placement,t.text);break;case"addLinks":Xt(t.actor,t.text);break;case"addALink":!function(t,e){const s=mt(t);try{const o={};let l=(0,I.b)(e.text,(0,I.g)());var i=l.indexOf("@");l=l.replace(/&/g,"&"),l=l.replace(/=/g,"=");var n=l.slice(0,i-1).trim(),a=l.slice(i+1).trim();o[n]=a,Dt(s,o)}catch(o){I.l.error("error while parsing actor link text",o)}}(t.actor,t.text);break;case"addProperties":Jt(t.actor,t.text);break;case"addDetails":Zt(t.actor,t.text);break;case"addMessage":O(t.from,t.to,t.msg,t.signalType);break;case"boxStart":!function(t){ft.push({name:t.text,wrap:void 0===t.wrap&&ht()||!!t.wrap,fill:t.color,actorKeys:[]}),it=ft.slice(-1)[0]}(t.boxData);break;case"boxEnd":!function Ve(){it=void 0}();break;case"loopStart":O(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":O(void 0,void 0,void 0,t.signalType);break;case"rectStart":O(void 0,void 0,t.color,t.signalType);break;case"optStart":O(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":O(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,rt.s)(t.text);break;case"parStart":case"and":O(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":O(void 0,void 0,t.criticalText,t.signalType);break;case"option":O(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":O(void 0,void 0,t.breakText,t.signalType)}},Ye={addActor:Rt,addMessage:function(t,e,s,i){$.push({from:t,to:e,message:s.text,wrap:void 0===s.wrap&&ht()||!!s.wrap,answer:i})},addSignal:O,addLinks:Xt,addDetails:Zt,addProperties:Jt,autoWrap:ht,setWrap:function(t){St=t},enableSequenceNumbers:function(){wt=!0},disableSequenceNumbers:function(){wt=!1},showSequenceNumbers:()=>wt,getMessages:function(){return $},getActors:function(){return ot},getActor:mt,getActorKeys:function(){return Object.keys(ot)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:rt.g,getBoxes:function(){return ft},getDiagramTitle:rt.e,setDiagramTitle:rt.d,parseDirective:function(t,e,s){Kt.m.parseDirective(this,t,e,s)},getConfig:()=>(0,I.g)().sequence,clear:function(){ot={},ft=[],$=[],wt=!1,(0,rt.f)()},parseMessage:function(t){const e=t.trim(),s={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return I.l.debug("parseMessage:",s),s},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let s=null!=e&&e[1]?e[1].trim():"transparent",i=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",s)||(s="transparent",i=t.trim());else{const a=(new Option).style;a.color=s,a.color!==s&&(s="transparent",i=t.trim())}return{color:s,text:void 0!==i?(0,I.b)(i.replace(/^:?(?:no)?wrap:/,""),(0,I.g)()):void 0,wrap:void 0!==i?null!==i.match(/^:?wrap:/)||null===i.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:bt,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:Gt,setAccTitle:rt.s,apply:jt,setAccDescription:rt.b,getAccDescription:rt.a,hasAtLeastOneBox:function(){return ft.length>0},hasAtLeastOneBoxWithTitle:function(){return ft.some(t=>t.name)}},kt=function(t,e){const s=t.append("rect");return s.attr("x",e.x),s.attr("y",e.y),s.attr("fill",e.fill),s.attr("stroke",e.stroke),s.attr("width",e.width),s.attr("height",e.height),s.attr("rx",e.rx),s.attr("ry",e.ry),void 0!==e.class&&s.attr("class",e.class),s},$t=(t,e)=>{(0,Kt.a)(()=>{const s=document.querySelectorAll(t);0!==s.length&&(s[0].addEventListener("mouseover",function(){He("actor"+e+"_popup")}),s[0].addEventListener("mouseout",function(){Ue("actor"+e+"_popup")}))})},te=function(t,e,s,i){const n=t.append("image");n.attr("x",e),n.attr("y",s);var a=(0,vt.N)(i);n.attr("xlink:href",a)},ee=function(t,e,s,i){const n=t.append("use");n.attr("x",e),n.attr("y",s);var a=(0,vt.N)(i);n.attr("xlink:href","#"+a)},He=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},Ue=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},xt=function(t,e){let s=0,i=0;const n=e.text.split(I.d.lineBreakRegex),[a,o]=(0,D.t)(e.fontSize);let l=[],p=0,h=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":h=()=>Math.round(e.y+(s+i+e.textMargin)/2);break;case"bottom":case"end":h=()=>Math.round(e.y+(s+i+2*e.textMargin)-e.textMargin)}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[T,y]of n.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==a&&(p=T*a);const u=t.append("text");if(u.attr("x",e.x),u.attr("y",h()),void 0!==e.anchor&&u.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&u.style("font-family",e.fontFamily),void 0!==o&&u.style("font-size",o),void 0!==e.fontWeight&&u.style("font-weight",e.fontWeight),void 0!==e.fill&&u.attr("fill",e.fill),void 0!==e.class&&u.attr("class",e.class),void 0!==e.dy?u.attr("dy",e.dy):0!==p&&u.attr("dy",p),e.tspan){const x=u.append("tspan");x.attr("x",e.x),void 0!==e.fill&&x.attr("fill",e.fill),x.text(y)}else u.text(y);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(i+=(u._groups||u)[0][0].getBBox().height,s=i),l.push(u)}return l},ie=function(t,e){const i=t.append("polygon");return i.attr("points",function s(n,a,o,l,p){return n+","+a+" "+(n+o)+","+a+" "+(n+o)+","+(a+l-p)+" "+(n+o-1.2*p)+","+(a+l)+" "+n+","+(a+l)}(e.x,e.y,e.width,e.height,7)),i.attr("class","labelBox"),e.y=e.y+e.height/2,xt(t,e),i};let tt=-1;const ne=(t,e)=>{t.selectAll&&t.selectAll(".actor-line").attr("class","200").attr("y2",e-55)},se=function(t,e){kt(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},Ot=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},Lt=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},Ct=function(){function t(n,a,o,l,p,h,T){i(a.append("text").attr("x",o+p/2).attr("y",l+h/2+5).style("text-anchor","middle").text(n),T)}function e(n,a,o,l,p,h,T,y){const{actorFontSize:u,actorFontFamily:x,actorFontWeight:b}=y,[k,A]=(0,D.t)(u),R=n.split(I.d.lineBreakRegex);for(let P=0;Ps?l.width:s;const u=h.append("rect");if(u.attr("class","actorPopupMenuPanel"+T),u.attr("x",l.x),u.attr("y",l.height),u.attr("fill",l.fill),u.attr("stroke",l.stroke),u.attr("width",y),u.attr("height",l.height),u.attr("rx",l.rx),u.attr("ry",l.ry),null!=a){var x=20;for(let A in a){var b=h.append("a"),k=(0,vt.N)(a[A]);b.attr("xlink:href",k),b.attr("target","_blank"),r0(i)(A,b,l.x+10,l.height+x,y,20,{class:"actor"},i),x+=30}}return u.attr("height",x),{height:l.height+x,width:y}},M_anchorElement=function(t){return t.append("g")},M_drawActivation=function(t,e,s,i,n){const a={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0},o=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+n%3,a.width=e.stopx-e.startx,a.height=s-e.starty,kt(o,a)},M_drawLoop=function(t,e,s,i){const{boxMargin:n,boxTextMargin:a,labelBoxHeight:o,labelBoxWidth:l,messageFontFamily:p,messageFontSize:h,messageFontWeight:T}=i,y=t.append("g"),u=function(k,A,R,P){return y.append("line").attr("x1",k).attr("y1",A).attr("x2",R).attr("y2",P).attr("class","loopLine")};u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach(function(k){u(e.startx,k.y,e.stopx,k.y).style("stroke-dasharray","3, 3")});let x={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0};x.text=s,x.x=e.startx,x.y=e.starty,x.fontFamily=p,x.fontSize=h,x.fontWeight=T,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=l||50,x.height=o||20,x.textMargin=a,x.class="labelText",ie(y,x),x={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0},x.text=e.title,x.x=e.startx+l/2+(e.stopx-e.startx)/2,x.y=e.starty+n+a,x.anchor="middle",x.valign="middle",x.textMargin=a,x.class="loopText",x.fontFamily=p,x.fontSize=h,x.fontWeight=T,x.wrap=!0;let b=xt(y,x);return void 0!==e.sectionTitles&&e.sectionTitles.forEach(function(k,A){if(k.message){x.text=k.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[A].y+n+a,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=p,x.fontSize=h,x.fontWeight=T,x.wrap=e.wrap,b=xt(y,x);let R=Math.round(b.map(P=>(P._groups||P)[0][0].getBBox().height).reduce((P,Y)=>P+Y));e.sections[A].height+=R-(n+a)}}),e.height=Math.round(e.stopy-e.starty),y},M_drawBackgroundRect=se,M_insertArrowHead=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},M_insertArrowFilledHead=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},M_insertSequenceNumber=function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},M_insertArrowCrossHead=function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},M_insertDatabaseIcon=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},M_insertComputerIcon=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},M_insertClockIcon=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},M_getTextObj=Ot,M_getNoteRect=Lt;let r={};const f={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map(t=>t.height||0))+(0===this.loops.length?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.messages.length?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.notes.length?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,re((0,I.g)())},updateVal:function(t,e,s,i){t[e]=void 0===t[e]?s:i(s,t[e])},updateBounds:function(t,e,s,i){const n=this;let a=0;function o(l){return function(h){a++;const T=n.sequenceItems.length-a+1;n.updateVal(h,"starty",e-T*r.boxMargin,Math.min),n.updateVal(h,"stopy",i+T*r.boxMargin,Math.max),n.updateVal(f.data,"startx",t-T*r.boxMargin,Math.min),n.updateVal(f.data,"stopx",s+T*r.boxMargin,Math.max),"activation"!==l&&(n.updateVal(h,"startx",t-T*r.boxMargin,Math.min),n.updateVal(h,"stopx",s+T*r.boxMargin,Math.max),n.updateVal(f.data,"starty",e-T*r.boxMargin,Math.min),n.updateVal(f.data,"stopy",i+T*r.boxMargin,Math.max))}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},insert:function(t,e,s,i){const n=Math.min(t,s),a=Math.max(t,s),o=Math.min(e,i),l=Math.max(e,i);this.updateVal(f.data,"startx",n,Math.min),this.updateVal(f.data,"starty",o,Math.min),this.updateVal(f.data,"stopx",a,Math.max),this.updateVal(f.data,"stopy",l,Math.max),this.updateBounds(n,o,a,l)},newActivation:function(t,e,s){const i=s[t.from.actor],n=Pt(t.from.actor).length||0,a=i.x+i.width/2+(n-1)*r.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+r.activationWidth,stopy:void 0,actor:t.from.actor,anchored:M_anchorElement(e)})},endActivation:function(t){const e=this.activations.map(function(s){return s.actor}).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:f.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},dt=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),gt=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),Vt=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),Bt=function(t,e,s,i,n,a,o){if(!0===n.hideUnusedParticipants){const y=new Set;a.forEach(u=>{y.add(u.from),y.add(u.to)}),s=s.filter(u=>y.has(u))}let T,l=0,p=0,h=0;for(const y of s){const u=e[y],x=u.box;T&&T!=x&&(o||f.models.addBox(T),p+=r.boxMargin+T.margin),x&&x!=T&&(o||(x.x=l+p,x.y=i),p+=x.margin),u.width=u.width||r.width,u.height=Math.max(u.height||r.height,r.height),u.margin=u.margin||r.actorMargin,u.x=l+p,u.y=f.getVerticalPos();const b=M_drawActor(t,u,r,o);h=Math.max(h,b),f.insert(u.x,i,u.x+u.width,u.height),l+=u.width+p,u.box&&(u.box.width=l+x.margin-u.box.x),p=u.margin,T=u.box,f.models.addActor(u)}T&&!o&&f.models.addBox(T),f.bumpVerticalPos(h)},ae=function(t,e,s,i){let n=0,a=0;for(const o of s){const l=e[o],p=p0(l),h=M_drawPopup(t,l,p,r,r.forceMenus,i);h.height>n&&(n=h.height),h.width+l.x>a&&(a=h.width+l.x)}return{maxHeight:n,maxWidth:a}},re=function(t){(0,I.c)(r,t),t.fontFamily&&(r.actorFontFamily=r.noteFontFamily=r.messageFontFamily=t.fontFamily),t.fontSize&&(r.actorFontSize=r.noteFontSize=r.messageFontSize=t.fontSize),t.fontWeight&&(r.actorFontWeight=r.noteFontWeight=r.messageFontWeight=t.fontWeight)},Pt=function(t){return f.activations.filter(function(e){return e.actor===t})},oe=function(t,e){const s=e[t],i=Pt(t);return[i.reduce(function(o,l){return Math.min(o,l.startx)},s.x+s.width/2),i.reduce(function(o,l){return Math.max(o,l.stopx)},s.x+s.width/2)]};function et(t,e,s,i,n){f.bumpVerticalPos(s);let a=i;if(e.id&&e.message&&t[e.id]){const o=t[e.id].width,l=dt(r);e.message=D.u.wrapLabel(`[${e.message}]`,o-2*r.wrapPadding,l),e.width=o,e.wrap=!0;const p=D.u.calculateTextDimensions(e.message,l),h=Math.max(p.height,r.labelBoxHeight);a=i+h,I.l.debug(`${h} - ${e.message}`)}n(e),f.bumpVerticalPos(a)}const p0=function(t){let e=0;const s=Vt(r);for(const i in t.links){const a=D.u.calculateTextDimensions(i,s).width+2*r.wrapPadding+2*r.boxMargin;e{const o=t[a];o.wrap&&(o.description=D.u.wrapLabel(o.description,r.width-2*r.wrapPadding,Vt(r)));const l=D.u.calculateTextDimensions(o.description,Vt(r));o.width=o.wrap?r.width:Math.max(r.width,l.width+2*r.wrapPadding),o.height=o.wrap?Math.max(l.height,r.height):r.height,i=Math.max(i,o.height)});for(const a in e){const o=t[a];if(!o)continue;const l=t[o.nextActor];l?o.margin=Math.max(e[a]+r.actorMargin-o.width/2-l.width/2,r.actorMargin):o.margin=Math.max(e[a]+r.actorMargin-o.width/2,r.actorMargin)}let n=0;return s.forEach(a=>{const o=dt(r);let l=a.actorKeys.reduce((T,y)=>T+(t[y].width+(t[y].margin||0)),0);l-=2*r.boxTextMargin,a.wrap&&(a.name=D.u.wrapLabel(a.name,l-2*r.wrapPadding,o));const p=D.u.calculateTextDimensions(a.name,o);n=Math.max(p.height,n);const h=Math.max(l,p.width+2*r.wrapPadding);a.margin=r.boxTextMargin,la.textMaxHeight=n),Math.max(i,r.height)}(T,R,y),M_insertComputerIcon(h),M_insertDatabaseIcon(h),M_insertClockIcon(h),k&&(f.bumpVerticalPos(r.boxMargin),A&&f.bumpVerticalPos(y[0].textMaxHeight)),Bt(h,T,u,0,r,x,!1);const P=function(t,e,s,i){const n={},a=[];let o,l,p;return t.forEach(function(h){switch(h.id=D.u.random({length:10}),h.type){case i.db.LINETYPE.LOOP_START:case i.db.LINETYPE.ALT_START:case i.db.LINETYPE.OPT_START:case i.db.LINETYPE.PAR_START:case i.db.LINETYPE.CRITICAL_START:case i.db.LINETYPE.BREAK_START:a.push({id:h.id,msg:h.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case i.db.LINETYPE.ALT_ELSE:case i.db.LINETYPE.PAR_AND:case i.db.LINETYPE.CRITICAL_OPTION:h.message&&(o=a.pop(),n[o.id]=o,n[h.id]=o,a.push(o));break;case i.db.LINETYPE.LOOP_END:case i.db.LINETYPE.ALT_END:case i.db.LINETYPE.OPT_END:case i.db.LINETYPE.PAR_END:case i.db.LINETYPE.CRITICAL_END:case i.db.LINETYPE.BREAK_END:o=a.pop(),n[o.id]=o;break;case i.db.LINETYPE.ACTIVE_START:{const y=e[h.from?h.from.actor:h.to.actor],u=Pt(h.from?h.from.actor:h.to.actor).length,x=y.x+y.width/2+(u-1)*r.activationWidth/2;f.activations.push({startx:x,stopx:x+r.activationWidth,actor:h.from.actor,enabled:!0})}break;case i.db.LINETYPE.ACTIVE_END:{const y=f.activations.map(u=>u.actor).lastIndexOf(h.from.actor);delete f.activations.splice(y,1)[0]}}void 0!==h.placement?(l=function(t,e,s){const i=e[t.from].x,n=e[t.to].x,a=t.wrap&&t.message;let o=D.u.calculateTextDimensions(a?D.u.wrapLabel(t.message,r.width,gt(r)):t.message,gt(r));const l={width:a?r.width:Math.max(r.width,o.width+2*r.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===s.db.PLACEMENT.RIGHTOF?(l.width=a?Math.max(r.width,o.width):Math.max(e[t.from].width/2+e[t.to].width/2,o.width+2*r.noteMargin),l.startx=i+(e[t.from].width+r.actorMargin)/2):t.placement===s.db.PLACEMENT.LEFTOF?(l.width=Math.max(a?r.width:e[t.from].width/2+e[t.to].width/2,o.width+2*r.noteMargin),l.startx=i-l.width+(e[t.from].width-r.actorMargin)/2):t.to===t.from?(o=D.u.calculateTextDimensions(a?D.u.wrapLabel(t.message,Math.max(r.width,e[t.from].width),gt(r)):t.message,gt(r)),l.width=a?Math.max(r.width,e[t.from].width):Math.max(e[t.from].width,r.width,o.width+2*r.noteMargin),l.startx=i+(e[t.from].width-l.width)/2):(l.width=Math.abs(i+e[t.from].width/2-(n+e[t.to].width/2))+r.actorMargin,l.startx=i{o=y,o.from=Math.min(o.from,l.startx),o.to=Math.max(o.to,l.startx+l.width),o.width=Math.max(o.width,Math.abs(o.from-o.to))-r.labelBoxWidth})):(p=function(t,e,s){let i=!1;if([s.db.LINETYPE.SOLID_OPEN,s.db.LINETYPE.DOTTED_OPEN,s.db.LINETYPE.SOLID,s.db.LINETYPE.DOTTED,s.db.LINETYPE.SOLID_CROSS,s.db.LINETYPE.DOTTED_CROSS,s.db.LINETYPE.SOLID_POINT,s.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(i=!0),!i)return{};const n=oe(t.from,e),a=oe(t.to,e),o=n[0]<=a[0]?1:0,l=n[0]0&&a.forEach(y=>{if(o=y,p.startx===p.stopx){const u=e[h.from],x=e[h.to];o.from=Math.min(u.x-p.width/2,u.x-u.width/2,o.from),o.to=Math.max(x.x+p.width/2,x.x+u.width/2,o.to),o.width=Math.max(o.width,Math.abs(o.to-o.from))-r.labelBoxWidth}else o.from=Math.min(p.startx,o.from),o.to=Math.max(p.stopx,o.to),o.width=Math.max(o.width,p.width)-r.labelBoxWidth}))}),f.activations=[],I.l.debug("Loop type widths:",n),n}(x,T,0,i);M_insertArrowHead(h),M_insertArrowCrossHead(h),M_insertArrowFilledHead(h),M_insertSequenceNumber(h);let V=1,q=1;const G=[];x.forEach(function(E){let L,v,K;switch(E.type){case i.db.LINETYPE.NOTE:v=E.noteModel,function(t,e){f.bumpVerticalPos(r.boxMargin),e.height=r.boxMargin,e.starty=f.getVerticalPos();const s=M_getNoteRect();s.x=e.startx,s.y=e.starty,s.width=e.width||r.width,s.class="note";const i=t.append("g"),n=M_drawRect(i,s),a=M_getTextObj();a.x=e.startx,a.y=e.starty,a.width=s.width,a.dy="1em",a.text=e.message,a.class="noteText",a.fontFamily=r.noteFontFamily,a.fontSize=r.noteFontSize,a.fontWeight=r.noteFontWeight,a.anchor=r.noteAlign,a.textMargin=r.noteMargin,a.valign="center";const o=xt(i,a),l=Math.round(o.map(p=>(p._groups||p)[0][0].getBBox().height).reduce((p,h)=>p+h));n.attr("height",l+2*r.noteMargin),e.height+=l+2*r.noteMargin,f.bumpVerticalPos(l+2*r.noteMargin),e.stopy=e.starty+l+2*r.noteMargin,e.stopx=e.startx+s.width,f.insert(e.startx,e.starty,e.stopx,e.stopy),f.models.addNote(e)}(h,v);break;case i.db.LINETYPE.ACTIVE_START:f.newActivation(E,h,T);break;case i.db.LINETYPE.ACTIVE_END:!function Y(E,L){const v=f.endActivation(E);v.starty+18>L&&(v.starty=L-6,L+=12),M_drawActivation(h,v,L,r,Pt(E.from.actor).length),f.insert(v.startx,L-10,v.stopx,L)}(E,f.getVerticalPos());break;case i.db.LINETYPE.LOOP_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.LOOP_END:L=f.endLoop(),M_drawLoop(h,L,"loop",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;case i.db.LINETYPE.RECT_START:et(P,E,r.boxMargin,r.boxMargin,N=>f.newLoop(void 0,N.message));break;case i.db.LINETYPE.RECT_END:L=f.endLoop(),M_drawBackgroundRect(h,L),f.models.addLoop(L),f.bumpVerticalPos(L.stopy-f.getVerticalPos());break;case i.db.LINETYPE.OPT_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.OPT_END:L=f.endLoop(),M_drawLoop(h,L,"opt",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;case i.db.LINETYPE.ALT_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.ALT_ELSE:et(P,E,r.boxMargin+r.boxTextMargin,r.boxMargin,N=>f.addSectionToLoop(N));break;case i.db.LINETYPE.ALT_END:L=f.endLoop(),M_drawLoop(h,L,"alt",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;case i.db.LINETYPE.PAR_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.PAR_AND:et(P,E,r.boxMargin+r.boxTextMargin,r.boxMargin,N=>f.addSectionToLoop(N));break;case i.db.LINETYPE.PAR_END:L=f.endLoop(),M_drawLoop(h,L,"par",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;case i.db.LINETYPE.AUTONUMBER:V=E.message.start||V,q=E.message.step||q,E.message.visible?i.db.enableSequenceNumbers():i.db.disableSequenceNumbers();break;case i.db.LINETYPE.CRITICAL_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.CRITICAL_OPTION:et(P,E,r.boxMargin+r.boxTextMargin,r.boxMargin,N=>f.addSectionToLoop(N));break;case i.db.LINETYPE.CRITICAL_END:L=f.endLoop(),M_drawLoop(h,L,"critical",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;case i.db.LINETYPE.BREAK_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.BREAK_END:L=f.endLoop(),M_drawLoop(h,L,"break",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;default:try{K=E.msgModel,K.starty=f.getVerticalPos(),K.sequenceIndex=V,K.sequenceVisible=i.db.showSequenceNumbers();const N=function c0(t,e){f.bumpVerticalPos(10);const{startx:s,stopx:i,message:n}=e,a=I.d.splitBreaks(n).length,o=D.u.calculateTextDimensions(n,dt(r)),l=o.height/a;e.height+=l,f.bumpVerticalPos(l);let p,h=o.height-10;const T=o.width;if(s===i){p=f.getVerticalPos()+h,r.rightAngles||(h+=r.boxMargin,p=f.getVerticalPos()+h),h+=30;const y=Math.max(T/2,r.width/2);f.insert(s-y,f.getVerticalPos()-10+h,i+y,f.getVerticalPos()+30+h)}else h+=r.boxMargin,p=f.getVerticalPos()+h,f.insert(s,p-10,i,p);return f.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,f.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),p}(0,K);G.push({messageModel:K,lineStartY:N}),f.models.addMessage(K)}catch(N){I.l.error("error while drawing message",N)}}[i.db.LINETYPE.SOLID_OPEN,i.db.LINETYPE.DOTTED_OPEN,i.db.LINETYPE.SOLID,i.db.LINETYPE.DOTTED,i.db.LINETYPE.SOLID_CROSS,i.db.LINETYPE.DOTTED_CROSS,i.db.LINETYPE.SOLID_POINT,i.db.LINETYPE.DOTTED_POINT].includes(E.type)&&(V+=q)}),G.forEach(E=>function(t,e,s,i){const{startx:n,stopx:a,starty:o,message:l,type:p,sequenceIndex:h,sequenceVisible:T}=e,y=D.u.calculateTextDimensions(l,dt(r)),u=M_getTextObj();u.x=n,u.y=o+10,u.width=a-n,u.class="messageText",u.dy="1em",u.text=l,u.fontFamily=r.messageFontFamily,u.fontSize=r.messageFontSize,u.fontWeight=r.messageFontWeight,u.anchor=r.messageAlign,u.valign="center",u.textMargin=r.wrapPadding,u.tspan=!1,xt(t,u);const x=y.width;let b;n===a?b=r.rightAngles?t.append("path").attr("d",`M ${n},${s} H ${n+Math.max(r.width/2,x/2)} V ${s+25} H ${n}`):t.append("path").attr("d","M "+n+","+s+" C "+(n+60)+","+(s-10)+" "+(n+60)+","+(s+30)+" "+n+","+(s+20)):(b=t.append("line"),b.attr("x1",n),b.attr("y1",s),b.attr("x2",a),b.attr("y2",s)),p===i.db.LINETYPE.DOTTED||p===i.db.LINETYPE.DOTTED_CROSS||p===i.db.LINETYPE.DOTTED_POINT||p===i.db.LINETYPE.DOTTED_OPEN?(b.style("stroke-dasharray","3, 3"),b.attr("class","messageLine1")):b.attr("class","messageLine0");let k="";r.arrowMarkerAbsolute&&(k=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,k=k.replace(/\(/g,"\\("),k=k.replace(/\)/g,"\\)")),b.attr("stroke-width",2),b.attr("stroke","none"),b.style("fill","none"),(p===i.db.LINETYPE.SOLID||p===i.db.LINETYPE.DOTTED)&&b.attr("marker-end","url("+k+"#arrowhead)"),(p===i.db.LINETYPE.SOLID_POINT||p===i.db.LINETYPE.DOTTED_POINT)&&b.attr("marker-end","url("+k+"#filled-head)"),(p===i.db.LINETYPE.SOLID_CROSS||p===i.db.LINETYPE.DOTTED_CROSS)&&b.attr("marker-end","url("+k+"#crosshead)"),(T||r.showSequenceNumbers)&&(b.attr("marker-start","url("+k+"#sequencenumber)"),t.append("text").attr("x",n).attr("y",s+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(h))}(h,E.messageModel,E.lineStartY,i)),r.mirrorActors&&(f.bumpVerticalPos(2*r.boxMargin),Bt(h,T,u,f.getVerticalPos(),r,x,!0),f.bumpVerticalPos(r.boxMargin),ne(h,f.getVerticalPos())),f.models.boxes.forEach(function(E){E.height=f.getVerticalPos()-E.y,f.insert(E.x,E.y,E.x+E.width,E.height),E.startx=E.x,E.starty=E.y,E.stopx=E.startx+E.width,E.stopy=E.starty+E.height,E.stroke="rgb(0,0,0, 0.5)",M_drawBox(h,E,r)}),k&&f.bumpVerticalPos(r.boxMargin);const F=ae(h,T,u,p),{bounds:C}=f.getBounds();I.l.debug("For line height fix Querying: #"+e+" .actor-line"),(0,yt.td_)("#"+e+" .actor-line").attr("y2",C.stopy);let H=C.stopy-C.starty;H`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/97.24bb8167eebd4975.js b/pkg/apiserver-impl/ui/97.24bb8167eebd4975.js new file mode 100644 index 000000000..a7c9261a7 --- /dev/null +++ b/pkg/apiserver-impl/ui/97.24bb8167eebd4975.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[97],{3097:(re,ht,S)=>{S.r(ht),S.d(ht,{diagram:()=>Jt});var I=S(855),Et=S(4169),z=S(6012),xt=S(8814),j=S(5703),Ot=S(9006),kt=S(9111),bt=S(1775);const R=[];for(let t=0;t<256;++t)R.push((t+256).toString(16).slice(1));const Rt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,At=function Tt(t){if(!function Nt(t){return"string"==typeof t&&Rt.test(t)}(t))throw TypeError("Invalid UUID");let r;const e=new Uint8Array(16);return e[0]=(r=parseInt(t.slice(0,8),16))>>>24,e[1]=r>>>16&255,e[2]=r>>>8&255,e[3]=255&r,e[4]=(r=parseInt(t.slice(9,13),16))>>>8,e[5]=255&r,e[6]=(r=parseInt(t.slice(14,18),16))>>>8,e[7]=255&r,e[8]=(r=parseInt(t.slice(19,23),16))>>>8,e[9]=255&r,e[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=r/4294967296&255,e[12]=r>>>24&255,e[13]=r>>>16&255,e[14]=r>>>8&255,e[15]=255&r,e};function Dt(t,r,e,a){switch(t){case 0:return r&e^~r&a;case 1:case 3:return r^e^a;case 2:return r&e^r&a^e&a}}function it(t,r){return t<>>32-r}const Lt=function St(t,r,e){function a(c,p,f,l){var h;if("string"==typeof c&&(c=function Mt(t){t=unescape(encodeURIComponent(t));const r=[];for(let e=0;e>>0;k=E,E=g,g=it(_,30)>>>0,_=h,h=Z}e[0]=e[0]+h>>>0,e[1]=e[1]+_>>>0,e[2]=e[2]+g>>>0,e[3]=e[3]+E>>>0,e[4]=e[4]+k>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,255&e[0],e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,255&e[1],e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,255&e[2],e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,255&e[3],e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,255&e[4]]});S(2735),S(1764),S(6780);var nt=function(){var t=function(A,n,s,d){for(s=s||{},d=A.length;d--;s[A[d]]=n);return s},r=[1,2],e=[1,5],a=[6,9,11,23,25,27,29,30,31,51],c=[1,17],p=[1,18],f=[1,19],l=[1,20],h=[1,21],_=[1,22],g=[1,25],E=[1,30],k=[1,31],y=[1,32],M=[1,33],Z=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],K=[1,45],H=[30,31,48,49],F=[4,6,9,11,23,25,27,29,30,31,51],N=[44,45,46,47],v=[22,37],T=[1,65],O=[1,64],B=[22,37,39,41],P={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,s,d,u,m,i,q){var o=i.length-1;switch(m){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:i[o-1].push(i[o]),this.$=i[o-1];break;case 5:case 6:case 20:case 43:case 28:case 29:case 32:this.$=i[o];break;case 12:u.addEntity(i[o-4]),u.addEntity(i[o-2]),u.addRelationship(i[o-4],i[o],i[o-2],i[o-3]);break;case 13:u.addEntity(i[o-3]),u.addAttributes(i[o-3],i[o-1]);break;case 14:u.addEntity(i[o-2]);break;case 15:u.addEntity(i[o]);break;case 16:case 17:this.$=i[o].trim(),u.setAccTitle(this.$);break;case 18:case 19:this.$=i[o].trim(),u.setAccDescription(this.$);break;case 21:case 41:case 42:case 33:this.$=i[o].replace(/"/g,"");break;case 22:case 30:this.$=[i[o]];break;case 23:i[o].push(i[o-1]),this.$=i[o];break;case 24:this.$={attributeType:i[o-1],attributeName:i[o]};break;case 25:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeKeyTypeList:i[o]};break;case 26:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeComment:i[o]};break;case 27:this.$={attributeType:i[o-3],attributeName:i[o-2],attributeKeyTypeList:i[o-1],attributeComment:i[o]};break;case 31:i[o-2].push(i[o]),this.$=i[o-2];break;case 34:this.$={cardA:i[o],relType:i[o-1],cardB:i[o-2]};break;case 35:this.$=u.Cardinality.ZERO_OR_ONE;break;case 36:this.$=u.Cardinality.ZERO_OR_MORE;break;case 37:this.$=u.Cardinality.ONE_OR_MORE;break;case 38:this.$=u.Cardinality.ONLY_ONE;break;case 39:this.$=u.Identification.NON_IDENTIFYING;break;case 40:this.$=u.Identification.IDENTIFYING;break;case 44:u.parseDirective("%%{","open_directive");break;case 45:u.parseDirective(i[o],"type_directive");break;case 46:i[o]=i[o].trim().replace(/'/g,'"'),u.parseDirective(i[o],"arg_directive");break;case 47:u.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:r,7:3,12:4,51:e},{1:[3]},t(a,[2,3],{5:6}),{3:7,4:r,7:3,12:4,51:e},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},{1:[2,2]},{14:23,15:[1,24],54:g},t([15,54],[2,45]),t(a,[2,8],{1:[2,1]}),t(a,[2,4]),{7:15,10:26,12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},t(a,[2,6]),t(a,[2,7]),t(a,[2,11]),t(a,[2,15],{18:27,42:29,20:[1,28],44:E,45:k,46:y,47:M}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(a,[2,19]),t(Z,[2,20]),t(Z,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},t(a,[2,5]),{17:40,30:h,31:_},{21:41,22:[1,42],32:43,33:44,37:K},{43:46,48:[1,47],49:[1,48]},t(H,[2,35]),t(H,[2,36]),t(H,[2,37]),t(H,[2,38]),t(a,[2,16]),t(a,[2,17]),t(a,[2,18]),t(F,[2,9]),{14:49,54:g},{54:[2,46]},{15:[1,50]},{22:[1,51]},t(a,[2,14]),{21:52,22:[2,22],32:43,33:44,37:K},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:E,45:k,46:y,47:M},t(N,[2,39]),t(N,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},t(a,[2,13]),{22:[2,23]},t(v,[2,24],{35:61,36:62,38:63,40:T,41:O}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(F,[2,10]),t(a,[2,12]),t(a,[2,41]),t(a,[2,42]),t(a,[2,43]),t(v,[2,25],{36:66,39:[1,67],41:O}),t(v,[2,26]),t(B,[2,30]),t(v,[2,33]),t(B,[2,32]),t(v,[2,27]),{38:68,40:T},t(B,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(n,s){if(!s.recoverable){var d=new Error(n);throw d.hash=s,d}this.trace(n)},parse:function(n){var d=[0],u=[],m=[null],i=[],q=this.table,o="",tt=0,_t=0,qt=i.slice.call(arguments,1),b=Object.create(this.lexer),G={yy:{}};for(var st in this.yy)Object.prototype.hasOwnProperty.call(this.yy,st)&&(G.yy[st]=this.yy[st]);b.setInput(n,G.yy),G.yy.lexer=b,G.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var ot=b.yylloc;i.push(ot);var V,te=b.options&&b.options.ranges;this.parseError="function"==typeof G.yy.parseError?G.yy.parseError:Object.getPrototypeOf(this).parseError;for(var w,X,D,ct,et,U,rt,Q={};;){if(this.defaultActions[X=d[d.length-1]]?D=this.defaultActions[X]:((null===w||typeof w>"u")&&(V=void 0,"number"!=typeof(V=u.pop()||b.lex()||1)&&(V instanceof Array&&(V=(u=V).pop()),V=this.symbols_[V]||V),w=V),D=q[X]&&q[X][w]),typeof D>"u"||!D.length||!D[0]){var lt;for(et in rt=[],q[X])this.terminals_[et]&&et>2&&rt.push("'"+this.terminals_[et]+"'");lt=b.showPosition?"Parse error on line "+(tt+1)+":\n"+b.showPosition()+"\nExpecting "+rt.join(", ")+", got '"+(this.terminals_[w]||w)+"'":"Parse error on line "+(tt+1)+": Unexpected "+(1==w?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(lt,{text:b.match,token:this.terminals_[w]||w,line:b.yylineno,loc:ot,expected:rt})}if(D[0]instanceof Array&&D.length>1)throw new Error("Parse Error: multiple actions possible at state: "+X+", token: "+w);switch(D[0]){case 1:d.push(w),m.push(b.yytext),i.push(b.yylloc),d.push(D[1]),w=null,_t=b.yyleng,o=b.yytext,tt=b.yylineno,ot=b.yylloc;break;case 2:if(Q.$=m[m.length-(U=this.productions_[D[1]][1])],Q._$={first_line:i[i.length-(U||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(U||1)].first_column,last_column:i[i.length-1].last_column},te&&(Q._$.range=[i[i.length-(U||1)].range[0],i[i.length-1].range[1]]),typeof(ct=this.performAction.apply(Q,[o,_t,tt,G.yy,D[1],m,i].concat(qt)))<"u")return ct;U&&(d=d.slice(0,-1*U*2),m=m.slice(0,-1*U),i=i.slice(0,-1*U)),d.push(this.productions_[D[1]][0]),m.push(Q.$),i.push(Q._$),d.push(q[d[d.length-2]][d[d.length-1]]);break;case 3:return!0}}return!0}};function W(){this.yy={}}return P.lexer={EOF:1,parseError:function(s,d){if(!this.yy.parser)throw new Error(s);this.yy.parser.parseError(s,d)},setInput:function(n,s){return this.yy=s||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];return this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,n.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var s=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var m=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===u.length?this.yylloc.first_column:0)+u[u.length-d.length].length-d[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),s=new Array(n.length+1).join("-");return n+this.upcomingInput()+"\n"+s+"^"},test_match:function(n,s){var d,u,m;if(this.options.backtrack_lexer&&(m={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(m.yylloc.range=this.yylloc.range.slice(0))),(u=n[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(n[0].length),this.matched+=n[0],d=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),d)return d;if(this._backtrack){for(var i in m)this[i]=m[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var n,s,d,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),i=0;is[0].length)){if(s=d,u=i,this.options.backtrack_lexer){if(!1!==(n=this.test_match(d,m[i])))return n;if(this._backtrack){s=!1;continue}return!1}if(!this.options.flex)break}return s?!1!==(n=this.test_match(s,m[u]))&&n:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(s){return(s=this.conditionStack.length-1-Math.abs(s||0))>=0?this.conditionStack[s]:"INITIAL"},pushState:function(s){this.begin(s)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(s,d,u,m){switch(u){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.begin("open_directive"),51;case 8:return this.begin("type_directive"),52;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),54;case 11:return 53;case 12:case 13:case 15:case 22:case 27:case 28:case 29:break;case 14:return 11;case 16:return 9;case 17:return 31;case 18:return 50;case 19:return 4;case 20:return this.begin("block"),20;case 21:return 39;case 23:return 40;case 24:case 25:return 37;case 26:return 41;case 30:return this.popState(),22;case 31:case 60:return d.yytext[0];case 32:case 36:case 37:case 50:return 44;case 33:case 34:case 35:case 43:case 45:case 52:return 46;case 38:case 39:case 40:case 41:case 42:case 44:case 51:return 45;case 46:case 47:case 48:case 49:return 47;case 53:case 56:case 57:case 58:return 48;case 54:case 55:return 49;case 59:return 30;case 61:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:\})/i,/^(?:.)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[21,22,23,24,25,26,27,28,29,30,31],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,20,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61],inclusive:!0}}},W.prototype=P,P.Parser=W,new W}();nt.parser=nt;const Ct=nt;let J={},at=[];const ut=function(t){return void 0===J[t]&&(J[t]={attributes:[]},I.l.info("Added new entity :",t)),J[t]},Pt={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},parseDirective:function(t,r,e){Et.m.parseDirective(this,t,r,e)},getConfig:()=>(0,I.g)().er,addEntity:ut,addAttributes:function(t,r){let a,e=ut(t);for(a=r.length-1;a>=0;a--)e.attributes.push(r[a]),I.l.debug("Added attribute ",r[a].attributeName)},getEntities:()=>J,addRelationship:function(t,r,e,a){let c={entityA:t,roleA:r,entityB:e,relSpec:a};at.push(c),I.l.debug("Added new relationship :",c)},getRelationships:()=>at,clear:function(){J={},at=[],(0,z.f)()},setAccTitle:z.s,getAccTitle:z.g,setAccDescription:z.b,getAccDescription:z.a,setDiagramTitle:z.d,getDiagramTitle:z.e},C={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END"},Y_ERMarkers=C,Wt=/[^\dA-Za-z](\W)*/g;let x={},$=new Map;const ft=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let yt=0;const Qt="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function pt(t=""){return t.length>0?`${t}-`:""}const Jt={parser:Ct,db:Pt,renderer:{setConf:function(t){const r=Object.keys(t);for(const e of r)x[e]=t[e]},draw:function(t,r,e,a){x=(0,I.g)().er,I.l.info("Drawing ER diagram");const c=(0,I.g)().securityLevel;let p;"sandbox"===c&&(p=(0,j.Ys)("#i"+r));const l=(0,j.Ys)("sandbox"===c?p.nodes()[0].contentDocument.body:"body").select(`[id='${r}']`);let h;(function(t,r){let e;t.append("defs").append("marker").attr("id",C.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",C.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),e=t.append("defs").append("marker").attr("id",C.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),e.append("circle").attr("stroke",r.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),e.append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M9,0 L9,18"),e=t.append("defs").append("marker").attr("id",C.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),e.append("circle").attr("stroke",r.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),e.append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",C.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",C.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),e=t.append("defs").append("marker").attr("id",C.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),e.append("circle").attr("stroke",r.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),e.append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),e=t.append("defs").append("marker").attr("id",C.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),e.append("circle").attr("stroke",r.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),e.append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(l,x),h=new xt.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:x.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});const _=function(t,r,e){let c;return Object.keys(r).forEach(function(p){const f=function jt(t="",r=""){const e=t.replace(Wt,"");return`${pt(r)}${pt(e)}${Lt(t,Qt)}`}(p,"entity");$.set(p,f);const l=t.append("g").attr("id",f);c=void 0===c?f:c;const h="text-"+f,_=l.append("text").classed("er entityLabel",!0).attr("id",h).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,I.g)().fontFamily).style("font-size",x.fontSize+"px").text(p),{width:g,height:E}=((t,r,e)=>{const a=x.entityPadding/3,c=x.entityPadding/3,p=.85*x.fontSize,f=r.node().getBBox(),l=[];let h=!1,_=!1,g=0,E=0,k=0,y=0,M=f.height+2*a,Z=1;e.forEach(N=>{void 0!==N.attributeKeyTypeList&&N.attributeKeyTypeList.length>0&&(h=!0),void 0!==N.attributeComment&&(_=!0)}),e.forEach(N=>{const v=`${r.node().id}-attr-${Z}`;let T=0;const O=(0,I.p)(N.attributeType),B=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,I.g)().fontFamily).style("font-size",p+"px").text(O),P=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,I.g)().fontFamily).style("font-size",p+"px").text(N.attributeName),L={};L.tn=B,L.nn=P;const W=B.node().getBBox(),A=P.node().getBBox();if(g=Math.max(g,W.width),E=Math.max(E,A.width),T=Math.max(W.height,A.height),h){const n=void 0!==N.attributeKeyTypeList?N.attributeKeyTypeList.join(","):"",s=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,I.g)().fontFamily).style("font-size",p+"px").text(n);L.kn=s;const d=s.node().getBBox();k=Math.max(k,d.width),T=Math.max(T,d.height)}if(_){const n=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,I.g)().fontFamily).style("font-size",p+"px").text(N.attributeComment||"");L.cn=n;const s=n.node().getBBox();y=Math.max(y,s.width),T=Math.max(T,s.height)}L.height=T,l.push(L),M+=T+2*a,Z+=1});let K=4;h&&(K+=2),_&&(K+=2);const H=g+E+k+y,F={width:Math.max(x.minEntityWidth,Math.max(f.width+2*x.entityPadding,H+c*K)),height:e.length>0?M:Math.max(x.minEntityHeight,f.height+2*x.entityPadding)};if(e.length>0){const N=Math.max(0,(F.width-H-c*K)/(K/2));r.attr("transform","translate("+F.width/2+","+(a+f.height/2)+")");let v=f.height+2*a,T="attributeBoxOdd";l.forEach(O=>{const B=v+a+O.height/2;O.tn.attr("transform","translate("+c+","+B+")");const P=t.insert("rect","#"+O.tn.node().id).classed(`er ${T}`,!0).attr("x",0).attr("y",v).attr("width",g+2*c+N).attr("height",O.height+2*a),L=parseFloat(P.attr("x"))+parseFloat(P.attr("width"));O.nn.attr("transform","translate("+(L+c)+","+B+")");const W=t.insert("rect","#"+O.nn.node().id).classed(`er ${T}`,!0).attr("x",L).attr("y",v).attr("width",E+2*c+N).attr("height",O.height+2*a);let A=parseFloat(W.attr("x"))+parseFloat(W.attr("width"));if(h){O.kn.attr("transform","translate("+(A+c)+","+B+")");const n=t.insert("rect","#"+O.kn.node().id).classed(`er ${T}`,!0).attr("x",A).attr("y",v).attr("width",k+2*c+N).attr("height",O.height+2*a);A=parseFloat(n.attr("x"))+parseFloat(n.attr("width"))}_&&(O.cn.attr("transform","translate("+(A+c)+","+B+")"),t.insert("rect","#"+O.cn.node().id).classed(`er ${T}`,"true").attr("x",A).attr("y",v).attr("width",y+2*c+N).attr("height",O.height+2*a)),v+=O.height+2*a,T="attributeBoxOdd"===T?"attributeBoxEven":"attributeBoxOdd"})}else F.height=Math.max(x.minEntityHeight,M),r.attr("transform","translate("+F.width/2+","+F.height/2+")");return F})(l,_,r[p].attributes),y=l.insert("rect","#"+h).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",g).attr("height",E).node().getBBox();e.setNode(f,{width:y.width,height:y.height,shape:"rect",id:f})}),c}(l,a.db.getEntities(),h),g=function(t,r){return t.forEach(function(e){r.setEdge($.get(e.entityA),$.get(e.entityB),{relationship:e},ft(e))}),t}(a.db.getRelationships(),h);(0,Ot.bK)(h),function(t,r){r.nodes().forEach(function(e){void 0!==e&&void 0!==r.node(e)&&t.select("#"+e).attr("transform","translate("+(r.node(e).x-r.node(e).width/2)+","+(r.node(e).y-r.node(e).height/2)+" )")})}(l,h),g.forEach(function(Z){!function(t,r,e,a,c){yt++;const p=e.edge($.get(r.entityA),$.get(r.entityB),ft(r)),f=(0,j.jvg)().x(function(M){return M.x}).y(function(M){return M.y}).curve(j.$0Z),l=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",f(p.points)).style("stroke",x.stroke).style("fill","none");r.relSpec.relType===c.db.Identification.NON_IDENTIFYING&&l.attr("stroke-dasharray","8,8");let h="";switch(x.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),r.relSpec.cardA){case c.db.Cardinality.ZERO_OR_ONE:l.attr("marker-end","url("+h+"#"+Y_ERMarkers.ZERO_OR_ONE_END+")");break;case c.db.Cardinality.ZERO_OR_MORE:l.attr("marker-end","url("+h+"#"+Y_ERMarkers.ZERO_OR_MORE_END+")");break;case c.db.Cardinality.ONE_OR_MORE:l.attr("marker-end","url("+h+"#"+Y_ERMarkers.ONE_OR_MORE_END+")");break;case c.db.Cardinality.ONLY_ONE:l.attr("marker-end","url("+h+"#"+Y_ERMarkers.ONLY_ONE_END+")")}switch(r.relSpec.cardB){case c.db.Cardinality.ZERO_OR_ONE:l.attr("marker-start","url("+h+"#"+Y_ERMarkers.ZERO_OR_ONE_START+")");break;case c.db.Cardinality.ZERO_OR_MORE:l.attr("marker-start","url("+h+"#"+Y_ERMarkers.ZERO_OR_MORE_START+")");break;case c.db.Cardinality.ONE_OR_MORE:l.attr("marker-start","url("+h+"#"+Y_ERMarkers.ONE_OR_MORE_START+")");break;case c.db.Cardinality.ONLY_ONE:l.attr("marker-start","url("+h+"#"+Y_ERMarkers.ONLY_ONE_START+")")}const _=l.node().getTotalLength(),g=l.node().getPointAtLength(.5*_),E="rel"+yt,y=t.append("text").classed("er relationshipLabel",!0).attr("id",E).attr("x",g.x).attr("y",g.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,I.g)().fontFamily).style("font-size",x.fontSize+"px").text(r.roleA).node().getBBox();t.insert("rect","#"+E).classed("er relationshipLabelBox",!0).attr("x",g.x-y.width/2).attr("y",g.y-y.height/2).attr("width",y.width).attr("height",y.height)}(l,Z,h,_,a)});const E=x.diagramPadding;kt.u.insertTitle(l,"entityTitleText",x.titleTopMargin,a.db.getDiagramTitle());const k=l.node().getBBox(),y=k.width+2*E,M=k.height+2*E;(0,bt.c)(l,M,y,x.useMaxWidth),l.attr("viewBox",`${k.x-E} ${k.y-E} ${y} ${M}`)}},styles:t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/973.fabe6d6ee4bc5e5a.js b/pkg/apiserver-impl/ui/973.fabe6d6ee4bc5e5a.js new file mode 100644 index 000000000..6dd103045 --- /dev/null +++ b/pkg/apiserver-impl/ui/973.fabe6d6ee4bc5e5a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[973],{6973:(nt,O,_)=>{_.r(O),_.d(O,{diagram:()=>it});var m=_(2911),S=_(5703),W=_(9006),T=_(8814),t=_(855),v=_(9111),z=_(1775);_(2735),_(1764),_(6780);const k={},Y=(e,i,r)=>{const o=(0,t.g)().state.padding,s=2*(0,t.g)().state.padding,l=e.node().getBBox(),p=l.width,a=l.x,d=e.append("text").attr("x",0).attr("y",(0,t.g)().state.titleShift).attr("font-size",(0,t.g)().state.fontSize).attr("class","state-title").text(i.id),x=d.node().getBBox().width+s;let g,c=Math.max(x,p);c===p&&(c+=s);const E=e.node().getBBox();g=a-o,x>p&&(g=(p-c)/2+o),Math.abs(a-E.x)p&&(g=a-(x-p)/2);const f=1-(0,t.g)().state.textHeight;return e.insert("rect",":first-child").attr("x",g).attr("y",f).attr("class",r?"alt-composit":"composit").attr("width",c).attr("height",E.height+(0,t.g)().state.textHeight+(0,t.g)().state.titleShift+1).attr("rx","0"),d.attr("x",g+o),x<=p&&d.attr("x",a+(c-s)/2-x/2+o),e.insert("rect",":first-child").attr("x",g).attr("y",(0,t.g)().state.titleShift-(0,t.g)().state.textHeight-(0,t.g)().state.padding).attr("width",c).attr("height",3*(0,t.g)().state.textHeight).attr("rx",(0,t.g)().state.radius),e.insert("rect",":first-child").attr("x",g).attr("y",(0,t.g)().state.titleShift-(0,t.g)().state.textHeight-(0,t.g)().state.padding).attr("width",c).attr("height",E.height+3+2*(0,t.g)().state.textHeight).attr("rx",(0,t.g)().state.radius),e},C=function(e,i){const r=i.id,o={id:r,label:i.id,width:0,height:0},s=e.append("g").attr("id",r).attr("class","stateGroup");"start"===i.type&&(e=>{e.append("circle").attr("class","start-state").attr("r",(0,t.g)().state.sizeUnit).attr("cx",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit).attr("cy",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit)})(s),"end"===i.type&&(e=>{e.append("circle").attr("class","end-state-outer").attr("r",(0,t.g)().state.sizeUnit+(0,t.g)().state.miniPadding).attr("cx",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit+(0,t.g)().state.miniPadding).attr("cy",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit+(0,t.g)().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",(0,t.g)().state.sizeUnit).attr("cx",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit+2).attr("cy",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit+2)})(s),("fork"===i.type||"join"===i.type)&&((e,i)=>{let r=(0,t.g)().state.forkWidth,o=(0,t.g)().state.forkHeight;if(i.parentId){let s=r;r=o,o=s}e.append("rect").style("stroke","black").style("fill","black").attr("width",r).attr("height",o).attr("x",(0,t.g)().state.padding).attr("y",(0,t.g)().state.padding)})(s,i),"note"===i.type&&((e,i)=>{i.attr("class","state-note");const r=i.append("rect").attr("x",0).attr("y",(0,t.g)().state.padding),o=i.append("g"),{textWidth:s,textHeight:l}=((e,i,r,o)=>{let s=0;const l=o.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(t.d.lineBreakRegex);let d=1.25*(0,t.g)().state.noteMargin;for(const B of a){const x=B.trim();if(x.length>0){const c=l.append("tspan");c.text(x),0===d&&(d+=c.node().getBBox().height),s+=d,c.attr("x",0+(0,t.g)().state.noteMargin),c.attr("y",0+s+1.25*(0,t.g)().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:s}})(e,0,0,o);r.attr("height",l+2*(0,t.g)().state.noteMargin),r.attr("width",s+2*(0,t.g)().state.noteMargin)})(i.note.text,s),"divider"===i.type&&(e=>{e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,t.g)().state.textHeight).attr("class","divider").attr("x2",2*(0,t.g)().state.textHeight).attr("y1",0).attr("y2",0)})(s),"default"===i.type&&0===i.descriptions.length&&((e,i)=>{const o=e.append("text").attr("x",2*(0,t.g)().state.padding).attr("y",(0,t.g)().state.textHeight+2*(0,t.g)().state.padding).attr("font-size",(0,t.g)().state.fontSize).attr("class","state-title").text(i.id).node().getBBox();e.insert("rect",":first-child").attr("x",(0,t.g)().state.padding).attr("y",(0,t.g)().state.padding).attr("width",o.width+2*(0,t.g)().state.padding).attr("height",o.height+2*(0,t.g)().state.padding).attr("rx",(0,t.g)().state.radius)})(s,i),"default"===i.type&&i.descriptions.length>0&&((e,i)=>{const s=e.append("text").attr("x",2*(0,t.g)().state.padding).attr("y",(0,t.g)().state.textHeight+1.3*(0,t.g)().state.padding).attr("font-size",(0,t.g)().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),l=s.height,p=e.append("text").attr("x",(0,t.g)().state.padding).attr("y",l+.4*(0,t.g)().state.padding+(0,t.g)().state.dividerMargin+(0,t.g)().state.textHeight).attr("class","state-description");let a=!0,d=!0;i.descriptions.forEach(function(g){a||(function(g,E,f){const b=g.append("tspan").attr("x",2*(0,t.g)().state.padding).text(E);f||b.attr("dy",(0,t.g)().state.textHeight)}(p,g,d),d=!1),a=!1});const B=e.append("line").attr("x1",(0,t.g)().state.padding).attr("y1",(0,t.g)().state.padding+l+(0,t.g)().state.dividerMargin/2).attr("y2",(0,t.g)().state.padding+l+(0,t.g)().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),c=Math.max(x.width,s.width);B.attr("x2",c+3*(0,t.g)().state.padding),e.insert("rect",":first-child").attr("x",(0,t.g)().state.padding).attr("y",(0,t.g)().state.padding).attr("width",c+2*(0,t.g)().state.padding).attr("height",x.height+l+2*(0,t.g)().state.padding).attr("rx",(0,t.g)().state.radius)})(s,i);const l=s.node().getBBox();return o.width=l.width+2*(0,t.g)().state.padding,o.height=l.height+2*(0,t.g)().state.padding,((e,i)=>{k[e]=i})(r,o),o};let w,H=0;const N={},et=e=>e?e.length*w.fontSizeFactor:1,R=(e,i,r,o,s,l,p)=>{const a=new T.k({compound:!0,multigraph:!0});let d,B=!0;for(d=0;d{const y=h.parentElement;let M=0,L=0;y&&(y.parentElement&&(M=y.parentElement.getBBox().width),L=parseInt(y.getAttribute("data-x-shift"),10),Number.isNaN(L)&&(L=0)),h.setAttribute("x1",0-L+8),h.setAttribute("x2",M-L-8)})):t.l.debug("No Node "+n+": "+JSON.stringify(a.node(n)))});let b=f.getBBox();a.edges().forEach(function(n){void 0!==n&&void 0!==a.edge(n)&&(t.l.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(a.edge(n))),function(e,i,r){i.points=i.points.filter(d=>!Number.isNaN(d.y));const s=i.points,l=(0,S.jvg)().x(function(d){return d.x}).y(function(d){return d.y}).curve(S.$0Z),p=e.append("path").attr("d",l(s)).attr("id","edge"+H).attr("class","transition");let a="";if((0,t.g)().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+function(d){switch(d){case m.d.relationType.AGGREGATION:return"aggregation";case m.d.relationType.EXTENSION:return"extension";case m.d.relationType.COMPOSITION:return"composition";case m.d.relationType.DEPENDENCY:return"dependency"}}(m.d.relationType.DEPENDENCY)+"End)"),void 0!==r.title){const d=e.append("g").attr("class","stateLabel"),{x:B,y:x}=v.u.calcLabelPosition(i.points),c=t.d.getRows(r.title);let g=0;const E=[];let f=0,b=0;for(let u=0;u<=c.length;u++){const h=d.append("text").attr("text-anchor","middle").text(c[u]).attr("x",B).attr("y",x+g),y=h.node().getBBox();f=Math.max(f,y.width),b=Math.min(b,y.x),t.l.info(y.x,B,x+g),0===g&&(g=h.node().getBBox().height,t.l.info("Title height",g,x)),E.push(h)}let P=g*c.length;if(c.length>1){const u=(c.length-1)*g*.5;E.forEach((h,y)=>h.attr("y",x+y*g-u)),P=g*c.length}const n=d.node().getBBox();d.insert("rect",":first-child").attr("class","box").attr("x",B-f/2-(0,t.g)().state.padding/2).attr("y",x-P/2-(0,t.g)().state.padding/2-3.5).attr("width",f+(0,t.g)().state.padding).attr("height",P+(0,t.g)().state.padding),t.l.info(n)}H++}(i,a.edge(n),a.edge(n).relation))}),b=f.getBBox();const P={id:r||"root",label:r||"root",width:0,height:0};return P.width=b.width+2*w.padding,P.height=b.height+2*w.padding,t.l.debug("Doc rendered",P,a),P},it={parser:m.p,db:m.d,renderer:{setConf:function(){},draw:function(e,i,r,o){w=(0,t.g)().state;const s=(0,t.g)().securityLevel;let l;"sandbox"===s&&(l=(0,S.Ys)("#i"+i));const p=(0,S.Ys)("sandbox"===s?l.nodes()[0].contentDocument.body:"body"),a="sandbox"===s?l.nodes()[0].contentDocument:document;t.l.debug("Rendering diagram "+e);const d=p.select(`[id='${i}']`);(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")})(d),new T.k({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel(function(){return{}});const x=o.db.getRootDoc();R(x,d,void 0,!1,p,a,o);const c=w.padding,g=d.node().getBBox(),E=g.width+2*c,f=g.height+2*c;(0,z.c)(d,f,1.75*E,w.useMaxWidth),d.attr("viewBox",`${g.x-w.padding} ${g.y-w.padding} `+E+" "+f)}},styles:m.s,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,m.d.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/CNAME b/pkg/apiserver-impl/ui/CNAME new file mode 100644 index 000000000..d8c387cb2 --- /dev/null +++ b/pkg/apiserver-impl/ui/CNAME @@ -0,0 +1 @@ +devfile.odo.dev \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/assets/github-24.svg b/pkg/apiserver-impl/ui/assets/github-24.svg new file mode 100644 index 000000000..496620fa7 --- /dev/null +++ b/pkg/apiserver-impl/ui/assets/github-24.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pkg/apiserver-impl/ui/common.a64b1ed6000c8d46.js b/pkg/apiserver-impl/ui/common.a64b1ed6000c8d46.js new file mode 100644 index 000000000..71ee7458f --- /dev/null +++ b/pkg/apiserver-impl/ui/common.a64b1ed6000c8d46.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[592],{5847:(G,B,b)=>{b.d(B,{Z:()=>M});var D=b(8267),y=b(486);const M=m=>!(m=>(m=>{const{r:N,g:L,b:$}=y.Z.parse(m),U=.2126*D.Z.channel.toLinear(N)+.7152*D.Z.channel.toLinear(L)+.0722*D.Z.channel.toLinear($);return D.Z.lang.round(U)})(m)>=.5)(m)},4724:(G,B,b)=>{b.d(B,{a:()=>Z,f:()=>O});var D=b(8814),y=b(5703),I=b(4976),s=b(855),v=b(9111),P=b(5963),R=b(3057),M=b(1775);const m={},L=function(t,n,E,i,f,u){const h=i.select(`[id="${E}"]`);Object.keys(t).forEach(function(c){const l=t[c];let k="default";l.classes.length>0&&(k=l.classes.join(" "));const w=(0,v.m)(l.styles);let o,e=void 0!==l.text?l.text:l.id;if((0,s.j)((0,s.g)().flowchart.htmlLabels)){const S={label:e.replace(/fa[blrs]?:fa-[\w-]+/g,g=>``)};o=(0,R.a)(h,S).node(),o.parentNode.removeChild(o)}else{const S=f.createElementNS("http://www.w3.org/2000/svg","text");S.setAttribute("style",w.labelStyle.replace("color:","fill:"));const g=e.split(s.d.lineBreakRegex);for(const A of g){const C=f.createElementNS("http://www.w3.org/2000/svg","tspan");C.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),C.setAttribute("dy","1em"),C.setAttribute("x","1"),C.textContent=A,S.appendChild(C)}o=S}let d=0,r="";switch(l.type){case"round":d=5,r="rect";break;case"square":case"group":default:r="rect";break;case"diamond":r="question";break;case"hexagon":r="hexagon";break;case"odd":case"odd_right":r="rect_left_inv_arrow";break;case"lean_right":r="lean_right";break;case"lean_left":r="lean_left";break;case"trapezoid":r="trapezoid";break;case"inv_trapezoid":r="inv_trapezoid";break;case"circle":r="circle";break;case"ellipse":r="ellipse";break;case"stadium":r="stadium";break;case"subroutine":r="subroutine";break;case"cylinder":r="cylinder";break;case"doublecircle":r="doublecircle"}n.setNode(l.id,{labelStyle:w.labelStyle,shape:r,labelText:e,rx:d,ry:d,class:k,style:w.style,id:l.id,link:l.link,linkTarget:l.linkTarget,tooltip:u.db.getTooltip(l.id)||"",domId:u.db.lookUpDomId(l.id),haveCallback:l.haveCallback,width:"group"===l.type?500:void 0,dir:l.dir,type:l.type,props:l.props,padding:(0,s.g)().flowchart.padding}),s.l.info("setNode",{labelStyle:w.labelStyle,shape:r,labelText:e,rx:d,ry:d,class:k,style:w.style,id:l.id,domId:u.db.lookUpDomId(l.id),width:"group"===l.type?500:void 0,type:l.type,dir:l.dir,props:l.props,padding:(0,s.g)().flowchart.padding})})},$=function(t,n,E){s.l.info("abc78 edges = ",t);let u,h,i=0,f={};if(void 0!==t.defaultStyle){const a=(0,v.m)(t.defaultStyle);u=a.style,h=a.labelStyle}t.forEach(function(a){i++;var c="L-"+a.start+"-"+a.end;void 0===f[c]?(f[c]=0,s.l.info("abc78 new entry",c,f[c])):(f[c]++,s.l.info("abc78 new entry",c,f[c]));let l=c+"-"+f[c];s.l.info("abc78 new link id to be used is",c,l,f[c]);var k="LS-"+a.start,w="LE-"+a.end;const e={style:"",labelStyle:""};switch(e.minlen=a.length||1,e.arrowhead="arrow_open"===a.type?"none":"normal",e.arrowTypeStart="arrow_open",e.arrowTypeEnd="arrow_open",a.type){case"double_arrow_cross":e.arrowTypeStart="arrow_cross";case"arrow_cross":e.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":e.arrowTypeStart="arrow_point";case"arrow_point":e.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":e.arrowTypeStart="arrow_circle";case"arrow_circle":e.arrowTypeEnd="arrow_circle"}let o="",d="";switch(a.stroke){case"normal":o="fill:none;",void 0!==u&&(o=u),void 0!==h&&(d=h),e.thickness="normal",e.pattern="solid";break;case"dotted":e.thickness="normal",e.pattern="dotted",e.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":e.thickness="thick",e.pattern="solid",e.style="stroke-width: 3.5px;fill:none;";break;case"invisible":e.thickness="invisible",e.pattern="solid",e.style="stroke-width: 0;fill:none;"}if(void 0!==a.style){const r=(0,v.m)(a.style);o=r.style,d=r.labelStyle}e.style=e.style+=o,e.labelStyle=e.labelStyle+=d,e.curve=(0,v.n)(void 0!==a.interpolate?a.interpolate:void 0!==t.defaultInterpolate?t.defaultInterpolate:m.curve,y.c_6),void 0===a.text?void 0!==a.style&&(e.arrowheadStyle="fill: #333"):(e.arrowheadStyle="fill: #333",e.labelpos="c"),e.labelType="text",e.label=a.text.replace(s.d.lineBreakRegex,"\n"),void 0===a.style&&(e.style=e.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),e.labelStyle=e.labelStyle.replace("color:","fill:"),e.id=l,e.classes="flowchart-link "+k+" "+w,n.setEdge(a.start,a.end,e,i)})},O={setConf:function(t){const n=Object.keys(t);for(const E of n)m[E]=t[E]},addVertices:L,addEdges:$,getClasses:function(t,n){s.l.info("Extracting classes"),n.db.clear();try{return n.parse(t),n.db.getClasses()}catch{return}},draw:function(t,n,E,i){s.l.info("Drawing flowchart"),i.db.clear(),I.f.setGen("gen-2"),i.parser.parse(t);let f=i.db.getDirection();void 0===f&&(f="TD");const{securityLevel:u,flowchart:h}=(0,s.g)(),a=h.nodeSpacing||50,c=h.rankSpacing||50;let l;"sandbox"===u&&(l=(0,y.Ys)("#i"+n));const k=(0,y.Ys)("sandbox"===u?l.nodes()[0].contentDocument.body:"body"),w="sandbox"===u?l.nodes()[0].contentDocument:document,e=new D.k({multigraph:!0,compound:!0}).setGraph({rankdir:f,nodesep:a,ranksep:c,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let o;const d=i.db.getSubGraphs();s.l.info("Subgraphs - ",d);for(let p=d.length-1;p>=0;p--)o=d[p],s.l.info("Subgraph - ",o),i.db.addVertex(o.id,o.title,"group",void 0,o.classes,o.dir);const r=i.db.getVertices(),S=i.db.getEdges();s.l.info("Edges",S);let g=0;for(g=d.length-1;g>=0;g--){o=d[g],(0,y.td_)("cluster").append("text");for(let p=0;p`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/favicon.ico b/pkg/apiserver-impl/ui/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..997406ad22c29aae95893fb3d666c30258a09537 GIT binary patch literal 948 zcmV;l155mgP)CBYU7IjCFmI-B}4sMJt3^s9NVg!P0 z6hDQy(L`XWMkB@zOLgN$4KYz;j0zZxq9KKdpZE#5@k0crP^5f9KO};h)ZDQ%ybhht z%t9#h|nu0K(bJ ztIkhEr!*UyrZWQ1k2+YkGqDi8Z<|mIN&$kzpKl{cNP=OQzXHz>vn+c)F)zO|Bou>E z2|-d_=qY#Y+yOu1a}XI?cU}%04)zz%anD(XZC{#~WreV!a$7k2Ug`?&CUEc0EtrkZ zL49MB)h!_K{H(*l_93D5tO0;BUnvYlo+;yss%n^&qjt6fZOa+}+FDO(~2>G z2dx@=JZ?DHP^;b7*Y1as5^uphBsh*s*z&MBd?e@I>-9kU>63PjP&^#5YTOb&x^6Cf z?674rmSHB5Fk!{Gv7rv!?qX#ei_L(XtwVqLX3L}$MI|kJ*w(rhx~tc&L&xP#?cQow zX_|gx$wMr3pRZIIr_;;O|8fAjd;1`nOeu5K(pCu7>^3E&D2OBBq?sYa(%S?GwG&_0-s%_v$L@R!5H_fc)lOb9ZoOO#p`Nn`KU z3LTTBtjwo`7(HA6 z7gmO$yTR!5L>Bsg!X8616{JUngg_@&85%>W=mChTR;x4`P=?PJ~oPuy5 zU-L`C@_!34D21{fD~Y8NVnR3t;aqZI3fIhmgmx}$oc-dKDC6Ap$Gy>a!`A*x2L1v0 WcZ@i?LyX}70000 + + Devfile Builder + + + + + + + + +
Loading, please wait...
+ + + + \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/main.cf0a00d9d9051ab2.js b/pkg/apiserver-impl/ui/main.cf0a00d9d9051ab2.js new file mode 100644 index 000000000..8315a224d --- /dev/null +++ b/pkg/apiserver-impl/ui/main.cf0a00d9d9051ab2.js @@ -0,0 +1 @@ +(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[179],{6780:(Qt,Se)=>{"use strict";Se.N=void 0;var q=/^([^\w]*)(javascript|data|vbscript)/im,de=/&#(\w+)(^\w|;)?/g,ie=/&(newline|tab);/gi,J=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,te=/^.+(:|:)/gim,je=[".","/"];Se.N=function ce(K){var ae=function N(K){return K.replace(de,function(ae,Et){return String.fromCharCode(Et)})}(K||"").replace(ie,"").replace(J,"").trim();if(!ae)return"about:blank";if(function Ge(K){return je.indexOf(K[0])>-1}(ae))return ae;var Et=ae.match(te);return Et&&q.test(Et[0])?"about:blank":ae}},546:(Qt,Se,O)=>{"use strict";function q(n){return"function"==typeof n}function de(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const ie=de(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function J(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class te{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(q(i))try{i()}catch(o){t=o instanceof ie?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{N(o)}catch(a){t=t??[],a instanceof ie?t=[...t,...a.errors]:t.push(a)}}if(t)throw new ie(t)}}add(t){var e;if(t&&t!==this)if(this.closed)N(t);else{if(t instanceof te){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&J(e,t)}remove(t){const{_finalizers:e}=this;e&&J(e,t),t instanceof te&&t._removeParent(this)}}te.EMPTY=(()=>{const n=new te;return n.closed=!0,n})();const je=te.EMPTY;function Ge(n){return n instanceof te||n&&"closed"in n&&q(n.remove)&&q(n.add)&&q(n.unsubscribe)}function N(n){q(n)?n():n.unsubscribe()}const ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},K={setTimeout(n,t,...e){const{delegate:i}=K;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=K;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function ae(n){K.setTimeout(()=>{const{onUnhandledError:t}=ce;if(!t)throw n;t(n)})}function Et(){}const Zt=we("C",void 0,void 0);function we(n,t,e){return{kind:n,value:t,error:e}}let pe=null;function yt(n){if(ce.useDeprecatedSynchronousErrorHandling){const t=!pe;if(t&&(pe={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=pe;if(pe=null,e)throw i}}else n()}class pt extends te{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ge(t)&&t.add(this)):this.destination=ve}static create(t,e,i){return new nn(t,e,i)}next(t){this.isStopped?Ue(function X(n){return we("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ue(function Te(n){return we("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ue(Zt,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Vt=Function.prototype.bind;function Ht(n,t){return Vt.call(n,t)}class st{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){Kn(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){Kn(i)}else Kn(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Kn(e)}}}class nn extends pt{constructor(t,e,i){let r;if(super(),q(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&ce.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Ht(t.next,o),error:t.error&&Ht(t.error,o),complete:t.complete&&Ht(t.complete,o)}):r=t}this.destination=new st(r)}}function Kn(n){ce.useDeprecatedSynchronousErrorHandling?function Mt(n){ce.useDeprecatedSynchronousErrorHandling&&pe&&(pe.errorThrown=!0,pe.error=n)}(n):ae(n)}function Ue(n,t){const{onStoppedNotification:e}=ce;e&&K.setTimeout(()=>e(n,t))}const ve={closed:!0,next:Et,error:function wt(n){throw n},complete:Et},Ze="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ve(n){return n}let be=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function sn(n){return n&&n instanceof pt||function bn(n){return n&&q(n.next)&&q(n.error)&&q(n.complete)}(n)&&Ge(n)}(e)?e:new nn(e,i,r);return yt(()=>{const{operator:a,source:l}=this;o.add(a?a.call(o,l):l?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=wn(i))((r,o)=>{const a=new nn({next:l=>{try{e(l)}catch(d){o(d),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Ze](){return this}pipe(...e){return function ut(n){return 0===n.length?Ve:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=wn(e))((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return n.create=t=>new n(t),n})();function wn(n){var t;return null!==(t=n??ce.Promise)&&void 0!==t?t:Promise}const li=de(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ie=(()=>{class n extends be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Wi(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new li}next(e){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?je:(this.currentObservers=null,o.push(e),new te(()=>{this.currentObservers=null,J(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new be;return e.source=this,e}}return n.create=(t,e)=>new Wi(t,e),n})();class Wi extends Ie{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:je}}function qe(n){return t=>{if(function _t(n){return q(n?.lift)}(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function It(n,t,e,i,r){return new Xn(n,t,e,i,r)}class Xn extends pt{constructor(t,e,i,r,o,a){super(t),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(l){try{e(l)}catch(d){t.error(d)}}:super._next,this._error=r?function(l){try{r(l)}catch(d){t.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Pn(n,t){return qe((e,i)=>{let r=0;e.subscribe(It(i,o=>{i.next(n.call(t,o,r++))}))})}function yi(n){return this instanceof yi?(this.v=n,this):new yi(n)}function pi(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function Ke(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(a){return new Promise(function(l,d){!function r(o,a,l,d){Promise.resolve(d).then(function(h){o({value:h,done:l})},a)}(l,d,(a=n[o](a)).done,a.value)})}}}const P=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function ke(n){return q(n?.then)}function ht(n){return q(n[Ze])}function gi(n){return Symbol.asyncIterator&&q(n?.[Symbol.asyncIterator])}function vn(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const no=function Jo(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function io(n){return q(n?.[no])}function ya(n){return function Gi(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(w){i[w]&&(r[w]=function(S){return new Promise(function(R,$){o.push([w,S,R,$])>1||l(w,S)})})}function l(w,S){try{!function d(w){w.value instanceof yi?Promise.resolve(w.value.v).then(h,p):_(o[0][2],w)}(i[w](S))}catch(R){_(o[0][3],R)}}function h(w){l("next",w)}function p(w){l("throw",w)}function _(w,S){w(S),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield yi(e.read());if(r)return yield yi(void 0);yield yield yi(i)}}finally{e.releaseLock()}})}function js(n){return q(n?.getReader)}function vi(n){if(n instanceof be)return n;if(null!=n){if(ht(n))return function es(n){return new be(t=>{const e=n[Ze]();if(q(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(P(n))return function xo(n){return new be(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,ae)})}(n);if(gi(n))return Do(n);if(io(n))return function wo(n){return new be(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(js(n))return function ys(n){return Do(ya(n))}(n)}throw vn(n)}function Do(n){return new be(t=>{(function vr(n,t){var e,i,r,o;return function Ko(n,t,e,i){return new(e||(e=Promise))(function(o,a){function l(p){try{h(i.next(p))}catch(_){a(_)}}function d(p){try{h(i.throw(p))}catch(_){a(_)}}function h(p){p.done?o(p.value):function r(o){return o instanceof e?o:new e(function(a){a(o)})}(p.value).then(l,d)}h((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=pi(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function Yi(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function Mo(n,t,e=1/0){return q(t)?Mo((i,r)=>Pn((o,a)=>t(i,o,r,a))(vi(n(i,r))),e):("number"==typeof t&&(e=t),qe((i,r)=>function va(n,t,e,i,r,o,a,l){const d=[];let h=0,p=0,_=!1;const w=()=>{_&&!d.length&&!h&&t.complete()},S=$=>h{o&&t.next($),h++;let Q=!1;vi(e($,p++)).subscribe(It(t,se=>{r?.(se),o?S(se):t.next(se)},()=>{Q=!0},void 0,()=>{if(Q)try{for(h--;d.length&&hR(se)):R(se)}w()}catch(se){t.error(se)}}))};return n.subscribe(It(t,S,()=>{_=!0,w()})),()=>{l?.()}}(i,r,n,e)))}function Eo(n=1/0){return Mo(Ve,n)}const Wn=new be(n=>n.complete());function Ga(n){return n&&q(n.schedule)}function ri(n){return n[n.length-1]}function To(n){return q(ri(n))?n.pop():void 0}function ko(n){return Ga(ri(n))?n.pop():void 0}function Us(n,t=0){return qe((e,i)=>{e.subscribe(It(i,r=>Yi(i,n,()=>i.next(r),t),()=>Yi(i,n,()=>i.complete(),t),r=>Yi(i,n,()=>i.error(r),t)))})}function ir(n,t=0){return qe((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function Io(n,t){if(!n)throw new Error("Iterable cannot be null");return new be(e=>{Yi(e,t,()=>{const i=n[Symbol.asyncIterator]();Yi(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function ts(n,t){return t?function Ws(n,t){if(null!=n){if(ht(n))return function Zi(n,t){return vi(n).pipe(ir(t),Us(t))}(n,t);if(P(n))return function So(n,t){return new be(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(ke(n))return function Ci(n,t){return vi(n).pipe(ir(t),Us(t))}(n,t);if(gi(n))return Io(n,t);if(io(n))return function Za(n,t){return new be(e=>{let i;return Yi(e,t,()=>{i=n[no](),Yi(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){return void e.error(a)}o?e.complete():e.next(r)},0,!0)}),()=>q(i?.return)&&i.return()})}(n,t);if(js(n))return function vs(n,t){return Io(ya(n),t)}(n,t)}throw vn(n)}(n,t):vi(n)}function oi(...n){const t=ko(n),e=function Ya(n,t){return"number"==typeof ri(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?vi(i[0]):Eo(e)(ts(i,t)):Wn}function Gs(n={}){const{connector:t=(()=>new Ie),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let a,l,d,h=0,p=!1,_=!1;const w=()=>{l?.unsubscribe(),l=void 0},S=()=>{w(),a=d=void 0,p=_=!1},R=()=>{const $=a;S(),$?.unsubscribe()};return qe(($,Q)=>{h++,!_&&!p&&w();const se=d=d??t();Q.add(()=>{h--,0===h&&!_&&!p&&(l=Cr(R,r))}),se.subscribe(Q),!a&&h>0&&(a=new nn({next:Be=>se.next(Be),error:Be=>{_=!0,w(),l=Cr(S,e,Be),se.error(Be)},complete:()=>{p=!0,w(),l=Cr(S,i),se.complete()}}),vi($).subscribe(a))})(o)}}function Cr(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new nn({next:()=>{i.unsubscribe(),n()}});return vi(t(...e)).subscribe(i)}function Fn(n){for(let t in n)if(n[t]===Fn)return t;throw Error("Could not find renamed property on target object.")}function ro(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function He(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(He).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Gr(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const wi=Fn({__forward_ref__:Fn});function un(n){return n.__forward_ref__=un,n.toString=function(){return He(this())},n}function Nt(n){return rr(n)?n():n}function rr(n){return"function"==typeof n&&n.hasOwnProperty(wi)&&n.__forward_ref__===un}function oo(n){return n&&!!n.\u0275providers}const Ti="https://g.co/ng/security#xss";class ge extends Error{constructor(t,e){super(Cs(t,e)),this.code=t}}function Cs(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}function Yt(n){return"string"==typeof n?n:null==n?"":String(n)}function ci(n,t){throw new ge(-201,!1)}function qi(n,t){null==n&&function On(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function lt(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Kt(n){return{providers:n.providers||[],imports:n.imports||[]}}function ws(n){return U(n,Di)||U(n,An)}function U(n,t){return n.hasOwnProperty(t)?n[t]:null}function Dn(n){return n&&(n.hasOwnProperty(Hn)||n.hasOwnProperty(ns))?n[Hn]:null}const Di=Fn({\u0275prov:Fn}),Hn=Fn({\u0275inj:Fn}),An=Fn({ngInjectableDef:Fn}),ns=Fn({ngInjectorDef:Fn});var bt=(()=>((bt=bt||{})[bt.Default=0]="Default",bt[bt.Host=1]="Host",bt[bt.Self=2]="Self",bt[bt.SkipSelf=4]="SkipSelf",bt[bt.Optional=8]="Optional",bt))();let Fo;function Hi(n){const t=Fo;return Fo=n,t}function Oo(n,t,e){const i=ws(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&bt.Optional?null:void 0!==t?t:void ci(He(n))}const zn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),wa={},Da="__NG_DI_FLAG__",Ka="ngTempTokenPath",nd="ngTokenPath",uc=/\n/gm,Tl="\u0275",Ds="__source";let is;function Vr(n){const t=is;return is=n,t}function rs(n,t=bt.Default){if(void 0===is)throw new ge(-203,!1);return null===is?Oo(n,void 0,t):is.get(n,t&bt.Optional?null:void 0,t)}function le(n,t=bt.Default){return(function Ki(){return Fo}()||rs)(Nt(n),t)}function _i(n,t=bt.Default){return le(n,wr(t))}function wr(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Xa(n){const t=[];for(let e=0;e((lo=lo||{})[lo.OnPush=0]="OnPush",lo[lo.Default=1]="Default",lo))(),Dr=(()=>{return(n=Dr||(Dr={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",Dr;var n})();const co={},Rn=[],Po=Fn({\u0275cmp:Fn}),Es=Fn({\u0275dir:Fn}),Lo=Fn({\u0275pipe:Fn}),Xs=Fn({\u0275mod:Fn}),Hr=Fn({\u0275fac:Fn}),Yr=Fn({__NG_ELEMENT_ID__:Fn});let Ts=0;function k(n){return Ro(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===lo.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Rn,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||Dr.Emulated,id:"c"+Ts++,styles:n.styles||Rn,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=n.dependencies,a=n.features;return r.inputs=g(n.inputs,i),r.outputs=g(n.outputs),a&&a.forEach(l=>l(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Ce).filter(et):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(B).filter(et):null,r})}function Ce(n){return I(n)||z(n)}function et(n){return null!==n}function Oe(n){return Ro(()=>({type:n.type,bootstrap:n.bootstrap||Rn,declarations:n.declarations||Rn,imports:n.imports||Rn,exports:n.exports||Rn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function g(n,t){if(null==n)return co;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const y=k;function A(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function I(n){return n[Po]||null}function z(n){return n[Es]||null}function B(n){return n[Lo]||null}const Re=0,ne=1,me=2,rt=3,ze=4,Rt=5,rn=6,Mn=7,zt=8,Dt=9,Sl=10,En=11,zd=12,Qs=13,hc=14,Ja=15,ar=16,uo=17,Ma=18,ho=19,Zr=20,Am=21,xi=22,Ch=1,Fm=2,$d=7,jd=8,fc=9,qr=10;function No(n){return Array.isArray(n)&&"object"==typeof n[Ch]}function ks(n){return Array.isArray(n)&&!0===n[Ch]}function xh(n){return 0!=(4&n.flags)}function rd(n){return n.componentOffset>-1}function Ud(n){return 1==(1&n.flags)}function Ss(n){return null!==n.template}function db(n){return 0!=(256&n[me])}function Il(n,t){return n.hasOwnProperty(Hr)?n[Hr]:null}class fb{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function zr(){return Rm}function Rm(n){return n.type.prototype.ngOnChanges&&(n.setInput=pb),mb}function mb(){const n=Lm(this),t=n?.current;if(t){const e=n.previous;if(e===co)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function pb(n,t,e,i){const r=this.declaredInputs[e],o=Lm(n)||function gb(n,t){return n[Pm]=t}(n,{previous:co,current:null}),a=o.current||(o.current={}),l=o.previous,d=l[r];a[r]=new fb(d&&d.currentValue,t,l===co),n[i]=t}zr.ngInherit=!0;const Pm="__ngSimpleChanges__";function Lm(n){return n[Pm]||null}const os=function(n,t,e){},Js="svg";function lr(n){for(;Array.isArray(n);)n=n[Re];return n}function Mh(n,t){return lr(t[n])}function ss(n,t){return lr(t[n.index])}function Bm(n,t){return n.data[t]}function mc(n,t){return n[t]}function Bo(n,t){const e=t[n];return No(e)?e:e[Re]}function pc(n){return 64==(64&n[me])}function Vo(n,t){return null==t?null:n[t]}function Eh(n){n[Ma]=0}function cr(n,t){n[Rt]+=t;let e=n,i=n[rt];for(;null!==i&&(1===t&&1===e[Rt]||-1===t&&0===e[Rt]);)i[Rt]+=t,e=i,i=i[rt]}const Lt={lFrame:xb(null),bindingsEnabled:!0};function ea(){return Lt.bindingsEnabled}function Ee(){return Lt.lFrame.lView}function Nn(){return Lt.lFrame.tView}function Jt(n){return Lt.lFrame.contextLView=n,n[zt]}function pn(n){return Lt.lFrame.contextLView=null,n}function Mr(){let n=jm();for(;null!==n&&64===n.type;)n=n.parent;return n}function jm(){return Lt.lFrame.currentTNode}function ta(n,t){const e=Lt.lFrame;e.currentTNode=n,e.isParent=t}function Um(){return Lt.lFrame.isParent}function Wm(){Lt.lFrame.isParent=!1}function Kr(){const n=Lt.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function od(){return Lt.lFrame.bindingIndex++}function el(n){const t=Lt.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function Cb(n,t){const e=Lt.lFrame;e.bindingIndex=e.bindingRootIndex=n,Kd(t)}function Kd(n){Lt.lFrame.currentDirectiveIndex=n}function kh(){return Lt.lFrame.currentQueryIndex}function Qd(n){Lt.lFrame.currentQueryIndex=n}function _c(n){const t=n[ne];return 2===t.type?t.declTNode:1===t.type?n[rn]:null}function Sh(n,t,e){if(e&bt.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&bt.Host||(r=_c(o),null===r||(o=o[Ja],10&r.type))););if(null===r)return!1;t=r,n=o}const i=Lt.lFrame=Ah();return i.currentTNode=t,i.lView=n,!0}function Ih(n){const t=Ah(),e=n[ne];Lt.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Ah(){const n=Lt.lFrame,t=null===n?null:n.child;return null===t?xb(n):t}function xb(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function Ym(){const n=Lt.lFrame;return Lt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const as=Ym;function sd(){const n=Ym();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Er(){return Lt.lFrame.selectedIndex}function tl(n){Lt.lFrame.selectedIndex=n}function Ai(){const n=Lt.lFrame;return Bm(n.tView,n.selectedIndex)}function nl(){Lt.lFrame.currentNamespace=Js}function Jd(){!function Zm(){Lt.lFrame.currentNamespace=null}()}function eu(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[d]<0&&(n[Ma]+=65536),(l>11>16&&(3&n[me])===t){n[me]+=2048,os(4,l,o);try{o.call(l)}finally{os(5,l,o)}}}else{os(4,l,o);try{o.call(l)}finally{os(5,l,o)}}}const il=-1;class rl{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Qm(n,t,e){let i=0;for(;it){a=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[Ja],e--;return i}let Lh=!0;function ru(n){const t=Lh;return Lh=n,t}const Nh=255,Fl=5;let Bh=0;const ia={};function ou(n,t){const e=np(n,t);if(-1!==e)return e;const i=t[ne];i.firstCreatePass&&(n.injectorIndex=t.length,su(i.data,n),su(t,null),su(i.blueprint,null));const r=au(n,t),o=n.injectorIndex;if(tp(r)){const a=iu(r),l=vc(r,t),d=l[ne].data;for(let h=0;h<8;h++)t[o+h]=l[a+h]|d[a+h]}return t[o+8]=r,o}function su(n,t){n.push(0,0,0,0,0,0,0,0,t)}function np(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function au(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=Vh(r),null===i)return il;if(e++,r=r[Ja],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return il}function ad(n,t,e){!function Tb(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Yr)&&(i=e[Yr]),null==i&&(i=e[Yr]=Bh++);const r=i&Nh;t.data[n+(r>>Fl)]|=1<=0?t&Nh:Sb:t}(e);if("function"==typeof o){if(!Sh(t,n,i))return i&bt.Host?ip(r,0,i):ld(t,e,i,r);try{const a=o(i);if(null!=a||i&bt.Optional)return a;ci()}finally{as()}}else if("number"==typeof o){let a=null,l=np(n,t),d=il,h=i&bt.Host?t[ar][rn]:null;for((-1===l||i&bt.SkipSelf)&&(d=-1===l?au(n,t):t[l+8],d!==il&&sp(i,!1)?(a=t[ne],l=iu(d),t=vc(d,t)):l=-1);-1!==l;){const p=t[ne];if(op(o,l,p.data)){const _=cu(l,t,e,a,i,h);if(_!==ia)return _}d=t[l+8],d!==il&&sp(i,t[ne].data[l+8]===h)&&op(o,l,t)?(a=p,l=iu(d),t=vc(d,t)):l=-1}}return r}function cu(n,t,e,i,r,o){const a=t[ne],l=a.data[n+8],p=ka(l,a,e,null==i?rd(l)&&Lh:i!=a&&0!=(3&l.type),r&bt.Host&&o===l);return null!==p?Ol(t,a,p,l):ia}function ka(n,t,e,i,r){const o=n.providerIndexes,a=t.data,l=1048575&o,d=n.directiveStart,p=o>>20,w=r?l+p:n.directiveEnd;for(let S=i?l:l+p;S=d&&R.type===e)return S}if(r){const S=a[d];if(S&&Ss(S)&&S.type===e)return d}return null}function Ol(n,t,e,i){let r=n[e];const o=t.data;if(function Db(n){return n instanceof rl}(r)){const a=r;a.resolving&&function xr(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new ge(-200,`Circular dependency in DI detected for ${n}${e}`)}(function In(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Yt(n)}(o[e]));const l=ru(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?Hi(a.injectImpl):null;Sh(n,i,bt.Default);try{r=n[e]=a.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function Tx(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const a=Rm(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,a)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==d&&Hi(d),ru(l),a.resolving=!1,as()}}return r}function op(n,t,e){return!!(e[t+(n>>Fl)]&1<{const t=n.prototype.constructor,e=t[Hr]||du(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[Hr]||du(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(n){return rr(n)?()=>{const t=du(Nt(n));return t&&t()}:Il(n)}function Vh(n){const t=n[ne],e=t.type;return 2===e?t.declTNode:1===e?n[rn]:null}function Is(n){return function Fx(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function zh(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const a=new r(...o);return l.annotation=a,l;function l(d,h,p){const _=d.hasOwnProperty(Sa)?d[Sa]:Object.defineProperty(d,Sa,{value:[]})[Sa];for(;_.length<=p;)_.push(null);return(_[p]=_[p]||[]).push(a),d}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class De{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=lt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ia(n,t){n.forEach(e=>Array.isArray(e)?Ia(e,t):t(e))}function uu(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Dc(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function ki(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function Mc(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function cp(n,t){const e=Ll(n,t);if(e>=0)return n[1|e]}function Ll(n,t){return function cd(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),a=n[o<t?r=o:i=o+1}return~(r<({token:n})),-1),fo=Ks(xc("Optional"),8),sl=Ks(xc("SkipSelf"),4);var jr=(()=>((jr=jr||{})[jr.Important=1]="Important",jr[jr.DashCase=2]="DashCase",jr))();const Gh=new Map;let Gb=0;const Zh="__ngContext__";function Tr(n,t){No(t)?(n[Zh]=t[Zr],function Yb(n){Gh.set(n[Zr],n)}(t)):n[Zh]=t}let Xh;function Qh(n,t){return Xh(n,t)}function Ic(n){const t=n[rt];return ks(t)?t[rt]:t}function Jh(n){return Ep(n[Qs])}function bu(n){return Ep(n[ze])}function Ep(n){for(;null!==n&&!ks(n);)n=n[ze];return n}function Ac(n,t,e,i,r){if(null!=i){let o,a=!1;ks(i)?o=i:No(i)&&(a=!0,i=i[Re]);const l=lr(i);0===n&&null!==e?null==r?Fp(t,e,l):Vl(t,e,l,r||null,!0):1===n&&null!==e?Vl(t,e,l,r||null,!0):2===n?function Du(n,t,e){const i=vu(n,t);i&&function uy(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,l,a):3===n&&t.destroyNode(l),null!=o&&function hy(n,t,e,i,r){const o=e[$d];o!==lr(e)&&Ac(t,n,i,o,r);for(let l=qr;l0&&(n[e-1][ze]=i[ze]);const o=Dc(n,qr+t);!function kp(n,t){oa(n,t,t[En],2,null,null),t[Re]=null,t[rn]=null}(i[ne],i);const a=o[ho];null!==a&&a.detachView(o[ne]),i[rt]=null,i[ze]=null,i[me]&=-65}return i}function Ip(n,t){if(!(128&t[me])){const e=t[En];e.destroyNode&&oa(n,t,e,3,null,null),function sy(n){let t=n[Qs];if(!t)return yu(n[ne],n);for(;t;){let e=null;if(No(t))e=t[Qs];else{const i=t[qr];i&&(e=i)}if(!e){for(;t&&!t[ze]&&t!==n;)No(t)&&yu(t[ne],t),t=t[rt];null===t&&(t=n),No(t)&&yu(t[ne],t),e=t&&t[ze]}t=e}}(t)}}function yu(n,t){if(!(128&t[me])){t[me]&=-65,t[me]|=128,function dy(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=a]():i[r=-a].unsubscribe(),o+=2}else{const a=i[r=e[o+1]];e[o].call(a)}if(null!==i){for(let o=r+1;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===Dr.None||o===Dr.Emulated)return null}return ss(i,e)}}(n,t.parent,e)}function Vl(n,t,e,i,r){n.insertBefore(t,e,i,r)}function Fp(n,t,e){n.appendChild(t,e)}function Op(n,t,e,i,r){null!==i?Vl(n,t,e,i,r):Fp(n,t,e)}function vu(n,t){return n.parentNode(t)}function Pp(n,t,e){return Np(n,t,e)}let sf,Eu,dr,Oc,Np=function Lp(n,t,e){return 40&n.type?ss(n,e):null};function Cu(n,t,e,i){const r=Ap(n,i,t),o=t[En],l=Pp(i.parent||t[rn],i,t);if(null!=r)if(Array.isArray(e))for(let d=0;dn,createScript:n=>n,createScriptURL:n=>n})}catch{}return Eu}()?.createHTML(n)||n}function zl(n){return function ls(){if(void 0===Oc&&(Oc=null,zn.trustedTypes))try{Oc=zn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Oc}()?.createHTML(n)||n}class sa{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ti})`}}class ku extends sa{getTypeName(){return"HTML"}}class _y extends sa{getTypeName(){return"Style"}}class Wp extends sa{getTypeName(){return"Script"}}class lf extends sa{getTypeName(){return"URL"}}class cf extends sa{getTypeName(){return"ResourceURL"}}function Qi(n){return n instanceof sa?n.changingThisBreaksApplicationSecurity:n}function aa(n,t){const e=function Gp(n){return n instanceof sa&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${Ti})`)}return e===t}class vy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Fc(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class Cy{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Fc(t),e}}const wy=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Iu(n){return(n=String(n)).match(wy)?n:"unsafe:"+n}function cs(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function md(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const Dy=cs("area,br,col,hr,img,wbr"),df=cs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),uf=cs("rp,rt"),hf=md(Dy,md(df,cs("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),md(uf,cs("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),md(uf,df)),ff=cs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fa=md(ff,cs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),cs("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Au=cs("script,style,template");class Fu{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!hf.hasOwnProperty(e))return this.sanitizedSomething=!0,!Au.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();hf.hasOwnProperty(e)&&!Dy.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Kp(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Ey=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qp=/([^\#-~ |!])/g;function Kp(n){return n.replace(/&/g,"&").replace(Ey,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qp,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let pd;function Xp(n,t){let e=null;try{pd=pd||function Zp(n){const t=new Cy(n);return function xy(){try{return!!(new window.DOMParser).parseFromString(Fc(""),"text/html")}catch{return!1}}()?new vy(t):t}(n);let i=t?String(t):"";e=pd.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=pd.getInertBodyElement(i)}while(i!==o);return Fc((new Fu).sanitizeChildren(Ou(e)||e))}finally{if(e){const i=Ou(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Ou(n){return"content"in n&&function Ty(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Gn=(()=>((Gn=Gn||{})[Gn.NONE=0]="NONE",Gn[Gn.HTML=1]="HTML",Gn[Gn.STYLE=2]="STYLE",Gn[Gn.SCRIPT=3]="SCRIPT",Gn[Gn.URL=4]="URL",Gn[Gn.RESOURCE_URL=5]="RESOURCE_URL",Gn))();function Qp(n){const t=function $l(){const n=Ee();return n&&n[zd]}();return t?zl(t.sanitize(Gn.HTML,n)||""):aa(n,"HTML")?zl(Qi(n)):Xp(function Up(){return void 0!==dr?dr:typeof document<"u"?document:void 0}(),Yt(n))}const _f=new De("ENVIRONMENT_INITIALIZER"),tg=new De("INJECTOR",-1),bf=new De("INJECTOR_DEF_TYPES");class ng{get(t,e=wa){if(e===wa){const i=new Error(`NullInjectorError: No provider for ${He(t)}!`);throw i.name="NullInjectorError",i}return e}}function Iy(...n){return{\u0275providers:yf(0,n),\u0275fromNgModule:!0}}function yf(n,...t){const e=[],i=new Set;let r;return Ia(t,o=>{const a=o;Pu(a,e,[],i)&&(r||(r=[]),r.push(a))}),void 0!==r&&rg(r,e),e}function rg(n,t){for(let e=0;e{t.push(o)})}}function Pu(n,t,e,i){if(!(n=Nt(n)))return!1;let r=null,o=Dn(n);const a=!o&&I(n);if(o||a){if(a&&!a.standalone)return!1;r=n}else{const d=n.ngModule;if(o=Dn(d),!o)return!1;r=d}const l=i.has(r);if(a){if(l)return!1;if(i.add(r),a.dependencies){const d="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const h of d)Pu(h,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!l){let h;i.add(r);try{Ia(o.imports,p=>{Pu(p,t,e,i)&&(h||(h=[]),h.push(p))})}finally{}void 0!==h&&rg(h,t)}if(!l){const h=Il(r)||(()=>new r);t.push({provide:r,useFactory:h,deps:Rn},{provide:bf,useValue:r,multi:!0},{provide:_f,useValue:()=>le(r),multi:!0})}const d=o.providers;null==d||l||Lu(d,p=>{t.push(p)})}}return r!==n&&void 0!==n.providers}function Lu(n,t){for(let e of n)oo(e)&&(e=e.\u0275providers),Array.isArray(e)?Lu(e,t):t(e)}const vf=Fn({provide:String,useValue:Fn});function Pc(n){return null!==n&&"object"==typeof n&&vf in n}function jl(n){return"function"==typeof n}const Nu=new De("Set Injector scope."),gd={},Oy={};let Lc;function Bu(){return void 0===Lc&&(Lc=new ng),Lc}class Ul{}class og extends Ul{get destroyed(){return this._destroyed}constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wf(t,a=>this.processProvider(a)),this.records.set(tg,Nc(void 0,this)),r.has("environment")&&this.records.set(Ul,Nc(void 0,this));const o=this.records.get(Nu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(bf.multi,Rn,bt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=Vr(this),i=Hi(void 0);try{return t()}finally{Vr(e),Hi(i)}}get(t,e=wa,i=bt.Default){this.assertNotDestroyed(),i=wr(i);const r=Vr(this),o=Hi(void 0);try{if(!(i&bt.SkipSelf)){let l=this.records.get(t);if(void 0===l){const d=function Ny(n){return"function"==typeof n||"object"==typeof n&&n instanceof De}(t)&&ws(t);l=d&&this.injectableDefInScope(d)?Nc(ll(t),gd):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(i&bt.Self?Bu():this.parent).get(t,e=i&bt.Optional&&e===wa?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Ka]=a[Ka]||[]).unshift(He(t)),r)throw a;return function id(n,t,e,i){const r=n[Ka];throw t[Ds]&&r.unshift(t[Ds]),n.message=function kl(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&n.charAt(1)==Tl?n.slice(2):n;let r=He(t);if(Array.isArray(t))r=t.map(He).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let l=t[a];o.push(a+":"+("string"==typeof l?JSON.stringify(l):He(l)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(uc,"\n ")}`}("\n"+n.message,r,e,i),n[nd]=r,n[Ka]=null,n}(a,t,"R3InjectorError",this.source)}throw a}finally{Hi(o),Vr(r)}}resolveInjectorInitializers(){const t=Vr(this),e=Hi(void 0);try{const i=this.get(_f.multi,Rn,bt.Self);for(const r of i)r()}finally{Vr(t),Hi(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(He(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ge(205,!1)}processProvider(t){let e=jl(t=Nt(t))?t:Nt(t&&t.provide);const i=function Py(n){return Pc(n)?Nc(void 0,n.useValue):Nc(sg(n),gd)}(t);if(jl(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Nc(void 0,gd,!0),r.factory=()=>Xa(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===gd&&(e.value=Oy,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Ly(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Nt(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function ll(n){const t=ws(n),e=null!==t?t.factory:Il(n);if(null!==e)return e;if(n instanceof De)throw new ge(204,!1);if(n instanceof Function)return function Ry(n){const t=n.length;if(t>0)throw ki(t,"?"),new ge(204,!1);const e=function Fe(n){const t=n&&(n[Di]||n[An]);return t?(function tt(n){if(n.hasOwnProperty("name"))return n.name;(""+n).match(/^function\s*([^\s(]+)/)}(n),t):null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new ge(204,!1)}function sg(n,t,e){let i;if(jl(n)){const r=Nt(n);return Il(r)||ll(r)}if(Pc(n))i=()=>Nt(n.useValue);else if(function xf(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Xa(n.deps||[]));else if(function Cf(n){return!(!n||!n.useExisting)}(n))i=()=>le(Nt(n.useExisting));else{const r=Nt(n&&(n.useClass||n.provide));if(!function ag(n){return!!n.deps}(n))return Il(r)||ll(r);i=()=>new r(...Xa(n.deps))}return i}function Nc(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function wf(n,t){for(const e of n)Array.isArray(e)?wf(e,t):e&&oo(e)?wf(e.\u0275providers,t):t(e)}class Kx{}class s{}class b{resolveComponentFactory(t){throw function c(n){const t=Error(`No component factory found for ${He(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let v=(()=>{class n{}return n.NULL=new b,n})();function C(){return D(Mr(),Ee())}function D(n,t){return new E(ss(n,t))}let E=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=C,n})();function F(n){return n instanceof E?n.nativeElement:n}class L{}let ee=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function Y(){const n=Ee(),e=Bo(Mr().index,n);return(No(e)?e:n)[En]}(),n})(),oe=(()=>{class n{}return n.\u0275prov=lt({token:n,providedIn:"root",factory:()=>null}),n})();class at{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Bt=new at("15.2.2"),ye={},ue="ngOriginalError";function Ae(n){return n[ue]}class Xe{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Ae(t);for(;e&&Ae(e);)e=Ae(e);return e||null}}function Ot(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const Wt="ng-template";function on(n,t,e){let i=0;for(;io?"":r[_+1].toLowerCase();const S=8&i?w:null;if(S&&-1!==Ot(S,h,0)||2&i&&h!==w){if(ti(i))return!1;a=!0}}}}else{if(!a&&!ti(i)&&!ti(d))return!1;if(a&&ti(d))continue;a=!1,i=d|1&i}}return ti(i)||a}function ti(n){return 0==(1&n)}function jn(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+l+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!ti(a)&&(t+=Si(o,r),r=""),i=a,o=o||!ti(i);e++}return""!==r&&(t+=Si(o,r)),t}const Ne={};function V(n){Bc(Nn(),Ee(),Er()+n,!1)}function Bc(n,t,e,i){if(!i)if(3==(3&t[me])){const o=n.preOrderCheckHooks;null!==o&&tu(t,o,e)}else{const o=n.preOrderHooks;null!==o&&nu(t,o,0,e)}tl(e)}function Jx(n,t=null,e=null,i){const r=ew(n,t,e,i);return r.resolveInjectorInitializers(),r}function ew(n,t=null,e=null,i,r=new Set){const o=[e||Rn,Iy(n)];return i=i||("object"==typeof n?void 0:He(n)),new og(o,t||Bu(),i||null,r)}let Ra=(()=>{class n{static create(e,i){if(Array.isArray(e))return Jx({name:""},i,e,"");{const r=e.name??"";return Jx({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=wa,n.NULL=new ng,n.\u0275prov=lt({token:n,providedIn:"any",factory:()=>le(tg)}),n.__NG_ELEMENT_ID__=-1,n})();function x(n,t=bt.Default){const e=Ee();return null===e?le(n,t):lu(Mr(),e,Nt(n),t)}function Hu(){throw new Error("invalid")}function aw(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;ixi&&Bc(n,t,xi,!1),os(a?2:0,r),e(i,r)}finally{tl(o),os(a?3:1,r)}}function Uy(n,t,e){if(xh(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(e,i,o)}}(n,t,i,Df(n,e,r.hostVars,Ne),r)}function cl(n,t,e,i,r,o){const a=ss(n,t);!function Ky(n,t,e,i,r,o,a){if(null==o)n.removeAttribute(t,r,e);else{const l=null==a?Yt(o):a(o,i||"",r);n.setAttribute(t,r,l,e)}}(t[En],a,o,n.value,e,i,r)}function uF(n,t,e,i,r,o){const a=o[t];if(null!==a){const l=i.setInput;for(let d=0;d0&&Xy(e)}}function Xy(n){for(let i=Jh(n);null!==i;i=bu(i))for(let r=qr;r0&&Xy(o)}const e=n[ne].components;if(null!==e)for(let i=0;i0&&Xy(r)}}function gF(n,t){const e=Bo(t,n),i=e[ne];(function _F(n,t){for(let e=t.length;e-1&&(nf(t,i),Dc(e,i))}this._attachedToViewContainer=!1}Ip(this._lView[ne],this._lView)}onDestroy(t){dw(this._lView[ne],this._lView,null,t)}markForCheck(){Qy(this._cdRefInjectingView||this._lView)}detach(){this._lView[me]&=-65}reattach(){this._lView[me]|=64}detectChanges(){hg(this._lView[ne],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ge(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function oy(n,t){oa(n,t,t[En],2,null,null)}(this._lView[ne],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ge(902,!1);this._appRef=t}}class bF extends Mf{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;hg(t[ne],t,t[zt],!1)}checkNoChanges(){}get context(){return null}}class Cw extends v{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=I(t);return new Ef(e,this.ngModule)}}function xw(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class vF{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=wr(i);const r=this.injector.get(t,ye,i);return r!==ye||e===ye?r:this.parentInjector.get(t,e,i)}}class Ef extends s{get inputs(){return xw(this.componentDef.inputs)}get outputs(){return xw(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function Xr(n){return n.map(si).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof Ul?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new vF(t,o):t,l=a.get(L,null);if(null===l)throw new ge(407,!1);const d=a.get(oe,null),h=l.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",_=i?function KA(n,t,e){return n.selectRootElement(t,e===Dr.ShadowDom)}(h,i,this.componentDef.encapsulation):tf(h,p,function yF(n){const t=n.toLowerCase();return"svg"===t?Js:"math"===t?"math":null}(p)),w=this.componentDef.onPush?288:272,S=Yy(0,null,null,1,0,null,null,null,null,null),R=cg(null,S,null,w,null,null,l,h,d,a,null);let $,Q;Ih(R);try{const se=this.componentDef;let Be,fe=null;se.findHostDirectiveDefs?(Be=[],fe=new Map,se.findHostDirectiveDefs(se,Be,fe),Be.push(se)):Be=[se];const xt=function xF(n,t){const e=n[ne],i=xi;return n[i]=t,zu(e,i,2,"#host",null)}(R,_),Un=function wF(n,t,e,i,r,o,a,l){const d=r[ne];!function DF(n,t,e,i){for(const r of n)t.mergedAttrs=yc(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(fg(t,t.mergedAttrs,!0),null!==e&&$p(i,e,t))}(i,n,t,a);const h=o.createRenderer(t,e),p=cg(r,cw(e),null,e.onPush?32:16,r[n.index],n,o,h,l||null,null,null);return d.firstCreatePass&&qy(d,n,i.length-1),ug(r,p),r[n.index]=p}(xt,_,se,Be,R,l,h);Q=Bm(S,xi),_&&function EF(n,t,e,i){if(i)Qm(n,e,["ng-version",Bt.full]);else{const{attrs:r,classes:o}=function Qr(n){const t=[],e=[];let i=1,r=2;for(;i0&&zp(n,e,o.join(" "))}}(h,se,_,i),void 0!==e&&function TF(n,t,e){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=yc(r.hostAttrs,e=yc(e,r.hostAttrs))}}(i)}function tv(n){return n===co?{}:n===Rn?[]:n}function IF(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function AF(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function FF(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}function pg(n){return!!nv(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function nv(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function dl(n,t,e){return n[t]=e}function po(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function hn(n,t,e,i){const r=Ee();return po(r,od(),t)&&(Nn(),cl(Ai(),r,n,t,e,i)),hn}function ju(n,t,e,i){return po(n,od(),e)?t+Yt(e)+i:Ne}function xe(n,t,e,i,r,o,a,l){const d=Ee(),h=Nn(),p=n+xi,_=h.firstCreatePass?function $F(n,t,e,i,r,o,a,l,d){const h=t.consts,p=zu(t,n,4,a||null,Vo(h,l));Zy(t,e,p,Vo(h,d)),eu(t,p);const _=p.tView=Yy(2,p,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,h);return null!==t.queries&&(t.queries.template(t,p),_.queries=t.queries.embeddedTView(p)),p}(p,h,d,t,e,i,r,o,a):h.data[p];ta(_,!1);const w=d[En].createComment("");Cu(h,d,w,_),Tr(w,d),ug(d,d[p]=gw(w,d,w,_)),Ud(_)&&Wy(h,d,_),null!=a&&Gy(d,_,l)}function $o(n){return mc(function Ex(){return Lt.lFrame.contextLView}(),xi+n)}function W(n,t,e){const i=Ee();return po(i,od(),t)&&Fs(Nn(),Ai(),i,n,t,i[En],e,!1),W}function iv(n,t,e,i,r){const a=r?"class":"style";ev(n,e,t.inputs[a],a,i)}function T(n,t,e,i){const r=Ee(),o=Nn(),a=xi+n,l=r[En],d=o.firstCreatePass?function UF(n,t,e,i,r,o){const a=t.consts,d=zu(t,n,2,i,Vo(a,r));return Zy(t,e,d,Vo(a,o)),null!==d.attrs&&fg(d,d.attrs,!1),null!==d.mergedAttrs&&fg(d,d.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,d),d}(a,o,r,t,e,i):o.data[a],h=r[a]=tf(l,t,function wb(){return Lt.lFrame.currentNamespace}()),p=Ud(d);return ta(d,!0),$p(l,h,d),32!=(32&d.flags)&&Cu(o,r,h,d),0===function Wd(){return Lt.lFrame.elementDepthCount}()&&Tr(h,r),function Gd(){Lt.lFrame.elementDepthCount++}(),p&&(Wy(o,r,d),Uy(o,d,r)),null!==i&&Gy(r,d),T}function M(){let n=Mr();Um()?Wm():(n=n.parent,ta(n,!1));const t=n;!function yb(){Lt.lFrame.elementDepthCount--}();const e=Nn();return e.firstCreatePass&&(eu(e,n),xh(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function Sx(n){return 0!=(8&n.flags)}(t)&&iv(e,t,Ee(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Xm(n){return 0!=(16&n.flags)}(t)&&iv(e,t,Ee(),t.stylesWithoutHost,!1),M}function Ye(n,t,e,i){return T(n,t,e,i),M(),Ye}function jo(n,t,e){const i=Ee(),r=Nn(),o=n+xi,a=r.firstCreatePass?function WF(n,t,e,i,r){const o=t.consts,a=Vo(o,i),l=zu(t,n,8,"ng-container",a);return null!==a&&fg(l,a,!0),Zy(t,e,l,Vo(o,r)),null!==t.queries&&t.queries.elementStart(t,l),l}(o,r,i,t,e):r.data[o];ta(a,!0);const l=i[o]=i[En].createComment("");return Cu(r,i,l,a),Tr(l,i),Ud(a)&&(Wy(r,i,a),Uy(r,a,i)),null!=e&&Gy(i,a),jo}function Uo(){let n=Mr();const t=Nn();return Um()?Wm():(n=n.parent,ta(n,!1)),t.firstCreatePass&&(eu(t,n),xh(n)&&t.queries.elementEnd(n)),Uo}function Bn(){return Ee()}function _g(n){return!!n&&"function"==typeof n.then}function Nw(n){return!!n&&"function"==typeof n.subscribe}const Bw=Nw;function Me(n,t,e,i){const r=Ee(),o=Nn(),a=Mr();return function Hw(n,t,e,i,r,o,a){const l=Ud(i),h=n.firstCreatePass&&bw(n),p=t[zt],_=_w(t);let w=!0;if(3&i.type||a){const $=ss(i,t),Q=a?a($):$,se=_.length,Be=a?xt=>a(lr(xt[i.index])):i.index;let fe=null;if(!a&&l&&(fe=function GF(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;od?l[d]:null}"string"==typeof a&&(o+=2)}return null}(n,t,r,i.index)),null!==fe)(fe.__ngLastListenerFn__||fe).__ngNextListenerFn__=o,fe.__ngLastListenerFn__=o,w=!1;else{o=$w(i,t,p,o,!1);const xt=e.listen(Q,r,o);_.push(o,xt),h&&h.push(r,Be,se,se+1)}}else o=$w(i,t,p,o,!1);const S=i.outputs;let R;if(w&&null!==S&&(R=S[r])){const $=R.length;if($)for(let Q=0;Q<$;Q+=2){const Un=t[R[Q]][R[Q+1]].subscribe(o),ii=_.length;_.push(o,Un),h&&h.push(r,i.index,ii,-(ii+1))}}}(o,r,r[En],a,n,t,i),Me}function zw(n,t,e,i){try{return os(6,t,e),!1!==e(i)}catch(r){return vw(n,r),!1}finally{os(7,t,e)}}function $w(n,t,e,i,r){return function o(a){if(a===Function)return i;Qy(n.componentOffset>-1?Bo(n.index,t):t);let d=zw(t,e,i,a),h=o.__ngNextListenerFn__;for(;h;)d=zw(t,e,h,a)&&d,h=h.__ngNextListenerFn__;return r&&!1===d&&(a.preventDefault(),a.returnValue=!1),d}}function Pe(n=1){return function Fh(n){return(Lt.lFrame.contextLView=function Oh(n,t){for(;n>0;)t=t[Ja],n--;return t}(n,Lt.lFrame.contextLView))[zt]}(n)}function YF(n,t){let e=null;const i=function mt(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(n);for(let r=0;r>17&32767}function ov(n){return 2|n}function bd(n){return(131068&n)>>2}function sv(n,t){return-131069&n|t<<2}function av(n){return 1|n}function Qw(n,t,e,i,r){const o=n[e+1],a=null===t;let l=i?Vc(o):bd(o),d=!1;for(;0!==l&&(!1===d||a);){const p=n[l+1];JF(n[l],t)&&(d=!0,n[l+1]=i?av(p):ov(p)),l=i?Vc(p):bd(p)}d&&(n[e+1]=i?ov(o):av(o))}function JF(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&Ll(n,t)>=0}const Sr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Jw(n){return n.substring(Sr.key,Sr.keyEnd)}function e1(n,t){const e=Sr.textEnd;return e===t?-1:(t=Sr.keyEnd=function iO(n,t,e){for(;t32;)t++;return t}(n,Sr.key=t,e),Xu(n,t,e))}function Xu(n,t,e){for(;t=0;e=e1(t,e))$r(n,Jw(t),!0)}function Pa(n,t,e,i){const r=Ee(),o=Nn(),a=el(2);o.firstUpdatePass&&a1(o,n,a,i),t!==Ne&&po(r,a,t)&&c1(o,o.data[Er()],r,r[En],n,r[a+1]=function mO(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=He(Qi(n)))),n}(t,e),i,a)}function s1(n,t){return t>=n.expandoStartIndex}function a1(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[Er()],a=s1(n,e);u1(o,i)&&null===t&&!a&&(t=!1),t=function lO(n,t,e,i){const r=function Xd(n){const t=Lt.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=Sf(e=lv(null,n,t,e,i),t.attrs,i),o=null);else{const a=t.directiveStylingLast;if(-1===a||n[a]!==r)if(e=lv(r,n,t,e,i),null===o){let d=function cO(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==bd(i))return n[Vc(i)]}(n,t,i);void 0!==d&&Array.isArray(d)&&(d=lv(null,n,t,d[1],i),d=Sf(d,t.attrs,i),function dO(n,t,e,i){n[Vc(e?t.classBindings:t.styleBindings)]=i}(n,t,i,d))}else o=function uO(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(h=!0)):p=e,r)if(0!==d){const w=Vc(n[l+1]);n[i+1]=bg(w,l),0!==w&&(n[w+1]=sv(n[w+1],i)),n[l+1]=function qF(n,t){return 131071&n|t<<17}(n[l+1],i)}else n[i+1]=bg(l,0),0!==l&&(n[l+1]=sv(n[l+1],i)),l=i;else n[i+1]=bg(d,0),0===l?l=i:n[d+1]=sv(n[d+1],i),d=i;h&&(n[i+1]=ov(n[i+1])),Qw(n,p,i,!0),Qw(n,p,i,!1),function QF(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&Ll(o,t)>=0&&(e[i+1]=av(e[i+1]))}(t,p,n,i,o),a=bg(l,d),o?t.classBindings=a:t.styleBindings=a}(r,o,t,e,a,i)}}function lv(n,t,e,i,r){let o=null;const a=e.directiveEnd;let l=e.directiveStylingLast;for(-1===l?l=e.directiveStart:l++;l0;){const d=n[r],h=Array.isArray(d),p=h?d[1]:d,_=null===p;let w=e[r+1];w===Ne&&(w=_?Rn:void 0);let S=_?cp(w,i):p===i?w:void 0;if(h&&!yg(S)&&(S=cp(d,i)),yg(S)&&(l=S,a))return l;const R=n[r+1];r=a?Vc(R):bd(R)}if(null!==t){let d=o?t.residualClasses:t.residualStyles;null!=d&&(l=cp(d,i))}return l}function yg(n){return void 0!==n}function u1(n,t){return 0!=(n.flags&(t?8:16))}function H(n,t=""){const e=Ee(),i=Nn(),r=n+xi,o=i.firstCreatePass?zu(i,r,1,t,null):i.data[r],a=e[r]=function ef(n,t){return n.createText(t)}(e[En],t);Cu(i,e,a,o),ta(o,!1)}function Tn(n){return ds("",n,""),Tn}function ds(n,t,e){const i=Ee(),r=ju(i,n,t,e);return r!==Ne&&function Wl(n,t,e){const i=Mh(t,n);!function Tp(n,t,e){n.setValue(t,e)}(n[En],i,e)}(i,Er(),r),ds}function v1(n,t,e){!function La(n,t,e,i){const r=Nn(),o=el(2);r.firstUpdatePass&&a1(r,null,o,i);const a=Ee();if(e!==Ne&&po(a,o,e)){const l=r.data[Er()];if(u1(l,i)&&!s1(r,o)){let d=i?l.classesWithoutHost:l.stylesWithoutHost;null!==d&&(e=Gr(d,e||"")),iv(r,l,a,e,i)}else!function fO(n,t,e,i,r,o,a,l){r===Ne&&(r=Rn);let d=0,h=0,p=0>20;if(jl(n)||!n.multi){const S=new rl(d,r,x),R=fv(l,t,r?p:p+w,_);-1===R?(ad(ou(h,a),o,l),hv(o,n,t.length),t.push(l),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),e.push(S),a.push(S)):(e[R]=S,a[R]=S)}else{const S=fv(l,t,p+w,_),R=fv(l,t,p,p+w),Q=R>=0&&e[R];if(r&&!Q||!r&&!(S>=0&&e[S])){ad(ou(h,a),o,l);const se=function AR(n,t,e,i,r){const o=new rl(n,e,x);return o.multi=[],o.index=t,o.componentProviders=0,rD(o,r,i&&!e),o}(r?IR:SR,e.length,r,i,d);!r&&Q&&(e[R].providerFactory=se),hv(o,n,t.length,0),t.push(l),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),e.push(se),a.push(se)}else hv(o,n,S>-1?S:R,rD(e[r?R:S],d,!r&&i));!r&&i&&Q&&e[R].componentProviders++}}}function hv(n,t,e,i){const r=jl(t),o=function Fy(n){return!!n.useClass}(t);if(r||o){const d=(o?Nt(t.useClass):t).prototype.ngOnDestroy;if(d){const h=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const p=h.indexOf(e);-1===p?h.push(e,[i,d]):h[p+1].push(i,d)}else h.push(e,d)}}}function rD(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function fv(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function kR(n,t,e){const i=Nn();if(i.firstCreatePass){const r=Ss(n);uv(e,i.data,i.blueprint,r,!0),uv(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class eh{}class FR{}class oD extends eh{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Cw(this);const i=function he(n,t){const e=n[Xs]||null;if(!e&&!0===t)throw new Error(`Type ${He(n)} does not have '\u0275mod' property.`);return e}(t);this._bootstrapComponents=function We(n){return n instanceof Function?n():n}(i.bootstrap),this._r3Injector=ew(t,e,[{provide:eh,useValue:this},{provide:v,useValue:this.componentFactoryResolver}],He(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pv extends FR{constructor(t){super(),this.moduleType=t}create(t){return new oD(this.moduleType,t)}}class RR extends eh{constructor(t,e,i){super(),this.componentFactoryResolver=new Cw(this),this.instance=null;const r=new og([...t,{provide:eh,useValue:this},{provide:v,useValue:this.componentFactoryResolver}],e||Bu(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let PR=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=yf(0,e.type),r=i.length>0?function sD(n,t,e=null){return new RR(n,t,e).injector}([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=lt({token:n,providedIn:"environment",factory:()=>new n(le(Ul))}),n})();function aD(n){n.getStandaloneInjector=t=>t.get(PR).getOrCreateStandaloneInjector(n)}function Gl(n,t,e){const i=Kr()+n,r=Ee();return r[i]===Ne?dl(r,i,e?t.call(e):t()):function Tf(n,t){return n[t]}(r,i)}function pD(n,t,e,i,r){return function _D(n,t,e,i,r,o,a){const l=t+e;return function _d(n,t,e,i){const r=po(n,t,e);return po(n,t+1,i)||r}(n,l,r,o)?dl(n,l+2,a?i.call(a,r,o):i(r,o)):Pf(n,l+2)}(Ee(),Kr(),n,t,e,i,r)}function Pf(n,t){const e=n[t];return e===Ne?void 0:e}function gD(n,t,e,i,r,o){const a=t+e;return po(n,a,r)?dl(n,a+1,o?i.call(o,r):i(r)):Pf(n,a+1)}function xD(n,t,e){const i=n+xi,r=Ee(),o=mc(r,i);return function Lf(n,t){return n[ne].data[t].pure}(r,i)?gD(r,Kr(),t,o.transform,e,o):o.transform(e)}function _v(n){return t=>{setTimeout(n,void 0,t)}}const it=class nP extends Ie{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),a=i;if(t&&"object"==typeof t){const d=t;r=d.next?.bind(d),o=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(o=_v(o),r&&(r=_v(r)),a&&(a=_v(a)));const l=super.subscribe({next:r,error:o,complete:a});return t instanceof te&&t.add(l),l}};function iP(){return this._results[Symbol.iterator]()}class Hc{get changes(){return this._changes||(this._changes=new it)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Hc.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=iP)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=function zo(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function $h(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=sP,n})();const rP=Ir,oP=class extends rP{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tView,r=cg(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[uo]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[ho];return null!==a&&(r[ho]=a.createEmbeddedView(i)),jy(i,r,t),new Mf(r)}};function sP(){return Dg(Mr(),Ee())}function Dg(n,t){return 4&n.type?new oP(t,n,D(n,t)):null}let ur=(()=>{class n{}return n.__NG_ELEMENT_ID__=aP,n})();function aP(){return MD(Mr(),Ee())}const lP=ur,wD=class extends lP{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return D(this._hostTNode,this._hostLView)}get injector(){return new Rl(this._hostTNode,this._hostLView)}get parentInjector(){const t=au(this._hostTNode,this._hostLView);if(tp(t)){const e=vc(t,this._hostLView),i=iu(t);return new Rl(e[ne].data[i+8],e)}return new Rl(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=DD(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-qr}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=t.createEmbeddedView(e||{},o);return this.insert(a,r),a}createComponent(t,e,i,r,o){const a=t&&!function Ho(n){return"function"==typeof n}(t);let l;if(a)l=e;else{const _=e||{};l=_.index,i=_.injector,r=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef}const d=a?t:new Ef(I(t)),h=i||this.parentInjector;if(!o&&null==d.ngModule){const w=(a?h:this.parentInjector).get(Ul,null);w&&(o=w)}const p=d.create(h,r,void 0,o);return this.insert(p.hostView,l),p}insert(t,e){const i=t._lView,r=i[ne];if(function gc(n){return ks(n[rt])}(i)){const p=this.indexOf(t);if(-1!==p)this.detach(p);else{const _=i[rt],w=new wD(_,_[rn],_[rt]);w.detach(w.indexOf(t))}}const o=this._adjustIndex(e),a=this._lContainer;!function ay(n,t,e,i){const r=qr+i,o=e.length;i>0&&(e[r-1][ze]=t),i0)i.push(a[l/2]);else{const h=o[l+1],p=t[-d];for(let _=qr;_{class n{constructor(e){this.appInits=e,this.resolve=Tg,this.reject=Tg,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:l,error:d})});e.push(a)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(le(qD,8))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ih=new De("AppId",{providedIn:"root",factory:function KD(){return`${kv()}${kv()}${kv()}`}});function kv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const XD=new De("Platform Initializer"),Sg=new De("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),hr=new De("AnimationModuleType"),fl=new De("LocaleId",{providedIn:"root",factory:()=>_i(fl,bt.Optional|bt.SkipSelf)||function RP(){return typeof $localize<"u"&&$localize.locale||Ju}()}),VP=(()=>Promise.resolve(0))();function Sv(n){typeof Zone>"u"?VP.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Ut{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new it(!1),this.onMicrotaskEmpty=new it(!1),this.onStable=new it(!1),this.onError=new it(!1),typeof Zone>"u")throw new ge(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function HP(){let n=zn.requestAnimationFrame,t=zn.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function jP(n){const t=()=>{!function $P(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(zn,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Av(n),n.isCheckStableRunning=!0,Iv(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Av(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,a,l)=>{try{return eM(n),e.invokeTask(r,o,a,l)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),tM(n)}},onInvoke:(e,i,r,o,a,l,d)=>{try{return eM(n),e.invoke(r,o,a,l,d)}finally{n.shouldCoalesceRunChangeDetection&&t(),tM(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,Av(n),Iv(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ut.isInAngularZone())throw new ge(909,!1)}static assertNotInAngularZone(){if(Ut.isInAngularZone())throw new ge(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,zP,Tg,Tg);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const zP={};function Iv(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Av(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function eM(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function tM(n){n._nesting--,Iv(n)}class UP{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new it,this.onMicrotaskEmpty=new it,this.onStable=new it,this.onError=new it}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const nM=new De(""),Ig=new De("");let Rv,Fv=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Rv||(function WP(n){Rv=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ut.assertNotInAngularZone(),Sv(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Sv(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(le(Ut),le(Ov),le(Ig))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})(),Ov=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return Rv?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Yl=!1;let zc=null;const iM=new De("AllowMultipleToken"),Pv=new De("PlatformDestroyListeners"),GP=new De("appBootstrapListener");function oM(n,t,e=[]){const i=`Platform: ${t}`,r=new De(i);return(o=[])=>{let a=Lv();if(!a||a.injector.get(iM,!1)){const l=[...e,...o,{provide:r,useValue:!0}];n?n(l):function qP(n){if(zc&&!zc.get(iM,!1))throw new ge(400,!1);zc=n;const t=n.get(aM);(function rM(n){const t=n.get(XD,null);t&&t.forEach(e=>e())})(n)}(function sM(n=[],t){return Ra.create({name:t,providers:[{provide:Nu,useValue:"platform"},{provide:Pv,useValue:new Set([()=>zc=null])},...n]})}(l,i))}return function XP(n){const t=Lv();if(!t)throw new ge(401,!1);return t}()}}function Lv(){return zc?.get(aM)??null}let aM=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function cM(n,t){let e;return e="noop"===n?new UP:("zone.js"===n?void 0:n)||new Ut(t),e}(i?.ngZone,function lM(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:Ut,useValue:r}];return r.run(()=>{const a=Ra.create({providers:o,parent:this.injector,name:e.moduleType.name}),l=e.create(a),d=l.injector.get(Xe,null);if(!d)throw new ge(402,!1);return r.runOutsideAngular(()=>{const h=r.onError.subscribe({next:p=>{d.handleError(p)}});l.onDestroy(()=>{Ag(this._modules,l),h.unsubscribe()})}),function dM(n,t,e){try{const i=e();return _g(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(d,r,()=>{const h=l.injector.get(kg);return h.runInitializers(),h.donePromise.then(()=>(function R1(n){qi(n,"Expected localeId to be defined"),"string"==typeof n&&(O1=n.toLowerCase().replace(/_/g,"-"))}(l.injector.get(fl,Ju)||Ju),this._moduleDoBootstrap(l),l))})})}bootstrapModule(e,i=[]){const r=uM({},i);return function YP(n,t,e){const i=new pv(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Bf);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new ge(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ge(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Pv,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(le(Ra))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function uM(n,t){return Array.isArray(t)?t.reduce(uM,n):{...n,...t}}let Bf=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new be(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new be(l=>{let d;this._zone.runOutsideAngular(()=>{d=this._zone.onStable.subscribe(()=>{Ut.assertNotInAngularZone(),Sv(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const h=this._zone.onUnstable.subscribe(()=>{Ut.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{d.unsubscribe(),h.unsubscribe()}});this.isStable=oi(o,a.pipe(Gs()))}bootstrap(e,i){const r=e instanceof s;if(!this._injector.get(kg).done){!r&&function re(n){const t=I(n)||z(n)||B(n);return null!==t&&t.standalone}(e);throw new ge(405,Yl)}let a;a=r?e:this._injector.get(v).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const l=function ZP(n){return n.isBoundToModule}(a)?void 0:this._injector.get(eh),h=a.create(Ra.NULL,[],i||a.selector,l),p=h.location.nativeElement,_=h.injector.get(nM,null);return _?.registerApplication(p),h.onDestroy(()=>{this.detachView(h.hostView),Ag(this.components,h),_?.unregisterApplication(p)}),this._loadComponent(h),h}tick(){if(this._runningTick)throw new ge(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Ag(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(GP,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Ag(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ge(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(le(Ut),le(Ul),le(Xe))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ag(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let mi=(()=>{class n{}return n.__NG_ELEMENT_ID__=JP,n})();function JP(n){return function e2(n,t,e){if(rd(n)&&!e){const i=Bo(n.index,t);return new Mf(i,i)}return 47&n.type?new Mf(t[ar],t):null}(Mr(),Ee(),16==(16&n))}class gM{constructor(){}supports(t){return pg(t)}create(t){return new a2(t)}}const s2=(n,t)=>t;class a2{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||s2}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(r,l),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,l,a,r)),Object.is(e.item,l)||this._addIdentityChange(e,l)):(e=this._mismatch(e,l,a,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new l2(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new _M),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _M),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class l2{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class c2{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class _M{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new c2,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bM(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const i=new u2(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class u2{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function vM(){return new Rg([new gM])}let Rg=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||vM()),deps:[[n,new sl,new fo]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new ge(901,!1)}}return n.\u0275prov=lt({token:n,providedIn:"root",factory:vM}),n})();function CM(){return new Vf([new yM])}let Vf=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||CM()),deps:[[n,new sl,new fo]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new ge(901,!1)}}return n.\u0275prov=lt({token:n,providedIn:"root",factory:CM}),n})();const m2=oM(null,"core",[]);let p2=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(le(Bf))},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({}),n})();let $v=null;function Zl(){return $v}class b2{}const fn=new De("DocumentToken");let xM=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:function(){return function y2(){return le(wM)}()},providedIn:"platform"}),n})(),wM=(()=>{class n extends xM{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Zl().getBaseHref(this._doc)}onPopState(e){const i=Zl().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Zl().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){DM()?this._history.pushState(e,i,r):this._location.hash=r}replaceState(e,i,r){DM()?this._history.replaceState(e,i,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(le(fn))},n.\u0275prov=lt({token:n,factory:function(){return function v2(){return new wM(le(fn))}()},providedIn:"platform"}),n})();function DM(){return!!window.history.pushState}function MM(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function EM(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Cd(n){return n&&"?"!==n[0]?"?"+n:n}let jv=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:function(){return _i(x2)},providedIn:"root"}),n})();const C2=new De("appBaseHref");let x2=(()=>{class n extends jv{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??_i(fn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return MM(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Cd(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const a=this.prepareExternalUrl(r+Cd(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){const a=this.prepareExternalUrl(r+Cd(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(le(xM),le(C2,8))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TM=(()=>{class n{constructor(e){this._subject=new it,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function M2(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(EM(kM(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Cd(i))}normalize(e){return n.stripTrailingSlash(function D2(n,t){if(!n||!t.startsWith(n))return t;const e=t.substring(n.length);return""===e||["/",";","?","#"].includes(e[0])?e:t}(this._basePath,kM(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Cd(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Cd(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Cd,n.joinWithSlash=MM,n.stripTrailingSlash=EM,n.\u0275fac=function(e){return new(e||n)(le(jv))},n.\u0275prov=lt({token:n,factory:function(){return function w2(){return new TM(le(jv))}()},providedIn:"root"}),n})();function kM(n){return n.replace(/\/index.html$/,"")}function NM(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}const Jv=/\s+/,BM=[];let rh=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=BM,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Jv):BM}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Jv):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,Boolean(e[i]));this._applyStateDiff()}_updateState(e,i){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(Jv).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(x(Rg),x(Vf),x(E),x(ee))},n.\u0275dir=y({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class cL{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ml=(()=>{class n{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,a)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new cL(r.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const l=i.get(o);i.move(l,a),zM(l,r)}});for(let r=0,o=i.length;r{zM(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(x(ur),x(Ir),x(Rg))},n.\u0275dir=y({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function zM(n,t){n.context.$implicit=t.item}let ji=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new uL,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){$M("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){$M("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(x(ur),x(Ir))},n.\u0275dir=y({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class uL{constructor(){this.$implicit=null,this.ngIf=null}}function $M(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${He(t)}'.`)}class e0{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let oh=(()=>{class n{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),n})(),Ug=(()=>{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new e0(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(x(ur),x(Ir),x(oh,9))},n.\u0275dir=y({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),jM=(()=>{class n{constructor(e,i,r){r._addDefault(new e0(e,i))}}return n.\u0275fac=function(e){return new(e||n)(x(ur),x(Ir),x(oh,9))},n.\u0275dir=y({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),WM=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(r,o,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(x(ur))},n.\u0275dir=y({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[zr]}),n})();class mL{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class pL{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const gL=new pL,_L=new mL;let GM=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(_g(e))return gL;if(Nw(e))return _L;throw function Va(n,t){return new ge(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(x(mi,16))},n.\u0275pipe=A({name:"async",type:n,pure:!1,standalone:!0}),n})(),pl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({}),n})();const ZM="browser";class KM{}class hN extends b2{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class s0 extends hN{static makeCurrent(){!function _2(n){$v||($v=n)}(new s0)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function fN(){return jf=jf||document.querySelector("base"),jf?jf.getAttribute("href"):null}();return null==e?null:function mN(n){Yg=Yg||document.createElement("a"),Yg.setAttribute("href",n);const t=Yg.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){jf=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return NM(document.cookie,t)}}let Yg,jf=null;const tE=new De("TRANSITION_ID"),gN=[{provide:qD,useFactory:function pN(n,t,e){return()=>{e.get(kg).donePromise.then(()=>{const i=Zl(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();const Zg=new De("EventManagerPlugins");let qg=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this.usageCount=new Map}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)0===this.changeUsageCount(i,-1)&&this.onStyleRemoved(i)}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,i){const r=this.usageCount;let o=r.get(e)??0;return o+=i,o>0?r.set(e,o):r.delete(e),o}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})(),Uf=(()=>{class n extends iE{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.forEach(o=>o.remove()),i.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,i){const r=this.doc.createElement("style");r.textContent=i,e.appendChild(r);const o=this.styleRef.get(i);o?o.push(r):this.styleRef.set(i,[r])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return n.\u0275fac=function(e){return new(e||n)(le(fn))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();const a0={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},l0=/%COMP%/g,sE=new De("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function aE(n,t){return t.flat(100).map(e=>e.replace(l0,n))}function lE(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let Kg=(()=>{class n{constructor(e,i,r,o){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestory=o,this.rendererByCompId=new Map,this.defaultRenderer=new c0(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;const r=this.getOrCreateRenderer(e,i);return r instanceof uE?r.applyToHost(e):r instanceof d0&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const a=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestory;switch(i.encapsulation){case Dr.Emulated:o=new uE(a,l,i,this.appId,d);break;case Dr.ShadowDom:return new MN(a,l,e,i);default:o=new d0(a,l,i,d)}o.onDestroy=()=>r.delete(i.id),r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(le(qg),le(Uf),le(ih),le(sE))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();class c0{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(a0[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(dE(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(dE(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=a0[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=a0[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(jr.DashCase|jr.Important)?t.style.setProperty(e,i,r&jr.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&jr.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,lE(i)):this.eventManager.addEventListener(t,e,lE(i))}}function dE(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class MN extends c0{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=aE(r.id,r.styles);for(const a of o){const l=document.createElement("style");l.textContent=a,this.shadowRoot.appendChild(l)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class d0 extends c0{constructor(t,e,i,r,o=i.id){super(t),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=aE(o,i.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class uE extends d0{constructor(t,e,i,r,o){const a=r+"-"+i.id;super(t,e,i,o,a),this.contentAttr=function xN(n){return"_ngcontent-%COMP%".replace(l0,n)}(a),this.hostAttr=function wN(n){return"_nghost-%COMP%".replace(l0,n)}(a)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}let EN=(()=>{class n extends nE{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(le(fn))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();const hE=["alt","control","meta","shift"],TN={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},kN={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let SN=(()=>{class n extends nE{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),a=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zl().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),hE.forEach(h=>{const p=i.indexOf(h);p>-1&&(i.splice(p,1),a+=h+".")}),a+=o,0!=i.length||0===o.length)return null;const d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(e,i){let r=TN[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),hE.forEach(a=>{a!==r&&(0,kN[a])(e)&&(o+=a+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(le(fn))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();const ON=oM(m2,"browser",[{provide:Sg,useValue:ZM},{provide:XD,useValue:function IN(){s0.makeCurrent()},multi:!0},{provide:fn,useFactory:function FN(){return function Hl(n){dr=n}(document),document},deps:[]}]),pE=new De(""),gE=[{provide:Ig,useClass:class _N{addToWindow(t){zn.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},zn.getAllAngularTestabilities=()=>t.getAllTestabilities(),zn.getAllAngularRootElements=()=>t.getAllRootElements(),zn.frameworkStabilizers||(zn.frameworkStabilizers=[]),zn.frameworkStabilizers.push(i=>{const r=zn.getAllAngularTestabilities();let o=r.length,a=!1;const l=function(d){a=a||d,o--,0==o&&i(a)};r.forEach(function(d){d.whenStable(l)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?Zl().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:nM,useClass:Fv,deps:[Ut,Ov,Ig]},{provide:Fv,useClass:Fv,deps:[Ut,Ov,Ig]}],_E=[{provide:Nu,useValue:"root"},{provide:Xe,useFactory:function AN(){return new Xe},deps:[]},{provide:Zg,useClass:EN,multi:!0,deps:[fn,Ut,Sg]},{provide:Zg,useClass:SN,multi:!0,deps:[fn]},{provide:Kg,useClass:Kg,deps:[qg,Uf,ih,sE]},{provide:L,useExisting:Kg},{provide:iE,useExisting:Uf},{provide:Uf,useClass:Uf,deps:[fn]},{provide:qg,useClass:qg,deps:[Zg,Ut]},{provide:KM,useClass:bN,deps:[]},[]];let bE=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:ih,useValue:e.appId},{provide:tE,useExisting:ih},gN]}}}return n.\u0275fac=function(e){return new(e||n)(le(pE,12))},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:[..._E,...gE],imports:[pl,p2]}),n})();typeof window<"u"&&window;let Xg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:function(e){let i=null;return i=e?new(e||n):le(CE),i},providedIn:"root"}),n})(),CE=(()=>{class n extends Xg{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Gn.NONE:return i;case Gn.HTML:return aa(i,"HTML")?Qi(i):Xp(this._doc,String(i)).toString();case Gn.STYLE:return aa(i,"Style")?Qi(i):i;case Gn.SCRIPT:if(aa(i,"Script"))return Qi(i);throw new Error("unsafe value used in a script context");case Gn.URL:return aa(i,"URL")?Qi(i):Iu(String(i));case Gn.RESOURCE_URL:if(aa(i,"ResourceURL"))return Qi(i);throw new Error(`unsafe value used in a resource URL context (see ${Ti})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${Ti})`)}}bypassSecurityTrustHtml(e){return function by(n){return new ku(n)}(e)}bypassSecurityTrustStyle(e){return function Su(n){return new _y(n)}(e)}bypassSecurityTrustScript(e){return function yy(n){return new Wp(n)}(e)}bypassSecurityTrustUrl(e){return function jx(n){return new lf(n)}(e)}bypassSecurityTrustResourceUrl(e){return function Yp(n){return new cf(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(le(fn))},n.\u0275prov=lt({token:n,factory:function(e){let i=null;return i=e?new e:function HN(n){return new CE(n.get(fn))}(le(Ra)),i},providedIn:"root"}),n})();class xE{}class zN{}const Kl="*";function jc(n,t){return{type:7,name:n,definitions:t,options:{}}}function hs(n,t=null){return{type:4,styles:t,timings:n}}function $N(n,t=null){return{type:3,steps:n,options:t}}function wE(n,t=null){return{type:2,steps:n,options:t}}function Bi(n){return{type:6,styles:n,offset:null}}function gl(n,t,e){return{type:0,name:n,styles:t,options:e}}function fs(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function jN(n=null){return{type:9,options:n}}function UN(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function DE(n){Promise.resolve().then(n)}class Wf{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){DE(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class ME{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?DE(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,l)=>Math.max(a,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const f0="!";function EE(n){return new ge(3e3,!1)}function MB(){return typeof window<"u"&&typeof window.document<"u"}function m0(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Uc(n){switch(n.length){case 0:return new Wf;case 1:return n[0];default:return new ME(n)}}function TE(n,t,e,i,r=new Map,o=new Map){const a=[],l=[];let d=-1,h=null;if(i.forEach(p=>{const _=p.get("offset"),w=_==d,S=w&&h||new Map;p.forEach((R,$)=>{let Q=$,se=R;if("offset"!==$)switch(Q=t.normalizePropertyName(Q,a),se){case f0:se=r.get($);break;case Kl:se=o.get($);break;default:se=t.normalizeStyleValue($,Q,se,a)}S.set(Q,se)}),w||l.push(S),h=S,d=_}),a.length)throw function fB(n){return new ge(3502,!1)}();return l}function p0(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&g0(e,"start",n)));break;case"done":n.onDone(()=>i(e&&g0(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&g0(e,"destroy",n)))}}function g0(n,t,e){const o=_0(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),a=n._data;return null!=a&&(o._data=a),o}function _0(n,t,e,i,r="",o=0,a){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Rs(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function kE(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let b0=(n,t)=>!1,SE=(n,t,e)=>[],IE=null;function y0(n){const t=n.parentNode||n.host;return t===IE?null:t}(m0()||typeof Element<"u")&&(MB()?(IE=(()=>document.documentElement)(),b0=(n,t)=>{for(;t;){if(t===n)return!0;t=y0(t)}return!1}):b0=(n,t)=>n.contains(t),SE=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let xd=null,AE=!1;const FE=b0,OE=SE;let RE=(()=>{class n{validateStyleProperty(e){return function TB(n){xd||(xd=function kB(){return typeof document<"u"?document.body:null}()||{},AE=!!xd.style&&"WebkitAppearance"in xd.style);let t=!0;return xd.style&&!function EB(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in xd.style,!t&&AE&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in xd.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return FE(e,i)}getParentElement(e){return y0(e)}query(e,i,r){return OE(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,l=[],d){return new Wf(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})(),v0=(()=>{class n{}return n.NOOP=new RE,n})();const SB=1e3,C0="ng-enter",Qg="ng-leave",Jg="ng-trigger",e_=".ng-trigger",LE="ng-animating",x0=".ng-animating";function Xl(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:w0(parseFloat(t[1]),t[2])}function w0(n,t){return"s"===t?n*SB:n}function t_(n,t,e){return n.hasOwnProperty("duration")?n:function AB(n,t,e){let r,o=0,a="";if("string"==typeof n){const l=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return t.push(EE()),{duration:0,delay:0,easing:""};r=w0(parseFloat(l[1]),l[2]);const d=l[3];null!=d&&(o=w0(parseFloat(d),l[4]));const h=l[5];h&&(a=h)}else r=n;if(!e){let l=!1,d=t.length;r<0&&(t.push(function WN(){return new ge(3100,!1)}()),l=!0),o<0&&(t.push(function GN(){return new ge(3101,!1)}()),l=!0),l&&t.splice(d,0,EE())}return{duration:r,delay:o,easing:a}}(n,t,e)}function Gf(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function NE(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Wc(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function VE(n,t,e){return e?t+":"+e+";":""}function HE(n){let t="";for(let e=0;e{const o=M0(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),m0()&&HE(n))}function wd(n,t){n.style&&(t.forEach((e,i)=>{const r=M0(i);n.style[r]=""}),m0()&&HE(n))}function Yf(n){return Array.isArray(n)?1==n.length?n[0]:wE(n):n}const D0=new RegExp("{{\\s*(.+?)\\s*}}","g");function zE(n){let t=[];if("string"==typeof n){let e;for(;e=D0.exec(n);)t.push(e[1]);D0.lastIndex=0}return t}function Zf(n,t,e){const i=n.toString(),r=i.replace(D0,(o,a)=>{let l=t[a];return null==l&&(e.push(function ZN(n){return new ge(3003,!1)}()),l=""),l.toString()});return r==i?n:r}function n_(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const RB=/-+([a-z0-9])/g;function M0(n){return n.replace(RB,(...t)=>t[1].toUpperCase())}function PB(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ps(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function qN(n){return new ge(3004,!1)}()}}function $E(n,t){return window.getComputedStyle(n)[t]}const o_="*";function zB(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function $B(n,t,e){if(":"==n[0]){const d=function jB(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof d)return void t.push(d);n=d}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function lB(n){return new ge(3015,!1)}()),t;const r=i[1],o=i[2],a=i[3];t.push(jE(r,a));"<"==o[0]&&!(r==o_&&a==o_)&&t.push(jE(a,r))}(i,e,t)):e.push(n),e}const s_=new Set(["true","1"]),a_=new Set(["false","0"]);function jE(n,t){const e=s_.has(n)||a_.has(n),i=s_.has(t)||a_.has(t);return(r,o)=>{let a=n==o_||n==r,l=t==o_||t==o;return!a&&e&&"boolean"==typeof r&&(a=r?s_.has(n):a_.has(n)),!l&&i&&"boolean"==typeof o&&(l=o?s_.has(t):a_.has(t)),a&&l}}const UB=new RegExp("s*:selfs*,?","g");function E0(n,t,e,i){return new WB(n).build(t,e,i)}class WB{constructor(t){this._driver=t}build(t,e,i){const r=new ZB(e);return this._resetContextStyleTimingState(r),Ps(this,Yf(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push(function XN(){return new ge(3006,!1)}()),t.definitions.forEach(l=>{if(this._resetContextStyleTimingState(e),0==l.type){const d=l,h=d.name;h.toString().split(/\s*,\s*/).forEach(p=>{d.name=p,o.push(this.visitState(d,e))}),d.name=h}else if(1==l.type){const d=this.visitTransition(l,e);i+=d.queryCount,r+=d.depCount,a.push(d)}else e.errors.push(function QN(){return new ge(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=r||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(d=>{zE(d).forEach(h=>{a.hasOwnProperty(h)||o.add(h)})})}),o.size&&(n_(o.values()),e.errors.push(function JN(n,t){return new ge(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Ps(this,Yf(t.animation),e);return{type:1,matchers:zB(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Dd(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Ps(this,i,e)),options:Dd(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(a=>{e.currentTime=i;const l=Ps(this,a,e);return r=Math.max(r,e.currentTime),l});return e.currentTime=r,{type:3,steps:o,options:Dd(t.options)}}visitAnimate(t,e){const i=function KB(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return T0(t_(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=T0(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=t_(e,t);return T0(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:Bi({});if(5==o.type)r=this.visitKeyframes(o,e);else{let a=t.styles,l=!1;if(!a){l=!0;const h={};i.easing&&(h.easing=i.easing),a=Bi(h)}e.currentTime+=i.duration+i.delay;const d=this.visitStyle(a,e);d.isEmptyStep=l,r=d}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let l of r)"string"==typeof l?l===Kl?i.push(l):e.errors.push(new ge(3002,!1)):i.push(NE(l));let o=!1,a=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(a=l.get("easing"),l.delete("easing")),!o))for(let d of l.values())if(d.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:a,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(a=>{"string"!=typeof a&&a.forEach((l,d)=>{const h=e.collectedStyles.get(e.currentQuerySelector),p=h.get(d);let _=!0;p&&(o!=r&&o>=p.startTime&&r<=p.endTime&&(e.errors.push(function tB(n,t,e,i,r){return new ge(3010,!1)}()),_=!1),o=p.startTime),_&&h.set(d,{startTime:o,endTime:r}),e.options&&function OB(n,t,e){const i=t.params||{},r=zE(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function YN(n){return new ge(3001,!1)}())})}(l,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function nB(){return new ge(3011,!1)}()),i;let o=0;const a=[];let l=!1,d=!1,h=0;const p=t.steps.map(se=>{const Be=this._makeStyleAst(se,e);let fe=null!=Be.offset?Be.offset:function qB(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(Be.styles),xt=0;return null!=fe&&(o++,xt=Be.offset=fe),d=d||xt<0||xt>1,l=l||xt0&&o<_?e.errors.push(function oB(){return new ge(3202,!1)}()):0==o&&(w=1/(_-1));const S=_-1,R=e.currentTime,$=e.currentAnimateTimings,Q=$.duration;return p.forEach((se,Be)=>{const fe=w>0?Be==S?1:w*Be:a[Be],xt=fe*Q;e.currentTime=R+$.delay+xt,$.duration=xt,this._validateStyleAst(se,e),se.offset=fe,i.styles.push(se)}),i}visitReference(t,e){return{type:8,animation:Ps(this,Yf(t.animation),e),options:Dd(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Dd(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Dd(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,a]=function GB(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(UB,"")),n=n.replace(/@\*/g,e_).replace(/@\w+/g,e=>e_+"-"+e.slice(1)).replace(/:animating/g,x0),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Rs(e.collectedStyles,e.currentQuerySelector,new Map);const l=Ps(this,Yf(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:l,originalSelector:t.selector,options:Dd(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function sB(){return new ge(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:t_(t.timings,e.errors,!0);return{type:12,animation:Ps(this,Yf(t.animation),e),timings:i,options:null}}}class ZB{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Dd(n){return n?(n=Gf(n)).params&&(n.params=function YB(n){return n?Gf(n):null}(n.params)):n={},n}function T0(n,t,e){return{duration:n,delay:t,easing:e}}function k0(n,t,e,i,r,o,a=null,l=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:l}}class l_{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const JB=new RegExp(":enter","g"),t3=new RegExp(":leave","g");function S0(n,t,e,i,r,o=new Map,a=new Map,l,d,h=[]){return(new n3).buildKeyframes(n,t,e,i,r,o,a,l,d,h)}class n3{buildKeyframes(t,e,i,r,o,a,l,d,h,p=[]){h=h||new l_;const _=new I0(t,e,h,r,o,p,[]);_.options=d;const w=d.delay?Xl(d.delay):0;_.currentTimeline.delayNextStep(w),_.currentTimeline.setStyles([a],null,_.errors,d),Ps(this,i,_);const S=_.timelines.filter(R=>R.containsAnimation());if(S.length&&l.size){let R;for(let $=S.length-1;$>=0;$--){const Q=S[$];if(Q.element===e){R=Q;break}}R&&!R.allowOnlyTimelineStyles()&&R.setStyles([l],null,_.errors,d)}return S.length?S.map(R=>R.buildKeyframes()):[k0(e,[],[],[],0,w,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const a="number"==typeof o?o:Xl(Zf(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const a=null!=i.duration?Xl(i.duration):null,l=null!=i.delay?Xl(i.delay):null;return 0!==a&&t.forEach(d=>{const h=e.appendInstructionToTimeline(d,a,l);o=Math.max(o,h.duration+h.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Ps(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=c_);const a=Xl(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(a=>Ps(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?Xl(t.options.delay):0;t.steps.forEach(a=>{const l=e.createSubContext(t.options);o&&l.delayNextStep(o),Ps(this,a,l),r=Math.max(r,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return t_(e.params?Zf(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,l=e.createSubContext().currentTimeline;l.easing=i.easing,t.styles.forEach(d=>{l.forwardTime((d.offset||0)*o),l.setStyles(d.styles,d.easing,e.errors,e.options),l.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(l),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Xl(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=c_);let a=i;const l=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=l.length;let d=null;l.forEach((h,p)=>{e.currentQueryIndex=p;const _=e.createSubContext(t.options,h);o&&_.delayNextStep(o),h===e.element&&(d=_.currentTimeline),Ps(this,t.animation,_),_.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,_.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,a=Math.abs(o.duration),l=a*(e.currentQueryTotal-1);let d=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":d=l-d;break;case"full":d=i.currentStaggerTime}const p=e.currentTimeline;d&&p.delayNextStep(d);const _=p.currentTime;Ps(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-_+(r.startTime-i.currentTimeline.startTime)}}const c_={};class I0{constructor(t,e,i,r,o,a,l,d){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=c_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new d_(this._driver,e,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=Xl(i.duration)),null!=i.delay&&(r.delay=Xl(i.delay));const o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(l=>{(!e||!a.hasOwnProperty(l))&&(a[l]=Zf(o[l],a,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new I0(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=c_,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new r3(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,a){let l=[];if(r&&l.push(this.element),t.length>0){t=(t=t.replace(JB,"."+this._enterClassName)).replace(t3,"."+this._leaveClassName);let h=this._driver.query(this.element,t,1!=i);0!==i&&(h=i<0?h.slice(h.length+i,h.length):h.slice(0,i)),l.push(...h)}return!o&&0==l.length&&a.push(function aB(n){return new ge(3014,!1)}()),l}}class d_{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new d_(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Kl),this._currentKeyframe.set(e,Kl);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},a=function o3(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,Kl)}else Wc(r,e)}),e}(t,this._globalTimelineStyles);for(let[l,d]of a){const h=Zf(d,o,i);this._pendingStyles.set(l,h),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??Kl),this._updateStyle(l,h)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((l,d)=>{const h=Wc(l,new Map,this._backFill);h.forEach((p,_)=>{p===f0?t.add(_):p===Kl&&e.add(_)}),i||h.set("offset",d/this.duration),r.push(h)});const o=t.size?n_(t.values()):[],a=e.size?n_(e.values()):[];if(i){const l=r[0],d=new Map(l);l.set("offset",0),d.set("offset",1),r=[l,d]}return k0(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}class r3 extends d_{constructor(t,e,i,r,o,a,l=!1){super(t,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=l,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=i+e,l=e/a,d=Wc(t[0]);d.set("offset",0),o.push(d);const h=Wc(t[0]);h.set("offset",GE(l)),o.push(h);const p=t.length-1;for(let _=1;_<=p;_++){let w=Wc(t[_]);const S=w.get("offset");w.set("offset",GE((e+S*i)/a)),o.push(w)}i=a,e=0,r="",t=o}return k0(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function GE(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class A0{}const s3=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class a3 extends A0{normalizePropertyName(t,e){return M0(t)}normalizeStyleValue(t,e,i,r){let o="";const a=i.toString().trim();if(s3.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&r.push(function KN(n,t){return new ge(3005,!1)}())}return a+o}}function YE(n,t,e,i,r,o,a,l,d,h,p,_,w){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:l,queriedElements:d,preStyleProps:h,postStyleProps:p,totalTime:_,errors:w}}const F0={};class ZE{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function l3(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,a,l,d,h,p){const _=[],w=this.ast.options&&this.ast.options.params||F0,R=this.buildStyles(i,l&&l.params||F0,_),$=d&&d.params||F0,Q=this.buildStyles(r,$,_),se=new Set,Be=new Map,fe=new Map,xt="void"===r,Un={params:c3($,w),delay:this.ast.options?.delay},ii=p?[]:S0(t,e,this.ast.animation,o,a,R,Q,Un,h,_);let _o=0;if(ii.forEach(rc=>{_o=Math.max(rc.duration+rc.delay,_o)}),_.length)return YE(e,this._triggerName,i,r,xt,R,Q,[],[],Be,fe,_o,_);ii.forEach(rc=>{const oc=rc.element,uA=Rs(Be,oc,new Set);rc.preStyleProps.forEach(Bd=>uA.add(Bd));const Im=Rs(fe,oc,new Set);rc.postStyleProps.forEach(Bd=>Im.add(Bd)),oc!==e&&se.add(oc)});const ic=n_(se.values());return YE(e,this._triggerName,i,r,xt,R,Q,ii,ic,Be,fe,_o)}}function c3(n,t){const e=Gf(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class d3{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Gf(this.defaultParams);return Object.keys(t).forEach(o=>{const a=t[o];null!==a&&(r[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,l)=>{a&&(a=Zf(a,r,e));const d=this.normalizer.normalizePropertyName(l,e);a=this.normalizer.normalizeStyleValue(l,d,a,e),i.set(l,a)})}),i}}class h3{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new d3(r.style,r.options&&r.options.params||{},i))}),qE(this.states,"true","1"),qE(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new ZE(t,r,this.states))}),this.fallbackTransition=function f3(n,t,e){return new ZE(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,l)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(a=>a.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function qE(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const m3=new l_;class p3{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],r=[],o=E0(this._driver,e,i,r);if(i.length)throw function mB(n){return new ge(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=TE(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let a;const l=new Map;if(o?(a=S0(this._driver,e,o,C0,Qg,new Map,new Map,i,m3,r),a.forEach(p=>{const _=Rs(l,p.element,new Map);p.postStyleProps.forEach(w=>_.set(w,null))})):(r.push(function pB(){return new ge(3300,!1)}()),a=[]),r.length)throw function gB(n){return new ge(3504,!1)}();l.forEach((p,_)=>{p.forEach((w,S)=>{p.set(S,this._driver.computeStyle(_,S,Kl))})});const h=Uc(a.map(p=>{const _=l.get(p.element);return this._buildPlayer(p,new Map,_)}));return this._playersById.set(t,h),h.onDestroy(()=>this.destroy(t)),this.players.push(h),h}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function _B(n){return new ge(3301,!1)}();return e}listen(t,e,i,r){const o=_0(e,"","","");return p0(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const KE="ng-animate-queued",O0="ng-animate-disabled",v3=[],XE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},C3={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ua="__ng_removed";class R0{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function M3(n){return n??null}(i?t.value:t),i){const o=Gf(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const qf="void",P0=new R0(qf);class x3{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,ha(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function bB(n,t){return new ge(3302,!1)}();if(null==i||0==i.length)throw function yB(n){return new ge(3303,!1)}();if(!function E3(n){return"start"==n||"done"==n}(i))throw function vB(n,t){return new ge(3400,!1)}();const o=Rs(this._elementListeners,t,[]),a={name:e,phase:i,callback:r};o.push(a);const l=Rs(this._engine.statesByElement,t,new Map);return l.has(e)||(ha(t,Jg),ha(t,Jg+"-"+e),l.set(e,P0)),()=>{this._engine.afterFlush(()=>{const d=o.indexOf(a);d>=0&&o.splice(d,1),this._triggers.has(e)||l.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function CB(n){return new ge(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),a=new L0(this.id,e,t);let l=this._engine.statesByElement.get(t);l||(ha(t,Jg),ha(t,Jg+"-"+e),this._engine.statesByElement.set(t,l=new Map));let d=l.get(e);const h=new R0(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),l.set(e,h),d||(d=P0),h.value!==qf&&d.value===h.value){if(!function S3(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{wd(t,Q),_l(t,se)})}return}const w=Rs(this._engine.playersByElement,t,[]);w.forEach($=>{$.namespaceId==this.id&&$.triggerName==e&&$.queued&&$.destroy()});let S=o.matchTransition(d.value,h.value,t,h.params),R=!1;if(!S){if(!r)return;S=o.fallbackTransition,R=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:S,fromState:d,toState:h,player:a,isFallbackTransition:R}),R||(ha(t,KE),a.onStart(()=>{sh(t,KE)})),a.onDone(()=>{let $=this.players.indexOf(a);$>=0&&this.players.splice($,1);const Q=this._engine.playersByElement.get(t);if(Q){let se=Q.indexOf(a);se>=0&&Q.splice(se,1)}}),this.players.push(a),w.push(a),a}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,e_,!0);i.forEach(r=>{if(r[ua])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),a=new Map;if(o){const l=[];if(o.forEach((d,h)=>{if(a.set(h,d.value),this._triggers.has(h)){const p=this.trigger(t,h,qf,r);p&&l.push(p)}}),l.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,a),i&&Uc(l).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const a=o.name;if(r.has(a))return;r.add(a);const d=this._triggers.get(a).fallbackTransition,h=i.get(a)||P0,p=new R0(qf),_=new L0(this.id,a,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:a,transition:d,fromState:h,toState:p,player:_,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let a=t;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[ua];(!o||o===XE)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){ha(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(l=>{if(l.name==i.triggerName){const d=_0(o,i.triggerName,i.fromState.value,i.toState.value);d._data=t,p0(i.player,l.phase,d,l.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,a=r.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class w3{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new x3(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,l=this.driver.getParentElement(e);for(;l;){const d=r.get(l);if(d){const h=i.indexOf(d);i.splice(h+1,0,t),a=!0;break}l=this.driver.getParentElement(l)}a||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(u_(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!u_(e))return;const o=e[ua];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){const a=this._fetchNamespace(t);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ha(t,O0)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),sh(t,O0))}removeNode(t,e,i,r){if(u_(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[ua]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return u_(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,e_,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,x0,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Uc(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[ua];if(e&&e.setForRemoval){if(t[ua]=XE,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(O0)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Uc(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function xB(n){return new ge(3402,!1)}()}_flushAnimations(t,e){const i=new l_,r=[],o=new Map,a=[],l=new Map,d=new Map,h=new Map,p=new Set;this.disabledNodes.forEach(Pt=>{p.add(Pt);const qt=this.driver.query(Pt,".ng-animate-queued",!0);for(let cn=0;cn{const cn=C0+$++;R.set(qt,cn),Pt.forEach(qn=>ha(qn,cn))});const Q=[],se=new Set,Be=new Set;for(let Pt=0;Ptse.add(qn)):Be.add(qt))}const fe=new Map,xt=eT(w,Array.from(se));xt.forEach((Pt,qt)=>{const cn=Qg+$++;fe.set(qt,cn),Pt.forEach(qn=>ha(qn,cn))}),t.push(()=>{S.forEach((Pt,qt)=>{const cn=R.get(qt);Pt.forEach(qn=>sh(qn,cn))}),xt.forEach((Pt,qt)=>{const cn=fe.get(qt);Pt.forEach(qn=>sh(qn,cn))}),Q.forEach(Pt=>{this.processLeaveNode(Pt)})});const Un=[],ii=[];for(let Pt=this._namespaceList.length-1;Pt>=0;Pt--)this._namespaceList[Pt].drainQueuedTransitions(e).forEach(cn=>{const qn=cn.player,Wr=cn.element;if(Un.push(qn),this.collectedEnterElements.length){const bo=Wr[ua];if(bo&&bo.setForMove){if(bo.previousTriggersValues&&bo.previousTriggersValues.has(cn.triggerName)){const Vd=bo.previousTriggersValues.get(cn.triggerName),pa=this.statesByElement.get(cn.element);if(pa&&pa.has(cn.triggerName)){const cb=pa.get(cn.triggerName);cb.value=Vd,pa.set(cn.triggerName,cb)}}return void qn.destroy()}}const Dl=!_||!this.driver.containsElement(_,Wr),zs=fe.get(Wr),ed=R.get(Wr),Vi=this._buildInstruction(cn,i,ed,zs,Dl);if(Vi.errors&&Vi.errors.length)return void ii.push(Vi);if(Dl)return qn.onStart(()=>wd(Wr,Vi.fromStyles)),qn.onDestroy(()=>_l(Wr,Vi.toStyles)),void r.push(qn);if(cn.isFallbackTransition)return qn.onStart(()=>wd(Wr,Vi.fromStyles)),qn.onDestroy(()=>_l(Wr,Vi.toStyles)),void r.push(qn);const mA=[];Vi.timelines.forEach(bo=>{bo.stretchStartingKeyframe=!0,this.disabledNodes.has(bo.element)||mA.push(bo)}),Vi.timelines=mA,i.append(Wr,Vi.timelines),a.push({instruction:Vi,player:qn,element:Wr}),Vi.queriedElements.forEach(bo=>Rs(l,bo,[]).push(qn)),Vi.preStyleProps.forEach((bo,Vd)=>{if(bo.size){let pa=d.get(Vd);pa||d.set(Vd,pa=new Set),bo.forEach((cb,ax)=>pa.add(ax))}}),Vi.postStyleProps.forEach((bo,Vd)=>{let pa=h.get(Vd);pa||h.set(Vd,pa=new Set),bo.forEach((cb,ax)=>pa.add(ax))})});if(ii.length){const Pt=[];ii.forEach(qt=>{Pt.push(function wB(n,t){return new ge(3505,!1)}())}),Un.forEach(qt=>qt.destroy()),this.reportError(Pt)}const _o=new Map,ic=new Map;a.forEach(Pt=>{const qt=Pt.element;i.has(qt)&&(ic.set(qt,qt),this._beforeAnimationBuild(Pt.player.namespaceId,Pt.instruction,_o))}),r.forEach(Pt=>{const qt=Pt.element;this._getPreviousPlayers(qt,!1,Pt.namespaceId,Pt.triggerName,null).forEach(qn=>{Rs(_o,qt,[]).push(qn),qn.destroy()})});const rc=Q.filter(Pt=>nT(Pt,d,h)),oc=new Map;JE(oc,this.driver,Be,h,Kl).forEach(Pt=>{nT(Pt,d,h)&&rc.push(Pt)});const Im=new Map;S.forEach((Pt,qt)=>{JE(Im,this.driver,new Set(Pt),d,f0)}),rc.forEach(Pt=>{const qt=oc.get(Pt),cn=Im.get(Pt);oc.set(Pt,new Map([...Array.from(qt?.entries()??[]),...Array.from(cn?.entries()??[])]))});const Bd=[],hA=[],fA={};a.forEach(Pt=>{const{element:qt,player:cn,instruction:qn}=Pt;if(i.has(qt)){if(p.has(qt))return cn.onDestroy(()=>_l(qt,qn.toStyles)),cn.disabled=!0,cn.overrideTotalTime(qn.totalTime),void r.push(cn);let Wr=fA;if(ic.size>1){let zs=qt;const ed=[];for(;zs=zs.parentNode;){const Vi=ic.get(zs);if(Vi){Wr=Vi;break}ed.push(zs)}ed.forEach(Vi=>ic.set(Vi,Wr))}const Dl=this._buildAnimation(cn.namespaceId,qn,_o,o,Im,oc);if(cn.setRealPlayer(Dl),Wr===fA)Bd.push(cn);else{const zs=this.playersByElement.get(Wr);zs&&zs.length&&(cn.parentPlayer=Uc(zs)),r.push(cn)}}else wd(qt,qn.fromStyles),cn.onDestroy(()=>_l(qt,qn.toStyles)),hA.push(cn),p.has(qt)&&r.push(cn)}),hA.forEach(Pt=>{const qt=o.get(Pt.element);if(qt&&qt.length){const cn=Uc(qt);Pt.setRealPlayer(cn)}}),r.forEach(Pt=>{Pt.parentPlayer?Pt.syncPlayerEvents(Pt.parentPlayer):Pt.destroy()});for(let Pt=0;Pt!Dl.destroyed);Wr.length?T3(this,qt,Wr):this.processLeaveNode(qt)}return Q.length=0,Bd.forEach(Pt=>{this.players.push(Pt),Pt.onDone(()=>{Pt.destroy();const qt=this.players.indexOf(Pt);this.players.splice(qt,1)}),Pt.play()}),Bd}elementContainsData(t,e){let i=!1;const r=e[ua];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let a=[];if(e){const l=this.playersByQueriedElement.get(t);l&&(a=l)}else{const l=this.playersByElement.get(t);if(l){const d=!o||o==qf;l.forEach(h=>{h.queued||!d&&h.triggerName!=r||a.push(h)})}}return(i||r)&&(a=a.filter(l=>!(i&&i!=l.namespaceId||r&&r!=l.triggerName))),a}_beforeAnimationBuild(t,e,i){const o=e.element,a=e.isRemovalTransition?void 0:t,l=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,p=h!==o,_=Rs(i,h,[]);this._getPreviousPlayers(h,p,a,l,e.toState).forEach(S=>{const R=S.getRealPlayer();R.beforeDestroy&&R.beforeDestroy(),S.destroy(),_.push(S)})}wd(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,a){const l=e.triggerName,d=e.element,h=[],p=new Set,_=new Set,w=e.timelines.map(R=>{const $=R.element;p.add($);const Q=$[ua];if(Q&&Q.removedBeforeQueried)return new Wf(R.duration,R.delay);const se=$!==d,Be=function k3(n){const t=[];return tT(n,t),t}((i.get($)||v3).map(_o=>_o.getRealPlayer())).filter(_o=>!!_o.element&&_o.element===$),fe=o.get($),xt=a.get($),Un=TE(0,this._normalizer,0,R.keyframes,fe,xt),ii=this._buildPlayer(R,Un,Be);if(R.subTimeline&&r&&_.add($),se){const _o=new L0(t,l,$);_o.setRealPlayer(ii),h.push(_o)}return ii});h.forEach(R=>{Rs(this.playersByQueriedElement,R.element,[]).push(R),R.onDone(()=>function D3(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,R.element,R))}),p.forEach(R=>ha(R,LE));const S=Uc(w);return S.onDestroy(()=>{p.forEach(R=>sh(R,LE)),_l(d,e.toStyles)}),_.forEach(R=>{Rs(r,R,[]).push(S)}),S}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Wf(t.duration,t.delay)}}class L0{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Wf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>p0(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Rs(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function u_(n){return n&&1===n.nodeType}function QE(n,t){const e=n.style.display;return n.style.display=t??"none",e}function JE(n,t,e,i,r){const o=[];e.forEach(d=>o.push(QE(d)));const a=[];i.forEach((d,h)=>{const p=new Map;d.forEach(_=>{const w=t.computeStyle(h,_,r);p.set(_,w),(!w||0==w.length)&&(h[ua]=C3,a.push(h))}),n.set(h,p)});let l=0;return e.forEach(d=>QE(d,o[l++])),a}function eT(n,t){const e=new Map;if(n.forEach(l=>e.set(l,[])),0==t.length)return e;const i=1,r=new Set(t),o=new Map;function a(l){if(!l)return i;let d=o.get(l);if(d)return d;const h=l.parentNode;return d=e.has(h)?h:r.has(h)?i:a(h),o.set(l,d),d}return t.forEach(l=>{const d=a(l);d!==i&&e.get(d).push(l)}),e}function ha(n,t){n.classList?.add(t)}function sh(n,t){n.classList?.remove(t)}function T3(n,t,e){Uc(e).onDone(()=>n.processLeaveNode(t))}function tT(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class h_{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new w3(t,e,i),this._timelineEngine=new p3(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const a=t+"-"+r;let l=this._triggerCache[a];if(!l){const d=[],h=[],p=E0(this._driver,o,d,h);if(d.length)throw function hB(n,t){return new ge(3404,!1)}();l=function u3(n,t,e){return new h3(n,t,e)}(r,p,this._normalizer),this._triggerCache[a]=l}this._transitionEngine.registerTrigger(e,r,l)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,a]=kE(i);this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[a,l]=kE(i);return this._timelineEngine.listen(a,e,l,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let A3=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&_l(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(_l(this._element,this._initialStyles),this._endStyles&&(_l(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(wd(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wd(this._element,this._endStyles),this._endStyles=null),_l(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function N0(n){let t=null;return n.forEach((e,i)=>{(function F3(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class iT{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:$E(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class O3{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return FE(t,e)}getParentElement(t){return y0(t)}query(t,e,i){return OE(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,a=[]){const d={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(d.easing=o);const h=new Map,p=a.filter(S=>S instanceof iT);(function LB(n,t){return 0===n||0===t})(i,r)&&p.forEach(S=>{S.currentSnapshot.forEach((R,$)=>h.set($,R))});let _=function FB(n){return n.length?n[0]instanceof Map?n:n.map(t=>NE(t)):[]}(e).map(S=>Wc(S));_=function NB(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;oa.set(l,$E(n,l)))}}return t}(t,_,h);const w=function I3(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=N0(t[0]),t.length>1&&(i=N0(t[t.length-1]))):t instanceof Map&&(e=N0(t)),e||i?new A3(n,e,i):null}(t,_);return new iT(t,_,d,w)}}let R3=(()=>{class n extends xE{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Dr.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?wE(e):e;return rT(this._renderer,null,i,"register",[r]),new P3(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(le(L),le(fn))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();class P3 extends zN{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new L3(this._id,t,e||{},this._renderer)}}class L3{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return rT(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function rT(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const oT="@.disabled";let N3=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,a)=>{const l=a?.parentNode(o);l&&a.removeChild(l,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let p=this._rendererCache.get(o);return p||(p=new sT("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,p)),p}const a=i.id,l=i.id+"-"+this._currentId;this._currentId++,this.engine.register(l,e);const d=p=>{Array.isArray(p)?p.forEach(d):this.engine.registerTrigger(a,l,e,p.name,p)};return i.data.animation.forEach(d),new B3(this,l,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,l]=o;a(l)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(le(L),le(h_),le(Ut))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();class sT{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==oT?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class B3 extends sT{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==oT?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function V3(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function H3(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,i,l)})}return this.delegate.listen(t,e,i)}}const aT=[{provide:xE,useClass:R3},{provide:A0,useFactory:function $3(){return new a3}},{provide:h_,useClass:(()=>{class n extends h_{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(le(fn),le(v0),le(A0),le(Bf))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})()},{provide:L,useFactory:function j3(n,t,e){return new N3(n,t,e)},deps:[Kg,h_,Ut]}],B0=[{provide:v0,useFactory:()=>new O3},{provide:hr,useValue:"BrowserAnimations"},...aT],lT=[{provide:v0,useClass:RE},{provide:hr,useValue:"NoopAnimations"},...aT];let U3=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?lT:B0}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:B0,imports:[bE]}),n})();const{isArray:W3}=Array,{getPrototypeOf:G3,prototype:Y3,keys:Z3}=Object;function cT(n){if(1===n.length){const t=n[0];if(W3(t))return{args:t,keys:null};if(function q3(n){return n&&"object"==typeof n&&G3(n)===Y3}(t)){const e=Z3(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:K3}=Array;function V0(n){return Pn(t=>function X3(n,t){return K3(t)?n(...t):n(t)}(n,t))}function dT(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function uT(...n){const t=To(n),{args:e,keys:i}=cT(n),r=new be(o=>{const{length:a}=e;if(!a)return void o.complete();const l=new Array(a);let d=a,h=a;for(let p=0;p{_||(_=!0,h--),l[p]=w},()=>d--,void 0,()=>{(!d||!_)&&(h||o.next(i?dT(i,l):l),o.complete())}))}});return t?r.pipe(V0(t)):r}let hT=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(x(ee),x(E))},n.\u0275dir=y({type:n}),n})(),Md=(()=>{class n extends hT{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ui(n)))(i||n)}}(),n.\u0275dir=y({type:n,features:[dt]}),n})();const Jr=new De("NgValueAccessor"),J3={provide:Jr,useExisting:un(()=>fa),multi:!0},t5=new De("CompositionEventMode");let fa=(()=>{class n extends hT{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function e5(){const n=Zl()?Zl().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(x(ee),x(E),x(t5,8))},n.\u0275dir=y({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&Me("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[Gt([J3]),dt]}),n})();const n5=!1;function Gc(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function mT(n){return null!=n&&"number"==typeof n.length}const eo=new De("NgValidators"),Yc=new De("NgAsyncValidators"),r5=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ai{static min(t){return function pT(n){return t=>{if(Gc(t.value)||Gc(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(Gc(t.value)||Gc(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function _T(n){return Gc(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function bT(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function yT(n){return Gc(n.value)||r5.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function vT(n){return t=>Gc(t.value)||!mT(t.value)?null:t.value.lengthmT(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function xT(n){if(!n)return m_;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(Gc(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return kT(t)}static composeAsync(t){return ST(t)}}function m_(n){return null}function wT(n){return null!=n}function DT(n){const t=_g(n)?ts(n):n;if(n5&&!Bw(t)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof n&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new ge(-1101,e)}return t}function MT(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function ET(n,t){return t.map(e=>e(n))}function TT(n){return n.map(t=>function o5(n){return!n.validate}(t)?t:e=>t.validate(e))}function kT(n){if(!n)return null;const t=n.filter(wT);return 0==t.length?null:function(e){return MT(ET(e,t))}}function H0(n){return null!=n?kT(TT(n)):null}function ST(n){if(!n)return null;const t=n.filter(wT);return 0==t.length?null:function(e){return uT(ET(e,t).map(DT)).pipe(Pn(MT))}}function z0(n){return null!=n?ST(TT(n)):null}function IT(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function AT(n){return n._rawValidators}function FT(n){return n._rawAsyncValidators}function $0(n){return n?Array.isArray(n)?n:[n]:[]}function p_(n,t){return Array.isArray(n)?n.includes(t):n===t}function OT(n,t){const e=$0(t);return $0(n).forEach(r=>{p_(e,r)||e.push(r)}),e}function RT(n,t){return $0(t).filter(e=>!p_(n,e))}class PT{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=H0(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=z0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Yo extends PT{get formDirective(){return null}get path(){return null}}class Ha extends PT{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class LT{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let za=(()=>{class n extends LT{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(x(Ha,2))},n.\u0275dir=y({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Xt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[dt]}),n})(),Ql=(()=>{class n extends LT{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(x(Yo,10))},n.\u0275dir=y({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Xt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[dt]}),n})();function NT(n,t){return n?`with name: '${t}'`:`at index: ${t}`}const W0=!1,Kf="VALID",__="INVALID",ah="PENDING",Xf="DISABLED";function G0(n){return(b_(n)?n.validators:n)||null}function Y0(n,t){return(b_(t)?t.asyncValidators:n)||null}function b_(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class HT{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Kf}get invalid(){return this.status===__}get pending(){return this.status==ah}get disabled(){return this.status===Xf}get enabled(){return this.status!==Xf}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(OT(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(OT(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(RT(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(RT(t,this._rawAsyncValidators))}hasValidator(t){return p_(this._rawValidators,t)}hasAsyncValidator(t){return p_(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ah,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Xf,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Kf,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Kf||this.status===ah)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xf:Kf}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ah,this._hasOwnPendingAsyncValidator=!0;const e=DT(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new it,this.statusChanges=new it}_calculateStatus(){return this._allControlsDisabled()?Xf:this.errors?__:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ah)?ah:this._anyControlsHaveStatus(__)?__:Kf}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){b_(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function h5(n){return Array.isArray(n)?H0(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function f5(n){return Array.isArray(n)?z0(n):n||null}(this._rawAsyncValidators)}}class $a extends HT{constructor(t,e,i){super(G0(e),Y0(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){(function VT(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new ge(1002,W0?function u5(n,t){return`Must supply a value for form control ${NT(n,t)}`}(t,r):"")})})(this,!0,t),Object.keys(t).forEach(i=>{(function BT(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new ge(1e3,W0?function c5(n){return`\n There are no form controls registered with this ${n?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(t):"");if(!i[e])throw new ge(1001,W0?function d5(n,t){return`Cannot find form control ${NT(n,t)}`}(t,e):"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Ed=new De("CallSetDisabledState",{providedIn:"root",factory:()=>Qf}),Qf="always";function y_(n,t){return[...t.path,n]}function Jf(n,t,e=Qf){Z0(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function g5(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&zT(n,t)})}(n,t),function b5(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function _5(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&zT(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function p5(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function v_(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),x_(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function C_(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Z0(n,t){const e=AT(n);null!==t.validator?n.setValidators(IT(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=FT(n);null!==t.asyncValidator?n.setAsyncValidators(IT(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();C_(t._rawValidators,r),C_(t._rawAsyncValidators,r)}function x_(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=AT(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=FT(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return C_(t._rawValidators,i),C_(t._rawAsyncValidators,i),e}function zT(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function $T(n,t){Z0(n,t)}function K0(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function jT(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function X0(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===fa?e=o:function C5(n){return Object.getPrototypeOf(n.constructor)===Md}(o)?i=o:r=o}),r||i||e||null}const w5={provide:Yo,useExisting:un(()=>lh)},em=(()=>Promise.resolve())();let lh=(()=>{class n extends Yo{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new it,this.form=new $a({},H0(e),z0(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){em.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Jf(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){em.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){em.then(()=>{const i=this._findContainer(e.path),r=new $a({});$T(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){em.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){em.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,jT(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(x(eo,10),x(Yc,10),x(Ed,8))},n.\u0275dir=y({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&Me("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Gt([w5]),dt]}),n})();function UT(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function WT(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const yn=class extends HT{constructor(t=null,e,i){super(G0(e),Y0(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),b_(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=WT(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){UT(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){UT(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){WT(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},E5={provide:Ha,useExisting:un(()=>Q0)},ZT=(()=>Promise.resolve())();let Q0=(()=>{class n extends Ha{constructor(e,i,r,o,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new yn,this._registered=!1,this.update=new it,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=X0(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),K0(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Jf(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){ZT.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&function zv(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(i);ZT.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?y_(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(x(Yo,9),x(eo,10),x(Yc,10),x(Jr,10),x(mi,8),x(Ed,8))},n.\u0275dir=y({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Gt([E5]),dt,zr]}),n})(),Jl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),KT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({}),n})();const J0=new De("NgModelWithFormControlWarning"),A5={provide:Ha,useExisting:un(()=>eC)};let eC=(()=>{class n extends Ha{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this.update=new it,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=X0(0,r)}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&v_(i,this,!1),Jf(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}K0(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&v_(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(x(eo,10),x(Yc,10),x(Jr,10),x(J0,8),x(Ed,8))},n.\u0275dir=y({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Gt([A5]),dt,zr]}),n})();const F5={provide:Yo,useExisting:un(()=>ms)};let ms=(()=>{class n extends Yo{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new it,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(x_(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Jf(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){v_(e.control||null,e,!1),function x5(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,jT(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(v_(i||null,e),(n=>n instanceof yn)(r)&&(Jf(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);$T(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function y5(n,t){return x_(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Z0(this.form,this),this._oldForm&&x_(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(x(eo,10),x(Yc,10),x(Ed,8))},n.\u0275dir=y({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&Me("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Gt([F5]),dt,zr]}),n})();const P5={provide:Ha,useExisting:un(()=>bl)};let bl=(()=>{class n extends Ha{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.update=new it,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=X0(0,o)}ngOnChanges(e){this._added||this._setUpControl(),K0(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return y_(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(x(Yo,13),x(eo,10),x(Yc,10),x(Jr,10),x(J0,8))},n.\u0275dir=y({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Gt([P5]),dt,zr]}),n})(),dk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[KT]}),n})(),X5=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Ed,useValue:e.callSetDisabledState??Qf}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[dk]}),n})(),Q5=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:J0,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ed,useValue:e.callSetDisabledState??Qf}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[dk]}),n})();function ps(...n){return ts(n,ko(n))}function gs(n,t){return qe((e,i)=>{let r=0;e.subscribe(It(i,o=>n.call(t,o,r++)&&i.next(o)))})}class w_{}class aC{}class ec{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof ec?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new ec;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof ec?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(l=>-1===o.indexOf(l)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class eV{encodeKey(t){return uk(t)}encodeValue(t){return uk(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const nV=/%(\d[a-f0-9])/gi,iV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function uk(n){return encodeURIComponent(n).replace(nV,(t,e)=>iV[e]??t)}function D_(n){return`${n}`}class Zc{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new eV,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function tV(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[a,l]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],d=e.get(a)||[];d.push(l),e.set(a,d)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(D_):[D_(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Zc({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(D_(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(D_(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class rV{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function hk(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function fk(n){return typeof Blob<"u"&&n instanceof Blob}function mk(n){return typeof FormData<"u"&&n instanceof FormData}class tm{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function oV(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new ec),this.context||(this.context=new rV),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":l_.set(w,t.setHeaders[w]),d)),t.setParams&&(h=Object.keys(t.setParams).reduce((_,w)=>_.set(w,t.setParams[w]),h)),new tm(e,i,o,{params:h,headers:d,context:p,reportProgress:l,responseType:r,withCredentials:a})}}var pr=(()=>((pr=pr||{})[pr.Sent=0]="Sent",pr[pr.UploadProgress=1]="UploadProgress",pr[pr.ResponseHeader=2]="ResponseHeader",pr[pr.DownloadProgress=3]="DownloadProgress",pr[pr.Response=4]="Response",pr[pr.User=5]="User",pr))();class lC{constructor(t,e=200,i="OK"){this.headers=t.headers||new ec,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class cC extends lC{constructor(t={}){super(t),this.type=pr.ResponseHeader}clone(t={}){return new cC({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class M_ extends lC{constructor(t={}){super(t),this.type=pr.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new M_({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class pk extends lC{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function dC(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let nm=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof tm)o=e;else{let d,h;d=r.headers instanceof ec?r.headers:new ec(r.headers),r.params&&(h=r.params instanceof Zc?r.params:new Zc({fromObject:r.params})),o=new tm(e,i,void 0!==r.body?r.body:null,{headers:d,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const a=ps(o).pipe(function J5(n,t){return q(t)?Mo(n,t,1):Mo(n,1)}(d=>this.handler.handle(d)));if(e instanceof tm||"events"===r.observe)return a;const l=a.pipe(gs(d=>d instanceof M_));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return l.pipe(Pn(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(Pn(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(Pn(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return l.pipe(Pn(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Zc).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,dC(r,i))}post(e,i,r={}){return this.request("POST",e,dC(r,i))}put(e,i,r={}){return this.request("PUT",e,dC(r,i))}}return n.\u0275fac=function(e){return new(e||n)(le(w_))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();function gk(n,t){return t(n)}function aV(n,t){return(e,i)=>t.intercept(e,{handle:r=>n(r,i)})}const cV=new De("HTTP_INTERCEPTORS"),im=new De("HTTP_INTERCEPTOR_FNS");function dV(){let n=null;return(t,e)=>(null===n&&(n=(_i(cV,{optional:!0})??[]).reduceRight(aV,gk)),n(t,e))}let _k=(()=>{class n extends w_{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set(this.injector.get(im)));this.chain=i.reduceRight((r,o)=>function lV(n,t,e){return(i,r)=>e.runInContext(()=>t(i,o=>n(o,r)))}(r,o,this.injector),gk)}return this.chain(e,i=>this.backend.handle(i))}}return n.\u0275fac=function(e){return new(e||n)(le(aC),le(Ul))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();const mV=/^\)\]\}',?\n/;let yk=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new be(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((S,R)=>r.setRequestHeader(S,R.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const S=e.detectContentTypeHeader();null!==S&&r.setRequestHeader("Content-Type",S)}if(e.responseType){const S=e.responseType.toLowerCase();r.responseType="json"!==S?S:"text"}const o=e.serializeBody();let a=null;const l=()=>{if(null!==a)return a;const S=r.statusText||"OK",R=new ec(r.getAllResponseHeaders()),$=function pV(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return a=new cC({headers:R,status:r.status,statusText:S,url:$}),a},d=()=>{let{headers:S,status:R,statusText:$,url:Q}=l(),se=null;204!==R&&(se=typeof r.response>"u"?r.responseText:r.response),0===R&&(R=se?200:0);let Be=R>=200&&R<300;if("json"===e.responseType&&"string"==typeof se){const fe=se;se=se.replace(mV,"");try{se=""!==se?JSON.parse(se):null}catch(xt){se=fe,Be&&(Be=!1,se={error:xt,text:se})}}Be?(i.next(new M_({body:se,headers:S,status:R,statusText:$,url:Q||void 0})),i.complete()):i.error(new pk({error:se,headers:S,status:R,statusText:$,url:Q||void 0}))},h=S=>{const{url:R}=l(),$=new pk({error:S,status:r.status||0,statusText:r.statusText||"Unknown Error",url:R||void 0});i.error($)};let p=!1;const _=S=>{p||(i.next(l()),p=!0);let R={type:pr.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(R.total=S.total),"text"===e.responseType&&r.responseText&&(R.partialText=r.responseText),i.next(R)},w=S=>{let R={type:pr.UploadProgress,loaded:S.loaded};S.lengthComputable&&(R.total=S.total),i.next(R)};return r.addEventListener("load",d),r.addEventListener("error",h),r.addEventListener("timeout",h),r.addEventListener("abort",h),e.reportProgress&&(r.addEventListener("progress",_),null!==o&&r.upload&&r.upload.addEventListener("progress",w)),r.send(o),i.next({type:pr.Sent}),()=>{r.removeEventListener("error",h),r.removeEventListener("abort",h),r.removeEventListener("load",d),r.removeEventListener("timeout",h),e.reportProgress&&(r.removeEventListener("progress",_),null!==o&&r.upload&&r.upload.removeEventListener("progress",w)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(le(KM))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();const uC=new De("XSRF_ENABLED"),vk=new De("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ck=new De("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class xk{}let bV=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=NM(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(le(fn),le(Sg),le(vk))},n.\u0275prov=lt({token:n,factory:n.\u0275fac}),n})();function yV(n,t){const e=n.url.toLowerCase();if(!_i(uC)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=_i(xk).getToken(),r=_i(Ck);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}var tr=(()=>((tr=tr||{})[tr.Interceptors=0]="Interceptors",tr[tr.LegacyInterceptors=1]="LegacyInterceptors",tr[tr.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",tr[tr.NoXsrfProtection=3]="NoXsrfProtection",tr[tr.JsonpSupport=4]="JsonpSupport",tr[tr.RequestsMadeViaParent=5]="RequestsMadeViaParent",tr))();function ch(n,t){return{\u0275kind:n,\u0275providers:t}}function vV(...n){const t=[nm,yk,_k,{provide:w_,useExisting:_k},{provide:aC,useExisting:yk},{provide:im,useValue:yV,multi:!0},{provide:uC,useValue:!0},{provide:xk,useClass:bV}];for(const e of n)t.push(...e.\u0275providers);return function ig(n){return{\u0275providers:n}}(t)}const wk=new De("LEGACY_INTERCEPTOR_FN");let xV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:[vV(ch(tr.LegacyInterceptors,[{provide:wk,useFactory:dV},{provide:im,useExisting:wk,multi:!0}]))]}),n})();function St(n){return null!=n&&"false"!=`${n}`}function yl(n,t=0){return function wV(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function rm(n){return Array.isArray(n)?n:[n]}function gr(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Ui(n){return n instanceof E?n.nativeElement:n}const MV=["addListener","removeListener"],EV=["addEventListener","removeEventListener"],TV=["on","off"];function vl(n,t,e,i){if(q(e)&&(i=e,e=void 0),i)return vl(n,t,e).pipe(V0(i));const[r,o]=function IV(n){return q(n.addEventListener)&&q(n.removeEventListener)}(n)?EV.map(a=>l=>n[a](t,l,e)):function kV(n){return q(n.addListener)&&q(n.removeListener)}(n)?MV.map(Dk(n,t)):function SV(n){return q(n.on)&&q(n.off)}(n)?TV.map(Dk(n,t)):[];if(!r&&P(n))return Mo(a=>vl(a,t,e))(vi(n));if(!r)throw new TypeError("Invalid event target");return new be(a=>{const l=(...d)=>a.next(1o(l)})}function Dk(n,t){return e=>i=>n[e](t,i)}class AV extends te{constructor(t,e){super()}schedule(t,e=0){return this}}const E_={setInterval(n,t,...e){const{delegate:i}=E_;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=E_;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class hC extends AV{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return E_.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&E_.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,J(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const om={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=om;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new te(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=om;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=om;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0},Mk={now:()=>(Mk.delegate||Date).now(),delegate:void 0};class sm{constructor(t,e=sm.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}sm.now=Mk.now;class fC extends sm{constructor(t,e=sm.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const Ek=new class OV extends fC{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class FV extends hC{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=om.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(om.cancelAnimationFrame(e),t._scheduled=void 0)}});let mC,RV=1;const T_={};function Tk(n){return n in T_&&(delete T_[n],!0)}const PV={setImmediate(n){const t=RV++;return T_[t]=!0,mC||(mC=Promise.resolve()),mC.then(()=>Tk(t)&&n()),t},clearImmediate(n){Tk(n)}},{setImmediate:LV,clearImmediate:NV}=PV,k_={setImmediate(...n){const{delegate:t}=k_;return(t?.setImmediate||LV)(...n)},clearImmediate(n){const{delegate:t}=k_;return(t?.clearImmediate||NV)(n)},delegate:void 0},pC=new class VV extends fC{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class BV extends hC{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=k_.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(k_.clearImmediate(e),t._scheduled=void 0)}}),am=new fC(hC),HV=am;function S_(n=0,t,e=HV){let i=-1;return null!=t&&(Ga(t)?e=t:i=t),new be(r=>{let o=function $V(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function gC(n,t=am){return function zV(n){return qe((t,e)=>{let i=!1,r=null,o=null,a=!1;const l=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const h=r;r=null,e.next(h)}a&&e.complete()},d=()=>{o=null,a&&e.complete()};t.subscribe(It(e,h=>{i=!0,r=h,o||vi(n(h)).subscribe(o=It(e,l,d))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>S_(n,t))}function xn(n){return qe((t,e)=>{vi(n).subscribe(It(e,()=>e.complete(),Et)),!e.closed&&t.subscribe(e)})}function I_(...n){return function jV(){return Eo(1)}()(ts(n,ko(n)))}function Fr(...n){const t=ko(n);return qe((e,i)=>{(t?I_(n,e,t):I_(n,e)).subscribe(i)})}let _C;try{_C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{_C=!1}let dh,Ii=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function BL(n){return n===ZM}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!_C)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(le(Sg))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const kk=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Sk(){if(dh)return dh;if("object"!=typeof document||!document)return dh=new Set(kk),dh;let n=document.createElement("input");return dh=new Set(kk.filter(t=>(n.setAttribute("type",t),n.type===t))),dh}let lm,A_,kd,bC;function ja(n){return function UV(){if(null==lm&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>lm=!0}))}finally{lm=lm||!1}return lm}()?n:!!n.capture}function Ik(){if(null==kd){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return kd=!1,kd;if("scrollBehavior"in document.documentElement.style)kd=!0;else{const n=Element.prototype.scrollTo;kd=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return kd}function cm(){if("object"!=typeof document||!document)return 0;if(null==A_){const n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),A_=0,0===n.scrollLeft&&(n.scrollLeft=1,A_=0===n.scrollLeft?1:2),n.remove()}return A_}function yC(n){if(function WV(){if(null==bC){const n=typeof document<"u"?document.head:null;bC=!(!n||!n.createShadowRoot&&!n.attachShadow)}return bC}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Ls(n){return n.composedPath?n.composedPath()[0]:n.target}function vC(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const GV=new De("cdk-dir-doc",{providedIn:"root",factory:function YV(){return _i(fn)}}),ZV=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Or=(()=>{class n{constructor(e){this.value="ltr",this.change=new it,e&&(this.value=function qV(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?ZV.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(le(GV,8))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({}),n})();const KV=["contentWrapper"],XV=["*"],QV=new De("VIRTUAL_SCROLL_STRATEGY");let uh=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new Ie,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new be(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(gC(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ps()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(gs(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Ui(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>vl(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(le(Ut),le(Ii),le(fn,8))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ak=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new Ie,this._elementScrolled=new be(a=>this.ngZone.runOutsideAngular(()=>vl(this.elementRef.nativeElement,"scroll").pipe(xn(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&0!=cm()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==cm()?e.left=e.right:1==cm()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;Ik()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==e)return o.scrollTop;if("bottom"==e)return o.scrollHeight-o.clientHeight-o.scrollTop;const a=this.dir&&"rtl"==this.dir.value;return"start"==e?e=a?r:i:"end"==e&&(e=a?i:r),a&&2==cm()?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&1==cm()?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(uh),x(Ut),x(Or,8))},n.\u0275dir=y({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),n})(),tc=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new Ie,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(gC(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(le(Ii),le(Ut),le(fn,8))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Fk=new De("VIRTUAL_SCROLLABLE");let t4=(()=>{class n extends Ak{constructor(e,i,r,o){super(e,i,r,o)}measureViewportSize(e){const i=this.elementRef.nativeElement;return"horizontal"===e?i.clientWidth:i.clientHeight}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(uh),x(Ut),x(Or,8))},n.\u0275dir=y({type:n,features:[dt]}),n})();const r4=typeof requestAnimationFrame<"u"?Ek:pC;let o4=(()=>{class n extends t4{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=St(e)}constructor(e,i,r,o,a,l,d,h){super(e,l,r,a),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=o,this.scrollable=h,this._platform=_i(Ii),this._detachedSubject=new Ie,this._renderedRangeSubject=new Ie,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new be(p=>this._scrollStrategy.scrolledIndexChange.subscribe(_=>Promise.resolve().then(()=>this.ngZone.run(()=>p.next(_))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=te.EMPTY,this._viewportChanges=d.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Fr(null),gC(0,r4)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(xn(this._detachedSubject)).subscribe(i=>{const r=i.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function n4(n,t){return n.start==t.start&&n.end==t.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&"to-start"===i?0:e;const o="horizontal"==this.orientation,a=o?"X":"Y";let d=`translate${a}(${Number((o&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===i&&(d+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=d&&(this._renderedContentTransform=d,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){const r={behavior:i};"horizontal"===this.orientation?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return i=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i;const r="left",o="right",a="rtl"==this.dir?.value;i="start"==e?a?o:r:"end"==e?a?r:o:e||("horizontal"===this.orientation?"left":"top");const l=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-l}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const i of e)i()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(Ut),x(QV,8),x(Or,8),x(uh),x(tc),x(Fk,8))},n.\u0275cmp=k({type:n,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,i){if(1&e&&Zn(KV,7),2&e){let r;Tt(r=kt())&&(i._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,i){2&e&&Xt("cdk-virtual-scroll-orientation-horizontal","horizontal"===i.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==i.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Gt([{provide:Ak,useFactory:(t,e)=>t||e,deps:[[new fo,new Uh(Fk)],n]}]),dt,aD],ngContentSelectors:XV,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,i){1&e&&(bi(),T(0,"div",0,1),jt(2),M(),Ye(3,"div",2)),2&e&&(V(3),kf("width",i._totalContentWidth)("height",i._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),n})(),Sd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({}),n})(),Ok=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[dm,Sd,o4,dm,Sd]}),n})();class Rk extends Ie{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function Ns(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function fh(n,t,e){const i=q(n)||t||e?{next:n,error:t,complete:e}:n;return i?qe((r,o)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let l=!0;r.subscribe(It(o,d=>{var h;null===(h=i.next)||void 0===h||h.call(i,d),o.next(d)},()=>{var d;l=!1,null===(d=i.complete)||void 0===d||d.call(i),o.complete()},d=>{var h;l=!1,null===(h=i.error)||void 0===h||h.call(i,d),o.error(d)},()=>{var d,h;l&&(null===(d=i.unsubscribe)||void 0===d||d.call(i)),null===(h=i.finalize)||void 0===h||h.call(i)}))}):Ve}function xC(n,t=am){return qe((e,i)=>{let r=null,o=null,a=null;const l=()=>{if(r){r.unsubscribe(),r=null;const h=o;o=null,i.next(h)}};function d(){const h=a+n,p=t.now();if(p{o=h,a=t.now(),r||(r=t.schedule(d,n),i.add(r))},()=>{l(),i.complete()},void 0,()=>{o=r=null}))})}function wC(n){return gs((t,e)=>n<=e)}function DC(n,t=Ve){return n=n??v4,qe((e,i)=>{let r,o=!0;e.subscribe(It(i,a=>{const l=t(a);(o||!n(r,l))&&(o=!1,r=l,i.next(a))}))})}function v4(n,t){return n===t}let Lk=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),C4=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Ui(e);return new be(r=>{const a=this._observeElement(i).subscribe(r);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new Ie,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(le(Lk))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Nk=(()=>{class n{get disabled(){return this._disabled}set disabled(e){this._disabled=St(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=yl(e),this._subscribe()}constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new it,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(xC(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(x(C4),x(E),x(Ut))},n.\u0275dir=y({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),MC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:[Lk]}),n})();function Bk(n,t,e){n?Yi(e,n,t):t()}function Ur(n){return n<=0?()=>Wn:qe((t,e)=>{let i=0;t.subscribe(It(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}const Vk=new Set;let mh,D4=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):E4}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function M4(n){if(!Vk.has(n))try{mh||(mh=document.createElement("style"),mh.setAttribute("type","text/css"),document.head.appendChild(mh)),mh.sheet&&(mh.sheet.insertRule(`@media ${n} {body{ }}`,0),Vk.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(le(Ii))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function E4(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let T4=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new Ie}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Hk(rm(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=function x4(...n){const t=ko(n),e=To(n),{args:i,keys:r}=cT(n);if(0===i.length)return ts([],t);const o=new be(function w4(n,t,e=Ve){return i=>{Bk(t,()=>{const{length:r}=n,o=new Array(r);let a=r,l=r;for(let d=0;d{const h=ts(n[d],t);let p=!1;h.subscribe(It(i,_=>{o[d]=_,p||(p=!0,l--),l||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}(i,t,r?a=>dT(r,a):Ve));return e?o.pipe(V0(e)):o}(Hk(rm(e)).map(a=>this._registerQuery(a).observable));return o=I_(o.pipe(Ur(1)),o.pipe(wC(1),xC(0))),o.pipe(Pn(a=>{const l={matches:!1,breakpoints:{}};return a.forEach(({matches:d,query:h})=>{l.matches=l.matches||d,l.breakpoints[h]=d}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new be(a=>{const l=d=>this._zone.run(()=>a.next(d));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Fr(i),Pn(({matches:a})=>({query:e,matches:a})),xn(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(le(D4),le(Ut))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Hk(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function P_(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const $k="cdk-describedby-message",L_="cdk-describedby-host";let EC=0,I4=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+EC++,this._document=e,this._id=_i(ih)+"-"+EC++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=TC(i,r);"string"!=typeof i?(jk(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=TC(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${L_}="${this._id}"]`);for(let i=0;i0!=r.indexOf($k));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function k4(n,t,e){const i=P_(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(L_,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function S4(n,t,e){const r=P_(n,t).filter(o=>o!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(L_)}_isElementDescribedByMessage(e,i){const r=P_(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&-1!=r.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(le(fn),le(Ii))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function TC(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function jk(n,t){n.id||(n.id=`${$k}-${t}-${EC++}`)}class Uk{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ie,this._typeaheadSubscription=te.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Ie,this.change=new Ie,t instanceof Hc&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(fh(e=>this._pressedLetters.push(e)),xC(t),gs(()=>this._pressedLetters.length>0),Pn(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof Hc?this._items.toArray():this._items}}class Wk extends Uk{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class kC extends Uk{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}function N_(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function B_(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const L4=new De("cdk-input-modality-detector-options"),N4={ignoreKeys:[18,17,224,91,16]},ph=ja({passive:!0,capture:!0});let B4=(()=>{class n{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Rk(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ls(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(N_(a)?"keyboard":"mouse"),this._mostRecentTarget=Ls(a))},this._onTouchstart=a=>{B_(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ls(a))},this._options={...N4,...o},this.modalityDetected=this._modality.pipe(wC(1)),this.modalityChanged=this.modalityDetected.pipe(DC()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,ph),r.addEventListener("mousedown",this._onMousedown,ph),r.addEventListener("touchstart",this._onTouchstart,ph)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ph),document.removeEventListener("mousedown",this._onMousedown,ph),document.removeEventListener("touchstart",this._onTouchstart,ph))}}return n.\u0275fac=function(e){return new(e||n)(le(Ii),le(Ut),le(fn),le(L4,8))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const V4=new De("liveAnnouncerElement",{providedIn:"root",factory:function H4(){return null}}),z4=new De("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let $4=0,j4=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==a&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class n{constructor(e,i,r,o,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ie,this._rootNodeFocusAndBlurListener=l=>{for(let h=Ls(l);h;h=h.parentElement)"focus"===l.type?this._onFocus(l,h):this._onBlur(l,h)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const r=Ui(e);if(!this._platform.isBrowser||1!==r.nodeType)return ps(null);const o=yC(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;const l={checkChildren:i,subject:new Ie,rootNode:o};return this._elementInfo.set(r,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){const i=Ui(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Ui(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([l,d])=>this._originChanged(l,i,d)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=Ls(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,V_),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,V_)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(xn(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,V_),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,V_),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a{class n{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new it}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(qc))},n.\u0275dir=y({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),n})();const Zk="cdk-high-contrast-black-on-white",qk="cdk-high-contrast-white-on-black",SC="cdk-high-contrast-active";let Kk=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=_i(T4).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(SC,Zk,qk),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(SC,Zk):2===i&&e.add(SC,qk)}}}return n.\u0275fac=function(e){return new(e||n)(le(Ii),le(fn))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Xk=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(le(Kk))},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[MC]}),n})();function Cl(n,t){return qe((e,i)=>{let r=null,o=0,a=!1;const l=()=>a&&!r&&i.complete();e.subscribe(It(i,d=>{r?.unsubscribe();let h=0;const p=o++;vi(n(d,p)).subscribe(r=It(i,_=>i.next(t?t(d,_,p,h++):_),()=>{r=null,l()}))},()=>{a=!0,l()}))})}function IC(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];r?n.setProperty(i,r,e?.has(i)?"important":""):n.removeProperty(i)}return n}function gh(n,t){const e=t?"":"none";IC(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function Qk(n,t,e){IC(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function H_(n,t){return t&&"none"!=t?n+" "+t:n}function Jk(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function AC(n,t){return n.getPropertyValue(t).split(",").map(i=>i.trim())}function FC(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function OC(n,t,e){const{top:i,bottom:r,left:o,right:a}=n;return e>=i&&e<=r&&t>=o&&t<=a}function fm(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function eS(n,t,e,i){const{top:r,right:o,bottom:a,left:l,width:d,height:h}=n,p=d*t,_=h*t;return i>r-_&&il-p&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:FC(e)})})}handleScroll(t){const e=Ls(t),i=this.positions.get(e);if(!i)return null;const r=i.scrollPosition;let o,a;if(e===this._document){const h=this.getViewportScrollPosition();o=h.top,a=h.left}else o=e.scrollTop,a=e.scrollLeft;const l=r.top-o,d=r.left-a;return this.positions.forEach((h,p)=>{h.clientRect&&e!==p&&e.contains(p)&&fm(h.clientRect,l,d)}),r.top=o,r.left=a,{top:l,left:d}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function nS(n){const t=n.cloneNode(!0),e=t.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();t.removeAttribute("id");for(let r=0;rgh(i,e)))}constructor(t,e,i,r,o,a){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new Ie,this._pointerMoveSubscription=te.EMPTY,this._pointerUpSubscription=te.EMPTY,this._scrollSubscription=te.EMPTY,this._resizeSubscription=te.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new Ie,this.started=new Ie,this.released=new Ie,this.ended=new Ie,this.entered=new Ie,this.exited=new Ie,this.dropped=new Ie,this.moved=this._moveEvents,this._pointerDown=l=>{if(this.beforeStarted.next(),this._handles.length){const d=this._getTargetHandle(l);d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,l)}else this.disabled||this._initializeDragSequence(this._rootElement,l)},this._pointerMove=l=>{const d=this._getPointerPositionOnPage(l);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const S=Date.now()>=this._dragStartTime+this._getDragStartDelay(l),R=this._dropContainer;if(!S)return void this._endDragSequence(l);(!R||!R.isDragging()&&!R.isReceiving())&&(l.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(l)))}return}l.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const p=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,_=this._activeTransform;_.x=h.x-p.x+this._passiveTransform.x,_.y=h.y-p.y+this._passiveTransform.y,this._applyRootElementTransform(_.x,_.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:l,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=l=>{this._endDragSequence(l)},this._nativeDragStart=l=>{if(this._handles.length){const d=this._getTargetHandle(l);d&&!this._disabledHandles.has(d)&&!this.disabled&&l.preventDefault()}else this.disabled||l.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new tS(i),a.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>Ui(i)),this._handles.forEach(i=>gh(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Ui(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,z_),e.addEventListener("touchstart",this._pointerDown,sS),e.addEventListener("dragstart",this._nativeDragStart,z_)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Ui(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),gh(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),gh(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){mm(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,r=i.parentNode,o=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),l=this._getShadowRoot();r.insertBefore(a,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),Qk(i,!1,RC),this._document.body.appendChild(r.replaceChild(o,i)),this._getPreviewInsertionPoint(r,l).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),r=mm(e),o=!r&&0!==e.button,a=this._rootElement,l=Ls(e),d=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=r?B_(e):N_(e);if(l&&l.draggable&&"mousedown"===e.type&&e.preventDefault(),i||o||d||h)return;if(this._handles.length){const w=a.style;this._rootElementTapHighlight=w.webkitTapHighlightColor||"",w.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(w=>this._updateOnScroll(w)),this._boundaryElement&&(this._boundaryRect=FC(this._boundaryElement));const p=this._previewTemplate;this._pickupPositionInElement=p&&p.template&&!p.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const _=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:_.x,y:_.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){Qk(this._rootElement,!0,RC),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(t),o=this._getDragDistance(r),a=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:t}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:r,event:t}),e.drop(this,i,this._initialIndex,this._initialContainer,a,o,r,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,t,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let r;if(i&&t){const o=t.matchSize?this._initialClientRect:null,a=t.viewContainer.createEmbeddedView(i,t.context);a.detectChanges(),r=lS(a,this._document),this._previewRef=a,t.matchSize?cS(r,o):r.style.transform=$_(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=nS(this._rootElement),cS(r,this._initialClientRect),this._initialTransform&&(r.style.transform=this._initialTransform);return IC(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},RC),gh(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>r.classList.add(o)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function Y4(n){const t=getComputedStyle(n),e=AC(t,"transition-property"),i=e.find(l=>"transform"===l||"all"===l);if(!i)return 0;const r=e.indexOf(i),o=AC(t,"transition-duration"),a=AC(t,"transition-delay");return Jk(o[r])+Jk(a[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const r=a=>{(!a||Ls(a)===this._preview&&"transform"===a.propertyName)&&(this._preview?.removeEventListener("transitionend",r),i(),clearTimeout(o))},o=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=lS(this._placeholderRef,this._document)):i=nS(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e,i){const r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():t,a=mm(i)?i.targetTouches[0]:i,l=this._getViewportScrollPosition();return{x:o.left-t.left+(a.pageX-o.left-l.left),y:o.top-t.top+(a.pageY-o.top-l.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=mm(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,r=i.pageX-e.left,o=i.pageY-e.top;if(this._ownerSVGElement){const a=this._ownerSVGElement.getScreenCTM();if(a){const l=this._ownerSVGElement.createSVGPoint();return l.x=r,l.y=o,l.matrixTransform(a.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:r}=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:o,y:a}=this._pickupPositionInElement,l=this._boundaryRect,{width:d,height:h}=this._getPreviewRect(),p=l.top+a,_=l.bottom-(h-a);i=aS(i,l.left+o,l.right-(d-o)),r=aS(r,p,_)}return{x:i,y:r}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-o.x),l=Math.abs(i-o.y);return a>this._config.pointerDirectionChangeThreshold&&(r.x=e>o.x?1:-1,o.x=e),l>this._config.pointerDirectionChangeThreshold&&(r.y=i>o.y?1:-1,o.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,gh(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,z_),t.removeEventListener("touchstart",this._pointerDown,sS),t.removeEventListener("dragstart",this._nativeDragStart,z_)}_applyRootElementTransform(t,e){const i=$_(t,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=H_(i,this._initialTransform)}_applyPreviewTransform(t,e){const i=this._previewTemplate?.template?void 0:this._initialTransform,r=$_(t,e);this._preview.style.transform=H_(r,i)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(0===r.width&&0===r.height||0===i.width&&0===i.height)return;const o=r.left-i.left,a=i.right-r.right,l=r.top-i.top,d=i.bottom-r.bottom;r.width>i.width?(o>0&&(t+=o),a>0&&(t-=a)):t=0,r.height>i.height?(l>0&&(e+=l),d>0&&(e-=d)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:mm(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=Ls(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&fm(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=yC(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Ui(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function $_(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function aS(n,t,e){return Math.max(t,Math.min(e,n))}function mm(n){return"t"===n.type[0]}function lS(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function cS(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=$_(t.left,t.top)}function pm(n,t){return Math.max(0,Math.min(t,n))}class Q4{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,i,r){const o=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,i,r);if(-1===a&&o.length>0)return null;const l="horizontal"===this.orientation,d=o.findIndex(Q=>Q.drag===t),h=o[a],_=h.clientRect,w=d>a?1:-1,S=this._getItemOffsetPx(o[d].clientRect,_,w),R=this._getSiblingOffsetPx(d,o,w),$=o.slice();return function X4(n,t,e){const i=pm(t,n.length-1),r=pm(e,n.length-1);if(i===r)return;const o=n[i],a=r{if($[se]===Q)return;const Be=Q.drag===t,fe=Be?S:R,xt=Be?t.getPlaceholderElement():Q.drag.getRootElement();Q.offset+=fe,l?(xt.style.transform=H_(`translate3d(${Math.round(Q.offset)}px, 0, 0)`,Q.initialTransform),fm(Q.clientRect,0,fe)):(xt.style.transform=H_(`translate3d(0, ${Math.round(Q.offset)}px, 0)`,Q.initialTransform),fm(Q.clientRect,fe,0))}),this._previousSwap.overlaps=OC(_,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=l?r.x:r.y,{previousIndex:d,currentIndex:a}}enter(t,e,i,r){const o=null==r||r<0?this._getItemIndexFromPointerPosition(t,e,i):r,a=this._activeDraggables,l=a.indexOf(t),d=t.getPlaceholderElement();let h=a[o];if(h===t&&(h=a[o+1]),!h&&(null==o||-1===o||o-1&&a.splice(l,1),h&&!this._dragDropRegistry.isDragging(h)){const p=h.getRootElement();p.parentElement.insertBefore(d,p),a.splice(o,0,t)}else Ui(this._element).appendChild(d),a.push(t);d.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables.forEach(t=>{const e=t.getRootElement();if(e){const i=this._itemPositions.find(r=>r.drag===t)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===t)}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:i})=>{fm(i,t,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:FC(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getItemOffsetPx(t,e,i){const r="horizontal"===this.orientation;let o=r?e.left-t.left:e.top-t.top;return-1===i&&(o+=r?e.width-t.width:e.height-t.height),o}_getSiblingOffsetPx(t,e,i){const r="horizontal"===this.orientation,o=e[t].clientRect,a=e[t+-1*i];let l=o[r?"width":"height"]*i;if(a){const d=r?"left":"top",h=r?"right":"bottom";-1===i?l-=a.clientRect[d]-o[h]:l+=o[d]-a.clientRect[h]}return l}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,r="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const a=i[i.length-1].clientRect;return r?t>=a.right:e>=a.bottom}{const a=i[0].clientRect;return r?t<=a.left:e<=a.top}}_getItemIndexFromPointerPosition(t,e,i,r){const o="horizontal"===this.orientation,a=this._itemPositions.findIndex(({drag:l,clientRect:d})=>l!==t&&((!r||l!==this._previousSwap.drag||!this._previousSwap.overlaps||(o?r.x:r.y)!==this._previousSwap.delta)&&(o?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&i!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ie,this.entered=new Ie,this.exited=new Ie,this.dropped=new Ie,this.sorted=new Ie,this.receivingStarted=new Ie,this.receivingStopped=new Ie,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=te.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ie,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function G4(n=0,t=am){return n<0&&(n=0),S_(n,n,t)}(0,Ek).pipe(xn(this._stopScrollTimers)).subscribe(()=>{const a=this._scrollNode,l=this.autoScrollStep;1===this._verticalScrollDirection?a.scrollBy(0,-l):2===this._verticalScrollDirection&&a.scrollBy(0,l),1===this._horizontalScrollDirection?a.scrollBy(-l,0):2===this._horizontalScrollDirection&&a.scrollBy(l,0)})},this.element=Ui(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new tS(i),this._sortStrategy=new Q4(this.element,e),this._sortStrategy.withSortPredicate((a,l)=>this.sortPredicate(a,l,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,r){this._draggingStarted(),null==r&&this.sortingDisabled&&(r=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,r,o,a,l,d={}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:o,distance:a,dropPoint:l,event:d})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===t.indexOf(r))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._sortStrategy.direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._sortStrategy.orientation=t,this}withScrollableParents(t){const e=Ui(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,r){if(this.sortingDisabled||!this._clientRect||!eS(this._clientRect,.05,e,i))return;const o=this._sortStrategy.sort(t,e,i,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,r=0,o=0;if(this._parentPositions.positions.forEach((a,l)=>{l===this._document||!a.clientRect||i||eS(a.clientRect,.05,t,e)&&([r,o]=function e8(n,t,e,i){const r=hS(t,i),o=fS(t,e);let a=0,l=0;if(r){const d=n.scrollTop;1===r?d>0&&(a=1):n.scrollHeight-d>n.clientHeight&&(a=2)}if(o){const d=n.scrollLeft;1===o?d>0&&(l=1):n.scrollWidth-d>n.clientWidth&&(l=2)}return[a,l]}(l,a.clientRect,t,e),(r||o)&&(i=l))}),!r&&!o){const{width:a,height:l}=this._viewportRuler.getViewportSize(),d={width:a,height:l,top:0,right:a,bottom:l,left:0};r=hS(d,e),o=fS(d,t),i=window}i&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=Ui(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=Ui(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=Ui(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&OC(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(r=>r._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!OC(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,i);if(!r)return!1;const o=Ui(this.element);return r===o||o.contains(r)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:t,receiver:this,items:e}))}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:t,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=yC(Ui(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function hS(n,t){const{top:e,bottom:i,height:r}=n,o=r*uS;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}function fS(n,t){const{left:e,right:i,width:r}=n,o=r*uS;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}const j_=ja({passive:!1,capture:!0});let t8=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new Ie,this.pointerUp=new Ie,this.scroll=new Ie,this._preventDefaultWhileDragging=r=>{this._activeDragInstances.length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,j_)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,j_)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const r=i.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:j_}),r||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:j_}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,a)=>{this._document.addEventListener(a,o.handler,o.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new be(r=>this._ngZone.runOutsideAngular(()=>{const a=l=>{this._activeDragInstances.length&&r.next(l)};return e.addEventListener("scroll",a,!0),()=>{e.removeEventListener("scroll",a,!0)}}))),oi(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(le(Ut),le(fn))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const n8={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let PC=(()=>{class n{constructor(e,i,r,o){this._document=e,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=o}createDrag(e,i=n8){return new K4(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new J4(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(le(fn),le(Ut),le(tc),le(t8))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const LC=new De("CDK_DRAG_PARENT"),NC=new De("CdkDropListGroup");let mS=(()=>{class n{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=St(e)}ngOnDestroy(){this._items.clear()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Gt([{provide:NC,useExisting:n}])]}),n})();const pS=new De("CDK_DRAG_CONFIG");let i8=0;const gS=new De("CdkDropList");let _S=(()=>{class n{get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=St(e)}constructor(e,i,r,o,a,l,d){this.element=e,this._changeDetectorRef=r,this._scrollDispatcher=o,this._dir=a,this._group=l,this._destroyed=new Ie,this.connectedTo=[],this.id="cdk-drop-list-"+i8++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new it,this.entered=new it,this.exited=new it,this.sorted=new it,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,d&&this._assignDefaults(d),this._dropListRef.enterPredicate=(h,p)=>this.enterPredicate(h.data,p.data),this._dropListRef.sortPredicate=(h,p,_)=>this.sortPredicate(h,p.data,_.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),l&&l._items.add(this)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,i)=>e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=n._dropLists.indexOf(this);e>-1&&n._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Fr(this._dir.value),xn(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{const i=rm(this.connectedTo).map(r=>"string"==typeof r?n._dropLists.find(a=>a.id===r):r);if(this._group&&this._group._items.forEach(r=>{-1===i.indexOf(r)&&i.push(r)}),!this._scrollableParentsResolved){const r=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(o=>o.getElementRef().nativeElement);this._dropListRef.withScrollableParents(r),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=St(this.sortingDisabled),e.autoScrollDisabled=St(this.autoScrollDisabled),e.autoScrollStep=yl(this.autoScrollStep,2),e.connectedTo(i.filter(r=>r&&r!==this).map(r=>r._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),oi(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){const{lockAxis:i,draggingDisabled:r,sortingDisabled:o,listAutoScrollDisabled:a,listOrientation:l}=e;this.disabled=r??!1,this.sortingDisabled=o??!1,this.autoScrollDisabled=a??!1,this.orientation=l||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return n._dropLists=[],n.\u0275fac=function(e){return new(e||n)(x(E),x(PC),x(mi),x(uh),x(Or,8),x(NC,12),x(pS,8))},n.\u0275dir=y({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,i){2&e&&(hn("id",i.id),Xt("cdk-drop-list-disabled",i.disabled)("cdk-drop-list-dragging",i._dropListRef.isDragging())("cdk-drop-list-receiving",i._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[Gt([{provide:NC,useValue:void 0},{provide:gS,useExisting:n}])]}),n})();const BC=new De("CdkDragHandle"),bS=new De("CdkDragPlaceholder"),yS=new De("CdkDragPreview");let vS=(()=>{class n{get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=St(e),this._dragRef.disabled=this._disabled}constructor(e,i,r,o,a,l,d,h,p,_,w){this.element=e,this.dropContainer=i,this._ngZone=o,this._viewContainerRef=a,this._dir=d,this._changeDetectorRef=p,this._selfHandle=_,this._parentDrag=w,this._destroyed=new Ie,this.started=new it,this.released=new it,this.ended=new it,this.entered=new it,this.exited=new it,this.dropped=new it,this.moved=new be(S=>{const R=this._dragRef.moved.pipe(Pn($=>({source:this,pointerPosition:$.pointerPosition,event:$.event,delta:$.delta,distance:$.distance}))).subscribe(S);return()=>{R.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:l&&null!=l.dragStartThreshold?l.dragStartThreshold:5,pointerDirectionChangeThreshold:l&&null!=l.pointerDirectionChangeThreshold?l.pointerDirectionChangeThreshold:5,zIndex:l?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),l&&this._assignDefaults(l),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ur(1),xn(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const i=e.rootElementSelector,r=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),r&&!r.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let i=e;this.rootElementSelector&&(i=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):Ui(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const i=this._dir,r=this.dragStartDelay,o=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof r&&r?r:yl(r),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(a).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe(Ur(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains("cdk-drag")){e.withParent(n._dragInstances.find(r=>r.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(e){const{lockAxis:i,dragStartDelay:r,constrainPosition:o,previewClass:a,boundaryElement:l,draggingDisabled:d,rootElementSelector:h,previewContainer:p}=e;this.disabled=d??!1,this.dragStartDelay=r||0,i&&(this.lockAxis=i),o&&(this.constrainPosition=o),a&&(this.previewClass=a),l&&(this.boundaryElement=l),h&&(this.rootElementSelector=h),p&&(this.previewContainer=p)}_setupHandlesListener(){this._handles.changes.pipe(Fr(this._handles),fh(e=>{const i=e.filter(r=>r._parentDrag===this).map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),Cl(e=>oi(...e.map(i=>i._stateChanges.pipe(Fr(i))))),xn(this._destroyed)).subscribe(e=>{const i=this._dragRef,r=e.element.nativeElement;e.disabled?i.disableHandle(r):i.enableHandle(r)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(x(E),x(gS,12),x(fn),x(Ut),x(ur),x(pS,8),x(Or,8),x(PC),x(mi),x(BC,10),x(LC,12))},n.\u0275dir=y({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,i,r){if(1&e&&(Vn(r,yS,5),Vn(r,bS,5),Vn(r,BC,5)),2&e){let o;Tt(o=kt())&&(i._previewTemplate=o.first),Tt(o=kt())&&(i._placeholderTemplate=o.first),Tt(o=kt())&&(i._handles=o)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,i){2&e&&Xt("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Gt([{provide:LC,useExisting:n}]),zr]}),n})(),l8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:[PC],imports:[Sd]}),n})();const c8=["text"];function d8(n,t){if(1&n&&Ye(0,"mat-pseudo-checkbox",6),2&n){const e=Pe();W("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function u8(n,t){1&n&&Ye(0,"mat-pseudo-checkbox",7),2&n&&W("disabled",Pe().disabled)}function h8(n,t){if(1&n&&(T(0,"span",8),H(1),M()),2&n){const e=Pe();V(1),ds("(",e.group.label,")")}}const f8=[[["mat-icon"]],"*"],m8=["mat-icon","*"],g8=new De("mat-sanity-checks",{providedIn:"root",factory:function p8(){return!0}});let ni=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!vC()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(le(Kk),le(g8,8),le(fn))},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[dm,dm]}),n})();function Ad(n){return class extends n{get disabled(){return this._disabled}set disabled(t){this._disabled=St(t)}constructor(...t){super(...t),this._disabled=!1}}}function _h(n,t){return class extends n{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=t,this.color=t}}}function Kc(n){return class extends n{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=St(t)}constructor(...t){super(...t),this._disableRipple=!1}}}function gm(n,t=0){return class extends n{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?yl(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}}}function VC(n){return class extends n{updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}constructor(...t){super(...t),this.errorState=!1}}}let U_=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class b8{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const wS=ja({passive:!0,capture:!0});class y8{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=Ls(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,e,i,r){const o=this._events.get(e);if(o){const a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,wS)})}removeHandler(t,e,i){const r=this._events.get(t);if(!r)return;const o=r.get(e);o&&(o.delete(i),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,wS)))}}const DS={enterDuration:225,exitDuration:150},MS=ja({passive:!0,capture:!0}),ES=["mousedown","touchstart"],TS=["mouseup","mouseleave","touchend","touchcancel"];class bm{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Ui(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...DS,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const a=i.radius||function C8(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),l=t-r.left,d=e-r.top,h=o.enterDuration,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=l-a+"px",p.style.top=d-a+"px",p.style.height=2*a+"px",p.style.width=2*a+"px",null!=i.color&&(p.style.backgroundColor=i.color),p.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(p);const _=window.getComputedStyle(p),S=_.transitionDuration,R="none"===_.transitionProperty||"0s"===S||"0s, 0s"===S||0===r.width&&0===r.height,$=new b8(this,p,i,R);p.style.transform="scale3d(1, 1, 1)",$.state=0,i.persistent||(this._mostRecentTransientRipple=$);let Q=null;return!R&&(h||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const se=()=>this._finishRippleTransition($),Be=()=>this._destroyRipple($);p.addEventListener("transitionend",se),p.addEventListener("transitioncancel",Be),Q={onTransitionEnd:se,onTransitionCancel:Be}}),this._activeRipples.set($,Q),(R||!h)&&this._finishRippleTransition($),$}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...DS,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Ui(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,ES.forEach(i=>{bm._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{TS.forEach(e=>{this._triggerElement.addEventListener(e,this,MS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=N_(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(ES.forEach(e=>bm._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&TS.forEach(e=>t.removeEventListener(e,this,MS)))}}bm._eventManager=new y8;const HC=new De("mat-ripple-global-options");let go=(()=>{class n{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new bm(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ut),x(Ii),x(HC,8),x(hr,8))},n.\u0275dir=y({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Xt("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),Fd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[ni,ni]}),n})(),x8=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return n.\u0275fac=function(e){return new(e||n)(x(hr,8))},n.\u0275cmp=k({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&Xt("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal","minimal"===i.appearance)("mat-pseudo-checkbox-full","full"===i.appearance)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),n})(),w8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[ni]}),n})();const zC=new De("MAT_OPTION_PARENT_COMPONENT"),$C=new De("MatOptgroup");let D8=0;class kS{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let M8=(()=>{class n{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=St(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+D8++,this.onSelectionChange=new it,this._stateChanges=new Ie}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Ns(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new kS(this,e))}}return n.\u0275fac=function(e){Hu()},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&Zn(c8,7),2&e){let r;Tt(r=kt())&&(i._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),ym=(()=>{class n extends M8{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(zC,8),x($C,8))},n.\u0275cmp=k({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(e,i){1&e&&Me("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Os("id",i.id),hn("tabindex",i._getTabIndex())("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),Xt("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},exportAs:["matOption"],features:[dt],ngContentSelectors:m8,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(bi(f8),xe(0,d8,1,2,"mat-pseudo-checkbox",0),jt(1),T(2,"span",1,2),jt(4,1),M(),xe(5,u8,1,1,"mat-pseudo-checkbox",3),xe(6,h8,2,1,"span",4),Ye(7,"div",5)),2&e&&(W("ngIf",i.multiple),V(5),W("ngIf",!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator),V(1),W("ngIf",i.group&&i.group._inert),V(1),W("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[go,ji,x8],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),n})();function SS(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let a=0;ae+i?Math.max(0,n-i+t):e}let W_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[Fd,pl,ni,w8]}),n})();class jC{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class AS extends jC{constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class bh extends jC{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class E8 extends jC{constructor(t){super(),this.element=t instanceof E?t.nativeElement:t}}class FS{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof AS?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof bh?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof E8?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class T8 extends FS{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=a=>{const l=a.element,d=this._document.createComment("dom-portal");l.parentNode.insertBefore(d,l),this.outletElement.appendChild(l),this._attachedPortal=a,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(l,d)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Ra.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let k8=(()=>{class n extends bh{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(x(Ir),x(ur))},n.\u0275dir=y({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[dt]}),n})(),UC=(()=>{class n extends FS{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new it,this.attachDomPortal=o=>{const a=o.element,l=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(x(v),x(ur),x(fn))},n.\u0275dir=y({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[dt]}),n})(),OS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({}),n})();const RS=Ik();class I8{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=gr(-this._previousScrollPosition.left),t.style.top=gr(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),RS&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),RS&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class A8{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class PS{enable(){}disable(){}attach(){}}function WC(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function LS(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class F8{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();WC(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let O8=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new PS,this.close=a=>new A8(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new I8(this._viewportRuler,this._document),this.reposition=a=>new F8(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(le(uh),le(tc),le(Ut),le(fn))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class G_{constructor(t){if(this.scrollStrategy=new PS,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class R8{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let NS=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(le(fn))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),P8=(()=>{class n extends NS{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const l=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(r)):l.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(le(fn),le(Ut,8))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),L8=(()=>{class n extends NS{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ls(o)},this._clickListener=o=>{const a=Ls(o),l="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const d=this._attachedOverlays.slice();for(let h=d.length-1;h>-1;h--){const p=d[h];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(a)||p.overlayElement.contains(l))break;const _=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>_.next(o)):_.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(le(fn),le(Ii),le(Ut,8))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),BS=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||vC()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(_),this._backdropTransitionendHandler=_=>{this._disposeBackdrop(_.target)},this._keydownEvents=new Ie,this._outsidePointerEvents=new Ie,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ur(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=gr(this._config.width),t.height=gr(this._config.height),t.minWidth=gr(this._config.minWidth),t.minHeight=gr(this._config.minHeight),t.maxWidth=gr(this._config.maxWidth),t.maxHeight=gr(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=rm(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(xn(oi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const VS="cdk-overlay-connected-position-bounding-box",B8=/([A-Za-z%]+)$/;class V8{get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ie,this._resizeSubscription=te.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(VS),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let a;for(let l of this._preferredPositions){let d=this._getOriginPoint(t,r,l),h=this._getOverlayPoint(d,e,l),p=this._getOverlayFit(h,e,i,l);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(l,d);this._canFitWithFlexibleDimensions(p,h,i)?o.push({position:l,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,l)}):(!a||a.overlayFit.visibleAread&&(d=p,l=h)}return this._isPushed=!1,void this._applyPosition(l.position,l.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Od(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(VS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const a=this._isRtl()?t.right:t.left,l=this._isRtl()?t.left:t.right;r="start"==i.originX?a:l}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=zS(e);let{x:a,y:l}=t,d=this._getOffset(r,"x"),h=this._getOffset(r,"y");d&&(a+=d),h&&(l+=h);let w=0-l,S=l+o.height-i.height,R=this._subtractOverflows(o.width,0-a,a+o.width-i.width),$=this._subtractOverflows(o.height,w,S),Q=R*$;return{visibleArea:Q,isCompletelyWithinViewport:o.width*o.height===Q,fitsInViewportVertically:$===o.height,fitsInViewportHorizontally:R==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,a=HS(this._overlayRef.getConfig().minHeight),l=HS(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=a&&a<=r)&&(t.fitsInViewportHorizontally||null!=l&&l<=o)}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=zS(e),o=this._viewportRect,a=Math.max(t.x+r.width-o.width,0),l=Math.max(t.y+r.height-o.height,0),d=Math.max(o.top-i.top-t.y,0),h=Math.max(o.left-i.left-t.x,0);let p=0,_=0;return p=r.width<=o.width?h||-a:t.xR&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-R/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)w=i.width-t.x+this._viewportMargin,p=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)_=t.x,p=i.right-t.x;else{const S=Math.min(i.right-t.x+i.left,t.x),R=this._lastBoundingBoxSize.width;p=2*S,_=t.x-S,p>R&&!this._isInitialRender&&!this._growAfterOpen&&(_=t.x-R/2)}return{top:a,left:_,bottom:l,right:w,width:p,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=gr(i.height),r.top=gr(i.top),r.bottom=gr(i.bottom),r.width=gr(i.width),r.left=gr(i.left),r.right=gr(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=gr(o)),a&&(r.maxWidth=gr(a))}this._lastBoundingBoxSize=i,Od(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Od(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Od(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){const p=this._viewportRuler.getViewportScrollPosition();Od(i,this._getExactOverlayY(e,t,p)),Od(i,this._getExactOverlayX(e,t,p))}else i.position="static";let l="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(l+=`translateX(${d}px) `),h&&(l+=`translateY(${h}px)`),i.transform=l.trim(),a.maxHeight&&(r?i.maxHeight=gr(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=gr(a.maxWidth):o&&(i.maxWidth="")),Od(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=gr(o.y),r}_getExactOverlayX(t,e,i){let a,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===a?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=gr(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:LS(t,i),isOriginOutsideView:WC(t,i),isOverlayClipped:LS(e,i),isOverlayOutsideView:WC(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&rm(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof E)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function Od(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function HS(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(B8);return e&&"px"!==e?null:parseFloat(t)}return n||null}function zS(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const $S="cdk-global-overlay-wrapper";class H8{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add($S),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:l}=i,d=!("100%"!==r&&"100vw"!==r||a&&"100%"!==a&&"100vw"!==a),h=!("100%"!==o&&"100vh"!==o||l&&"100%"!==l&&"100vh"!==l),p=this._xPosition,_=this._xOffset,w="rtl"===this._overlayRef.getConfig().direction;let S="",R="",$="";d?$="flex-start":"center"===p?($="center",w?R=_:S=_):w?"left"===p||"end"===p?($="flex-end",S=_):("right"===p||"start"===p)&&($="flex-start",R=_):"left"===p||"start"===p?($="flex-start",S=_):("right"===p||"end"===p)&&($="flex-end",R=_),t.position=this._cssPosition,t.marginLeft=d?"0":S,t.marginTop=h?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=d?"0":R,e.justifyContent=$,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove($S),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let z8=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new H8}flexibleConnectedTo(e){return new V8(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(le(tc),le(fn),le(Ii),le(BS))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$8=0,xl=(()=>{class n{constructor(e,i,r,o,a,l,d,h,p,_,w,S){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=l,this._ngZone=d,this._document=h,this._directionality=p,this._location=_,this._outsideClickDispatcher=w,this._animationsModuleType=S}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),a=new G_(e);return a.direction=a.direction||this._directionality.value,new N8(o,i,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+$8++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Bf)),new T8(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(le(O8),le(BS),le(v),le(z8),le(P8),le(Ra),le(Ut),le(fn),le(Or),le(TM),le(L8),le(hr,8))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const j8=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],jS=new De("cdk-connected-overlay-scroll-strategy");let GC=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(x(E))},n.\u0275dir=y({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),n})(),US=(()=>{class n{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=St(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=St(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=St(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=St(e)}get push(){return this._push}set push(e){this._push=St(e)}constructor(e,i,r,o,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=te.EMPTY,this._attachSubscription=te.EMPTY,this._detachSubscription=te.EMPTY,this._positionSubscription=te.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new it,this.positionChange=new it,this.attach=new it,this.detach=new it,this.overlayKeydown=new it,this.overlayOutsideClick=new it,this._templatePortal=new bh(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=j8);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Ns(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new G_({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof GC?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function S8(n,t=!1){return qe((e,i)=>{let r=0;e.subscribe(It(i,o=>{const a=n(o,r++);(a||t)&&i.next(o),!a&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(x(xl),x(Ir),x(ur),x(jS),x(Or,8))},n.\u0275dir=y({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[zr]}),n})();const W8={provide:jS,deps:[xl],useFactory:function U8(n){return()=>n.scrollStrategies.reposition()}};let Y_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:[xl,W8],imports:[dm,OS,Ok,Ok]}),n})();function WS(n){return new be(t=>{vi(n()).subscribe(t)})}const G8=["matFormFieldNotchedOutline",""],Y8=["*"],Z8=["textField"],q8=["iconPrefixContainer"],K8=["textPrefixContainer"];function X8(n,t){1&n&&Ye(0,"span",19)}function Q8(n,t){if(1&n){const e=Bn();T(0,"label",17),Me("cdkObserveContent",function(){return Jt(e),pn(Pe(2)._refreshOutlineNotchWidth())}),jt(1,1),xe(2,X8,1,0,"span",18),M()}if(2&n){const e=Pe(2);W("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),hn("for",e._control.id)("aria-owns",e._control.id),V(2),W("ngIf",!e.hideRequiredMarker&&e._control.required)}}function J8(n,t){1&n&&xe(0,Q8,3,6,"label",16),2&n&&W("ngIf",Pe()._hasFloatingLabel())}function eH(n,t){1&n&&Ye(0,"div",20)}function tH(n,t){}function nH(n,t){1&n&&xe(0,tH,0,0,"ng-template",22),2&n&&(Pe(2),W("ngTemplateOutlet",$o(1)))}function iH(n,t){if(1&n&&(T(0,"div",21),xe(1,nH,1,1,"ng-template",9),M()),2&n){const e=Pe();W("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),V(1),W("ngIf",!e._forceDisplayInfixLabel())}}function rH(n,t){1&n&&(T(0,"div",23,24),jt(2,2),M())}function oH(n,t){1&n&&(T(0,"div",25,26),jt(2,3),M())}function sH(n,t){}function aH(n,t){1&n&&xe(0,sH,0,0,"ng-template",22),2&n&&(Pe(),W("ngTemplateOutlet",$o(1)))}function lH(n,t){1&n&&(T(0,"div",27),jt(1,4),M())}function cH(n,t){1&n&&(T(0,"div",28),jt(1,5),M())}function dH(n,t){1&n&&Ye(0,"div",29)}function uH(n,t){1&n&&(T(0,"div",30),jt(1,6),M()),2&n&&W("@transitionMessages",Pe()._subscriptAnimationState)}function hH(n,t){if(1&n&&(T(0,"mat-hint",34),H(1),M()),2&n){const e=Pe(2);W("id",e._hintLabelId),V(1),Tn(e.hintLabel)}}function fH(n,t){if(1&n&&(T(0,"div",31),xe(1,hH,2,2,"mat-hint",32),jt(2,7),Ye(3,"div",33),jt(4,8),M()),2&n){const e=Pe();W("@transitionMessages",e._subscriptAnimationState),V(1),W("ngIf",e.hintLabel)}}const mH=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],pH=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let _s=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-label"]]}),n})(),gH=0;const GS=new De("MatError");let Xc=(()=>{class n{constructor(e,i){this.id="mat-mdc-error-"+gH++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(Is("aria-live"),x(E))},n.\u0275dir=y({type:n,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,i){2&e&&Os("id",i.id)},inputs:{id:"id"},features:[Gt([{provide:GS,useExisting:n}])]}),n})(),_H=0,YS=(()=>{class n{constructor(){this.align="start",this.id="mat-mdc-hint-"+_H++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,i){2&e&&(Os("id",i.id),hn("align",null),Xt("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}}),n})();const bH=new De("MatPrefix"),yH=new De("MatSuffix");let ZS=(()=>{class n{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function vH(n){if(null!==n.offsetParent)return n.scrollWidth;const e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(x(E))},n.\u0275dir=y({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,i){2&e&&Xt("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating"}}),n})();const qS="mdc-line-ripple--active",Z_="mdc-line-ripple--deactivating";let KS=(()=>{class n{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,a=o.contains(Z_);"opacity"===r.propertyName&&a&&o.remove(qS,Z_)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(Z_),e.add(qS)}deactivate(){this._elementRef.nativeElement.classList.add(Z_)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ut))},n.\u0275dir=y({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),n})(),XS=(()=>{class n{constructor(e,i){this._elementRef=e,this._ngZone=i,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ut))},n.\u0275cmp=k({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,i){2&e&&Xt("mdc-notched-outline--notched",i.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:G8,ngContentSelectors:Y8,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,i){1&e&&(bi(),Ye(0,"div",0),T(1,"div",1),jt(2),M(),Ye(3,"div",2)),2&e&&(V(1),kf("width",i._getNotchWidth()))},encapsulation:2,changeDetection:0}),n})();const CH={transitionMessages:jc("transitionMessages",[gl("enter",Bi({opacity:1,transform:"translateY(0%)"})),fs("void => enter",[Bi({opacity:0,transform:"translateY(-5px)"}),hs("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let q_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n}),n})();const vm=new De("MatFormField"),xH=new De("MAT_FORM_FIELD_DEFAULT_OPTIONS");let QS=0,Bs=(()=>{class n{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=St(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,r,o,a,l,d,h){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=a,this._defaults=l,this._animationMode=d,this._document=h,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+QS++,this._hintLabelId="mat-mdc-hint-"+QS++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new Ie,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=Boolean(l?.hideRequiredMarker),l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(xn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),oi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(xn(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(xn(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,a=r?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+a}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(Ut),x(Or),x(Ii),x(xH,8),x(hr,8),x(fn))},n.\u0275cmp=k({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(1&e&&(Vn(r,_s,5),Vn(r,_s,7),Vn(r,q_,5),Vn(r,bH,5),Vn(r,yH,5),Vn(r,GS,5),Vn(r,YS,5)),2&e){let o;Tt(o=kt())&&(i._labelChildNonStatic=o.first),Tt(o=kt())&&(i._labelChildStatic=o.first),Tt(o=kt())&&(i._formFieldControl=o.first),Tt(o=kt())&&(i._prefixChildren=o),Tt(o=kt())&&(i._suffixChildren=o),Tt(o=kt())&&(i._errorChildren=o),Tt(o=kt())&&(i._hintChildren=o)}},viewQuery:function(e,i){if(1&e&&(Zn(Z8,5),Zn(q8,5),Zn(K8,5),Zn(ZS,5),Zn(XS,5),Zn(KS,5)),2&e){let r;Tt(r=kt())&&(i._textField=r.first),Tt(r=kt())&&(i._iconPrefixContainer=r.first),Tt(r=kt())&&(i._textPrefixContainer=r.first),Tt(r=kt())&&(i._floatingLabel=r.first),Tt(r=kt())&&(i._notchedOutline=r.first),Tt(r=kt())&&(i._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,i){2&e&&Xt("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===i._animationMode)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Gt([{provide:vm,useExisting:n}])],ngContentSelectors:pH,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,i){1&e&&(bi(mH),xe(0,J8,1,1,"ng-template",null,0,Mg),T(2,"div",1,2),Me("click",function(o){return i._control.onContainerClick&&i._control.onContainerClick(o)}),xe(4,eH,1,0,"div",3),T(5,"div",4),xe(6,iH,2,3,"div",5),xe(7,rH,3,0,"div",6),xe(8,oH,3,0,"div",7),T(9,"div",8),xe(10,aH,1,1,"ng-template",9),jt(11),M(),xe(12,lH,2,0,"div",10),xe(13,cH,2,0,"div",11),M(),xe(14,dH,1,0,"div",12),M(),T(15,"div",13),xe(16,uH,2,1,"div",14),xe(17,fH,5,2,"div",15),M()),2&e&&(V(2),Xt("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),V(2),W("ngIf",!i._hasOutline()&&!i._control.disabled),V(2),W("ngIf",i._hasOutline()),V(1),W("ngIf",i._hasIconPrefix),V(1),W("ngIf",i._hasTextPrefix),V(2),W("ngIf",!i._hasOutline()||i._forceDisplayInfixLabel()),V(2),W("ngIf",i._hasTextSuffix),V(1),W("ngIf",i._hasIconSuffix),V(1),W("ngIf",!i._hasOutline()),V(1),Xt("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing),W("ngSwitch",i._getDisplayedMessages()),V(1),W("ngSwitchCase","error"),V(1),W("ngSwitchCase","hint"))},dependencies:[ji,WM,oh,Ug,Nk,YS,ZS,XS,KS],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[CH.transitionMessages]},changeDetection:0}),n})(),K_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[ni,pl,MC,ni]}),n})();function tI(n,t){return t?e=>I_(t.pipe(Ur(1),function MH(){return qe((n,t)=>{n.subscribe(It(t,Et))})}()),e.pipe(tI(n))):Mo((e,i)=>vi(n(e,i)).pipe(Ur(1),function EH(n){return Pn(()=>n)}(e)))}function YC(n,t=am){const e=S_(n,t);return tI(()=>e)}const TH=["panel"];function kH(n,t){if(1&n&&(T(0,"div",0,1),jt(2),M()),2&n){const e=t.id,i=Pe();W("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),hn("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const SH=["*"],IH=jc("panelAnimation",[gl("void, hidden",Bi({opacity:0,transform:"scaleY(0.8)"})),fs(":enter, hidden => visible",[$N([hs("0.03s linear",Bi({opacity:1})),hs("0.12s cubic-bezier(0, 0, 0.2, 1)",Bi({transform:"scaleY(1)"}))])]),fs(":leave, visible => hidden",[hs("0.075s linear",Bi({opacity:0}))])]);let AH=0;class FH{constructor(t,e){this.source=t,this.option=e}}const OH=Kc(class{}),nI=new De("mat-autocomplete-default-options",{providedIn:"root",factory:function RH(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let PH=(()=>{class n extends OH{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=St(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=St(e)}set classList(e){this._classList=e&&e.length?function DV(n,t=/\s+/){const e=[];if(null!=n){const i=Array.isArray(n)?n:`${n}`.split(t);for(const r of i){const o=`${r}`.trim();o&&e.push(o)}}return e}(e).reduce((i,r)=>(i[r]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,i,r,o){super(),this._changeDetectorRef=e,this._elementRef=i,this._defaults=r,this._activeOptionChanges=te.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.optionSelected=new it,this.opened=new it,this.closed=new it,this.optionActivated=new it,this._classList={},this.id="mat-autocomplete-"+AH++,this.inertGroups=o?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new Wk(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new FH(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}}return n.\u0275fac=function(e){return new(e||n)(x(mi),x(E),x(nI),x(Ii))},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&(Zn(Ir,7),Zn(TH,5)),2&e){let r;Tt(r=kt())&&(i.template=r.first),Tt(r=kt())&&(i.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[dt]}),n})(),LH=(()=>{class n extends PH{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=St(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ui(n)))(i||n)}}(),n.\u0275cmp=k({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,i,r){if(1&e&&(Vn(r,$C,5),Vn(r,ym,5)),2&e){let o;Tt(o=kt())&&(i.optionGroups=o),Tt(o=kt())&&(i.options=o)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Gt([{provide:zC,useExisting:n}]),dt],ngContentSelectors:SH,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,i){1&e&&(bi(),xe(0,kH,3,5,"ng-template"))},dependencies:[rh],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[IH]},changeDetection:0}),n})();const NH={provide:Jr,useExisting:un(()=>rI),multi:!0},iI=new De("mat-autocomplete-scroll-strategy"),VH={provide:iI,deps:[xl],useFactory:function BH(n){return()=>n.scrollStrategies.reposition()}};let HH=(()=>{class n{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=St(e)}constructor(e,i,r,o,a,l,d,h,p,_,w){this._element=e,this._overlay=i,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=a,this._dir=d,this._formField=h,this._document=p,this._viewportRuler=_,this._defaults=w,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=te.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ie,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=WS(()=>{const S=this.autocomplete?this.autocomplete.options:null;return S?S.changes.pipe(Fr(S),Cl(()=>oi(...S.map(R=>R.onSelectionChange)))):this._zone.onStable.pipe(Ur(1),Cl(()=>this.optionSelections))}),this._scrollStrategy=l}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return oi(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(gs(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(gs(()=>this._overlayAttached)):ps()).pipe(Pn(e=>e instanceof kS?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return oi(vl(this._document,"click"),vl(this._document,"auxclick"),vl(this._document,"touchend")).pipe(gs(e=>{const i=Ls(e),r=this._formField?this._formField._elementRef.nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(i))&&(!o||!o.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode,r=Ns(e);if(27===i&&!r&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const o=this.autocomplete._keyManager.activeItem,a=38===i||40===i;9===i||a&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;"number"===i.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return oi(this._zone.onStable.pipe(Ur(1)),this.autocomplete.options.changes.pipe(fh(()=>this._positionStrategy.reapplyLastPosition()),YC(0))).pipe(Cl(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),Ur(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=e?e.source:this._pendingAutoselectedOption;i&&(this._clearPreviousSelectedOption(i),this._assignOptionValue(i.value),this._onChange(i.value),this.autocomplete._emitSelectEvent(i),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(i=>{i!==e&&i.selected&&i.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new bh(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new G_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let a;a="above"===this.position?o:"below"===this.position?i:[...i,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const i=this.autocomplete,r=SS(e,i.options,i.optionGroups);if(0===e&&1===r)i._setScrollTop(0);else if(i.panel){const o=i.options.toArray()[e];if(o){const a=o._getHostElement(),l=IS(a.offsetTop,a.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(l)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(i=>{(27===i.keyCode&&!Ns(i)||38===i.keyCode&&Ns(i,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),e.outsidePointerEvents().subscribe()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(xl),x(ur),x(Ut),x(mi),x(iI),x(Or,8),x(vm,9),x(fn,8),x(tc),x(nI,8))},n.\u0275dir=y({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[zr]}),n})(),rI=(()=>{class n extends HH{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ui(n)))(i||n)}}(),n.\u0275dir=y({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,i){1&e&&Me("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(o){return i._handleInput(o)})("keydown",function(o){return i._handleKeydown(o)})("click",function(){return i._handleClick()}),2&e&&hn("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-owns",i.autocompleteDisabled||!i.panelOpen||null==i.autocomplete?null:i.autocomplete.id)("aria-haspopup",i.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Gt([NH]),dt]}),n})(),zH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:[VH],imports:[Y_,W_,ni,pl,Sd,W_,ni]}),n})();const $H=["mat-button",""],ZC=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],qC=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],oI=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",jH=["mat-fab",""],sI=["mat-icon-button",""],UH=["*"],GH=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],YH=_h(Ad(Kc(class{constructor(n){this._elementRef=n}})));let X_=(()=>{class n extends YH{constructor(e,i,r,o){super(e),this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=_i(qc),this._isFab=!1;const a=e.nativeElement.classList;for(const l of GH)this._hasHostAttributes(l.selector)&&l.mdcClasses.forEach(d=>{a.add(d)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return n.\u0275fac=function(e){Hu()},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&Zn(go,5),2&e){let r;Tt(r=kt())&&(i.ripple=r.first)}},features:[dt]}),n})(),qH=(()=>{class n extends X_{constructor(e,i,r,o){super(e,i,r,o),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return n.\u0275fac=function(e){Hu()},n.\u0275dir=y({type:n,features:[dt]}),n})(),Zo=(()=>{class n extends X_{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ii),x(Ut),x(hr,8))},n.\u0275cmp=k({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(hn("disabled",i.disabled||null),Xt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[dt],attrs:$H,ngContentSelectors:qC,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(ZC),Ye(0,"span",0),jt(1),T(2,"span",1),jt(3,1),M(),jt(4,2),Ye(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Xt("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),V(6),W("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[go],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})();const KH=new De("mat-mdc-fab-default-options",{providedIn:"root",factory:aI});function aI(){return{color:"accent"}}const lI=aI();let Q_=(()=>{class n extends X_{get extended(){return this._extended}set extended(e){this._extended=St(e)}constructor(e,i,r,o,a){super(e,i,r,o),this._options=a,this._isFab=!0,this._options=this._options||lI,this.color=this.defaultColor=this._options.color||lI.color}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ii),x(Ut),x(hr,8),x(KH,8))},n.\u0275cmp=k({type:n,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(e,i){2&e&&(hn("disabled",i.disabled||null),Xt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0)("mdc-fab--extended",i.extended)("mat-mdc-extended-fab",i.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[dt],attrs:jH,ngContentSelectors:qC,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(ZC),Ye(0,"span",0),jt(1),T(2,"span",1),jt(3,1),M(),jt(4,2),Ye(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Xt("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),V(6),W("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[go],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),n})(),cI=(()=>{class n extends X_{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ii),x(Ut),x(hr,8))},n.\u0275cmp=k({type:n,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(hn("disabled",i.disabled||null),Xt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[dt],attrs:sI,ngContentSelectors:UH,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(),Ye(0,"span",0),jt(1),Ye(2,"span",1)(3,"span",2)(4,"span",3)),2&e&&(V(3),W("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[go],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',oI],encapsulation:2,changeDetection:0}),n})(),XH=(()=>{class n extends qH{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ii),x(Ut),x(hr,8))},n.\u0275cmp=k({type:n,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(e,i){2&e&&(hn("disabled",i.disabled||null)("tabindex",i.disabled?-1:i.tabIndex)("aria-disabled",i.disabled.toString()),Xt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[dt],attrs:sI,ngContentSelectors:qC,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(ZC),Ye(0,"span",0),jt(1),T(2,"span",1),jt(3,1),M(),jt(4,2),Ye(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Xt("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),V(6),W("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[go],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',oI],encapsulation:2,changeDetection:0}),n})(),QH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[ni,Fd,ni]}),n})();class dI{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ie,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t){if(this.compareWith){for(let e of this._selection)if(this.compareWith(t,e))return e;return t}return t}}const JH=["button"],e6=["*"],uI=new De("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),hI=new De("MatButtonToggleGroup"),t6={provide:Jr,useExisting:un(()=>pI),multi:!0};let fI=0;class mI{constructor(t,e){this.source=t,this.value=e}}let pI=(()=>{class n{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(e){this._vertical=St(e)}get value(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(i=>i.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=St(e),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=St(e),this._markButtonsForCheck()}constructor(e,i){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+fI++,this.valueChange=new it,this.change=new it,this.appearance=i&&i.appearance?i.appearance:"standard"}ngOnInit(){this._selectionModel=new dI(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(e){const i=new mI(e,this.value);this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,i,r=!1,o=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(e):this._selectionModel.deselect(e):o=!0,o?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>null!=e.value&&i===e.value):e.value===this._rawValue)}_setSelectionByValue(e){this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(i=>this._selectValue(i))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const i=this._buttonToggles.find(r=>null!=r.value&&r.value===e);i&&(i.checked=!0,this._selectionModel.select(i))}_updateModelValue(e,i){i&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(x(mi),x(uI,8))},n.\u0275dir=y({type:n,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,i,r){if(1&e&&Vn(r,gI,5),2&e){let o;Tt(o=kt())&&(i._buttonToggles=o)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,i){2&e&&(hn("aria-disabled",i.disabled),Xt("mat-button-toggle-vertical",i.vertical)("mat-button-toggle-group-appearance-standard","standard"===i.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Gt([t6,{provide:hI,useExisting:n}])]}),n})();const n6=Kc(class{});let gI=(()=>{class n extends n6{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){const i=St(e);i!==this._checked&&(this._checked=i,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=St(e)}constructor(e,i,r,o,a,l){super(),this._changeDetectorRef=i,this._elementRef=r,this._focusMonitor=o,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new it;const d=Number(a);this.tabIndex=d||0===d?d:null,this.buttonToggleGroup=e,this.appearance=l&&l.appearance?l.appearance:"standard"}ngOnInit(){const e=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+fI++,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){const e=!!this._isSingleSelector()||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new mI(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return n.\u0275fac=function(e){return new(e||n)(x(hI,8),x(mi),x(E),x(qc),Is("tabindex"),x(uI,8))},n.\u0275cmp=k({type:n,selectors:[["mat-button-toggle"]],viewQuery:function(e,i){if(1&e&&Zn(JH,5),2&e){let r;Tt(r=kt())&&(i._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,i){1&e&&Me("focus",function(){return i.focus()}),2&e&&(hn("aria-label",null)("aria-labelledby",null)("id",i.id)("name",null),Xt("mat-button-toggle-standalone",!i.buttonToggleGroup)("mat-button-toggle-checked",i.checked)("mat-button-toggle-disabled",i.disabled)("mat-button-toggle-appearance-standard","standard"===i.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[dt],ngContentSelectors:e6,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,i){if(1&e&&(bi(),T(0,"button",0,1),Me("click",function(){return i._onButtonClick()}),T(2,"span",2),jt(3),M()(),Ye(4,"span",3)(5,"span",4)),2&e){const r=$o(1);W("id",i.buttonId)("disabled",i.disabled||null),hn("tabindex",i.disabled?-1:i.tabIndex)("aria-pressed",i.checked)("name",i._getButtonName())("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby),V(5),W("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)}},dependencies:[go],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),n})(),i6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[ni,Fd,ni]}),n})();const r6=["*"],a6=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],l6=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],c6=new De("MAT_CARD_CONFIG");let Cm=(()=>{class n{constructor(e){this.appearance=e?.appearance||"raised"}}return n.\u0275fac=function(e){return new(e||n)(x(c6,8))},n.\u0275cmp=k({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(e,i){2&e&&Xt("mat-mdc-card-outlined","outlined"===i.appearance)("mdc-card--outlined","outlined"===i.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:r6,decls:1,vars:0,template:function(e,i){1&e&&(bi(),jt(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),n})(),xm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),n})(),wm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),n})(),Dm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),n})(),Mm=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(e,i){2&e&&Xt("mat-mdc-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n})(),Em=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=k({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:l6,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(e,i){1&e&&(bi(a6),jt(0),T(1,"div",0),jt(2,1),M(),jt(3,2))},encapsulation:2,changeDetection:0}),n})(),b6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[ni,pl,ni]}),n})();const y6=["input"],v6=["label"],C6=["*"],x6=new De("mat-checkbox-default-options",{providedIn:"root",factory:_I});function _I(){return{color:"accent",clickAction:"check-indeterminate"}}const w6={provide:Jr,useExisting:un(()=>yh),multi:!0};class D6{}let M6=0;const bI=_I(),E6=gm(_h(Kc(Ad(class{constructor(n){this._elementRef=n}}))));let T6=(()=>{class n extends E6{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=St(e)}constructor(e,i,r,o,a,l,d){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=l,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new it,this.indeterminateChange=new it,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||bI,this.color=this.defaultColor=this._options.color||bI.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++M6}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=St(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=St(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=St(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(i!==e&&r&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){Hu()},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&(Zn(y6,5),Zn(v6,5),Zn(go,5)),2&e){let r;Tt(r=kt())&&(i._inputElement=r.first),Tt(r=kt())&&(i._labelElement=r.first),Tt(r=kt())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[dt]}),n})(),yh=(()=>{class n extends T6{constructor(e,i,r,o,a,l){super("mat-mdc-checkbox-",e,i,r,o,a,l),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new D6;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(Ut),Is("tabindex"),x(hr,8),x(x6,8))},n.\u0275cmp=k({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(Os("id",i.id),hn("tabindex",null)("aria-label",null)("aria-labelledby",null),Xt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Gt([w6]),dt],ngContentSelectors:C6,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(e,i){if(1&e&&(bi(),T(0,"div",0),Me("click",function(o){return i._preventBubblingFromLabel(o)}),T(1,"div",1,2)(3,"div",3),Me("click",function(){return i._onTouchTargetClick()}),M(),T(4,"input",4,5),Me("blur",function(){return i._onBlur()})("click",function(){return i._onInputClick()})("change",function(o){return i._onInteractionEvent(o)}),M(),Ye(6,"div",6),T(7,"div",7),nl(),T(8,"svg",8),Ye(9,"path",9),M(),Jd(),Ye(10,"div",10),M(),Ye(11,"div",11),M(),T(12,"label",12,13),jt(14),M()()),2&e){const r=$o(2);Xt("mdc-form-field--align-end","before"==i.labelPosition),V(4),Xt("mdc-checkbox--selected",i.checked),W("checked",i.checked)("disabled",i.disabled)("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex),hn("aria-checked",i._getAriaChecked())("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("name",i.name)("value",i.value),V(7),W("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),V(1),W("for",i.inputId)}},dependencies:[go],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),yI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({}),n})(),I6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[ni,Fd,yI,ni,yI]}),n})();function A6(n,t){1&n&&(T(0,"span",8),jt(1,1),M())}function F6(n,t){1&n&&(T(0,"span",9),jt(1,2),M())}const vI=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],CI=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function P6(n,t){if(1&n&&(jo(0),Ye(1,"span",9)(2,"span",10),Uo()),2&n){const e=Pe();V(1),W("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e._isRippleCentered)("matRippleTrigger",e._elementRef.nativeElement)}}function L6(n,t){1&n&&(T(0,"span",11),jt(1),M())}function N6(n,t){1&n&&(jo(0),jt(1,1),Uo())}function B6(n,t){1&n&&jt(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function V6(n,t){1&n&&Ye(0,"span",14)}function H6(n,t){if(1&n&&(jo(0),xe(1,B6,1,0,"ng-content",12),xe(2,V6,1,0,"ng-template",null,13,Mg),Uo()),2&n){const e=$o(3),i=Pe();V(1),W("ngIf",i.contentEditInput)("ngIfElse",e)}}function z6(n,t){1&n&&(T(0,"span",15),jt(1,3),M())}const $6=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],j6=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],KC=["*"],J_=new De("mat-chips-default-options"),XC=new De("MatChipAvatar"),QC=new De("MatChipTrailingIcon"),JC=new De("MatChipRemove"),eb=new De("MatChip");class U6{}const W6=gm(U6,-1);let vh=(()=>{class n extends W6{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=St(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,i){super(),this._elementRef=e,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(eb))},n.\u0275dir=y({type:n,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,i){1&e&&Me("click",function(o){return i._handleClick(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(hn("tabindex",i._getTabindex())("disabled",i._getDisabledAttribute())("aria-disabled",i.disabled),Xt("mdc-evolution-chip__action--primary",i._isPrimary)("mdc-evolution-chip__action--presentational",!i.isInteractive)("mdc-evolution-chip__action--trailing",!i._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[dt]}),n})(),DI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[Gt([{provide:XC,useExisting:n}])]}),n})(),MI=(()=>{class n extends vh{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ui(n)))(i||n)}}(),n.\u0275dir=y({type:n,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,i){2&e&&hn("aria-hidden",null)},features:[Gt([{provide:JC,useExisting:n}]),dt]}),n})(),Y6=0;const Z6=gm(_h(Kc(Ad(class{constructor(n){this._elementRef=n}})),"primary"),-1);let Rd=(()=>{class n extends Z6{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=St(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=St(e)}constructor(e,i,r,o,a,l,d,h){super(i),this._changeDetectorRef=e,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=d,this._isRippleCentered=!1,this._onFocus=new Ie,this._onBlur=new Ie,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+Y6++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new it,this.destroyed=new it,this.basicChipAttrName="mat-basic-chip";const p=i.nativeElement;this._document=a,this._animationsDisabled="NoopAnimations"===l,this._isBasicChip=p.hasAttribute(this.basicChipAttrName)||p.tagName.toLowerCase()===this.basicChipAttrName,null!=h&&(this.tabIndex=parseInt(h)??this.defaultTabIndex),this._monitorFocus()}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=oi(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{const r=i._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=null!==e;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(Ur(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return n.\u0275fac=function(e){return new(e||n)(x(mi),x(E),x(Ut),x(qc),x(fn),x(hr,8),x(HC,8),Is("tabindex"))},n.\u0275cmp=k({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,i,r){if(1&e&&(Vn(r,XC,5),Vn(r,QC,5),Vn(r,JC,5),Vn(r,XC,5),Vn(r,QC,5),Vn(r,JC,5)),2&e){let o;Tt(o=kt())&&(i.leadingIcon=o.first),Tt(o=kt())&&(i.trailingIcon=o.first),Tt(o=kt())&&(i.removeIcon=o.first),Tt(o=kt())&&(i._allLeadingIcons=o),Tt(o=kt())&&(i._allTrailingIcons=o),Tt(o=kt())&&(i._allRemoveIcons=o)}},viewQuery:function(e,i){if(1&e&&(Zn(go,5),Zn(vh,5)),2&e){let r;Tt(r=kt())&&(i.ripple=r.first),Tt(r=kt())&&(i.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(e,i){1&e&&Me("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Os("id",i.id),hn("role",i.role)("tabindex",i.role?i.tabIndex:null)("aria-label",i.ariaLabel),Xt("mdc-evolution-chip",!i._isBasicChip)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-basic-chip",i._isBasicChip)("mat-mdc-standard-chip",!i._isBasicChip)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon())("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Gt([{provide:eb,useExisting:n}]),dt],ngContentSelectors:CI,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(bi(vI),Ye(0,"span",0)(1,"span",1),T(2,"span",2)(3,"span",3),xe(4,A6,2,0,"span",4),T(5,"span",5),jt(6),Ye(7,"span",6),M()()(),xe(8,F6,2,0,"span",7)),2&e&&(W("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i._isRippleCentered)("matRippleTrigger",i._elementRef.nativeElement),V(3),W("isInteractive",!1),V(1),W("ngIf",i.leadingIcon),V(4),W("ngIf",i._hasTrailingIcon()))},dependencies:[ji,go,vh],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),tb=(()=>{class n{constructor(e,i){this._elementRef=e,this._document=i}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);const i=window.getSelection();i.removeAllRanges(),i.addRange(e)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(fn))},n.\u0275dir=y({type:n,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),n})(),ex=(()=>{class n extends Rd{constructor(e,i,r,o,a,l,d,h){super(e,i,r,o,a,l,d,h),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new it,this._isEditing=!1,this.role="row",this._onBlur.pipe(xn(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(e){this._isEditing||(this.disabled||this.focus(),e.preventDefault())}_handleKeydown(e){13!==e.keyCode||this.disabled?this._isEditing?e.stopPropagation():super._handleKeydown(e):this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e)}_doubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;const i=this.value;this._isEditing=!0,this._editStartPending=!0,setTimeout(()=>{this._getEditInput().initialize(i),this._editStartPending=!1})}_onEditFinish(){this._isEditing=!1,this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return n.\u0275fac=function(e){return new(e||n)(x(mi),x(E),x(Ut),x(qc),x(fn),x(hr,8),x(HC,8),Is("tabindex"))},n.\u0275cmp=k({type:n,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(e,i,r){if(1&e&&Vn(r,tb,5),2&e){let o;Tt(o=kt())&&(i.contentEditInput=o.first)}},viewQuery:function(e,i){if(1&e&&Zn(tb,5),2&e){let r;Tt(r=kt())&&(i.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(e,i){1&e&&Me("mousedown",function(o){return i._mousedown(o)})("dblclick",function(o){return i._doubleclick(o)}),2&e&&(Os("id",i.id),hn("tabindex",null)("aria-label",null)("aria-description",null)("role",i.role),Xt("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-chip-editing",i._isEditing)("mat-mdc-chip-editable",i.editable)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Gt([{provide:Rd,useExisting:n},{provide:eb,useExisting:n}]),dt],ngContentSelectors:j6,decls:11,vars:13,consts:[[4,"ngIf"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(bi($6),xe(0,P6,3,3,"ng-container",0),T(1,"span",1)(2,"span",2),xe(3,L6,2,0,"span",3),T(4,"span",4),xe(5,N6,2,0,"ng-container",5),xe(6,H6,4,2,"ng-container",5),Ye(7,"span",6),M()()(),xe(8,z6,2,0,"span",7),T(9,"span",8),H(10),M()),2&e&&(W("ngIf",!i._isEditing),V(2),W("tabIndex",i.tabIndex)("disabled",i.disabled),hn("role",i.editable?"button":null)("aria-label",i.ariaLabel)("aria-describedby",i._ariaDescriptionId),V(1),W("ngIf",i.leadingIcon),V(1),W("ngSwitch",i._isEditing),V(1),W("ngSwitchCase",!1),V(1),W("ngSwitchCase",!0),V(2),W("ngIf",i._hasTrailingIcon()),V(1),W("id",i._ariaDescriptionId),V(1),Tn(i.ariaDescription))},dependencies:[ji,oh,Ug,go,vh,tb],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})();class q6{constructor(t){}}const K6=gm(q6);let nb=(()=>{class n extends K6{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=St(e),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,i,r){super(e),this._elementRef=e,this._changeDetectorRef=i,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new Ie,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new Hc}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis.tabIndex=e)}}_getChipStream(e){return this._chips.changes.pipe(Fr(null),Cl(()=>oi(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList&&i.classList.contains("mdc-evolution-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Fr(this._chips)).subscribe(e=>{const i=[];e.forEach(r=>r._getActions().forEach(o=>i.push(o))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new kC(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(xn(this._destroyed)).subscribe(({chip:e})=>{const i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(xn(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Fr(null),xn(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(xn(this._destroyed)).subscribe(e=>{const r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(Or,8))},n.\u0275cmp=k({type:n,selectors:[["mat-chip-set"]],contentQueries:function(e,i,r){if(1&e&&Vn(r,Rd,5),2&e){let o;Tt(o=kt())&&(i._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,i){1&e&&Me("keydown",function(o){return i._handleKeydown(o)}),2&e&&hn("role",i.role)},inputs:{disabled:"disabled",role:"role"},features:[dt],ngContentSelectors:KC,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(bi(),T(0,"div",0),jt(1),M())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})();class J6{constructor(t,e){this.source=t,this.value=e}}class ez extends nb{constructor(t,e,i,r,o,a,l){super(t,e,i),this._defaultErrorStateMatcher=r,this._parentForm=o,this._parentFormGroup=a,this.ngControl=l,this.stateChanges=new Ie}}const tz=VC(ez);let kI=(()=>{class n extends tz{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=St(e),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(ai.required)??!1}set required(e){this._required=St(e),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}constructor(e,i,r,o,a,l,d){super(e,i,r,l,o,a,d),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new it,this.valueChange=new it,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(xn(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),oi(this.chipFocusChanges,this._chips.changes).pipe(xn(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){9===e.keyCode?this._chipInput.focused&&Ns(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(e),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const e=this._chips.length?this._chips.toArray().map(i=>i.value):[];this._value=e,this.change.emit(new J6(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(Or,8),x(lh,8),x(ms,8),x(U_),x(Ha,10))},n.\u0275cmp=k({type:n,selectors:[["mat-chip-grid"]],contentQueries:function(e,i,r){if(1&e&&Vn(r,ex,5),2&e){let o;Tt(o=kt())&&(i._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(e,i){1&e&&Me("focus",function(){return i.focus()})("blur",function(){return i._blur()}),2&e&&(Os("tabIndex",i._chips&&0===i._chips.length?-1:i.tabIndex),hn("role",i.role)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState),Xt("mat-mdc-chip-list-disabled",i.disabled)("mat-mdc-chip-list-invalid",i.errorState)("mat-mdc-chip-list-required",i.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Gt([{provide:q_,useExisting:n}]),dt],ngContentSelectors:KC,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(bi(),T(0,"div",0),jt(1),M())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})(),nz=0,SI=(()=>{class n{set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=St(e)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=St(e)}get empty(){return!this.inputElement.value}constructor(e,i,r){this._elementRef=e,this._defaultOptions=i,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new it,this.placeholder="",this.id="mat-mdc-chip-list-input-"+nz++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,r&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(e){const i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Ns(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(J_),x(vm,8))},n.\u0275dir=y({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(e,i){1&e&&Me("keydown",function(o){return i._keydown(o)})("keyup",function(o){return i._keyup(o)})("blur",function(){return i._blur()})("focus",function(){return i._focus()})("input",function(){return i._onInput()}),2&e&&(Os("id",i.id),hn("disabled",i.disabled||null)("placeholder",i.placeholder||null)("aria-invalid",i._chipGrid&&i._chipGrid.ngControl?i._chipGrid.ngControl.invalid:null)("aria-required",i._chipGrid&&i._chipGrid.required||null)("required",i._chipGrid&&i._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[zr]}),n})(),iz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:[U_,{provide:J_,useValue:{separatorKeyCodes:[13]}}],imports:[ni,pl,Fd,ni]}),n})();function tx(n){return qe((t,e)=>{let o,i=null,r=!1;i=t.subscribe(It(e,void 0,void 0,a=>{o=vi(n(a,tx(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}const sz=["*"];let ib;function Tm(n){return function az(){if(void 0===ib&&(ib=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(ib=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return ib}()?.createHTML(n)||n}function II(n){return Error(`Unable to find icon with the name "${n}"`)}function AI(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function FI(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Pd{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let km=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Pd(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const a=this._sanitizer.sanitize(Gn.HTML,r);if(!a)throw FI(r);const l=Tm(a);return this._addSvgIconConfig(e,i,new Pd("",l,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Pd(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(Gn.HTML,i);if(!o)throw FI(i);const a=Tm(o);return this._addSvgIconSetConfig(e,new Pd("",a,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(Gn.RESOURCE_URL,e);if(!i)throw AI(e);const r=this._cachedIconsByUrl.get(i);return r?ps(rb(r)):this._loadSvgIconFromConfig(new Pd(e,null)).pipe(fh(o=>this._cachedIconsByUrl.set(i,o)),Pn(o=>rb(o)))}getNamedSvgIcon(e,i=""){const r=OI(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):function rz(n,t){const e=q(n)?n:()=>n,i=r=>r.error(e());return new be(t?r=>t.schedule(i,0,r):i)}(II(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ps(rb(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Pn(i=>rb(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?ps(r):uT(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(tx(l=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(Gn.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(h)),ps(null)})))).pipe(Pn(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw II(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(o),l=this._extractSvgIconFromSet(a,e,o.options);if(l)return l}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(fh(i=>e.svgText=i),Pn(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ps(null):this._fetchIcon(e).pipe(fh(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const a=o.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,r);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),r);const l=this._svgElementFromString(Tm(""));return l.appendChild(a),this._setSvgAttributes(l,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(Tm("")),r=e.attributes;for(let o=0;oTm(h)),function oz(n){return qe((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}(()=>this._inProgressUrlFetches.delete(a)),Gs());return this._inProgressUrlFetches.set(a,d),d}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(OI(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),RI=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],pz=RI.map(n=>`[${n}]`).join(", "),gz=/^url\(['"]?#(.*?)['"]?\)$/;let nc=(()=>{class n extends uz{get inline(){return this._inline}set inline(e){this._inline=St(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,o,a,l){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=te.EMPTY,l&&(l.color&&(this.color=this.defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(pz),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const l=i[o],d=l.getAttribute(a),h=d?d.match(gz):null;if(h){let p=r.get(l);p||(p=[],r.set(l,p)),p.push({name:a,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Ur(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(km),Is("aria-hidden"),x(fz),x(Xe),x(hz,8))},n.\u0275cmp=k({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(hn("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Xt("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[dt],ngContentSelectors:sz,decls:1,vars:0,template:function(e,i){1&e&&(bi(),jt(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),_z=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[ni,ni]}),n})();const PI=ja({passive:!0});let bz=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Wn;const i=Ui(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new Ie,a="cdk-text-field-autofilled",l=d=>{"cdk-text-field-autofill-start"!==d.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===d.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:d.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>o.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,PI),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",l,PI)}}),o}stopMonitoring(e){const i=Ui(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(le(Ii),le(Ut))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({}),n})();const vz=new De("MAT_INPUT_VALUE_ACCESSOR"),Cz=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let xz=0;const wz=VC(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new Ie}});let wl=(()=>{class n extends wz{get disabled(){return this._disabled}set disabled(e){this._disabled=St(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(ai.required)??!1}set required(e){this._required=St(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Sk().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=St(e)}constructor(e,i,r,o,a,l,d,h,p,_){super(l,o,a,r),this._elementRef=e,this._platform=i,this._autofillMonitor=h,this._formField=_,this._uid="mat-input-"+xz++,this.focused=!1,this.stateChanges=new Ie,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(R=>Sk().has(R)),this._iOSKeyupListener=R=>{const $=R.target;!$.value&&0===$.selectionStart&&0===$.selectionEnd&&($.setSelectionRange(1,1),$.setSelectionRange(0,0))};const w=this._elementRef.nativeElement,S=w.nodeName.toLowerCase();this._inputValueAccessor=d||w,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===S,this._isTextarea="textarea"===S,this._isInFormField=!!_,this._isNativeSelect&&(this.controlType=w.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Cz.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ii),x(Ha,10),x(lh,8),x(ms,8),x(U_),x(vz,10),x(bz),x(Ut),x(vm,8))},n.\u0275dir=y({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,i){1&e&&Me("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Os("id",i.id)("disabled",i.disabled)("required",i.required),hn("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),Xt("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Gt([{provide:q_,useExisting:n}]),dt,zr]}),n})(),Dz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[ni,K_,K_,yz,ni]}),n})();const Mz=["mat-menu-item",""];function Ez(n,t){1&n&&(nl(),T(0,"svg",3),Ye(1,"polygon",4),M())}const Tz=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],kz=["mat-icon, [matMenuItemIcon]","*"];function Sz(n,t){if(1&n){const e=Bn();T(0,"div",0),Me("keydown",function(r){return Jt(e),pn(Pe()._handleKeydown(r))})("click",function(){return Jt(e),pn(Pe().closed.emit("click"))})("@transformMenu.start",function(r){return Jt(e),pn(Pe()._onAnimationStart(r))})("@transformMenu.done",function(r){return Jt(e),pn(Pe()._onAnimationDone(r))}),T(1,"div",1),jt(2),M()()}if(2&n){const e=Pe();W("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),hn("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const Iz=["*"],nx=new De("MAT_MENU_PANEL"),Az=Kc(Ad(class{}));let ob=(()=>{class n extends Az{constructor(e,i,r,o,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new Ie,this._focused=new Ie,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",hs("120ms cubic-bezier(0, 0, 0.2, 1)",Bi({opacity:1,transform:"scale(1)"}))),fs("* => void",hs("100ms 25ms linear",Bi({opacity:0})))]),fadeInItems:jc("fadeInItems",[gl("showing",Bi({opacity:1})),fs("void => *",[Bi({opacity:0}),hs("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Oz=0;const LI=new De("mat-menu-default-options",{providedIn:"root",factory:function Rz(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Sm=(()=>{class n{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=St(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=St(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._defaultOptions=r,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Hc,this._classList={},this._panelAnimationState="void",this._animationDone=new Ie,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new it,this.close=this.closed,this.panelId="mat-menu-panel-"+Oz++}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new kC(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Fr(this._directDescendantItems),Cl(e=>oi(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Fr(this._directDescendantItems),Cl(i=>oi(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:Ns(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Ur(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===i,r["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Fr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ut),x(LI),x(mi))},n.\u0275dir=y({type:n,contentQueries:function(e,i,r){if(1&e&&(Vn(r,Fz,5),Vn(r,ob,5),Vn(r,ob,4)),2&e){let o;Tt(o=kt())&&(i.lazyContent=o.first),Tt(o=kt())&&(i._allItems=o),Tt(o=kt())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&Zn(Ir,5),2&e){let r;Tt(r=kt())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Pz=(()=>{class n extends Sm{constructor(e,i,r,o){super(e,i,r,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ut),x(LI),x(mi))},n.\u0275cmp=k({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&hn("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Gt([{provide:nx,useExisting:n}]),dt],ngContentSelectors:Iz,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,i){1&e&&(bi(),xe(0,Sz,3,6,"ng-template"))},dependencies:[rh],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[sb.transformMenu,sb.fadeInItems]},changeDetection:0}),n})();const NI=new De("mat-menu-scroll-strategy"),Nz={provide:NI,deps:[xl],useFactory:function Lz(n){return()=>n.scrollStrategies.reposition()}},BI=ja({passive:!0});let Bz=(()=>{class n{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,r,o,a,l,d,h,p){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=l,this._dir=d,this._focusMonitor=h,this._ngZone=p,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=te.EMPTY,this._hoverSubscription=te.EMPTY,this._menuCloseSubscription=te.EMPTY,this._changeDetectorRef=_i(mi),this._handleTouchStart=_=>{B_(_)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new it,this.onMenuOpen=this.menuOpened,this.menuClosed=new it,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof Sm?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,BI)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,BI),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Sm&&(e._startAnimation(),e._directDescendantItems.changes.pipe(xn(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Sm?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(gs(r=>"void"===r.toState),Ur(1),xn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,r=e.parentMenu;for(;r;)i++,r=r.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new G_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{const o="start"===r.connectionPair.overlayX?"after":"before",a="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,i){let[r,o]="before"===e.xPosition?["end","start"]:["start","end"],[a,l]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[d,h]=[a,l],[p,_]=[r,o],w=0;if(this.triggersSubmenu()){if(_=r="before"===e.xPosition?"start":"end",o=p="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const S=this._parentMaterialMenu.items.first;this._parentInnerPadding=S?S._getHostElement().offsetTop:0}w="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(d="top"===a?"bottom":"top",h="top"===l?"bottom":"top");i.withPositions([{originX:r,originY:d,overlayX:p,overlayY:a,offsetY:w},{originX:o,originY:d,overlayX:_,overlayY:a,offsetY:w},{originX:r,originY:h,overlayX:p,overlayY:l,offsetY:-w},{originX:o,originY:h,overlayX:_,overlayY:l,offsetY:-w}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return oi(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:ps(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(gs(a=>a!==this._menuItemInstance),gs(()=>this._menuOpen)):ps(),i)}_handleMousedown(e){N_(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(gs(e=>e===this._menuItemInstance&&!e.disabled),YC(0,pC)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Sm&&this.menu._isAnimating?this.menu._animationDone.pipe(Ur(1),YC(0,pC),xn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new bh(e.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(x(xl),x(E),x(ur),x(NI),x(nx,8),x(ob,10),x(Or,8),x(qc),x(Ut))},n.\u0275dir=y({type:n,hostVars:3,hostBindings:function(e,i){1&e&&Me("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&hn("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),Vz=(()=>{class n extends Bz{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ui(n)))(i||n)}}(),n.\u0275dir=y({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[dt]}),n})(),Hz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:[Nz],imports:[pl,Fd,ni,Y_,Sd,ni]}),n})();const zz=["trigger"],$z=["panel"];function jz(n,t){if(1&n&&(T(0,"span",10),H(1),M()),2&n){const e=Pe();V(1),Tn(e.placeholder)}}function Uz(n,t){if(1&n&&(T(0,"span",14),H(1),M()),2&n){const e=Pe(2);V(1),Tn(e.triggerValue)}}function Wz(n,t){1&n&&jt(0,0,["*ngSwitchCase","true"])}function Gz(n,t){1&n&&(T(0,"span",11),xe(1,Uz,2,1,"span",12),xe(2,Wz,1,0,"ng-content",13),M()),2&n&&(W("ngSwitch",!!Pe().customTrigger),V(2),W("ngSwitchCase",!0))}function Yz(n,t){if(1&n){const e=Bn();nl(),Jd(),T(0,"div",15,16),Me("@transformPanel.done",function(r){return Jt(e),pn(Pe()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return Jt(e),pn(Pe()._handleKeydown(r))}),jt(2,1),M()}if(2&n){const e=Pe();v1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),W("ngClass",e.panelClass)("@transformPanel","showing"),hn("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const Zz=[[["mat-select-trigger"]],"*"],qz=["mat-select-trigger","*"],Kz={transformPanelWrap:jc("transformPanelWrap",[fs("* => void",UN("@transformPanel",[jN()],{optional:!0}))]),transformPanel:jc("transformPanel",[gl("void",Bi({opacity:0,transform:"scale(1, 0.8)"})),fs("void => showing",hs("120ms cubic-bezier(0, 0, 0.2, 1)",Bi({opacity:1,transform:"scale(1, 1)"}))),fs("* => void",hs("100ms linear",Bi({opacity:0})))])};let VI=0;const HI=new De("mat-select-scroll-strategy"),Qz=new De("MAT_SELECT_CONFIG"),Jz={provide:HI,deps:[xl],useFactory:function Xz(n){return()=>n.scrollStrategies.reposition()}},e$=new De("MatSelectTrigger");class t${constructor(t,e){this.source=t,this.value=e}}const n$=Kc(gm(Ad(VC(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new Ie}}))));let i$=(()=>{class n extends n${get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(ai.required)??!1}set required(e){this._required=St(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=St(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=St(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=yl(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,i,r,o,a,l,d,h,p,_,w,S,R,$){super(a,o,d,h,_),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=l,this._parentFormField=p,this._liveAnnouncer=R,this._defaultOptions=$,this._panelOpen=!1,this._compareWith=(Q,se)=>Q===se,this._uid="mat-select-"+VI++,this._triggerAriaLabelledBy=null,this._destroy=new Ie,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+VI++,this._panelDoneAnimatingStream=new Ie,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=WS(()=>{const Q=this.options;return Q?Q.changes.pipe(Fr(Q),Cl(()=>oi(...Q.map(se=>se.onSelectionChange)))):this._ngZone.onStable.pipe(Ur(1),Cl(()=>this.optionSelectionChanges))}),this.openedChange=new it,this._openedStream=this.openedChange.pipe(gs(Q=>Q),Pn(()=>{})),this._closedStream=this.openedChange.pipe(gs(Q=>!Q),Pn(()=>{})),this.selectionChange=new it,this.valueChange=new it,this.ngControl&&(this.ngControl.valueAccessor=this),null!=$?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=$.typeaheadDebounceInterval),this._scrollStrategyFactory=S,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(w)||0,this.id=this.id}ngOnInit(){this._selectionModel=new dI(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(DC(),xn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(xn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Fr(null),xn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&o&&!Ns(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const l=this.selected;a.onKeydown(e);const d=this.selected;d&&l!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(a||13!==r&&32!==r||!i.activeItem||Ns(e))if(!a&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const l=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(l?d.select():d.deselect())})}else{const l=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ur(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new Wk(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=oi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(xn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),oi(...this.options.map(i=>i._stateChanges)).pipe(xn(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(x(tc),x(mi),x(Ut),x(U_),x(E),x(Or,8),x(lh,8),x(ms,8),x(vm,8),x(Ha,10),Is("tabindex"),x(HI),x(j4),x(Qz,8))},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&(Zn(zz,5),Zn($z,5),Zn(US,5)),2&e){let r;Tt(r=kt())&&(i.trigger=r.first),Tt(r=kt())&&(i.panel=r.first),Tt(r=kt())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[dt,zr]}),n})(),zI=(()=>{class n extends i${constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(xn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const r=this.panel.nativeElement,o=SS(e,this.options,this.optionGroups),a=i._getHostElement();r.scrollTop=0===e&&1===o?0:IS(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new t$(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof GC?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=St(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ui(n)))(i||n)}}(),n.\u0275cmp=k({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Vn(r,e$,5),Vn(r,ym,5),Vn(r,$C,5)),2&e){let o;Tt(o=kt())&&(i.customTrigger=o.first),Tt(o=kt())&&(i.options=o),Tt(o=kt())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,i){1&e&&Me("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(hn("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),Xt("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Gt([{provide:q_,useExisting:n},{provide:zC,useExisting:n}]),dt],ngContentSelectors:qz,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(bi(Zz),T(0,"div",0,1),Me("click",function(){return i.toggle()}),T(3,"div",2),xe(4,jz,2,1,"span",3),xe(5,Gz,3,2,"span",4),M(),T(6,"div",5)(7,"div",6),nl(),T(8,"svg",7),Ye(9,"path",8),M()()()(),xe(10,Yz,3,9,"ng-template",9),Me("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=$o(1);hn("aria-owns",i.panelOpen?i.id+"-panel":null),V(3),W("ngSwitch",i.empty),hn("id",i._valueId),V(1),W("ngSwitchCase",!0),V(1),W("ngSwitchCase",!1),V(5),W("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[rh,oh,Ug,jM,US,GC],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Kz.transformPanel]},changeDetection:0}),n})(),r$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:[Jz],imports:[pl,Y_,W_,ni,Sd,K_,W_,ni]}),n})();function o$(n,t){}const s$=function(n){return{animationDuration:n}},a$=function(n,t){return{value:n,params:t}};function l$(n,t){1&n&&jt(0)}const $I=["*"],c$=["tabListContainer"],d$=["tabList"],u$=["tabListInner"],h$=["nextPaginator"],f$=["previousPaginator"],m$=["tabBodyWrapper"],p$=["tabHeader"];function g$(n,t){}function _$(n,t){1&n&&xe(0,g$,0,0,"ng-template",14),2&n&&W("cdkPortalOutlet",Pe().$implicit.templateLabel)}function b$(n,t){1&n&&H(0),2&n&&Tn(Pe().$implicit.textLabel)}function y$(n,t){if(1&n){const e=Bn();T(0,"div",6,7),Me("click",function(){const r=Jt(e),o=r.$implicit,a=r.index,l=Pe(),d=$o(1);return pn(l._handleClick(o,d,a))})("cdkFocusChange",function(r){const a=Jt(e).index;return pn(Pe()._tabFocusChanged(r,a))}),Ye(2,"span",8)(3,"div",9),T(4,"span",10)(5,"span",11),xe(6,_$,1,1,"ng-template",12),xe(7,b$,1,1,"ng-template",null,13,Mg),M()()()}if(2&n){const e=t.$implicit,i=t.index,r=$o(1),o=$o(8),a=Pe();Xt("mdc-tab--active",a.selectedIndex===i),W("id",a._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),hn("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),V(3),W("matRippleTrigger",r)("matRippleDisabled",e.disabled||a.disableRipple),V(3),W("ngIf",e.templateLabel)("ngIfElse",o)}}function v$(n,t){if(1&n){const e=Bn();T(0,"mat-tab-body",15),Me("_onCentered",function(){return Jt(e),pn(Pe()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return Jt(e),pn(Pe()._setTabBodyWrapperHeight(r))}),M()}if(2&n){const e=t.$implicit,i=t.index,r=Pe();Xt("mat-mdc-tab-body-active",r.selectedIndex===i),W("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),hn("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const C$={translateTab:jc("translateTab",[gl("center, void, left-origin-center, right-origin-center",Bi({transform:"none"})),gl("left",Bi({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),gl("right",Bi({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),fs("* => left, * => right, left => center, right => center",hs("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),fs("void => left-origin-center",[Bi({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),hs("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),fs("void => right-origin-center",[Bi({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),hs("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let x$=(()=>{class n extends UC{constructor(e,i,r,o){super(e,i,o),this._host=r,this._centeringSub=te.EMPTY,this._leavingSub=te.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Fr(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(x(v),x(ur),x(un(()=>jI)),x(fn))},n.\u0275dir=y({type:n,selectors:[["","matTabBodyHost",""]],features:[dt]}),n})(),w$=(()=>{class n{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=te.EMPTY,this._translateTabComplete=new Ie,this._onCentering=new it,this._beforeCentering=new it,this._afterLeavingCenter=new it,this._onCentered=new it(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(DC((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Or,8),x(mi))},n.\u0275dir=y({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),jI=(()=>{class n extends w${constructor(e,i,r){super(e,i,r)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Or,8),x(mi))},n.\u0275cmp=k({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&Zn(UC,5),2&e){let r;Tt(r=kt())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[dt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(T(0,"div",0,1),Me("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),xe(2,o$,0,0,"ng-template",2),M()),2&e&&W("@translateTab",pD(3,a$,i._position,function mD(n,t,e,i){return gD(Ee(),Kr(),n,t,e,i)}(1,s$,i.animationDuration)))},dependencies:[x$],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[C$.translateTab]}}),n})();const D$=new De("MatTabContent");let M$=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(x(Ir))},n.\u0275dir=y({type:n,selectors:[["","matTabContent",""]],features:[Gt([{provide:D$,useExisting:n}])]}),n})();const E$=new De("MatTabLabel"),UI=new De("MAT_TAB");let WI=(()=>{class n extends k8{constructor(e,i,r){super(e,i),this._closestTab=r}}return n.\u0275fac=function(e){return new(e||n)(x(Ir),x(ur),x(UI,8))},n.\u0275dir=y({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Gt([{provide:E$,useExisting:n}]),dt]}),n})();const ix="mdc-tab-indicator--active",GI="mdc-tab-indicator--no-transition";class T${constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){const e=this._items.find(r=>r.elementRef.nativeElement===t),i=this._currentItem;if(i?.deactivateInkBar(),e){const r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}}function k$(n){return class extends n{constructor(...t){super(...t),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){const e=St(t);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){const e=this.elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(ix);const i=e.getBoundingClientRect(),r=t.width/i.width,o=t.left-i.left;e.classList.add(GI),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${r})`),e.getBoundingClientRect(),e.classList.remove(GI),e.classList.add(ix),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(ix)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const t=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=t.createElement("span"),this._inkBarContentElement=t.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const I$=Ad(class{}),A$=k$((()=>{class n extends I${constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(x(E))},n.\u0275dir=y({type:n,features:[dt]}),n})());let YI=(()=>{class n extends A${}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ui(n)))(i||n)}}(),n.\u0275dir=y({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(hn("aria-disabled",!!i.disabled),Xt("mat-mdc-tab-disabled",i.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[dt]}),n})();const F$=Ad(class{}),ZI=new De("MAT_TAB_GROUP");let O$=(()=>{class n extends F${get content(){return this._contentPortal}constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new Ie,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new bh(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(x(ur),x(ZI,8))},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&Zn(Ir,7),2&e){let r;Tt(r=kt())&&(i._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[dt,zr]}),n})(),qI=(()=>{class n extends O${get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ui(n)))(i||n)}}(),n.\u0275cmp=k({type:n,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(Vn(r,M$,7,Ir),Vn(r,WI,5)),2&e){let o;Tt(o=kt())&&(i._explicitContent=o.first),Tt(o=kt())&&(i.templateLabel=o.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Gt([{provide:UI,useExisting:n}]),dt],ngContentSelectors:$I,decls:1,vars:0,template:function(e,i){1&e&&(bi(),xe(0,l$,1,0,"ng-template"))},encapsulation:2}),n})();const KI=ja({passive:!0});let L$=(()=>{class n{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=St(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=yl(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,i,r,o,a,l,d){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=o,this._ngZone=a,this._platform=l,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ie,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ie,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new it,this.indexFocused=new it,a.runOutsideAngular(()=>{vl(e.nativeElement,"mouseleave").pipe(xn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){vl(this._previousPaginator.nativeElement,"touchstart",KI).pipe(xn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),vl(this._nextPaginator.nativeElement,"touchstart",KI).pipe(xn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:ps("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new kC(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Ur(1)).subscribe(r),oi(e,i,this._items.changes,this._itemsResized()).pipe(xn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?Wn:this._items.changes.pipe(Fr(this._items),Cl(e=>new be(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),wC(1),gs(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ns(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement;let l,d;"ltr"==this._getLayoutDirection()?(l=o,d=l+a):(d=this._tabListInner.nativeElement.offsetWidth-o,l=d-a);const h=this.scrollDistance,p=this.scrollDistance+r;lp&&(this.scrollDistance+=d-p+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),S_(650,100).pipe(xn(oi(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(0===o||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(tc),x(Or,8),x(Ut),x(Ii),x(hr,8))},n.\u0275dir=y({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),N$=(()=>{class n extends L${get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=St(e)}constructor(e,i,r,o,a,l,d){super(e,i,r,o,a,l,d),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(tc),x(Or,8),x(Ut),x(Ii),x(hr,8))},n.\u0275dir=y({type:n,inputs:{disableRipple:"disableRipple"},features:[dt]}),n})(),B$=(()=>{class n extends N${constructor(e,i,r,o,a,l,d){super(e,i,r,o,a,l,d)}ngAfterContentInit(){this._inkBar=new T$(this._items),super.ngAfterContentInit()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(tc),x(Or,8),x(Ut),x(Ii),x(hr,8))},n.\u0275cmp=k({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&Vn(r,YI,4),2&e){let o;Tt(o=kt())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(Zn(c$,7),Zn(d$,7),Zn(u$,7),Zn(h$,5),Zn(f$,5)),2&e){let r;Tt(r=kt())&&(i._tabListContainer=r.first),Tt(r=kt())&&(i._tabList=r.first),Tt(r=kt())&&(i._tabListInner=r.first),Tt(r=kt())&&(i._nextPaginator=r.first),Tt(r=kt())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&Xt("mat-mdc-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[dt],ngContentSelectors:$I,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(bi(),T(0,"button",0,1),Me("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),Ye(2,"div",2),M(),T(3,"div",3,4),Me("keydown",function(o){return i._handleKeydown(o)}),T(5,"div",5,6),Me("cdkObserveContent",function(){return i._onContentChanges()}),T(7,"div",7,8),jt(9),M()()(),T(10,"button",9,10),Me("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),Ye(12,"div",2),M()),2&e&&(Xt("mat-mdc-tab-header-pagination-disabled",i._disableScrollBefore),W("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),V(3),Xt("_mat-animation-noopable","NoopAnimations"===i._animationMode),V(7),Xt("mat-mdc-tab-header-pagination-disabled",i._disableScrollAfter),W("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[go,Nk],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),n})();const QI=new De("MAT_TABS_CONFIG");let V$=0;const H$=_h(Kc(class{constructor(n){this._elementRef=n}}),"primary");let z$=(()=>{class n extends H${get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=St(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=yl(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=yl(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=St(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=St(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,r,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new Hc,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=te.EMPTY,this._tabLabelSubscription=te.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new it,this.focusChange=new it,this.animationDone=new it,this.selectedTabChange=new it(!0),this._groupId=V$++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Fr(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new j$;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=oi(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(QI,8),x(hr,8))},n.\u0275dir=y({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[dt]}),n})(),$$=(()=>{class n extends z${get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=St(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=St(e)}constructor(e,i,r,o){super(e,i,r,o),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(mi),x(QI,8),x(hr,8))},n.\u0275cmp=k({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&Vn(r,qI,5),2&e){let o;Tt(o=kt())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(Zn(m$,5),Zn(p$,5)),2&e){let r;Tt(r=kt())&&(i._tabBodyWrapper=r.first),Tt(r=kt())&&(i._tabHeader=r.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,i){2&e&&Xt("mat-mdc-tab-group-dynamic-height",i.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===i.headerPosition)("mat-mdc-tab-group-stretch-tabs",i.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[Gt([{provide:ZI,useExisting:n}]),dt],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(T(0,"mat-tab-header",0,1),Me("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),xe(2,y$,9,17,"div",2),M(),T(3,"div",3,4),xe(5,v$,1,11,"mat-tab-body",5),M()),2&e&&(W("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),V(2),W("ngForOf",i._tabs),V(1),Xt("_mat-animation-noopable","NoopAnimations"===i._animationMode),V(2),W("ngForOf",i._tabs))},dependencies:[rh,ml,ji,UC,go,W4,jI,YI,B$],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),n})();class j${}let U$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[pl,ni,OS,Fd,MC,Xk,ni]}),n})();const W$=["*",[["mat-toolbar-row"]]],G$=["*","mat-toolbar-row"],Y$=_h(class{constructor(n){this._elementRef=n}});let Z$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),q$=(()=>{class n extends Y${constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ii),x(fn))},n.\u0275cmp=k({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&Vn(r,Z$,5),2&e){let o;Tt(o=kt())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&Xt("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[dt],ngContentSelectors:G$,decls:2,vars:0,template:function(e,i){1&e&&(bi(W$),jt(0),jt(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),n})(),K$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({imports:[ni,ni]}),n})();const X$=["tooltip"],JI=new De("mat-tooltip-scroll-strategy"),ej={provide:JI,deps:[xl],useFactory:function J$(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},nj=new De("mat-tooltip-default-options",{providedIn:"root",factory:function tj(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),eA="tooltip-panel",tA=ja({passive:!0});let lj=(()=>{class n{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=St(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=St(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=yl(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=yl(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,r,o,a,l,d,h,p,_,w,S){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=a,this._platform=l,this._ariaDescriber=d,this._focusMonitor=h,this._dir=_,this._defaultOptions=w,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ie,this._scrollStrategy=p,this._document=S,w&&(w.position&&(this.position=w.position),w.positionAtOrigin&&(this.positionAtOrigin=w.positionAtOrigin),w.touchGestures&&(this.touchGestures=w.touchGestures)),_.change.pipe(xn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(xn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,tA)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(i);this._detach(),this._portal=this._portal||new AS(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(xn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof E)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(xn(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${eA}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(xn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(xn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(xn(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Ns(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ur(1),xn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",a!==this._currentPosition){const l=this._overlayRef;if(l){const d=`${this._cssClassPrefix}-${eA}-`;l.removePanelClass(d+this._currentPosition),l.addPanelClass(d+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,tA)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){Hu()},n.\u0275dir=y({type:n,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),Qc=(()=>{class n extends lj{constructor(e,i,r,o,a,l,d,h,p,_,w,S){super(e,i,r,o,a,l,d,h,p,_,w,S),this._tooltipComponent=dj,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const r=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=r?-8:8:"end"===e.originX&&(e.offsetX=r?8:-8),e}}return n.\u0275fac=function(e){return new(e||n)(x(xl),x(E),x(uh),x(ur),x(Ut),x(Ii),x(I4),x(qc),x(JI),x(Or,8),x(nj,8),x(fn))},n.\u0275dir=y({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[dt]}),n})(),cj=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ie,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(x(mi),x(hr,8))},n.\u0275dir=y({type:n}),n})(),dj=(()=>{class n extends cj{constructor(e,i,r){super(e,r),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return n.\u0275fac=function(e){return new(e||n)(x(mi),x(E),x(hr,8))},n.\u0275cmp=k({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&Zn(X$,7),2&e){let r;Tt(r=kt())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&Me("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&kf("zoom",i.isVisible()?1:null)},features:[dt],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,i){1&e&&(T(0,"div",0,1),Me("animationend",function(o){return i._handleAnimationEnd(o)}),T(2,"div",2),H(3),M()()),2&e&&(Xt("mdc-tooltip--multiline",i._isMultiline),W("ngClass",i.tooltipClass),V(3),Tn(i.message))},dependencies:[rh],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),n})(),uj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n}),n.\u0275inj=Kt({providers:[ej],imports:[Xk,pl,Y_,ni,ni,Sd]}),n})();var Rr=O(5861);let Vs=(()=>{class n{constructor(e){this.http=e,this.base="/api/v1/devstate"}addContainer(e){return this.http.post(this.base+"/container",{name:e.name,image:e.image,command:e.command,args:e.args,memReq:e.memoryRequest,memLimit:e.memoryLimit,cpuReq:e.cpuRequest,cpuLimit:e.cpuLimit})}addImage(e){return this.http.post(this.base+"/image",{name:e.name,imageName:e.imageName,args:e.args,buildContext:e.buildContext,rootRequired:e.rootRequired,uri:e.uri})}addResource(e){return this.http.post(this.base+"/resource",{name:e.name,inlined:e.inlined,uri:e.uri})}addExecCommand(e,i){return this.http.post(this.base+"/execCommand",{name:e,component:i.component,commandLine:i.commandLine,workingDir:i.workingDir,hotReloadCapable:i.hotReloadCapable})}addApplyCommand(e,i){return this.http.post(this.base+"/applyCommand",{name:e,component:i.component})}addCompositeCommand(e,i){return this.http.post(this.base+"/compositeCommand",{name:e,parallel:i.parallel,commands:i.commands})}getFlowChart(){return this.http.get(this.base+"/chart")}setDevfileContent(e){return this.http.put(this.base+"/devfile",{content:e})}getDevfileContent(){return this.http.get(this.base+"/devfile")}clearDevfileContent(){return this.http.delete(this.base+"/devfile")}setMetadata(e){return this.http.put(this.base+"/metadata",{name:e.name,version:e.version,displayName:e.displayName,description:e.description,tags:e.tags,architectures:e.architectures,icon:e.icon,globalMemoryLimit:e.globalMemoryLimit,projectType:e.projectType,language:e.language,website:e.website,provider:e.provider,supportUrl:e.supportUrl})}moveCommand(e,i,r,o){return this.http.post(this.base+"/command/0/move",{fromGroup:e,fromIndex:r,toGroup:i,toIndex:o})}setDefaultCommand(e,i){return this.http.post(this.base+"/command/"+e+"/setDefault",{group:i})}unsetDefaultCommand(e){return this.http.post(this.base+"/command/"+e+"/unsetDefault",{})}deleteCommand(e){return this.http.delete(this.base+"/command/"+e)}deleteContainer(e){return this.http.delete(this.base+"/container/"+e)}deleteImage(e){return this.http.delete(this.base+"/image/"+e)}deleteResource(e){return this.http.delete(this.base+"/resource/"+e)}updateEvents(e,i){return this.http.put(this.base+"/events",{eventName:e,commands:i})}isQuantityValid(e){return this.http.post(this.base+"/quantityValid",{quantity:e})}}return n.\u0275fac=function(e){return new(e||n)(le(nm))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hj=(()=>{class n{constructor(e){this.http=e,this.base="/api/v1"}getDevfile(){return this.http.get(this.base+"/devfile")}saveDevfile(e){return this.http.put(this.base+"/devfile",{content:e})}}return n.\u0275fac=function(e){return new(e||n)(le(nm))},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const mj=function fj(n){for(var t=[],e=1;e{Hs.l.warn(n),(0,Ld.i)(n)?(e&&e(n.str,n.hash),t.push({...n,message:n.str,error:n})):(e&&e(n),n instanceof Error&&t.push({str:n.message,message:n.message,hash:n.name,error:n}))},nA=function(){var n=(0,Rr.Z)(function*(t={querySelector:".mermaid"}){try{yield gj(t)}catch(e){if((0,Ld.i)(e)&&Hs.l.error(e.str),Wa.parseError&&Wa.parseError(e),!t.suppressErrors)throw Hs.l.error("Use the suppressErrors option to suppress these errors"),e}});return function(){return n.apply(this,arguments)}}(),gj=function(){var n=(0,Rr.Z)(function*({postRenderCallback:t,querySelector:e,nodes:i}={querySelector:".mermaid"}){const r=Nd.m.getConfig();let o;if(Hs.l.debug((t?"":"No ")+"Callback function found"),i)o=i;else{if(!e)throw new Error("Nodes and querySelector are both undefined");o=document.querySelectorAll(e)}Hs.l.debug(`Found ${o.length} diagrams`),void 0!==r?.startOnLoad&&(Hs.l.debug("Start On Load: "+r?.startOnLoad),Nd.m.updateSiteConfig({startOnLoad:r?.startOnLoad}));const a=new Ld.u.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let l;const d=[];for(const h of Array.from(o)){if(Hs.l.info("Rendering diagram: "+h.id),h.getAttribute("data-processed"))continue;h.setAttribute("data-processed","true");const p=`mermaid-${a.next()}`;l=h.innerHTML,l=mj(Ld.u.entityDecode(l)).trim().replace(//gi,"
");const _=Ld.u.detectInit(l);_&&Hs.l.debug("Detected early reinit: ",_);try{const{svg:w,bindFunctions:S}=yield sA(p,l,h);h.innerHTML=w,t&&(yield t(p)),S&&S(h)}catch(w){pj(w,d,Wa.parseError)}}if(d.length>0)throw d[0]});return function(){return n.apply(this,arguments)}}(),iA=function(n){Nd.m.initialize(n)},_j=function(){var n=(0,Rr.Z)(function*(t,e,i){Hs.l.warn("mermaid.init is deprecated. Please use run instead."),t&&iA(t);const r={postRenderCallback:i,querySelector:".mermaid"};"string"==typeof e?r.querySelector=e:e&&(r.nodes=e instanceof HTMLElement?[e]:e),yield nA(r)});return function(e,i,r){return n.apply(this,arguments)}}(),bj=function(){var n=(0,Rr.Z)(function*(t,{lazyLoad:e=!0}={}){(0,Ld.r)(...t),!1===e&&(yield(0,Ld.l)())});return function(e){return n.apply(this,arguments)}}(),rA=function(){if(Wa.startOnLoad){const{startOnLoad:n}=Nd.m.getConfig();n&&Wa.run().catch(t=>Hs.l.error("Mermaid failed to initialize",t))}};typeof document<"u"&&window.addEventListener("load",rA,!1);const ab=[];let rx=!1;const oA=function(){var n=(0,Rr.Z)(function*(){if(!rx){for(rx=!0;ab.length>0;){const t=ab.shift();if(t)try{yield t()}catch(e){Hs.l.error("Error executing queue",e)}}rx=!1}});return function(){return n.apply(this,arguments)}}(),vj=function(){var n=(0,Rr.Z)(function*(t,e){return new Promise((i,r)=>{ab.push(()=>new Promise((a,l)=>{Nd.m.parse(t,e).then(d=>{a(d),i(d)},d=>{var h;Hs.l.error("Error parsing",d),null==(h=Wa.parseError)||h.call(Wa,d),l(d),r(d)})})),oA().catch(r)})});return function(e,i){return n.apply(this,arguments)}}(),sA=(n,t,e)=>new Promise((i,r)=>{ab.push(()=>new Promise((a,l)=>{Nd.m.render(n,t,e).then(d=>{a(d),i(d)},d=>{var h;Hs.l.error("Error parsing",d),null==(h=Wa.parseError)||h.call(Wa,d),l(d),r(d)})})),oA().catch(r)}),Wa={startOnLoad:!0,mermaidAPI:Nd.m,parse:vj,render:sA,init:_j,run:nA,registerExternalDiagrams:bj,initialize:iA,parseError:void 0,contentLoaded:rA,setParseErrorHandler:function(n){Wa.parseError=n}};let Cj=(()=>{class n{constructor(){}getMermaidAsSVG(e){return(0,Rr.Z)(function*(){const{svg:i}=yield Wa.render("rendered",e);return i})()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ma=(()=>{class n{constructor(){this._state=new Rk(null),this.state=this._state.asObservable()}changeDevfileYaml(e){this._state.next(e)}getDragAndDropEnabled(){return"true"==localStorage.getItem("dragAndDropEnabled")}saveDragAndDropEnabled(e){return localStorage.setItem("dragAndDropEnabled",e?"true":"false")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=lt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wj=(()=>{class n{constructor(e,i){this.devstate=e,this.state=i,this.form=new $a({name:new yn(""),version:new yn("",ai.pattern("^([0-9]+)\\.([0-9]+)\\.([0-9]+)(\\-[0-9a-z-]+(\\.[0-9a-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$")),displayName:new yn(""),description:new yn(""),tags:new yn(""),architectures:new yn(""),icon:new yn(""),globalMemoryLimit:new yn(""),projectType:new yn(""),language:new yn(""),website:new yn(""),provider:new yn(""),supportUrl:new yn("")})}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,Rr.Z)(function*(r){const o=r?.metadata;null!=o&&e.form.patchValue(o)});return function(r){return i.apply(this,arguments)}}())}onSave(){this.devstate.setMetadata(this.form.value).subscribe({next:i=>{this.state.changeDevfileYaml(i)},error:i=>{alert(i.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(x(Vs),x(ma))},n.\u0275cmp=k({type:n,selectors:[["app-metadata"]],decls:58,vars:2,consts:[[1,"main"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["data-cy","metadata-name","placeholder","Unique name to identify the devfile","matInput","","formControlName","name"],["placeholder","Version of the devfile, semver-compatible","matInput","","formControlName","version"],["appearance","outline",1,"full-width"],["placeholder","Name to display instead of the unique name","matInput","","formControlName","displayName"],["matInput","","formControlName","description","rows","4"],["placeholder","Tags to help find the devfile in a registry","matInput","","formControlName","tags"],["placeholder","Ex: amd64,arm64,ppc64le,s390x","matInput","","formControlName","architectures"],["placeholder","Can be a URI or a relative path in the project","matInput","","formControlName","icon"],["placeholder","Informative limit of memory used by the devfile. Ex: 1Gi","matInput","","formControlName","globalMemoryLimit"],["placeholder","Ex: Framework of the project","matInput","","formControlName","projectType"],["placeholder","Language of the project","matInput","","formControlName","language"],["placeholder","Official website of the devfile","matInput","","formControlName","website"],["placeholder","Information about the provider of the devfile","matInput","","formControlName","provider"],["placeholder","Link to a page providing support information","matInput","","formControlName","supportUrl"],["mat-flat-button","","color","primary",3,"disabled","click"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"form",1)(2,"mat-form-field",2)(3,"mat-label"),H(4,"Name"),M(),Ye(5,"input",3),M(),T(6,"mat-form-field",2)(7,"mat-label"),H(8,"Version"),M(),T(9,"mat-error"),H(10,"Examples: 1.0.4, 1.4.7-alpha1"),M(),Ye(11,"input",4),M(),T(12,"mat-form-field",5)(13,"mat-label"),H(14,"Display Name"),M(),Ye(15,"input",6),M(),T(16,"mat-form-field",5)(17,"mat-label"),H(18,"Description"),M(),Ye(19,"textarea",7),M(),T(20,"mat-form-field",2)(21,"mat-label"),H(22,"Tags (comma-speparated)"),M(),Ye(23,"input",8),M(),T(24,"mat-form-field",2)(25,"mat-label"),H(26,"Architectures (comma-separated)"),M(),Ye(27,"input",9),M(),T(28,"mat-form-field",2)(29,"mat-label"),H(30,"Icon"),M(),Ye(31,"input",10),M(),T(32,"mat-form-field",2)(33,"mat-label"),H(34,"Global Memory Limit"),M(),Ye(35,"input",11),M(),T(36,"mat-form-field",2)(37,"mat-label"),H(38,"Project Type"),M(),Ye(39,"input",12),M(),T(40,"mat-form-field",2)(41,"mat-label"),H(42,"Language"),M(),Ye(43,"input",13),M(),T(44,"mat-form-field",2)(45,"mat-label"),H(46,"Website"),M(),Ye(47,"input",14),M(),T(48,"mat-form-field",2)(49,"mat-label"),H(50,"Provider"),M(),Ye(51,"input",15),M(),T(52,"mat-form-field",5)(53,"mat-label"),H(54,"Support URL"),M(),Ye(55,"input",16),M()(),T(56,"button",17),Me("click",function(){return i.onSave()}),H(57,"Apply"),M()()),2&e&&(V(1),W("formGroup",i.form),V(55),W("disabled",i.form.invalid))},dependencies:[Jl,fa,za,Ql,ms,bl,Zo,Bs,_s,Xc,wl],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();const lb="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",ox="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";function Dj(n,t){if(1&n){const e=Bn();T(0,"span")(1,"mat-form-field",4)(2,"mat-label")(3,"span"),H(4),M()(),T(5,"input",5),Me("change",function(r){const a=Jt(e).index;return pn(Pe().onTextChange(a,r))}),M()()()}if(2&n){const e=t.$implicit,i=Pe();V(4),Tn(i.label),V(1),W("value",e)}}function Mj(n,t){if(1&n){const e=Bn();T(0,"button",6),Me("click",function(){return Jt(e),pn(Pe().addText())}),T(1,"mat-icon",7),H(2,"add"),M()()}}function Ej(n,t){if(1&n){const e=Bn();T(0,"button",8),Me("click",function(){return Jt(e),pn(Pe().addText())}),H(1),M()}if(2&n){const e=Pe();V(1),Tn(e.addLabel)}}let aA=(()=>{class n{constructor(){this.label="",this.addLabel="",this.title="",this.onChange=e=>{},this.texts=[]}writeValue(e){this.texts=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){}addText(){this.texts.push(""),this.onChange(this.texts)}onTextChange(e,i){this.texts[e]=i.target.value,this.onChange(this.texts)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=k({type:n,selectors:[["app-multi-text"]],inputs:{label:"label",addLabel:"addLabel",title:"title"},features:[Gt([{provide:Jr,multi:!0,useExisting:n}])],decls:6,vars:4,consts:[[1,"group"],[4,"ngFor","ngForOf"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["appearance","outline",1,"inline"],["matInput","",3,"value","change"],["mat-icon-button","",3,"click"],[1,"tab-icon","material-icons-outlined"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"h3"),H(1),M(),T(2,"div",0),xe(3,Dj,6,2,"span",1),xe(4,Mj,3,0,"button",2),xe(5,Ej,2,1,"button",3),M()),2&e&&(V(1),Tn(i.title),V(2),W("ngForOf",i.texts),V(1),W("ngIf",i.texts.length>0),V(1),W("ngIf",0==i.texts.length))},dependencies:[ml,ji,Zo,cI,Bs,_s,nc,wl],styles:["h3[_ngcontent-%COMP%]{margin-bottom:0}div.group[_ngcontent-%COMP%]{margin-bottom:16px}"]}),n})();function Tj(n,t){if(1&n){const e=Bn();T(0,"button",14),Me("click",function(){return Jt(e),pn(Pe().cancel())}),H(1,"Cancel"),M()}}let lA=(()=>{class n{constructor(e){this.devstate=e,this.cancelable=!1,this.canceled=new it,this.created=new it,this.quantityErrMsgMemory="Numeric value, with optional unit Ki, Mi, Gi, Ti, Pi, Ei",this.quantityErrMsgCPU="Numeric value, with optional unit m, k, M, G, T, P, E",this.form=new $a({name:new yn("",[ai.required,ai.pattern(ox)]),image:new yn("",[ai.required]),command:new yn([]),args:new yn([]),memoryRequest:new yn("",null,[this.isQuantity()]),memoryLimit:new yn("",null,[this.isQuantity()]),cpuRequest:new yn("",null,[this.isQuantity()]),cpuLimit:new yn("",null,[this.isQuantity()])})}create(){this.created.emit(this.form.value)}cancel(){this.canceled.emit()}isQuantity(){return e=>{const i=e.value;return""==i?ps(null):this.devstate.isQuantityValid(i).pipe(Pn(()=>null),tx(()=>ps({isQuantity:!1})))}}}return n.\u0275fac=function(e){return new(e||n)(x(Vs))},n.\u0275cmp=k({type:n,selectors:[["app-container"]],inputs:{cancelable:"cancelable"},outputs:{canceled:"canceled",created:"created"},decls:51,vars:7,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the container","data-cy","container-name","matInput","","formControlName","name"],["placeholder","Image to start the container","data-cy","container-image","matInput","","formControlName","image"],["formControlName","command","title","Command","label","Command","addLabel","Add command"],["formControlName","args","title","Arguments to command","label","Arg","addLabel","Add arg"],["placeholder","memory requested for the container. Ex: 1Gi","data-cy","container-memory-request","matInput","","formControlName","memoryRequest"],["placeholder","memory limit for the container. Ex: 1Gi","data-cy","container-memory-limit","matInput","","formControlName","memoryLimit"],["placeholder","CPU requested for the container. Ex: 500m","data-cy","container-cpu-request","matInput","","formControlName","cpuRequest"],["placeholder","CPU limit for the container. Ex: 1","data-cy","container-cpu-limit","matInput","","formControlName","cpuLimit"],["data-cy","container-create","mat-flat-button","","color","primary","matTooltip","create new container",3,"disabled","click"],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add a new container"),M(),T(3,"div",1),H(4,"A Container is used to execute shell commands into a specific environment. The entrypoint of the container must be a non-terminating command. You can use an image pulled from a registry or an image built by an Image command."),M(),T(5,"form",2)(6,"mat-form-field",3)(7,"mat-label")(8,"span"),H(9,"Name"),M()(),T(10,"mat-error"),H(11,"Lowercase words separated by dashes. Ex: my-container"),M(),Ye(12,"input",4),M(),T(13,"mat-form-field",3)(14,"mat-label")(15,"span"),H(16,"Image"),M()(),Ye(17,"input",5),M(),Ye(18,"app-multi-text",6)(19,"app-multi-text",7),T(20,"mat-form-field",3)(21,"mat-label")(22,"span"),H(23,"Memory Request"),M()(),T(24,"mat-error"),H(25),M(),Ye(26,"input",8),M(),T(27,"mat-form-field",3)(28,"mat-label")(29,"span"),H(30,"Memory Limit"),M()(),T(31,"mat-error"),H(32),M(),Ye(33,"input",9),M(),T(34,"mat-form-field",3)(35,"mat-label")(36,"span"),H(37,"CPU Request"),M()(),T(38,"mat-error"),H(39),M(),Ye(40,"input",10),M(),T(41,"mat-form-field",3)(42,"mat-label")(43,"span"),H(44,"CPU Limit"),M()(),T(45,"mat-error"),H(46),M(),Ye(47,"input",11),M()(),T(48,"button",12),Me("click",function(){return i.create()}),H(49,"Create"),M(),xe(50,Tj,2,0,"button",13),M()),2&e&&(V(5),W("formGroup",i.form),V(20),Tn(i.quantityErrMsgMemory),V(7),Tn(i.quantityErrMsgMemory),V(7),Tn(i.quantityErrMsgCPU),V(7),Tn(i.quantityErrMsgCPU),V(2),W("disabled",i.form.invalid),V(2),W("ngIf",i.cancelable))},dependencies:[ji,Jl,fa,za,Ql,ms,bl,Zo,Bs,_s,Xc,wl,Qc,aA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function kj(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"Command:"),M(),T(3,"td")(4,"code"),H(5),M()()()),2&n){const e=Pe().$implicit;V(5),Tn(e.command.join(" "))}}function Sj(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"Args:"),M(),T(3,"td")(4,"code"),H(5),M()()()),2&n){const e=Pe().$implicit;V(5),Tn(e.args.join(" "))}}function Ij(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"Memory Request:"),M(),T(3,"td")(4,"code"),H(5),M()()()),2&n){const e=Pe().$implicit;V(5),Tn(e.memoryRequest)}}function Aj(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"Memory Limit:"),M(),T(3,"td")(4,"code"),H(5),M()()()),2&n){const e=Pe().$implicit;V(5),Tn(e.memoryLimit)}}function Fj(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"CPU Request:"),M(),T(3,"td")(4,"code"),H(5),M()()()),2&n){const e=Pe().$implicit;V(5),Tn(e.cpuRequest)}}function Oj(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"CPU Limit:"),M(),T(3,"td")(4,"code"),H(5),M()()()),2&n){const e=Pe().$implicit;V(5),Tn(e.cpuLimit)}}function Rj(n,t){if(1&n){const e=Bn();T(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),H(3),M(),T(4,"mat-card-subtitle"),H(5,"Container"),M()(),T(6,"mat-card-content")(7,"table",6)(8,"tr")(9,"td"),H(10,"Image:"),M(),T(11,"td")(12,"code"),H(13),M()()(),xe(14,kj,6,1,"tr",3),xe(15,Sj,6,1,"tr",3),xe(16,Ij,6,1,"tr",3),xe(17,Aj,6,1,"tr",3),xe(18,Fj,6,1,"tr",3),xe(19,Oj,6,1,"tr",3),M()(),T(20,"mat-card-actions")(21,"button",7),Me("click",function(){const o=Jt(e).$implicit;return pn(Pe().delete(o.name))}),H(22,"Delete"),M()()()}if(2&n){const e=t.$implicit;V(3),Tn(e.name),V(10),Tn(e.image),V(1),W("ngIf",null!=e.command&&e.command.length>0),V(1),W("ngIf",null!=e.args&&e.args.length>0),V(1),W("ngIf",null!=e.memoryRequest&&e.memoryRequest.length>0),V(1),W("ngIf",null!=e.memoryLimit&&e.memoryLimit.length>0),V(1),W("ngIf",null!=e.cpuRequest&&e.cpuRequest.length>0),V(1),W("ngIf",null!=e.cpuLimit&&e.cpuLimit.length>0)}}function Pj(n,t){if(1&n){const e=Bn();T(0,"app-container",8),Me("canceled",function(){return Jt(e),pn(Pe().undisplayAddForm())})("created",function(r){return Jt(e),pn(Pe().onCreated(r))}),M()}2&n&&W("cancelable",Pe().forceDisplayAdd)}function Lj(n,t){if(1&n){const e=Bn();jo(0),T(1,"button",9),Me("click",function(){return Jt(e),pn(Pe().displayAddForm())}),T(2,"mat-icon",10),H(3,"add"),M()(),Uo()}}let Nj=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayAdd=!1,this.containers=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,Rr.Z)(function*(o){i.containers=o?.containers,null!=e.containers&&(i.forceDisplayAdd=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.forceDisplayAdd=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayAdd=!1}delete(e){confirm('You will delete the container "'+e+'". Continue?')&&this.devstate.deleteContainer(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onCreated(e){this.devstate.addContainer(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(x(ma),x(Vs))},n.\u0275cmp=k({type:n,selectors:[["app-containers"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","container-info",4,"ngFor","ngForOf"],[3,"cancelable","canceled","created",4,"ngIf"],[4,"ngIf"],["data-cy","container-info"],[1,"colored-title"],[1,"aligned"],["mat-button","","color","warn",3,"click"],[3,"cancelable","canceled","created"],["data-cy","add","mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(T(0,"div",0),xe(1,Rj,23,8,"mat-card",1),xe(2,Pj,1,1,"app-container",2),M(),xe(3,Lj,4,0,"ng-container",3)),2&e&&(V(1),W("ngForOf",i.containers),V(1),W("ngIf",i.forceDisplayAdd||null==i.containers||0==i.containers.length),V(1),W("ngIf",!i.forceDisplayAdd&&null!=i.containers&&i.containers.length>0))},dependencies:[ml,ji,Zo,Q_,Cm,Mm,wm,Em,Dm,xm,nc,lA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function Bj(n,t){if(1&n&&(T(0,"mat-option",4),H(1),M()),2&n){const e=t.$implicit;W("value",e),V(1),Tn(e)}}let sx=(()=>{class n{constructor(){this.containers=[],this.label="",this.createNew=new it,this.container="",this.onChange=e=>{}}writeValue(e){this.container=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){}onSelectChange(e){"!"!=e&&this.onChange(e),this.createNew.emit("!"==e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=k({type:n,selectors:[["app-select-container"]],inputs:{containers:"containers",label:"label"},outputs:{createNew:"createNew"},features:[Gt([{provide:Jr,multi:!0,useExisting:n}])],decls:7,vars:4,consts:[["appearance","fill"],["data-cy","select-container",3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["value","!"],[3,"value"]],template:function(e,i){1&e&&(T(0,"mat-form-field",0)(1,"mat-label"),H(2),M(),T(3,"mat-select",1),Me("selectionChange",function(o){return i.onSelectChange(o.value)}),xe(4,Bj,2,2,"mat-option",2),T(5,"mat-option",3),H(6),M()()()),2&e&&(V(2),Tn(i.label),V(1),W("value",i.container),V(1),W("ngForOf",i.containers),V(2),ds("(New ",i.label,")"))},dependencies:[ml,ym,Bs,_s,zI]}),n})();function Vj(n,t){if(1&n){const e=Bn();T(0,"app-container",13),Me("created",function(r){return Jt(e),pn(Pe().onNewContainerCreated(r))}),M()}}let Hj=(()=>{class n{constructor(e,i){var r=this;this.devstate=e,this.state=i,this.canceled=new it,this.containerList=[],this.showNewContainer=!1,this.containerToCreate=null,this.form=new $a({name:new yn("",[ai.required,ai.pattern(lb)]),component:new yn("",[ai.required]),commandLine:new yn("",[ai.required]),workingDir:new yn("",[ai.required]),hotReloadCapable:new yn(!1)}),this.state.state.subscribe(function(){var o=(0,Rr.Z)(function*(a){const l=a?.containers;null!=l&&(r.containerList=l.map(d=>d.name))});return function(a){return o.apply(this,arguments)}}())}create(){const e=()=>{this.devstate.addExecCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.containerToCreate&&this.containerToCreate?.name==this.form.controls.component.value?this.devstate.addContainer(this.containerToCreate).subscribe({next:()=>{e()},error:r=>{alert(r.error.message)}}):e()}cancel(){this.canceled.emit()}onProjectsRoot(){this.form.controls.workingDir.setValue("${PROJECTS_ROOT}")}onCreateNewContainer(e){this.showNewContainer=e}onNewContainerCreated(e){this.containerList.push(e.name),this.form.controls.component.setValue(e.name),this.showNewContainer=!1,this.containerToCreate=e}}return n.\u0275fac=function(e){return new(e||n)(x(Vs),x(ma))},n.\u0275cmp=k({type:n,selectors:[["app-command-exec"]],outputs:{canceled:"canceled"},decls:35,vars:4,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["formControlName","hotReloadCapable"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-exec-name","matInput","","formControlName","name"],["placeholder","command line passed to the shell","data-cy","command-exec-command-line","matInput","","formControlName","commandLine"],["placeholder","Working directory of the command","data-cy","command-exec-working-dir","matInput","","formControlName","workingDir"],["data-cy","command-exec-projects-root","mat-button","",3,"click"],["formControlName","component","label","Container",3,"containers","createNew"],[3,"created",4,"ngIf"],["data-cy","command-exec-create","mat-flat-button","","color","primary","matTooltip","create new Exec Command",3,"disabled","click"],["mat-flat-button","",3,"click"],[3,"created"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add an Exec Command"),M(),T(3,"div",1),H(4,"An Exec command is a shell command executed into a container."),M(),T(5,"form",2)(6,"div")(7,"mat-checkbox",3),H(8,"Hot Reload Capable"),M()(),T(9,"mat-form-field",4)(10,"mat-label")(11,"span"),H(12,"Name"),M()(),T(13,"mat-error"),H(14,"Lowercase words separated by dashes. Ex: my-command"),M(),Ye(15,"input",5),M(),T(16,"mat-form-field",4)(17,"mat-label")(18,"span"),H(19,"Command Line"),M()(),Ye(20,"input",6),M(),T(21,"mat-form-field",4)(22,"mat-label")(23,"span"),H(24,"Working Dir"),M()(),Ye(25,"input",7),M(),T(26,"button",8),Me("click",function(){return i.onProjectsRoot()}),H(27,"Work on Project's Root Directory"),M(),T(28,"div")(29,"app-select-container",9),Me("createNew",function(o){return i.onCreateNewContainer(o)}),M()()(),xe(30,Vj,1,0,"app-container",10),T(31,"button",11),Me("click",function(){return i.create()}),H(32,"Create"),M(),T(33,"button",12),Me("click",function(){return i.cancel()}),H(34,"Cancel"),M()()),2&e&&(V(5),W("formGroup",i.form),V(24),W("containers",i.containerList),V(1),W("ngIf",i.showNewContainer),V(1),W("disabled",i.form.invalid))},dependencies:[ji,Jl,fa,za,Ql,ms,bl,Zo,yh,Bs,_s,Xc,wl,Qc,lA,sx],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function zj(n,t){1&n&&(T(0,"mat-form-field",12)(1,"mat-label")(2,"span"),H(3,"URI"),M()(),Ye(4,"input",13),M())}function $j(n,t){1&n&&(T(0,"mat-form-field",12)(1,"mat-label"),H(2,"YAML Manifest"),M(),Ye(3,"textarea",14),M())}function jj(n,t){if(1&n){const e=Bn();T(0,"button",15),Me("click",function(){return Jt(e),pn(Pe().cancel())}),H(1,"Cancel"),M()}}let cA=(()=>{class n{constructor(){this.cancelable=!1,this.canceled=new it,this.created=new it,this.uriOrInlined="uri",this.form=new $a({name:new yn("",[ai.required,ai.pattern(ox)]),uri:new yn("",[ai.required]),inlined:new yn("",[])})}changeUriOrInlined(e){this.uriOrInlined=e,"uri"==this.uriOrInlined?(this.form.controls.inlined.removeValidators(ai.required),this.form.controls.inlined.setValue(""),this.form.controls.uri?.addValidators(ai.required)):"inlined"==this.uriOrInlined&&(this.form.controls.uri?.removeValidators(ai.required),this.form.controls.uri.setValue(""),this.form.controls.inlined?.setValidators(ai.required)),this.form.controls.uri.updateValueAndValidity(),this.form.controls.inlined.updateValueAndValidity()}create(){this.created.emit(this.form.value)}cancel(){this.canceled.emit()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=k({type:n,selectors:[["app-resource"]],inputs:{cancelable:"cancelable"},outputs:{canceled:"canceled",created:"created"},decls:24,vars:5,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the resource","data-cy","resource-name","matInput","","formControlName","name"],[1,"toggleUriInlined"],[3,"change"],["data-cy","resource-toogle-uri","value","uri","checked",""],["data-cy","resource-toggle-inlined","value","inlined"],["appearance","outline","class","full-width",4,"ngIf"],["data-cy","resource-create","mat-flat-button","","color","primary","matTooltip","create new resource",3,"disabled","click"],["mat-flat-button","",3,"click",4,"ngIf"],["appearance","outline",1,"full-width"],["placeholder","Reference to a YAML manifest","data-cy","resource-uri","matInput","","formControlName","uri"],["data-cy","resource-manifest","matInput","","formControlName","inlined","rows","8"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add a new resource"),M(),T(3,"div",1),H(4,"A Resource defines a Kubernetes resource. Its definition can be given either by a URI pointing to a manifest file or by an inlined YAML manifest."),M(),T(5,"form",2)(6,"mat-form-field",3)(7,"mat-label")(8,"span"),H(9,"Name"),M()(),T(10,"mat-error"),H(11,"Lowercase words separated by dashes. Ex: my-resource"),M(),Ye(12,"input",4),M(),T(13,"span",5)(14,"mat-button-toggle-group",6),Me("change",function(o){return i.changeUriOrInlined(o.value)}),T(15,"mat-button-toggle",7),H(16,"Specify URI"),M(),T(17,"mat-button-toggle",8),H(18,"Inlined content"),M()()(),xe(19,zj,5,0,"mat-form-field",9),xe(20,$j,4,0,"mat-form-field",9),M(),T(21,"button",10),Me("click",function(){return i.create()}),H(22,"Create"),M(),xe(23,jj,2,0,"button",11),M()),2&e&&(V(5),W("formGroup",i.form),V(14),W("ngIf","uri"==i.uriOrInlined),V(1),W("ngIf","inlined"==i.uriOrInlined),V(1),W("disabled",i.form.invalid),V(2),W("ngIf",i.cancelable))},dependencies:[ji,Jl,fa,za,Ql,ms,bl,Zo,pI,gI,Bs,_s,Xc,wl,Qc],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}span.toggleUriInlined[_ngcontent-%COMP%]{margin-left:16px}"]}),n})();function Uj(n,t){if(1&n){const e=Bn();T(0,"app-resource",9),Me("created",function(r){return Jt(e),pn(Pe().onNewResourceCreated(r))}),M()}}let Wj=(()=>{class n{constructor(e,i){var r=this;this.devstate=e,this.state=i,this.canceled=new it,this.resourceList=[],this.showNewResource=!1,this.resourceToCreate=null,this.form=new $a({name:new yn("",[ai.required,ai.pattern(lb)]),component:new yn("",[ai.required])}),this.state.state.subscribe(function(){var o=(0,Rr.Z)(function*(a){const l=a?.resources;null!=l&&(r.resourceList=l.map(d=>d.name))});return function(a){return o.apply(this,arguments)}}())}create(){const e=()=>{this.devstate.addApplyCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.resourceToCreate&&this.resourceToCreate?.name==this.form.controls.component.value?this.devstate.addResource(this.resourceToCreate).subscribe({next:r=>{this.state.changeDevfileYaml(r),e()},error:r=>{alert(r.error.message)}}):e()}cancel(){this.canceled.emit()}onCreateNewContainer(e){this.showNewResource=e}onNewResourceCreated(e){this.resourceList.push(e.name),this.form.controls.component.setValue(e.name),this.showNewResource=!1,this.resourceToCreate=e}}return n.\u0275fac=function(e){return new(e||n)(x(Vs),x(ma))},n.\u0275cmp=k({type:n,selectors:[["app-command-apply"]],outputs:{canceled:"canceled"},decls:22,vars:4,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-apply-name","matInput","","formControlName","name"],["formControlName","component","label","Resource",3,"containers","createNew"],[3,"created",4,"ngIf"],["data-cy","command-apply-create","mat-flat-button","","color","primary","matTooltip","create new Apply Command",3,"disabled","click"],["mat-flat-button","",3,"click"],[3,"created"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add an Apply Command"),M(),T(3,"div",1),H(4,'An Apply command "applies" a resource to the cluster. Equivalent to '),T(5,"code"),H(6,"kubectl apply -f ..."),M()(),T(7,"form",2)(8,"mat-form-field",3)(9,"mat-label")(10,"span"),H(11,"Name"),M()(),T(12,"mat-error"),H(13,"Lowercase words separated by dashes. Ex: my-command"),M(),Ye(14,"input",4),M(),T(15,"div")(16,"app-select-container",5),Me("createNew",function(o){return i.onCreateNewContainer(o)}),M()()(),xe(17,Uj,1,0,"app-resource",6),T(18,"button",7),Me("click",function(){return i.create()}),H(19,"Create"),M(),T(20,"button",8),Me("click",function(){return i.cancel()}),H(21,"Cancel"),M()()),2&e&&(V(7),W("formGroup",i.form),V(9),W("containers",i.resourceList),V(1),W("ngIf",i.showNewResource),V(1),W("disabled",i.form.invalid))},dependencies:[ji,Jl,fa,za,Ql,ms,bl,Zo,Bs,_s,Xc,wl,Qc,sx,cA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function Gj(n,t){if(1&n&&(T(0,"mat-option",7),H(1),M()),2&n){const e=t.$implicit;W("value",e),V(1),Tn(e)}}function Yj(n,t){if(1&n){const e=Bn();T(0,"span")(1,"mat-form-field",4)(2,"mat-select",5),Me("selectionChange",function(r){const a=Jt(e).index;return pn(Pe().onCommandChange(a,r.value))}),xe(3,Gj,2,2,"mat-option",6),M()()()}if(2&n){const e=t.$implicit,i=Pe();V(2),W("value",e),V(1),W("ngForOf",i.commandList)}}function Zj(n,t){if(1&n){const e=Bn();T(0,"button",8),Me("click",function(){return Jt(e),pn(Pe().addCommand())}),T(1,"mat-icon",9),H(2,"add"),M()()}}function qj(n,t){if(1&n){const e=Bn();T(0,"button",10),Me("click",function(){return Jt(e),pn(Pe().addCommand())}),H(1),M()}if(2&n){const e=Pe();V(1),Tn(e.addLabel)}}let Kj=(()=>{class n{constructor(){this.addLabel="",this.commandList=[],this.title="",this.onChange=e=>{},this.commands=[]}writeValue(e){this.commands=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){}addCommand(){this.commands.push(""),this.onChange(this.commands)}onCommandChange(e,i){this.commands[e]=i,this.onChange(this.commands)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=k({type:n,selectors:[["app-multi-command"]],inputs:{addLabel:"addLabel",commandList:"commandList",title:"title"},features:[Gt([{provide:Jr,multi:!0,useExisting:n}])],decls:6,vars:4,consts:[[1,"group"],[4,"ngFor","ngForOf"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["appearance","fill"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-icon-button","",3,"click"],[1,"tab-icon","material-icons-outlined"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"h3"),H(1),M(),T(2,"div",0),xe(3,Yj,4,2,"span",1),xe(4,Zj,3,0,"button",2),xe(5,qj,2,1,"button",3),M()),2&e&&(V(1),Tn(i.title),V(2),W("ngForOf",i.commands),V(1),W("ngIf",i.commands.length>0),V(1),W("ngIf",0==i.commands.length))},dependencies:[ml,ji,ym,Zo,cI,Bs,nc,zI],styles:["h3[_ngcontent-%COMP%]{margin-bottom:0}div.group[_ngcontent-%COMP%]{margin-bottom:16px}"]}),n})(),Xj=(()=>{class n{constructor(e,i){var r=this;this.devstate=e,this.state=i,this.canceled=new it,this.commandList=[],this.form=new $a({name:new yn("",[ai.required,ai.pattern(lb)]),parallel:new yn(!1),commands:new yn([])}),this.state.state.subscribe(function(){var o=(0,Rr.Z)(function*(a){const l=a?.commands;null!=l&&(r.commandList=l.map(d=>d.name))});return function(a){return o.apply(this,arguments)}}())}create(){this.devstate.addCompositeCommand(this.form.value.name,this.form.value).subscribe({next:i=>{this.state.changeDevfileYaml(i)},error:i=>{alert(i.error.message)}})}cancel(){this.canceled.emit()}}return n.\u0275fac=function(e){return new(e||n)(x(Vs),x(ma))},n.\u0275cmp=k({type:n,selectors:[["app-command-composite"]],outputs:{canceled:"canceled"},decls:21,vars:3,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-composite-name","matInput","","formControlName","name"],["formControlName","parallel"],["formControlName","commands","title","Commands","addLabel","Add a command",3,"commandList"],["data-cy","command-composite-create","mat-flat-button","","color","primary","matTooltip","create new Composite Command",3,"disabled","click"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add a Composite Command"),M(),T(3,"div",1),H(4,"A Composite command executes several commands, either serially or in parallel."),M(),T(5,"form",2)(6,"mat-form-field",3)(7,"mat-label")(8,"span"),H(9,"Name"),M()(),T(10,"mat-error"),H(11,"Lowercase words separated by dashes. Ex: my-command"),M(),Ye(12,"input",4),M(),T(13,"div")(14,"mat-checkbox",5),H(15,"Run commands in parallel"),M()(),Ye(16,"app-multi-command",6),M(),T(17,"button",7),Me("click",function(){return i.create()}),H(18,"Create"),M(),T(19,"button",8),Me("click",function(){return i.cancel()}),H(20,"Cancel"),M()()),2&e&&(V(5),W("formGroup",i.form),V(11),W("commandList",i.commandList),V(1),W("disabled",i.form.invalid))},dependencies:[Jl,fa,za,Ql,ms,bl,Zo,yh,Bs,_s,Xc,wl,Qc,Kj],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function Qj(n,t){if(1&n){const e=Bn();T(0,"button",12),Me("click",function(){return Jt(e),pn(Pe().cancel())}),H(1,"Cancel"),M()}}let dA=(()=>{class n{constructor(){this.cancelable=!1,this.canceled=new it,this.created=new it,this.form=new $a({name:new yn("",[ai.required,ai.pattern(ox)]),imageName:new yn("",[ai.required]),args:new yn([]),buildContext:new yn(""),rootRequired:new yn(!1),uri:new yn("",[ai.required])})}create(){this.created.emit(this.form.value)}cancel(){this.canceled.emit()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=k({type:n,selectors:[["app-image"]],inputs:{cancelable:"cancelable"},outputs:{canceled:"canceled",created:"created"},decls:34,vars:3,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the image","data-cy","image-name","matInput","","formControlName","name"],["placeholder","Reference to a container image","data-cy","image-image-name","matInput","","formControlName","imageName"],["formControlName","args","title","Build Args","label","Arg","addLabel","Add Build Arg"],["placeholder","Directory from which the build will be executed","data-cy","image-build-context","matInput","","formControlName","buildContext"],["placeholder","Dockerfile used to build the image","data-cy","image-dockerfile-uri","matInput","","formControlName","uri"],["formControlName","rootRequired"],["data-cy","image-create","mat-flat-button","","color","primary","matTooltip","create new image",3,"disabled","click"],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add a new image"),M(),T(3,"div",1),H(4,"An Image defines how to build a container image."),M(),T(5,"form",2)(6,"mat-form-field",3)(7,"mat-label")(8,"span"),H(9,"Name"),M()(),T(10,"mat-error"),H(11,"Lowercase words separated by dashes. Ex: my-image"),M(),Ye(12,"input",4),M(),T(13,"mat-form-field",3)(14,"mat-label")(15,"span"),H(16,"Image Name"),M()(),Ye(17,"input",5),M(),Ye(18,"app-multi-text",6),T(19,"mat-form-field",3)(20,"mat-label")(21,"span"),H(22,"Build Context"),M()(),Ye(23,"input",7),M(),T(24,"mat-form-field",3)(25,"mat-label")(26,"span"),H(27,"Dockerfile URI"),M()(),Ye(28,"input",8),M(),T(29,"mat-checkbox",9),H(30,"Root Required"),M()(),T(31,"button",10),Me("click",function(){return i.create()}),H(32,"Create"),M(),xe(33,Qj,2,0,"button",11),M()),2&e&&(V(5),W("formGroup",i.form),V(26),W("disabled",i.form.invalid),V(2),W("ngIf",i.cancelable))},dependencies:[ji,Jl,fa,za,Ql,ms,bl,Zo,yh,Bs,_s,Xc,wl,Qc,aA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function Jj(n,t){if(1&n){const e=Bn();T(0,"app-image",9),Me("created",function(r){return Jt(e),pn(Pe().onNewImageCreated(r))}),M()}}let eU=(()=>{class n{constructor(e,i){var r=this;this.devstate=e,this.state=i,this.canceled=new it,this.imageList=[],this.showNewImage=!1,this.imageToCreate=null,this.form=new $a({name:new yn("",[ai.required,ai.pattern(lb)]),component:new yn("",[ai.required])}),this.state.state.subscribe(function(){var o=(0,Rr.Z)(function*(a){const l=a?.images;null!=l&&(r.imageList=l.map(d=>d.name))});return function(a){return o.apply(this,arguments)}}())}create(){const e=()=>{this.devstate.addApplyCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.imageToCreate&&this.imageToCreate?.name==this.form.controls.component.value?this.devstate.addImage(this.imageToCreate).subscribe({next:()=>{e()},error:r=>{alert(r.error.message)}}):e()}cancel(){this.canceled.emit()}onCreateNewImage(e){this.showNewImage=e}onNewImageCreated(e){this.imageList.push(e.name),this.form.controls.component.setValue(e.name),this.showNewImage=!1,this.imageToCreate=e}}return n.\u0275fac=function(e){return new(e||n)(x(Vs),x(ma))},n.\u0275cmp=k({type:n,selectors:[["app-command-image"]],outputs:{canceled:"canceled"},decls:20,vars:4,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-image-name","matInput","","formControlName","name"],["formControlName","component","label","Image",3,"containers","createNew"],[3,"created",4,"ngIf"],["data-cy","command-image-create","mat-flat-button","","color","primary","matTooltip","create new Image Command",3,"disabled","click"],["mat-flat-button","",3,"click"],[3,"created"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add an Image Command"),M(),T(3,"div",1),H(4,"An Image command builds a container image and pushes it to a container registry."),M(),T(5,"form",2)(6,"mat-form-field",3)(7,"mat-label")(8,"span"),H(9,"Name"),M()(),T(10,"mat-error"),H(11,"Lowercase words separated by dashes. Ex: my-command"),M(),Ye(12,"input",4),M(),T(13,"div")(14,"app-select-container",5),Me("createNew",function(o){return i.onCreateNewImage(o)}),M()()(),xe(15,Jj,1,0,"app-image",6),T(16,"button",7),Me("click",function(){return i.create()}),H(17,"Create"),M(),T(18,"button",8),Me("click",function(){return i.cancel()}),H(19,"Cancel"),M()()),2&e&&(V(5),W("formGroup",i.form),V(9),W("containers",i.imageList),V(1),W("ngIf",i.showNewImage),V(1),W("disabled",i.form.invalid))},dependencies:[ji,Jl,fa,za,Ql,ms,bl,Zo,Bs,_s,Xc,wl,Qc,sx,dA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function tU(n,t){if(1&n&&(T(0,"div",2),H(1),M()),2&n){const e=Pe();V(1),ds("No ",e.kind," commands yet. You can create a command then drag&drop it here")}}function nU(n,t){1&n&&(T(0,"div",2),H(1,"No generic commands yet. New commands will appear here"),M())}function iU(n,t){if(1&n){const e=Bn();T(0,"mat-checkbox",10),Me("change",function(r){Jt(e);const o=Pe(2).$implicit;return pn(Pe().toggleDefault(r,o.name,o.group))}),H(1),M()}if(2&n){const e=Pe(2).$implicit,i=Pe();W("checked",e._default),V(1),ds("Default ",i.kind," command")}}function rU(n,t){1&n&&(T(0,"mat-card-subtitle"),H(1,"Exec Command"),M())}function oU(n,t){1&n&&(T(0,"mat-card-subtitle"),H(1,"Apply Command"),M())}function sU(n,t){1&n&&(T(0,"mat-card-subtitle"),H(1,"Image Command"),M())}function aU(n,t){1&n&&(T(0,"mat-card-subtitle"),H(1,"Composite Command"),M())}function lU(n,t){1&n&&(T(0,"span"),H(1,"Yes"),M())}function cU(n,t){1&n&&(T(0,"span"),H(1,"No"),M())}function dU(n,t){if(1&n&&(jo(0),T(1,"table",11)(2,"tr")(3,"td"),H(4,"Is Hot Reload Capable:"),M(),T(5,"td"),xe(6,lU,2,0,"span",8),xe(7,cU,2,0,"span",8),M()(),T(8,"tr")(9,"td"),H(10,"Command Line:"),M(),T(11,"td")(12,"code"),H(13),M()()(),T(14,"tr")(15,"td"),H(16,"Working Directory:"),M(),T(17,"td")(18,"code"),H(19),M()()(),T(20,"tr")(21,"td"),H(22,"Container:"),M(),T(23,"td")(24,"mat-chip",12)(25,"mat-icon",13),H(26,"width_normal"),M(),H(27),M()()()(),Uo()),2&n){const e=Pe(2).$implicit;V(6),W("ngIf",null==e.exec?null:e.exec.hotReloadCapable),V(1),W("ngIf",!(null!=e.exec&&e.exec.hotReloadCapable)),V(6),Tn(null==e.exec?null:e.exec.commandLine),V(6),Tn(null==e.exec?null:e.exec.workingDir),V(8),ds(" ",null==e.exec?null:e.exec.component," ")}}function uU(n,t){if(1&n&&(jo(0),T(1,"table",11)(2,"tr")(3,"td"),H(4,"Cluster resource:"),M(),T(5,"td")(6,"mat-chip",12)(7,"mat-icon",13),H(8,"description"),M(),H(9),M()()()(),Uo()),2&n){const e=Pe(2).$implicit;V(9),ds(" ",null==e.apply?null:e.apply.component," ")}}function hU(n,t){if(1&n&&(jo(0),T(1,"table",11)(2,"tr")(3,"td"),H(4,"Image:"),M(),T(5,"td")(6,"mat-chip",12)(7,"mat-icon",13),H(8,"image"),M(),H(9),M()()()(),Uo()),2&n){const e=Pe(2).$implicit;V(9),ds(" ",null==e.image?null:e.image.component," ")}}function fU(n,t){1&n&&(T(0,"div"),H(1,"Commands executed in parallel"),M())}function mU(n,t){1&n&&(T(0,"div"),H(1,"Commands executed serially"),M())}function pU(n,t){if(1&n&&(T(0,"mat-chip",12)(1,"mat-icon",13),H(2,"code"),M(),H(3),M()),2&n){const e=t.$implicit;V(3),ds(" ",e," ")}}function gU(n,t){if(1&n&&(jo(0),T(1,"table",11)(2,"tr")(3,"td"),H(4,"Scheduling:"),M(),T(5,"td"),xe(6,fU,2,0,"div",8),xe(7,mU,2,0,"div",8),M()(),T(8,"tr")(9,"td"),H(10,"Commands:"),M(),T(11,"td")(12,"mat-chip-set"),xe(13,pU,4,1,"mat-chip",14),M()()()(),Uo()),2&n){const e=Pe(2).$implicit;V(6),W("ngIf",null==e.composite?null:e.composite.parallel),V(1),W("ngIf",!(null!=e.composite&&e.composite.parallel)),V(5),Xt("mat-mdc-chip-set-stacked",null==e.composite?null:e.composite.parallel),V(1),W("ngForOf",null==e.composite?null:e.composite.commands)}}function _U(n,t){if(1&n){const e=Bn();T(0,"mat-card",4)(1,"mat-card-header",5)(2,"div",6)(3,"mat-card-title"),H(4),M(),xe(5,iU,2,2,"mat-checkbox",7),M(),T(6,"div"),xe(7,rU,2,0,"mat-card-subtitle",8),xe(8,oU,2,0,"mat-card-subtitle",8),xe(9,sU,2,0,"mat-card-subtitle",8),xe(10,aU,2,0,"mat-card-subtitle",8),M()(),T(11,"mat-card-content"),xe(12,dU,28,5,"ng-container",8),xe(13,uU,10,1,"ng-container",8),xe(14,hU,10,1,"ng-container",8),xe(15,gU,14,5,"ng-container",8),M(),T(16,"mat-card-actions")(17,"button",9),Me("click",function(){Jt(e);const r=Pe().$implicit;return pn(Pe().delete(r.name))}),H(18,"Delete"),M()()()}if(2&n){const e=Pe().$implicit;W("cdkDragDisabled",Pe().dragDisabled),V(4),ds(" ",e.name," "),V(1),W("ngIf",""!=e.group),V(2),W("ngIf","exec"==e.type),V(1),W("ngIf","apply"==e.type),V(1),W("ngIf","image"==e.type),V(1),W("ngIf","composite"==e.type),V(2),W("ngIf","exec"==e.type),V(1),W("ngIf","apply"==e.type),V(1),W("ngIf","image"==e.type),V(1),W("ngIf","composite"==e.type)}}function bU(n,t){if(1&n&&(jo(0),xe(1,_U,19,11,"mat-card",3),Uo()),2&n){const e=t.$implicit,i=Pe();V(1),W("ngIf",e.group==i.kind)}}let yU=(()=>{class n{constructor(e,i){this.devstate=e,this.state=i,this.kind="",this.dragDisabled=!0}toggleDefault(e,i,r){e.checked?this.setDefault(i,r):this.unsetDefault(i)}setDefault(e,i){this.devstate.setDefaultCommand(e,i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})}unsetDefault(e){this.devstate.unsetDefaultCommand(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}getCommandsByKind(e,i){return e?.filter(r=>r.group==i)}delete(e){confirm('You will delete the command "'+e+'". Continue?')&&this.devstate.deleteCommand(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(x(Vs),x(ma))},n.\u0275cmp=k({type:n,selectors:[["app-commands-list"]],inputs:{commands:"commands",kind:"kind",dragDisabled:"dragDisabled"},decls:3,vars:3,consts:[["class","nothing-here",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"nothing-here"],["data-cy","command-info","cdkDrag","",3,"cdkDragDisabled",4,"ngIf"],["data-cy","command-info","cdkDrag","",3,"cdkDragDisabled"],[1,"with-right-content","colored-title"],[1,"space-between"],[3,"checked","change",4,"ngIf"],[4,"ngIf"],["mat-button","","color","warn",3,"click"],[3,"checked","change"],[1,"aligned"],["disableRipple",""],["matChipAvatar","",1,"material-icons-outlined"],["disableRipple","",4,"ngFor","ngForOf"]],template:function(e,i){if(1&e&&(xe(0,tU,2,1,"div",0),xe(1,nU,2,0,"div",0),xe(2,bU,2,1,"ng-container",1)),2&e){let r,o;W("ngIf",!(null!=(r=i.getCommandsByKind(i.commands,i.kind))&&r.length)&&""!=i.kind),V(1),W("ngIf",!(null!=(o=i.getCommandsByKind(i.commands,i.kind))&&o.length)&&""==i.kind),V(1),W("ngForOf",i.commands)}},dependencies:[ml,ji,vS,Zo,Cm,Mm,wm,Em,Dm,xm,yh,Rd,DI,nb,nc],styles:["mat-card-header.with-right-content[_ngcontent-%COMP%]{display:block}.space-between[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}.command[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:4px;background-color:#eee;padding:4px;margin:4px}.parallel-command[_ngcontent-%COMP%]{margin:8px}.serial-commands[_ngcontent-%COMP%]{margin:4px}div.nothing-here[_ngcontent-%COMP%]{margin:0 4px 16px;color:#00000054}"]}),n})();function vU(n,t){if(1&n){const e=Bn();T(0,"app-command-exec",26),Me("canceled",function(){return Jt(e),pn(Pe().undisplayExecForm())}),M()}}function CU(n,t){if(1&n){const e=Bn();T(0,"app-command-apply",26),Me("canceled",function(){return Jt(e),pn(Pe().undisplayApplyForm())}),M()}}function xU(n,t){if(1&n){const e=Bn();T(0,"app-command-image",26),Me("canceled",function(){return Jt(e),pn(Pe().undisplayImageForm())}),M()}}function wU(n,t){if(1&n){const e=Bn();T(0,"app-command-composite",26),Me("canceled",function(){return Jt(e),pn(Pe().undisplayCompositeForm())}),M()}}function DU(n,t){if(1&n&&(jo(0),T(1,"button",27)(2,"mat-icon",28),H(3,"add"),M()(),Uo()),2&n){Pe();const e=$o(48);V(1),W("matMenuTriggerFor",e)}}let MU=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayExecForm=!1,this.forceDisplayApplyForm=!1,this.forceDisplayImageForm=!1,this.forceDisplayCompositeForm=!1,this.commands=[],this.enableDragAndDrop=this.state.getDragAndDropEnabled()}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,Rr.Z)(function*(r){e.commands=r?.commands,null!=e.commands&&(e.forceDisplayExecForm=!1,e.forceDisplayApplyForm=!1,e.forceDisplayImageForm=!1,e.forceDisplayCompositeForm=!1)});return function(r){return i.apply(this,arguments)}}())}displayExecForm(){this.forceDisplayExecForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayApplyForm(){this.forceDisplayApplyForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayImageForm(){this.forceDisplayImageForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayCompositeForm(){this.forceDisplayCompositeForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayExecForm(){this.forceDisplayExecForm=!1}undisplayApplyForm(){this.forceDisplayApplyForm=!1}undisplayImageForm(){this.forceDisplayImageForm=!1}undisplayCompositeForm(){this.forceDisplayCompositeForm=!1}drop(e){this.moveCommand(e.previousContainer.data,e.container.data,e.previousIndex,e.currentIndex)}moveCommand(e,i,r,o){this.devstate.moveCommand(e,i,r,o).subscribe({next:l=>{this.state.changeDevfileYaml(l)},error:l=>{alert(l.error.message)}})}enableDragAndDropChange(){this.state.saveDragAndDropEnabled(this.enableDragAndDrop)}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(x(ma),x(Vs))},n.\u0275cmp=k({type:n,selectors:[["app-commands"]],decls:67,vars:18,consts:[[1,"main"],[1,"align-right"],[3,"ngModel","ngModelChange"],["cdkDropListGroup",""],["cdkDropList","","cdkDropListData","build",3,"cdkDropListDropped"],[1,"description"],["kind","build",3,"dragDisabled","commands"],["cdkDropList","","cdkDropListData","run",3,"cdkDropListDropped"],["kind","run",3,"dragDisabled","commands"],["cdkDropList","","cdkDropListData","test",3,"cdkDropListDropped"],["kind","test",3,"dragDisabled","commands"],["cdkDropList","","cdkDropListData","debug",3,"cdkDropListDropped"],["kind","debug",3,"dragDisabled","commands"],["cdkDropList","","cdkDropListData","deploy",3,"cdkDropListDropped"],["kind","deploy",3,"dragDisabled","commands"],["cdkDropList","","cdkDropListData","",3,"cdkDropListDropped"],["kind","",3,"dragDisabled","commands"],[3,"canceled",4,"ngIf"],[4,"ngIf"],["yPosition","above","xPosition","before"],["menu","matMenu"],["data-cy","new-command-exec","mat-menu-item","",3,"click"],[1,"tab-icon","material-icons-outlined"],["data-cy","new-command-image","mat-menu-item","",3,"click"],["data-cy","new-command-apply","mat-menu-item","",3,"click"],["data-cy","new-command-composite","mat-menu-item","",3,"click"],[3,"canceled"],["data-cy","add","mat-fab","","color","primary",1,"fab",3,"matMenuTriggerFor"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),Me("ngModelChange",function(o){return i.enableDragAndDrop=o})("ngModelChange",function(){return i.enableDragAndDropChange()}),H(3,"Enable Drag and Drop"),M()(),T(4,"div",3)(5,"div",4),Me("cdkDropListDropped",function(o){return i.drop(o)}),T(6,"h2"),H(7,"Build Commands"),M(),T(8,"div",5),H(9,"When using odo, a Build command is the first command executed during the inner loop. The command is expected to terminate after the build is completed."),M(),Ye(10,"app-commands-list",6),M(),T(11,"div",7),Me("cdkDropListDropped",function(o){return i.drop(o)}),T(12,"h2"),H(13,"Run Commands"),M(),T(14,"div",5),H(15,"When using odo, a Run command is executed during the inner loop after the Build command terminates. The command is expected to not terminate."),M(),Ye(16,"app-commands-list",8),M(),T(17,"div",9),Me("cdkDropListDropped",function(o){return i.drop(o)}),T(18,"h2"),H(19,"Test Commands"),M(),Ye(20,"app-commands-list",10),M(),T(21,"div",11),Me("cdkDropListDropped",function(o){return i.drop(o)}),T(22,"h2"),H(23,"Debug Commands"),M(),T(24,"div",5),H(25,"When using odo, a Debug command is executed during the inner loop after the Build command terminates. The command is expected to not terminate."),M(),Ye(26,"app-commands-list",12),M(),T(27,"div",13),Me("cdkDropListDropped",function(o){return i.drop(o)}),T(28,"h2"),H(29,"Deploy Commands"),M(),T(30,"div",5),H(31,"When using odo, a Deploy command is executed with "),T(32,"code"),H(33,"odo deploy"),M(),H(34,"."),M(),Ye(35,"app-commands-list",14),M(),T(36,"div",15),Me("cdkDropListDropped",function(o){return i.drop(o)}),T(37,"h2"),H(38,"Generic Commands"),M(),T(39,"div",5),H(40,"Generic can be executed manually, or be part of composite commands and events."),M(),Ye(41,"app-commands-list",16),M()(),xe(42,vU,1,0,"app-command-exec",17),xe(43,CU,1,0,"app-command-apply",17),xe(44,xU,1,0,"app-command-image",17),xe(45,wU,1,0,"app-command-composite",17),M(),xe(46,DU,4,1,"ng-container",18),T(47,"mat-menu",19,20)(49,"button",21),Me("click",function(){return i.displayExecForm()}),T(50,"mat-icon",22),H(51,"width_normal"),M(),T(52,"span"),H(53,"Exec command"),M()(),T(54,"button",23),Me("click",function(){return i.displayImageForm()}),T(55,"mat-icon",22),H(56,"image"),M(),T(57,"span"),H(58,"Image command"),M()(),T(59,"button",24),Me("click",function(){return i.displayApplyForm()}),T(60,"mat-icon",22),H(61,"description"),M(),T(62,"span"),H(63,"Apply command"),M()(),T(64,"button",25),Me("click",function(){return i.displayCompositeForm()}),T(65,"span"),H(66,"Composite command"),M()()()),2&e&&(V(2),W("ngModel",i.enableDragAndDrop),V(8),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),V(6),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),V(4),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),V(6),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),V(9),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),V(6),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),V(1),W("ngIf",i.forceDisplayExecForm),V(1),W("ngIf",i.forceDisplayApplyForm),V(1),W("ngIf",i.forceDisplayImageForm),V(1),W("ngIf",i.forceDisplayCompositeForm),V(1),W("ngIf",!(i.forceDisplayExecForm||i.forceDisplayApplyForm||i.forceDisplayImageForm||i.forceDisplayCompositeForm)))},dependencies:[ji,za,Q0,_S,mS,Q_,yh,nc,Pz,ob,Vz,Hj,Wj,Xj,eU,yU],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}.command[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:4px;background-color:#eee;padding:4px;margin:4px}.parallel-command[_ngcontent-%COMP%]{margin:8px}.serial-commands[_ngcontent-%COMP%]{margin:4px}h2[_ngcontent-%COMP%]{color:#3f51b5}div.align-right[_ngcontent-%COMP%]{text-align:right}"]}),n})();function EU(n,t){if(1&n&&(T(0,"div"),H(1,"URI: "),T(2,"code"),H(3),M()()),2&n){const e=Pe().$implicit;V(3),Tn(e.uri)}}function TU(n,t){if(1&n&&(T(0,"div")(1,"pre"),H(2),M()()),2&n){const e=Pe().$implicit;V(2),Tn(e.inlined)}}function kU(n,t){if(1&n){const e=Bn();T(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),H(3),M(),T(4,"mat-card-subtitle"),H(5,"Cluster Resource"),M()(),T(6,"mat-card-content"),xe(7,EU,4,1,"div",3),xe(8,TU,3,1,"div",3),M(),T(9,"mat-card-actions")(10,"button",6),Me("click",function(){const o=Jt(e).$implicit;return pn(Pe().delete(o.name))}),H(11,"Delete"),M()()()}if(2&n){const e=t.$implicit;V(3),Tn(e.name),V(4),W("ngIf",e.uri),V(1),W("ngIf",e.inlined)}}function SU(n,t){if(1&n){const e=Bn();T(0,"app-resource",7),Me("canceled",function(){return Jt(e),pn(Pe().undisplayAddForm())})("created",function(r){return Jt(e),pn(Pe().onCreated(r))}),M()}2&n&&W("cancelable",Pe().forceDisplayAdd)}function IU(n,t){if(1&n){const e=Bn();jo(0),T(1,"button",8),Me("click",function(){return Jt(e),pn(Pe().displayAddForm())}),T(2,"mat-icon",9),H(3,"add"),M()(),Uo()}}let AU=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayAdd=!1,this.resources=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,Rr.Z)(function*(o){i.resources=o?.resources,null!=e.resources&&(i.forceDisplayAdd=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.forceDisplayAdd=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayAdd=!1}delete(e){confirm('You will delete the resource "'+e+'". Continue?')&&this.devstate.deleteResource(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onCreated(e){this.devstate.addResource(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(x(ma),x(Vs))},n.\u0275cmp=k({type:n,selectors:[["app-resources"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","resource-info",4,"ngFor","ngForOf"],[3,"cancelable","canceled","created",4,"ngIf"],[4,"ngIf"],["data-cy","resource-info"],[1,"colored-title"],["mat-button","","color","warn",3,"click"],[3,"cancelable","canceled","created"],["mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(T(0,"div",0),xe(1,kU,12,3,"mat-card",1),xe(2,SU,1,1,"app-resource",2),M(),xe(3,IU,4,0,"ng-container",3)),2&e&&(V(1),W("ngForOf",i.resources),V(1),W("ngIf",i.forceDisplayAdd||null==i.resources||0==i.resources.length),V(1),W("ngIf",!i.forceDisplayAdd&&null!=i.resources&&i.resources.length>0))},dependencies:[ml,ji,Zo,Q_,Cm,Mm,wm,Em,Dm,xm,nc,cA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function FU(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"Build Args:"),M(),T(3,"td")(4,"code"),H(5),M()()()),2&n){const e=Pe().$implicit;V(5),Tn(e.args)}}function OU(n,t){if(1&n){const e=Bn();T(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),H(3),M(),T(4,"mat-card-subtitle"),H(5,"Image"),M()(),T(6,"mat-card-content")(7,"table",6)(8,"tr")(9,"td"),H(10,"Image Name:"),M(),T(11,"td")(12,"code"),H(13),M()()(),T(14,"tr")(15,"td"),H(16,"Dockerfile URI:"),M(),T(17,"td")(18,"code"),H(19),M()()(),xe(20,FU,6,1,"tr",3),T(21,"tr")(22,"td"),H(23,"Build Context:"),M(),T(24,"td")(25,"code"),H(26),M()()(),T(27,"tr")(28,"td"),H(29,"Root Required:"),M(),T(30,"td")(31,"code"),H(32),M()()()()(),T(33,"mat-card-actions")(34,"button",7),Me("click",function(){const o=Jt(e).$implicit;return pn(Pe().delete(o.name))}),H(35,"Delete"),M()()()}if(2&n){const e=t.$implicit;V(3),Tn(e.name),V(10),Tn(e.imageName),V(6),Tn(e.uri),V(1),W("ngIf",null!=e.args&&e.args.length>0),V(6),Tn(e.buildContext),V(6),Tn(e.rootRequired?"Yes":"No")}}function RU(n,t){if(1&n){const e=Bn();T(0,"app-image",8),Me("canceled",function(){return Jt(e),pn(Pe().undisplayAddForm())})("created",function(r){return Jt(e),pn(Pe().onCreated(r))}),M()}2&n&&W("cancelable",Pe().forceDisplayAdd)}function PU(n,t){if(1&n){const e=Bn();jo(0),T(1,"button",9),Me("click",function(){return Jt(e),pn(Pe().displayAddForm())}),T(2,"mat-icon",10),H(3,"add"),M()(),Uo()}}let LU=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayAdd=!1,this.images=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,Rr.Z)(function*(o){i.images=o?.images,null!=e.images&&(i.forceDisplayAdd=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.forceDisplayAdd=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayAdd=!1}delete(e){confirm('You will delete the image "'+e+'". Continue?')&&this.devstate.deleteImage(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onCreated(e){this.devstate.addImage(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(x(ma),x(Vs))},n.\u0275cmp=k({type:n,selectors:[["app-images"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","image-info",4,"ngFor","ngForOf"],[3,"cancelable","canceled","created",4,"ngIf"],[4,"ngIf"],["data-cy","image-info"],[1,"colored-title"],[1,"aligned"],["mat-button","","color","warn",3,"click"],[3,"cancelable","canceled","created"],["mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(T(0,"div",0),xe(1,OU,36,6,"mat-card",1),xe(2,RU,1,1,"app-image",2),M(),xe(3,PU,4,0,"ng-container",3)),2&e&&(V(1),W("ngForOf",i.images),V(1),W("ngIf",i.forceDisplayAdd||null==i.images||0==i.images.length),V(1),W("ngIf",!i.forceDisplayAdd&&null!=i.images&&i.images.length>0))},dependencies:[ml,ji,Zo,Q_,Cm,Mm,wm,Em,Dm,xm,nc,dA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function NU(n,t){if(1&n){const e=Bn();T(0,"mat-chip-row",8),Me("removed",function(){const o=Jt(e).$implicit;return pn(Pe().remove(o))}),H(1),T(2,"button",9)(3,"mat-icon",10),H(4,"cancel"),M()()()}if(2&n){const e=t.$implicit;V(1),ds(" ",e," ")}}function BU(n,t){if(1&n&&(T(0,"mat-option",11),H(1),M()),2&n){const e=t.$implicit;W("value",e),V(1),ds(" ",e," ")}}let VU=(()=>{class n{constructor(e){this.commandInput=e,this.commands=[],this.allCommands=[],this.updated=new it,this.separatorKeysCodes=[13,188],this.commandCtrl=new yn(""),this.filteredCommands=this.commandCtrl.valueChanges.pipe(Fr(null),Pn(i=>i?this._filter(i):this.allCommands.slice()))}add(e){const i=(e.value||"").trim();i&&(this.commands.push(i),this.updated.emit(this.commands)),e.chipInput.clear(),this.commandCtrl.setValue(null)}remove(e){const i=this.commands.indexOf(e);i>=0&&(this.commands.splice(i,1),this.updated.emit(this.commands))}selected(e){this.commands.push(e.option.viewValue),this.updated.emit(this.commands),this.commandInput.nativeElement.value="",this.commandCtrl.setValue(null)}_filter(e){const i=e.toLowerCase();return this.allCommands.filter(r=>r.toLowerCase().includes(i))}}return n.\u0275fac=function(e){return new(e||n)(x(E))},n.\u0275cmp=k({type:n,selectors:[["app-chips-events"]],inputs:{commands:"commands",allCommands:"allCommands"},outputs:{updated:"updated"},decls:12,vars:8,consts:[["appearance","fill",1,"chip-list"],["chipGrid",""],[3,"removed",4,"ngFor","ngForOf"],["placeholder","New command...",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["commandInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removed"],["matChipRemove",""],[1,"material-icons-outlined"],[3,"value"]],template:function(e,i){if(1&e&&(T(0,"mat-form-field",0)(1,"mat-label"),H(2,"Commands"),M(),T(3,"mat-chip-grid",null,1),xe(5,NU,5,1,"mat-chip-row",2),M(),T(6,"input",3,4),Me("matChipInputTokenEnd",function(o){return i.add(o)}),M(),T(8,"mat-autocomplete",5,6),Me("optionSelected",function(o){return i.selected(o)}),xe(10,BU,2,2,"mat-option",7),function CD(n,t){const e=Nn();let i;const r=n+xi;e.firstCreatePass?(i=function XR(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Il(i.type)),a=Hi(x);try{const l=ru(!1),d=o();return ru(l),function jF(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,Ee(),r,d),d}finally{Hi(a)}}(11,"async"),M()()),2&e){const r=$o(4),o=$o(9);V(5),W("ngForOf",i.commands),V(1),W("formControl",i.commandCtrl)("matChipInputFor",r)("matAutocomplete",o)("matChipInputSeparatorKeyCodes",i.separatorKeysCodes),V(4),W("ngForOf",xD(11,6,i.filteredCommands))}},dependencies:[ml,fa,za,eC,LH,ym,rI,kI,SI,MI,ex,Bs,_s,nc,GM],styles:[".chip-list[_ngcontent-%COMP%]{width:100%}"]}),n})();const Jc=function(){return[]};let HU=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,Rr.Z)(function*(r){e.events=r?.events,e.allCommands=r?.commands?.map(o=>o.name)});return function(r){return i.apply(this,arguments)}}())}onUpdate(e,i){this.devstate.updateEvents(e,i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(x(ma),x(Vs))},n.\u0275cmp=k({type:n,selectors:[["app-events"]],decls:21,vars:16,consts:[[1,"main"],[1,"description"],[3,"commands","allCommands","updated"]],template:function(e,i){if(1&e&&(T(0,"div",0)(1,"h2"),H(2,"Pre-Start event"),M(),T(3,"div",1),H(4,"Pre-Start commands are executed before the inner loop is started, inside init-containers (not implemented by odo)."),M(),T(5,"app-chips-events",2),Me("updated",function(o){return i.onUpdate("preStart",o)}),M(),T(6,"h2"),H(7,"Post-Start event"),M(),T(8,"div",1),H(9,"Post-Start commands are executed at the beginning of the inner loop, inside pre-fetched containers."),M(),T(10,"app-chips-events",2),Me("updated",function(o){return i.onUpdate("postStart",o)}),M(),T(11,"h2"),H(12,"Pre-Stop event"),M(),T(13,"div",1),H(14,"Pre-Stop commands are executed at the end of the inner loop, inside pre-fetched containers."),M(),T(15,"app-chips-events",2),Me("updated",function(o){return i.onUpdate("preStop",o)}),M(),T(16,"h2"),H(17,"Post-Stop event"),M(),T(18,"div",1),H(19,"Post-Stop commands are executed after the inner loop is finished (not implemented by odo)."),M(),T(20,"app-chips-events",2),Me("updated",function(o){return i.onUpdate("postStop",o)}),M()()),2&e){let r,o,a,l,d,h,p,_;V(5),W("commands",null!==(r=null==i.events?null:i.events.preStart)&&void 0!==r?r:Gl(8,Jc))("allCommands",null!==(o=i.allCommands)&&void 0!==o?o:Gl(9,Jc)),V(5),W("commands",null!==(a=null==i.events?null:i.events.postStart)&&void 0!==a?a:Gl(10,Jc))("allCommands",null!==(l=i.allCommands)&&void 0!==l?l:Gl(11,Jc)),V(5),W("commands",null!==(d=null==i.events?null:i.events.preStop)&&void 0!==d?d:Gl(12,Jc))("allCommands",null!==(h=i.allCommands)&&void 0!==h?h:Gl(13,Jc)),V(5),W("commands",null!==(p=null==i.events?null:i.events.postStop)&&void 0!==p?p:Gl(14,Jc))("allCommands",null!==(_=i.allCommands)&&void 0!==_?_:Gl(15,Jc))}},dependencies:[VU],styles:[".main[_ngcontent-%COMP%]{padding:16px}h2[_ngcontent-%COMP%]{color:#3f51b5}"]}),n})();function zU(n,t){if(1&n&&(T(0,"div",22),H(1),M()),2&n){const e=Pe();V(1),Tn(e.errorMessage)}}function $U(n,t){1&n&&H(0," Metadata ")}function jU(n,t){1&n&&(T(0,"mat-icon",23),H(1,"code"),M(),H(2," Commands "))}function UU(n,t){1&n&&(T(0,"mat-icon",23),H(1,"alarm"),M(),H(2," Events "))}function WU(n,t){1&n&&(T(0,"mat-icon",23),H(1,"width_normal"),M(),H(2," Containers "))}function GU(n,t){1&n&&(T(0,"mat-icon",23),H(1,"image"),M(),H(2," Images "))}function YU(n,t){1&n&&(T(0,"mat-icon",23),H(1,"description"),M(),H(2," Resources "))}function ZU(n,t){1&n&&(T(0,"mat-icon",23),H(1,"storage"),M(),H(2," Volumes "))}let qU=(()=>{class n{constructor(e,i,r,o,a,l){this.sanitizer=e,this.matIconRegistry=i,this.wasmGo=r,this.odoApi=o,this.mermaid=a,this.state=l,this.mermaidContent="",this.devfileYaml="",this.errorMessage="",this.matIconRegistry.addSvgIcon("github",this.sanitizer.bypassSecurityTrustResourceUrl("../assets/github-24.svg"))}ngOnInit(){var e=this;const i=document.getElementById("loading");null!=i&&(i.style.visibility="hidden"),this.odoApi.getDevfile().subscribe({next:o=>{null!=o.content&&this.onButtonClick(o.content,!1)}}),this.state.state.subscribe(function(){var o=(0,Rr.Z)(function*(a){var d;null!=a&&(e.devfileYaml=a.content,e.wasmGo.getFlowChart().subscribe({next:(d=(0,Rr.Z)(function*(h){const p=yield e.mermaid.getMermaidAsSVG(h.chart);e.mermaidContent=p}),function(p){return d.apply(this,arguments)}),error:d=>{console.log(d)}}))});return function(a){return o.apply(this,arguments)}}())}onButtonClick(e,i){this.wasmGo.setDevfileContent(e).subscribe({next:o=>{this.errorMessage="",this.state.changeDevfileYaml(o),i&&this.odoApi.saveDevfile(o.content).subscribe({next:()=>{},error:a=>{this.errorMessage=a.error.message}})},error:o=>{this.errorMessage=o.error.message}})}clear(){confirm("You will delete the content of the Devfile. Continue?")&&this.wasmGo.clearDevfileContent().subscribe({next:e=>{this.onButtonClick(e.content,!1)}})}}return n.\u0275fac=function(e){return new(e||n)(x(Xg),x(km),x(Vs),x(hj),x(Cj),x(ma))},n.\u0275cmp=k({type:n,selectors:[["app-root"]],decls:50,vars:3,consts:[["color","primary"],[1,"spacer"],[1,"topright"],["mat-icon-button","","href","https://github.com/feloy/devfile-builder","target","_blank"],["svgIcon","github"],[1,"flex-container"],[1,"flex-child"],["animationDuration","0"],["data-cy","tab-yaml","label","YAML"],[1,"tab-content"],["data-cy","yaml-error","class","error-message",4,"ngIf"],["appearance","outline",1,"full-width"],["data-cy","yaml-input","matInput","","id","input","rows","20",3,"value"],["input",""],["data-cy","yaml-send","matTooltip","Save Devfile to disk","mat-flat-button","","color","primary",3,"click"],["data-cy","yaml-save","matTooltip","Apply changes to other tabs","mat-flat-button","","color","normal",3,"click"],["data-cy","yaml-clear","matTooltip","Clear Devfile content","mat-flat-button","","color","normal",3,"click"],["data-cy","tab-chart","label","Chart"],["id","mermaid",1,"mermaid",3,"innerHTML"],["mermaid",""],["data-cy","tab-metadata"],["mat-tab-label",""],["data-cy","yaml-error",1,"error-message"],[1,"tab-icon","material-icons-outlined"]],template:function(e,i){if(1&e){const r=Bn();T(0,"mat-toolbar",0)(1,"span"),H(2,"Devfile Builder"),M(),Ye(3,"span",1),T(4,"span",2),H(5,"Work in progress"),M(),T(6,"a",3),Ye(7,"mat-icon",4),M()(),T(8,"main")(9,"div",5)(10,"div",6)(11,"mat-tab-group",7)(12,"mat-tab",8)(13,"div",9),xe(14,zU,2,1,"div",10),T(15,"mat-form-field",11)(16,"mat-label"),H(17,"Devfile YAML"),M(),Ye(18,"textarea",12,13),M(),T(20,"button",14),Me("click",function(){Jt(r);const a=$o(19);return pn(i.onButtonClick(a.value,!0))}),H(21,"Save"),M(),T(22,"button",15),Me("click",function(){Jt(r);const a=$o(19);return pn(i.onButtonClick(a.value,!1))}),H(23,"Apply"),M(),T(24,"button",16),Me("click",function(){return i.clear()}),H(25,"Clear"),M()()(),T(26,"mat-tab",17)(27,"div",6),Ye(28,"div",18,19),M()(),T(30,"mat-tab",20),xe(31,$U,1,0,"ng-template",21),Ye(32,"app-metadata"),M(),T(33,"mat-tab"),xe(34,jU,3,0,"ng-template",21),Ye(35,"app-commands"),M(),T(36,"mat-tab"),xe(37,UU,3,0,"ng-template",21),Ye(38,"app-events"),M(),T(39,"mat-tab"),xe(40,WU,3,0,"ng-template",21),Ye(41,"app-containers"),M(),T(42,"mat-tab"),xe(43,GU,3,0,"ng-template",21),Ye(44,"app-images"),M(),T(45,"mat-tab"),xe(46,YU,3,0,"ng-template",21),Ye(47,"app-resources"),M(),T(48,"mat-tab"),xe(49,ZU,3,0,"ng-template",21),M()()()()()}2&e&&(V(14),W("ngIf",i.errorMessage),V(4),W("value",i.devfileYaml),V(10),W("innerHTML",i.sanitizer.bypassSecurityTrustHtml(i.mermaidContent),Qp))},dependencies:[ji,Zo,XH,Bs,_s,nc,wl,WI,qI,$$,q$,Qc,wj,Nj,MU,AU,LU,HU],styles:["main[_ngcontent-%COMP%]{min-height:calc(100vh - 100px)}div.mermaid[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace!important}.flex-container[_ngcontent-%COMP%]{display:flex}.flex-child[_ngcontent-%COMP%]{flex:1}.flex-child[_ngcontent-%COMP%]:first-child{margin-right:20px}#input[_ngcontent-%COMP%]{width:99%}button[_ngcontent-%COMP%]{margin-top:20px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}div.tab-content[_ngcontent-%COMP%]{padding:16px}div.error-message[_ngcontent-%COMP%]{font-size:large;margin:16px}"]}),n})(),KU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Oe({type:n,bootstrap:[qU]}),n.\u0275inj=Kt({imports:[bE,U3,Q5,X5,xV,l8,zH,QH,i6,b6,I6,iz,K_,_z,Dz,Hz,r$,U$,K$,uj]}),n})();ON().bootstrapModule(KU).catch(n=>console.error(n))},1764:function(Qt){Qt.exports=function(){"use strict";var O=6e4,q=36e5,de="millisecond",ie="second",J="minute",te="hour",je="day",Ge="week",N="month",ce="quarter",K="year",ae="date",Et="Invalid Date",Zt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Te=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(wt){var Ue=["th","st","nd","rd"],ve=wt%100;return"["+wt+(Ue[(ve-20)%10]||Ue[ve]||Ue[0])+"]"}},we=function(wt,Ue,ve){var Ze=String(wt);return!Ze||Ze.length>=Ue?wt:""+Array(Ue+1-Ze.length).join(ve)+wt},pe={s:we,z:function(wt){var Ue=-wt.utcOffset(),ve=Math.abs(Ue),Ze=Math.floor(ve/60),Ve=ve%60;return(Ue<=0?"+":"-")+we(Ze,2,"0")+":"+we(Ve,2,"0")},m:function wt(Ue,ve){if(Ue.date()1)return wt(ut[0])}else{var be=Ue.name;Mt[be]=Ue,Ve=be}return!Ze&&Ve&&(yt=Ve),Ve||!Ze&&yt},Ht=function(wt,Ue){if(pt(wt))return wt.clone();var ve="object"==typeof Ue?Ue:{};return ve.date=wt,ve.args=arguments,new nn(ve)},st=pe;st.l=Vt,st.i=pt,st.w=function(wt,Ue){return Ht(wt,{locale:Ue.$L,utc:Ue.$u,x:Ue.$x,$offset:Ue.$offset})};var nn=function(){function wt(ve){this.$L=Vt(ve.locale,null,!0),this.parse(ve)}var Ue=wt.prototype;return Ue.parse=function(ve){this.$d=function(Ze){var Ve=Ze.date,gt=Ze.utc;if(null===Ve)return new Date(NaN);if(st.u(Ve))return new Date;if(Ve instanceof Date)return new Date(Ve);if("string"==typeof Ve&&!/Z$/i.test(Ve)){var ut=Ve.match(Zt);if(ut){var be=ut[2]-1||0,wn=(ut[7]||"0").substring(0,3);return gt?new Date(Date.UTC(ut[1],be,ut[3]||1,ut[4]||0,ut[5]||0,ut[6]||0,wn)):new Date(ut[1],be,ut[3]||1,ut[4]||0,ut[5]||0,ut[6]||0,wn)}}return new Date(Ve)}(ve),this.$x=ve.x||{},this.init()},Ue.init=function(){var ve=this.$d;this.$y=ve.getFullYear(),this.$M=ve.getMonth(),this.$D=ve.getDate(),this.$W=ve.getDay(),this.$H=ve.getHours(),this.$m=ve.getMinutes(),this.$s=ve.getSeconds(),this.$ms=ve.getMilliseconds()},Ue.$utils=function(){return st},Ue.isValid=function(){return this.$d.toString()!==Et},Ue.isSame=function(ve,Ze){var Ve=Ht(ve);return this.startOf(Ze)<=Ve&&Ve<=this.endOf(Ze)},Ue.isAfter=function(ve,Ze){return Ht(ve)"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}()?Reflect.construct:function(Qn,yi,Gi){var dn=[null];dn.push.apply(dn,yi);var Co=new(Function.bind.apply(Qn,dn));return Gi&&O(Co,Gi.prototype),Co}).apply(null,arguments)}function ie(Ke){return function J(Ke){if(Array.isArray(Ke))return Ge(Ke)}(Ke)||function te(Ke){if(typeof Symbol<"u"&&null!=Ke[Symbol.iterator]||null!=Ke["@@iterator"])return Array.from(Ke)}(Ke)||function je(Ke,Je){if(Ke){if("string"==typeof Ke)return Ge(Ke,Je);var $t=Object.prototype.toString.call(Ke).slice(8,-1);if("Object"===$t&&Ke.constructor&&($t=Ke.constructor.name),"Map"===$t||"Set"===$t)return Array.from(Ke);if("Arguments"===$t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($t))return Ge(Ke,Je)}}(Ke)||function N(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ge(Ke,Je){(null==Je||Je>Ke.length)&&(Je=Ke.length);for(var $t=0,mn=new Array(Je);$t1?$t-1:0),Qn=1;Qn<$t;Qn++)mn[Qn-1]=arguments[Qn];return yt(Ke,Je,mn)}}function be(Ke,Je,$t){$t=$t||st,K&&K(Ke,null);for(var mn=Je.length;mn--;){var Qn=Je[mn];if("string"==typeof Qn){var yi=$t(Qn);yi!==Qn&&(ae(Je)||(Je[mn]=yi),Qn=yi)}Ke[Qn]=!0}return Ke}function wn(Ke){var $t,Je=we(null);for($t in Ke)!0===yt(ce,Ke,[$t])&&(Je[$t]=Ke[$t]);return Je}function bn(Ke,Je){for(;null!==Ke;){var $t=Zt(Ke,Je);if($t){if($t.get)return gt($t.get);if("function"==typeof $t.value)return gt($t.value)}Ke=Et(Ke)}return function mn(Qn){return console.warn("fallback value for",Qn),null}}var sn=Te(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),li=Te(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=Te(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Wi=Te(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),_t=Te(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),qe=Te(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),It=Te(["#text"]),Xn=Te(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Pn=Te(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),_r=Te(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),bs=Te(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Oi=X(/\{\{[\w\W]*|[\w\W]*\}\}/gm),yo=X(/<%[\w\W]*|[\w\W]*%>/gm),br=X(/\${[\w\W]*}/gm),nr=X(/^data-[\-\w.\u00B7-\uFFFF]/),qo=X(/^aria-[\-\w]+$/),ga=X(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_a=X(/^(?:\w+script|data):/i),vo=X(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ri=X(/^html$/i),Ko=function(){return typeof window>"u"?null:window},Pi=function(Je,$t){if("object"!==Se(Je)||"function"!=typeof Je.createPolicy)return null;var mn=null,Qn="data-tt-policy-suffix";$t.currentScript&&$t.currentScript.hasAttribute(Qn)&&(mn=$t.currentScript.getAttribute(Qn));var yi="dompurify"+(mn?"#"+mn:"");try{return Je.createPolicy(yi,{createHTML:function(dn){return dn},createScriptURL:function(dn){return dn}})}catch{return console.warn("TrustedTypes policy "+yi+" could not be created."),null}};return function Xo(){var Ke=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ko(),Je=function(U){return Xo(U)};if(Je.version="2.4.3",Je.removed=[],!Ke||!Ke.document||9!==Ke.document.nodeType)return Je.isSupported=!1,Je;var $t=Ke.document,mn=Ke.document,Qn=Ke.DocumentFragment,yi=Ke.HTMLTemplateElement,Gi=Ke.Node,dn=Ke.Element,pi=Ke.NodeFilter,Co=Ke.NamedNodeMap,ba=void 0===Co?Ke.NamedNodeMap||Ke.MozNamedAttrMap:Co,Qo=Ke.HTMLFormElement,$s=Ke.DOMParser,to=Ke.trustedTypes,Pr=dn.prototype,Z=bn(Pr,"cloneNode"),P=bn(Pr,"nextSibling"),ke=bn(Pr,"childNodes"),ht=bn(Pr,"parentNode");if("function"==typeof yi){var gi=mn.createElement("template");gi.content&&gi.content.ownerDocument&&(mn=gi.content.ownerDocument)}var vn=Pi(to,$t),Jo=vn?vn.createHTML(""):"",io=mn.implementation,ya=mn.createNodeIterator,js=mn.createDocumentFragment,vi=mn.getElementsByTagName,es=$t.importNode,xo={};try{xo=wn(mn).documentMode?mn.documentMode:{}}catch{}var Lr={};Je.isSupported="function"==typeof ht&&io&&typeof io.createHTMLDocument<"u"&&9!==xo;var xr,ci,wo=Oi,Do=yo,ys=br,vr=nr,Yi=qo,va=_a,Mo=vo,Eo=ga,Wn=null,sc=be({},[].concat(ie(sn),ie(li),ie(Ie),ie(_t),ie(It))),Ei=null,Ga=be({},[].concat(ie(Xn),ie(Pn),ie(_r),ie(bs))),ri=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),To=null,ko=null,Ya=!0,Us=!0,ir=!1,Zi=!1,Ci=!1,So=!1,Za=!1,Io=!1,vs=!1,Ws=!1,ts=!0,oi=!1,Cr=!0,Fn=!1,ro={},He=null,Gr=be({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),wi=null,un=be({},["audio","video","img","source","image","track"]),Nt=null,rr=be({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),oo="http://www.w3.org/1998/Math/MathML",Jn="http://www.w3.org/2000/svg",Ti="http://www.w3.org/1999/xhtml",ge=Ti,Cs=!1,Yt=null,In=be({},[oo,Jn,Ti],nn),Ca=["application/xhtml+xml","text/html"],di=null,xa=mn.createElement("form"),Ys=function(U){return U instanceof RegExp||U instanceof Function},or=function(U){di&&di===U||((!U||"object"!==Se(U))&&(U={}),U=wn(U),xr=xr=-1===Ca.indexOf(U.PARSER_MEDIA_TYPE)?"text/html":U.PARSER_MEDIA_TYPE,ci="application/xhtml+xml"===xr?nn:st,Wn="ALLOWED_TAGS"in U?be({},U.ALLOWED_TAGS,ci):sc,Ei="ALLOWED_ATTR"in U?be({},U.ALLOWED_ATTR,ci):Ga,Yt="ALLOWED_NAMESPACES"in U?be({},U.ALLOWED_NAMESPACES,nn):In,Nt="ADD_URI_SAFE_ATTR"in U?be(wn(rr),U.ADD_URI_SAFE_ATTR,ci):rr,wi="ADD_DATA_URI_TAGS"in U?be(wn(un),U.ADD_DATA_URI_TAGS,ci):un,He="FORBID_CONTENTS"in U?be({},U.FORBID_CONTENTS,ci):Gr,To="FORBID_TAGS"in U?be({},U.FORBID_TAGS,ci):{},ko="FORBID_ATTR"in U?be({},U.FORBID_ATTR,ci):{},ro="USE_PROFILES"in U&&U.USE_PROFILES,Ya=!1!==U.ALLOW_ARIA_ATTR,Us=!1!==U.ALLOW_DATA_ATTR,ir=U.ALLOW_UNKNOWN_PROTOCOLS||!1,Zi=U.SAFE_FOR_TEMPLATES||!1,Ci=U.WHOLE_DOCUMENT||!1,Io=U.RETURN_DOM||!1,vs=U.RETURN_DOM_FRAGMENT||!1,Ws=U.RETURN_TRUSTED_TYPE||!1,Za=U.FORCE_BODY||!1,ts=!1!==U.SANITIZE_DOM,oi=U.SANITIZE_NAMED_PROPS||!1,Cr=!1!==U.KEEP_CONTENT,Fn=U.IN_PLACE||!1,Eo=U.ALLOWED_URI_REGEXP||Eo,ge=U.NAMESPACE||Ti,U.CUSTOM_ELEMENT_HANDLING&&Ys(U.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ri.tagNameCheck=U.CUSTOM_ELEMENT_HANDLING.tagNameCheck),U.CUSTOM_ELEMENT_HANDLING&&Ys(U.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ri.attributeNameCheck=U.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),U.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof U.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ri.allowCustomizedBuiltInElements=U.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Zi&&(Us=!1),vs&&(Io=!0),ro&&(Wn=be({},ie(It)),Ei=[],!0===ro.html&&(be(Wn,sn),be(Ei,Xn)),!0===ro.svg&&(be(Wn,li),be(Ei,Pn),be(Ei,bs)),!0===ro.svgFilters&&(be(Wn,Ie),be(Ei,Pn),be(Ei,bs)),!0===ro.mathMl&&(be(Wn,_t),be(Ei,_r),be(Ei,bs))),U.ADD_TAGS&&(Wn===sc&&(Wn=wn(Wn)),be(Wn,U.ADD_TAGS,ci)),U.ADD_ATTR&&(Ei===Ga&&(Ei=wn(Ei)),be(Ei,U.ADD_ATTR,ci)),U.ADD_URI_SAFE_ATTR&&be(Nt,U.ADD_URI_SAFE_ATTR,ci),U.FORBID_CONTENTS&&(He===Gr&&(He=wn(He)),be(He,U.FORBID_CONTENTS,ci)),Cr&&(Wn["#text"]=!0),Ci&&be(Wn,["html","head","body"]),Wn.table&&(be(Wn,["tbody"]),delete To.tbody),Te&&Te(U),di=U)},sr=be({},["mi","mo","mn","ms","mtext"]),Ao=be({},["foreignobject","desc","title","annotation-xml"]),ac=be({},["title","style","font","a","script"]),Zs=be({},li);be(Zs,Ie),be(Zs,Wi);var Ml=be({},_t);be(Ml,qe);var Nr=function(U){Ht(Je.removed,{element:U});try{U.parentNode.removeChild(U)}catch{try{U.outerHTML=Jo}catch{U.remove()}}},qa=function(U,Fe){try{Ht(Je.removed,{attribute:Fe.getAttributeNode(U),from:Fe})}catch{Ht(Je.removed,{attribute:null,from:Fe})}if(Fe.removeAttribute(U),"is"===U&&!Ei[U])if(Io||vs)try{Nr(Fe)}catch{}else try{Fe.setAttribute(U,"")}catch{}},El=function(U){var Fe,tt;if(Za)U=""+U;else{var Dn=Kn(U,/^[\r\n\t ]+/);tt=Dn&&Dn[0]}"application/xhtml+xml"===xr&&ge===Ti&&(U=''+U+"");var Di=vn?vn.createHTML(U):U;if(ge===Ti)try{Fe=(new $s).parseFromString(Di,xr)}catch{}if(!Fe||!Fe.documentElement){Fe=io.createDocument(ge,"template",null);try{Fe.documentElement.innerHTML=Cs?Jo:Di}catch{}}var Hn=Fe.body||Fe.documentElement;return U&&tt&&Hn.insertBefore(mn.createTextNode(tt),Hn.childNodes[0]||null),ge===Ti?vi.call(Fe,Ci?"html":"body")[0]:Ci?Fe.documentElement:Hn},qi=function(U){return ya.call(U.ownerDocument||U,U,pi.SHOW_ELEMENT|pi.SHOW_COMMENT|pi.SHOW_TEXT,null,!1)},Br=function(U){return"object"===Se(Gi)?U instanceof Gi:U&&"object"===Se(U)&&"number"==typeof U.nodeType&&"string"==typeof U.nodeName},so=function(U,Fe,tt){Lr[U]&&pt(Lr[U],function(Dn){Dn.call(Je,Fe,tt,di)})},lc=function(U){var Fe;if(so("beforeSanitizeElements",U,null),function(U){return U instanceof Qo&&("string"!=typeof U.nodeName||"string"!=typeof U.textContent||"function"!=typeof U.removeChild||!(U.attributes instanceof ba)||"function"!=typeof U.removeAttribute||"function"!=typeof U.setAttribute||"string"!=typeof U.namespaceURI||"function"!=typeof U.insertBefore||"function"!=typeof U.hasChildNodes)}(U)||Ze(/[\u0080-\uFFFF]/,U.nodeName))return Nr(U),!0;var tt=ci(U.nodeName);if(so("uponSanitizeElement",U,{tagName:tt,allowedTags:Wn}),U.hasChildNodes()&&!Br(U.firstElementChild)&&(!Br(U.content)||!Br(U.content.firstElementChild))&&Ze(/<[/\w]/g,U.innerHTML)&&Ze(/<[/\w]/g,U.textContent)||"select"===tt&&Ze(/