(window.webpackJsonp=window.webpackJsonp||[]).push([["floating-toolbars"],{"0ZwQ":function(t,e,o){"use strict";var i=o("P5fv"),n=o.n(i),r=(o("EsMY"),o("Eyy1")),s=o("9uLv"),a=o("Vdly"),l=o("aIyQ"),d=o.n(l),c=o("hY0g"),p=o.n(c),u=o("A6WY"),h=o("mrSG"),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(h.__extends)(e,t),e.prototype._startLoading=function(){return o.e("hammerjs").then(o.bind(null,"be1f")).then((function(t){return t.HammerJS}))},e}(o("cZRT").a),v=o("qFKp"),_=o("VVxS"),f=o("yB98");o("PwLo");o.d(e,"a",(function(){return x}));var y=v.CheckMobile.iOS();function b(){return Object(r.ensureNotNull)(window.containerElement)}function w(){if(!y)return window.innerWidth;var t=b(),e=getComputedStyle(t),o=e.paddingLeft&&parseFloat(e.paddingLeft)||0,i=e.paddingRight&&parseFloat(e.paddingRight)||0;return t.clientWidth-o-i}function m(){if(!y)return window.innerHeight;var t=b(),e=getComputedStyle(t),o=e.paddingTop&&parseFloat(e.paddingTop)||0,i=e.paddingBottom&&parseFloat(e.paddingBottom)||0;return t.clientHeight-o-i}var C='
'+(Modernizr.mobiletouch?'
':"")+'
'+f+'
',x=function(){function t(e){this._widget=document.createElement("div"),this._isVertical=!1,this._hiddingTimeoutId=null,this._visibility=new p.a(!1),this._windowResizeListener=this._onWindowResize.bind(this),this._reorderedDelegate=new d.a,this._responsiveResizeFunction=null,t._toolbars.push(this),this._options=e,this._widget=n()(C).get(0),this._content=this._widget.getElementsByClassName("js-content").item(0),this._setZIndex(t._startZIndex+t._toolbars.length-1),this._options.addClass&&(this._widget.className+=" "+this._options.addClass),this._options.layout&&"auto"!==this._options.layout&&(this._isVertical="vertical"===this._options.layout,this._updateLayoutType(),this._updateAxisOption())}return t.prototype.destroy=function(){this.hide(!0),t._toolbars.splice(t._toolbars.indexOf(this),1),document.body.contains(this._widget)&&document.body.removeChild(this._widget),this._widget.innerHTML="",this._responsiveResizeFunction=null},t.prototype.setResponsiveResizeFunc=function(t){this._responsiveResizeFunction=t},t.prototype.isVisible=function(){return this._visibility.value()},t.prototype.visibility=function(){return this._visibility.readonly()},t.prototype.isVertical=function(){return this._isVertical},t.prototype.show=function(){var t=this;this.isVisible()||(document.body.contains(this._widget)||(this._init(),document.body.appendChild(this._widget)),this._setHiddingTimeout(null),window.addEventListener("resize",this._windowResizeListener),this.raise(),this._visibility.setValue(!0),this._widget.classList.contains("i-hidden")?(this._widget.classList.remove("i-hidden"),setTimeout((function(){t.isVisible()&&t._widget.classList.remove("i-closed") }))):this._widget.classList.remove("i-closed"),this._onWindowResize())},t.prototype.hide=function(t){var e=this;if(void 0===t&&(t=!1),this.isVisible()){var o=this._widget.classList.contains("i-closed");if(this._widget.classList.add("i-closed"),this._visibility.setValue(!1),t||o)this._setHiddingTimeout(null),this._widget.classList.add("i-hidden");else{var i=setTimeout((function(){e._setHiddingTimeout(null),e._widget.classList.add("i-hidden")}),this.hideDuration());this._setHiddingTimeout(i)}window.removeEventListener("resize",this._windowResizeListener)}},t.prototype.raise=function(){t._toolbars.length+t._startZIndex!==this._zIndex()&&(t._toolbars.splice(t._toolbars.indexOf(this),1),t._toolbars.push(this),t._updateAllZIndexes())},t.prototype.hideDuration=function(){return.75*s.dur},t.prototype.addWidget=function(t,e){void 0===e&&(e={});var o=this.widgetsCount();if(void 0===e.index&&(e.index=o),e.index<0||e.index>o)throw new Error("Index must be in [0, "+o+"]");var i=document.createElement("div");i.className="tv-floating-toolbar__widget js-widget",i.appendChild(t);var n=e.index===o?null:this._content.childNodes.item(e.index);this._content.insertBefore(i,n),this._onWindowResize()},t.prototype.removeWidget=function(t){var e=this._findWrapperForWidget(t);e&&(this._content.removeChild(e),this._onWindowResize())},t.prototype.widgetsCount=function(){return this._content.childNodes.length},t.prototype.showWidget=function(t){var e=this._findWrapperForWidget(t);e&&e.classList.remove("i-hidden")},t.prototype.hideWidget=function(t){var e=this._findWrapperForWidget(t);e&&e.classList.add("i-hidden")},t.prototype.removeWidgets=function(){for(;this._content.firstChild;)this._content.removeChild(this._content.firstChild);this._onWindowResize()},t.prototype.onWidgetsReordered=function(){return this._reorderedDelegate},t.prototype.onContextMenu=function(t){var e=this;Modernizr.mobiletouch?(new g).load().then((function(o){var i=new o(e._widget);i.get("press").set({time:500}),i.on("press",(function(o){e._preventWidgetTouchEndEvent(),t(o.srcEvent)}))})):this._widget.addEventListener("contextmenu",t)},t.prototype._determineCurrentLayoutVertical=function(t){var e=this._isVertical?t.height:t.width;return w()w()&&(t.left=Math.max(0,w()-e.width)),t.top+e.height>m()&&(t.top=Math.max(0,m()-e.height)),t.left=Math.max(0,t.left),t.top=Math.max(0,t.top)},t.prototype._setZIndex=function(t){this._widget.style.zIndex=String(t)},t.prototype._zIndex=function(){return Number(this._widget.style.zIndex)},t.prototype._loadPosition=function(){var t;if("device"===this._options.positionStorageType){var e=_.TVLocalStorage.getItem(this._options.positionSettingsKey);t=null!==e?JSON.parse(e):this._options.defaultPosition}else t=Object(a.getJSON)(this._options.positionSettingsKey,this._options.defaultPosition);this._widget.style.left=Math.round(t.left)+"px",this._widget.style.top=Math.round(t.top)+"px",this._onWindowResize()},t.prototype._savePosition=function(){var t=this._widget.getBoundingClientRect();if("device"===this._options.positionStorageType)try{_.TVLocalStorage.setItem(this._options.positionSettingsKey,JSON.stringify({left:t.left,top:t.top}))}catch(e){}else Object(a.setJSON)(this._options.positionSettingsKey,{left:t.left,top:t.top})},t.prototype._init=function(){this._loadPosition(),Object(u.lazyJqueryUI)(n()(this._widget)).draggable({containment:"window",drag:this._onDragEvent.bind(this),handle:".js-drag",stop:this._savePosition.bind(this)}),this._options.allowSortable&&this._initSortable(),this._widget.addEventListener(Modernizr.mobiletouch?"touchstart":"mousedown",this.raise.bind(this))},t.prototype._onDragEvent=function(t,e){this._correctPosition(e.position)},t.prototype._initSortable=function(){var t=this,e=-1;Object(u.lazyJqueryUI)(n()(this._content)).sortable({start:function(t,o){e=o.item.index()},stop:function(o,i){var n=i.item.index();e!==n&&t._reorderedDelegate.fire(e,n)},tolerance:"pointer",distance:5,containment:!!this._options.dragOnlyInsideToolbar&&"parent",scroll:!1,placeholder:"sortable-placeholder",forcePlaceholderSize:!0}),this._updateAxisOption()},t.prototype._getCorrectedWidgetRect=function(){var t=this._widget.getBoundingClientRect() ;if(this._widget.classList.contains("i-closed")){var e=t.width*(1/.925-1),o=t.height*(1/.925-1);return{bottom:t.bottom+o/2,height:t.height+o,left:t.left-e/2,right:t.right+e/2,top:t.top-o/2,width:t.width+e}}return t},t._updateAllZIndexes=function(){t._toolbars.forEach((function(e,o){e._setZIndex(t._startZIndex+o)}))},t._startZIndex=20,t._toolbars=[],t}()},"2JFs":function(t,e){t.exports=''},"9On3":function(t,e){t.exports=''},ADFN:function(t,e,o){},BiGZ:function(t,e){t.exports=''},BsMi:function(t,e){t.exports=''},HKvk:function(t,e){t.exports=''},Kjbl:function(t,e){t.exports=''},NDCK:function(t,e){t.exports=''},Nz7V:function(t,e){t.exports=''},PwLo:function(t,e,o){},RRhU:function(t,e){t.exports=''},RsxI:function(t,e){ t.exports=''},TXAa:function(t,e,o){},WRHa:function(t,e){t.exports=''},XqDt:function(t,e){t.exports=''},dhuF:function(t,e){t.exports=''},eHtW:function(t,e){t.exports=''},"fUH/":function(t,e){t.exports=''},gPdB:function(t,e){ t.exports=''},gmn6:function(t,e,o){"use strict";o.r(e),function(t){o.d(e,"FavoriteDrawingToolbar",(function(){return h}));var i=o("mrSG"),n=(o("P5fv"),o("nbsC"),o("EsMY"),o("YFKU"),o("0ZwQ")),r=o("b2d7"),s=o("7KDR"),a=o("5VQP"),l=o("mMWL"),d=o("MP+M"),c=o("Vdly"),p=o("hY0g"),u=o.n(p),h=(o("TXAa"),function(e){function o(t){var o=e.call(this,{allowSortable:!Modernizr.mobiletouch,dragOnlyInsideToolbar:!0,defaultPosition:t,positionSettingsKey:"chart.favoriteDrawingsPosition",positionStorageType:"device"})||this;return o._linetoolsWidgets={},o._canBeShownValue=new u.a(!1),o._attachHandlers(),o._loadVisibilityState(),o}return Object(i.__extends)(o,e),o.prototype.show=function(){this._canBeShownValue.value()&&(c.setValue("ChartFavoriteDrawingToolbarWidget.visible",!0),this.isVisible()||this._renderAllLinetools(),e.prototype.show.call(this))},o.prototype.hide=function(){c.setValue("ChartFavoriteDrawingToolbarWidget.visible",!1),e.prototype.hide.call(this)},o.prototype.canBeShown=function(){return this._canBeShownValue.readonly()},o.prototype._onFavoriteAdded=function(t){this._canBeShownValue.setValue(!0),this.addWidget(this._createLinetoolWidget(t)),this.show()},o.prototype._onFavoriteRemoved=function(t){this.removeWidget(this._linetoolsWidgets[t]),delete this._linetoolsWidgets[t],0===r.a.favoritesCount()&&(this._canBeShownValue.setValue(!1),this.hide())},o.prototype._onFavoriteMoved=function(){this._renderAllLinetools()},o.prototype._onSelectedLinetoolChanged=function(t){var e=this;Object.keys(this._linetoolsWidgets).forEach((function(o){e._linetoolsWidgets[o].classList.toggle("i-active",t===o)}))},o.prototype._createLinetoolWidget=function(e){var o=$(t.render('{{{icon}}}',{icon:d.a[e].icon,isActive:e===l.tool.value(),title:d.a[e].localizedName}))[0];return o.addEventListener("click",(function(t){t.preventDefault(),l.tool.value()!==e&&l.tool.setValue(e)})),this._linetoolsWidgets[e]=o,o},o.prototype._renderAllLinetools=function(){var t=this;this._linetoolsWidgets={},this.removeWidgets(),r.a.favorites().filter((function(t){return d.a[t]})).forEach((function(e){t.addWidget(t._createLinetoolWidget(e))}))},o.prototype._attachHandlers=function(){var t=this;r.a.favoriteAdded.subscribe(this,this._onFavoriteAdded),r.a.favoriteRemoved.subscribe(this,this._onFavoriteRemoved),r.a.favoriteMoved.subscribe(this,this._onFavoriteMoved),r.a.favoritesSynced.subscribe(null,(function(){t._loadVisibilityState(),t._renderAllLinetools()})), this.onWidgetsReordered().subscribe(this,(function(e,o){if(r.a.favoriteMoved.unsubscribe(t,t._onFavoriteMoved),!r.a.moveFavorite(r.a.favorite(e),o))throw new Error("Something went wrong");r.a.favoriteMoved.subscribe(t,t._onFavoriteMoved)})),this.onContextMenu((function(e){e.preventDefault();var o=new s.Action({label:window.t("Hide Favorite Drawing Tools Toolbar"),onExecute:function(){t.hide()}});a.ContextMenuManager.createMenu([o]).then((function(t){t.show(e)}))})),l.tool.subscribe(this._onSelectedLinetoolChanged.bind(this))},o.prototype._loadVisibilityState=function(){var t=r.a.favoritesCount()>0;this._canBeShownValue.setValue(t),c.getBool("ChartFavoriteDrawingToolbarWidget.visible",!0)&&t?this.show():this.hide()},o}(n.a))}.call(this,o("nbsC"))},jAh7:function(t,e,o){"use strict";o.r(e),o.d(e,"OverlapManager",(function(){return r})),o.d(e,"getRootOverlapManager",(function(){return a}));var i=o("Eyy1"),n=function(){function t(){this._storage=[]}return t.prototype.add=function(t){this._storage.push(t)},t.prototype.remove=function(t){this._storage=this._storage.filter((function(e){return t!==e}))},t.prototype.has=function(t){return this._storage.includes(t)},t.prototype.getItems=function(){return this._storage},t}(),r=function(){function t(t){void 0===t&&(t=document),this._storage=new n,this._windows=new Map,this._index=0,this._document=t,this._container=t.createDocumentFragment()}return t.prototype.setContainer=function(t){var e=this._container,o=null===t?this._document.createDocumentFragment():t;!function(t,e){Array.from(t.childNodes).forEach((function(t){t.nodeType===Node.ELEMENT_NODE&&e.appendChild(t)}))}(e,o),this._container=o},t.prototype.registerWindow=function(t){this._storage.has(t)||this._storage.add(t)},t.prototype.ensureWindow=function(t,e){void 0===e&&(e={position:"fixed",direction:"normal"});var o=this._windows.get(t);if(void 0!==o)return o;this.registerWindow(t);var i=this._document.createElement("div");if(i.style.position=e.position,i.style.zIndex=this._index.toString(),i.dataset.id=t,void 0!==e.index){var n=this._container.childNodes.length;if(e.index>=n)this._container.appendChild(i);else if(e.index<=0)this._container.insertBefore(i,this._container.firstChild);else{var r=this._container.childNodes[e.index];this._container.insertBefore(i,r)}}else"reverse"===e.direction?this._container.insertBefore(i,this._container.firstChild):this._container.appendChild(i);return this._windows.set(t,i),++this._index,i},t.prototype.unregisterWindow=function(t){this._storage.remove(t);var e=this._windows.get(t);void 0!==e&&(null!==e.parentElement&&e.parentElement.removeChild(e),this._windows.delete(t))},t.prototype.getZindex=function(t){var e=this.ensureWindow(t);return parseInt(e.style.zIndex||"0")},t.prototype.moveToTop=function(t){this.getZindex(t)!==this._index&&(this.ensureWindow(t).style.zIndex=(++this._index).toString())},t.prototype.removeWindow=function(t){this.unregisterWindow(t)},t}(),s=new WeakMap;function a(t){void 0===t&&(t=document);var e=t.getElementById("overlap-manager-root") ;if(null!==e)return Object(i.ensureDefined)(s.get(e));var o=new r(t),n=function(t){var e=t.createElement("div");return e.style.position="absolute",e.style.zIndex=150..toString(),e.style.top="0px",e.style.left="0px",e.id="overlap-manager-root",e}(t);return s.set(n,o),o.setContainer(n),t.body.appendChild(n),o}},"m/4m":function(t,e,o){},my99:function(t,e,o){"use strict";o.r(e),o.d(e,"GroupButtonFloatingToolbar",(function(){return l}));var i=o("mrSG"),n=o("Eyy1"),r=o("0ZwQ"),s=o("aIyQ"),a=o.n(s),l=(o("m/4m"),o("ADFN"),function(t){function e(o){var i=t.call(this,e._prepareOptions(o))||this;return i._onWidgetStateChangedDelegate=new a.a,i._statedWidgets=[],i._currentPopup=null,i._onWindowClickedListener=i._onWindowClicked.bind(i),i}return Object(i.__extends)(e,t),e.prototype.show=function(){t.prototype.show.call(this),document.addEventListener("mousedown",this._onWindowClickedListener)},e.prototype.hide=function(){t.prototype.hide.call(this),document.removeEventListener("mousedown",this._onWindowClickedListener)},e.prototype.destroy=function(){this._closePopup(),t.prototype.destroy.call(this)},e.prototype.addGroupedWidget=function(t,o){void 0===o&&(o={}),Object(n.assert)(t.states.length>0&&-1!==e._getStateIndexById(t,t.currentStateId),"Argument is invalid (count: "+t.states.length+", state: "+t.currentStateId+")");var i=document.createElement("div");i.className="tv-grouped-floating-toolbar__widget-wrapper apply-common-tooltip",t.widgetAddClass&&i.classList.add(t.widgetAddClass),i.setAttribute("title",t.tooltip);var r={isEnabled:!0,statedWidget:t,toolbarWidget:i},s=this._onWidgetClicked.bind(this,r);r.clickListener=s,i.addEventListener("click",s),this._updateWidgetPreview(r),this.addWidget(i,o),this._statedWidgets.push(r)},e.prototype.findGroupedWidget=function(t){for(var e=this._statedWidgets.length,o=0;owindow.innerWidth-e.right?r.classList.add("tv-grouped-floating-toolbar__popup--at-left"):r.classList.remove("tv-grouped-floating-toolbar__popup--at-left");else{r.classList.remove("tv-grouped-floating-toolbar__popup--at-left");var s=0;i.left+n.width>window.innerWidth?e.left+n.width>window.innerWidth&&(s=e.width-n.width):s=i.left-e.left+1,r.style.left=s+"px",e.bottom+n.height>window.innerHeight?r.classList.add("tv-grouped-floating-toolbar__popup--at-top"):(r.classList.remove("tv-grouped-floating-toolbar__popup--at-top"),r.style.top="")}}},e.prototype._isPopupCreatedForWidget=function(t){return Boolean(this._currentPopup&&this._currentPopup.stateWidgetId===t)},e.prototype._createSubWidget=function(t,e){var o=document.createElement("div");return o.className+="tv-grouped-floating-toolbar__sub-widget",t.statedWidget.stateWidgetAddClass&&o.classList.add(t.statedWidget.stateWidgetAddClass),o.appendChild(e.widget),o},e.prototype._onSubWidgetClicked=function(t,e){this._closePopup(),t.statedWidget.currentStateId!==e&&(this.setGroupedWidgetState(t.statedWidget.id,e),this._onWidgetStateChangedDelegate.fire(t.statedWidget.id,e))},e.prototype._onWindowClicked=function(t){if(this.isVisible()&&this._currentPopup&&!e._isEventInElement(t,this._currentPopup.element)){for(var o=0;o'},nApS:function(t,e){t.exports=''},nSyy:function(t,e,o){},noRL:function(t,e){t.exports=''},tPkB:function(t,e,o){"use strict" ;(function(e,i){var n=o("ogJP").notNull,r=o("DxCR"),s=r.PropertyPage,a=r.ColorBinding,l=o("mMWL"),d=o("bR4N").bindPopupMenu,c=o("Ocx9").DefaultProperty,p=o("my99").GroupButtonFloatingToolbar,u=o("a7Ha").LineEnd,h=o("VNzU").isMultipleLayout,g=o("yMne"),v=o("CW80"),_=v.createLineToolProperties,f=v.isLineTool,y=o("JWMC").trackEvent,b=o("ytGH").MultipleLineWidthsProperty;function w(t){this._chartWidgetCollection=t,this._bindings=[],this._hasAlertWathcedValue=null,this._$templatesButton=null,this._currentProperties=null,this._toolbarWidgets=[],this._clearPropertiesOnHideTimeoutId=null,this._init(),this.attachHandlers()}function m(t,e){t.push({id:e,widget:$('
'+e+"
")[0]})}function C(t,e){t.push({id:e.value,widget:$(e.iconSvgCode)[0],readonly:e.readonly})}function x(t){return function(t,e){return $("
").addClass("tv-linetool-properties-toolbar__icon").addClass(e).append(t)[0]}(t,"tv-linetool-properties-toolbar__icon--line-props")}o("m/4m"),o("nSyy"),w.prototype.activeChartWidget=function(){return this._chartWidgetCollection.activeChartWidget.value()},w.prototype.selectedSources=function(){return this._chartWidgetCollection.selectedSources.value()},w.prototype._init=function(){this._floatingToolbar=new p({addClass:"tv-linetool-properties-toolbar",defaultPosition:{top:g.HEADER_TOOLBAR_HEIGHT_EXPANDED+15,left:window.innerWidth/2},positionSettingsKey:"properties_toolbar.position",positionStorageType:"server"}),this._floatingToolbar.onWidgetStateChanged().subscribe(this,this._onPropertyChangedInToolbar),this._sourceActions=this._createSourceActions(),this._sourceActions.forEach((function(t){this._floatingToolbar.addWidget(t.button)}),this)},w.prototype._bindPopupMenuDirection=function(){return this._floatingToolbar.isVertical()?"right":"down"},w.prototype._onPropertyChangedInToolbar=function(t,e){if(("linewidth"===t||t.endsWith(".linewidth"))&&this._lineWidthsProperty){var o=this.activeChartWidget().model(),i=1===this.selectedSources().length?window.t("Set line tool width"):window.t("Set line tool widths");return o.beginUndoMacro(i),this._lineWidthsProperty.setValue(e,{applyValue:function(t,e){o.setProperty(t,e)}}),void o.endUndoMacro()}this._currentProperties&&this.activeChartWidget().model().setProperty(this._currentProperties[t],e)},w.prototype._onPropertyChanged=function(t,e){"linewidth"===t&&e!==this._lineWidthsProperty||this._floatingToolbar.setGroupedWidgetState(t,e.value())},w.prototype._hideAllSourceActions=function(){this._sourceActions.forEach((function(t){this._floatingToolbar.hideWidget(t.button)}),this),this._sourceActionsVisible=!1},w.prototype._updateSourceActionsVisibility=function(t){this._sourceActionsVisible=!1,this._sourceActions.forEach((function(e){!e.isVisibleForSources||e.isVisibleForSources(t)?(this._floatingToolbar.showWidget(e.button),this._sourceActionsVisible=!0):this._floatingToolbar.hideWidget(e.button)}),this)},w.prototype.attachHandlers=function(){l.tool.subscribe(this.onToolChanged.bind(this),{callWithLast:!0}), this._chartWidgetCollection.selectedSources.subscribe(this.onSourceChanged.bind(this)),this._chartWidgetCollection.layout.subscribe(this._updateCloneButtonTitle.bind(this))},w.prototype._updateCloneButtonTitle=function(){this._setButtonTitle(this._cloneButton,this._cloneButtonTitle())},w.prototype.onToolChanged=function(t,e){if(t&&-1!==t.toLowerCase().indexOf("linetool")){e=e instanceof c?e:_(t);this._hideAllSourceActions(),this.showPropertiesOf(t,e),this.showTemplatesOf({tool:t,properties:e}),this._updateVisibility()}else this.selectedSources()?this.onSourceChanged(this.selectedSources()):this.hide()},w.prototype.findSourceOnWidget=function(t){for(var e=0;e0}},{button:this._createLockButton()},{button:this._createHideButton()},{button:this._createRemoveButton()}),t},w.prototype._getCloneActions=function(){var t=this.activeChartWidget().model(),e=this.selectedSources(),o=[],i=e.filter((function(t){return t.cloneable()}));i.length>0&&o.push({name:"clone",title:window.t("Clone"),action:function(){t.cloneLineTools(i)}});var n=e.filter((function(t){return t.copiable()}));return n.length>0&&o.push({name:"copy",title:window.t("Copy"),shortcut:"Ctrl-C",action:function(){t.copySourcesToClip(n)}}),this._isSyncOperationAvailable()?(e.filter((function(t){return!!t.linkKey})).length?o.push({name:"stop-sync",title:$.t("Stop syncing"),action:function(){t.unlinkLines(e)}}):o.push({name:"sync",title:$.t("Sync to all charts"),action:function(){t.copyToOtherCharts(e)}}),o):o},w.prototype._getZOrderActions=function(){var t=[],e=this.selectedSources(),o=this.activeChartWidget().model(),i={name:"bring-to-front",title:$.t("Bring to Front"),action:function(){o.bringToFront(e)}},n={name:"send-to-back",title:$.t("Send to Back"),action:function(){o.sendToBack(e)}},r={name:"bring-forward",title:$.t("Bring Forward"),action:function(){o.bringForward(e)}},s={name:"send-backward",title:$.t("Send Backward"),action:function(){o.sendBackward(e)}},a=o.paneForSource(e[0]).getZOrderMinMax();return 1===e.length&&e[0].zorder()===a.minZOrder&&(n.disabled=!0,s.disabled=!0),1===e.length&&e[0].zorder()===a.maxZOrder&&(r.disabled=!0,i.disabled=!0),t.push(i,n,r,s),t},w.prototype._getPossibleProperty=function(t){for(var e=[],o=this._defaultToolProperties(),i=0;i=0;--n){for(var r=o[n],s=e,a=r.name.split("."),l=0;l'},wLZl:function(t,e){t.exports=''},yB98:function(t,e){t.exports=''},znEV:function(t,e){t.exports=''}}]);