(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+1uz":function(t,e,n){"use strict";function i(t,e,n,i,r,o){var a=o[0],l=o[1],s=o[2],u=o[3],c="";return c="M"+[t+r,e],c+="h"+((n=0===(n=Math.floor(n))?1:n)-2*r),c+=l?"a"+[r,r]+" 0 0 1 "+[r,r]:"h"+r+"v"+r,c+="v"+((i=0===(i=Math.floor(i))?1:i)-2*r),c+=u?"a"+[r,r]+" 0 0 1 "+[-r,r]:"v"+r+"h"+-r,c+="h"+(2*r-n),c+=s?"a"+[r,r]+" 0 0 1 "+[-r,-r]:"h"+-r+"v"+-r,c+="v"+(2*r-i),(c+=a?"a"+[r,r]+" 0 0 1 "+[r,-r]:"v"+-r+"h"+r)+"z"}n.d(e,"a",function(){return i})},"+jfF":function(t,e,n){"use strict";e.styles=[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}"]},"+kuk":function(t,e,n){"use strict";var i=n("WpQw"),r=n("CcnG"),o=n("21Lb"),a=n("OzfB"),l=n("Ip0R"),s=n("lzlj"),u=n("FVSy"),c=n("Mr+X"),d=n("SMsm"),p=n("TtEo"),h=n("LC5p"),f=n("bujt"),m=n("UodH"),g=n("dWZg"),v=n("lLAP"),_=n("wFw1"),y=n("o3x0"),b=n("OCG0"),w=r.\u0275crt({encapsulation:0,styles:[i.styles],data:{}});function C(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,3,"h4",[["class","title-message pb-1 pl-1"],["fxLayoutAlign","start center"]],null,null,null,null,null)),r.\u0275did(1,737280,null,0,o.LayoutAlignDirective,[a.MediaMonitor,r.ElementRef,[8,null],a.StyleUtils],{align:[0,"align"]},null),(t()(),r.\u0275ted(2,null,["",""])),r.\u0275ppd(3,1)],function(t,e){t(e,1,0,"start center")},function(t,e){var n=e.component,i=r.\u0275unv(e,2,0,t(e,3,0,r.\u0275nov(e.parent,0),n.data.titleMessage));t(e,2,0,i)})}function x(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,12,"div",[["fxLayout","row"],["fxLayoutAlign","center center"]],null,null,null,null,null)),r.\u0275did(1,737280,null,0,o.LayoutDirective,[a.MediaMonitor,r.ElementRef,a.StyleUtils],{layout:[0,"layout"]},null),r.\u0275did(2,737280,null,0,o.LayoutAlignDirective,[a.MediaMonitor,r.ElementRef,[6,o.LayoutDirective],a.StyleUtils],{align:[0,"align"]},null),(t()(),r.\u0275eld(3,0,null,null,3,"div",[["fxFlex","20"]],null,null,null,null,null)),r.\u0275did(4,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),(t()(),r.\u0275ted(5,null,["",""])),r.\u0275ppd(6,1),(t()(),r.\u0275eld(7,0,null,null,2,"div",[["fxFlex","2"]],null,null,null,null,null)),r.\u0275did(8,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),(t()(),r.\u0275ted(-1,null,[":"])),(t()(),r.\u0275eld(10,0,null,null,2,"div",[["fxFlex","75"]],null,null,null,null,null)),r.\u0275did(11,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),(t()(),r.\u0275ted(12,null,["",""]))],function(t,e){t(e,1,0,"row"),t(e,2,0,"center center"),t(e,4,0,"20"),t(e,8,0,"2"),t(e,11,0,"75")},function(t,e){var n=r.\u0275unv(e,5,0,t(e,6,0,r.\u0275nov(e.parent.parent,0),e.context.$implicit[0]));t(e,5,0,n),t(e,12,0,e.context.$implicit[1])})}function M(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.\u0275and(16777216,null,null,1,null,x)),r.\u0275did(2,278528,null,0,l.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.messageObj)},null)}function E(t){return r.\u0275vid(0,[r.\u0275pid(0,l.TitleCasePipe,[]),(t()(),r.\u0275eld(1,0,null,null,35,"div",[["fxLayout","row"]],null,null,null,null,null)),r.\u0275did(2,737280,null,0,o.LayoutDirective,[a.MediaMonitor,r.ElementRef,a.StyleUtils],{layout:[0,"layout"]},null),(t()(),r.\u0275eld(3,0,null,null,33,"div",[["class","w-100"]],null,null,null,null,null)),(t()(),r.\u0275eld(4,0,null,null,11,"mat-card-header",[["class","mat-card-header"],["fxLayoutAlign","end"]],null,null,null,s.View_MatCardHeader_0,s.RenderType_MatCardHeader)),r.\u0275did(5,278528,null,0,l.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r.\u0275did(6,737280,null,0,o.LayoutAlignDirective,[a.MediaMonitor,r.ElementRef,[8,null],a.StyleUtils],{align:[0,"align"]},null),r.\u0275did(7,49152,null,0,u.MatCardHeader,[],null,null),(t()(),r.\u0275eld(8,0,null,2,2,"h2",[["fxFlex","91"]],null,null,null,null,null)),r.\u0275did(9,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),(t()(),r.\u0275ted(10,null,["",""])),(t()(),r.\u0275eld(11,0,null,2,4,"mat-icon",[["class","cursor-pointer mat-icon"],["fxFlex","7"],["fxLayoutAlign","end"],["role","img"],["type","button"]],[[2,"mat-icon-inline",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClose()&&i),i},c.View_MatIcon_0,c.RenderType_MatIcon)),r.\u0275did(12,737280,null,0,o.LayoutAlignDirective,[a.MediaMonitor,r.ElementRef,[8,null],a.StyleUtils],{align:[0,"align"]},null),r.\u0275did(13,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),r.\u0275did(14,638976,null,0,d.MatIcon,[r.ElementRef,d.MatIconRegistry,[8,null]],null,null),(t()(),r.\u0275ted(-1,0,["close"])),(t()(),r.\u0275eld(16,0,null,null,20,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),r.\u0275did(17,16384,null,0,u.MatCardContent,[],null,null),(t()(),r.\u0275eld(18,0,null,null,4,"div",[["class","pb-2 p-2 wrap-text new-line"]],null,null,null,null,null)),(t()(),r.\u0275and(16777216,null,null,1,null,C)),r.\u0275did(20,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r.\u0275and(16777216,null,null,1,null,M)),r.\u0275did(22,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r.\u0275eld(23,0,null,null,1,"mat-divider",[["class","pb-1 mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,p.View_MatDivider_0,p.RenderType_MatDivider)),r.\u0275did(24,49152,null,0,h.MatDivider,[],null,null),(t()(),r.\u0275eld(25,0,null,null,11,"div",[["fxLayoutAlign","center"]],null,null,null,null,null)),r.\u0275did(26,737280,null,0,o.LayoutAlignDirective,[a.MediaMonitor,r.ElementRef,[8,null],a.StyleUtils],{align:[0,"align"]},null),(t()(),r.\u0275eld(27,0,null,null,4,"button",[["class","mb-1 mr-2"],["color","accent"],["default",""],["fxFlex","20"],["mat-raised-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.\u0275nov(t,30).dialogRef.close(r.\u0275nov(t,30).dialogResult)&&i),i},f.View_MatButton_0,f.RenderType_MatButton)),r.\u0275did(28,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),r.\u0275did(29,180224,null,0,m.MatButton,[r.ElementRef,g.Platform,v.FocusMonitor,[2,_.ANIMATION_MODULE_TYPE]],{color:[0,"color"]},null),r.\u0275did(30,606208,null,0,y.MatDialogClose,[[2,y.MatDialogRef],r.ElementRef,y.MatDialog],{dialogResult:[0,"dialogResult"]},null),(t()(),r.\u0275ted(-1,0,["No"])),(t()(),r.\u0275eld(32,0,null,null,4,"button",[["class","mb-1 ml-2"],["fxFlex","20"],["mat-raised-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.\u0275nov(t,35).dialogRef.close(r.\u0275nov(t,35).dialogResult)&&i),i},f.View_MatButton_0,f.RenderType_MatButton)),r.\u0275did(33,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),r.\u0275did(34,180224,null,0,m.MatButton,[r.ElementRef,g.Platform,v.FocusMonitor,[2,_.ANIMATION_MODULE_TYPE]],{color:[0,"color"]},null),r.\u0275did(35,606208,null,0,y.MatDialogClose,[[2,y.MatDialogRef],r.ElementRef,y.MatDialog],{dialogResult:[0,"dialogResult"]},null),(t()(),r.\u0275ted(-1,0,["Yes"]))],function(t,e){var n=e.component;t(e,2,0,"row"),t(e,5,0,n.msgTypeBackground),t(e,6,0,"end"),t(e,9,0,"91"),t(e,12,0,"end"),t(e,13,0,"7"),t(e,14,0),t(e,20,0,n.data.titleMessage),t(e,22,0,n.messageObj.length>0),t(e,26,0,"center"),t(e,28,0,"20"),t(e,29,0,"accent"),t(e,30,0,!1),t(e,33,0,"20"),t(e,34,0,n.msgTypeForeground),t(e,35,0,!0)},function(t,e){t(e,10,0,e.component.data.type),t(e,11,0,r.\u0275nov(e,14).inline),t(e,23,0,r.\u0275nov(e,24).vertical?"vertical":"horizontal",r.\u0275nov(e,24).vertical,!r.\u0275nov(e,24).vertical,r.\u0275nov(e,24).inset),t(e,27,0,r.\u0275nov(e,29).disabled||null,"NoopAnimations"===r.\u0275nov(e,29)._animationMode,r.\u0275nov(e,30).ariaLabel),t(e,32,0,r.\u0275nov(e,34).disabled||null,"NoopAnimations"===r.\u0275nov(e,34)._animationMode,r.\u0275nov(e,35).ariaLabel)})}function S(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,1,"rtl-confirmation-message",[],null,null,null,E,w)),r.\u0275did(1,114688,null,0,b.ConfirmationMessageComponent,[y.MatDialogRef,y.MAT_DIALOG_DATA],null,null)],function(t,e){t(e,1,0)},null)}e.RenderType_ConfirmationMessageComponent=w,e.View_ConfirmationMessageComponent_0=E,e.View_ConfirmationMessageComponent_Host_0=S,e.ConfirmationMessageComponentNgFactory=r.\u0275ccf("rtl-confirmation-message",b.ConfirmationMessageComponent,S,{},{},[])},"+nza":function(t,e,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=0}},"/FBu":function(t,e,n){"use strict";e.styles=[".p-2[_ngcontent-%COMP%]{padding:1rem}.pb-1[_ngcontent-%COMP%]{padding-bottom:.3rem}.pb-2[_ngcontent-%COMP%]{padding-bottom:1rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:.5rem}.wrap-text[_ngcontent-%COMP%]{word-break:break-word}.mat-icon[type=button][_ngcontent-%COMP%]{cursor:pointer}.new-line[_ngcontent-%COMP%]{white-space:pre-wrap}.title-message[_ngcontent-%COMP%]{font-size:110%}"]},"/FgC":function(t,e,n){"use strict";e.styles=[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend li,.chart-legend ul{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]},"/TIM":function(t,e,n){"use strict";var i="http://www.w3.org/1999/xhtml",r={svg:"http://www.w3.org/2000/svg",xhtml:i,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},o=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.hasOwnProperty(e)?{space:r[e],local:t}:t},a=function(t){var e=o(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i&&e.documentElement.namespaceURI===i?e.createElement(t):e.createElementNS(n,t)}})(e)};function l(){}var s=function(t){return null==t?l:function(){return this.querySelector(t)}};function u(){return[]}var c=function(t){return null==t?u:function(){return this.querySelectorAll(t)}},d=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var p=document.documentElement;if(!p.matches){var h=p.webkitMatchesSelector||p.msMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector;d=function(t){return function(){return h.call(this,t)}}}}var f=d,m=function(t){return new Array(t.length)};function g(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}g.prototype={constructor:g,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var v="$";function _(t,e,n,i,r,o){for(var a,l=0,s=e.length,u=o.length;le?1:t>=e?0:NaN}var w=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function C(t,e){return t.style.getPropertyValue(e)||w(t).getComputedStyle(t,null).getPropertyValue(e)}function x(t){return t.trim().split(/^|\s+/)}function M(t){return t.classList||new E(t)}function E(t){this._node=t,this._names=x(t.getAttribute("class")||"")}function S(t,e){for(var n=M(t),i=-1,r=e.length;++i=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var N={},j=null;function F(t,e,n){return t=V(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function V(t,e,n){return function(i){var r=j;j=i;try{t.call(this,this.__data__,e,n)}finally{j=r}}}function B(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,o=e.length;i=x&&(x=C+1);!(w=v[x])&&++x=0;)(i=r[o])&&(a&&a!==i.nextSibling&&a.parentNode.insertBefore(i,a),a=i);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=b);for(var n=this._groups,i=n.length,r=new Array(i),o=0;o1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):C(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=x(t+"");if(arguments.length<2){for(var i=M(this.node()),r=-1,o=n.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),a=o.length;if(!(arguments.length<2)){for(l=e?H:B,null==n&&(n=!1),i=0;i0?this._keyManager.setPreviousItemActive():0===e&&this.options.length>1&&this._keyManager.setNextItemActive()}},e.prototype._keydown=function(t){var e=t.keyCode,n=this._keyManager,i=n.activeItemIndex;switch(e){case u.n:case u.f:this._toggleFocusedOption(),t.preventDefault();break;case u.h:case u.e:e===u.h?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault();break;case u.a:t.ctrlKey&&(this.options.find(function(t){return!t.selected})?this.selectAll():this.deselectAll(),t.preventDefault());break;default:n.onKeydown(t)}e!==u.p&&e!==u.d||!t.shiftKey||n.activeItemIndex===i||this._toggleFocusedOption()},e.prototype._reportValueChange=function(){this.options&&this._onChange(this._getSelectedOptionValues())},e.prototype._emitChangeEvent=function(t){this.selectionChange.emit(new O(this,t))},e.prototype.writeValue=function(t){this.options?this._setOptionsFromValues(t||[]):this._tempValues=t},e.prototype.setDisabledState=function(t){this.disabled=t},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype._setOptionsFromValues=function(t){var e=this;this.options.forEach(function(t){return t._setSelected(!1)}),t.map(function(t){return e.options.find(function(n){return e.compareWith?e.compareWith(n.value,t):n.value===t})}).filter(Boolean).forEach(function(t){return t._setSelected(!0)})},e.prototype._getSelectedOptionValues=function(){return this.options.filter(function(t){return t.selected}).map(function(t){return t.value})},e.prototype._toggleFocusedOption=function(){var t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){var e=this.options.toArray()[t];e&&!e.disabled&&(e.toggle(),this._emitChangeEvent(e))}},e.prototype._setAllOptionsSelected=function(t){var e=!1;this.options.forEach(function(n){n._setSelected(t)&&(e=!0)}),e&&this._reportValueChange()},e.prototype._isValidIndex=function(t){return t>=0&&t-1}var c=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r._announcer=new o.a(1),r.layout$=r._announcer.asObservable(),r}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"layout",{set:function(t){this._cacheInput("layout",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutXs",{set:function(t){this._cacheInput("layoutXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutSm",{set:function(t){this._cacheInput("layoutSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutMd",{set:function(t){this._cacheInput("layoutMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutLg",{set:function(t){this._cacheInput("layoutLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutXl",{set:function(t){this._cacheInput("layoutXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutGtXs",{set:function(t){this._cacheInput("layoutGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutGtSm",{set:function(t){this._cacheInput("layoutGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutGtMd",{set:function(t){this._cacheInput("layoutGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutGtLg",{set:function(t){this._cacheInput("layoutGtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutLtSm",{set:function(t){this._cacheInput("layoutLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutLtMd",{set:function(t){this._cacheInput("layoutLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutLtLg",{set:function(t){this._cacheInput("layoutLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutLtXl",{set:function(t){this._cacheInput("layoutLtXl",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.layout||this._mqActivation)&&this._updateWithDirection()},e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._listenForMediaQueryChanges("layout","row",function(t){e._updateWithDirection(t.value)})},e.prototype._updateWithDirection=function(t){t=t||this._queryInput("layout")||"row",this._mqActivation&&(t=this._mqActivation.activatedInput);var e=function(t){var e=s(t);return function(t,n,i){return void 0===n&&(n=null),void 0===i&&(i=!1),{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e[0],"flex-wrap":n||null}}(0,e[1],e[2])}(t||"");this._applyStyleToElement(e),this._announcer.next({direction:e["flex-direction"],wrap:!!e["flex-wrap"]&&"nowrap"!==e["flex-wrap"]})},e}(r.BaseDirective),d=function(t){function e(e,n,i,r,o,a){var l=t.call(this,e,n,a)||this;return l._zone=r,l._directionality=o,l._layout="row",i&&(l._layoutWatcher=i.layout$.subscribe(l._onLayoutChange.bind(l))),l._directionWatcher=l._directionality.change.subscribe(l._updateWithValue.bind(l)),l}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"gap",{set:function(t){this._cacheInput("gap",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapXs",{set:function(t){this._cacheInput("gapXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapSm",{set:function(t){this._cacheInput("gapSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapMd",{set:function(t){this._cacheInput("gapMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapLg",{set:function(t){this._cacheInput("gapLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapXl",{set:function(t){this._cacheInput("gapXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapGtXs",{set:function(t){this._cacheInput("gapGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapGtSm",{set:function(t){this._cacheInput("gapGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapGtMd",{set:function(t){this._cacheInput("gapGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapGtLg",{set:function(t){this._cacheInput("gapGtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapLtSm",{set:function(t){this._cacheInput("gapLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapLtMd",{set:function(t){this._cacheInput("gapLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapLtLg",{set:function(t){this._cacheInput("gapLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapLtXl",{set:function(t){this._cacheInput("gapLtXl",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.gap||this._mqActivation)&&this._updateWithValue()},e.prototype.ngAfterContentInit=function(){var t=this;this._watchContentChanges(),this._listenForMediaQueryChanges("gap","0",function(e){t._updateWithValue(e.value)}),this._updateWithValue()},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._layoutWatcher&&this._layoutWatcher.unsubscribe(),this._observer&&this._observer.disconnect(),this._directionWatcher&&this._directionWatcher.unsubscribe()},e.prototype._watchContentChanges=function(){var t=this;this._zone.runOutsideAngular(function(){"undefined"!=typeof MutationObserver&&(t._observer=new MutationObserver(function(e){e.some(function(t){return t.addedNodes&&t.addedNodes.length>0||t.removedNodes&&t.removedNodes.length>0})&&t._updateWithValue()}),t._observer.observe(t.nativeElement,{childList:!0}))})},e.prototype._onLayoutChange=function(t){var e=this;this._layout=(t.direction||"").toLowerCase(),l.find(function(t){return t===e._layout})||(this._layout="row"),this._updateWithValue()},e.prototype._updateWithValue=function(t){var e=this,n=t||this._queryInput("gap")||"0";this._mqActivation&&(n=this._mqActivation.activatedInput);var i=this.childrenNodes.filter(function(t){return 1===t.nodeType&&"none"!=e._getDisplayStyle(t)}).sort(function(t,n){var i=+e._styler.lookupStyle(t,"order"),r=+e._styler.lookupStyle(n,"order");return isNaN(i)||isNaN(r)||i===r?0:i>r?1:-1});if(i.length>0)if(n.endsWith(p))n=n.substring(0,n.indexOf(p)),this._applyStyleToElements(this._buildGridPadding(n),i),this._applyStyleToElement(this._buildGridMargin(n));else{var r=i.pop();this._applyStyleToElements(this._buildCSS(n),i),this._applyStyleToElements(this._buildCSS(),[r])}},e.prototype._buildGridPadding=function(t){var e="0px",n="0px";return"rtl"===this._directionality.value?n=t:e=t,{padding:"0px "+e+" "+t+" "+n}},e.prototype._buildGridMargin=function(t){var e="0px",n="0px";return"rtl"===this._directionality.value?n="-"+t:e="-"+t,{margin:"0px "+e+" -"+t+" "+n}},e.prototype._buildCSS=function(t){var e;void 0===t&&(t=null);var n={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};switch(this._layout){case"column":e="margin-bottom";break;case"column-reverse":e="margin-top";break;case"row":e="rtl"===this._directionality.value?"margin-left":"margin-right";break;case"row-reverse":e="rtl"===this._directionality.value?"margin-right":"margin-left";break;default:e="rtl"===this._directionality.value?"margin-left":"margin-right"}return n[e]=t,n},e}(r.BaseDirective),p=" grid";function h(t){for(var e=[],n=1;n-1?"column":"row",r=u(i)?"max-width":"max-height",o=u(i)?"min-width":"min-height",a=String(n).indexOf("calc")>-1,l=a||"auto"==n,s=String(n).indexOf("%")>-1&&!a,c=String(n).indexOf("px")>-1||String(n).indexOf("em")>-1||String(n).indexOf("vw")>-1||String(n).indexOf("vh")>-1,d=String(n).indexOf("px")>-1||l,p=a||c;e="0"==e?0:e;var f=!(t="0"==t?0:t)&&!e,m={},g={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(n||""){case"":n="row"===i?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":t=0,n="auto";break;case"grow":n="100%";break;case"noshrink":e=0,n="auto";break;case"auto":break;case"none":t=0,e=0,n="auto";break;default:p||s||isNaN(n)||(n+="%"),"0%"===n&&(p=!0),"0px"===n&&(n="0%"),m=h(g,a?{"flex-grow":t,"flex-shrink":e,"flex-basis":p?n:"100%"}:{flex:t+" "+e+" "+(p?n:"100%")})}return m.flex||m["flex-grow"]||(m=h(g,a?{"flex-grow":t,"flex-shrink":e,"flex-basis":n}:{flex:t+" "+e+" "+n})),"0%"!==n&&"0px"!==n&&"0.000000001px"!==n&&"auto"!==n&&(m[o]=f||d&&t?n:null,m[r]=f||!l&&e?n:null),m[o]||m[r]?this._layout&&this._layout.wrap&&(m[a?"flex-basis":"flex"]=m[r]?a?m[r]:t+" "+e+" "+m[r]:a?m[o]:t+" "+e+" "+m[o]):m=h(g,a?{"flex-grow":t,"flex-shrink":e,"flex-basis":n}:{flex:t+" "+e+" "+n}),h(m,{"box-sizing":"border-box"})},e}(r.BaseDirective),m=function(t){function e(e,n,i){return t.call(this,e,n,i)||this}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"order",{set:function(t){this._cacheInput("order",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderXs",{set:function(t){this._cacheInput("orderXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderSm",{set:function(t){this._cacheInput("orderSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderMd",{set:function(t){this._cacheInput("orderMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderLg",{set:function(t){this._cacheInput("orderLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderXl",{set:function(t){this._cacheInput("orderXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderGtXs",{set:function(t){this._cacheInput("orderGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderGtSm",{set:function(t){this._cacheInput("orderGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderGtMd",{set:function(t){this._cacheInput("orderGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderGtLg",{set:function(t){this._cacheInput("orderGtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderLtSm",{set:function(t){this._cacheInput("orderLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderLtMd",{set:function(t){this._cacheInput("orderLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderLtLg",{set:function(t){this._cacheInput("orderLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderLtXl",{set:function(t){this._cacheInput("orderLtXl",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.order||this._mqActivation)&&this._updateWithValue()},e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._listenForMediaQueryChanges("order","0",function(t){e._updateWithValue(t.value)})},e.prototype._updateWithValue=function(t){t=t||this._queryInput("order")||"0",this._mqActivation&&(t=this._mqActivation.activatedInput),this._applyStyleToElement(this._buildCSS(t))},e.prototype._buildCSS=function(t){void 0===t&&(t="");var e=parseInt(t,10);return{order:isNaN(e)?0:e}},e}(r.BaseDirective),g=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,o)||this;return a._container=i,a._directionality=r,a._layout={direction:"row",wrap:!1},a._directionWatcher=a._directionality.change.subscribe(a._updateWithValue.bind(a)),a.watchParentFlow(),a}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"offset",{set:function(t){this._cacheInput("offset",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetXs",{set:function(t){this._cacheInput("offsetXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetSm",{set:function(t){this._cacheInput("offsetSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetMd",{set:function(t){this._cacheInput("offsetMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetLg",{set:function(t){this._cacheInput("offsetLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetXl",{set:function(t){this._cacheInput("offsetXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetLtSm",{set:function(t){this._cacheInput("offsetLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetLtMd",{set:function(t){this._cacheInput("offsetLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetLtLg",{set:function(t){this._cacheInput("offsetLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetLtXl",{set:function(t){this._cacheInput("offsetLtXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetGtXs",{set:function(t){this._cacheInput("offsetGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetGtSm",{set:function(t){this._cacheInput("offsetGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetGtMd",{set:function(t){this._cacheInput("offsetGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetGtLg",{set:function(t){this._cacheInput("offsetGtLg",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.offset||this._mqActivation)&&this._updateWithValue()},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._layoutWatcher&&this._layoutWatcher.unsubscribe(),this._directionWatcher&&this._directionWatcher.unsubscribe()},e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._listenForMediaQueryChanges("offset",0,function(t){e._updateWithValue(t.value)})},e.prototype.watchParentFlow=function(){var t=this;this._container&&(this._layoutWatcher=this._container.layout$.subscribe(function(e){t._onLayoutChange(e)}))},e.prototype._onLayoutChange=function(t){this._layout=t||this._layout||{direction:"row",wrap:!1},this._updateWithValue()},e.prototype._updateWithValue=function(t){t=t||this._queryInput("offset")||0,this._mqActivation&&(t=this._mqActivation.activatedInput),this._applyStyleToElement(this._buildCSS(t))},e.prototype._buildCSS=function(t){var e;void 0===t&&(t="");var n=String(t).indexOf("%")>-1;String(t).indexOf("px")>-1||n||isNaN(+t)||(t+="%");var i="rtl"===this._directionality.value?"margin-right":"margin-left";return u(this._getFlexFlowDirection(this.parentElement,!0))?((e={})[i]=""+t,e):{"margin-top":""+t}},e}(r.BaseDirective),v=function(t){function e(e,n,i){return t.call(this,e,n,i)||this}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"align",{set:function(t){this._cacheInput("align",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignXs",{set:function(t){this._cacheInput("alignXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignSm",{set:function(t){this._cacheInput("alignSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignMd",{set:function(t){this._cacheInput("alignMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLg",{set:function(t){this._cacheInput("alignLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignXl",{set:function(t){this._cacheInput("alignXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtSm",{set:function(t){this._cacheInput("alignLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtMd",{set:function(t){this._cacheInput("alignLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtLg",{set:function(t){this._cacheInput("alignLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtXl",{set:function(t){this._cacheInput("alignLtXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtXs",{set:function(t){this._cacheInput("alignGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtSm",{set:function(t){this._cacheInput("alignGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtMd",{set:function(t){this._cacheInput("alignGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtLg",{set:function(t){this._cacheInput("alignGtLg",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.align||this._mqActivation)&&this._updateWithValue()},e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._listenForMediaQueryChanges("align","stretch",function(t){e._updateWithValue(t.value)})},e.prototype._updateWithValue=function(t){t=t||this._queryInput("align")||"stretch",this._mqActivation&&(t=this._mqActivation.activatedInput),this._applyStyleToElement(this._buildCSS(t))},e.prototype._buildCSS=function(t){void 0===t&&(t="");var e={};switch(t){case"start":e["align-self"]="flex-start";break;case"end":e["align-self"]="flex-end";break;default:e["align-self"]=t}return e},e}(r.BaseDirective),_={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"},y=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.elRef=n,r._applyStyleToElement(_),r}return Object(i.__extends)(e,t),e}(r.BaseDirective),b=function(t){function e(e,n,i,r){var o=t.call(this,e,n,r)||this;return o._layout="row",i&&(o._layoutWatcher=i.layout$.subscribe(o._onLayoutChange.bind(o))),o}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"align",{set:function(t){this._cacheInput("align",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignXs",{set:function(t){this._cacheInput("alignXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignSm",{set:function(t){this._cacheInput("alignSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignMd",{set:function(t){this._cacheInput("alignMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLg",{set:function(t){this._cacheInput("alignLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignXl",{set:function(t){this._cacheInput("alignXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtXs",{set:function(t){this._cacheInput("alignGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtSm",{set:function(t){this._cacheInput("alignGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtMd",{set:function(t){this._cacheInput("alignGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtLg",{set:function(t){this._cacheInput("alignGtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtSm",{set:function(t){this._cacheInput("alignLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtMd",{set:function(t){this._cacheInput("alignLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtLg",{set:function(t){this._cacheInput("alignLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtXl",{set:function(t){this._cacheInput("alignLtXl",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.align||this._mqActivation)&&this._updateWithValue()},e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._listenForMediaQueryChanges("align","start stretch",function(t){e._updateWithValue(t.value)})},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._layoutWatcher&&this._layoutWatcher.unsubscribe()},e.prototype._updateWithValue=function(t){t=t||this._queryInput("align")||"start stretch",this._mqActivation&&(t=this._mqActivation.activatedInput),this._applyStyleToElement(this._buildCSS(t)),this._allowStretching(t,this._layout?this._layout:"row")},e.prototype._onLayoutChange=function(t){var e=this;this._layout=(t.direction||"").toLowerCase(),l.find(function(t){return t===e._layout})||(this._layout="row");var n=this._queryInput("align")||"start stretch";this._mqActivation&&(n=this._mqActivation.activatedInput),this._allowStretching(n,this._layout||"row")},e.prototype._buildCSS=function(t){void 0===t&&(t="");var e={},n=t.split(" "),i=n[1];switch(n[0]){case"center":e["justify-content"]="center";break;case"space-around":e["justify-content"]="space-around";break;case"space-between":e["justify-content"]="space-between";break;case"space-evenly":e["justify-content"]="space-evenly";break;case"end":case"flex-end":e["justify-content"]="flex-end";break;case"start":case"flex-start":default:e["justify-content"]="flex-start"}switch(i){case"start":case"flex-start":e["align-items"]=e["align-content"]="flex-start";break;case"baseline":e["align-items"]="baseline";break;case"center":e["align-items"]=e["align-content"]="center";break;case"end":case"flex-end":e["align-items"]=e["align-content"]="flex-end";break;case"stretch":default:e["align-items"]=e["align-content"]="stretch"}return h(e,{display:"flex","flex-direction":this._layout||"row","box-sizing":"border-box"})},e.prototype._allowStretching=function(t,e){void 0===t&&(t=""),void 0===e&&(e=""),"stretch"==t.split(" ")[1]&&this._applyStyleToElement({"box-sizing":"border-box","max-width":u(e)?null:"100%","max-height":u(e)?"100%":null})},e}(r.BaseDirective),w=function(){return function(){}}()},"26FU":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("mrSG"),r=n("K9Ia"),o=n("8g8A"),a=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return i.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(r.a)},"2Bdj":function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},"2Q+G":function(t,e,n){"use strict";var i=n("CcnG"),r=n("mVsa"),o=n("Ip0R"),a=n("eDkP"),l=n("Fzqc"),s=n("Wf4p"),u=n("dWZg"),c=n("4c35"),d=n("qAlS"),p=n("wFw1"),h=n("lLAP");e.MatMenuModuleNgFactory=i.\u0275cmf(r.MatMenuModule,[],function(t){return i.\u0275mod([i.\u0275mpd(512,i.ComponentFactoryResolver,i.\u0275CodegenComponentFactoryResolver,[[8,[]],[3,i.ComponentFactoryResolver],i.NgModuleRef]),i.\u0275mpd(4608,o.NgLocalization,o.NgLocaleLocalization,[i.LOCALE_ID,[2,o.\u0275angular_packages_common_common_a]]),i.\u0275mpd(4608,a.Overlay,a.Overlay,[a.ScrollStrategyOptions,a.OverlayContainer,i.ComponentFactoryResolver,a.OverlayPositionBuilder,a.OverlayKeyboardDispatcher,i.Injector,i.NgZone,o.DOCUMENT,l.Directionality]),i.\u0275mpd(5120,a.\u0275c,a.\u0275d,[a.Overlay]),i.\u0275mpd(5120,r.MAT_MENU_SCROLL_STRATEGY,r.\u0275d23,[a.Overlay]),i.\u0275mpd(1073742336,o.CommonModule,o.CommonModule,[]),i.\u0275mpd(1073742336,l.BidiModule,l.BidiModule,[]),i.\u0275mpd(1073742336,s.MatCommonModule,s.MatCommonModule,[[2,s.MATERIAL_SANITY_CHECKS]]),i.\u0275mpd(1073742336,u.PlatformModule,u.PlatformModule,[]),i.\u0275mpd(1073742336,s.MatRippleModule,s.MatRippleModule,[]),i.\u0275mpd(1073742336,c.PortalModule,c.PortalModule,[]),i.\u0275mpd(1073742336,d.ScrollDispatchModule,d.ScrollDispatchModule,[]),i.\u0275mpd(1073742336,a.OverlayModule,a.OverlayModule,[]),i.\u0275mpd(1073742336,r.MatMenuModule,r.MatMenuModule,[])])});var f=i.\u0275crt({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:2px;outline:0}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}@media screen and (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}.mat-menu-panel.ng-animating .mat-menu-item-submenu-trigger{pointer-events:none}button.mat-menu-item{width:100%}.mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.01, 0.01)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:2,steps:[{type:11,selector:".mat-menu-content",animation:{type:6,styles:{opacity:0},offset:null},options:null},{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1, 0.5)"},offset:null},timings:"100ms linear"},{type:3,steps:[{type:11,selector:".mat-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"400ms cubic-bezier(0.55, 0, 0.55, 0.2)"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1, 1)"},offset:null},timings:"300ms cubic-bezier(0.25, 0.8, 0.25, 1)"}],options:null}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"150ms 50ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function m(t){return i.\u0275vid(0,[(t()(),i.\u0275eld(0,0,null,null,3,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.closed.emit("click")&&i),"@transformMenu.start"===e&&(i=0!=(r._isAnimating=!0)&&i),"@transformMenu.done"===e&&(i=!1!==r._onAnimationDone(n)&&i),i},null,null)),i.\u0275did(1,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i.\u0275eld(2,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),i.\u0275ncd(null,0)],function(t,e){t(e,1,0,"mat-menu-panel",e.component._classList)},function(t,e){t(e,0,0,e.component._panelAnimationState)})}function g(t){return i.\u0275vid(2,[i.\u0275qud(402653184,1,{templateRef:0}),(t()(),i.\u0275and(0,[[1,2]],null,0,null,m))],null,null)}function v(t){return i.\u0275vid(0,[(t()(),i.\u0275eld(0,0,null,null,4,"mat-menu",[],null,null,null,g,f)),i.\u0275prd(6144,null,r.\u0275f23,null,[r.MatMenu]),i.\u0275did(2,1294336,null,2,r.MatMenu,[i.ElementRef,i.NgZone,r.MAT_MENU_DEFAULT_OPTIONS],null,null),i.\u0275qud(603979776,1,{items:1}),i.\u0275qud(335544320,2,{lazyContent:0})],function(t,e){t(e,2,0)},null)}e.RenderType_MatMenu=f,e.View_MatMenu_0=g,e.View_MatMenu_Host_0=v,e.MatMenuNgFactory=i.\u0275ccf("mat-menu",r.MatMenu,v,{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:"class",classList:"classList"},{closed:"closed",close:"close"},["*"]);var _=i.\u0275crt({encapsulation:2,styles:[],data:{}});function y(t){return i.\u0275vid(2,[i.\u0275ncd(null,0),(t()(),i.\u0275eld(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),i.\u0275did(2,212992,null,0,s.MatRipple,[i.ElementRef,i.NgZone,u.Platform,[2,s.MAT_RIPPLE_GLOBAL_OPTIONS],[2,p.ANIMATION_MODULE_TYPE]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())},function(t,e){t(e,1,0,i.\u0275nov(e,2).unbounded)})}function b(t){return i.\u0275vid(0,[(t()(),i.\u0275eld(0,0,null,null,1,"div",[["class","mat-menu-item"],["mat-menu-item",""],["role","menuitem"]],[[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.\u0275nov(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.\u0275nov(t,1)._handleMouseEnter()&&r),r},y,_)),i.\u0275did(1,180224,null,0,r.MatMenuItem,[i.ElementRef,o.DOCUMENT,h.FocusMonitor,[2,r.\u0275f23]],null,null)],null,function(t,e){t(e,0,0,i.\u0275nov(e,1)._highlighted,i.\u0275nov(e,1)._triggersSubmenu,i.\u0275nov(e,1)._getTabIndex(),i.\u0275nov(e,1).disabled.toString(),i.\u0275nov(e,1).disabled||null)})}e.RenderType_MatMenuItem=_,e.View_MatMenuItem_0=y,e.View_MatMenuItem_Host_0=b,e.MatMenuItemNgFactory=i.\u0275ccf("[mat-menu-item]",r.MatMenuItem,b,{disabled:"disabled",disableRipple:"disableRipple"},{},["*"])},"2UC5":function(t,e,n){"use strict";function i(){}function r(t,e){var n=new i;if(t instanceof i)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,o=-1,a=t.length;if(null==e)for(;++o2?_:v,i=r=null,h}function h(e){return(i||(i=n(o,s,c?function(t){return function(e,n){var i=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:i(t)}}}(t):t,u)))(+e)}return h.invert=function(t){return(r||(r=n(s,o,g,c?function(t){return function(e,n){var i=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:i(t)}}}(e):e)))(+t)},h.domain=function(t){return arguments.length?(o=a.call(t,f),d()):o.slice()},h.range=function(t){return arguments.length?(s=l.call(t),d()):s.slice()},h.rangeRound=function(t){return s=l.call(t),u=p.e,d()},h.clamp=function(t){return arguments.length?(c=!!t,d()):c},h.interpolate=function(t){return arguments.length?(u=t,d()):u},d()}var w=n("rWgG"),C=function(t,e,n){var r,o=t[0],a=t[t.length-1],l=Object(i.i)(o,a,null==e?10:e);switch((n=Object(w.c)(null==n?",f":n)).type){case"s":var s=Math.max(Math.abs(o),Math.abs(a));return null!=n.precision||isNaN(r=Object(w.e)(l,s))||(n.precision=r),Object(w.b)(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=Object(w.f)(l,Math.max(Math.abs(o),Math.abs(a))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=Object(w.d)(l))||(n.precision=r-2*("%"===n.type))}return Object(w.a)(n)};function x(){var t=b(g,p.c);return t.copy=function(){return y(t,x())},function(t){var e=t.domain;return t.ticks=function(t){var n=e();return Object(i.j)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return C(e(),t,n)},t.nice=function(n){null==n&&(n=10);var r,o=e(),a=0,l=o.length-1,s=o[a],u=o[l];return u0?(s=Math.floor(s/r)*r,u=Math.ceil(u/r)*r,r=Object(i.h)(s,u,n)):r<0&&(s=Math.ceil(s*r)/r,u=Math.floor(u*r)/r,r=Object(i.h)(s,u,n)),r>0?(o[a]=Math.floor(s/r)*r,o[l]=Math.ceil(u/r)*r,e(o)):r<0&&(o[a]=Math.ceil(s*r)/r,o[l]=Math.floor(u*r)/r,e(o)),t},t}(t)}function M(){var t=[],e=[],n=[];function r(){var r=0,a=Math.max(1,e.length);for(n=new Array(a-1);++r0?n[r-1]:t[0],r0))return l;do{l.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););})},n&&(r.count=function(e,i){return E.setTime(+e),S.setTime(+i),t(E),t(S),Math.floor(n(E,S))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(e){return i(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}var T=O(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});T.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?O(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):T:null};var A=T,R=6e4,D=6048e5,k=O(function(t){t.setTime(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),I=O(function(t){t.setTime(Math.floor(t/R)*R)},function(t,e){t.setTime(+t+e*R)},function(t,e){return(e-t)/R},function(t){return t.getMinutes()}),P=O(function(t){var e=t.getTimezoneOffset()*R%36e5;e<0&&(e+=36e5),t.setTime(36e5*Math.floor((+t-e)/36e5)+e)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),L=O(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*R)/864e5},function(t){return t.getDate()-1});function N(t){return O(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*R)/D})}var j=N(0),F=N(1),V=(N(2),N(3),N(4)),B=(N(5),N(6),O(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),H=O(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});H.every=function(t){return isFinite(t=Math.floor(t))&&t>0?O(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var U=H,z=(O(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*R)},function(t,e){return(e-t)/R},function(t){return t.getUTCMinutes()}),O(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),O(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}));function G(t){return O(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/D})}var q=G(0),Y=G(1),W=(G(2),G(3),G(4)),X=(G(5),G(6),O(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),O(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}));X.every=function(t){return isFinite(t=Math.floor(t))&&t>0?O(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var K=X;function Z(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Q(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var J,tt,et,nt={"-":"",_:" ",0:"0"},it=/^\s*\d+/,rt=/^%/,ot=/[\\^$*+?|[\]().{}]/g;function at(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o68?1900:2e3),n+i[0].length):-1}function vt(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function _t(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function yt(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function bt(t,e,n){var i=it.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function wt(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function Ct(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function xt(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function Mt(t,e,n){var i=it.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function Et(t,e,n){var i=it.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function St(t,e,n){var i=rt.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function Ot(t,e,n){var i=it.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function Tt(t,e,n){var i=it.exec(e.slice(n));return i?(t.Q=1e3*+i[0],n+i[0].length):-1}function At(t,e){return at(t.getDate(),e,2)}function Rt(t,e){return at(t.getHours(),e,2)}function Dt(t,e){return at(t.getHours()%12||12,e,2)}function kt(t,e){return at(1+L.count(U(t),t),e,3)}function It(t,e){return at(t.getMilliseconds(),e,3)}function Pt(t,e){return It(t,e)+"000"}function Lt(t,e){return at(t.getMonth()+1,e,2)}function Nt(t,e){return at(t.getMinutes(),e,2)}function jt(t,e){return at(t.getSeconds(),e,2)}function Ft(t){var e=t.getDay();return 0===e?7:e}function Vt(t,e){return at(j.count(U(t),t),e,2)}function Bt(t,e){var n=t.getDay();return t=n>=4||0===n?V(t):V.ceil(t),at(V.count(U(t),t)+(4===U(t).getDay()),e,2)}function Ht(t){return t.getDay()}function Ut(t,e){return at(F.count(U(t),t),e,2)}function zt(t,e){return at(t.getFullYear()%100,e,2)}function Gt(t,e){return at(t.getFullYear()%1e4,e,4)}function qt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+at(e/60|0,"0",2)+at(e%60,"0",2)}function Yt(t,e){return at(t.getUTCDate(),e,2)}function Wt(t,e){return at(t.getUTCHours(),e,2)}function Xt(t,e){return at(t.getUTCHours()%12||12,e,2)}function Kt(t,e){return at(1+z.count(K(t),t),e,3)}function Zt(t,e){return at(t.getUTCMilliseconds(),e,3)}function Qt(t,e){return Zt(t,e)+"000"}function $t(t,e){return at(t.getUTCMonth()+1,e,2)}function Jt(t,e){return at(t.getUTCMinutes(),e,2)}function te(t,e){return at(t.getUTCSeconds(),e,2)}function ee(t){var e=t.getUTCDay();return 0===e?7:e}function ne(t,e){return at(q.count(K(t),t),e,2)}function ie(t,e){var n=t.getUTCDay();return t=n>=4||0===n?W(t):W.ceil(t),at(W.count(K(t),t)+(4===K(t).getUTCDay()),e,2)}function re(t){return t.getUTCDay()}function oe(t,e){return at(Y.count(K(t),t),e,2)}function ae(t,e){return at(t.getUTCFullYear()%100,e,2)}function le(t,e){return at(t.getUTCFullYear()%1e4,e,4)}function se(){return"+0000"}function ue(){return"%"}function ce(t){return+t}function de(t){return Math.floor(+t/1e3)}J=function(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,o=t.days,a=t.shortDays,l=t.months,s=t.shortMonths,u=st(r),c=ut(r),d=st(o),p=ut(o),h=st(a),f=ut(a),m=st(l),g=ut(l),v=st(s),_=ut(s),y={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return l[t.getMonth()]},c:null,d:At,e:At,f:Pt,H:Rt,I:Dt,j:kt,L:It,m:Lt,M:Nt,p:function(t){return r[+(t.getHours()>=12)]},Q:ce,s:de,S:jt,u:Ft,U:Vt,V:Bt,w:Ht,W:Ut,x:null,X:null,y:zt,Y:Gt,Z:qt,"%":ue},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return l[t.getUTCMonth()]},c:null,d:Yt,e:Yt,f:Qt,H:Wt,I:Xt,j:Kt,L:Zt,m:$t,M:Jt,p:function(t){return r[+(t.getUTCHours()>=12)]},Q:ce,s:de,S:te,u:ee,U:ne,V:ie,w:re,W:oe,x:null,X:null,y:ae,Y:le,Z:se,"%":ue},w={a:function(t,e,n){var i=h.exec(e.slice(n));return i?(t.w=f[i[0].toLowerCase()],n+i[0].length):-1},A:function(t,e,n){var i=d.exec(e.slice(n));return i?(t.w=p[i[0].toLowerCase()],n+i[0].length):-1},b:function(t,e,n){var i=v.exec(e.slice(n));return i?(t.m=_[i[0].toLowerCase()],n+i[0].length):-1},B:function(t,e,n){var i=m.exec(e.slice(n));return i?(t.m=g[i[0].toLowerCase()],n+i[0].length):-1},c:function(t,n,i){return M(t,e,n,i)},d:yt,e:yt,f:Et,H:wt,I:wt,j:bt,L:Mt,m:_t,M:Ct,p:function(t,e,n){var i=u.exec(e.slice(n));return i?(t.p=c[i[0].toLowerCase()],n+i[0].length):-1},Q:Ot,s:Tt,S:xt,u:dt,U:pt,V:ht,w:ct,W:ft,x:function(t,e,i){return M(t,n,e,i)},X:function(t,e,n){return M(t,i,e,n)},y:gt,Y:mt,Z:vt,"%":St};function C(t,e){return function(n){var i,r,o,a=[],l=-1,s=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++l53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=Q($(o.y))).getUTCDay(),i=r>4||0===r?Y.ceil(i):Y(i),i=z.offset(i,7*(o.V-1)),o.y=i.getUTCFullYear(),o.m=i.getUTCMonth(),o.d=i.getUTCDate()+(o.w+6)%7):(r=(i=e($(o.y))).getDay(),i=r>4||0===r?F.ceil(i):F(i),i=L.offset(i,7*(o.V-1)),o.y=i.getFullYear(),o.m=i.getMonth(),o.d=i.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),r="Z"in o?Q($(o.y)).getUTCDay():e($(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(r+5)%7:o.w+7*o.U-(r+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Q(o)):e(o)}}function M(t,e,n,i){for(var r,o,a=0,l=e.length,s=n.length;a=s)return-1;if(37===(r=e.charCodeAt(a++))){if(r=e.charAt(a++),!(o=w[r in nt?e.charAt(a++):r])||(i=o(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return y.x=C(n,y),y.X=C(i,y),y.c=C(e,y),b.x=C(n,b),b.X=C(i,b),b.c=C(e,b),{format:function(t){var e=C(t+="",y);return e.toString=function(){return t},e},parse:function(t){var e=x(t+="",Z);return e.toString=function(){return t},e},utcFormat:function(t){var e=C(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=x(t,Q);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),tt=J.format,et=J.utcParse,Date.prototype.toISOString||(0,J.utcFormat)("%Y-%m-%dT%H:%M:%S.%LZ"),+new Date("2000-01-01T00:00:00.000Z")||et("%Y-%m-%dT%H:%M:%S.%LZ");var pe=31536e6;function he(t){return new Date(t)}function fe(t){return t instanceof Date?+t:+new Date(+t)}var me=function(){return function t(e,n,r,o,l,s,u,c,d){var h=b(g,p.c),f=h.invert,m=h.domain,v=d(".%L"),_=d(":%S"),w=d("%I:%M"),C=d("%I %p"),x=d("%a %d"),M=d("%b %d"),E=d("%B"),S=d("%Y"),O=[[u,1,1e3],[u,5,5e3],[u,15,15e3],[u,30,3e4],[s,1,6e4],[s,5,3e5],[s,15,9e5],[s,30,18e5],[l,1,36e5],[l,3,108e5],[l,6,216e5],[l,12,432e5],[o,1,864e5],[o,2,1728e5],[r,1,6048e5],[n,1,2592e6],[n,3,7776e6],[e,1,pe]];function T(t){return(u(t)=0;e--)this.killRenderer(n[e]);return delete this.renderersPerCamera[t.id],delete this.cameraFrames[t.id],delete this.cameras[t.id],t.kill&&t.kill(),this},n.prototype.addRenderer=function(t){var e,i,r,o,a=t||{};if("string"==typeof a?a={container:document.getElementById(a)}:a instanceof HTMLElement&&(a={container:a}),"string"==typeof a.container&&(a.container=document.getElementById(a.container)),"id"in a)e=a.id;else{for(e=0;this.renderers[""+e];)e++;e=""+e}if(this.renderers[e])throw'sigma.addRenderer: The renderer "'+e+'" already exists.';if(i=(i="function"==typeof a.type?a.type:n.renderers[a.type])||n.renderers.def,r="camera"in a?a.camera instanceof n.classes.camera?a.camera:this.cameras[a.camera]||this.addCamera(a.camera):this.addCamera(),this.cameras[r.id]!==r)throw"sigma.addRenderer: The camera is not properly referenced.";return o=new i(this.graph,r,this.settings,a),this.renderers[e]=o,Object.defineProperty(o,"id",{value:e}),o.bind&&o.bind(["click","rightClick","clickStage","doubleClickStage","rightClickStage","clickNode","clickNodes","clickEdge","clickEdges","doubleClickNode","doubleClickNodes","doubleClickEdge","doubleClickEdges","rightClickNode","rightClickNodes","rightClickEdge","rightClickEdges","overNode","overNodes","overEdge","overEdges","outNode","outNodes","outEdge","outEdges","downNode","downNodes","downEdge","downEdges","upNode","upNodes","upEdge","upEdges"],this._handler),this.renderersPerCamera[r.id].push(o),o},n.prototype.killRenderer=function(t){if(!(t="string"==typeof t?this.renderers[t]:t))throw"sigma.killRenderer: The renderer is undefined.";var e=this.renderersPerCamera[t.camera.id],n=e.indexOf(t);return n>=0&&e.splice(n,1),t.kill&&t.kill(),delete this.renderers[t.id],this},n.prototype.refresh=function(e){var i,r,o,a,l,s,u=0;for(e=e||{},i=0,r=(a=this.middlewares||[]).length;ia.weightTime){l.splice(t,0,a),r=!0;break}r||l.push(a)}return i?a:null}function m(t){var e=l.length;a[t.id]=t,t.status="running",e&&(t.weightTime=l[e-1].weightTime,t.currentTime=t.weightTime*(t.weight||1)),t.startTime=C(),h("jobStarted",b(t)),l.push(t)}function g(){var t,e,n;for(t in o)(e=o[t]).after?s[t]=e:m(e),delete o[t];for(r=!!l.length;l.length&&C()-i=0;t--)for(e in arguments[t])n[e]=arguments[t][e];return n}function b(t){var e,n,i;if(!t)return t;if(Array.isArray(t))for(e=[],n=0,i=t.length;n1)for(i=0,r=(a=Array.isArray(e)?e:e.split(/ /)).length;i!==r;i+=1)p[o=a[i]]||(p[o]=[]),p[o].push({handler:n})},unbind:function(t,e){var n,i,r,o,a,l,s=Array.isArray(t)?t:t.split(/ /);if(arguments.length)if(e)for(n=0,i=s.length;n!==i;n+=1){if(p[l=s[n]]){for(a=[],r=0,o=p[l].length;r!==o;r+=1)p[l][r].handler!==e&&a.push(p[l][r]);p[l]=a}p[l]&&0===p[l].length&&delete p[l]}else for(n=0,i=s.length;n!==i;n+=1)delete p[s[n]];else p=Object.create(null)},version:"0.1.0"};void 0!==t&&t.exports&&(e=t.exports=x),e.conrad=x,n.conrad=x}(this);var i=this.sigma,r=this.conrad;i.conrad=r,"undefined"==typeof HTMLElement&&(HTMLElement=function(){}),"undefined"==typeof window&&(window={addEventListener:function(){}}),void 0!==t&&t.exports&&(e=t.exports=i),e.sigma=i,(function(t){"use strict";if(void 0===i)throw"sigma is not declared";var e,n=this;i.utils=i.utils||{},i.utils.extend=function(){var t,e,n={};for(t=arguments.length-1;t>=0;t--)for(e in arguments[t])n[e]=arguments[t][e];return n},i.utils.dateNow=function(){return Date.now?Date.now():(new Date).getTime()},i.utils.pkg=function(t){return(t||"").split(".").reduce(function(t,e){return e in t?t[e]:t[e]={}},n)},i.utils.id=(e=0,function(){return++e});var r={};i.utils.floatColor=function(t){if(r[t])return r[t];var e=t,n=0,i=0,o=0;"#"===t[0]?3===(t=t.slice(1)).length?(n=parseInt(t.charAt(0)+t.charAt(0),16),i=parseInt(t.charAt(1)+t.charAt(1),16),o=parseInt(t.charAt(2)+t.charAt(2),16)):(n=parseInt(t.charAt(0)+t.charAt(1),16),i=parseInt(t.charAt(2)+t.charAt(3),16),o=parseInt(t.charAt(4)+t.charAt(5),16)):t.match(/^ *rgba? *\(/)&&(n=+(t=t.match(/^ *rgba? *\( *([0-9]*) *, *([0-9]*) *, *([0-9]*) *(,.*)?\) *$/))[1],i=+t[2],o=+t[3]);var a=256*n*256+256*i+o;return r[e]=a,a},i.utils.zoomTo=function(t,e,n,r,o){var a,l,s,u=t.settings;(l=Math.max(u("zoomMin"),Math.min(u("zoomMax"),t.ratio*r)))!==t.ratio&&(s={x:e*(1-(r=l/t.ratio))+t.x,y:n*(1-r)+t.y,ratio:l},o&&o.duration?(a=i.misc.animation.killAll(t),o=i.utils.extend(o,{easing:a?"quadraticOut":"quadraticInOut"}),i.misc.animation.camera(t,s,o)):(t.goTo(s),o&&o.onComplete&&o.onComplete()))},i.utils.getQuadraticControlPoint=function(t,e,n,i){return{x:(t+n)/2+(i-e)/4,y:(e+i)/2+(t-n)/4}},i.utils.getPointOnQuadraticCurve=function(t,e,n,i,r,o,a){return{x:Math.pow(1-t,2)*e+2*(1-t)*t*o+Math.pow(t,2)*i,y:Math.pow(1-t,2)*n+2*(1-t)*t*a+Math.pow(t,2)*r}},i.utils.getPointOnBezierCurve=function(t,e,n,i,r,o,a,l,s){var u=Math.pow(1-t,3),c=3*t*Math.pow(1-t,2),d=3*Math.pow(t,2)*(1-t),p=Math.pow(t,3);return{x:u*e+c*o+d*l+p*i,y:u*n+c*a+d*s+p*r}},i.utils.getSelfLoopControlPoints=function(t,e,n){return{x1:t-7*n,y1:e,x2:t,y2:e+7*n}},i.utils.getDistance=function(t,e,n,i){return Math.sqrt(Math.pow(n-t,2)+Math.pow(i-e,2))},i.utils.getCircleIntersection=function(t,e,n,i,r,o){var a,l,s,u,c,d,p,h,f;return l=i-t,s=r-e,!((u=Math.sqrt(s*s+l*l))>n+o)&&!(uc||Math.abs(e-r)>c)return!1;for(var d,p=.5,h=i.utils.getDistance(t,e,n,r)0&&p>=0&&p<=1&&g>u&&(h>.001||h<-.001);)d=g,m=i.utils.getPointOnQuadraticCurve(p,n,r,o,a,l,s),(g=i.utils.getDistance(t,e,m.x,m.y))>d?p+=h=-h/2:p+h<0||p+h>1?(h/=2,g=d):p+=h;return gp||Math.abs(e-r)>p)return!1;for(var h,f=.5,m=i.utils.getDistance(t,e,n,r)0&&f>=0&&f<=1&&_>d&&(m>.001||m<-.001);)h=_,v=i.utils.getPointOnBezierCurve(f,n,r,o,a,l,s,u,c),(_=i.utils.getDistance(t,e,v.x,v.y))>h?f+=m=-m/2:f+m<0||f+m>1?(m/=2,_=h):f+=m;return _window.screen.logicalXDPI?e=window.screen.systemXDPI/window.screen.logicalXDPI:window.devicePixelRatio!==t&&(e=window.devicePixelRatio),e},i.utils.getWidth=function(e){var n=e.target.ownerSVGElement?e.target.ownerSVGElement.width:e.target.width;return"number"==typeof n&&n||n!==t&&n.baseVal!==t&&n.baseVal.value},i.utils.getCenter=function(t){var e=-1!==t.target.namespaceURI.indexOf("svg")?1:i.utils.getPixelRatio();return{x:i.utils.getWidth(t)/(2*e),y:i.utils.getHeight(t)/(2*e)}},i.utils.mouseCoords=function(t,e,n){return e=e||i.utils.getX(t),n=n||i.utils.getY(t),{x:e-i.utils.getCenter(t).x,y:n-i.utils.getCenter(t).y,clientX:t.clientX,clientY:t.clientY,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,shiftKey:t.shiftKey}},i.utils.getHeight=function(e){var n=e.target.ownerSVGElement?e.target.ownerSVGElement.height:e.target.height;return"number"==typeof n&&n||n!==t&&n.baseVal!==t&&n.baseVal.value},i.utils.getDelta=function(e){return e.wheelDelta!==t&&e.wheelDelta||e.detail!==t&&-e.detail},i.utils.getOffset=function(t){for(var e=0,n=0;t;)n+=parseInt(t.offsetTop),e+=parseInt(t.offsetLeft),t=t.offsetParent;return{top:n,left:e}},i.utils.doubleClick=function(t,e,n){var r,o=0;t._doubleClickHandler=t._doubleClickHandler||{},t._doubleClickHandler[e]=t._doubleClickHandler[e]||[],(r=t._doubleClickHandler[e]).push(function(t){if(2==++o)return o=0,n(t);1===o&&setTimeout(function(){o=0},i.settings.doubleClickTimeout)}),t.addEventListener(e,r[r.length-1],!1)},i.utils.unbindDoubleClick=function(t,e){for(var n,i=(t._doubleClickHandler||{})[e]||[];n=i.pop();)t.removeEventListener(e,n);delete(t._doubleClickHandler||{})[e]},i.utils.easings=i.utils.easings||{},i.utils.easings.linearNone=function(t){return t},i.utils.easings.quadraticIn=function(t){return t*t},i.utils.easings.quadraticOut=function(t){return t*(2-t)},i.utils.easings.quadraticInOut=function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},i.utils.easings.cubicIn=function(t){return t*t*t},i.utils.easings.cubicOut=function(t){return--t*t*t+1},i.utils.easings.cubicInOut=function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},i.utils.loadShader=function(t,e,n,i){var r=t.createShader(n);return t.shaderSource(r,e),t.compileShader(r),t.getShaderParameter(r,t.COMPILE_STATUS)?r:(i&&i('Error compiling shader "'+r+'":'+t.getShaderInfoLog(r)),t.deleteShader(r),null)},i.utils.loadProgram=function(t,e,n,i,r){var o,a=t.createProgram();for(o=0;o4)throw"attach: Wrong arguments.";var r;if("constructor"===t)r=a;else if(i){if(!s[t])throw'The method "'+t+'" does not exist.';r=s[t]}else{if(!l[t])throw'The method "'+t+'" does not exist.';r=l[t]}if(r[e])throw'A function "'+e+'" is already attached to the method "'+t+'".';return r[e]=n,this},d.attachBefore=function(t,e,n){return this.attach(t,e,n,!0)},d.addIndex=function(t,e){if("string"!=typeof t||Object(e)!==e||2!==arguments.length)throw"addIndex: Wrong arguments.";if(o[t])throw'The index "'+t+'" already exists.';var n;for(n in o[t]=e,e){if("function"!=typeof e[n])throw"The bindings must be functions.";d.attach(n,t,e[n])}return this},d.addMethod("addNode",function(t){if(Object(t)!==t||1!==arguments.length)throw"addNode: Wrong arguments.";if("string"!=typeof t.id&&"number"!=typeof t.id)throw"The node must have a string or number id.";if(this.nodesIndex[t.id])throw'The node "'+t.id+'" already exists.';var e,n=t.id,i=Object.create(null);if(this.settings("clone"))for(e in t)"id"!==e&&(i[e]=t[e]);else i=t;return this.settings("immutable")?Object.defineProperty(i,"id",{value:n,enumerable:!0}):i.id=n,this.inNeighborsIndex[n]=Object.create(null),this.outNeighborsIndex[n]=Object.create(null),this.allNeighborsIndex[n]=Object.create(null),this.inNeighborsCount[n]=0,this.outNeighborsCount[n]=0,this.allNeighborsCount[n]=0,this.nodesArray.push(i),this.nodesIndex[i.id]=i,this}),d.addMethod("addEdge",function(t){if(Object(t)!==t||1!==arguments.length)throw"addEdge: Wrong arguments.";if("string"!=typeof t.id&&"number"!=typeof t.id)throw"The edge must have a string or number id.";if("string"!=typeof t.source&&"number"!=typeof t.source||!this.nodesIndex[t.source])throw"The edge source must have an existing node id.";if("string"!=typeof t.target&&"number"!=typeof t.target||!this.nodesIndex[t.target])throw"The edge target must have an existing node id.";if(this.edgesIndex[t.id])throw'The edge "'+t.id+'" already exists.';var e,n=Object.create(null);if(this.settings("clone"))for(e in t)"id"!==e&&"source"!==e&&"target"!==e&&(n[e]=t[e]);else n=t;return this.settings("immutable")?(Object.defineProperty(n,"id",{value:t.id,enumerable:!0}),Object.defineProperty(n,"source",{value:t.source,enumerable:!0}),Object.defineProperty(n,"target",{value:t.target,enumerable:!0})):(n.id=t.id,n.source=t.source,n.target=t.target),this.edgesArray.push(n),this.edgesIndex[n.id]=n,this.inNeighborsIndex[n.target][n.source]||(this.inNeighborsIndex[n.target][n.source]=Object.create(null)),this.inNeighborsIndex[n.target][n.source][n.id]=n,this.outNeighborsIndex[n.source][n.target]||(this.outNeighborsIndex[n.source][n.target]=Object.create(null)),this.outNeighborsIndex[n.source][n.target][n.id]=n,this.allNeighborsIndex[n.source][n.target]||(this.allNeighborsIndex[n.source][n.target]=Object.create(null)),this.allNeighborsIndex[n.source][n.target][n.id]=n,n.target!==n.source&&(this.allNeighborsIndex[n.target][n.source]||(this.allNeighborsIndex[n.target][n.source]=Object.create(null)),this.allNeighborsIndex[n.target][n.source][n.id]=n),this.inNeighborsCount[n.target]++,this.outNeighborsCount[n.source]++,this.allNeighborsCount[n.target]++,this.allNeighborsCount[n.source]++,this}),d.addMethod("dropNode",function(t){if("string"!=typeof t&&"number"!=typeof t||1!==arguments.length)throw"dropNode: Wrong arguments.";if(!this.nodesIndex[t])throw'The node "'+t+'" does not exist.';var e,n,i;for(delete this.nodesIndex[t],e=0,i=this.nodesArray.length;e=0;e--)this.edgesArray[e].source!==t&&this.edgesArray[e].target!==t||this.dropEdge(this.edgesArray[e].id);for(n in delete this.inNeighborsIndex[t],delete this.outNeighborsIndex[t],delete this.allNeighborsIndex[t],delete this.inNeighborsCount[t],delete this.outNeighborsCount[t],delete this.allNeighborsCount[t],this.nodesIndex)delete this.inNeighborsIndex[n][t],delete this.outNeighborsIndex[n][t],delete this.allNeighborsIndex[n][t];return this}),d.addMethod("dropEdge",function(t){if("string"!=typeof t&&"number"!=typeof t||1!==arguments.length)throw"dropEdge: Wrong arguments.";if(!this.edgesIndex[t])throw'The edge "'+t+'" does not exist.';var e,n,i;for(i=this.edgesIndex[t],delete this.edgesIndex[t],e=0,n=this.edgesArray.length;et.y1?{x1:t.x1-t.height,y1:t.y1,x2:t.x1,y2:t.y1,height:t.height}:t.x1===t.x2&&t.y2=c},collision:function(t,e){for(var n=this.axis(t,e),i=!0,r=0;r<4;r++)i=i&&this.axisCollision(n[r],t,e);return i}};function r(t,e){for(var n=[],i=0;i<4;i++)t.x2>=e[i][0].x&&t.x1<=e[i][1].x&&t.y1+t.height>=e[i][0].y&&t.y1<=e[i][2].y&&n.push(i);return n}function o(t,e){for(var n=[],r=0;r<4;r++)i.collision(t,e[r])&&n.push(r);return n}function a(t,e){var n,i,r=e.level+1,o=Math.round(e.bounds.width/2),a=Math.round(e.bounds.height/2),l=Math.round(e.bounds.x),u=Math.round(e.bounds.y);switch(t){case 0:n=l,i=u;break;case 1:n=l+o,i=u;break;case 2:n=l,i=u+a;break;case 3:n=l+o,i=u+a}return s({x:n,y:i,width:o,height:a},r,e.maxElements,e.maxLevel)}function l(t,e,i){if(i.levelt.y1?{x1:t.x1-t.height,y1:t.y1,x2:t.x1,y2:t.y1,height:t.height}:t.x1===t.x2&&t.y2=c},collision:function(t,e){for(var n=this.axis(t,e),i=!0,r=0;r<4;r++)i=i&&this.axisCollision(n[r],t,e);return i}};function o(t,e){for(var n=[],i=0;i<4;i++)t.x2>=e[i][0].x&&t.x1<=e[i][1].x&&t.y1+t.height>=e[i][0].y&&t.y1<=e[i][2].y&&n.push(i);return n}function a(t,e){for(var n=[],i=0;i<4;i++)r.collision(t,e[i])&&n.push(i);return n}function l(t,e){var n,i,r=e.level+1,o=Math.round(e.bounds.width/2),a=Math.round(e.bounds.height/2),l=Math.round(e.bounds.x),s=Math.round(e.bounds.y);switch(t){case 0:n=l,i=s;break;case 1:n=l+o,i=s;break;case 2:n=l,i=s+a;break;case 3:n=l+o,i=s+a}return u({x:n,y:i,width:o,height:a},r,e.maxElements,e.maxLevel)}function s(t,e,i){if(i.level100&&p,m.dispatchEvent("click",e)}return t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation(),!1}function M(t){var e,n,r,o=i.utils.getDelta(t);if(_("mouseEnabled")&&_("mouseWheelEnabled")&&0!==o)return n=o>0?1/_("zoomingRatio"):_("zoomingRatio"),e=v.cameraPosition(i.utils.getX(t)-i.utils.getCenter(t).x,i.utils.getY(t)-i.utils.getCenter(t).y,!0),r={duration:_("mouseZoomDuration")},i.utils.zoomTo(v,e.x,e.y,n,r),t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation(),!1}i.classes.dispatcher.extend(this),i.utils.doubleClick(g,"click",function(t){var e,n,r;if(_("mouseEnabled"))return n=1/_("doubleClickZoomingRatio"),m.dispatchEvent("doubleclick",i.utils.mouseCoords(t,s,u)),_("doubleClickEnabled")&&(e=v.cameraPosition(i.utils.getX(t)-i.utils.getCenter(t).x,i.utils.getY(t)-i.utils.getCenter(t).y,!0),r={duration:_("doubleClickZoomDuration")},i.utils.zoomTo(v,e.x,e.y,n,r)),t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation(),!1}),g.addEventListener("DOMMouseScroll",M,!1),g.addEventListener("mousewheel",M,!1),g.addEventListener("mousemove",y,!1),g.addEventListener("mousedown",w,!1),g.addEventListener("click",x,!1),g.addEventListener("mouseout",C,!1),document.addEventListener("mouseup",b,!1),this.kill=function(){i.utils.unbindDoubleClick(g,"click"),g.removeEventListener("DOMMouseScroll",M),g.removeEventListener("mousewheel",M),g.removeEventListener("mousemove",y),g.removeEventListener("mousedown",w),g.removeEventListener("click",x),g.removeEventListener("mouseout",C),document.removeEventListener("mouseup",b)}}}).call(this),(function(t){"use strict";if(void 0===i)throw"sigma is not declared";i.utils.pkg("sigma.captors"),i.captors.touch=function(t,e,n){var r,o,a,l,s,u,c,d,p,h,f,m,g,v,_,y,b=this,w=t,C=e,x=n,M=[];function E(t){var e=i.utils.getOffset(w);return{x:t.pageX-e.left,y:t.pageY-e.top}}function S(t){var e,n;if(x("touchEnabled"))switch((M=t.touches).length){case 1:C.isMoving=!0,g=1,r=C.x,o=C.y,s=C.x,u=C.y,e=E(M[0]),c=e.x,d=e.y;break;case 2:return C.isMoving=!0,g=2,e=E(M[0]),n=E(M[1]),s=C.x,u=C.y,a=C.angle,l=C.ratio,r=C.x,o=C.y,c=e.x,d=e.y,p=n.x,h=n.y,f=Math.atan2(h-d,p-c),m=Math.sqrt((h-d)*(h-d)+(p-c)*(p-c)),t.preventDefault(),!1}}function O(t){if(x("touchEnabled")){M=t.touches;var e=x("touchInertiaRatio");switch(y&&(v=!1,clearTimeout(y)),g){case 2:if(1===t.touches.length){S(t),t.preventDefault();break}case 1:C.isMoving=!1,b.dispatchEvent("stopDrag"),v&&(_=!1,i.misc.animation.camera(C,{x:C.x+e*(C.x-s),y:C.y+e*(C.y-u)},{easing:"quadraticOut",duration:x("touchInertiaDuration")})),v=!1,g=0}}}function T(t){if(!_&&x("touchEnabled")){var e,n,w,S,O,T,A,R,D,k,I,P,L,N,j,F,V;switch(M=t.touches,v=!0,y&&clearTimeout(y),y=setTimeout(function(){v=!1},x("dragTimeout")),g){case 1:R=E(M[0]),k=C.cameraPosition((e=R.x)-c,(w=R.y)-d,!0),j=o-k.y,(N=r-k.x)===C.x&&j===C.y||(s=C.x,u=C.y,C.goTo({x:N,y:j}),b.dispatchEvent("mousemove",i.utils.mouseCoords(t,R.x,R.y)),b.dispatchEvent("drag"));break;case 2:R=E(M[0]),D=E(M[1]),e=R.x,w=R.y,n=D.x,S=D.y,I=C.cameraPosition((c+p)/2-i.utils.getCenter(t).x,(d+h)/2-i.utils.getCenter(t).y,!0),A=C.cameraPosition((e+n)/2-i.utils.getCenter(t).x,(w+S)/2-i.utils.getCenter(t).y,!0),P=Math.atan2(S-w,n-e)-f,L=Math.sqrt((S-w)*(S-w)+(n-e)*(n-e))/m,e=I.x,w=I.y,F=l/L,e*=L,V=a-P,S=(w*=L)*(O=Math.cos(-P))-e*(T=Math.sin(-P)),N=(e=n=e*O+w*T)-A.x+r,j=(w=S)-A.y+o,F===C.ratio&&V===C.angle&&N===C.x&&j===C.y||(s=C.x,u=C.y,C.goTo({x:N,y:j,angle:V,ratio:F}),b.dispatchEvent("drag"))}return t.preventDefault(),!1}}i.classes.dispatcher.extend(this),i.utils.doubleClick(w,"touchstart",function(t){var e,n,r;if(t.touches&&1===t.touches.length&&x("touchEnabled"))return _=!0,n=1/x("doubleClickZoomingRatio"),e=E(t.touches[0]),b.dispatchEvent("doubleclick",i.utils.mouseCoords(t,e.x,e.y)),x("doubleClickEnabled")&&(e=C.cameraPosition(e.x-i.utils.getCenter(t).x,e.y-i.utils.getCenter(t).y,!0),r={duration:x("doubleClickZoomDuration"),onComplete:function(){_=!1}},i.utils.zoomTo(C,e.x,e.y,n,r)),t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation(),!1}),w.addEventListener("touchstart",S,!1),w.addEventListener("touchend",O,!1),w.addEventListener("touchcancel",O,!1),w.addEventListener("touchleave",O,!1),w.addEventListener("touchmove",T,!1),this.kill=function(){i.utils.unbindDoubleClick(w,"touchstart"),w.addEventListener("touchstart",S),w.addEventListener("touchend",O),w.addEventListener("touchcancel",O),w.addEventListener("touchleave",O),w.addEventListener("touchmove",T)}}}).call(this),(function(t){"use strict";if(void 0===i)throw"sigma is not declared";if(void 0===r)throw"conrad is not declared";i.utils.pkg("sigma.renderers"),i.renderers.canvas=function(t,e,n,r){if("object"!=typeof r)throw"sigma.renderers.canvas: Wrong arguments.";if(!(r.container instanceof HTMLElement))throw"Container not found.";var o,a,l;for(i.classes.dispatcher.extend(this),Object.defineProperty(this,"conradId",{value:i.utils.id()}),this.graph=t,this.camera=e,this.contexts={},this.domElements={},this.options=r,this.container=this.options.container,this.settings="object"==typeof r.settings&&r.settings?n.embedObjects(r.settings):n,this.nodesOnScreen=[],this.edgesOnScreen=[],this.jobs={},this.options.prefix="renderer"+this.conradId+":",this.settings("batchEdgesDrawing")?(this.initDOM("canvas","edges"),this.initDOM("canvas","scene"),this.contexts.nodes=this.contexts.scene,this.contexts.labels=this.contexts.scene):(this.initDOM("canvas","scene"),this.contexts.edges=this.contexts.scene,this.contexts.nodes=this.contexts.scene,this.contexts.labels=this.contexts.scene),this.initDOM("canvas","mouse"),this.contexts.hover=this.contexts.mouse,this.captors=[],o=0,a=(l=this.options.captors||[i.captors.mouse,i.captors.touch]).length;o=a.length/c.ATTRIBUTES&&e===t.length-1?(delete this.jobs[n],!1):(l>=a.length/c.ATTRIBUTES?(a=this.edgeFloatArrays[t[++e]].array,c=i.webgl.edges[t[e]],s=0,l=Math.min(s+d*c.POINTS,a.length/c.ATTRIBUTES)):(s=l,l=Math.min(s+d*c.POINTS,a.length/c.ATTRIBUTES)),!0)},r.addJob(n,o.bind(this)))}).call(this);else for(l in this.edgeFloatArrays)u=i.webgl.edges[l],this.edgePrograms[l]||(this.edgePrograms[l]=u.initProgram(p)),this.edgeFloatArrays[l]&&(p.useProgram(this.edgePrograms[l]),u.render(p,this.edgePrograms[l],this.edgeFloatArrays[l].array,{settings:this.settings,matrix:h,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(f,"webglOversamplingRatio"),indicesData:this.edgeIndicesArrays[l]}));if(v)for(l in d.blendFunc(d.SRC_ALPHA,d.ONE_MINUS_SRC_ALPHA),d.enable(d.BLEND),this.nodeFloatArrays)u=i.webgl.nodes[l],this.nodePrograms[l]||(this.nodePrograms[l]=u.initProgram(d)),this.nodeFloatArrays[l]&&(d.useProgram(this.nodePrograms[l]),u.render(d,this.nodePrograms[l],this.nodeFloatArrays[l].array,{settings:this.settings,matrix:h,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(f,"webglOversamplingRatio")}));if(m)for(n=this.camera.quadtree.area(this.camera.getRectangle(this.width,this.height)),this.camera.applyView(t,t,{nodes:n,edges:[],width:this.width,height:this.height}),s=function(t){return c.settings({prefix:c.camera.prefix},t)},o=0,a=n.length;o 0.0)","gl_FragColor = color;","else","gl_FragColor = color0;","}"].join("\n"),t.FRAGMENT_SHADER),i.utils.loadProgram(t,[e,n])}}}(),function(){"use strict";i.utils.pkg("sigma.webgl.nodes"),i.webgl.nodes.fast={POINTS:1,ATTRIBUTES:4,addNode:function(t,e,n,r,o){e[n++]=t[r+"x"],e[n++]=t[r+"y"],e[n++]=t[r+"size"],e[n++]=i.utils.floatColor(t.color||o("defaultNodeColor"))},render:function(t,e,n,i){var r,o=t.getAttribLocation(e,"a_position"),a=t.getAttribLocation(e,"a_size"),l=t.getAttribLocation(e,"a_color"),s=t.getUniformLocation(e,"u_resolution"),u=t.getUniformLocation(e,"u_matrix"),c=t.getUniformLocation(e,"u_ratio"),d=t.getUniformLocation(e,"u_scale");r=t.createBuffer(),t.bindBuffer(t.ARRAY_BUFFER,r),t.bufferData(t.ARRAY_BUFFER,n,t.DYNAMIC_DRAW),t.uniform2f(s,i.width,i.height),t.uniform1f(c,1/Math.pow(i.ratio,i.settings("nodesPowRatio"))),t.uniform1f(d,i.scalingRatio),t.uniformMatrix3fv(u,!1,i.matrix),t.enableVertexAttribArray(o),t.enableVertexAttribArray(a),t.enableVertexAttribArray(l),t.vertexAttribPointer(o,2,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),t.vertexAttribPointer(a,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),t.vertexAttribPointer(l,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,12),t.drawArrays(t.POINTS,i.start||0,i.count||n.length/this.ATTRIBUTES)},initProgram:function(t){var e,n;return e=i.utils.loadShader(t,["attribute vec2 a_position;","attribute float a_size;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","varying vec4 color;","void main() {","gl_Position = vec4(","((u_matrix * vec3(a_position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","gl_PointSize = a_size * u_ratio * u_scale * 2.0;","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),t.VERTEX_SHADER),n=i.utils.loadShader(t,["precision mediump float;","varying vec4 color;","void main(void) {","float border = 0.01;","float radius = 0.5;","vec4 color0 = vec4(0.0, 0.0, 0.0, 0.0);","vec2 m = gl_PointCoord - vec2(0.5, 0.5);","float dist = radius - sqrt(m.x * m.x + m.y * m.y);","float t = 0.0;","if (dist > border)","t = 1.0;","else if (dist > 0.0)","t = dist / border;","gl_FragColor = mix(color0, color, t);","}"].join("\n"),t.FRAGMENT_SHADER),i.utils.loadProgram(t,[e,n])}}}(),function(){"use strict";i.utils.pkg("sigma.webgl.edges"),i.webgl.edges.def={POINTS:6,ATTRIBUTES:7,addEdge:function(t,e,n,r,o,a,l){var s=(t[a+"size"]||1)/2,u=e[a+"x"],c=e[a+"y"],d=n[a+"x"],p=n[a+"y"],h=t.color;if(!h)switch(l("edgeColor")){case"source":h=e.color||l("defaultNodeColor");break;case"target":h=n.color||l("defaultNodeColor");break;default:h=l("defaultEdgeColor")}h=i.utils.floatColor(h),r[o++]=u,r[o++]=c,r[o++]=d,r[o++]=p,r[o++]=s,r[o++]=0,r[o++]=h,r[o++]=d,r[o++]=p,r[o++]=u,r[o++]=c,r[o++]=s,r[o++]=1,r[o++]=h,r[o++]=d,r[o++]=p,r[o++]=u,r[o++]=c,r[o++]=s,r[o++]=0,r[o++]=h,r[o++]=d,r[o++]=p,r[o++]=u,r[o++]=c,r[o++]=s,r[o++]=0,r[o++]=h,r[o++]=u,r[o++]=c,r[o++]=d,r[o++]=p,r[o++]=s,r[o++]=1,r[o++]=h,r[o++]=u,r[o++]=c,r[o++]=d,r[o++]=p,r[o++]=s,r[o++]=0,r[o++]=h},render:function(t,e,n,r){var o,a=t.getAttribLocation(e,"a_color"),l=t.getAttribLocation(e,"a_position1"),s=t.getAttribLocation(e,"a_position2"),u=t.getAttribLocation(e,"a_thickness"),c=t.getAttribLocation(e,"a_minus"),d=t.getUniformLocation(e,"u_resolution"),p=t.getUniformLocation(e,"u_matrix"),h=t.getUniformLocation(e,"u_matrixHalfPi"),f=t.getUniformLocation(e,"u_matrixHalfPiMinus"),m=t.getUniformLocation(e,"u_ratio"),g=t.getUniformLocation(e,"u_scale");o=t.createBuffer(),t.bindBuffer(t.ARRAY_BUFFER,o),t.bufferData(t.ARRAY_BUFFER,n,t.STATIC_DRAW),t.uniform2f(d,r.width,r.height),t.uniform1f(m,r.ratio/Math.pow(r.ratio,r.settings("edgesPowRatio"))),t.uniform1f(g,r.scalingRatio),t.uniformMatrix3fv(p,!1,r.matrix),t.uniformMatrix2fv(h,!1,i.utils.matrices.rotation(Math.PI/2,!0)),t.uniformMatrix2fv(f,!1,i.utils.matrices.rotation(-Math.PI/2,!0)),t.enableVertexAttribArray(a),t.enableVertexAttribArray(l),t.enableVertexAttribArray(s),t.enableVertexAttribArray(u),t.enableVertexAttribArray(c),t.vertexAttribPointer(l,2,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),t.vertexAttribPointer(s,2,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),t.vertexAttribPointer(u,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),t.vertexAttribPointer(c,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,20),t.vertexAttribPointer(a,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,24),t.drawArrays(t.TRIANGLES,r.start||0,r.count||n.length/this.ATTRIBUTES)},initProgram:function(t){var e,n;return e=i.utils.loadShader(t,["attribute vec2 a_position1;","attribute vec2 a_position2;","attribute float a_thickness;","attribute float a_minus;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","uniform mat2 u_matrixHalfPi;","uniform mat2 u_matrixHalfPiMinus;","varying vec4 color;","void main() {","vec2 position = a_thickness * u_ratio *","normalize(a_position2 - a_position1);","mat2 matrix = a_minus * u_matrixHalfPiMinus +","(1.0 - a_minus) * u_matrixHalfPi;","position = matrix * position + a_position1;","gl_Position = vec4(","((u_matrix * vec3(position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),t.VERTEX_SHADER),n=i.utils.loadShader(t,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),t.FRAGMENT_SHADER),i.utils.loadProgram(t,[e,n])}}}(),function(){"use strict";i.utils.pkg("sigma.webgl.edges"),i.webgl.edges.fast={POINTS:2,ATTRIBUTES:3,addEdge:function(t,e,n,r,o,a,l){var s=e[a+"x"],u=e[a+"y"],c=n[a+"x"],d=n[a+"y"],p=t.color;if(!p)switch(l("edgeColor")){case"source":p=e.color||l("defaultNodeColor");break;case"target":p=n.color||l("defaultNodeColor");break;default:p=l("defaultEdgeColor")}p=i.utils.floatColor(p),r[o++]=s,r[o++]=u,r[o++]=p,r[o++]=c,r[o++]=d,r[o++]=p},render:function(t,e,n,i){var r,o=t.getAttribLocation(e,"a_color"),a=t.getAttribLocation(e,"a_position"),l=t.getUniformLocation(e,"u_resolution"),s=t.getUniformLocation(e,"u_matrix");r=t.createBuffer(),t.bindBuffer(t.ARRAY_BUFFER,r),t.bufferData(t.ARRAY_BUFFER,n,t.DYNAMIC_DRAW),t.uniform2f(l,i.width,i.height),t.uniformMatrix3fv(s,!1,i.matrix),t.enableVertexAttribArray(a),t.enableVertexAttribArray(o),t.vertexAttribPointer(a,2,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),t.vertexAttribPointer(o,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),t.lineWidth(3),t.drawArrays(t.LINES,i.start||0,i.count||n.length/this.ATTRIBUTES)},initProgram:function(t){var e,n;return e=i.utils.loadShader(t,["attribute vec2 a_position;","attribute float a_color;","uniform vec2 u_resolution;","uniform mat3 u_matrix;","varying vec4 color;","void main() {","gl_Position = vec4(","((u_matrix * vec3(a_position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),t.VERTEX_SHADER),n=i.utils.loadShader(t,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),t.FRAGMENT_SHADER),i.utils.loadProgram(t,[e,n])}}}(),function(){"use strict";i.utils.pkg("sigma.webgl.edges"),i.webgl.edges.arrow={POINTS:9,ATTRIBUTES:11,addEdge:function(t,e,n,r,o,a,l){var s=(t[a+"size"]||1)/2,u=e[a+"x"],c=e[a+"y"],d=n[a+"x"],p=n[a+"y"],h=n[a+"size"],f=t.color;if(!f)switch(l("edgeColor")){case"source":f=e.color||l("defaultNodeColor");break;case"target":f=n.color||l("defaultNodeColor");break;default:f=l("defaultEdgeColor")}f=i.utils.floatColor(f),r[o++]=u,r[o++]=c,r[o++]=d,r[o++]=p,r[o++]=s,r[o++]=h,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=f,r[o++]=d,r[o++]=p,r[o++]=u,r[o++]=c,r[o++]=s,r[o++]=h,r[o++]=1,r[o++]=1,r[o++]=0,r[o++]=0,r[o++]=f,r[o++]=d,r[o++]=p,r[o++]=u,r[o++]=c,r[o++]=s,r[o++]=h,r[o++]=1,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=f,r[o++]=d,r[o++]=p,r[o++]=u,r[o++]=c,r[o++]=s,r[o++]=h,r[o++]=1,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=f,r[o++]=u,r[o++]=c,r[o++]=d,r[o++]=p,r[o++]=s,r[o++]=h,r[o++]=0,r[o++]=1,r[o++]=0,r[o++]=0,r[o++]=f,r[o++]=u,r[o++]=c,r[o++]=d,r[o++]=p,r[o++]=s,r[o++]=h,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=f,r[o++]=d,r[o++]=p,r[o++]=u,r[o++]=c,r[o++]=s,r[o++]=h,r[o++]=1,r[o++]=0,r[o++]=1,r[o++]=-1,r[o++]=f,r[o++]=d,r[o++]=p,r[o++]=u,r[o++]=c,r[o++]=s,r[o++]=h,r[o++]=1,r[o++]=0,r[o++]=1,r[o++]=0,r[o++]=f,r[o++]=d,r[o++]=p,r[o++]=u,r[o++]=c,r[o++]=s,r[o++]=h,r[o++]=1,r[o++]=0,r[o++]=1,r[o++]=1,r[o++]=f},render:function(t,e,n,r){var o,a=t.getAttribLocation(e,"a_pos1"),l=t.getAttribLocation(e,"a_pos2"),s=t.getAttribLocation(e,"a_thickness"),u=t.getAttribLocation(e,"a_tSize"),c=t.getAttribLocation(e,"a_delay"),d=t.getAttribLocation(e,"a_minus"),p=t.getAttribLocation(e,"a_head"),h=t.getAttribLocation(e,"a_headPosition"),f=t.getAttribLocation(e,"a_color"),m=t.getUniformLocation(e,"u_resolution"),g=t.getUniformLocation(e,"u_matrix"),v=t.getUniformLocation(e,"u_matrixHalfPi"),_=t.getUniformLocation(e,"u_matrixHalfPiMinus"),y=t.getUniformLocation(e,"u_ratio"),b=t.getUniformLocation(e,"u_nodeRatio"),w=t.getUniformLocation(e,"u_arrowHead"),C=t.getUniformLocation(e,"u_scale");o=t.createBuffer(),t.bindBuffer(t.ARRAY_BUFFER,o),t.bufferData(t.ARRAY_BUFFER,n,t.STATIC_DRAW),t.uniform2f(m,r.width,r.height),t.uniform1f(y,r.ratio/Math.pow(r.ratio,r.settings("edgesPowRatio"))),t.uniform1f(b,Math.pow(r.ratio,r.settings("nodesPowRatio"))/r.ratio),t.uniform1f(w,5),t.uniform1f(C,r.scalingRatio),t.uniformMatrix3fv(g,!1,r.matrix),t.uniformMatrix2fv(v,!1,i.utils.matrices.rotation(Math.PI/2,!0)),t.uniformMatrix2fv(_,!1,i.utils.matrices.rotation(-Math.PI/2,!0)),t.enableVertexAttribArray(a),t.enableVertexAttribArray(l),t.enableVertexAttribArray(s),t.enableVertexAttribArray(u),t.enableVertexAttribArray(c),t.enableVertexAttribArray(d),t.enableVertexAttribArray(p),t.enableVertexAttribArray(h),t.enableVertexAttribArray(f),t.vertexAttribPointer(a,2,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),t.vertexAttribPointer(l,2,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),t.vertexAttribPointer(s,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),t.vertexAttribPointer(u,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,20),t.vertexAttribPointer(c,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,24),t.vertexAttribPointer(d,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,28),t.vertexAttribPointer(p,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,32),t.vertexAttribPointer(h,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,36),t.vertexAttribPointer(f,1,t.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,40),t.drawArrays(t.TRIANGLES,r.start||0,r.count||n.length/this.ATTRIBUTES)},initProgram:function(t){var e,n;return e=i.utils.loadShader(t,["attribute vec2 a_pos1;","attribute vec2 a_pos2;","attribute float a_thickness;","attribute float a_tSize;","attribute float a_delay;","attribute float a_minus;","attribute float a_head;","attribute float a_headPosition;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_nodeRatio;","uniform float u_arrowHead;","uniform float u_scale;","uniform mat3 u_matrix;","uniform mat2 u_matrixHalfPi;","uniform mat2 u_matrixHalfPiMinus;","varying vec4 color;","void main() {","vec2 pos = normalize(a_pos2 - a_pos1);","mat2 matrix = (1.0 - a_head) *","(","a_minus * u_matrixHalfPiMinus +","(1.0 - a_minus) * u_matrixHalfPi",") + a_head * (","a_headPosition * u_matrixHalfPiMinus * 0.6 +","(a_headPosition * a_headPosition - 1.0) * mat2(1.0)",");","pos = a_pos1 + (","(1.0 - a_head) * a_thickness * u_ratio * matrix * pos +","a_head * u_arrowHead * a_thickness * u_ratio * matrix * pos +","a_delay * pos * (","a_tSize / u_nodeRatio +","u_arrowHead * a_thickness * u_ratio",")",");","gl_Position = vec4(","((u_matrix * vec3(pos, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),t.VERTEX_SHADER),n=i.utils.loadShader(t,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),t.FRAGMENT_SHADER),i.utils.loadProgram(t,[e,n])}}}(),(function(t){"use strict";if(void 0===i)throw"sigma is not declared";i.utils.pkg("sigma.canvas.labels"),i.canvas.labels.def=function(t,e,n){var i,r=n("prefix")||"",o=t[r+"size"];o0&&(e.beginPath(),e.fillStyle="node"===n("nodeBorderColor")?t.color||n("defaultNodeColor"):n("defaultNodeBorderColor"),e.arc(t[c+"x"],t[c+"y"],d+n("borderSize"),0,2*Math.PI,!0),e.closePath(),e.fill()),(i.canvas.nodes[t.type]||i.canvas.nodes.def)(t,e,n),t.label&&"string"==typeof t.label&&(e.fillStyle="node"===n("labelHoverColor")?t.color||n("defaultNodeColor"):n("defaultLabelHoverColor"),e.fillText(t.label,Math.round(t[c+"x"]+d+3),Math.round(t[c+"y"]+p/3)))}}).call(this),function(){"use strict";i.utils.pkg("sigma.canvas.nodes"),i.canvas.nodes.def=function(t,e,n){var i=n("prefix")||"";e.fillStyle=t.color||n("defaultNodeColor"),e.beginPath(),e.arc(t[i+"x"],t[i+"y"],t[i+"size"],0,2*Math.PI,!0),e.closePath(),e.fill()}}(),function(){"use strict";i.utils.pkg("sigma.canvas.edges"),i.canvas.edges.def=function(t,e,n,i,r){var o=t.color,a=r("prefix")||"",l=t[a+"size"]||1,s=r("edgeColor"),u=r("defaultNodeColor"),c=r("defaultEdgeColor");if(!o)switch(s){case"source":o=e.color||u;break;case"target":o=n.color||u;break;default:o=c}i.strokeStyle=o,i.lineWidth=l,i.beginPath(),i.moveTo(e[a+"x"],e[a+"y"]),i.lineTo(n[a+"x"],n[a+"y"]),i.stroke()}}(),function(){"use strict";i.utils.pkg("sigma.canvas.edges"),i.canvas.edges.arrow=function(t,e,n,i,r){var o=t.color,a=r("prefix")||"",l=r("edgeColor"),s=r("defaultNodeColor"),u=r("defaultEdgeColor"),c=t[a+"size"]||1,d=n[a+"size"],p=e[a+"x"],h=e[a+"y"],f=n[a+"x"],m=n[a+"y"],g=Math.max(2.5*c,r("minArrowSize")),v=Math.sqrt(Math.pow(f-p,2)+Math.pow(m-h,2)),_=p+(f-p)*(v-g-d)/v,y=h+(m-h)*(v-g-d)/v,b=(f-p)*g/v,w=(m-h)*g/v;if(!o)switch(l){case"source":o=e.color||s;break;case"target":o=n.color||s;break;default:o=u}i.strokeStyle=o,i.lineWidth=c,i.beginPath(),i.moveTo(p,h),i.lineTo(_,y),i.stroke(),i.fillStyle=o,i.beginPath(),i.moveTo(_+b,y+w),i.lineTo(_+.6*w,y-.6*b),i.lineTo(_-.6*w,y+.6*b),i.lineTo(_+b,y+w),i.closePath(),i.fill()}}(),function(){"use strict";i.utils.pkg("sigma.canvas.edgehovers"),i.canvas.edgehovers.def=function(t,e,n,i,r){var o=t.color,a=r("prefix")||"",l=t[a+"size"]||1,s=r("edgeColor"),u=r("defaultNodeColor"),c=r("defaultEdgeColor");if(!o)switch(s){case"source":o=e.color||u;break;case"target":o=n.color||u;break;default:o=c}o="edge"===r("edgeHoverColor")?t.hover_color||o:t.hover_color||r("defaultEdgeHoverColor")||o,l*=r("edgeHoverSizeRatio"),i.strokeStyle=o,i.lineWidth=l,i.beginPath(),i.moveTo(e[a+"x"],e[a+"y"]),i.lineTo(n[a+"x"],n[a+"y"]),i.stroke()}}(),function(){"use strict";i.utils.pkg("sigma.canvas.edgehovers"),i.canvas.edgehovers.curve=function(t,e,n,r,o){var a,l=t.color,s=o("prefix")||"",u=o("edgeHoverSizeRatio")*(t[s+"size"]||1),c=o("edgeColor"),d=o("defaultNodeColor"),p=o("defaultEdgeColor"),h=e[s+"x"],f=e[s+"y"],m=n[s+"x"],g=n[s+"y"];if(a=e.id===n.id?i.utils.getSelfLoopControlPoints(h,f,e[s+"size"]):i.utils.getQuadraticControlPoint(h,f,m,g),!l)switch(c){case"source":l=e.color||d;break;case"target":l=n.color||d;break;default:l=p}l="edge"===o("edgeHoverColor")?t.hover_color||l:t.hover_color||o("defaultEdgeHoverColor")||l,r.strokeStyle=l,r.lineWidth=u,r.beginPath(),r.moveTo(h,f),e.id===n.id?r.bezierCurveTo(a.x1,a.y1,a.x2,a.y2,m,g):r.quadraticCurveTo(a.x,a.y,m,g),r.stroke()}}(),function(){"use strict";i.utils.pkg("sigma.canvas.edgehovers"),i.canvas.edgehovers.arrow=function(t,e,n,i,r){var o=t.color,a=r("prefix")||"",l=r("edgeColor"),s=r("defaultNodeColor"),u=r("defaultEdgeColor"),c=t[a+"size"]||1,d=n[a+"size"],p=e[a+"x"],h=e[a+"y"],f=n[a+"x"],m=n[a+"y"],g=2.5*(c=t.hover?r("edgeHoverSizeRatio")*c:c),v=Math.sqrt(Math.pow(f-p,2)+Math.pow(m-h,2)),_=p+(f-p)*(v-g-d)/v,y=h+(m-h)*(v-g-d)/v,b=(f-p)*g/v,w=(m-h)*g/v;if(!o)switch(l){case"source":o=e.color||s;break;case"target":o=n.color||s;break;default:o=u}o="edge"===r("edgeHoverColor")?t.hover_color||o:t.hover_color||r("defaultEdgeHoverColor")||o,i.strokeStyle=o,i.lineWidth=c,i.beginPath(),i.moveTo(p,h),i.lineTo(_,y),i.stroke(),i.fillStyle=o,i.beginPath(),i.moveTo(_+b,y+w),i.lineTo(_+.6*w,y-.6*b),i.lineTo(_-.6*w,y+.6*b),i.lineTo(_+b,y+w),i.closePath(),i.fill()}}(),function(){"use strict";i.utils.pkg("sigma.canvas.edgehovers"),i.canvas.edgehovers.curvedArrow=function(t,e,n,r,o){var a,l,s,u,c,d,p,h=t.color,f=o("prefix")||"",m=o("edgeColor"),g=o("defaultNodeColor"),v=o("defaultEdgeColor"),_=o("edgeHoverSizeRatio")*(t[f+"size"]||1),y=n[f+"size"],b=e[f+"x"],w=e[f+"y"],C=n[f+"x"],x=n[f+"y"];if(a=e.id===n.id?i.utils.getSelfLoopControlPoints(b,w,y):i.utils.getQuadraticControlPoint(b,w,C,x),e.id===n.id?(l=Math.sqrt(Math.pow(C-a.x1,2)+Math.pow(x-a.y1,2)),u=a.x1+(C-a.x1)*(l-(s=2.5*_)-y)/l,c=a.y1+(x-a.y1)*(l-s-y)/l,d=(C-a.x1)*s/l,p=(x-a.y1)*s/l):(l=Math.sqrt(Math.pow(C-a.x,2)+Math.pow(x-a.y,2)),u=a.x+(C-a.x)*(l-(s=2.5*_)-y)/l,c=a.y+(x-a.y)*(l-s-y)/l,d=(C-a.x)*s/l,p=(x-a.y)*s/l),!h)switch(m){case"source":h=e.color||g;break;case"target":h=n.color||g;break;default:h=v}h="edge"===o("edgeHoverColor")?t.hover_color||h:t.hover_color||o("defaultEdgeHoverColor")||h,r.strokeStyle=h,r.lineWidth=_,r.beginPath(),r.moveTo(b,w),e.id===n.id?r.bezierCurveTo(a.x2,a.y2,a.x1,a.y1,u,c):r.quadraticCurveTo(a.x,a.y,u,c),r.stroke(),r.fillStyle=h,r.beginPath(),r.moveTo(u+d,c+p),r.lineTo(u+.6*p,c-.6*d),r.lineTo(u-.6*p,c+.6*d),r.lineTo(u+d,c+p),r.closePath(),r.fill()}}(),(function(t){"use strict";if(void 0===i)throw"sigma is not declared";i.utils.pkg("sigma.canvas.extremities"),i.canvas.extremities.def=function(t,e,n,r,o){(i.canvas.hovers[e.type]||i.canvas.hovers.def)(e,r,o),(i.canvas.hovers[n.type]||i.canvas.hovers.def)(n,r,o)}}).call(this),function(){"use strict";i.utils.pkg("sigma.svg.utils"),i.svg.utils={show:function(t){return t.style.display="",this},hide:function(t){return t.style.display="none",this}}}(),function(){"use strict";i.utils.pkg("sigma.svg.nodes"),i.svg.nodes.def={create:function(t,e){e("prefix");var n=document.createElementNS(e("xmlns"),"circle");return n.setAttributeNS(null,"data-node-id",t.id),n.setAttributeNS(null,"class",e("classPrefix")+"-node"),n.setAttributeNS(null,"fill",t.color||e("defaultNodeColor")),n},update:function(t,e,n){var i=n("prefix")||"";return e.setAttributeNS(null,"cx",t[i+"x"]),e.setAttributeNS(null,"cy",t[i+"y"]),e.setAttributeNS(null,"r",t[i+"size"]),n("freeStyle")||e.setAttributeNS(null,"fill",t.color||n("defaultNodeColor")),e.style.display="",this}}}(),function(){"use strict";i.utils.pkg("sigma.svg.edges"),i.svg.edges.def={create:function(t,e,n,i){var r=t.color,o=(i("prefix"),i("edgeColor")),a=i("defaultNodeColor"),l=i("defaultEdgeColor");if(!r)switch(o){case"source":r=e.color||a;break;case"target":r=n.color||a;break;default:r=l}var s=document.createElementNS(i("xmlns"),"line");return s.setAttributeNS(null,"data-edge-id",t.id),s.setAttributeNS(null,"class",i("classPrefix")+"-edge"),s.setAttributeNS(null,"stroke",r),s},update:function(t,e,n,i,r){var o=r("prefix")||"";return e.setAttributeNS(null,"stroke-width",t[o+"size"]||1),e.setAttributeNS(null,"x1",n[o+"x"]),e.setAttributeNS(null,"y1",n[o+"y"]),e.setAttributeNS(null,"x2",i[o+"x"]),e.setAttributeNS(null,"y2",i[o+"y"]),e.style.display="",this}}}(),function(){"use strict";i.utils.pkg("sigma.svg.edges"),i.svg.edges.curve={create:function(t,e,n,i){var r=t.color,o=(i("prefix"),i("edgeColor")),a=i("defaultNodeColor"),l=i("defaultEdgeColor");if(!r)switch(o){case"source":r=e.color||a;break;case"target":r=n.color||a;break;default:r=l}var s=document.createElementNS(i("xmlns"),"path");return s.setAttributeNS(null,"data-edge-id",t.id),s.setAttributeNS(null,"class",i("classPrefix")+"-edge"),s.setAttributeNS(null,"stroke",r),s},update:function(t,e,n,i,r){var o=r("prefix")||"";return e.setAttributeNS(null,"stroke-width",t[o+"size"]||1),e.setAttributeNS(null,"d","M"+n[o+"x"]+","+n[o+"y"]+" Q"+((n[o+"x"]+i[o+"x"])/2+(i[o+"y"]-n[o+"y"])/4)+","+((n[o+"y"]+i[o+"y"])/2+(n[o+"x"]-i[o+"x"])/4)+" "+i[o+"x"]+","+i[o+"y"]),e.setAttributeNS(null,"fill","none"),e.style.display="",this}}}(),(function(t){"use strict";if(void 0===i)throw"sigma is not declared";i.utils.pkg("sigma.svg.labels"),i.svg.labels.def={create:function(t,e){var n=t[(e("prefix")||"")+"size"],i=document.createElementNS(e("xmlns"),"text"),r="fixed"===e("labelSize")?e("defaultLabelSize"):e("labelSizeRatio")*n,o="node"===e("labelColor")?t.color||e("defaultNodeColor"):e("defaultLabelColor");return i.setAttributeNS(null,"data-label-target",t.id),i.setAttributeNS(null,"class",e("classPrefix")+"-label"),i.setAttributeNS(null,"font-size",r),i.setAttributeNS(null,"font-family",e("font")),i.setAttributeNS(null,"fill",o),i.innerHTML=t.label,i.textContent=t.label,i},update:function(t,e,n){var i=n("prefix")||"",r=t[i+"size"],o="fixed"===n("labelSize")?n("defaultLabelSize"):n("labelSizeRatio")*r;if((n("forceLabels")||!(r=1?(e.isAnimated=!1,e.goTo({x:r.x!==t?r.x:c.x,y:r.y!==t?r.y:c.y,ratio:r.ratio!==t?r.ratio:c.ratio,angle:r.angle!==t?r.angle:c.angle}),cancelAnimationFrame(l),delete i.misc.animation.running[l],"function"==typeof d.onComplete&&d.onComplete()):(n=u(o),e.isAnimated=!0,e.goTo({x:r.x!==t?c.x+(r.x-c.x)*n:c.x,y:r.y!==t?c.y+(r.y-c.y)*n:c.y,ratio:r.ratio!==t?c.ratio+(r.ratio-c.ratio)*n:c.ratio,angle:r.angle!==t?c.angle+(r.angle-c.angle)*n:c.angle}),"function"==typeof d.onNewFrame&&d.onNewFrame(),s.frameId=requestAnimationFrame(a))},l=n(),s={frameId:requestAnimationFrame(a),target:e,type:"camera",options:d,fn:a},i.misc.animation.running[l]=s,l},i.misc.animation.kill=function(t){if(1!==arguments.length||"number"!=typeof t)throw"animation.kill: Wrong arguments.";var e=i.misc.animation.running[t];return e&&(cancelAnimationFrame(t),delete i.misc.animation.running[e.frameId],"camera"===e.type&&(e.target.isAnimated=!1),"function"==typeof(e.options||{}).onComplete&&e.options.onComplete()),this},i.misc.animation.killAll=function(t){var e,n,r=0,o="string"==typeof t?t:null,a="object"==typeof t?t:null,l=i.misc.animation.running;for(n in l)o&&l[n].type!==o||a&&l[n].target!==a||(e=i.misc.animation.running[n],cancelAnimationFrame(e.frameId),delete i.misc.animation.running[n],"camera"===e.type&&(e.target.isAnimated=!1),r++,"function"==typeof(e.options||{}).onComplete&&e.options.onComplete());return r},i.misc.animation.has=function(t){var e,n="string"==typeof t?t:null,r="object"==typeof t?t:null,o=i.misc.animation.running;for(e in o)if(!(n&&o[e].type!==n||r&&o[e].target!==r))return!0;return!1}}).call(this),(function(t){"use strict";if(void 0===i)throw"sigma is not declared";i.utils.pkg("sigma.misc"),i.misc.bindEvents=function(e){var n,r,o,a,l=this;function s(t){t&&(o="x"in t.data?t.data.x:o,a="y"in t.data?t.data.y:a);var n,i,r,s,u,c,d,p,h=[],f=o+l.width/2,m=a+l.height/2,g=l.camera.cameraPosition(o,a),v=l.camera.quadtree.point(g.x,g.y);if(v.length)for(n=0,r=v.length;nu-d&&fc-d&&mh[i].size){h.splice(i,0,s),p=!0;break}p||h.push(s)}return h}function u(n){if(!l.settings("enableEdgeHovering"))return[];var r=i.renderers.canvas&&l instanceof i.renderers.canvas;if(!r)throw new Error("The edge events feature is not compatible with the WebGL renderer");n&&(o="x"in n.data?n.data.x:o,a="y"in n.data?n.data.y:a);var s,u,c,d,p,h,f,m,g,v,_=l.settings("edgeHoverPrecision"),y={},b=[],w=o+l.width/2,C=a+l.height/2,x=l.camera.cameraPosition(o,a),M=[];if(r)for(s=0,c=(d=l.camera.quadtree.area(l.camera.getRectangle(l.width,l.height))).length;st[u].size){t.splice(u,0,e),v=!0;break}v||t.push(e)}if(l.camera.edgequadtree!==t&&(M=l.camera.edgequadtree.point(x.x,x.y)),M.length)for(s=0,c=M.length;sf[e+"size"]&&i.utils.getDistance(m[e+"x"],m[e+"y"],w,C)>m[e+"size"]&&("curve"==p.type||"curvedArrow"==p.type?f.id===m.id?(g=i.utils.getSelfLoopControlPoints(f[e+"x"],f[e+"y"],f[e+"size"]),i.utils.isPointOnBezierCurve(w,C,f[e+"x"],f[e+"y"],m[e+"x"],m[e+"y"],g.x1,g.y1,g.x2,g.y2,Math.max(h,_))&&E(b,p)):(g=i.utils.getQuadraticControlPoint(f[e+"x"],f[e+"y"],m[e+"x"],m[e+"y"]),i.utils.isPointOnQuadraticCurve(w,C,f[e+"x"],f[e+"y"],m[e+"x"],m[e+"y"],g.x,g.y,Math.max(h,_))&&E(b,p)):i.utils.isPointOnSegment(w,C,f[e+"x"],f[e+"y"],m[e+"x"],m[e+"y"],Math.max(h,_))&&E(b,p));return b}function c(t){var e,n,i={},r={};function o(t){if(l.settings("eventsEnabled")){e=s(t),n=u(t);var o,a,c,d,p=[],h=[],f={},m=e.length,g=[],v=[],_={},y=n.length;for(o=0;o0?q:G)(t)},W=D,X={},K={}.toString,Z=function(t){return K.call(t).slice(8,-1)},Q=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==Z(t)?t.split(""):Object(t)},$=function(t){return Q(n(t))},J=Math.min,tt=Math.max,et=Math.min,nt=function(t,e,n){for(var i,r=$(t),o=(i=r.length)>0?J(Y(i),9007199254740991):0,a=function(t,e){return(t=Y(t))<0?tt(t+e,0):et(t,e)}(n,o);o>a;a++)if(a in r&&r[a]===e)return a||0;return-1},it=h("IE_PROTO"),rt=function(t,e){var n,i=$(t),r=0,a=[];for(n in i)n!=it&&o(i,n)&&a.push(n);for(;e.length>r;)o(i,n=e[r++])&&(~nt(a,n)||a.push(n));return a},ot="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),at=Object.keys||function(t){return rt(t,ot)},lt=C?Object.defineProperties:function(t,e){b(t);for(var n,i=at(e),r=i.length,o=0;r>o;)A.f(t,n=i[o++],e[n]);return t},st=a.document&&document.documentElement,ut=h("IE_PROTO"),ct=function(){},dt=function(){var t,e=E("iframe"),n=ot.length;for(e.style.display="none",st.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("