diff --git a/app/dataviz/sparc-data-gui/index.html b/app/dataviz/sparc-data-gui/index.html index 56728bfe..3da2cd8a 100644 --- a/app/dataviz/sparc-data-gui/index.html +++ b/app/dataviz/sparc-data-gui/index.html @@ -1,18 +1,43 @@ - + - CodePen - GUI-App-Build-Diagram-Europe-Sparql-Data-Provider - - + + App GUI for SPARQL Data Provider + + + + + + + + + + + + + - +
+
+

SPARQL Data Provider

+

European Union :: Data Loading...

+
+
- - + + + - - + + diff --git a/app/dataviz/sparc-data-gui/ontodia-custom-full.min.js b/app/dataviz/sparc-data-gui/ontodia-custom-full.min.js new file mode 100644 index 00000000..fdc8970e --- /dev/null +++ b/app/dataviz/sparc-data-gui/ontodia-custom-full.min.js @@ -0,0 +1,199 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Ontodia=t():e.Ontodia=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),n(1),n(5),n(33),n(34),n(38),r(n(39)),r(n(250)),r(n(255)),r(n(320)),r(n(336)),r(n(323)),r(n(338)),r(n(339));var i=n(84);t.RestoreGeometry=i.RestoreGeometry;var o=n(78);t.Element=o.Element,t.Link=o.Link,t.LinkVertex=o.LinkVertex;var a=n(76);t.EmbeddedLayer=a.EmbeddedLayer,r(n(85)),r(n(94)),r(n(87)),r(n(79)),r(n(340));var s=n(341);t.Workspace=s.Workspace,t.renderTo=s.renderTo;var l=n(361);t.InternalApi=l},function(e,t,n){var r=n(2);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,'.introjs-overlay{position:absolute;z-index:999999;background-color:#000;opacity:0;background:radial-gradient(center,ellipse cover,rgba(0,0,0,.4) 0,rgba(0,0,0,.9) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#66000000",endColorstr="#e6000000",GradientType=1);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:alpha(opacity=50);transition:all .3s ease-out}.introjs-fixParent{z-index:auto!important;opacity:1!important;position:absolute!important;transform:none!important}.introjs-showElement,tr.introjs-showElement>td,tr.introjs-showElement>th{z-index:9999999!important}.introjs-disableInteraction{z-index:99999999!important;position:absolute}.introjs-relativePosition,tr.introjs-showElement>td,tr.introjs-showElement>th{position:relative}.introjs-helperLayer{position:absolute;z-index:9999998;background-color:#fff;background-color:hsla(0,0%,100%,.9);border:1px solid #777;border:1px solid rgba(0,0,0,.5);border-radius:4px;box-shadow:0 2px 15px rgba(0,0,0,.4);transition:all .3s ease-out}.introjs-tooltipReferenceLayer{position:absolute;visibility:hidden;z-index:10000000;background-color:transparent;transition:all .3s ease-out}.introjs-helperLayer *,.introjs-helperLayer :after,.introjs-helperLayer :before{-ms-box-sizing:content-box;-o-box-sizing:content-box;box-sizing:content-box}.introjs-helperNumberLayer{position:absolute;visibility:visible;top:-16px;left:-16px;z-index:9999999999!important;padding:2px;font-family:Arial,verdana,tahoma;font-size:13px;font-weight:700;color:#fff;text-align:center;text-shadow:1px 1px 1px rgba(0,0,0,.3);background:#ff3019;background:linear-gradient(180deg,#ff3019 0,#cf0404);width:20px;height:20px;line-height:20px;border:3px solid #fff;border-radius:50%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff3019",endColorstr="#cf0404",GradientType=0);filter:progid:DXImageTransform.Microsoft.Shadow(direction=135,strength=2,color=ff0000);box-shadow:0 2px 5px rgba(0,0,0,.4)}.introjs-arrow{border:5px solid #fff;content:"";position:absolute}.introjs-arrow.top,.introjs-arrow.top-right{top:-10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:#fff;border-left-color:transparent}.introjs-arrow.top-right{right:10px}.introjs-arrow.top-middle{top:-10px;left:50%;margin-left:-5px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:#fff;border-left-color:transparent}.introjs-arrow.right{top:10px}.introjs-arrow.right,.introjs-arrow.right-bottom{right:-10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:#fff}.introjs-arrow.right-bottom{bottom:10px}.introjs-arrow.bottom{bottom:-10px;border-top-color:#fff;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.introjs-arrow.left{top:10px}.introjs-arrow.left,.introjs-arrow.left-bottom{left:-10px;border-top-color:transparent;border-right-color:#fff;border-bottom-color:transparent;border-left-color:transparent}.introjs-arrow.left-bottom{bottom:10px}.introjs-tooltip{position:absolute;visibility:visible;padding:10px;background-color:#fff;min-width:200px;max-width:300px;border-radius:3px;box-shadow:0 1px 10px rgba(0,0,0,.4);transition:opacity .1s ease-out}.introjs-tooltipbuttons{text-align:right;white-space:nowrap}.introjs-button{position:relative;overflow:visible;display:inline-block;padding:.3em .8em;border:1px solid #d4d4d4;margin:0;text-decoration:none;text-shadow:1px 1px 0 #fff;font:11px/normal sans-serif;color:#333;white-space:nowrap;cursor:pointer;outline:none;background-color:#ececec;background-image:linear-gradient(#f4f4f4,#ececec);-webkit-background-clip:padding;-moz-background-clip:padding;-o-background-clip:padding-box;border-radius:.2em;zoom:1;*display:inline;margin-top:10px}.introjs-button:hover{border-color:#bcbcbc;text-decoration:none;box-shadow:0 1px 1px #e3e3e3}.introjs-button:active,.introjs-button:focus{background-image:linear-gradient(#ececec,#f4f4f4)}.introjs-button::-moz-focus-inner{padding:0;border:0}.introjs-skipbutton{margin-right:5px;color:#7a7a7a}.introjs-prevbutton{border-radius:.2em 0 0 .2em;border-right:none}.introjs-nextbutton{border-radius:0 .2em .2em 0}.introjs-disabled,.introjs-disabled:focus,.introjs-disabled:hover{color:#9a9a9a;border-color:#d4d4d4;box-shadow:none;cursor:default;background-color:#f4f4f4;background-image:none;text-decoration:none}.introjs-bullets{text-align:center}.introjs-bullets ul{clear:both;margin:15px auto 0;padding:0;display:inline-block}.introjs-bullets ul li{list-style:none;float:left;margin:0 2px}.introjs-bullets ul li a{display:block;width:6px;height:6px;background:#ccc;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;text-decoration:none}.introjs-bullets ul li a.active,.introjs-bullets ul li a:hover{background:#999}.introjs-progress{overflow:hidden;height:10px;margin:10px 0 5px;border-radius:4px;background-color:#ecf0f1}.introjs-progressbar{float:left;width:0;height:100%;font-size:10px;line-height:10px;text-align:center;background-color:#08c}.introjsFloatingElement{position:absolute;height:0;width:0;left:50%;top:50%}',""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",o(e,t),t}function u(e,t){var n,r,i;if(t.singleton){var o=y++;n=v||(v=s(t)),r=c.bind(null,n,o,!1),i=c.bind(null,n,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=h.bind(null,n),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=d.bind(null,n),i=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function c(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function d(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function h(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var i=new Blob([n],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(i),o&&URL.revokeObjectURL(o)}var p={},f=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},g=f(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=f(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=g()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=i(e);return r(n,t),function(e){for(var o=[],a=0;a.ontodia-btn,.ontodia-btn-group>.ontodia-btn-group{position:relative;float:left}.ontodia-btn-group>.ontodia-btn.active,.ontodia-btn-group>.ontodia-btn.active:hover,.ontodia-btn-group>.ontodia-btn:focus,.ontodia-btn-group>.ontodia-btn:hover{z-index:2}.ontodia-btn-group .ontodia-btn+.ontodia-btn,.ontodia-btn-group .ontodia-btn+.ontodia-btn-group,.ontodia-btn-group .ontodia-btn-group+.ontodia-btn,.ontodia-btn-group .ontodia-btn-group+.ontodia-btn-group{margin-left:-1px}.ontodia-btn-group>.ontodia-btn:not(:first-child):not(:last-child){border-radius:0}.ontodia-btn-group>.ontodia-btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ontodia-btn-group>.ontodia-btn:first-child{margin-left:0}.ontodia-btn-group>.ontodia-btn:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.ontodia-btn-group-sm>.ontodia-btn{border-radius:3px;font-size:12px;line-height:1.5;padding:5px 10px}.ontodia-btn-group-xs>.ontodia-btn{border-radius:3px;font-size:12px;line-height:1.5;padding:1px 5px}.ontodia-form-control{display:block;width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.ontodia-form-control:focus{border-color:#66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);outline:0}.ontodia-input-group{position:relative;display:table;border-collapse:separate}.ontodia-input-group .ontodia-form-control{display:table-cell;position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.ontodia-input-group .ontodia-form-control:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.ontodia-input-group-btn{display:table-cell;width:1%;vertical-align:middle;position:relative;font-size:0;white-space:nowrap}.ontodia-input-group-btn:last-child>.ontodia-btn{border-top-left-radius:0;border-bottom-left-radius:0;z-index:2;margin-left:-1px}.ontodia-list-group{border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.075);margin:0;padding:0}.ontodia-list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.ontodia-list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.ontodia-list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.ontodia-badge{display:inline-block;min-width:10px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;padding:3px 7px;border-radius:10px}@keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}.ontodia-progress{background-color:#f5f5f5;background-image:linear-gradient(180deg,#ebebeb 0,#f5f5f5);background-repeat:repeat-x;height:20px;margin-bottom:20px;overflow:hidden;border-radius:4px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.ontodia-progress-bar{background-color:#337ab7;background-image:linear-gradient(180deg,#337ab7 0,#286090);background-repeat:repeat-x;float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;transition:width .6s ease}.ontodia-progress-bar-striped,.ontodia-progress-striped .ontodia-progress-bar{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:40px 40px}.ontodia-progress-bar.active,.ontodia-progress.active .ontodia-progress-bar{animation:progress-bar-stripes 2s linear infinite}.ontodia-progress-bar-success{background-color:#5cb85c;background-image:linear-gradient(180deg,#5cb85c 0,#449d44);background-repeat:repeat-x}.ontodia-progress-striped .ontodia-progress-bar-success{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.ontodia-progress-bar-info{background-color:#5bc0de;background-image:linear-gradient(180deg,#5bc0de 0,#31b0d5);background-repeat:repeat-x}.ontodia-progress-striped .ontodia-progress-bar-info{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.ontodia-progress-bar-warning{background-color:#f0ad4e;background-image:linear-gradient(180deg,#f0ad4e 0,#ec971f);background-repeat:repeat-x}.ontodia-progress-striped .ontodia-progress-bar-warning{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.ontodia-progress-bar-danger{background-color:#d9534f;background-image:linear-gradient(180deg,#d9534f 0,#c9302c);background-repeat:repeat-x}.ontodia-progress-bar-striped,.ontodia-progress-striped .ontodia-progress-bar-danger{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.ontodia-overlayed-element{cursor:move;outline:none}.ontodia-exported-element,.ontodia-overlayed-element{box-sizing:border-box;color:#000;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143}.ontodia-exported-element img,.ontodia-overlayed-element img{vertical-align:middle}.ontodia-exported-element *,.ontodia-exported-element :after,.ontodia-exported-element :before{box-sizing:inherit}.ontodia-link__wrap{stroke-width:12px;stroke-linejoin:round;stroke-linecap:round;stroke:transparent;fill:none}.ontodia-link:hover .ontodia-link__wrap{stroke:hsla(0,0%,55%,.44)}.ontodia-link__vertex{cursor:all-scroll}.ontodia-link:not(:hover) .ontodia-link__vertex{fill:transparent}.ontodia-link__vertex-tools{opacity:0;cursor:pointer}.ontodia-link__vertex-tools>circle{fill:gray}.ontodia-link__vertex-tools>path{stroke:#fff}.ontodia-link__vertex-tools:hover>circle{fill:#000}.ontodia-link:hover .ontodia-link__vertex-tools{opacity:.8}.ontodia-paper-area{flex:auto;cursor:default;overflow:scroll;transform:translateZ(0);background:#fff}.ontodia-paper-area__widgets{position:absolute;left:0;top:0}.ontodia-paper{position:relative}.uiElementView__iri{fill:#969696;font-size:smaller}.ontodia-class-tree{flex:auto;display:flex;flex-direction:column}.ontodia-class-tree__filter{flex-shrink:0;margin:10px 0}.ontodia-class-tree__filter-group{margin-left:10px;margin-right:10px}.ontodia-class-tree__rest{height:0;flex-grow:1;overflow-y:scroll;border-top:1px solid #ddd}.ontodia-class-tree .jstree-icon.default-tree-icon:after{content:url('+n(7)+");max-width:19px;max-height:19px;margin:2px}.ontodia-class-tree .ontodia-icon{display:inline-block;width:1em;height:1em;background-size:auto 100%;vertical-align:middle}.ontodia-class-tree .jstree-icon.parent-tree-icon:after{content:url("+n(8)+");max-width:19px;max-height:19px;margin:2px}.ontodia-connections-menu{position:absolute;width:300px;height:300px;border-radius:3px;display:flex;flex-direction:column;box-shadow:0 4px 15px 0 rgba(0,0,0,.38)}.ontodia-connections-menu__sort-switch{display:none}.ontodia-connections-menu__sort-switch:checked+.ontodia-connections-menu__sort-switch-label{color:#337ab7;opacity:1}.ontodia-connections-menu__sort-switch-label{cursor:pointer;display:block;margin:0;opacity:.4;text-align:center}.ontodia-connections-menu__sort-switch-label:hover{opacity:1}.ontodia-connections-menu__search-line-input{flex:1 1 100%}.ontodia-connections-menu_bread-crumbs{padding:10px;padding-bottom:0;overflow:hidden;text-overflow:ellipsis;height:27px;min-height:27px;flex-grow:0}.ontodia-connections-menu__title-label{position:absolute;top:-11px;left:10px;background:#fff;padding-left:3px;padding-right:3px;border-radius:6px}.ontodia-connections-menu_search-line{padding:10px;display:flex;align-items:center;flex:0 0 auto}.ontodia-connections-menu_search-line-sort-switches{flex:0 0 20px;margin-left:10px}.ontodia-connections-menu_links-list{padding:5px;overflow-x:hidden;overflow-y:auto;border-top:1px solid #dbdbdb;flex-grow:1;margin:0}.ocm_links-list-empty{display:flex;align-items:center}.ontodia-connections-menu_links-list__empty{width:100%;position:relative;font-size:x-large;color:#cbcbcb;text-align:center}.ontodia-connections-menu__error,.ontodia-connections-menu__loading{width:100%;height:100%;position:relative;font-size:x-large;display:flex;color:#cbcbcb;align-items:center;justify-content:center}.ontodia-connections-menu__loading-objects{border:1px solid gray;flex-grow:1;box-shadow:inset 0 0 23px -8px gray;background-color:#f5f5f5;position:relative;font-size:x-large;display:flex;color:#cbcbcb;align-items:center;justify-content:center;margin-bottom:5px}.ontodia-connections-menu__progress-bar{opacity:0;height:0;transition:.3s}.ontodia-connections-menu__progress-bar--error,.ontodia-connections-menu__progress-bar--loading{height:10px;opacity:1}.ontodia-connections-menu__progress-bar--error>.progress-bar{background-color:#e72f2f}.element-in-popup-menu{display:flex;padding:5px 10px;margin:5px 10px;border-radius:5px;user-select:none;cursor:pointer}.element-in-popup-menu:hover{background-color:#e6e6e6}.element-in-popup-menu .move-to-filter-message{background-color:#d8e7f5;border:1px solid #c4d6e6;color:gray}.element-in-popup-menu .move-to-filter-message:hover{background-color:#cdddec}.element-in-popup-menu.unchecked{background-color:hsla(0,0%,100%,.79)}.element-in-popup-menu_disabled-line{pointer-events:none;cursor:not-allowed}.element-in-popup-menu__checkbox{min-width:13px}.element-in-popup-menu__link-label{flex-grow:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis}.link-in-popup-menu{display:flex;overflow:hidden;padding:0 5px 0 0;border-radius:5px;align-items:center;margin-bottom:4px;box-shadow:inset 0 0 23px -5px #dbdbdb}.link-in-popup-menu:hover{background-color:#f5f5f5}.link-in-popup-menu__link-title{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 5px 5px}.link-in-popup-menu__count{flex-shrink:0;margin-left:10px}.link-in-popup-menu__navigate-button{float:right;background-image:url("+n(9)+");width:16px;height:16px;opacity:.5;margin-left:10px;min-width:16px;background-size:cover}.link-in-popup-menu__navigate-button:hover{opacity:1}.link-in-popup-menu_direction{background:hsla(0,0%,86%,.35);min-height:30px;padding:5px 0 5px 10px;display:flex;align-items:center}.link-in-popup-menu_direction__in-direction{background:url("+n(10)+") 0 0 no-repeat;flex-shrink:0;width:22px;height:15px;margin:0 14px 0 0;background-size:contain;opacity:.5}.link-in-popup-menu_direction__out-direction{background:url("+n(11)+") 0 0 no-repeat;flex-shrink:0;width:22px;height:15px;margin:0 8px 0 6px;background-size:contain;opacity:.5}.ontodia-connections-menu_links-list__loading{text-align:center;width:100%;position:relative;font-size:x-large;color:#cbcbcb}.ontodia-connections-menu_links-list__hr{margin-top:10px;margin-bottom:10px}.ontodia-connections-menu_objects-panel{flex-grow:1;padding:10px;position:relative;display:flex;flex-direction:column;padding-top:0}.ontodia-connections-menu_objects-panel__select-all{white-space:nowrap;margin-bottom:5px;display:flex}.ontodia-connections-menu_objects-panel__select-all input{display:inline-block}.ontodia-connections-menu_objects-panel__select-all .undefined{opacity:.3}.ontodia-connections-menu_objects-panel__select-all span{margin-left:5px}.ontodia-connections-menu_objects-panel_bottom-panel{height:25px;white-space:nowrap;display:flex;justify-content:space-between}.ontodia-connections-menu_objects-panel_bottom-panel__count-label{height:25px;float:left;padding:0 5px;font-size:larger;display:flex;align-items:center;max-width:60%}.ontodia-connections-menu_objects-panel_bottom-panel__extra-elements{color:gray;cursor:help}.ontodia-btn.ontodia-connections-menu_objects-panel_bottom-panel__add-button{height:25px;padding-top:1px;padding-bottom:2px}.ontodia-connections-menu_objects-panel_objects-list{border:1px solid gray;height:0;flex-grow:1;box-shadow:inset 0 0 23px -8px gray;background-color:#f5f5f5;overflow-x:hidden;overflow-y:scroll;margin-bottom:5px}.ontodia-connections-menu__link{color:#337ab7;cursor:pointer;text-decoration:none}.ontodia-connections-menu__link:hover{text-decoration:underline}.ontodia-halo{position:absolute;pointer-events:none}.ontodia-halo__navigate{position:absolute;background-size:cover;cursor:pointer;pointer-events:auto;opacity:.5;transition:opacity .3s;width:20px;height:20px;top:50%;margin-top:-10px;right:-22px}.ontodia-halo__navigate:hover{opacity:1}.ontodia-halo__navigate--open{background-image:url("+n(12)+")}.ontodia-halo__navigate--closed{background-image:url("+n(13)+")}.ontodia-halo__delete{position:absolute;background-size:cover;cursor:pointer;pointer-events:auto;opacity:.5;transition:opacity .3s;width:20px;height:20px;background-image:url("+n(14)+");top:-22px;right:-22px}.ontodia-halo__delete:hover{opacity:1}.ontodia-halo__expand{position:absolute;background-size:cover;cursor:pointer;pointer-events:auto;opacity:.5;transition:opacity .3s;width:20px;height:20px;bottom:-22px;left:50%;margin-left:-10px}.ontodia-halo__expand:hover{opacity:1}.ontodia-halo__expand--open{background-image:url("+n(15)+")}.ontodia-halo__expand--closed{background-image:url("+n(16)+")}.ontodia-halo__add-to-filter{position:absolute;background-size:cover;cursor:pointer;pointer-events:auto;opacity:.5;transition:opacity .3s;width:20px;height:20px;background-image:url("+n(17)+');bottom:-22px;right:-22px}.ontodia-halo__add-to-filter:hover{opacity:1}.ontodia-instances-search{flex:auto;display:flex;flex-direction:column}.ontodia-instances-search__criteria{flex-shrink:0;margin:10px 0}.ontodia-instances-search__criterions{padding-left:15px;margin-bottom:10px}.ontodia-instances-search__criterions:empty{margin-bottom:0}.ontodia-instances-search__criterion{display:block;position:relative;width:100%}.ontodia-instances-search__criterion-class{border:1px dashed #000;background:#ffd221;padding:0 .5em;word-wrap:break-word}.ontodia-instances-search__criterion-element{border:1px dashed #000;background:#ff835c;padding:0 .5em;word-wrap:break-word}.ontodia-instances-search__criterion-link-type{border:1px dashed #000;background:#caffce;padding:0 .5em;word-wrap:break-word}.ontodia-instances-search__link-direction{height:1em;opacity:.5}.ontodia-instances-search__criterion-remove{float:right;margin:0 10px 4px 4px}.ontodia-instances-search__text-criteria{margin:0 10px}.ontodia-instances-search__rest{height:0;flex-grow:1;overflow-y:scroll;border-top:1px solid #ddd}.ontodia-instances-search__results{padding-left:0;padding-top:10px;margin:0 10px}.ontodia-instances-search[data-state=finished] .ontodia-instances-search__results:empty:before{content:"No items correspond to the specified criteria.";font-style:italic}.ontodia-instances-search__rest-end{margin:5px 10px 15px}.ontodia-instances-search__load-more{width:100%}.link-types-toolbox{flex:auto;display:flex;flex-direction:column;margin-bottom:0}.link-types-toolbox__heading{padding:10px}.link-types-toolbox__searching-box{display:flex;align-items:center}.link-types-toolbox__clearSearch{margin-left:-25px;-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.link-types-toolbox__switch-all{margin-top:5px}.link-types-toolbox__rest{border-top:1px solid #ddd;flex:auto;display:flex;flex-direction:column}.link-types-toolbox .panel-heading{flex-shrink:0;-webkit-flex-shrink:0}.link-types-toolbox .link-lists{flex:auto;height:0;overflow-y:scroll}.link-types-toolbox ul{margin-bottom:0}.link-types-toolbox .links-heading{margin-left:.4em}.link-types-toolbox .links-heading span{border:1px dashed #000;background:#ff835c;padding:0 .5em;word-wrap:break-word;line-height:1.3}.link-types-toolbox__heading .link-types-toolbox-controls{padding:5px 15px;font-size:14px;font-style:italic}.link-types-toolbox__heading .link-types-toolbox-controls>span{padding-left:.3em}.ontodia-list-group .linkInToolBox{padding:0 0 0 5px;word-break:break-word}.linkInToolBox>div{display:inline}.linkInToolBox__new-tag{margin-left:.5em;white-space:normal;word-wrap:normal;border-radius:2px;padding:0 5px;background:orange}.linkInToolBox .ontodia-badge{display:none;margin-left:.5em;white-space:normal;word-wrap:normal}.linkInToolBox .link-title{font-size:16px;color:#000;display:inline}.linkInToolBox .ontodia-btn-group{float:left;margin-top:2px;margin-right:6px;margin-bottom:2px}.linkInToolBox .ontodia-btn.ontodia-btn-default{border-color:#c3c3c3}.linkInToolBox .filter-button{display:none;float:right;margin:3px;cursor:pointer;opacity:.4;transition:opacity .2s 0ms}.linkInToolBox .filter-button img{content:url('+n(17)+");width:20px;height:20px;vertical-align:middle}.linkInToolBox:hover .filter-button{opacity:1;transition:opacity .2s 0ms}.connected-links .linkInToolBox .filter-button,.connected-links .linkInToolBox .ontodia-badge{display:inline}.link-in-popup-menu .filter-button img{opacity:.4;margin-left:10px;content:url("+n(17)+');width:20px;height:20px;vertical-align:middle}.link-in-popup-menu .filter-button img:hover{opacity:1}.ontodia-list-element-view{display:block;background:gray;padding:1px 1px 1px 20px;border-radius:10px;margin:0 0 2px;opacity:1;cursor:move}.ontodia-list-element-view--disabled{opacity:.4;cursor:default}.ontodia-list-element-view__label{background:#fff;border-radius:10px;font-family:Andale Mono,sans-serif;font-size:15px;min-height:1.3em;padding-left:7px;padding-right:5px;overflow-wrap:break-word}.stateBasedProgress .ontodia-progress{flex-shrink:0;-webkit-flex-shrink:0;width:100%;border-radius:0;margin-bottom:0}.stateBasedProgress:not([data-state]) .ontodia-progress{height:0}.stateBasedProgress[data-state=error] .ontodia-progress,.stateBasedProgress[data-state=querying] .ontodia-progress{transition:height .3s .3s}.stateBasedProgress[data-state=error] .ontodia-progress-bar{background-color:#e72f2f}.stateBasedProgress[data-state=finished] .ontodia-progress{height:0;transition:height .2s 0ms}.ontodia-accordion{flex:auto;flex-direction:column;height:100%}.ontodia-accordion:not(.ontodia-accordion--resizing) .ontodia-accordion-item{transition:height .3s ease-in-out}.ontodia-accordion-item{display:flex;flex-direction:column;position:relative;border-top:1px solid #d3d3d3}.ontodia-accordion-item__handle{position:absolute;height:5px;bottom:-2.5px;left:0;width:100%;z-index:2;cursor:ns-resize}.ontodia-accordion-item__inner{overflow:hidden}.ontodia-accordion-item__body,.ontodia-accordion-item__inner{flex:auto;display:flex;flex-direction:column}.ontodia-accordion-item__header{padding-left:20px;position:relative;flex-shrink:0;font-size:16px;background:#e4e4e4;cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ontodia-accordion-item__header:before{border-top:6px solid #555;border-left:3.5px solid transparent;border-right:3.5px solid transparent;content:"";position:absolute;top:50%;left:7px;margin-top:-3px;transition:.1s}.ontodia-accordion-item--collapsed .ontodia-accordion-item__header:before{transform:rotate(-90deg)}.ontodia-accordion-item--collapsed .ontodia-accordion-item__body{display:none}.ontodia-drag-resizable-column{display:flex;flex-direction:column;position:relative}.ontodia-drag-resizable-column__handle{background:#fff url('+n(18)+') repeat;height:100%;position:absolute;top:0;width:8px;z-index:2;transition:.3s;cursor:ew-resize}.ontodia-drag-resizable-column__handle-btn{background:#eee;cursor:pointer;height:40px;position:absolute;top:50%;left:0;margin-top:-20px;width:100%;z-index:1;transition:.3s}.ontodia-drag-resizable-column__handle-btn:before{background-position:0 0;background-repeat:no-repeat;background-size:cover;content:"";height:6px;position:absolute;top:50%;left:50%;margin-top:-3px;margin-left:-3px;width:6px;transition:.3s}.ontodia-drag-resizable-column__handle-btn:hover{background:#b3b3b3;transform:scale(1.2)}.ontodia-drag-resizable-column--closed .ontodia-drag-resizable-column__handle-btn:before{transform:rotate(180deg)}.ontodia-drag-resizable-column--docked-left{margin-right:8px}.ontodia-drag-resizable-column--docked-left .ontodia-drag-resizable-column__handle{right:-8px}.ontodia-drag-resizable-column--docked-left .ontodia-drag-resizable-column__handle-btn:before{background-image:url('+n(19)+")}.ontodia-drag-resizable-column--docked-left .ontodia-drag-resizable-column__handle-btn:hover:before{background-image:url("+n(20)+")}.ontodia-drag-resizable-column--docked-right{margin-left:8px}.ontodia-drag-resizable-column--docked-right .ontodia-drag-resizable-column__handle{left:-8px}.ontodia-drag-resizable-column--docked-right .ontodia-drag-resizable-column__handle-btn:before{background-image:url("+n(21)+")}.ontodia-drag-resizable-column--docked-right .ontodia-drag-resizable-column__handle-btn:hover:before{background-image:url("+n(22)+')}.introjs-tooltiptext{color:#333;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857}.ontodia-toolbar__language-selector{padding:5px;margin-top:4px}.ontodia-toolbar__language-selector>label{margin-right:5px}.ontodia-toolbar__language-selector>label>span{vertical-align:middle}.ontodia-toolbar__toggle{line-height:1}.ontodia-toolbar__toggle:after{background-position:0 0;background-repeat:no-repeat;content:"";display:block;height:12px;margin:3px 0;width:12px}.ontodia-toolbar__toggle-left:after{background-image:url('+n(23)+")}.ontodia-toolbar__toggle-right:after{background-image:url("+n(24)+")}.ontodia-toolbar__toggle.active{border-color:#c3c3c3}.ontodia-toolbar__toggle-left.active:after{background-image:url("+n(25)+")}.ontodia-toolbar__toggle-right.active:after{background-image:url("+n(26)+')}.ontodia-toolbar__layout-group{margin:5px;height:30px;float:left}.ontodia-toolbar__layout-group>label{margin-right:5px}.ontodia-toolbar__layout-group .btn-group,.ontodia-toolbar__layout-group button{height:100%}.ontodia-toolbar{background:rgba(0,0,0,.15)}.ontodia-toolbar>.ontodia-btn-group{margin-left:10px}.ontodia-toolbar>.ontodia-btn-group>button{margin-top:5px;margin-bottom:5px}.ontodia-toolbar .ontodia-toolbar__redo,.ontodia-toolbar .ontodia-toolbar__undo{display:none}.ontodia{display:flex;flex-direction:column;height:100%;box-sizing:border-box;white-space:normal;color:#333;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857}.ontodia *,.ontodia :after,.ontodia :before{box-sizing:inherit}.ontodia__header{display:flex;flex-direction:column;flex:0 0 auto}.ontodia__main-panel,.ontodia__workspace{display:flex;flex:auto;overflow:hidden}.ontodia__main-panel{width:0}.ontodia--unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ontodia--horizontal-resizing *{cursor:ew-resize!important}.ontodia--vertical-resizing *{cursor:ns-resize!important}.ontodia h4{font-size:18px;font-weight:500;line-height:1.1;margin-top:10px;margin-bottom:10px}.ontodia select{color:inherit;margin:0;font:inherit;line-height:inherit;text-transform:none}.ontodia hr{border:0;border-top:1px solid #eee;height:0}.ontodia-default-icon:after{content:"\\25EF";font-size:12px}.ontodia-class-icon:after,.ontodia-default-icon:after{min-width:10px;min-height:10px;border-radius:100px;overflow:hidden;font-style:normal}.ontodia-class-icon:after{content:"C";font-weight:700}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-class-icon{color:#eaac77;background-color:#fff6f0;border:1px solid #d99292}.ontodia-object-property-icon:after{content:"OP";font-weight:700;min-width:10px;min-height:10px;border-radius:100px;overflow:hidden;font-style:normal}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-object-property-icon{font-size:11px;color:#34c7f3;border:1px solid #2dd6e6}.ontodia-datatype-property-icon:after{content:"DP";font-weight:700;min-width:10px;min-height:10px;border-radius:100px;overflow:hidden;font-style:normal}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-datatype-property-icon{font-size:11px;color:#34c7f3}.ontodia-person-icon:after{background:url('+n(27)+') no-repeat;background-size:contain;content:"";display:inline-block;height:26px;width:26px}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-person-icon{background:#fff;border-color:#eb7777}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-person-icon:after{height:12px;width:12px}.ontodia-country-icon:after{background:url('+n(28)+') no-repeat;background-size:contain;content:"";display:inline-block;height:26px;width:26px}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-country-icon{background:#fff;border-color:#77ca98}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-country-icon:after{height:12px;width:12px}.ontodia-organization-icon:after{background:url('+n(29)+') no-repeat;background-size:contain;content:"";display:inline-block;height:26px;width:26px}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-organization-icon{background:#fff;border-color:#77ca98}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-organization-icon:after{height:12px;width:12px}.ontodia-location-icon:after{background:url('+n(30)+') no-repeat;background-size:contain;content:"";display:inline-block;height:26px;width:26px}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-location-icon{background:#fff;border-color:#bebc71}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-location-icon:after{height:12px;width:12px}.ontodia-event-icon:after{background:url('+n(31)+') no-repeat;background-size:contain;content:"";display:inline-block;height:26px;width:26px}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-event-icon{background:#fff;border-color:#b4b1fb}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-event-icon:after{height:12px;width:12px}.ontodia-object-icon:after{background:url('+n(32)+') no-repeat;background-size:contain;content:"";display:inline-block;height:26px;width:26px}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-object-icon{background:#fff;border-color:#53ccb2}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon.ontodia-object-icon:after{height:12px;width:12px}.jstree-default .jstree-icon.jstree-themeicon-custom.ontodia-tree-icon{height:20px;width:20px;line-height:20px}.jstree-icon.jstree-themeicon-custom.ontodia-tree-icon{color:#1573b0;background-color:#f0f8ff;border-radius:15px;border:1px solid #92bdd9;overflow:hidden;font-size:15px}.ontodia-default-template,.ontodia-group-template__wrap{max-width:450px;float:left;border-radius:12px;border-style:solid;border-width:1px}.ontodia-default-template__thumbnail{text-align:center}.ontodia-default-template__thumbnail>img{max-width:200px}.ontodia-default-template[data-expanded=true] .ontodia-default-template__thumbnail>img,[data-expanded=true].ontodia-group-template__wrap .ontodia-default-template__thumbnail>img{max-width:350px}.ontodia-default-template_type-line,.ontodia-group-template__type-line{padding:0 7px;color:#fff;height:18px;margin-bottom:2px;overflow:hidden;display:flex;align-items:baseline;margin-top:-3px}div.ontodia-default-template_type-line__icon,div.ontodia-group-template__type-line-icon{position:inherit!important;margin-right:4px}.ontodia-default-template_type-line_text-container,.ontodia-group-template__type-line-text-container{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:0}.ontodia-default-template_type-line_text-container__text,.ontodia-group-template__type-line-text{display:inline;white-space:nowrap;font-size:12px}.ontodia-default-template_body,.ontodia-group-template__body{border-bottom-left-radius:12px;border-bottom-right-radius:12px;border-top-style:solid;border-top-width:1px;background:#fff;padding:7px 10px 8px;overflow:hidden;display:flex;flex-direction:column}.ontodia-default-template_body__label,.ontodia-group-template__label{font-size:19px;font-weight:100;overflow:hidden;text-overflow:ellipsis;margin-bottom:0;white-space:nowrap;word-wrap:break-word}.ontodia-default-template_body_expander{width:100%;overflow:hidden;display:flex}.ontodia-default-template_body_expander__iri_label{font-size:12px;font-weight:100;margin-right:15px;color:#b6b6b6}.ontodia-default-template_body_expander_iri{font-size:12px;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ontodia-default-template_body_expander_iri__link{color:#b6b6b6}.ontodia-default-template_body_expander__hr{margin:5px 0}.ontodia-default-template_body_expander_property-table{font-size:15px;font-weight:100;margin-bottom:5px;max-height:200px;overflow-y:scroll;overflow-x:hidden}.ontodia-default-template_body_expander_property-table_row{white-space:nowrap}.ontodia-default-template_body_expander_property-table_row__key,.ontodia-default-template_body_expander_property-table_row_key{display:inline-block;width:50%;text-overflow:ellipsis;overflow:hidden;vertical-align:top}.ontodia-default-template_body_expander_property-table_row_key_values{display:inline-block;width:50%;text-overflow:ellipsis;overflow:hidden}.ontodia-default-template_body_expander_property-table_row_key_values__value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:normal;padding-right:10px}.ontodia-group-template{overflow:hidden}.ontodia-group-template__wrap{max-width:none}.ontodia-group-template__body{overflow:visible}.ontodia-group-template__embedded-layer{margin-top:7px}.ontodia-group-template .ontodia-paper__canvas{border-color:#fff}.ontodia-standard-template{min-width:180px;max-width:400px;float:left}.ontodia-standard-template__main{border-radius:10px;border:1px solid}.ontodia-standard-template__body{margin-left:13px;border-radius:3px 10px 10px 3px;border-left:1px solid;padding:3px 12px 3px 0;background:#fafaf9;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.ontodia-standard-template__body-content{flex-grow:1;min-width:0}.ontodia-standard-template__label{font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ontodia-standard-template__thumbnail{font-size:26px;margin:5px 10px;flex-shrink:0;width:50px;height:50px;display:flex;justify-content:center;align-items:center}.ontodia-standard-template__thumbnail-image{max-height:100%;max-width:100%}.ontodia-standard-template__photo{border-bottom:1px solid}.ontodia-standard-template__photo-image{width:100%;border-radius:10px 10px 0 0}.ontodia-standard-template__type{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-style:italic;color:#999;display:flex}.ontodia-standard-template__type-value{width:0;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.ontodia-standard-template__iri{width:100%;overflow:hidden;display:flex}.ontodia-standard-template__iri-key{font-size:12px;margin-right:4px;color:#b6b6b6}.ontodia-standard-template__iri-value{font-size:12px;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ontodia-standard-template__iri-value a{color:#b6b6b6}.ontodia-standard-template__hr{margin:5px 0}.ontodia-standard-template__properties{font-size:15px;max-height:200px;overflow-y:scroll;overflow-x:hidden}.ontodia-standard-template__propertites-row{white-space:nowrap}.ontodia-standard-template__properties-key{vertical-align:top}.ontodia-standard-template__properties-key,.ontodia-standard-template__properties-values{display:inline-block;width:50%;text-overflow:ellipsis;overflow:hidden}.ontodia-standard-template__properties-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:normal;padding-right:10px}.ontodia-standard-template__dropdown{border-radius:10px;background-color:#fff;margin-top:5px;border:1px solid}.ontodia-standard-template__dropdown-content{width:100%;padding:9px}',""]); +},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABFAAAARQB+zng/wAAAB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qf8ARlgnkHoNeJ8AAAAASUVORK5CYII="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABFAAAARQB+zng/wAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAALlSURBVDiNpZJfbFNlGMZ/3zmnpactHQM62rotGkiYkLkBCSxDEwUSjPLPDINKNCR4oRfGEOXvBZkSiAiES7iSGzRagxAShQsywQsTEZYMBDa3wTo3Wwcl6zbWnvac83KzwsamDnjunjzf8/ve78ureFTxuB5JPN+giVovSD0wdSRpBc458FXfturOcT1AjTbRg1cW4arjhqaqXn42yJJyP6WmgSNC6x2Ls+0DJAcLtlIc9t4L7u5qfC43ISx24MpaEfXdyjmhKZ8vi1BR4h13syNC/I9+9pxPkcnZTYVhfe3txvlDY2CR/dcWK+Ve+Kgu7Nvx0ixcEX5sG+BM+wB/ZfKEfDr1FQE2vjCdUlOn467FhngXycHCieS26vUPYY0/G1H/zN/XzC2pPbqmgrtZh82nuvmt5964yWb4DY6urmBpZYDmZJY3vrlJXmRDamt1HECLmWWvTTFU7WfLozgibDqZmBAEkB62ee+HBO1pi4VRk7eqS1Gwq5hrrnLfWTknxKyAwcnrGS71Dk8IKipbcNn7SwqATQumg1AT298yF0BTohYsKQ8AcLo185+goppuDjGUd6kK+5jm0wFVD6ChpLI85AHgVn9+UjDbFbr78yigLGCA0sIAhgLLssUH4NXHrB0iLm4m+cBr/lKU1w+AZ+SsIyAiOoAhSE9bOleyihC1EZMbt0ftoW1htTU9sJ7YPLRQjKBXI9HjpasbOhMJCpmkWdLw6QoV/fLqkZqI+cGZd2fTksry+vFOXBmZzM6Rvfz9pJ4OoIlox1pSWS50DVETMfm4rmxUrP61OCEstX3+ReCnT872kh622fpiGXuWRwl6tccCAWgABY/+/t+DhX8avr1FdybP5oUzaP6wisOvPvP4sDtb5iURXvkzbfUuO9bBoV/7GLQcVsye+n/9MRrzKZF9zWHl8RxC2KhAi5ouHee/fjJYUbEvrlWinLcdO1uXaz6x7qlgRQXf3BnWXadvsrD7GWEY24DVLIMAAAAASUVORK5CYII="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAGrSURBVHic7dYxSgNRGEXhGwOuRQyCi1AR3IHoUiwFW21cj5sRC3tFgrExzUBIMmPmP76cD145MxcODyYRyrTgm+dJDpO8F3xbHRdJPpK8JZkVb9l7yxiL32OUQt0YRim0KoZRCqyLYZQRbRrDKCOYZbsYy/Oa5Khgb/MmSZ6yfRBvyg4ZBcgoQEYBMgqQUYCMAmQUIKMAGQXIKEBGATIKkFGAjAJkFKChUY7Hn9w+owAZBcgoQEYBMgqQUYCMAjRJ8hijoBgFyChARgEyCpBRgIwCZBQgowANjXI6/uT2DYkyT3I5/uT2GQXIKEBGATIKkFGAsFEOdvViuEWSlyTfPZ6dJjn72zm6SvKZfjfkuWBv04wBYgwQY4AYA8QYIH1jzJPcFext2pAYtwV7m2YMEGOAGAPEGCDGADEGiDFAjAFiDBBjgBgDxBggxgAxBogxQIwBMiTGTcHephkDxBggxgAxBogxQIwBYgwQY4AYA8QYIMYAMQaIMUCMAWIMkJMkX+kX47pg7164jzcDZ9MoxhjRuijGKLAqijEKdaMYA2AZxRggD/HXVv/FDxh8HInEGLhOAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAbCAYAAAAOEM1uAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAZEQAAGREBkIelaAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG2SURBVFiFzde9axRRFMbhJ3Hjx0YRgkWElGI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rw97b1k8AAAAASUVORK5CYII="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIMDx0nu7zDsAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAD+SURBVEjH7ZQxa8JQFIU/HFSqXQri1KHQwc2txaLi4N5NHMRNdFeoqPkH/YlFRRBxcVAREakuEQ7RiDWJWHgHAuHl3Pu9e/PuAyOjO1QM+L419BEYAjugdctKlzb08DSChkaBvgCn8v4VFPQBGAjIAsLARNbKQbR3LoCufAs5Kv/0CxoBfiRx74QnCczEU/EKjTv+qXXG+wwsxJvzMjIrSdS5cKMa835NpSNJ0P5DbEritkDh0sAnYCzBzSu6lbahO2Btb+asEsBGoHUP5+MF+JVcr27GN8fJrPkwEVnJt7Q7caSMmKo+3gFFabnrjJeAjwBuvbxbtUZGRkb/R3tcflA+OTpkkAAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAuxJREFUeF7t3V1u4jAYhWFu+FkDIHHBGlgZILbBjtN8M/labEywYzs+js8rHYFUqGo/6twNXTHGWIVdLpduv993x+ORm3Fy53L3A8Nf8sX+gSuw4e7NCFJuBAEbQcBGELARBGxOkNPp9PZCbp4Nd2/2eDy67Xb79mIu7+TO5e775+/d7/dut9u9vYnLM7lrufP++eeIMs+8MDSi5F0QhkaUPJuEoREl7aIwNKKkWRIMjShxS4qhEWXasmBoRAlbVgyNKH6bBUMjyvhmxdCI4l4RDI0o5opiaET5PwgMrXUUKAytVRRIDK01FGgMrRWUKjC0paNUhaEtFaVKDG1pKFVjaEtBWQSGVjvKojC0WlEWiaHVhrJoDK0WlCYwNHSUpjA0VJQmMTQ0lKYxNBQUSIyu697mkXEwa16VRoHCcCHoPDMOZ827UihwvxkuCFlAxgGtBTU3ChyGFIkhGYe0FtxcKJAYUiSGZBzU2qRyo8BiSIggUi4UaAwJFURKjQKPISGDSKlQqsCQEEHsn+N2u3Xr9dr+3t6T98r36J/jVwOIJJ8r1T9M2vDeOqoFJOajP5wfXYGaHp4gIDlAfg9SYP8iyPBIEIAIAhZBwCIIWAQBiyBgKcQLSGjG4a1NiiAEwYkgYCGCuCKIf8bhrSWLIP4Zh7eWLIL4ZxzeWrKaBZmAYhzeWrKaBpEFZBzeWrKaB5F5ZhzeWrIIMswj4/DWkkWQl33JOLy1ZBHEsZIRZGQlIkjCpYgggfvU2NdCIojnvuXzGp8I8mW+hbx2LIIkXIqaAaklgoDVDIjrn5gciy0GxPl3AlFzXV6OxTYVZPTvBCLmurwci20KSDX/je011+XlWGyhIFViSK7Ly7HYQkCqxZBcl5djsfmCVI0huS4vx2LzAakeQ3JdXo7F9g1kERiS6/JyLLYxkMVg1NQnEGIUygVCjILZIMQo3CsIMQBSEGKAdDgcus1mQwyUzudzd71eiYHS8/kkBpu71eoHWjSksuGbaS0AAAAASUVORK5CYII="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAHElEQVQIW2PcvHnzf19fX0YGKIAzMARgKjFUAABdvQgFy9518AAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAACXSURBVHjaYvz//z8DIbBlyxYmIDUTiI/6+PgsQJZjJGQAVPMcIE4E4n9AnAA0ZDFRBqBphoELQGwKNOQPiMNEoubLQOwG04zTADyanYGaXyOrZaJEM4YBpGpGMYAczXgDkVgANwBoCyiOU4B4PpK8LhDvBbpOlCgXkGMIhhdINQRrGJBiCO2SMg6XgPh9yEmZkdLsDBBgAMUxZ3KEE1BeAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAACXSURBVHjaYvz//z8DIfD+/XsmIDUTiI8KCgouQJZjJGQAVPMcIE4E4n9AnAA0ZDFRBqBphoELQGwKNOQPiMNEoubLQOwG04zTADyanYGaXyOrZaJEM4YBpGpGMYAczXgDkVgANwBoCyiOU4B4PpK8LhDvBbpOlCgXkGMIhhdINQRrGJBiCO2SMg6XgPh9yEmZkdLsDBBgAKQBZhCkUF/8AAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAACdSURBVHjaYvz//z8DMtiyZUsCkLIG4nQfH59/DAQAI7IBQM2xQGoBEDMB8XwgTiFkCNwAoGYWIHUaiA2Q5AkawgRjABX9AVJuQHwZST4RiOcADWciaADUkNdAypkUQzAESTUEq6mkGILTb8QawsRAIcBpANAWUSC1F4h18UUrEyWasRpAimYMA0jVTJOk3AfE/4jVjJEbycnOAAEGABIyZ3LVo9KqAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAACeSURBVHjaYvz//z8DMnj//n0CkLIG4nRBQcF/DAQAC5rmWCA1F4iZgJg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4wMjRsLTMuNTIyLTEuNjQ2Yy0wLjQ5OC0wLjIzMy0xLjE3NS0wLjA2My0xLjUwNSwwLjM3NmMwLDAtMi42MDUsMy43MzctNS42NzEsMTEuNjkyDQoJCQljLTkuNDgtNC4yODgtMTguNDkxLDEuNzE4LTE4LjQ5MSwxMi4xNjJjMCwxMC45MDksOC4zOTMsMjcuNDgsMTkuNzQzLDIyLjQ3OGMxMS45NTQsNS4xNzMsMTkuNzQ5LTExLjU2OCwxOS43NDktMjIuNDc4DQoJCQlDNDQuNzQ3LDE2LjAyMiwzNi42NDcsOS44NDYsMjYuMTIsMTQuNDg4eiIvPg0KICAgIDxwYXRoIGZpbGw9IiM1M2NjYjIiIGQ9Ik0yMy45OTcsMTAuOTU1YzAuNTQ4LTAuMDQ2LDEuMDMyLTAuNTMxLDEuMDc2LTEuMDc4YzAsMCwwLjM1Mi00LjI2Ni0yLjYyMS03LjI0MmMtMi45ODItMi45NzctNy4yNC0yLjYyMi03LjI0LTIuNjIyDQoJCQljLTAuNTQ4LDAuMDQ2LTEuMDMyLDAuNTMxLTEuMDc3LDEuMDc4YzAsMC0wLjM1OCw0LjI2OCwyLjYxOSw3LjI0NUMxOS43MjksMTEuMzEsMjMuOTk3LDEwLjk1NSwyMy45OTcsMTAuOTU1eiIvPg0KPC9zdmc+DQo="},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function l(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function u(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}function p(e,t){t=t||{};var n=t.body;if(e instanceof p){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=h(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function f(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function g(e){var t=new i,n=e.replace(/\r?\n[\t ]+/g," ");return n.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t}function m(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},_=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,r){e=t(e),r=n(r);var i=this.map[e];this.map[e]=i?i+","+r:r},i.prototype["delete"]=function(e){delete this.map[t(e)]},i.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,r){this.map[t(e)]=n(r)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},v.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},d.call(p.prototype),d.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},m.error=function(){var e=new m(null,{status:0,statusText:""});return e.type="error",e};var x=[301,302,303,307,308];m.redirect=function(e,t){if(x.indexOf(t)===-1)throw new RangeError("Invalid status code");return new m(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=p,e.Response=m,e.fetch=function(e,t){return new Promise(function(n,r){var i=new p(e,t),o=new XMLHttpRequest;o.onload=function(){var e={status:o.status,statusText:o.statusText,headers:g(o.getAllResponseHeaders()||"")};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;n(new m(t,e))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&v.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"==typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t,n){"use strict";e.exports=n(35).polyfill()},function(e,t,n){(function(t,r){/*! + * @overview es6-promise - a tiny implementation of Promises/A+. + * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) + * @license Licensed under MIT license + * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE + * @version v4.2.2+97478eb6 + */ +!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function i(e){return"function"==typeof e}function o(e){G=e}function a(e){Q=e}function s(){return function(){return t.nextTick(h)}}function l(){return"undefined"!=typeof q?function(){q(h)}:d()}function u(){var e=0,t=new J(h),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function c(){var e=new MessageChannel;return e.port1.onmessage=h,function(){return e.port2.postMessage(0)}}function d(){var e=setTimeout;return function(){return e(h,1)}}function h(){for(var e=0;e1)for(var n=1;n0?1:e<0?-1:0}),"undefined"==typeof Number.isNaN&&(Number.isNaN=function(e){return"number"==typeof e&&isNaN(e)}),"undefined"==typeof Number.isFinite&&(Number.isFinite=function(e){return e!==1/0&&e!==-(1/0)&&!Number.isNaN(e)}),String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return this.substr(!t||t<0?0:+t,e.length)===e}),!Array.prototype.find){var r=function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r=arguments[1],i=0;i0?i.createElement("div",{className:"ontodia-default-template_body_expander_property-table"},e.map(function(e){var t=e.property.values.map(function(e,t){var n=e.text;return i.createElement("div",{className:"ontodia-default-template_body_expander_property-table_row_key_values__value",key:t,title:n},n)});return i.createElement("div",{key:e.id,className:"ontodia-default-template_body_expander_property-table_row"},i.createElement("div",{title:e.name+" ("+e.id+")",className:"ontodia-default-template_body_expander_property-table_row__key"},e.name),i.createElement("div",{className:"ontodia-default-template_body_expander_property-table_row_key_values"},t))})):i.createElement("div",null,"no properties")},t}(i.Component);t.DefaultElementTemplate=s},function(e,t,n){var r,i;(function(n){/*! ***************************************************************************** + Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of the + License at http://www.apache.org/licenses/LICENSE-2.0 + + THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED + WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, + MERCHANTABLITY OR NON-INFRINGEMENT. + + See the Apache Version 2.0 License for specific language governing permissions + and limitations under the License. + ***************************************************************************** */ +var o,a,s,l,u,c,d,h,p,f,g,m,v,y,b,_,w,x,k;!function(o){function a(e,t){return e!==s&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(n,r){return e[n]=t?t(n,r):r}}var s="object"==typeof n?n:"object"==typeof self?self:"object"==typeof this?this:{};r=[t],i=function(e){o(a(s,a(e)))}.apply(t,r),!(void 0!==i&&(e.exports=i))}(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};o=function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)},a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},u=function(e,t){return function(n,r){t(n,r,e)}},c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},d=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}l((r=r.apply(e,t||[])).next())})},h=function(e,t){function n(e){return function(t){return r([e,t])}}function r(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,o&&(a=o[2&n[0]?"return":n[0]?"throw":"next"])&&!(a=a.call(o,n[1])).done)return a;switch(o=0,a&&(n=[0,a.value]),n[0]){case 0:case 1:a=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,o=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(a=l.trys,!(a=a.length>0&&a[a.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}},g=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},m=function(){for(var e=[],t=0;t1||i(e,t)})})}function i(e,t){try{o(c[e](t))}catch(n){l(d[0][3],n)}}function o(e){e.value instanceof v?Promise.resolve(e.value.v).then(a,s):l(d[0][2],e)}function a(e){i("next",e)}function s(e){i("throw",e)}function l(e,t){e(t),d.shift(),d.length&&i(d[0][0],d[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u,c=n.apply(e,t||[]),d=[];return u={},r("next"),r("throw"),r("return"),u[Symbol.asyncIterator]=function(){return this},u},b=function(e){function t(t,i){e[t]&&(n[t]=function(n){return(r=!r)?{value:v(e[t](n)),done:"return"===t}:i?i(n):n})}var n,r;return n={},t("next"),t("throw",function(e){throw e}),t("return"),n[Symbol.iterator]=function(){return this},n},_=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):"function"==typeof f?f(e):e[Symbol.iterator]()},w=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},x=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t},k=function(e){return e&&e.__esModule?e:{"default":e}},e("__extends",o),e("__assign",a),e("__rest",s),e("__decorate",l),e("__param",u),e("__metadata",c),e("__awaiter",d),e("__generator",h),e("__exportStar",p),e("__values",f),e("__read",g),e("__spread",m),e("__await",v),e("__asyncGenerator",y),e("__asyncDelegator",b),e("__asyncValues",_),e("__makeTemplateObject",w),e("__importStar",x),e("__importDefault",k)})}).call(t,function(){return this}())},function(e,t,n){"use strict";e.exports=n(43)},function(e,t,n){(function(t){"use strict";var r=n(44),i=n(45),o=n(57),a=n(60),s=n(61),l=n(66),u=n(49),c=n(71),d=n(72),h=n(73),p=n(51),f=u.createElement,g=u.createFactory,m=u.cloneElement;if("production"!==t.env.NODE_ENV){var v=n(67);f=v.createElement,g=v.createFactory,m=v.cloneElement}var y=r;if("production"!==t.env.NODE_ENV){var b=!1;y=function(){return"production"!==t.env.NODE_ENV?p(b,"React.__spread is deprecated and should not be used. Use Object.assign directly or another helper function with similar semantics. You may be seeing this warning due to your compiler. See https://fb.me/react-spread-deprecation for more details."):void 0,b=!0,r.apply(null,arguments)}}var _={Children:{map:i.map,forEach:i.forEach,count:i.count,toArray:i.toArray,only:h},Component:o,PureComponent:a,createElement:f,cloneElement:m,isValidElement:u.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:g,createMixin:function(e){return e},DOM:l,version:d,__spread:y};e.exports=_}).call(t,n(36))},function(e,t){/* + object-assign + (c) Sindre Sorhus + @license MIT + */ +"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(o){return!1}}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,l=n(e),u=1;u1){for(var _=Array(b),w=0;w1){for(var b=Array(y),_=0;_1?t-1:0),r=1;r2?n-2:0),i=2;i1?s-1:0),u=1;u.")}return t}function o(e,n){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=m.uniqueKey||(m.uniqueKey={}),o=i(n);if(!r[o]){r[o]=!0;var a="";e&&e._owner&&e._owner!==l.current&&(a=" It was passed a child from "+e._owner.getName()+"."),"production"!==t.env.NODE_ENV?g(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',o,a,u.getCurrentStackAddendum(e)):void 0}}}function a(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n>",C={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:l,element:u(),instanceOf:c,node:f(),objectOf:h,oneOf:d,oneOfType:p,shape:g};i.prototype=Error.prototype,e.exports=C}).call(t,n(36))},function(e,t){"use strict";e.exports="15.3.2"},function(e,t,n){(function(t){"use strict";function r(e){return o.isValidElement(e)?void 0:"production"!==t.env.NODE_ENV?a(!1,"React.Children.only expected to receive a single React element child."):i("143"),e}var i=n(47),o=n(49),a=n(48);e.exports=r}).call(t,n(36))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(41),i=n(42),o=n(42),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.imageProps,n=r.__rest(e,["imageProps"]);return i.createElement("div",r.__assign({},n),i.createElement("img",r.__assign({},t)))},t}(o.Component);t.CrossOriginImage=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(41),i=n(42),o=n(76),a="ontodia-group-template",s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.icon,r=e.types,s=e.color,l=e.isExpanded;return i.createElement("div",{className:a},i.createElement("div",{className:a+"__wrap",style:{backgroundColor:s,borderColor:s}},i.createElement("div",{className:a+"__type-line",title:t},i.createElement("div",{className:n+" "+a+"__type-line-icon"}),i.createElement("div",{title:r,className:a+"__type-line-text-container"},i.createElement("div",{className:a+"__type-line-text"},r))),i.createElement("div",{className:a+"__body",style:{borderColor:s}},i.createElement("span",{className:a+"__label",title:t},t),l?i.createElement("div",{className:a+"__embedded-layer"},i.createElement(o.EmbeddedLayer,null)):null)))},t}(i.Component);t.GroupTemplate=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(41),i=n(42),o=n(77),a=n(99),s=n(78),l=n(107),u=n(79),c=n(246),d=n(99),h=function(e){function t(t){var n=e.call(this,t)||this;return n.listener=new u.EventObserver,n.layerOffsetLeft=0,n.layerOffsetTop=0,n.isApplyingParentMove=!1,n.isNestedElementMoving=!1,n.previousPositions=[],n.getNestedElements=function(){var e=n.context.ontodiaElement,t=e.view,r=e.element;return t.model.elements.filter(function(e){return e.group===r.id})},n.getContentFittingBox=function(){var e=n.getNestedElements();return d.getContentFittingBox(e,[])},n.removeElements=function(){for(var e=n.context.ontodiaElement.view,t=e.model.history.startBatch(),r=0,i=n.getNestedElements();r0){var i=this.getContentFittingBox(),o=i.x,a=i.y,s=i.width,l=i.height;this.setState({offsetX:o,offsetY:a,paperWidth:s,paperHeight:l},function(){return t.redraw()})}else this.loadEmbeddedElements()},t.prototype.componentWillUnmount=function(){this.listener.stopListening(),this.removeElements(),this.setState({paperWidth:0,paperHeight:0,offsetX:0,offsetY:0})},t.prototype.render=function(){var e=this.context.ontodiaElement,t=e.view,n=e.element,r=e.scale,a=this.state,s=a.paperWidth,u=a.paperHeight,c=a.offsetX,d=a.offsetY,h={position:"absolute",left:-c,top:-d};return i.createElement("div",{className:"ontodia-embedded-layer",ref:this.onLayerInit},i.createElement(o.Paper,{view:t,width:s,height:u,originX:-c,originY:-d,scale:1,paddingX:0,paddingY:0,onPointerDown:this.onPaperPointerDown,group:n.id},i.createElement(l.ElementLayer,{view:t,scale:r,group:n.id,style:h})))},t}(i.Component);h.contextTypes=r.__assign({},l.ElementContextTypes,a.PaperAreaContextTypes),t.EmbeddedLayer=h},function(e,t,n){"use strict";function r(e,t,n){for(var r=e,i=void 0;;){if(r instanceof Element){if(r.hasAttribute("data-element-id"))return n.getElement(r.getAttribute("data-element-id"));if(r.hasAttribute("data-link-id")){var o=n.getLinkById(r.getAttribute("data-link-id"));return"number"==typeof i?new s.LinkVertex(o,i):o}r.hasAttribute("data-vertex")&&(i=Number(r.getAttribute("data-vertex")))}if(!r||r===t)break;r=r.parentNode}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(41),o=n(42),a=n(42),s=n(78),l=n(82),u="ontodia-paper",c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){var n=t.props,i=n.view,o=n.onPointerDown,a=e.target instanceof Element?r(e.target,e.currentTarget,i.model):void 0;o&&o(e,a)},t}return i.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.width,n=e.height,r=e.originX,i=e.originY,a=e.scale,s=e.paddingX,c=e.paddingY,d=t*a,h=n*a,p={width:d+s,height:h+c,marginLeft:s,marginTop:c,paddingRight:s,paddingBottom:c};return o.createElement("div",{className:u,style:p,onMouseDown:this.onMouseDown},o.createElement("svg",{className:u+"__canvas",width:d,height:h,style:{overflow:"visible"}},o.createElement(l.LinkMarkers,{view:this.props.view}),o.createElement("g",{transform:"scale("+a+","+a+")translate("+r+","+i+")"},o.createElement(l.LinkLayer,{view:this.props.view,group:this.props.group}))),this.props.children)},t}(a.Component);t.Paper=c},function(e,t,n){"use strict";function r(e,t){return"ontodia-"+(t?"mstart":"mend")+"-"+e}Object.defineProperty(t,"__esModule",{value:!0});var i=n(79),o=n(81),a=function(){function e(e){this.source=new i.EventSource,this.events=this.source,this.links=[];var t=e.id,n=e.data,r=e.position,o=void 0===r?{x:0,y:0}:r,a=e.size,s=void 0===a?{width:0,height:0}:a,l=e.expanded,u=void 0!==l&&l,c=e.group;this.id=t,this._data=n,this._position=o,this._size=s,this._expanded=u,this._group=c}return Object.defineProperty(e.prototype,"iri",{get:function(){return this._data.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this._data},enumerable:!0,configurable:!0}),e.prototype.setData=function(e){var t=this._data;t!==e&&(this._data=e,this.source.trigger("changeData",{source:this,previous:t}))},Object.defineProperty(e.prototype,"position",{get:function(){return this._position},enumerable:!0,configurable:!0}),e.prototype.setPosition=function(e){var t=this._position,n=t.x===e.x&&t.y===e.y;n||(this._position=e,this.source.trigger("changePosition",{source:this,previous:t}))},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.setSize=function(e){var t=this._size,n=t.width===e.width&&t.height===e.height;n||(this._size=e,this.source.trigger("changeSize",{source:this,previous:t}))},Object.defineProperty(e.prototype,"isExpanded",{get:function(){return this._expanded},enumerable:!0,configurable:!0}),e.prototype.setExpanded=function(e){var t=this._expanded;t!==e&&(this._expanded=e,this.source.trigger("changeExpanded",{source:this,previous:t}))},Object.defineProperty(e.prototype,"group",{get:function(){return this._group},enumerable:!0,configurable:!0}),e.prototype.setGroup=function(e){var t=this._group;t!==e&&(this._group=e,this.source.trigger("changeGroup",{source:this,previous:t}))},e.prototype.focus=function(){this.source.trigger("requestedFocus",{source:this})},e.prototype.addToFilter=function(e,t){this.source.trigger("requestedAddToFilter",{source:this,linkType:e,direction:t})},e.prototype.redraw=function(){this.source.trigger("requestedRedraw",{source:this})},e}();t.Element=a;var s=function(){function e(e){this.source=new i.EventSource,this.events=this.source,this._derived=[];var t=e.id,n=e.label,r=e.count;this.id=t,this._label=n,this._count=r}return Object.defineProperty(e.prototype,"base",{get:function(){return this._base},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"derived",{get:function(){return this._derived},enumerable:!0,configurable:!0}),e.prototype.setBase=function(e){this._base!==e&&(this._base&&(this._base.removeDerived(this),this._base=void 0),e&&(this._base=e,this._base.addDerived(this)))},e.prototype.addDerived=function(e){this._derived.push(e)},e.prototype.removeDerived=function(e){var t=this._derived.indexOf(e);t>=0&&this._derived.splice(t,1)},Object.defineProperty(e.prototype,"label",{get:function(){return this._label},enumerable:!0,configurable:!0}),e.prototype.setLabel=function(e){var t=this._label;t!==e&&(this._label=e,this.source.trigger("changeLabel",{source:this,previous:t}))},Object.defineProperty(e.prototype,"count",{get:function(){return this._count},enumerable:!0,configurable:!0}),e.prototype.setCount=function(e){var t=this._count;t!==e&&(this._count=e,this.source.trigger("changeCount",{source:this,previous:t}))},e}();t.FatClassModel=s;var l=function(){function e(e){this.source=new i.EventSource,this.events=this.source;var t=e.id,n=e.label;this.id=t,this._label=n}return Object.defineProperty(e.prototype,"label",{get:function(){return this._label},enumerable:!0,configurable:!0}),e.prototype.setLabel=function(e){var t=this._label;t!==e&&(this._label=e,this.source.trigger("changeLabel",{source:this,previous:t}))},e}();t.RichProperty=l;var u=function(){function e(e){this.source=new i.EventSource,this.events=this.source;var t=e.id,n=e.data,r=e.vertices,o=void 0===r?[]:r;this.id=t,this._data=n,this._typeId=n.linkTypeId,this._sourceId=n.sourceId,this._targetId=n.targetId,this._vertices=o}return Object.defineProperty(e.prototype,"typeIndex",{get:function(){return this._typeIndex},set:function(e){this._typeIndex=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"typeId",{get:function(){return this._typeId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sourceId",{get:function(){return this._sourceId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"targetId",{get:function(){return this._targetId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this._data},enumerable:!0,configurable:!0}),e.prototype.setData=function(e){var t=this._data;t!==e&&(this._data=e,this.source.trigger("changeData",{source:this,previous:t}))},Object.defineProperty(e.prototype,"layoutOnly",{get:function(){return this._layoutOnly},enumerable:!0,configurable:!0}),e.prototype.setLayoutOnly=function(e){var t=this._layoutOnly;t!==e&&(this._layoutOnly=e,this.source.trigger("changeLayoutOnly",{source:this,previous:t}))},Object.defineProperty(e.prototype,"vertices",{get:function(){return this._vertices},enumerable:!0,configurable:!0}),e.prototype.setVertices=function(e){var t=this._vertices;o.isPolylineEqual(this._vertices,e)||(this._vertices=e,this.source.trigger("changeVertices",{source:this,previous:t}))},e}();t.Link=u,t.linkMarkerKey=r;var c=function(){function e(e){this.source=new i.EventSource,this.events=this.source,this._isNew=!1,this._visible=!0,this._showLabel=!0;var t=e.id,n=e.index,r=e.label;this.id=t,this._index=n,this._label=r}return Object.defineProperty(e.prototype,"index",{get:function(){return this._index},enumerable:!0,configurable:!0}),e.prototype.setIndex=function(e){if("number"==typeof this._index)throw new Error("Cannot set index for link type more than once.");this._index=e},Object.defineProperty(e.prototype,"label",{get:function(){return this._label},enumerable:!0,configurable:!0}),e.prototype.setLabel=function(e){var t=this._label;t!==e&&(this._label=e,this.source.trigger("changeLabel",{source:this,previous:t}))},Object.defineProperty(e.prototype,"visible",{get:function(){return this._visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showLabel",{get:function(){return this._showLabel},enumerable:!0,configurable:!0}),e.prototype.setVisibility=function(e){var t=this._visible===e.visible&&this._showLabel===e.showLabel;if(!t){var n=Boolean(e.preventLoading)||this._visible===e.visible;this._visible=e.visible,this._showLabel=e.showLabel,this.source.trigger("changeVisibility",{source:this,preventLoading:n})}},Object.defineProperty(e.prototype,"isNew",{get:function(){return this._isNew},enumerable:!0,configurable:!0}),e.prototype.setIsNew=function(e){var t=this._isNew;t!==e&&(this._isNew=e,this.source.trigger("changeIsNew",{source:this,previous:t}))},e}();t.FatLinkType=c;var d=function(){function e(e,t){this.link=e,this.vertexIndex=t}return e.prototype.createAt=function(e){var t=this.link.vertices.slice();t.splice(this.vertexIndex,0,e),this.link.setVertices(t)},e.prototype.moveTo=function(e){var t=this.link.vertices.slice();t.splice(this.vertexIndex,1,e),this.link.setVertices(t)},e.prototype.remove=function(){var e=this.link.vertices.slice();e.splice(this.vertexIndex,1)[0];this.link.setVertices(e)},e}();t.LinkVertex=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80),i=function(){function e(){this.listeners=r.createStringMap()}return e.prototype.on=function(e,t){var n=this.listeners[e];n||(n=[],this.listeners[e]=n),n.push(t)},e.prototype.onAny=function(e){var t=this.anyListeners;t||(t=[],this.anyListeners=t),t.push(e)},e.prototype.off=function(e,t){var n=this.listeners[e];if(n){var r=n.indexOf(t);r>=0&&n.splice(r,1)}},e.prototype.offAny=function(e){var t=this.anyListeners;if(t){var n=t.indexOf(e);n>=0&&t.splice(n,1)}},e.prototype.trigger=function(e,t){var n=this.listeners[e];if(n)for(var r=0,i=n;re.x&&t.xe.y&&t.y0&&u.cross2D({x:r,y:i},s)<0;return l?{x:o.x+r*Math.sign(a.x),y:o.y+r*a.y/Math.abs(a.x)}:{x:o.x+i*a.x/Math.abs(a.y),y:o.y+i*Math.sign(a.y)}}function i(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0;n0?i[0]:c.center(a)),l=r(a,i.length>0?i[i.length-1]:c.center(o));return[s].concat(i,[l])}function a(e){var t;return e.reduce(function(e,n){var r=t?u.length({x:n.x-t.x,y:n.y-t.y}):0;return t=n,e+r},0)}function s(e,t){if(0===e.length)throw new Error("Cannot compute a point for empty polyline");if(t<0)return e[0];for(var n=0,r=1;rc)){var h=Math.abs(u.cross2D(s,l))/c;h0?n.getLocalizedText(o):n.getLinkLabel(e.typeId);if(r.push({offset:i.position||.5,text:a,attributes:{text:s(i),rect:l(i)}}),t.properties)for(var u=0,c=t.properties;u0||this.linkState.length>0},e.prototype.filterOutUnchanged=function(){return new e(this.elementState.filter(function(e){var t=e.element,n=e.position;return!a.Vector.equals(t.position,n)}),this.linkState.filter(function(e){var t=e.link,n=e.vertices;return!a.isPolylineEqual(t.vertices,n)}))},e.prototype.invoke=function(){for(var t=e.captureElementsAndLinks(this.elementState.map(function(e){return e.element}),this.linkState.map(function(e){return e.link})),n=0,r=this.elementState.slice().reverse();n0}function i(e){var t=e.position,n=t.x,r=t.y,i=e.size,o=i.width,a=i.height;return{x:n+o/2,y:r+a/2}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(81),a=function(){function e(e){void 0===e&&(e=20),this.gap=e}return e.prototype.route=function(e){for(var t={},n=0,r=e.links;n7*Math.PI/8,a=r<0,s=r>0,l=n-2,u=n-1;if(!o){if(a&&t===u||s&&t===l)return"end";if(a&&t===l||s&&t===u)return"start"}return"middle"},e}();t.DefaultLinkRouter=a},function(e,t,n){"use strict";function r(e,t){for(var n=t,r=0,i=e;r0&&u[u.length-1].focus(),this.setSelection(u)}},e.prototype.getLocalizedText=function(e){return w.chooseLocalizedText(e,this.getLanguage())},e.prototype.getElementTypeString=function(e){var t=this;return e.types.map(function(e){var n=t.model.getClassesById(e);return t.getElementTypeLabel(n).text}).sort().join(", ")},e.prototype.getElementTypeLabel=function(e){var t=this.getLocalizedText(e.label);return t?t:{text:w.uri2name(e.id),lang:""}},e.prototype.getLinkLabel=function(e){var t=this.model.getLinkType(e),n=t?this.getLocalizedText(t.label):null;return n?n:{text:w.uri2name(e),lang:""}},e.prototype.getTypeStyle=function(e){e.sort();for(var t,n=0,i=this.typeStyleResolvers;n=0?this.linkTemplateResolvers.splice(t,1)[0]:void 0},e.prototype.dispose=function(){this.disposed||(this.source.trigger("dispose",{source:this}),this.listener.stopListening(),this.disposed=!0)},e}();t.DiagramView=x,t["default"]=x},function(e,t,n){!function(e,n){n(t)}(this,function(e){"use strict";function t(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function n(){}function r(e){var t;return e=(e+"").trim().toLowerCase(),(t=D.exec(e))?(t=parseInt(t[1],16),new l(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1)):(t=O.exec(e))?i(parseInt(t[1],16)):(t=P.exec(e))?new l(t[1],t[2],t[3],1):(t=L.exec(e))?new l(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=R.exec(e))?o(t[1],t[2],t[3],t[4]):(t=B.exec(e))?o(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=z.exec(e))?u(t[1],t[2]/100,t[3]/100,1):(t=V.exec(e))?u(t[1],t[2]/100,t[3]/100,t[4]):U.hasOwnProperty(e)?i(U[e]):"transparent"===e?new l(NaN,NaN,NaN,0):null}function i(e){return new l(e>>16&255,e>>8&255,255&e,1)}function o(e,t,n,r){return r<=0&&(e=t=n=NaN),new l(e,t,n,r)}function a(e){return e instanceof n||(e=r(e)),e?(e=e.rgb(),new l(e.r,e.g,e.b,e.opacity)):new l}function s(e,t,n,r){return 1===arguments.length?a(e):new l(e,t,n,null==r?1:r)}function l(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function u(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new h(e,t,n,r)}function c(e){if(e instanceof h)return new h(e.h,e.s,e.l,e.opacity);if(e instanceof n||(e=r(e)),!e)return new h;if(e instanceof h)return e;e=e.rgb();var t=e.r/255,i=e.g/255,o=e.b/255,a=Math.min(t,i,o),s=Math.max(t,i,o),l=NaN,u=s-a,c=(s+a)/2;return u?(l=t===s?(i-o)/u+6*(i0&&c<1?0:l,new h(l,u,c,e.opacity)}function d(e,t,n,r){return 1===arguments.length?c(e):new h(e,t,n,null==r?1:r)}function h(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function p(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function f(e){if(e instanceof m)return new m(e.l,e.a,e.b,e.opacity);if(e instanceof k){var t=e.h*F;return new m(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof l||(e=a(e));var n=_(e.r),r=_(e.g),i=_(e.b),o=v((.4124564*n+.3575761*r+.1804375*i)/Y),s=v((.2126729*n+.7151522*r+.072175*i)/q),u=v((.0193339*n+.119192*r+.9503041*i)/G);return new m(116*s-16,500*(o-s),200*(s-u),e.opacity)}function g(e,t,n,r){return 1===arguments.length?f(e):new m(e,t,n,null==r?1:r)}function m(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function v(e){return e>J?Math.pow(e,1/3):e/K+Q}function y(e){return e>X?e*e*e:K*(e-Q)}function b(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function _(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function w(e){if(e instanceof k)return new k(e.h,e.c,e.l,e.opacity);e instanceof m||(e=f(e));var t=Math.atan2(e.b,e.a)*H;return new k(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function x(e,t,n,r){return 1===arguments.length?w(e):new k(e,t,n,null==r?1:r)}function k(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function E(e){if(e instanceof A)return new A(e.h,e.s,e.l,e.opacity);e instanceof l||(e=a(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(oe*r+re*t-ie*n)/(oe+re-ie),o=r-i,s=(ne*(n-i)-ee*o)/te,u=Math.sqrt(s*s+o*o)/(ne*i*(1-i)),c=u?Math.atan2(s,o)*H-120:NaN;return new A(c<0?c+360:c,u,i,e.opacity)}function j(e,t,n,r){return 1===arguments.length?E(e):new A(e,t,n,null==r?1:r)}function A(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}var N=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e},C=.7,T=1/C,I="\\s*([+-]?\\d+)\\s*",S="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",M="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",D=/^#([0-9a-f]{3})$/,O=/^#([0-9a-f]{6})$/,P=new RegExp("^rgb\\("+[I,I,I]+"\\)$"),L=new RegExp("^rgb\\("+[M,M,M]+"\\)$"),R=new RegExp("^rgba\\("+[I,I,I,S]+"\\)$"),B=new RegExp("^rgba\\("+[M,M,M,S]+"\\)$"),z=new RegExp("^hsl\\("+[S,M,M]+"\\)$"),V=new RegExp("^hsla\\("+[S,M,M,S]+"\\)$"),U={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};N(n,r,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),N(l,s,t(n,{brighter:function(e){return e=null==e?T:Math.pow(T,e),new l(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?C:Math.pow(C,e),new l(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),N(h,d,t(n,{brighter:function(e){return e=null==e?T:Math.pow(T,e),new h(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?C:Math.pow(C,e),new h(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new l(p(e>=240?e-240:e+120,i,r),p(e,i,r),p(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var F=Math.PI/180,H=180/Math.PI,W=18,Y=.95047,q=1,G=1.08883,Q=4/29,X=6/29,K=3*X*X,J=X*X*X;N(m,g,t(n,{brighter:function(e){return new m(this.l+W*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new m(this.l-W*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=q*y(e),t=Y*y(t),n=G*y(n),new l(b(3.2404542*t-1.5371385*e-.4985314*n),b(-.969266*t+1.8760108*e+.041556*n),b(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),N(k,x,t(n,{brighter:function(e){return new k(this.h,this.c,this.l+W*(null==e?1:e),this.opacity)},darker:function(e){return new k(this.h,this.c,this.l-W*(null==e?1:e),this.opacity)},rgb:function(){return f(this).rgb()}}));var Z=-.14861,$=1.78277,ee=-.29227,te=-.90649,ne=1.97294,re=ne*te,ie=ne*$,oe=$*ee-te*Z;N(A,j,t(n,{brighter:function(e){return e=null==e?T:Math.pow(T,e),new A(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?C:Math.pow(C,e),new A(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*F,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new l(255*(t+n*(Z*r+$*i)),255*(t+n*(ee*r+te*i)),255*(t+n*(ne*r)),this.opacity)}})),e.color=r,e.rgb=s,e.hsl=d,e.lab=g,e.hcl=x,e.cubehelix=j,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){var r;(function(e,i){(function(){function o(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function h(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function R(e,t){for(var n=e.length;n--&&x(t,e[n],0)>-1;);return n}function B(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function z(e){return"\\"+er[e]}function V(e,t){return null==e?re:e[t]}function U(e){return Yn.test(e)}function F(e){return qn.test(e)}function H(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Y(e,t){return function(n){return e(t(n))}}function q(e,t){for(var n=-1,r=e.length,i=0,o=[];++n>>1,Ve=[["ary",ke],["bind",me],["bindKey",ve],["curry",be],["curryRight",_e],["flip",je],["partial",we],["partialRight",xe],["rearg",Ee]],Ue="[object Arguments]",Fe="[object Array]",He="[object AsyncFunction]",We="[object Boolean]",Ye="[object Date]",qe="[object DOMException]",Ge="[object Error]",Qe="[object Function]",Xe="[object GeneratorFunction]",Ke="[object Map]",Je="[object Number]",Ze="[object Null]",$e="[object Object]",et="[object Promise]",tt="[object Proxy]",nt="[object RegExp]",rt="[object Set]",it="[object String]",ot="[object Symbol]",at="[object Undefined]",st="[object WeakMap]",lt="[object WeakSet]",ut="[object ArrayBuffer]",ct="[object DataView]",dt="[object Float32Array]",ht="[object Float64Array]",pt="[object Int8Array]",ft="[object Int16Array]",gt="[object Int32Array]",mt="[object Uint8Array]",vt="[object Uint8ClampedArray]",yt="[object Uint16Array]",bt="[object Uint32Array]",_t=/\b__p \+= '';/g,wt=/\b(__p \+=) '' \+/g,xt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,kt=/&(?:amp|lt|gt|quot|#39);/g,Et=/[&<>"']/g,jt=RegExp(kt.source),At=RegExp(Et.source),Nt=/<%-([\s\S]+?)%>/g,Ct=/<%([\s\S]+?)%>/g,Tt=/<%=([\s\S]+?)%>/g,It=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,St=/^\w*$/,Mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Dt=/[\\^$.*+?()[\]{}|]/g,Ot=RegExp(Dt.source),Pt=/^\s+|\s+$/g,Lt=/^\s+/,Rt=/\s+$/,Bt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,zt=/\{\n\/\* \[wrapped with (.+)\] \*/,Vt=/,? & /,Ut=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ft=/\\(\\)?/g,Ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wt=/\w*$/,Yt=/^[-+]0x[0-9a-f]+$/i,qt=/^0b[01]+$/i,Gt=/^\[object .+?Constructor\]$/,Qt=/^0o[0-7]+$/i,Xt=/^(?:0|[1-9]\d*)$/,Kt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Jt=/($^)/,Zt=/['\n\r\u2028\u2029\\]/g,$t="\\ud800-\\udfff",en="\\u0300-\\u036f",tn="\\ufe20-\\ufe2f",nn="\\u20d0-\\u20ff",rn=en+tn+nn,on="\\u2700-\\u27bf",an="a-z\\xdf-\\xf6\\xf8-\\xff",sn="\\xac\\xb1\\xd7\\xf7",ln="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",un="\\u2000-\\u206f",cn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dn="A-Z\\xc0-\\xd6\\xd8-\\xde",hn="\\ufe0e\\ufe0f",pn=sn+ln+un+cn,fn="['’]",gn="["+$t+"]",mn="["+pn+"]",vn="["+rn+"]",yn="\\d+",bn="["+on+"]",_n="["+an+"]",wn="[^"+$t+pn+yn+on+an+dn+"]",xn="\\ud83c[\\udffb-\\udfff]",kn="(?:"+vn+"|"+xn+")",En="[^"+$t+"]",jn="(?:\\ud83c[\\udde6-\\uddff]){2}",An="[\\ud800-\\udbff][\\udc00-\\udfff]",Nn="["+dn+"]",Cn="\\u200d",Tn="(?:"+_n+"|"+wn+")",In="(?:"+Nn+"|"+wn+")",Sn="(?:"+fn+"(?:d|ll|m|re|s|t|ve))?",Mn="(?:"+fn+"(?:D|LL|M|RE|S|T|VE))?",Dn=kn+"?",On="["+hn+"]?",Pn="(?:"+Cn+"(?:"+[En,jn,An].join("|")+")"+On+Dn+")*",Ln="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Rn="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Bn=On+Dn+Pn,zn="(?:"+[bn,jn,An].join("|")+")"+Bn,Vn="(?:"+[En+vn+"?",vn,jn,An,gn].join("|")+")",Un=RegExp(fn,"g"),Fn=RegExp(vn,"g"),Hn=RegExp(xn+"(?="+xn+")|"+Vn+Bn,"g"),Wn=RegExp([Nn+"?"+_n+"+"+Sn+"(?="+[mn,Nn,"$"].join("|")+")",In+"+"+Mn+"(?="+[mn,Nn+Tn,"$"].join("|")+")",Nn+"?"+Tn+"+"+Sn,Nn+"+"+Mn,Rn,Ln,yn,zn].join("|"),"g"),Yn=RegExp("["+Cn+$t+rn+hn+"]"),qn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Qn=-1,Xn={};Xn[dt]=Xn[ht]=Xn[pt]=Xn[ft]=Xn[gt]=Xn[mt]=Xn[vt]=Xn[yt]=Xn[bt]=!0,Xn[Ue]=Xn[Fe]=Xn[ut]=Xn[We]=Xn[ct]=Xn[Ye]=Xn[Ge]=Xn[Qe]=Xn[Ke]=Xn[Je]=Xn[$e]=Xn[nt]=Xn[rt]=Xn[it]=Xn[st]=!1;var Kn={};Kn[Ue]=Kn[Fe]=Kn[ut]=Kn[ct]=Kn[We]=Kn[Ye]=Kn[dt]=Kn[ht]=Kn[pt]=Kn[ft]=Kn[gt]=Kn[Ke]=Kn[Je]=Kn[$e]=Kn[nt]=Kn[rt]=Kn[it]=Kn[ot]=Kn[mt]=Kn[vt]=Kn[yt]=Kn[bt]=!0,Kn[Ge]=Kn[Qe]=Kn[st]=!1;var Jn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Zn={"&":"&","<":"<",">":">",'"':""","'":"'"},$n={"&":"&","<":"<",">":">",""":'"',"'":"'"},er={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tr=parseFloat,nr=parseInt,rr="object"==typeof e&&e&&e.Object===Object&&e,ir="object"==typeof self&&self&&self.Object===Object&&self,or=rr||ir||Function("return this")(),ar="object"==typeof t&&t&&!t.nodeType&&t,sr=ar&&"object"==typeof i&&i&&!i.nodeType&&i,lr=sr&&sr.exports===ar,ur=lr&&rr.process,cr=function(){try{return ur&&ur.binding&&ur.binding("util")}catch(e){}}(),dr=cr&&cr.isArrayBuffer,hr=cr&&cr.isDate,pr=cr&&cr.isMap,fr=cr&&cr.isRegExp,gr=cr&&cr.isSet,mr=cr&&cr.isTypedArray,vr=A("length"),yr=N(Jn),br=N(Zn),_r=N($n),wr=function kr(e){function t(e){if(ol(e)&&!mh(e)&&!(e instanceof i)){if(e instanceof r)return e;if(mc.call(e,"__wrapped__"))return na(e)}return new r(e)}function n(){}function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=re}function i(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Re,this.__views__=[]}function y(){var e=new i(this.__wrapped__);return e.__actions__=Li(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Li(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Li(this.__views__),e}function N(){if(this.__filtered__){var e=new i(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function K(){var e=this.__wrapped__.value(),t=this.__dir__,n=mh(e),r=t<0,i=n?e.length:0,o=Ao(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,d=c.length,h=0,p=qc(l,this.__takeCount__);if(!n||!r&&i==l&&p==l)return bi(e,this.__actions__);var f=[];e:for(;l--&&h-1}function ln(e,t){var n=this.__data__,r=In(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Rn(e,t,n,r,i,o){var a,l=t&de,u=t&he,c=t&pe;if(n&&(a=i?n(e,r,i,o):n(e)),a!==re)return a;if(!il(e))return e;var d=mh(e);if(d){if(a=To(e),!l)return Li(e,a)}else{var h=Ad(e),p=h==Qe||h==Xe;if(yh(e))return Ai(e,l);if(h==$e||h==Ue||p&&!i){if(a=u||p?{}:Io(e),!l)return u?zi(e,Dn(a,e)):Bi(e,Mn(a,e))}else{if(!Kn[h])return i?e:{};a=So(e,h,l)}}o||(o=new yn);var f=o.get(e);if(f)return f;if(o.set(e,a),xh(e))return e.forEach(function(r){a.add(Rn(r,t,n,r,e,o))}),a;if(_h(e))return e.forEach(function(r,i){a.set(i,Rn(r,t,n,i,e,o))}),a;var g=c?u?yo:vo:u?Ul:Vl,m=d?re:g(e);return s(m||e,function(r,i){m&&(i=r,r=e[i]),Tn(a,i,Rn(r,t,n,i,e,o))}),a}function Bn(e){var t=Vl(e);return function(n){return zn(n,e,t)}}function zn(e,t,n){var r=n.length;if(null==e)return!r;for(e=sc(e);r--;){var i=n[r],o=t[i],a=e[i];if(a===re&&!(i in e)||!o(a))return!1}return!0}function Vn(e,t,n){if("function"!=typeof e)throw new cc(se);return Td(function(){e.apply(re,n)},t)}function Hn(e,t,n,r){var i=-1,o=d,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=p(t,D(n))),r?(o=h,a=!1):t.length>=oe&&(o=P,a=!1,t=new gn(t));e:for(;++ii?0:i+n),r=r===re||r>i?i:xl(r),r<0&&(r+=i),r=n>r?0:kl(r);n0&&n(s)?t>1?Zn(s,t-1,n,r,i):f(i,s):r||(i[i.length]=s)}return i}function $n(e,t){return e&&md(e,t,Vl)}function er(e,t){return e&&vd(e,t,Vl)}function rr(e,t){return c(t,function(t){return tl(e[t])})}function ir(e,t){t=Ei(t,e);for(var n=0,r=t.length;null!=e&&nt}function cr(e,t){return null!=e&&mc.call(e,t)}function vr(e,t){return null!=e&&t in sc(e)}function wr(e,t,n){return e>=qc(t,n)&&e=120&&c.length>=120)?new gn(a&&c):re}c=e[0];var f=-1,g=s[0];e:for(;++f-1;)s!==e&&Ic.call(s,l,1),Ic.call(e,l,1);return e}function $r(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;Oo(i)?Ic.call(e,i,1):mi(e,i)}}return e}function ei(e,t){return e+zc(Xc()*(t-e+1))}function ti(e,t,n,r){for(var i=-1,o=Yc(Bc((t-e)/(n||1)),0),a=nc(o);o--;)a[r?o:++i]=e,e+=n;return a}function ni(e,t){var n="";if(!e||t<1||t>Oe)return n;do t%2&&(n+=e),t=zc(t/2),t&&(e+=e);while(t);return n}function ri(e,t){return Id(Go(e,t,Iu),e+"")}function ii(e){return jn($l(e))}function oi(e,t){var n=$l(e);return Zo(n,Ln(t,0,n.length))}function ai(e,t,n,r){if(!il(e))return e;t=Ei(t,e);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++ii?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=nc(i);++r>>1,a=e[o];null!==a&&!ml(a)&&(n?a<=t:a=oe){var u=t?null:xd(e);if(u)return Q(u);a=!1,i=P,l=new gn}else l=t?[]:s;e:for(;++r=r?e:li(e,t,n)}function Ai(e,t){if(t)return e.slice();var n=e.length,r=Ac?Ac(n):new e.constructor(n);return e.copy(r),r}function Ni(e){var t=new e.constructor(e.byteLength);return new jc(t).set(new jc(e)),t}function Ci(e,t){var n=t?Ni(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ti(e){var t=new e.constructor(e.source,Wt.exec(e));return t.lastIndex=e.lastIndex,t}function Ii(e){return dd?sc(dd.call(e)):{}}function Si(e,t){var n=t?Ni(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Mi(e,t){if(e!==t){var n=e!==re,r=null===e,i=e===e,o=ml(e),a=t!==re,s=null===t,l=t===t,u=ml(t);if(!s&&!u&&!o&&e>t||o&&a&&l&&!s&&!u||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!u&&e=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}function Oi(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,u=Yc(o-a,0),c=nc(l+u),d=!r;++s1?n[i-1]:re,a=i>2?n[2]:re;for(o=e.length>3&&"function"==typeof o?(i--,o):re,a&&Po(n[0],n[1],a)&&(o=i<3?re:o,i=1),t=sc(t);++r-1?i[o?t[a]:a]:re}}function Ki(e){return mo(function(t){var n=t.length,i=n,o=r.prototype.thru;for(e&&t.reverse();i--;){var a=t[i];if("function"!=typeof a)throw new cc(se);if(o&&!s&&"wrapper"==bo(a))var s=new r([],(!0))}for(i=s?i:n;++i1&&y.reverse(),d&&ls))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,h=n&ge?new gn:re;for(o.set(e,t),o.set(t,e);++c1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Bt,"{\n/* [wrapped with "+t+"] */\n")}function Do(e){return mh(e)||gh(e)||!!(Sc&&e&&e[Sc])}function Oo(e,t){var n=typeof e;return t=null==t?Oe:t,!!t&&("number"==n||"symbol"!=n&&Xt.test(e))&&e>-1&&e%1==0&&e0){if(++t>=Ce)return arguments[0]}else t=0;return e.apply(re,arguments)}}function Zo(e,t){var n=-1,r=e.length,i=r-1;for(t=t===re?r:t;++n=this.__values__.length,t=e?re:this.__values__[this.__index__++];return{done:e,value:t}}function ns(){return this}function rs(e){for(var t,r=this;r instanceof n;){var i=na(r);i.__index__=0,i.__values__=re,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function is(){var e=this.__wrapped__;if(e instanceof i){var t=e;return this.__actions__.length&&(t=new i(this)),t=t.reverse(),t.__actions__.push({func:Za,args:[Ca],thisArg:re}),new r(t,this.__chain__)}return this.thru(Ca)}function os(){return bi(this.__wrapped__,this.__actions__)}function as(e,t,n){var r=mh(e)?u:Wn;return n&&Po(e,t,n)&&(t=re),r(e,wo(t,3))}function ss(e,t){var n=mh(e)?c:Jn;return n(e,wo(t,3))}function ls(e,t){return Zn(fs(e,t),1)}function us(e,t){return Zn(fs(e,t),De)}function cs(e,t,n){return n=n===re?1:xl(n),Zn(fs(e,t),n)}function ds(e,t){var n=mh(e)?s:fd;return n(e,wo(t,3))}function hs(e,t){var n=mh(e)?l:gd;return n(e,wo(t,3))}function ps(e,t,n,r){e=qs(e)?e:$l(e),n=n&&!r?xl(n):0;var i=e.length;return n<0&&(n=Yc(i+n,0)),gl(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&x(e,t,n)>-1}function fs(e,t){var n=mh(e)?p:Fr;return n(e,wo(t,3))}function gs(e,t,n,r){return null==e?[]:(mh(t)||(t=null==t?[]:[t]),n=r?re:n,mh(n)||(n=null==n?[]:[n]),Qr(e,t,n))}function ms(e,t,n){var r=mh(e)?g:C,i=arguments.length<3;return r(e,wo(t,4),n,i,fd)}function vs(e,t,n){var r=mh(e)?m:C,i=arguments.length<3;return r(e,wo(t,4),n,i,gd)}function ys(e,t){var n=mh(e)?c:Jn;return n(e,Ms(wo(t,3)))}function bs(e){var t=mh(e)?jn:ii;return t(e)}function _s(e,t,n){t=(n?Po(e,t,n):t===re)?1:xl(t);var r=mh(e)?An:oi;return r(e,t)}function ws(e){var t=mh(e)?Nn:si;return t(e)}function xs(e){if(null==e)return 0;if(qs(e))return gl(e)?Z(e):e.length;var t=Ad(e);return t==Ke||t==rt?e.size:zr(e).length}function ks(e,t,n){var r=mh(e)?v:ui;return n&&Po(e,t,n)&&(t=re),r(e,wo(t,3))}function Es(e,t){if("function"!=typeof t)throw new cc(se);return e=xl(e),function(){if(--e<1)return t.apply(this,arguments)}}function js(e,t,n){return t=n?re:t,t=e&&null==t?e.length:t,lo(e,ke,re,re,re,re,t)}function As(e,t){var n;if("function"!=typeof t)throw new cc(se);return e=xl(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=re),n}}function Ns(e,t,n){t=n?re:t;var r=lo(e,be,re,re,re,re,re,t);return r.placeholder=Ns.placeholder,r}function Cs(e,t,n){t=n?re:t;var r=lo(e,_e,re,re,re,re,re,t);return r.placeholder=Cs.placeholder,r}function Ts(e,t,n){function r(t){var n=h,r=p;return h=p=re,y=t,g=e.apply(r,n)}function i(e){return y=e,m=Td(s,t),b?r(e):g}function o(e){var n=e-v,r=e-y,i=t-n;return _?qc(i,f-r):i}function a(e){var n=e-v,r=e-y;return v===re||n>=t||n<0||_&&r>=f}function s(){var e=ih();return a(e)?l(e):void(m=Td(s,o(e)))}function l(e){return m=re,w&&h?r(e):(h=p=re,g)}function u(){m!==re&&wd(m),y=0,h=v=p=m=re}function c(){return m===re?g:l(ih())}function d(){var e=ih(),n=a(e);if(h=arguments,p=this,v=e,n){if(m===re)return i(v);if(_)return m=Td(s,t),r(v)}return m===re&&(m=Td(s,t)),g}var h,p,f,g,m,v,y=0,b=!1,_=!1,w=!0;if("function"!=typeof e)throw new cc(se);return t=El(t)||0,il(n)&&(b=!!n.leading,_="maxWait"in n,f=_?Yc(El(n.maxWait)||0,t):f,w="trailing"in n?!!n.trailing:w),d.cancel=u,d.flush=c,d}function Is(e){return lo(e,je)}function Ss(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new cc(se);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ss.Cache||un),n}function Ms(e){if("function"!=typeof e)throw new cc(se);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ds(e){return As(2,e)}function Os(e,t){if("function"!=typeof e)throw new cc(se);return t=t===re?t:xl(t),ri(e,t)}function Ps(e,t){if("function"!=typeof e)throw new cc(se);return t=null==t?0:Yc(xl(t),0),ri(function(n){var r=n[t],i=ji(n,0,t);return r&&f(i,r),o(e,this,i)})}function Ls(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new cc(se);return il(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ts(e,t,{leading:r,maxWait:t,trailing:i})}function Rs(e){return js(e,1)}function Bs(e,t){return ch(ki(t),e)}function zs(){if(!arguments.length)return[];var e=arguments[0];return mh(e)?e:[e]}function Vs(e){return Rn(e,pe)}function Us(e,t){return t="function"==typeof t?t:re,Rn(e,pe,t)}function Fs(e){return Rn(e,de|pe)}function Hs(e,t){return t="function"==typeof t?t:re,Rn(e,de|pe,t)}function Ws(e,t){return null==t||zn(e,t,Vl(t))}function Ys(e,t){return e===t||e!==e&&t!==t}function qs(e){return null!=e&&rl(e.length)&&!tl(e)}function Gs(e){return ol(e)&&qs(e)}function Qs(e){return e===!0||e===!1||ol(e)&&sr(e)==We}function Xs(e){return ol(e)&&1===e.nodeType&&!pl(e)}function Ks(e){if(null==e)return!0;if(qs(e)&&(mh(e)||"string"==typeof e||"function"==typeof e.splice||yh(e)||kh(e)||gh(e)))return!e.length;var t=Ad(e);if(t==Ke||t==rt)return!e.size;if(Vo(e))return!zr(e).length;for(var n in e)if(mc.call(e,n))return!1;return!0}function Js(e,t){return Ir(e,t)}function Zs(e,t,n){n="function"==typeof n?n:re;var r=n?n(e,t):re;return r===re?Ir(e,t,re,n):!!r}function $s(e){if(!ol(e))return!1;var t=sr(e);return t==Ge||t==qe||"string"==typeof e.message&&"string"==typeof e.name&&!pl(e)}function el(e){return"number"==typeof e&&Fc(e)}function tl(e){if(!il(e))return!1;var t=sr(e);return t==Qe||t==Xe||t==He||t==tt}function nl(e){return"number"==typeof e&&e==xl(e)}function rl(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Oe}function il(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ol(e){return null!=e&&"object"==typeof e}function al(e,t){return e===t||Dr(e,t,ko(t))}function sl(e,t,n){return n="function"==typeof n?n:re,Dr(e,t,ko(t),n)}function ll(e){return hl(e)&&e!=+e}function ul(e){if(Nd(e))throw new ic(ae);return Or(e)}function cl(e){return null===e}function dl(e){return null==e}function hl(e){return"number"==typeof e||ol(e)&&sr(e)==Je}function pl(e){if(!ol(e)||sr(e)!=$e)return!1;var t=Nc(e);if(null===t)return!0;var n=mc.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&gc.call(n)==_c}function fl(e){return nl(e)&&e>=-Oe&&e<=Oe}function gl(e){return"string"==typeof e||!mh(e)&&ol(e)&&sr(e)==it}function ml(e){return"symbol"==typeof e||ol(e)&&sr(e)==ot}function vl(e){return e===re}function yl(e){return ol(e)&&Ad(e)==st}function bl(e){return ol(e)&&sr(e)==lt}function _l(e){if(!e)return[];if(qs(e))return gl(e)?$(e):Li(e);if(Mc&&e[Mc])return H(e[Mc]());var t=Ad(e),n=t==Ke?W:t==rt?Q:$l;return n(e)}function wl(e){if(!e)return 0===e?e:0;if(e=El(e),e===De||e===-De){var t=e<0?-1:1;return t*Pe}return e===e?e:0}function xl(e){var t=wl(e),n=t%1;return t===t?n?t-n:t:0}function kl(e){return e?Ln(xl(e),0,Re):0}function El(e){if("number"==typeof e)return e;if(ml(e))return Le;if(il(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=il(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Pt,"");var n=qt.test(e);return n||Qt.test(e)?nr(e.slice(2),n?2:8):Yt.test(e)?Le:+e}function jl(e){return Ri(e,Ul(e))}function Al(e){return e?Ln(xl(e),-Oe,Oe):0===e?e:0}function Nl(e){return null==e?"":fi(e)}function Cl(e,t){var n=pd(e);return null==t?n:Mn(n,t)}function Tl(e,t){return _(e,wo(t,3),$n)}function Il(e,t){return _(e,wo(t,3),er)}function Sl(e,t){return null==e?e:md(e,wo(t,3),Ul)}function Ml(e,t){return null==e?e:vd(e,wo(t,3),Ul)}function Dl(e,t){return e&&$n(e,wo(t,3))}function Ol(e,t){return e&&er(e,wo(t,3))}function Pl(e){return null==e?[]:rr(e,Vl(e))}function Ll(e){return null==e?[]:rr(e,Ul(e))}function Rl(e,t,n){var r=null==e?re:ir(e,t);return r===re?n:r}function Bl(e,t){return null!=e&&Co(e,t,cr)}function zl(e,t){return null!=e&&Co(e,t,vr)}function Vl(e){return qs(e)?En(e):zr(e)}function Ul(e){return qs(e)?En(e,!0):Vr(e)}function Fl(e,t){var n={};return t=wo(t,3),$n(e,function(e,r,i){On(n,t(e,r,i),e)}),n}function Hl(e,t){var n={};return t=wo(t,3),$n(e,function(e,r,i){On(n,r,t(e,r,i))}),n}function Wl(e,t){return Yl(e,Ms(wo(t)))}function Yl(e,t){if(null==e)return{};var n=p(yo(e),function(e){return[e]});return t=wo(t),Kr(e,n,function(e,n){return t(e,n[0])})}function ql(e,t,n){t=Ei(t,e);var r=-1,i=t.length;for(i||(i=1,e=re);++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Xc();return qc(e+i*(t-e+tr("1e-"+((i+"").length-1))),t)}return ei(e,t)}function iu(e){return Xh(Nl(e).toLowerCase())}function ou(e){return e=Nl(e),e&&e.replace(Kt,yr).replace(Fn,"")}function au(e,t,n){e=Nl(e),t=fi(t);var r=e.length;n=n===re?r:Ln(xl(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}function su(e){return e=Nl(e),e&&At.test(e)?e.replace(Et,br):e}function lu(e){return e=Nl(e),e&&Ot.test(e)?e.replace(Dt,"\\$&"):e}function uu(e,t,n){e=Nl(e),t=xl(t);var r=t?Z(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return to(zc(i),n)+e+to(Bc(i),n)}function cu(e,t,n){e=Nl(e),t=xl(t);var r=t?Z(e):0;return t&&r>>0)?(e=Nl(e),e&&("string"==typeof t||null!=t&&!wh(t))&&(t=fi(t),!t&&U(e))?ji($(e),0,n):e.split(t,n)):[]}function mu(e,t,n){return e=Nl(e),n=null==n?0:Ln(xl(n),0,e.length),t=fi(t),e.slice(n,n+t.length)==t}function vu(e,n,r){var i=t.templateSettings;r&&Po(e,n,r)&&(n=re),e=Nl(e),n=Ch({},n,i,uo);var o,a,s=Ch({},n.imports,i.imports,uo),l=Vl(s),u=O(s,l),c=0,d=n.interpolate||Jt,h="__p += '",p=lc((n.escape||Jt).source+"|"+d.source+"|"+(d===Tt?Ht:Jt).source+"|"+(n.evaluate||Jt).source+"|$","g"),f="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Qn+"]")+"\n";e.replace(p,function(t,n,r,i,s,l){return r||(r=i),h+=e.slice(c,l).replace(Zt,z),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t}),h+="';\n";var g=n.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(_t,""):h).replace(wt,"$1").replace(xt,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=Kh(function(){return oc(l,f+"return "+h).apply(re,u)});if(m.source=h,$s(m))throw m;return m}function yu(e){return Nl(e).toLowerCase()}function bu(e){return Nl(e).toUpperCase()}function _u(e,t,n){if(e=Nl(e),e&&(n||t===re))return e.replace(Pt,"");if(!e||!(t=fi(t)))return e;var r=$(e),i=$(t),o=L(r,i),a=R(r,i)+1;return ji(r,o,a).join("")}function wu(e,t,n){if(e=Nl(e),e&&(n||t===re))return e.replace(Rt,"");if(!e||!(t=fi(t)))return e;var r=$(e),i=R(r,$(t))+1;return ji(r,0,i).join("")}function xu(e,t,n){if(e=Nl(e),e&&(n||t===re))return e.replace(Lt,"");if(!e||!(t=fi(t)))return e;var r=$(e),i=L(r,$(t));return ji(r,i).join("")}function ku(e,t){var n=Ae,r=Ne;if(il(t)){var i="separator"in t?t.separator:i;n="length"in t?xl(t.length):n,r="omission"in t?fi(t.omission):r}e=Nl(e);var o=e.length;if(U(e)){var a=$(e);o=a.length}if(n>=o)return e;var s=n-Z(r);if(s<1)return r;var l=a?ji(a,0,s).join(""):e.slice(0,s);if(i===re)return l+r;if(a&&(s+=l.length-s),wh(i)){if(e.slice(s).search(i)){var u,c=l;for(i.global||(i=lc(i.source,Nl(Wt.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var d=u.index;l=l.slice(0,d===re?s:d)}}else if(e.indexOf(fi(i),s)!=s){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r}function Eu(e){return e=Nl(e),e&&jt.test(e)?e.replace(kt,_r):e}function ju(e,t,n){return e=Nl(e),t=n?re:t,t===re?F(e)?ne(e):b(e):e.match(t)||[]}function Au(e){var t=null==e?0:e.length,n=wo();return e=t?p(e,function(e){if("function"!=typeof e[1])throw new cc(se);return[n(e[0]),e[1]]}):[],ri(function(n){for(var r=-1;++rOe)return[];var n=Re,r=qc(e,Re);t=wo(t),e-=Re;for(var i=S(r,t);++n1?e[t-1]:re;return n="function"==typeof n?(e.pop(),n):re,Ga(e,n)}),Xd=mo(function(e){var t=e.length,n=t?e[0]:0,o=this.__wrapped__,a=function(t){return Pn(t,e)};return!(t>1||this.__actions__.length)&&o instanceof i&&Oo(n)?(o=o.slice(n,+n+(t?1:0)),o.__actions__.push({func:Za,args:[a],thisArg:re}),new r(o,this.__chain__).thru(function(e){return t&&!e.length&&e.push(re),e})):this.thru(a)}),Kd=Vi(function(e,t,n){mc.call(e,n)?++e[n]:On(e,n,1)}),Jd=Xi(da),Zd=Xi(ha),$d=Vi(function(e,t,n){mc.call(e,n)?e[n].push(t):On(e,n,[t])}),eh=ri(function(e,t,n){var r=-1,i="function"==typeof t,a=qs(e)?nc(e.length):[];return fd(e,function(e){a[++r]=i?o(t,e,n):Ar(e,t,n)}),a}),th=Vi(function(e,t,n){On(e,n,t)}),nh=Vi(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),rh=ri(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Po(e,t[0],t[1])?t=[]:n>2&&Po(t[0],t[1],t[2])&&(t=[t[0]]),Qr(e,Zn(t,1),[])}),ih=Lc||function(){return or.Date.now()},oh=ri(function(e,t,n){var r=me;if(n.length){var i=q(n,_o(oh));r|=we}return lo(e,r,t,n,i)}),ah=ri(function(e,t,n){var r=me|ve;if(n.length){var i=q(n,_o(ah));r|=we}return lo(t,r,e,n,i)}),sh=ri(function(e,t){return Vn(e,1,t)}),lh=ri(function(e,t,n){return Vn(e,El(t)||0,n)});Ss.Cache=un;var uh=_d(function(e,t){t=1==t.length&&mh(t[0])?p(t[0],D(wo())):p(Zn(t,1),D(wo()));var n=t.length;return ri(function(r){for(var i=-1,a=qc(r.length,n);++i=t}),gh=Nr(function(){return arguments}())?Nr:function(e){return ol(e)&&mc.call(e,"callee")&&!Tc.call(e,"callee")},mh=nc.isArray,vh=dr?D(dr):Cr,yh=Uc||Uu,bh=hr?D(hr):Tr,_h=pr?D(pr):Mr,wh=fr?D(fr):Pr,xh=gr?D(gr):Lr,kh=mr?D(mr):Rr,Eh=io(Ur),jh=io(function(e,t){return e<=t}),Ah=Ui(function(e,t){if(Vo(t)||qs(t))return void Ri(t,Vl(t),e);for(var n in t)mc.call(t,n)&&Tn(e,n,t[n])}),Nh=Ui(function(e,t){Ri(t,Ul(t),e)}),Ch=Ui(function(e,t,n,r){Ri(t,Ul(t),e,r)}),Th=Ui(function(e,t,n,r){Ri(t,Vl(t),e,r)}),Ih=mo(Pn),Sh=ri(function(e,t){e=sc(e);var n=-1,r=t.length,i=r>2?t[2]:re;for(i&&Po(t[0],t[1],i)&&(r=1);++n1),t}),Ri(e,yo(e),n),r&&(n=Rn(n,de|he|pe,ho));for(var i=t.length;i--;)mi(n,t[i]);return n}),zh=mo(function(e,t){return null==e?{}:Xr(e,t)}),Vh=so(Vl),Uh=so(Ul),Fh=qi(function(e,t,n){return t=t.toLowerCase(),e+(n?iu(t):t)}),Hh=qi(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Wh=qi(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Yh=Yi("toLowerCase"),qh=qi(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Gh=qi(function(e,t,n){return e+(n?" ":"")+Xh(t)}),Qh=qi(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Xh=Yi("toUpperCase"),Kh=ri(function(e,t){try{return o(e,re,t)}catch(n){return $s(n)?n:new ic(n)}}),Jh=mo(function(e,t){return s(t,function(t){t=$o(t),On(e,t,oh(e[t],e))}),e}),Zh=Ki(),$h=Ki(!0),ep=ri(function(e,t){return function(n){return Ar(n,e,t)}}),tp=ri(function(e,t){return function(n){return Ar(e,n,t)}}),np=eo(p),rp=eo(u),ip=eo(v),op=ro(),ap=ro(!0),sp=$i(function(e,t){return e+t},0),lp=ao("ceil"),up=$i(function(e,t){return e/t},1),cp=ao("floor"),dp=$i(function(e,t){return e*t},1),hp=ao("round"),pp=$i(function(e,t){return e-t},0);return t.after=Es,t.ary=js,t.assign=Ah,t.assignIn=Nh,t.assignInWith=Ch,t.assignWith=Th,t.at=Ih,t.before=As,t.bind=oh,t.bindAll=Jh,t.bindKey=ah,t.castArray=zs,t.chain=Ka,t.chunk=ra,t.compact=ia,t.concat=oa,t.cond=Au,t.conforms=Nu,t.constant=Cu,t.countBy=Kd,t.create=Cl,t.curry=Ns,t.curryRight=Cs,t.debounce=Ts,t.defaults=Sh,t.defaultsDeep=Mh,t.defer=sh,t.delay=lh,t.difference=Md,t.differenceBy=Dd,t.differenceWith=Od,t.drop=aa,t.dropRight=sa,t.dropRightWhile=la,t.dropWhile=ua,t.fill=ca,t.filter=ss,t.flatMap=ls,t.flatMapDeep=us,t.flatMapDepth=cs,t.flatten=pa,t.flattenDeep=fa,t.flattenDepth=ga,t.flip=Is,t.flow=Zh,t.flowRight=$h,t.fromPairs=ma,t.functions=Pl,t.functionsIn=Ll,t.groupBy=$d,t.initial=ba,t.intersection=Pd,t.intersectionBy=Ld,t.intersectionWith=Rd,t.invert=Dh,t.invertBy=Oh,t.invokeMap=eh,t.iteratee=Su,t.keyBy=th,t.keys=Vl,t.keysIn=Ul,t.map=fs,t.mapKeys=Fl,t.mapValues=Hl,t.matches=Mu,t.matchesProperty=Du,t.memoize=Ss,t.merge=Lh,t.mergeWith=Rh,t.method=ep,t.methodOf=tp,t.mixin=Ou,t.negate=Ms,t.nthArg=Ru,t.omit=Bh,t.omitBy=Wl,t.once=Ds,t.orderBy=gs,t.over=np,t.overArgs=uh,t.overEvery=rp,t.overSome=ip,t.partial=ch,t.partialRight=dh,t.partition=nh,t.pick=zh,t.pickBy=Yl,t.property=Bu,t.propertyOf=zu,t.pull=Bd,t.pullAll=Ea,t.pullAllBy=ja,t.pullAllWith=Aa,t.pullAt=zd,t.range=op,t.rangeRight=ap,t.rearg=hh,t.reject=ys,t.remove=Na,t.rest=Os,t.reverse=Ca,t.sampleSize=_s,t.set=Gl,t.setWith=Ql,t.shuffle=ws,t.slice=Ta,t.sortBy=rh,t.sortedUniq=La,t.sortedUniqBy=Ra,t.split=gu,t.spread=Ps,t.tail=Ba,t.take=za,t.takeRight=Va,t.takeRightWhile=Ua,t.takeWhile=Fa,t.tap=Ja,t.throttle=Ls,t.thru=Za,t.toArray=_l,t.toPairs=Vh,t.toPairsIn=Uh,t.toPath=qu,t.toPlainObject=jl,t.transform=Xl,t.unary=Rs,t.union=Vd,t.unionBy=Ud,t.unionWith=Fd,t.uniq=Ha,t.uniqBy=Wa,t.uniqWith=Ya,t.unset=Kl,t.unzip=qa,t.unzipWith=Ga,t.update=Jl,t.updateWith=Zl,t.values=$l,t.valuesIn=eu,t.without=Hd,t.words=ju,t.wrap=Bs,t.xor=Wd,t.xorBy=Yd,t.xorWith=qd,t.zip=Gd,t.zipObject=Qa,t.zipObjectDeep=Xa,t.zipWith=Qd,t.entries=Vh,t.entriesIn=Uh,t.extend=Nh,t.extendWith=Ch,Ou(t,t),t.add=sp,t.attempt=Kh,t.camelCase=Fh,t.capitalize=iu,t.ceil=lp,t.clamp=tu,t.clone=Vs,t.cloneDeep=Fs,t.cloneDeepWith=Hs,t.cloneWith=Us,t.conformsTo=Ws,t.deburr=ou,t.defaultTo=Tu,t.divide=up,t.endsWith=au,t.eq=Ys,t.escape=su,t.escapeRegExp=lu,t.every=as,t.find=Jd,t.findIndex=da,t.findKey=Tl,t.findLast=Zd,t.findLastIndex=ha,t.findLastKey=Il,t.floor=cp,t.forEach=ds,t.forEachRight=hs,t.forIn=Sl,t.forInRight=Ml,t.forOwn=Dl,t.forOwnRight=Ol,t.get=Rl,t.gt=ph,t.gte=fh,t.has=Bl,t.hasIn=zl,t.head=va,t.identity=Iu,t.includes=ps,t.indexOf=ya,t.inRange=nu,t.invoke=Ph,t.isArguments=gh,t.isArray=mh,t.isArrayBuffer=vh,t.isArrayLike=qs,t.isArrayLikeObject=Gs,t.isBoolean=Qs,t.isBuffer=yh,t.isDate=bh,t.isElement=Xs,t.isEmpty=Ks,t.isEqual=Js,t.isEqualWith=Zs,t.isError=$s,t.isFinite=el,t.isFunction=tl,t.isInteger=nl,t.isLength=rl,t.isMap=_h,t.isMatch=al,t.isMatchWith=sl,t.isNaN=ll,t.isNative=ul,t.isNil=dl,t.isNull=cl,t.isNumber=hl,t.isObject=il,t.isObjectLike=ol,t.isPlainObject=pl,t.isRegExp=wh,t.isSafeInteger=fl,t.isSet=xh,t.isString=gl,t.isSymbol=ml,t.isTypedArray=kh,t.isUndefined=vl,t.isWeakMap=yl, +t.isWeakSet=bl,t.join=_a,t.kebabCase=Hh,t.last=wa,t.lastIndexOf=xa,t.lowerCase=Wh,t.lowerFirst=Yh,t.lt=Eh,t.lte=jh,t.max=Qu,t.maxBy=Xu,t.mean=Ku,t.meanBy=Ju,t.min=Zu,t.minBy=$u,t.stubArray=Vu,t.stubFalse=Uu,t.stubObject=Fu,t.stubString=Hu,t.stubTrue=Wu,t.multiply=dp,t.nth=ka,t.noConflict=Pu,t.noop=Lu,t.now=ih,t.pad=uu,t.padEnd=cu,t.padStart=du,t.parseInt=hu,t.random=ru,t.reduce=ms,t.reduceRight=vs,t.repeat=pu,t.replace=fu,t.result=ql,t.round=hp,t.runInContext=kr,t.sample=bs,t.size=xs,t.snakeCase=qh,t.some=ks,t.sortedIndex=Ia,t.sortedIndexBy=Sa,t.sortedIndexOf=Ma,t.sortedLastIndex=Da,t.sortedLastIndexBy=Oa,t.sortedLastIndexOf=Pa,t.startCase=Gh,t.startsWith=mu,t.subtract=pp,t.sum=ec,t.sumBy=tc,t.template=vu,t.times=Yu,t.toFinite=wl,t.toInteger=xl,t.toLength=kl,t.toLower=yu,t.toNumber=El,t.toSafeInteger=Al,t.toString=Nl,t.toUpper=bu,t.trim=_u,t.trimEnd=wu,t.trimStart=xu,t.truncate=ku,t.unescape=Eu,t.uniqueId=Gu,t.upperCase=Qh,t.upperFirst=Xh,t.each=ds,t.eachRight=hs,t.first=va,Ou(t,function(){var e={};return $n(t,function(n,r){mc.call(t.prototype,r)||(e[r]=n)}),e}(),{chain:!1}),t.VERSION=ie,s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){t[e].placeholder=t}),s(["drop","take"],function(e,t){i.prototype[e]=function(n){n=n===re?1:Yc(xl(n),0);var r=this.__filtered__&&!t?new i(this):this.clone();return r.__filtered__?r.__takeCount__=qc(n,r.__takeCount__):r.__views__.push({size:qc(n,Re),type:e+(r.__dir__<0?"Right":"")}),r},i.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),s(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Ie||n==Me;i.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:wo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),s(["head","last"],function(e,t){var n="take"+(t?"Right":"");i.prototype[e]=function(){return this[n](1).value()[0]}}),s(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");i.prototype[e]=function(){return this.__filtered__?new i(this):this[n](1)}}),i.prototype.compact=function(){return this.filter(Iu)},i.prototype.find=function(e){return this.filter(e).head()},i.prototype.findLast=function(e){return this.reverse().find(e)},i.prototype.invokeMap=ri(function(e,t){return"function"==typeof e?new i(this):this.map(function(n){return Ar(n,e,t)})}),i.prototype.reject=function(e){return this.filter(Ms(wo(e)))},i.prototype.slice=function(e,t){e=xl(e);var n=this;return n.__filtered__&&(e>0||t<0)?new i(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==re&&(t=xl(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},i.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},i.prototype.toArray=function(){return this.take(Re)},$n(i.prototype,function(e,n){var o=/^(?:filter|find|map|reject)|While$/.test(n),a=/^(?:head|last)$/.test(n),s=t[a?"take"+("last"==n?"Right":""):n],l=a||/^find/.test(n);s&&(t.prototype[n]=function(){var n=this.__wrapped__,u=a?[1]:arguments,c=n instanceof i,d=u[0],h=c||mh(n),p=function(e){var n=s.apply(t,f([e],u));return a&&g?n[0]:n};h&&o&&"function"==typeof d&&1!=d.length&&(c=h=!1);var g=this.__chain__,m=!!this.__actions__.length,v=l&&!g,y=c&&!m;if(!l&&h){n=y?n:new i(this);var b=e.apply(n,u);return b.__actions__.push({func:Za,args:[p],thisArg:re}),new r(b,g)}return v&&y?e.apply(this,u):(b=this.thru(p),v?a?b.value()[0]:b.value():b)})}),s(["pop","push","shift","sort","splice","unshift"],function(e){var n=dc[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var t=this.value();return n.apply(mh(t)?t:[],e)}return this[r](function(t){return n.apply(mh(t)?t:[],e)})}}),$n(i.prototype,function(e,n){var r=t[n];if(r){var i=r.name+"",o=id[i]||(id[i]=[]);o.push({name:n,func:r})}}),id[Ji(re,ve).name]=[{name:"wrapper",func:re}],i.prototype.clone=y,i.prototype.reverse=N,i.prototype.value=K,t.prototype.at=Xd,t.prototype.chain=$a,t.prototype.commit=es,t.prototype.next=ts,t.prototype.plant=rs,t.prototype.reverse=is,t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=os,t.prototype.first=t.prototype.head,Mc&&(t.prototype[Mc]=ns),t},xr=wr();or._=xr,r=function(){return xr}.call(t,n,t,i),!(r!==re&&(i.exports=r))}).call(this)}).call(t,function(){return this}(),n(90)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTypeStyleBundle=[function(e){return e.indexOf("http://www.w3.org/2002/07/owl#Class")!==-1||e.indexOf("http://www.w3.org/2000/01/rdf-schema#Class")!==-1?{color:"#eaac77",icon:"ontodia-class-icon"}:e.indexOf("http://www.w3.org/2002/07/owl#ObjectProperty")!==-1?{color:"#34c7f3",icon:"ontodia-object-property-icon"}:e.indexOf("http://www.w3.org/2002/07/owl#DatatypeProperty")!==-1?{color:"#34c7f3",icon:"ontodia-datatype-property-icon"}:e.indexOf("http://xmlns.com/foaf/0.1/Person")!==-1||e.indexOf("http://www.wikidata.org/entity/Q5")!==-1?{color:"#eb7777",icon:"ontodia-person-icon"}:e.indexOf("http://www.wikidata.org/entity/Q6256")!==-1?{color:"#77ca98",icon:"ontodia-country-icon"}:e.indexOf("http://schema.org/Organization")!==-1||e.indexOf("http://dbpedia.org/ontology/Organisation")!==-1||e.indexOf("http://xmlns.com/foaf/0.1/Organization")!==-1||e.indexOf("http://www.wikidata.org/entity/Q43229")!==-1?{color:"#77ca98",icon:"ontodia-organization-icon"}:e.indexOf("http://www.wikidata.org/entity/Q618123")!==-1?{color:"#bebc71",icon:"ontodia-location-icon"}:e.indexOf("http://www.wikidata.org/entity/Q1190554")!==-1?{color:"#b4b1fb",icon:"ontodia-event-icon"}:e.indexOf("http://www.wikidata.org/entity/Q488383")!==-1?{color:"#53ccb2",icon:"ontodia-object-icon"}:void 0}]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={markerTarget:{fill:"#f8a485",stroke:"#cf8e76"},renderLink:function(){return{connection:{stroke:"#f8a485","stroke-width":2}}}},r={markerTarget:{fill:"#34c7f3",stroke:"#38b5db"},renderLink:function(){return{connection:{stroke:"#34c7f3","stroke-width":2}}}},i={markerTarget:{fill:"#34c7f3",stroke:"#38b5db"},renderLink:function(){return{connection:{stroke:"#34c7f3","stroke-width":2}}}},o={markerTarget:{fill:"#8cd965",stroke:"#5b9a3b"},renderLink:function(){return{connection:{stroke:"#8cd965","stroke-width":2}}}};t.DefaultLinkTemplateBundle=[function(e){return"http://www.w3.org/2000/01/rdf-schema#subClassOf"===e?n:"http://www.w3.org/2000/01/rdf-schema#domain"===e?r:"http://www.w3.org/2000/01/rdf-schema#range"===e?i:"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"===e?o:void 0}]},function(e,t,n){"use strict";function r(e,t){if(t){t=t.toLowerCase();var n=e.toLowerCase().indexOf(t),r=n+t.length,i="",a="",s="";return 0===n?a=e.substring(0,r):(i=e.substring(0,n),a=e.substring(n,r)),r<=e.length&&(s=e.substring(r,e.length)),o.createElement("span",null,i,o.createElement("span",{style:{color:"darkred",fontWeight:"bold"}},a),s)}return o.createElement("span",null,e)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(41),o=n(42),a=n(84),s=n(78),l=n(81),u=n(94),c=n(79),d=40,h=100,p=new s.FatLinkType({id:"allRelatedElements",label:[{lang:"",text:"All"}]}),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=new c.EventObserver,t.linkTypesListener=new c.EventObserver,t.updateAll=function(){return t.forceUpdate()},t.addSelectedElements=function(e){var n=t.props,r=n.view,i=n.target,o=n.onClose,s=r.model.history.startBatch(),c=Math.round(Math.sqrt(e.length))+1,d=100,h=l.boundsOf(i),f=h.x,g=h.y,m=f-c*d/2,v=g-c*d/2,y=0,b=0,_=[];e.forEach(function(e){var t=r.model.createElement(e.model);_.push(t.iri),y>c&&(y=0,b++),y===Math.round(c/2)&&y++,b===Math.round(c/2)&&b++,t.setPosition({x:m+y++*d,y:v+b*d})});var w=t.linkDataChunk?t.linkDataChunk.link:void 0,x=t.linkDataChunk&&w!==p;x&&!w.visible&&s.history.execute(a.changeLinkTypeVisibility({linkType:w,visible:!0,showLabel:!0,preventLoading:!0})),s.history.execute(u.restoreLinksBetweenElements(r.model,_)),s.store(),o()},t.onExpandLink=function(e){var n=t.objects&&t.linkDataChunk&&t.linkDataChunk.link===e.link&&t.linkDataChunk.direction===e.direction;n||t.loadObjects(e),t.updateAll()},t.onMoveToFilter=function(e){var n=t.props,r=n.view,i=n.target,o=e.link,a=e.direction;if(o===p)i.addToFilter();else{var s=r.model.getElement(i.id);s.addToFilter(o,a)}},t}return i.__extends(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.view,n=e.target;this.handler.listen(n.events,"changePosition",this.updateAll),this.handler.listen(n.events,"changeSize",this.updateAll),this.handler.listen(t.events,"changeLanguage",this.updateAll),this.loadLinks()},t.prototype.componentWillUnmount=function(){this.handler.stopListening(),this.linkTypesListener.stopListening()},t.prototype.resubscribeOnLinkTypeEvents=function(e){this.linkTypesListener.stopListening();for(var t=0,n=e;t=0}}),t.updateAll()})["catch"](function(e){console.error(e),t.loadingState="error",t.updateAll()})},t.prototype.render=function(){var e={links:this.links||[],countMap:this.countMap||{}},t=null;this.linkDataChunk&&this.objects&&(t={linkDataChunk:this.linkDataChunk,objects:this.objects});var n=this.props,r=n.paperArea,i=n.view,a=n.target,s=n.suggestProperties;return o.createElement(g,{target:a,paperArea:r,connectionsData:e,objectsData:t,state:this.loadingState,lang:i.getLanguage(),onExpandLink:this.onExpandLink,onPressAddSelected:this.addSelectedElements,onMoveToFilter:this.onMoveToFilter,propertySuggestionCall:s})},t}(o.Component);t.ConnectionsMenu=f;var g=function(e){function t(t){var n=e.call(this,t)||this;return n.onChangeFilter=function(e){n.state.filterKey=e.currentTarget.value,n.setState(n.state)},n.getTitle=function(){return n.props.objectsData&&"objects"===n.state.panel?"Objects":n.props.connectionsData&&"connections"===n.state.panel?"Connections":"Error"},n.onExpandLink=function(e){n.setState({filterKey:"",panel:"objects"}),n.props.onExpandLink(e)},n.onCollapseLink=function(){n.setState({filterKey:"",panel:"connections"})},n.getBreadCrumbs=function(){if(n.props.objectsData&&"objects"===n.state.panel){var e=n.props.objectsData.linkDataChunk.link,t=u.formatLocalizedLabel(e.id,e.label,n.props.lang).toLowerCase();return o.createElement("span",{className:"ontodia-connections-menu_bread-crumbs"},o.createElement("a",{className:"ontodia-connections-menu__link",onClick:n.onCollapseLink},"Connections")," / ",t+" ("+n.props.objectsData.linkDataChunk.direction+")")}return null},n.getBody=function(){return"error"===n.props.state?o.createElement("label",{className:"ontodia-label ontodia-connections-menu__error"},"Error"):n.props.objectsData&&"objects"===n.state.panel?o.createElement(y,{data:n.props.objectsData,onMoveToFilter:n.props.onMoveToFilter,lang:n.props.lang,filterKey:n.state.filterKey,loading:"loading"===n.props.state,onPressAddSelected:n.props.onPressAddSelected}):n.props.connectionsData&&"connections"===n.state.panel?"loading"===n.props.state?o.createElement("label",{className:"ontodia-label ontodia-connections-menu__loading"},"Loading..."):o.createElement(m,{id:n.props.target.id,data:n.props.connectionsData,lang:n.props.lang,filterKey:n.state.filterKey,onExpandLink:n.onExpandLink,onMoveToFilter:n.props.onMoveToFilter,propertySuggestionCall:n.props.propertySuggestionCall,sortMode:n.state.sortMode}):o.createElement("div",null)},n.onSortChange=function(e){var t=e.target.value;n.state.sortMode!==t&&n.setState({sortMode:t})},n.renderSortSwitch=function(e,t,r){return o.createElement("div",null,o.createElement("input",{type:"radio",name:"sort",id:e,value:e,className:"ontodia-connections-menu__sort-switch",onChange:n.onSortChange,checked:n.state.sortMode===e}),o.createElement("label",{htmlFor:e,className:"ontodia-connections-menu__sort-switch-label",title:r},o.createElement("i",{className:"fa "+t})))},n.renderSortSwitches=function(){return"connections"===n.state.panel&&n.props.propertySuggestionCall?o.createElement("div",{className:"ontodia-connections-menu_search-line-sort-switches"},n.renderSortSwitch("alphabet","icon-sort-alpha-asc","Sort alphabetically"),n.renderSortSwitch("smart","icon-lightbulb","Smart sort")):null},n.state={filterKey:"",panel:"connections",sortMode:"alphabet"},n}return i.__extends(t,e),t.prototype.render=function(){var e=l.boundsOf(this.props.target),t=this.props.paperArea.paperToScrollablePaneCoords(e.x,e.y),n=(t.x,t.y),r=this.props.paperArea.paperToScrollablePaneCoords(e.x+e.width,e.y+e.height),i=r.x,a=r.y,s={top:(n+a)/2-150,left:i+d,backgroundColor:"white",border:"1px solid black"};return o.createElement("div",{className:"ontodia-connections-menu",style:s},o.createElement("label",{className:"ontodia-label ontodia-connections-menu__title-label"},this.getTitle()),this.getBreadCrumbs(),o.createElement("div",{className:"ontodia-connections-menu_search-line"},o.createElement("input",{type:"text",className:"search-input ontodia-form-control ontodia-connections-menu__search-line-input",value:this.state.filterKey,onChange:this.onChangeFilter,placeholder:"Search for..."}),this.renderSortSwitches()),o.createElement("div",{className:"ontodia-connections-menu__progress-bar ontodia-connections-menu__progress-bar--"+this.props.state},o.createElement("div",{className:"ontodia-progress-bar ontodia-progress-bar-striped active",role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"100",style:{width:"100%"}})),this.getBody())},t}(o.Component),m=function(e){function t(t){var n=e.call(this,t)||this;return n.updateScores=function(e){if(e.propertySuggestionCall&&(e.filterKey||"smart"===e.sortMode)){var t=e.id,r=e.data,i=e.lang,o=e.filterKey,a=o.trim(),s=r.links.map(function(e){return e.id});e.propertySuggestionCall({elementId:t,token:a,properties:s,lang:i}).then(function(e){return n.setState({scores:e})})}},n.compareLinks=function(e,t){var r=u.formatLocalizedLabel(e.id,e.label,n.props.lang).toLowerCase(),i=u.formatLocalizedLabel(t.id,t.label,n.props.lang).toLowerCase();return ri?1:0},n.compareLinksByWeight=function(e,t){var r=u.formatLocalizedLabel(e.id,e.label,n.props.lang).toLowerCase(),i=u.formatLocalizedLabel(t.id,t.label,n.props.lang).toLowerCase(),o=n.state.scores[e.id]?n.state.scores[e.id].score:0,a=n.state.scores[t.id]?n.state.scores[t.id].score:0;return o>a?-1:o0||e)}).sort(n.compareLinksByWeight)},n.getViews=function(e,t){for(var r=n.props.data.countMap||{},i=[],a=function(e){["in","out"].forEach(function(a){var s=0;if("in"===a?s=r[e.id].inCount:"out"===a&&(s=r[e.id].outCount),0!==s){var l=t?"-probable":"";i.push(o.createElement(v,{key:a+"-"+e.id+"-"+l,link:e,onExpandLink:n.props.onExpandLink,lang:n.props.lang,count:s,direction:a,filterKey:t?"":n.props.filterKey,onMoveToFilter:n.props.onMoveToFilter,probability:n.state.scores[e.id]&&t?n.state.scores[e.id].score:0}))}})},s=0,l=e;s1||t&&a.length>1){var s=this.props.data.countMap||{},l=s[p.id];e=[o.createElement(v,{key:p.id,link:p,onExpandLink:this.props.onExpandLink,lang:this.props.lang,count:l.inCount+l.outCount,onMoveToFilter:this.props.onMoveToFilter}),o.createElement("hr",{key:"ontodia-hr-line",className:"ontodia-connections-menu_links-list__hr"})].concat(e)}var u=null;return 0!==a.length&&(u=[t?null:o.createElement("li",{key:"probable-links"},o.createElement("span",{className:"ontodia-label"},"Probably, you're looking for..")),a]),o.createElement("ul",{className:"ontodia-connections-menu_links-list "+(0===i.length&&0===a.length?"ocm_links-list-empty":"")},e,u)},t}(o.Component),v=function(e){function t(t){var n=e.call(this,t)||this;return n.onExpandLink=function(e,t){n.props.onExpandLink({link:n.props.link,direction:t,expectedCount:e})},n.onMoveToFilter=function(e){e.stopPropagation(),n.props.onMoveToFilter({link:n.props.link,direction:n.props.direction,expectedCount:n.props.count})},n}return i.__extends(t,e),t.prototype.render=function(){var e=this,t=(this.props.link,u.formatLocalizedLabel(this.props.link.id,this.props.link.label,this.props.lang)),n=Math.round(100*this.props.probability),i=r(t+(n>0?" ("+n+"%)":""),this.props.filterKey),a="in"===this.props.direction?"source":"out"===this.props.direction?"target":"all connected",s="Navigate to "+a+' "'+t+'" elements';return o.createElement("li",{"data-linkTypeId":this.props.link.id,className:"link-in-popup-menu",title:s,onClick:function(){return e.onExpandLink(e.props.count,e.props.direction)}},"in"===this.props.direction||"out"===this.props.direction?o.createElement("div",{className:"link-in-popup-menu_direction"},"in"===this.props.direction&&o.createElement("div",{className:"link-in-popup-menu_direction__in-direction"}),"out"===this.props.direction&&o.createElement("div",{className:"link-in-popup-menu_direction__out-direction"})):null,o.createElement("div",{className:"link-in-popup-menu__link-title"},i),o.createElement("span",{className:"ontodia-badge link-in-popup-menu__count"},this.props.count<=h?this.props.count:"100+"),o.createElement("a",{className:"filter-button",onClick:this.onMoveToFilter,title:"Set as filter in the Instances panel"},o.createElement("img",null)),o.createElement("div",{className:"link-in-popup-menu__navigate-button",title:s}))},t}(o.Component),y=function(e){function t(t){var n=e.call(this,t)||this;return n.updateCheckMap=function(){n.props.data.objects.forEach(function(e){void 0===n.state.checkMap[e.model.id]&&(n.state.checkMap[e.model.id]=!0)})},n.onCheckboxChanged=function(e,t){if(n.state.checkMap[e.model.id]!==t){n.state.checkMap[e.model.id]=t;var r=n.getFilteredObjects().map(function(e){return e.model.id}),i=Object.keys(n.state.checkMap).filter(function(e){return r.indexOf(e)!==-1}),o=i.filter(function(e){return!n.state.checkMap[e]}).length;t||o!==i.length?0===o?n.state.selectAll="checked":n.state.selectAll="undefined":n.state.selectAll="unchecked",n.setState(n.state)}},n.onSelectAll=function(){var e=!n.selectAllValue();e?n.state.selectAll="checked":n.state.selectAll="unchecked";var t=n.getFilteredObjects().filter(function(e){return!e.presentOnDiagram}).map(function(e){return e.model.id}),r=Object.keys(n.state.checkMap).filter(function(e){return t.indexOf(e)!==-1});r.forEach(function(t){n.state.checkMap[t]=e}),n.setState(n.state)},n.selectAllValue=function(){return"undefined"===n.state.selectAll||"checked"===n.state.selectAll},n.getFilteredObjects=function(){return n.props.data.objects.filter(function(e){var t=(e.model.label,u.formatLocalizedLabel(e.model.id,e.model.label.values,n.props.lang));return!n.props.filterKey||t&&t.indexOf(n.props.filterKey.toLowerCase())!==-1})},n.getObjects=function(e){var t={};return e.filter(function(e){return!t[e.model.id]&&(t[e.model.id]=!0,!0)}).map(function(e){return o.createElement(b,{key:e.model.id,element:e,lang:n.props.lang,filterKey:n.props.filterKey,checked:n.state.checkMap[e.model.id],onCheckboxChanged:n.onCheckboxChanged})})},n.addSelected=function(){n.props.onPressAddSelected(n.getFilteredObjects().filter(function(e){return n.state.checkMap[e.model.id]&&!e.presentOnDiagram}))},n.counter=function(e){var t=e+" of "+n.props.data.objects.length,r=Math.min(h,n.props.data.linkDataChunk.expectedCount)-n.props.data.objects.length,i=Math.abs(r)>h?h+"+":Math.abs(r).toString(),a=0===r?"":r<0?" ("+i+")":" ("+i+")",s=0===r?"":r>0?"Unavailable nodes":"Extra nodes";return o.createElement("div",{className:"ontodia-label ontodia-connections-menu_objects-panel_bottom-panel__count-label"},o.createElement("span",null,t),o.createElement("span",{className:"ontodia-connections-menu_objects-panel_bottom-panel__extra-elements",title:s},a))},n.state={checkMap:{},selectAll:"checked"},n.updateCheckMap(),n}return i.__extends(t,e),t.prototype.render=function(){var e=this;this.updateCheckMap();var t=this.getFilteredObjects(),n=this.getObjects(t),r=t.filter(function(t){return e.state.checkMap[t.model.id]&&!t.presentOnDiagram}).length;return o.createElement("div",{className:"ontodia-connections-menu_objects-panel"},o.createElement("div",{className:"ontodia-connections-menu_objects-panel__select-all",onClick:this.onSelectAll},o.createElement("input",{className:"undefined"===this.state.selectAll?"undefined":"",type:"checkbox",checked:this.selectAllValue(),onChange:function(){},disabled:0===this.props.data.objects.length}),o.createElement("span",null,"Select All")),this.props.loading?o.createElement("label",{className:"ontodia-label ontodia-connections-menu__loading-objects"},"Loading..."):0===n.length?o.createElement("label",{className:"ontodia-label ontodia-connections-menu__loading-objects"},"No available nodes"):o.createElement("div",{className:"ontodia-connections-menu_objects-panel_objects-list"},n,this.props.data.linkDataChunk.expectedCount>h?o.createElement("div",{className:"element-in-popup-menu move-to-filter-line",onClick:function(){return e.props.onMoveToFilter(e.props.data.linkDataChunk)}},"The list was truncated, for more data click here to use the filter panel."):""),o.createElement("div",{className:"ontodia-connections-menu_objects-panel_bottom-panel"},this.counter(r),o.createElement("button",{className:"ontodia-btn ontodia-btn-primary pull-right ontodia-connections-menu_objects-panel_bottom-panel__add-button",disabled:this.props.loading||0===r,onClick:this.addSelected},"Add selected")))},t}(o.Component),b=function(e){function t(t){var n=e.call(this,t)||this;return n.onCheckboxChange=function(){n.props.element.presentOnDiagram||(n.state.checked=!n.state.checked,n.setState(n.state),n.props.onCheckboxChanged(n.props.element,n.state.checked))},n.state={checked:n.props.checked},n}return i.__extends(t,e),t.prototype.componentWillReceiveProps=function(e){this.setState({checked:e.checked})},t.prototype.render=function(){var e=this.props.element.model,t=u.formatLocalizedLabel(e.id,e.label.values,this.props.lang),n=r(t,this.props.filterKey);return o.createElement("li",{"data-linkTypeId":e.id,className:"element-in-popup-menu"+(this.state.checked?"":" unchecked"),onClick:this.onCheckboxChange},o.createElement("input",{type:"checkbox",checked:this.state.checked,onChange:function(){},className:"element-in-popup-menu__checkbox",disabled:this.props.element.presentOnDiagram}),o.createElement("div",{className:"element-in-popup-menu__link-label",title:this.props.element.presentOnDiagram?"Element '"+t+"' already present on diagram!":t,style:{fontStyle:this.props.element.presentOnDiagram?"italic":"inherit"}},n))},t}(o.Component)},function(e,t,n){"use strict";function r(e,t,n){return v.Command.create("Add element",function(){e.addElement(t);for(var r=0,o=n;r0?l(t,n).text:s(e)}Object.defineProperty(t,"__esModule",{value:!0});var c=n(41),d=n(95),h=n(83),p=n(79),f=n(96),g=n(78),m=n(97),v=n(85),y=function(){function e(e){var t=this;this.history=e,this.source=new p.EventSource,this.events=this.source,this.graph=new m.Graph,this.graphListener=new p.EventObserver,this.linkSettings={},this.classTree=[],this.onLinkTypeVisibilityChanged=function(e){if(e.source.visible)e.preventLoading||t.requestLinksOfType([e.source.id]);else for(var n=0,r=t.linksOfType(e.source.id);n0)return i[0];var o="string"==typeof e?a(n):e;o=c.__assign({},o,{id:o.id});var s=new g.Element({id:"element_"+d.generate64BitID(),data:o,group:t});return this.history.execute(r(this.graph,s,[])),s},e.prototype.removeElement=function(e){var t=this.getElement(e);t&&this.history.execute(i(this.graph,t))},e.prototype.createLinkType=function(e){var t=this,n=this.graph.getLinkType(e);if(n)return n;var r=new g.FatLinkType({id:e,label:[{text:s(e),lang:""}]}),i=this.linkSettings[r.id];if(i){var o=i.visible,a=i.showLabel;r.setVisibility({visible:o,showLabel:a,preventLoading:!0})}return this.graph.addLinkType(r),this.linkFetching.push(e).then(function(e){0!==e.length&&t.dataProvider.linkTypesInfo({linkTypeIds:e}).then(function(e){for(var n=0,r=e;n>>0}Object.defineProperty(t,"__esModule",{value:!0}),t.generate64BitID=n,t.hashFnv32a=r},function(e,t,n){"use strict";function r(e){var t=o.pick(e,a);return"Ontodia.Element"===t.type&&(t.type="element"),t.iri||(t.iri=t.id),t}function i(e,t){var n=e.map(function(e){return{type:"element",id:e.id,iri:e.iri,position:e.position,size:e.size,isExpanded:e.isExpanded,group:e.group}}),r=t.map(function(e){return{type:"link",id:e.id,typeId:e.typeId,source:{id:e.sourceId},target:{id:e.targetId},vertices:e.vertices.slice()}}),i=n.concat(r);return{cells:i}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(89),a=["id","type","size","angle","isExpanded","position","iri","group","typeId","source","target","vertices"];t.normalizeImportedCell=r,t.exportLayoutData=i},function(e,t,n){"use strict";function r(e,t){if(e)for(;;){var n=i(e,t);if(n<0)break;e.splice(n,1)}}function i(e,t){for(var n=t.sourceId,r=t.targetId,i=t.linkTypeId,o=0;o=0?t.links[n]:void 0}},e.prototype.sourceOf=function(e){return this.getElement(e.sourceId)},e.prototype.targetOf=function(e){return this.getElement(e.targetId)},e.prototype.getElement=function(e){return this.elements.get(e)},e.prototype.addElement=function(e){if(this.getElement(e.id))throw new Error("Link type '"+e.id+"' already exists.");e.events.onAny(this.onElementEvent),this.elements.push(e.id,e),this.source.trigger("changeCells",{source:this})},e.prototype.removeElement=function(e){var t=this.elements.get(e);if(t){for(var n={silent:!0},r=0,i=t.links.slice();r=1&&Math.abs(s)>=1&&(i.movingState.pointerMoved=!0),"undefined"==typeof r)o&&(i.area.scrollLeft=i.panningScrollOrigin.scrollLeft-a,i.area.scrollTop=i.panningScrollOrigin.scrollTop-s),i.source.trigger("pointerMove",{source:i,sourceEvent:e,target:r,panning:o});else if(r instanceof p.Element){var l=i.pageToPaperCoords(e.pageX,e.pageY),u=l.x,c=l.y,d=i.movingElementOrigin,h=d.pointerX,f=d.pointerY,g=d.elementX,m=d.elementY;r.setPosition({x:g+u-h,y:m+c-f}),i.source.trigger("pointerMove",{source:i,sourceEvent:e,target:r,panning:o}),i.props.view.performSyncUpdate()}else if(r instanceof p.LinkVertex){var v=i.pageToPaperCoords(e.pageX,e.pageY);r.moveTo(v),i.source.trigger("pointerMove",{source:i,sourceEvent:e,target:r,panning:o}),i.props.view.performSyncUpdate()}}},i.stopListeningToPointerMove=function(e){var t=i.movingState;if(i.movingState=void 0,t&&(document.removeEventListener("mousemove",i.onPointerMove),document.removeEventListener("mouseup",i.stopListeningToPointerMove)),e&&t){var n=t.pointerMoved,r=t.target,o=t.batch,a=t.restoreGeometry;i.source.trigger("pointerUp",{source:i,sourceEvent:e,target:r,panning:t.panning,triggerAsClick:!n});var s=a.filterOutUnchanged();s.hasChanges()&&o.history.registerToUndo(s),o.store()}},i.onWheel=function(e){if(e.ctrlKey){e.preventDefault();var t=Math.max(-1,Math.min(1,e.deltaY)),n=i.pageToPaperCoords(e.pageX,e.pageY);i.zoomBy(.1*-t,{pivot:n})}},i.zoomIn=function(){i.zoomBy(i.zoomOptions.step)},i.zoomOut=function(){i.zoomBy(-i.zoomOptions.step)},i.onDragOver=function(e){e.preventDefault&&e.preventDefault(),e.dataTransfer.dropEffect="move";var t=r(i.area,e);t.x,t.y;return!1},i.onDragDrop=function(e){if(i.props.onDragDrop){var t=r(i.area,e),n=t.x,o=t.y,a=i.clientToPaperCoords(n,o);i.props.onDragDrop(e,a)}},i.state={paperWidth:i.pageSize.x,paperHeight:i.pageSize.y,originX:0,originY:0,scale:1,paddingX:0,paddingY:0,renderedWidgets:[]},i}return o.__extends(t,e),Object.defineProperty(t.prototype,"zoomOptions",{get:function(){var e=this.props.zoomOptions||{},t=e.min,n=void 0===t?.2:t,r=e.max,i=void 0===r?2:r,o=e.step,a=void 0===o?.1:o,s=e.maxFit,l=void 0===s?1:s,u=e.fitPadding,c=void 0===u?20:u;return{min:n,max:i,step:a,maxFit:l,fitPadding:c}},enumerable:!0,configurable:!0}),t.prototype.getChildContext=function(){var e={paperArea:this};return{ontodiaPaperArea:e}},t.prototype.render=function(){var e=this,t=this.props.view,n=this.state,r=n.paperWidth,i=n.paperHeight,o=n.originX,s=n.originY,l=n.scale,u=n.paddingX,c=n.paddingY,d=n.renderedWidgets,h={position:"absolute",left:0,top:0,transform:"scale("+l+","+l+")translate("+o+"px,"+s+"px)"};return a.createElement("div",{className:y,ref:function(t){return e.area=t},onMouseDown:this.onAreaPointerDown,onWheel:this.onWheel},a.createElement(v.Paper,{view:t,width:r,height:i,originX:o,originY:s,scale:l,paddingX:u,paddingY:c,onPointerDown:this.onPaperPointerDown},a.createElement(f.ElementLayer,{view:t,scale:l,style:h}),a.createElement("div",{className:y+"__widgets",onMouseDown:this.onWidgetsMouseDown},d.map(function(t){var n={paperArea:e};return a.cloneElement(t,n)}))))},t.prototype.componentDidMount=function(){var e=this;this.adjustPaper(function(){return e.centerTo()});var t=this.props.view,n=function(){return e.delayedPaperAdjust.call(e.adjustPaper)};this.listener.listen(t.model.events,"changeCells",n),this.listener.listen(t.model.events,"elementEvent",function(e){var t=e.data;(t.changePosition||t.changeSize)&&n()}),this.listener.listen(t.model.events,"linkEvent",function(e){var t=e.data;t.changeVertices&&n()}),this.listener.listen(t.events,"syncUpdate",function(t){var n=t.layer;n===m.RenderingLayer.PaperArea&&e.delayedPaperAdjust.runSynchronously()}),this.listener.listen(t.events,"updateWidgets",function(t){var n=t.widgets;e.updateWidgets(n)}),this.area.addEventListener("dragover",this.onDragOver),this.area.addEventListener("drop",this.onDragDrop),this.listener.listen(t.model.events,"loadingStart",function(){return e.showIndicator()}),this.listener.listen(t.model.events,"loadingError",function(t){var n=t.error;e.updateWidgets((r={},r[w.Key]=void 0,r)),e.renderSpinner({statusText:n.message,errorOccured:!0});var r}),this.listener.listen(t.model.events,"loadingSuccess",function(){e.updateWidgets((n={},n[w.Key]=void 0,n)),t.performSyncUpdate(),e.centerContent();var n})},t.prototype.componentDidUpdate=function(e,t){if(this.scrollBeforeUpdate){var n=this.state,r=n.scale,i=n.originX,o=n.originY,a=n.paddingX,s=n.paddingY,l=(i-t.originX)*r+(a-t.paddingX),u=(o-t.originY)*r+(s-t.paddingY),c=this.scrollBeforeUpdate.left+l,d=this.scrollBeforeUpdate.top+u;this.area.scrollLeft=c,this.area.scrollTop=d,this.scrollBeforeUpdate=void 0}},t.prototype.componentWillUnmount=function(){this.stopListeningToPointerMove(),this.listener.stopListening(),this.area.removeEventListener("dragover",this.onDragOver),this.area.removeEventListener("drop",this.onDragDrop)},t.prototype.updateWidgets=function(e){var t=this;this.widgets=o.__assign({},this.widgets,e);var n=Object.keys(this.widgets).map(function(e){var n=t.widgets[e];return n?a.cloneElement(n,{key:e}):void 0}).filter(function(e){return void 0!==e});this.setState({renderedWidgets:n})},t.prototype.pageToPaperCoords=function(e,t){var n=this.area.getBoundingClientRect(),r=n.left,i=n.top;return this.clientToPaperCoords(e-(r+window.pageXOffset),t-(i+window.pageYOffset))},t.prototype.clientToPaperCoords=function(e,t){var n=this.clientToScrollablePaneCoords(e,t),r=n.x,i=n.y;return this.scrollablePaneToPaperCoords(r,i)},t.prototype.clientToScrollablePaneCoords=function(e,t){var n=this.state,r=n.paddingX,i=n.paddingY,o=e+this.area.scrollLeft-r,a=t+this.area.scrollTop-i;return{x:o,y:a}},t.prototype.scrollablePaneToPaperCoords=function(e,t){var n=this.state,r=n.scale,i=(n.paddingX,n.paddingY,n.originX),o=n.originY,a=e/r-i,s=t/r-o;return{x:a,y:s}},t.prototype.paperToScrollablePaneCoords=function(e,t){var n=this.state,r=n.scale,i=(n.paddingX,n.paddingY,n.originX),o=n.originY,a=(e+i)*r,s=(t+o)*r;return{x:a,y:s}},t.prototype.getContentFittingBox=function(){var e=this.props.view.model,t=e.elements,n=e.links;return i(t,n)},t.prototype.getPaperSize=function(){var e=this.state,t=e.paperWidth,n=e.paperHeight,r=e.scale;return{width:t/r,height:n/r}},t.prototype.computeAdjustedBox=function(){var e=this.getContentFittingBox(),t=e.x,n=e.y,r=e.x+e.width,i=e.y+e.height,o=this.pageSize,a=o.x,s=o.y,l={left:Math.floor(t/a),top:Math.floor(n/s),right:Math.ceil(r/a),bottom:Math.ceil(i/s)},u=-l.left*a,c=-l.top*s,d=Math.max(l.right-l.left,1)*a,h=Math.max(l.bottom-l.top,1)*s;return{paperWidth:d,paperHeight:h,originX:u,originY:c}},t.prototype.shouldStartPanning=function(e){var t=e.ctrlKey||e.shiftKey;return e.button===b&&Boolean(t)===Boolean(this.props.panningRequireModifiers)},t.prototype.startMoving=function(e,t){var n=this.pageToPaperCoords(e.pageX,e.pageY),r=n.x,i=n.y,o=t.position,a=o.x,s=o.y;this.movingElementOrigin={pointerX:r,pointerY:i,elementX:a,elementY:s}},t.prototype.startPanning=function(e){var t=this.area,n=t.scrollLeft,r=t.scrollTop;this.panningScrollOrigin={scrollLeft:n,scrollTop:r},this.clearTextSelectionInArea()},t.prototype.clearTextSelectionInArea=function(){if(document.getSelection){var e=document.getSelection();e.removeAllRanges&&e.removeAllRanges()}},t.prototype.generateLinkVertex=function(e,t){var n=e.vertices,r=n?n.slice():[],i=this.props.view.model,o=g.computePolyline(i.getElement(e.sourceId),i.getElement(e.targetId),r),a=g.findNearestSegmentIndex(o,t);return new p.LinkVertex(e,a)},t.prototype.listenToPointerMove=function(e,t,n,r){if(!this.movingState){var i=void 0===t&&this.shouldStartPanning(e);i&&this.startPanning(e);var o=e.pageX,a=e.pageY;this.movingState={origin:{pageX:o,pageY:a},target:t,panning:i,pointerMoved:!1,batch:n,restoreGeometry:r},document.addEventListener("mousemove",this.onPointerMove),document.addEventListener("mouseup",this.stopListeningToPointerMove),this.source.trigger("pointerDown",{source:this,sourceEvent:e,target:t,panning:i})}},t.prototype.centerTo=function(e){var t=this.state,n=t.paperWidth,r=t.paperHeight,i=t.scale,o=t.originX,a=t.originY,s=t.paddingX,l=t.paddingY,u=e||{x:n/2,y:r/2},c=(u.x+o)*i,d=(u.y+a)*i,h=this.area,p=h.clientWidth,f=h.clientHeight;this.area.scrollLeft=c-p/2+s,this.area.scrollTop=d-f/2+l},t.prototype.centerContent=function(){var e=this.getContentFittingBox();this.centerTo({x:e.x+e.width/2,y:e.y+e.height/2})},t.prototype.getScale=function(){return this.state.scale},t.prototype.setScale=function(e,t){var n=this;void 0===t&&(t={});var r=e,i=this.zoomOptions,o=i.min,a=i.max;r=Math.max(r,o),r=Math.min(r,a);var s,l=this.clientToPaperCoords(this.area.clientWidth/2,this.area.clientHeight/2);if(t.pivot){var u=t.pivot,c=u.x,d=u.y,h=this.state.scale,p=r/h;s={x:c-(c-l.x)/p,y:d-(d-l.y)/p}}else s=l;this.setState({scale:r},function(){n.centerTo(s),n.props.onZoom&&n.props.onZoom(r,r)})},t.prototype.zoomBy=function(e,t){void 0===t&&(t={}),this.setScale(this.getScale()+e,t)},t.prototype.zoomToFit=function(){var e=this;if(0===this.props.view.model.elements.length)return void this.centerTo();var t=this.getContentFittingBox(),n=this.area,r=n.clientWidth,i=n.clientHeight,o=d.fitRectKeepingAspectRatio(t.width,t.height,r,i),a=o.width,s=(o.height,a/t.width),l=this.zoomOptions,u=l.min,c=l.max;s=Math.max(s,u),s=Math.min(s,c),this.setState({scale:s},function(){e.centerContent(),e.props.onZoom&&e.props.onZoom(s,s)})},t.prototype.renderSpinner=function(e){void 0===e&&(e={}),this.updateWidgets((t={},t[w.Key]=a.createElement(w,{spinnerProps:e}),t));var t},t.prototype.showIndicator=function(e){var t=this;this.centerTo(),this.renderSpinner(),e&&e.then(function(){t.updateWidgets((e={},e[w.Key]=void 0,e));var e})["catch"](function(e){console.error(e),t.renderSpinner({statusText:"Unknown error occured",errorOccured:!0})})},t.prototype.makeToSVGOptions=function(){var e=this;return{model:this.props.view.model,paper:this.area.querySelector("svg"),contentBox:this.getContentFittingBox(),getOverlayedElement:function(t){return e.area.querySelector("[data-element-id='"+t+"']")},preserveDimensions:!0,convertImagesToDataUris:!0,elementsToRemoveSelector:".ontodia-link__vertex-tools"}},t.prototype.exportSVG=function(){return d.toSVG(this.makeToSVGOptions())},t.prototype.exportPNG=function(e){return d.toDataURL(o.__assign({},e,this.makeToSVGOptions()))},t}(a.Component);_.childContextTypes=t.PaperAreaContextTypes,t.PaperArea=_;var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.spinnerProps,n=e.paperArea,r=n.getPaperSize(),i=n.paperToScrollablePaneCoords(0,0),s=n.paperToScrollablePaneCoords(r.width,r.height),l=s.x-i.x,u=s.y-i.y,d=t.statusText?l/3:l/2,h={x:d,y:u/2};return a.createElement("svg",{width:l,height:u},a.createElement(c.Spinner,o.__assign({position:h},t)))},t}(a.Component);w.Key="loadingWidget",t.getContentFittingBox=i},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n;!function(e){e.anything=function(){return null}}(n=t.PropTypes||(t.PropTypes={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(41),i=n(42),o="ontodia-spinner",a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.position,n=void 0===t?{x:0,y:0}:t,r=e.size,a=void 0===r?50:r,s=e.statusText,l=e.errorOccured,u=5,c="m3.47,-19.7 a20,20 0 1,1 -6.95,0 m0,0 l-6,5 m6,-5 l-8,-0"+(l?"M-8,-8L8,8M-8,8L8,-8":"");return i.createElement("g",{className:o,"data-error":l,transform:"translate("+n.x+","+n.y+")"},i.createElement("g",{className:o+"__arrow"},i.createElement("path",{d:c,transform:"scale(0.02)scale("+a+")",fill:"none",stroke:l?"red":"black",strokeWidth:"3",strokeLinecap:"round"})),i.createElement("text",{style:{dominantBaseline:"middle"},x:a/2+u},s))},t}(i.Component);t.Spinner=a},function(e,t,n){"use strict";function r(e){return i(e).then(function(e){return(new XMLSerializer).serializeToString(e)})}function i(e){var t=e.contentBox,n=s(e,E),r=n.svgClone,i=n.imageBounds;_.isIE11()&&o(r),e.preserveDimensions?(r.setAttribute("width",t.width.toString()),r.setAttribute("height",t.height.toString())):(r.setAttribute("width","100%"),r.setAttribute("height","100%")),r.setAttribute("viewBox",t.x+" "+t.y+" "+t.width+" "+t.height);var u=[];if(!_.isIE11()){var d=r.querySelectorAll("img");c(d,function(e){return u.push(e)})}var h=Promise.all(u.map(function(t){var n=t.getAttribute("export-key");if(t.removeAttribute("export-key"),n){var r=i[n],o=r.width,a=r.height;return t.setAttribute("width",o.toString()),t.setAttribute("height",a.toString()),e.convertImagesToDataUris?l(t).then(function(e){e&&"data:image/svg+xml,"!==e&&(t.src=e)})["catch"](function(e){console.warn("Failed to export image: "+t.src),console.warn(e)}):Promise.resolve()}return Promise.resolve()}));return h.then(function(){var t=a(function(e){return e.indexOf(".ontodia")>=0}),n=document.createElementNS("http://www.w3.org/2000/svg","defs");return n.innerHTML="",r.insertBefore(n,r.firstChild),e.elementsToRemoveSelector&&c(r.querySelectorAll(e.elementsToRemoveSelector),function(e){return e.remove()}),r})}function o(e){function t(e){return e?_.isIE11()?(e.match(/#(.*?)"/)||[])[1]:(e.match(/#(.*?)\)/)||[])[1]:void 0}var n={},r=e.querySelectorAll("defs");c(r,function(e){c(e.childNodes,function(e){var t=e.getAttribute("id");t&&(n[t]=!0,_.isIE11()&&e instanceof SVGFilterElement&&(n[t]=!1))})});var i=e.querySelectorAll("*");c(i,function(e){var r=t(e.getAttribute("marker-start"));r&&!n[r]&&e.removeAttribute("marker-start");var i=t(e.getAttribute("marker-end"));i&&!n[i]&&e.removeAttribute("marker-end");var o=t(e.getAttribute("filter"));o&&!n[o]&&e.removeAttribute("filter")})}function a(e){for(var t=[],n=0;n0?"data:image/svg+xml,"+encodeURIComponent(e):""})}})}function u(e){var t=new Image;t.crossOrigin="anonymous";var n=new Promise(function(e,n){t.onload=function(){return e(t)},t.onerror=function(e){return n(e.error)}});return t.src=e,n}function c(e,t){for(var n=0;n0){for(var i=0,o=t;i=s&&(o.push(c),c="",u=0),c+=e[d]}return o}function d(e){return{x:f(e.getAttribute("x")),y:f(e.getAttribute("y")),width:f(e.getAttribute("width")),height:f(e.getAttribute("height"))}}function h(e,t){var n=document.createElement("canvas"),r=n.getContext("2d");r.font=t;var i=r.font.split(" ").filter(function(e){return e.indexOf("px")!==-1})[0],o=+i.substring(0,i.length-2),a=r.measureText(e);return{width:a.width,height:o}}function p(e,t){for(var n=0;n0?e.substring(0,e.length-2):e}function m(e,t,n,r,i,o,a,s){var l=[];return l.push("M"+(n/2+e)+","+t),l.push("H"+(e+n-o)),o>0&&l.push("A"+v(o,o,0,0,1,e+n,t+o)),l.push("V"+(t+r-a)),a>0&&l.push("A"+v(a,a,0,0,1,e+n-a,t+r)),l.push("H"+(e+s)),s>0&&l.push("A"+v(s,s,0,0,1,e,t+r-s)),l.push("V"+(t+i)),i>0&&l.push("A"+v(i,i,0,0,1,e+i,t)),l.push("Z"),l.join(" ")}function v(e,t,n,r,i,o,a){return[e,",",t," ",n," ",r,",",i," ",o,",",a].join("")}Object.defineProperty(t,"__esModule",{value:!0});var y=n(89);t.htmlToSvg=r;var b=["px","vh","vw"]},function(e,t,n){var r,o,a;!function(i,s){"use strict";o=[n(105),n(106)],r=s,a="function"==typeof r?r.apply(t,o):r,!(void 0!==a&&(e.exports=a)),i.canvg=s(i.RGBColor,i.stackBlur)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=[0,0,0],n=function(n,r){var i=e.match(n);null!=i&&(t[r]+=i.length,e=e.replace(n," "))};return e=e.replace(/:not\(([^\)]*)\)/g," $1 "),e=e.replace(/{[^]*/gm," "),n(s,1),n(l,0),n(u,1),n(c,2),n(d,1),n(h,1),e=e.replace(/[\*\s\+>~]/g," "),e=e.replace(/[#\.]/g," "),n(p,2),t.join("")}function r(r){var a={opts:r};a.FRAMERATE=30,a.MAX_VIRTUAL_PIXELS=3e4,a.log=function(e){},1==a.opts.log&&"undefined"!=typeof console&&(a.log=function(e){console.log(e)}),a.init=function(e){var t=0;a.UniqueId=function(){return t++,"canvg"+t},a.Definitions={},a.Styles={},a.StylesSpecificity={},a.Animations=[],a.Images=[],a.ctx=e,a.ViewPort=new function(){this.viewPorts=[],this.Clear=function(){this.viewPorts=[]},this.SetCurrent=function(e,t){this.viewPorts.push({width:e,height:t})},this.RemoveCurrent=function(){this.viewPorts.pop()},this.Current=function(){return this.viewPorts[this.viewPorts.length-1]},this.width=function(){return this.Current().width},this.height=function(){return this.Current().height},this.ComputeSize=function(e){return null!=e&&"number"==typeof e?e:"x"==e?this.width():"y"==e?this.height():Math.sqrt(Math.pow(this.width(),2)+Math.pow(this.height(),2))/Math.sqrt(2)}}},a.init(),a.ImagesLoaded=function(){for(var e=0;e]*>/,"");var t=new ActiveXObject("Microsoft.XMLDOM");return t.async="false",t.loadXML(e),t},a.Property=function(e,t){this.name=e,this.value=t},a.Property.prototype.getValue=function(){return this.value},a.Property.prototype.hasValue=function(){return null!=this.value&&""!==this.value},a.Property.prototype.numValue=function(){if(!this.hasValue())return 0;var e=parseFloat(this.value);return(this.value+"").match(/%$/)&&(e/=100),e},a.Property.prototype.valueOrDefault=function(e){return this.hasValue()?this.value:e},a.Property.prototype.numValueOrDefault=function(e){return this.hasValue()?this.numValue():e},a.Property.prototype.addOpacity=function(t){var n=this.value;if(null!=t.value&&""!=t.value&&"string"==typeof this.value){var r=new e(this.value);r.ok&&(n="rgba("+r.r+", "+r.g+", "+r.b+", "+t.numValue()+")")}return new a.Property(this.name,n)},a.Property.prototype.getDefinition=function(){var e=this.value.match(/#([^\)'"]+)/);return e&&(e=e[1]),e||(e=this.value),a.Definitions[e]},a.Property.prototype.isUrlDefinition=function(){return 0==this.value.indexOf("url(")},a.Property.prototype.getFillStyleDefinition=function(e,t){var n=this.getDefinition();if(null!=n&&n.createGradient)return n.createGradient(a.ctx,e,t);if(null!=n&&n.createPattern){if(n.getHrefAttribute().hasValue()){var r=n.attribute("patternTransform");n=n.getHrefAttribute().getDefinition(),r.hasValue()&&(n.attribute("patternTransform",!0).value=r.value)}return n.createPattern(a.ctx,e)}return null},a.Property.prototype.getDPI=function(e){return 96},a.Property.prototype.getEM=function(e){var t=12,n=new a.Property("fontSize",a.Font.Parse(a.ctx.font).fontSize);return n.hasValue()&&(t=n.toPixels(e)),t},a.Property.prototype.getUnits=function(){var e=this.value+"";return e.replace(/[0-9\.\-]/g,"")},a.Property.prototype.toPixels=function(e,t){if(!this.hasValue())return 0;var n=this.value+"";if(n.match(/em$/))return this.numValue()*this.getEM(e);if(n.match(/ex$/))return this.numValue()*this.getEM(e)/2;if(n.match(/px$/))return this.numValue();if(n.match(/pt$/))return this.numValue()*this.getDPI(e)*(1/72);if(n.match(/pc$/))return 15*this.numValue();if(n.match(/cm$/))return this.numValue()*this.getDPI(e)/2.54;if(n.match(/mm$/))return this.numValue()*this.getDPI(e)/25.4;if(n.match(/in$/))return this.numValue()*this.getDPI(e);if(n.match(/%$/))return this.numValue()*a.ViewPort.ComputeSize(e);var r=this.numValue();return t&&r<1?r*a.ViewPort.ComputeSize(e):r},a.Property.prototype.toMilliseconds=function(){if(!this.hasValue())return 0;var e=this.value+"";return e.match(/s$/)?1e3*this.numValue():e.match(/ms$/)?this.numValue():this.numValue()},a.Property.prototype.toRadians=function(){if(!this.hasValue())return 0;var e=this.value+"";return e.match(/deg$/)?this.numValue()*(Math.PI/180):e.match(/grad$/)?this.numValue()*(Math.PI/200):e.match(/rad$/)?this.numValue():this.numValue()*(Math.PI/180)};var s={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};return a.Property.prototype.toTextBaseline=function(){return this.hasValue()?s[this.value]:null},a.Font=new function(){this.Styles="normal|italic|oblique|inherit",this.Variants="normal|small-caps|inherit",this.Weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",this.CreateFont=function(e,t,n,r,i,o){var s=null!=o?this.Parse(o):this.CreateFont("","","","","",a.ctx.font);return{fontFamily:i||s.fontFamily,fontSize:r||s.fontSize,fontStyle:e||s.fontStyle,fontWeight:n||s.fontWeight,fontVariant:t||s.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var e=this;this.Parse=function(t){for(var n={},r=a.trim(a.compressSpaces(t||"")).split(" "),i={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},o="",s=0;sthis.x2&&(this.x2=e)),null!=t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),tthis.y2&&(this.y2=t))},this.addX=function(e){this.addPoint(e,null)},this.addY=function(e){this.addPoint(null,e)},this.addBoundingBox=function(e){this.addPoint(e.x1,e.y1),this.addPoint(e.x2,e.y2)},this.addQuadraticCurve=function(e,t,n,r,i,o){var a=e+2/3*(n-e),s=t+2/3*(r-t),l=a+1/3*(i-e),u=s+1/3*(o-t);this.addBezierCurve(e,t,a,l,s,u,i,o)},this.addBezierCurve=function(e,t,n,r,o,a,s,l){var u=[e,t],c=[n,r],d=[o,a],h=[s,l];for(this.addPoint(u[0],u[1]),this.addPoint(h[0],h[1]),i=0;i<=1;i++){var p=function(e){return Math.pow(1-e,3)*u[i]+3*Math.pow(1-e,2)*e*c[i]+3*(1-e)*Math.pow(e,2)*d[i]+Math.pow(e,3)*h[i]},f=6*u[i]-12*c[i]+6*d[i],g=-3*u[i]+9*c[i]-9*d[i]+3*h[i],m=3*c[i]-3*u[i];if(0!=g){var v=Math.pow(f,2)-4*m*g;if(!(v<0)){var y=(-f+Math.sqrt(v))/(2*g);0=0;t--)this.transforms[t].unapply(e)},this.applyToPoint=function(e){for(var t=0;ts&&(this.styles[i]=n[i],this.stylesSpecificity[i]=r)}}},null!=e&&1==e.nodeType){for(var t=0;t=this.tokens.length-1},this.isCommandOrEnd=function(){return!!this.isEnd()||null!=this.tokens[this.i+1].match(/^[A-Za-z]$/)},this.isRelativeCommand=function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0}return!1},this.getToken=function(){return this.i++,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var e=new a.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(e)},this.getAsControlPoint=function(){var e=this.getPoint();return this.control=e,e},this.getAsCurrentPoint=function(){var e=this.getPoint();return this.current=e,e},this.getReflectedControlPoint=function(){if("c"!=this.previousCommand.toLowerCase()&&"s"!=this.previousCommand.toLowerCase()&&"q"!=this.previousCommand.toLowerCase()&&"t"!=this.previousCommand.toLowerCase())return this.current;var e=new a.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y);return e},this.makeAbsolute=function(e){return this.isRelativeCommand()&&(e.x+=this.current.x,e.y+=this.current.y),e},this.addMarker=function(e,t,n){null!=n&&this.angles.length>0&&null==this.angles[this.angles.length-1]&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(n)),this.addMarkerAngle(e,null==t?null:t.angleTo(e))},this.addMarkerAngle=function(e,t){this.points.push(e),this.angles.push(t)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var e=0;e1&&(d*=Math.sqrt(v),h*=Math.sqrt(v));var y=(f==g?-1:1)*Math.sqrt((Math.pow(d,2)*Math.pow(h,2)-Math.pow(d,2)*Math.pow(m.y,2)-Math.pow(h,2)*Math.pow(m.x,2))/(Math.pow(d,2)*Math.pow(m.y,2)+Math.pow(h,2)*Math.pow(m.x,2)));isNaN(y)&&(y=0);var b=new a.Point(y*d*m.y/h,y*-h*m.x/d),_=new a.Point((s.x+c.x)/2+Math.cos(p)*b.x-Math.sin(p)*b.y,(s.y+c.y)/2+Math.sin(p)*b.x+Math.cos(p)*b.y),w=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))},x=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(w(e)*w(t))},k=function(e,t){return(e[0]*t[1]=1&&(N=0);var C=1-g?1:-1,T=E+C*(N/2),I=new a.Point(_.x+d*Math.cos(T),_.y+h*Math.sin(T));if(t.addMarkerAngle(I,T-C*Math.PI/2),t.addMarkerAngle(c,T-C*Math.PI),n.addPoint(c.x,c.y),null!=e){var x=d>h?d:h,S=d>h?1:d/h,M=d>h?h/d:1;e.translate(_.x,_.y),e.rotate(p),e.scale(S,M),e.arc(0,0,x,E,E+N,1-g),e.scale(1/S,1/M),e.rotate(-p),e.translate(-_.x,-_.y)}}break;case"Z":case"z":null!=e&&e.closePath(),t.current=t.start}return n},this.getMarkers=function(){for(var e=this.PathParser.getMarkerPoints(),t=this.PathParser.getMarkerAngles(),n=[],r=0;r1&&(this.offset=1);var t=this.style("stop-color",!0);""===t.value&&(t.value="#000"),this.style("stop-opacity").hasValue()&&(t=t.addOpacity(this.style("stop-opacity"))),this.color=t.value},a.Element.stop.prototype=new a.Element.ElementBase,a.Element.AnimateBase=function(e){this.base=a.Element.ElementBase,this.base(e),a.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").toMilliseconds(),this.getProperty=function(){var e=this.attribute("attributeType").value,t=this.attribute("attributeName").value;return"CSS"==e?this.parent.style(t,!0):this.parent.attribute(t,!0)},this.initialValue=null,this.initialUnits="",this.removed=!1,this.calcValue=function(){return""},this.update=function(e){if(null==this.initialValue&&(this.initialValue=this.getProperty().value,this.initialUnits=this.getProperty().getUnits()),this.duration>this.maxDuration){if("indefinite"==this.attribute("repeatCount").value||"indefinite"==this.attribute("repeatDur").value)this.duration=0;else if("freeze"!=this.attribute("fill").valueOrDefault("remove")||this.frozen){if("remove"==this.attribute("fill").valueOrDefault("remove")&&!this.removed)return this.removed=!0,this.getProperty().value=this.parent.animationFrozen?this.parent.animationFrozenValue:this.initialValue,!0}else this.frozen=!0,this.parent.animationFrozen=!0,this.parent.animationFrozenValue=this.getProperty().value;return!1}this.duration=this.duration+e;var t=!1;if(this.beginn&&a.attribute("x").hasValue())break;i+=a.measureTextRecursive(e)}return-1*("end"==r?i:i/2)}return 0},this.renderChild=function(e,t,n){var r=t.children[n];r.attribute("x").hasValue()?(r.x=r.attribute("x").toPixels("x")+t.getAnchorDelta(e,t,n),r.attribute("dx").hasValue()&&(r.x+=r.attribute("dx").toPixels("x"))):(r.attribute("dx").hasValue()&&(t.x+=r.attribute("dx").toPixels("x")),r.x=t.x),t.x=r.x+r.measureText(e),r.attribute("y").hasValue()?(r.y=r.attribute("y").toPixels("y"),r.attribute("dy").hasValue()&&(r.y+=r.attribute("dy").toPixels("y"))):(r.attribute("dy").hasValue()&&(t.y+=r.attribute("dy").toPixels("y")),r.y=t.y),t.y=r.y,r.render(e);for(var n=0;n0&&" "!=t[n-1]&&n0&&" "!=t[n-1]&&(n==t.length-1||" "==t[n+1])&&(o="initial"),"undefined"!=typeof e.glyphs[r]&&(i=e.glyphs[r][o],null==i&&"glyph"==e.glyphs[r].type&&(i=e.glyphs[r]))}else i=e.glyphs[r];return null==i&&(i=e.missingGlyph),i},this.renderChildren=function(e){var t=this.parent.style("font-family").getDefinition();if(null==t)""!=e.fillStyle&&e.fillText(a.compressSpaces(this.getText()),this.x,this.y),""!=e.strokeStyle&&e.strokeText(a.compressSpaces(this.getText()),this.x,this.y);else{var n=this.parent.style("font-size").numValueOrDefault(a.Font.Parse(a.ctx.font).fontSize),r=this.parent.style("font-style").valueOrDefault(a.Font.Parse(a.ctx.font).fontStyle),i=this.getText();t.isRTL&&(i=i.split("").reverse().join(""));for(var o=a.ToNumberArray(this.parent.attribute("dx").value),s=0;s0?"":this.text}},a.Element.tspan.prototype=new a.Element.TextElementBase,a.Element.tref=function(e){this.base=a.Element.TextElementBase,this.base(e),this.getText=function(){var e=this.getHrefAttribute().getDefinition();if(null!=e)return e.children[0].getText()}},a.Element.tref.prototype=new a.Element.TextElementBase,a.Element.a=function(e){this.base=a.Element.TextElementBase,this.base(e),this.hasText=e.childNodes.length>0;for(var t=0;t0){var n=new a.Element.g;n.children=this.children,n.parent=this,n.render(e)}},this.onclick=function(){window.open(this.getHrefAttribute().value)},this.onmousemove=function(){a.ctx.canvas.style.cursor="pointer"}},a.Element.a.prototype=new a.Element.TextElementBase,a.Element.image=function(e){this.base=a.Element.RenderedElementBase,this.base(e);var t=this.getHrefAttribute().value;if(""!=t){var n=t.match(/\.svg$/);if(a.Images.push(this),this.loaded=!1,n)this.img=a.ajax(t),this.loaded=!0;else{this.img=document.createElement("img"),1==a.opts.useCORS&&(this.img.crossOrigin="Anonymous");var r=this;this.img.onload=function(){r.loaded=!0},this.img.onerror=function(){a.log('ERROR: image "'+t+'" not found'),r.loaded=!0},this.img.src=t}this.renderChildren=function(e){var t=this.attribute("x").toPixels("x"),r=this.attribute("y").toPixels("y"),i=this.attribute("width").toPixels("x"),o=this.attribute("height").toPixels("y");0!=i&&0!=o&&(e.save(),n?e.drawSvg(this.img,t,r,i,o):(e.translate(t,r),a.AspectRatio(e,this.attribute("preserveAspectRatio").value,i,this.img.width,o,this.img.height,0,0),e.drawImage(this.img,0,0)),e.restore())},this.getBoundingBox=function(){var e=this.attribute("x").toPixels("x"),t=this.attribute("y").toPixels("y"),n=this.attribute("width").toPixels("x"),r=this.attribute("height").toPixels("y");return new a.BoundingBox(e,t,e+n,t+r)}}},a.Element.image.prototype=new a.Element.RenderedElementBase,a.Element.g=function(e){this.base=a.Element.RenderedElementBase,this.base(e),this.getBoundingBox=function(){for(var e=new a.BoundingBox,t=0;t0)for(var b=v[y].indexOf("url"),_=v[y].indexOf(")",b),w=v[y].substr(b+5,_-b-6),x=a.parseXml(a.ajax(w)),k=x.getElementsByTagName("font"),E=0;E~\.\[:]+)/g,u=/(\.[^\s\+>~\.\[:]+)/g,c=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,d=/(:[\w-]+\([^\)]*\))/gi,h=/(:[^\s\+>~\.\[:]+)/g,p=/([^\s\+>~\.\[:]+)/g;return"undefined"!=typeof CanvasRenderingContext2D&&(CanvasRenderingContext2D.prototype.drawSvg=function(e,t,n,r,i){a(this.canvas,e,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:t,offsetY:n,scaleWidth:r,scaleHeight:i})}),a})},function(e,t){e.exports=function(e){this.ok=!1,this.alpha=1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e=e.replace(/ /g,""),e=e.toLowerCase();var t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};e=t[e]||e;for(var n=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),parseFloat(e[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n},this.getHelpXML=function(){for(var e=new Array,r=0;r "+u.toRGB()+" -> "+u.toHex());l.appendChild(c),l.appendChild(d),s.appendChild(l)}catch(h){}return s}}},function(e,t){function n(e,t,n,a){if(!(isNaN(a)||a<1)){a|=0;var s,l,u,c,d,h,p,f,g,m,v,y,b,_,w,x,k,E,j,A,N,C,T,I,S=a+a+1,M=t-1,D=n-1,O=a+1,P=O*(O+1)/2,L=new r,R=L;for(u=1;u>F,0!=T?(T=255/T,e[h]=(f*U>>F)*T,e[h+1]=(g*U>>F)*T,e[h+2]=(m*U>>F)*T):e[h]=e[h+1]=e[h+2]=0,f-=y,g-=b,m-=_,v-=w,y-=z.r,b-=z.g,_-=z.b,w-=z.a,c=p+((c=s+a+1)>F,T>0?(T=255/T,e[c]=(f*U>>F)*T,e[c+1]=(g*U>>F)*T,e[c+2]=(m*U>>F)*T):e[c]=e[c+1]=e[c+2]=0,f-=y,g-=b,m-=_,v-=w,y-=z.r,b-=z.g,_-=z.b,w-=z.a,c=s+((c=l+O)0?n.getElementTypeString(t.data):"Thing",i=h.formatLocalizedLabel(t.iri,t.data.label.values,n.getLanguage()),o=this.styleFor(t),a=o.color,s=o.icon,l=this.getPropertyTable();return{types:r,label:i,color:a,icon:s,iri:t.iri,imgUrl:t.data.image,isExpanded:t.isExpanded,props:t.data.properties,propsAsList:l}},t.prototype.getPropertyTable=function(){var e=this.props,t=e.model,n=e.view;if(!t.data.properties)return[];var r=Object.keys(t.data.properties).map(function(e){var r=n.model.getPropertyById(e),i=h.formatLocalizedLabel(e,r.label,n.getLanguage());return{id:e,name:i,property:t.data.properties[e]}});return r.sort(function(e,t){var n=(e.name||e.id).toLowerCase(),r=(t.name||t.id).toLowerCase();return n.localeCompare(r)}),r},t.prototype.styleFor=function(e){var t=this.props.view.getTypeStyle(e.data.types),n=t.color,r=n.h,i=n.c,o=n.l,s=t.icon;return{icon:s?s:"ontodia-default-icon",color:a.hcl(r,i,o).toString()}},t}(i.Component);g.childContextTypes=t.ElementContextTypes;var m=function(){function e(e){this.subscribe=e,this.observedKeys=l.createStringMap()}return e.prototype.observe=function(e){for(var t=l.createStringMap(),n=0,r=e;n-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var g=window.location.protocol.indexOf("http")===-1&&navigator.userAgent.indexOf("Firefox")===-1;console.debug("Download the React DevTools "+(g?"and use an HTTP server (instead of a file: URL) ":"")+"for a better development experience: https://fb.me/react-devtools")}var m=function(){};"production"!==t.env.NODE_ENV?h((m.name||m.toString()).indexOf("testFn")!==-1,"It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details."):void 0;var v=document.documentMode&&document.documentMode<8;"production"!==t.env.NODE_ENV?h(!v,'Internet Explorer is running in compatibility mode; please add the following tag to your HTML to prevent this from happening: '):void 0;for(var y=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim],b=0;b8&&k<=11),A=32,N=String.fromCharCode(A),C=p.topLevelTypes,T={beforeInput:{phasedRegistrationNames:{bubbled:b({onBeforeInput:null}),captured:b({onBeforeInputCapture:null})},dependencies:[C.topCompositionEnd,C.topKeyPress,C.topTextInput,C.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:b({onCompositionEnd:null}),captured:b({onCompositionEndCapture:null})},dependencies:[C.topBlur,C.topCompositionEnd,C.topKeyDown,C.topKeyPress,C.topKeyUp,C.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:b({onCompositionStart:null}),captured:b({onCompositionStartCapture:null})},dependencies:[C.topBlur,C.topCompositionStart,C.topKeyDown,C.topKeyPress,C.topKeyUp,C.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:b({onCompositionUpdate:null}),captured:b({onCompositionUpdateCapture:null})},dependencies:[C.topBlur,C.topCompositionUpdate,C.topKeyDown,C.topKeyPress,C.topKeyUp,C.topMouseDown]}},I=!1,S=null,M={eventTypes:T,extractEvents:function(e,t,n,r){return[u(e,t,n,r),h(e,t,n,r)]}};e.exports=M},function(e,t,n){"use strict";var r=n(63),i=r({bubbled:null,captured:null}),o=r({topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null}),a={topLevelTypes:o,PropagationPhases:i};e.exports=a},function(e,t,n){(function(t){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return _(e,r)}function i(e,n,i){"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?y(e,"Dispatching inst must not be null"):void 0);var o=n?b.bubbled:b.captured,a=r(e,i,o);a&&(i._dispatchListeners=m(i._dispatchListeners,a),i._dispatchInstances=m(i._dispatchInstances,e))}function o(e){e&&e.dispatchConfig.phasedRegistrationNames&&g.traverseTwoPhase(e._targetInst,i,e)}function a(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?g.getParentInstance(t):null;g.traverseTwoPhase(n,i,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,i=_(e,r);i&&(n._dispatchListeners=m(n._dispatchListeners,i),n._dispatchInstances=m(n._dispatchInstances,e))}}function l(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function u(e){v(e,o)}function c(e){v(e,a)}function d(e,t,n,r){g.traverseEnterLeave(n,r,s,e,t)}function h(e){v(e,l)}var p=n(115),f=n(117),g=n(119),m=n(121),v=n(122),y=n(51),b=p.PropagationPhases,_=f.getListener,w={accumulateTwoPhaseDispatches:u,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:h,accumulateEnterLeaveDispatches:d};e.exports=w}).call(t,n(36))},function(e,t,n){(function(t){"use strict";var r=n(47),i=n(118),o=n(119),a=n(120),s=n(121),l=n(122),u=n(48),c={},d=null,h=function(e,t){e&&(o.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},p=function(e){return h(e,!0)},f=function(e){return h(e,!1)},g=function(e){return"."+e._rootNodeID},m={injection:{injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},putListener:function(e,n,o){"function"!=typeof o?"production"!==t.env.NODE_ENV?u(!1,"Expected %s listener to be a function, instead got type %s",n,typeof o):r("94",n,typeof o):void 0;var a=g(e),s=c[n]||(c[n]={});s[a]=o;var l=i.registrationNameModules[n];l&&l.didPutListener&&l.didPutListener(e,n,o)},getListener:function(e,t){var n=c[t],r=g(e);return n&&n[r]},deleteListener:function(e,t){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=c[t];if(r){var o=g(e);delete r[o]}},deleteAllListeners:function(e){var t=g(e);for(var n in c)if(c.hasOwnProperty(n)&&c[n][t]){var r=i.registrationNameModules[n]; +r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete c[n][t]}},extractEvents:function(e,t,n,r){for(var o,a=i.plugins,l=0;l-1?void 0:"production"!==t.env.NODE_ENV?s(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):a("96",e),!c.plugins[r]){n.extractEvents?void 0:"production"!==t.env.NODE_ENV?s(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):a("97",e),c.plugins[r]=n;var o=n.eventTypes;for(var d in o)i(o[d],n,d)?void 0:"production"!==t.env.NODE_ENV?s(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",d,e):a("98",d,e)}}}function i(e,n,r){c.eventNameDispatchConfigs.hasOwnProperty(r)?"production"!==t.env.NODE_ENV?s(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",r):a("99",r):void 0,c.eventNameDispatchConfigs[r]=e;var i=e.phasedRegistrationNames;if(i){for(var l in i)if(i.hasOwnProperty(l)){var u=i[l];o(u,n,r)}return!0}return!!e.registrationName&&(o(e.registrationName,n,r),!0)}function o(e,n,r){if(c.registrationNameModules[e]?"production"!==t.env.NODE_ENV?s(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):a("100",e):void 0,c.registrationNameModules[e]=n,c.registrationNameDependencies[e]=n.eventTypes[r].dependencies,"production"!==t.env.NODE_ENV){var i=e.toLowerCase();c.possibleRegistrationNames[i]=e,"onDoubleClick"===e&&(c.possibleRegistrationNames.ondblclick=e)}}var a=n(47),s=n(48),l=null,u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:"production"!==t.env.NODE_ENV?{}:null,injectEventPluginOrder:function(e){l?"production"!==t.env.NODE_ENV?s(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):a("101"):void 0,l=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var n=!1;for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];u.hasOwnProperty(i)&&u[i]===o||(u[i]?"production"!==t.env.NODE_ENV?s(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",i):a("102",i):void 0,u[i]=o,n=!0)}n&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=c.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){l=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];c.plugins.length=0;var n=c.eventNameDispatchConfigs;for(var r in n)n.hasOwnProperty(r)&&delete n[r];var i=c.registrationNameModules;for(var o in i)i.hasOwnProperty(o)&&delete i[o];if("production"!==t.env.NODE_ENV){var a=c.possibleRegistrationNames;for(var s in a)a.hasOwnProperty(s)&&delete a[s]}}};e.exports=c}).call(t,n(36))},function(e,t,n){(function(t){"use strict";function r(e){return e===w.topMouseUp||e===w.topTouchEnd||e===w.topTouchCancel}function i(e){return e===w.topMouseMove||e===w.topTouchMove}function o(e){return e===w.topMouseDown||e===w.topTouchStart}function a(e,t,n,r){var i=e.type||"unknown-event";e.currentTarget=x.getNodeFromInstance(r),t?v.invokeGuardedCallbackWithCatch(i,n,e):v.invokeGuardedCallback(i,n,e),e.currentTarget=null}function s(e,n){var r=e._dispatchListeners,i=e._dispatchInstances;if("production"!==t.env.NODE_ENV&&f(e),Array.isArray(r))for(var o=0;o1?1-t:void 0;return this._fallbackText=i.slice(e,s),this._fallbackText}}),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(){return!o&&i.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var i=n(123),o=null;e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(127),o={data:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,n,r,i){"production"!==t.env.NODE_ENV&&(delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation),this.dispatchConfig=e,this._targetInst=n,this.nativeEvent=r;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){"production"!==t.env.NODE_ENV&&delete this[a];var l=o[a];l?this[a]=l(r):"target"===a?this.target=i:this[a]=r[a]}var u=null!=r.defaultPrevented?r.defaultPrevented:r.returnValue===!1;return u?this.isDefaultPrevented=s.thatReturnsTrue:this.isDefaultPrevented=s.thatReturnsFalse,this.isPropagationStopped=s.thatReturnsFalse,this}function i(e,n){function r(e){var t=a?"setting the method":"setting the property";return o(t,"This is effectively a no-op"),e}function i(){var e=a?"accessing the method":"accessing the property",t=a?"This is a no-op function":"This is set to null";return o(e,t),n}function o(n,r){var i=!1;"production"!==t.env.NODE_ENV?l(i,"This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",n,e,r):void 0}var a="function"==typeof n;return{configurable:!0,set:r,get:i}}var o=n(44),a=n(46),s=n(52),l=n(51),u=!1,c="function"==typeof Proxy,d=["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"],h={type:null,target:null,currentTarget:s.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=s.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=s.thatReturnsTrue)},persist:function(){this.isPersistent=s.thatReturnsTrue},isPersistent:s.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var n in e)"production"!==t.env.NODE_ENV?Object.defineProperty(this,n,i(n,e[n])):this[n]=null;for(var r=0;r8));var L=!1;w.canUseDOM&&(L=A("input")&&(!document.documentMode||document.documentMode>11));var R={get:function(){return O.get.call(this)},set:function(e){D=""+e,O.set.call(this,e)}},B={eventTypes:I,extractEvents:function(e,t,n,i){var o,a,s=t?x.getNodeFromInstance(t):window;if(r(s)?P?o=l:a=u:N(s)?L?o=p:(o=g,a=f):m(s)&&(o=v),o){var c=o(e,t);if(c){var d=E.getPooled(I.change,c,n,i);return d.type="change",_.accumulateTwoPhaseDispatches(d),d}}a&&a(e,s,t)}};e.exports=B},function(e,t,n){(function(t){"use strict";function r(){C.ReactReconcileTransaction&&x?void 0:"production"!==t.env.NODE_ENV?v(!1,"ReactUpdates: must inject a reconcile transaction class and batching strategy"):c("123")}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=h.getPooled(),this.reconcileTransaction=C.ReactReconcileTransaction.getPooled(!0)}function o(e,t,n,i,o,a){r(),x.batchedUpdates(e,t,n,i,o,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var n=e.dirtyComponentsLength;n!==y.length?"production"!==t.env.NODE_ENV?v(!1,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",n,y.length):c("124",n,y.length):void 0,y.sort(a),b++;for(var r=0;r]/,l=n(159),u=l(function(e,t){if(e.namespaceURI!==o.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(i.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=u},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e};e.exports=n},function(e,t,n){"use strict";var r=n(123),i=n(161),o=n(158),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){o(e,i(t))})),e.exports=a},function(e,t){"use strict";function n(e){var t=""+e,n=i.exec(t);if(!n)return t;var r,o="",a=0,s=0;for(a=n.index;a]/;e.exports=r},function(e,t,n){(function(t){"use strict";var r=n(47),i=n(156),o=n(123),a=n(163),s=n(52),l=n(48),u={dangerouslyReplaceNodeWithMarkup:function(e,n){if(o.canUseDOM?void 0:"production"!==t.env.NODE_ENV?l(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering."):r("56"),n?void 0:"production"!==t.env.NODE_ENV?l(!1,"dangerouslyReplaceNodeWithMarkup(...): Missing markup."):r("57"),"HTML"===e.nodeName?"production"!==t.env.NODE_ENV?l(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString()."):r("58"):void 0,"string"==typeof n){var u=a(n,s)[0];e.parentNode.replaceChild(u,e)}else i.replaceChildWithTree(e,n)}};e.exports=u}).call(t,n(36))},function(e,t,n){(function(t){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function i(e,n){var i=u;u?void 0:"production"!==t.env.NODE_ENV?l(!1,"createNodesFromMarkup dummy not initialized"):l(!1);var o=r(e),c=o&&s(o);if(c){i.innerHTML=c[1]+e+c[2];for(var d=c[0];d--;)i=i.lastChild}else i.innerHTML=e;var h=i.getElementsByTagName("script");h.length&&(n?void 0:"production"!==t.env.NODE_ENV?l(!1,"createNodesFromMarkup(...): Unexpected