{"version":3,"sources":["kendo.splitter.js"],"names":["f","define","$","undefined","isPercentageSize","size","percentageUnitsRegex","test","isPixelSize","pxUnitsRegex","isFluid","calculateSize","total","output","parseInt","Math","floor","panePropertyAccessor","propertyName","triggersResize","pane","value","splitter","paneConfig","this","element","find","data","PANE","arguments","length","options","name","resize","PaneResizing","that","orientation","owner","_element","extend","HORIZONTAL","horizontalDefaults","verticalDefaults","_resizable","kendo","ui","Resizable","handle","_marker","hint","proxy","_createHint","start","_start","max","_max","min","_min","invalidClass","resizeend","_stop","window","keys","Widget","NS","EXPAND","COLLAPSE","CONTENTLOAD","ERROR","RESIZE","LAYOUTCHANGE","VERTICAL","MOUSEENTER","CLICK","MOUSELEAVE","FOCUSED","KPANE","PANECLASS","Splitter","init","isHorizontal","fn","call","wrapper","toLowerCase","_dimension","_keys","decrease","LEFT","UP","increase","RIGHT","DOWN","_resizeStep","guid","substring","_initPanes","resizing","triggerHandler","events","_addOverlays","_panes","append","_removeOverlays","children","remove","_attachEvents","on","_keydown","e","currentTarget","focus","addClass","removeClass","end","_togglePane","_arrowClick","document","_detachEvents","off","panes","destroy","key","keyCode","target","navigationKeys","ctrlKey","isResizing","_triggerAction","move","preventDefault","ENTER","panesConfig","each","i","nodeName","_initPane","config","attr","toggleClass","scrollable","ajaxRequest","url","contentUrl","isLocalUrl","jQuery","ajax","type","dataType","success","angular","elements","get","html","trigger","error","xhr","status","arrow","closest","is","prev","next","arrowType","parent","_updateSplitBar","splitbar","previousPane","nextPane","catIconIf","iconType","condition","draggable","resizable","prevCollapsible","collapsible","prevCollapsed","collapsed","nextCollapsible","nextCollapsed","removeAttr","_updateSplitBars","prevAll","first","nextAll","_removeSplitBars","_resize","sizedPanesWidth","sizedPanesCount","freeSizedPanes","freeSizePanesCount","freeSizePaneWidth","sum","alternateSizingProperty","positioningProperty","sizingDomProperty","lastNonCollapsedPane","splitBars","splitBarsCount","sizingProperty","totalSize","slice","after","css","position","top","collapsedSize","add","eq","filter","last","child","tagName","style","toggle","expand","collapse","_addPane","idx","paneElement","splice","appendTo","insertBefore","referencePane","index","insertAfter","plugin","mousePositioningProperty","prototype","press","delta","pressed","previousPaneConfig","nextPaneConfig","prevBoundary","nextBoundary","toPx","val","prevMinSize","prevMaxSize","nextMinSize","nextMaxSize","_maxPosition","_minPosition","ghostPosition","previousPaneNewSize","nextPaneNewSize","fluidPanesCount","ESC","amd","a1","a2","a3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;CAwBC,SAAUA,EAAGC,QACVA,OAAO,kBAAmB,mBAAoBD,IAChD,WA4dE,MApdC,UAAUE,EAAGC,GAEV,QAASC,GAAiBC,GACtB,MAAOC,GAAqBC,KAAKF,GAErC,QAASG,GAAYH,GACjB,MAAOI,GAAaF,KAAKF,IAAS,QAAQE,KAAKF,GAEnD,QAASK,GAAQL,GACb,OAAQD,EAAiBC,KAAUG,EAAYH,GAEnD,QAASM,GAAcN,EAAMO,GACzB,GAAIC,GAASC,SAAST,EAAM,GAI5B,OAHID,GAAiBC,KACjBQ,EAASE,KAAKC,MAAMH,EAASD,EAAQ,MAElCC,EAEX,QAASI,GAAqBC,EAAcC,GACxC,MAAO,UAAUC,EAAMC,GAAhB,GAOKC,GANJC,EAAaC,KAAKC,QAAQC,KAAKN,GAAMO,KAAKC,EAC9C,OAAwB,IAApBC,UAAUC,OACHP,EAAWL,IAEtBK,EAAWL,GAAgBG,EACvBF,IACIG,EAAWE,KAAKC,QAAQE,KAAK,QAAUH,KAAKO,QAAQC,MACxDV,EAASW,QAAO,IAHpBV,IAwWR,QAASW,GAAaZ,GAClB,GAAIa,GAAOX,KAAMY,EAAcd,EAASc,WACxCD,GAAKE,MAAQf,EACba,EAAKG,SAAWhB,EAASG,QACzBU,EAAKC,YAAcA,EACnBG,EAAOJ,EAAMC,IAAgBI,EAAaC,EAAqBC,GAC/DP,EAAKQ,WAAa,GAAIC,GAAMC,GAAGC,UAAUxB,EAASG,SAC9CW,YAAaA,EACbW,OAAQ,yBAA2BX,EAA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itter', ['kendo.resizable'], f);\n}(function () {\n var __meta__ = {\n id: 'splitter',\n name: 'Splitter',\n category: 'web',\n description: 'The Splitter widget provides an easy way to create a dynamic layout of resizable and collapsible panes.',\n depends: ['resizable']\n };\n (function ($, undefined) {\n var kendo = window.kendo, ui = kendo.ui, keys = kendo.keys, extend = $.extend, proxy = $.proxy, Widget = ui.Widget, pxUnitsRegex = /^\\d+(\\.\\d+)?px$/i, percentageUnitsRegex = /^\\d+(\\.\\d+)?%$/i, NS = '.kendoSplitter', EXPAND = 'expand', COLLAPSE = 'collapse', CONTENTLOAD = 'contentLoad', ERROR = 'error', RESIZE = 'resize', LAYOUTCHANGE = 'layoutChange', HORIZONTAL = 'horizontal', VERTICAL = 'vertical', MOUSEENTER = 'mouseenter', CLICK = 'click', PANE = 'pane', MOUSELEAVE = 'mouseleave', FOCUSED = 'k-state-focused', KPANE = 'k-' + PANE, PANECLASS = '.' + KPANE;\n function isPercentageSize(size) {\n return percentageUnitsRegex.test(size);\n }\n function isPixelSize(size) {\n return pxUnitsRegex.test(size) || /^\\d+$/.test(size);\n }\n function isFluid(size) {\n return !isPercentageSize(size) && !isPixelSize(size);\n }\n function calculateSize(size, total) {\n var output = parseInt(size, 10);\n if (isPercentageSize(size)) {\n output = Math.floor(output * total / 100);\n }\n return output;\n }\n function panePropertyAccessor(propertyName, triggersResize) {\n return function (pane, value) {\n var paneConfig = this.element.find(pane).data(PANE);\n if (arguments.length == 1) {\n return paneConfig[propertyName];\n }\n paneConfig[propertyName] = value;\n if (triggersResize) {\n var splitter = this.element.data('kendo' + this.options.name);\n splitter.resize(true);\n }\n };\n }\n var Splitter = Widget.extend({\n init: function (element, options) {\n var that = this, isHorizontal;\n Widget.fn.init.call(that, element, options);\n that.wrapper = that.element;\n isHorizontal = that.options.orientation.toLowerCase() != VERTICAL;\n that.orientation = isHorizontal ? HORIZONTAL : VERTICAL;\n that._dimension = isHorizontal ? 'width' : 'height';\n that._keys = {\n decrease: isHorizontal ? keys.LEFT : keys.UP,\n increase: isHorizontal ? keys.RIGHT : keys.DOWN\n };\n that._resizeStep = 10;\n that._marker = kendo.guid().substring(0, 8);\n that._initPanes();\n that.resizing = new PaneResizing(that);\n that.element.triggerHandler('init' + NS);\n },\n events: [\n EXPAND,\n COLLAPSE,\n CONTENTLOAD,\n ERROR,\n RESIZE,\n LAYOUTCHANGE\n ],\n _addOverlays: function () {\n this._panes().append('
');\n },\n _removeOverlays: function () {\n this._panes().children('.k-splitter-overlay').remove();\n },\n _attachEvents: function () {\n var that = this, orientation = that.options.orientation;\n that.element.children('.k-splitbar-draggable-' + orientation).on('keydown' + NS, proxy(that._keydown, that)).on('mousedown' + NS, function (e) {\n e.currentTarget.focus();\n }).on('focus' + NS, function (e) {\n $(e.currentTarget).addClass(FOCUSED);\n }).on('blur' + NS, function (e) {\n $(e.currentTarget).removeClass(FOCUSED);\n if (that.resizing) {\n that.resizing.end();\n }\n }).on(MOUSEENTER + NS, function () {\n $(this).addClass('k-splitbar-' + that.orientation + '-hover');\n }).on(MOUSELEAVE + NS, function () {\n $(this).removeClass('k-splitbar-' + that.orientation + '-hover');\n }).on('mousedown' + NS, proxy(that._addOverlays, that)).end().children('.k-splitbar').on('dblclick' + NS, proxy(that._togglePane, that)).children('.k-collapse-next, .k-collapse-prev').on(CLICK + NS, that._arrowClick(COLLAPSE)).end().children('.k-expand-next, .k-expand-prev').on(CLICK + NS, that._arrowClick(EXPAND)).end().end();\n $(window).on('resize' + NS + that._marker, proxy(that.resize, that, false));\n $(document).on('mouseup' + NS + that._marker, proxy(that._removeOverlays, that));\n },\n _detachEvents: function () {\n var that = this;\n that.element.children('.k-splitbar-draggable-' + that.orientation).off(NS).end().children('.k-splitbar').off('dblclick' + NS).children('.k-collapse-next, .k-collapse-prev, .k-expand-next, .k-expand-prev').off(NS);\n $(window).off(NS + that._marker);\n $(document).off(NS + that._marker);\n },\n options: {\n name: 'Splitter',\n orientation: HORIZONTAL,\n panes: []\n },\n destroy: function () {\n Widget.fn.destroy.call(this);\n this._detachEvents();\n if (this.resizing) {\n this.resizing.destroy();\n }\n kendo.destroy(this.element);\n this.wrapper = this.element = null;\n },\n _keydown: function (e) {\n var that = this, key = e.keyCode, resizing = that.resizing, target = $(e.currentTarget), navigationKeys = that._keys, increase = key === navigationKeys.increase, decrease = key === navigationKeys.decrease, pane;\n if (increase || decrease) {\n if (e.ctrlKey) {\n pane = target[decrease ? 'next' : 'prev']();\n if (resizing && resizing.isResizing()) {\n resizing.end();\n }\n if (!pane[that._dimension]()) {\n that._triggerAction(EXPAND, pane);\n } else {\n that._triggerAction(COLLAPSE, target[decrease ? 'prev' : 'next']());\n }\n } else if (resizing) {\n resizing.move((decrease ? -1 : 1) * that._resizeStep, target);\n }\n e.preventDefault();\n } else if (key === keys.ENTER && resizing) {\n resizing.end();\n e.preventDefault();\n }\n },\n _initPanes: function () {\n var panesConfig = this.options.panes || [];\n var that = this;\n this.element.addClass('k-widget').addClass('k-splitter').children().each(function (i, pane) {\n if (pane.nodeName.toLowerCase() != 'script') {\n that._initPane(pane, panesConfig[i]);\n }\n });\n this.resize();\n },\n _initPane: function (pane, config) {\n pane = $(pane).attr('role', 'group').addClass(KPANE);\n pane.data(PANE, config ? config : {}).toggleClass('k-scrollable', config ? config.scrollable !== false : true);\n this.ajaxRequest(pane);\n },\n ajaxRequest: function (pane, url, data) {\n var that = this, paneConfig;\n pane = that.element.find(pane);\n paneConfig = pane.data(PANE);\n url = url || paneConfig.contentUrl;\n if (url) {\n pane.append('');\n if (kendo.isLocalUrl(url)) {\n jQuery.ajax({\n url: url,\n data: data || {},\n type: 'GET',\n dataType: 'html',\n success: function (data) {\n that.angular('cleanup', function () {\n return { elements: pane.get() };\n });\n pane.html(data);\n that.angular('compile', function () {\n return { elements: pane.get() };\n });\n that.trigger(CONTENTLOAD, { pane: pane[0] });\n },\n error: function (xhr, status) {\n that.trigger(ERROR, {\n pane: pane[0],\n status: status,\n xhr: xhr\n });\n }\n });\n } else {\n pane.removeClass('k-scrollable').html('');\n }\n }\n },\n _triggerAction: function (type, pane) {\n if (!this.trigger(type, { pane: pane[0] })) {\n this[type](pane[0]);\n }\n },\n _togglePane: function (e) {\n var that = this, target = $(e.target), arrow;\n if (target.closest('.k-splitter')[0] != that.element[0]) {\n return;\n }\n arrow = target.children('.k-icon:not(.k-resize-handle)');\n if (arrow.length !== 1) {\n return;\n }\n if (arrow.is('.k-collapse-prev')) {\n that._triggerAction(COLLAPSE, target.prev());\n } else if (arrow.is('.k-collapse-next')) {\n that._triggerAction(COLLAPSE, target.next());\n } else if (arrow.is('.k-expand-prev')) {\n that._triggerAction(EXPAND, target.prev());\n } else if (arrow.is('.k-expand-next')) {\n that._triggerAction(EXPAND, target.next());\n }\n },\n _arrowClick: function (arrowType) {\n var that = this;\n return function (e) {\n var target = $(e.target), pane;\n if (target.closest('.k-splitter')[0] != that.element[0]) {\n return;\n }\n if (target.is('.k-' + arrowType + '-prev')) {\n pane = target.parent().prev();\n } else {\n pane = target.parent().next();\n }\n that._triggerAction(arrowType, pane);\n };\n },\n _updateSplitBar: function (splitbar, previousPane, nextPane) {\n var catIconIf = function (iconType, condition) {\n return condition ? '
' : '';\n }, orientation = this.orientation, draggable = previousPane.resizable !== false && nextPane.resizable !== false, prevCollapsible = previousPane.collapsible, prevCollapsed = previousPane.collapsed, nextCollapsible = nextPane.collapsible, nextCollapsed = nextPane.collapsed;\n splitbar.addClass('k-splitbar k-state-default k-splitbar-' + orientation).attr('role', 'separator').attr('aria-expanded', !(prevCollapsed || nextCollapsed)).removeClass('k-splitbar-' + orientation + '-hover').toggleClass('k-splitbar-draggable-' + orientation, draggable && !prevCollapsed && !nextCollapsed).toggleClass('k-splitbar-static-' + orientation, !draggable && !prevCollapsible && !nextCollapsible).html(catIconIf('k-collapse-prev k-i-sarrow-n', prevCollapsible && !prevCollapsed && !nextCollapsed && orientation == VERTICAL) + catIconIf('k-collapse-prev k-i-sarrow-w', prevCollapsible && !prevCollapsed && !nextCollapsed && orientation == HORIZONTAL) + catIconIf('k-expand-prev k-i-sarrow-n', prevCollapsible && prevCollapsed && !nextCollapsed && orientation == VERTICAL) + catIconIf('k-expand-prev k-i-sarrow-w', prevCollapsible && prevCollapsed && !nextCollapsed && orientation == HORIZONTAL) + catIconIf('k-resize-handle k-i-hbar', draggable && orientation == VERTICAL) + catIconIf('k-resize-handle k-i-vbar', draggable && orientation == HORIZONTAL) + catIconIf('k-collapse-next k-i-sarrow-s', nextCollapsible && !nextCollapsed && !prevCollapsed && orientation == VERTICAL) + catIconIf('k-collapse-next k-i-sarrow-e', nextCollapsible && !nextCollapsed && !prevCollapsed && orientation == HORIZONTAL) + catIconIf('k-expand-next k-i-sarrow-s', nextCollapsible && nextCollapsed && !prevCollapsed && orientation == VERTICAL) + catIconIf('k-expand-next k-i-sarrow-e', nextCollapsible && nextCollapsed && !prevCollapsed && orientation == HORIZONTAL));\n if (!draggable && !prevCollapsible && !nextCollapsible) {\n splitbar.removeAttr('tabindex');\n }\n },\n _updateSplitBars: function () {\n var that = this;\n this.element.children('.k-splitbar').each(function () {\n var splitbar = $(this), previousPane = splitbar.prevAll(PANECLASS).first().data(PANE), nextPane = splitbar.nextAll(PANECLASS).first().data(PANE);\n if (!nextPane) {\n return;\n }\n that._updateSplitBar(splitbar, previousPane, nextPane);\n });\n },\n _removeSplitBars: function () {\n this.element.children('.k-splitbar').remove();\n },\n _panes: function () {\n if (!this.element) {\n return $();\n }\n return this.element.children(PANECLASS);\n },\n _resize: function () {\n var that = this, element = that.element, panes = element.children(PANECLASS), isHorizontal = that.orientation == HORIZONTAL, splitBars = element.children('.k-splitbar'), splitBarsCount = splitBars.length, sizingProperty = isHorizontal ? 'width' : 'height', totalSize = element[sizingProperty]();\n that.wrapper.addClass('k-splitter-resizing');\n if (splitBarsCount === 0) {\n splitBarsCount = panes.length - 1;\n panes.slice(0, splitBarsCount).after('
');\n that._updateSplitBars();\n splitBars = element.children('.k-splitbar');\n } else {\n that._updateSplitBars();\n }\n splitBars.each(function () {\n totalSize -= this[isHorizontal ? 'offsetWidth' : 'offsetHeight'];\n });\n var sizedPanesWidth = 0, sizedPanesCount = 0, freeSizedPanes = $();\n panes.css({\n position: 'absolute',\n top: 0\n })[sizingProperty](function () {\n var element = $(this), config = element.data(PANE) || {}, size;\n element.removeClass('k-state-collapsed');\n if (config.collapsed) {\n size = config.collapsedSize ? calculateSize(config.collapsedSize, totalSize) : 0;\n element.css('overflow', 'hidden').addClass('k-state-collapsed');\n } else if (isFluid(config.size)) {\n freeSizedPanes = freeSizedPanes.add(this);\n return;\n } else {\n size = calculateSize(config.size, totalSize);\n }\n sizedPanesCount++;\n sizedPanesWidth += size;\n return size;\n });\n totalSize -= sizedPanesWidth;\n var freeSizePanesCount = freeSizedPanes.length, freeSizePaneWidth = Math.floor(totalSize / freeSizePanesCount);\n freeSizedPanes.slice(0, freeSizePanesCount - 1).css(sizingProperty, freeSizePaneWidth).end().eq(freeSizePanesCount - 1).css(sizingProperty, totalSize - (freeSizePanesCount - 1) * freeSizePaneWidth);\n var sum = 0, alternateSizingProperty = isHorizontal ? 'height' : 'width', positioningProperty = isHorizontal ? 'left' : 'top', sizingDomProperty = isHorizontal ? 'offsetWidth' : 'offsetHeight';\n if (freeSizePanesCount === 0) {\n var lastNonCollapsedPane = panes.filter(function () {\n return !($(this).data(PANE) || {}).collapsed;\n }).last();\n lastNonCollapsedPane[sizingProperty](totalSize + lastNonCollapsedPane[0][sizingDomProperty]);\n }\n element.children().css(alternateSizingProperty, element[alternateSizingProperty]()).each(function (i, child) {\n if (child.tagName.toLowerCase() != 'script') {\n child.style[positioningProperty] = Math.floor(sum) + 'px';\n sum += child[sizingDomProperty];\n }\n });\n that._detachEvents();\n that._attachEvents();\n that.wrapper.removeClass('k-splitter-resizing');\n kendo.resize(panes);\n that.trigger(LAYOUTCHANGE);\n },\n toggle: function (pane, expand) {\n var that = this, paneConfig;\n pane = that.element.find(pane);\n paneConfig = pane.data(PANE);\n if (!expand && !paneConfig.collapsible) {\n return;\n }\n if (arguments.length == 1) {\n expand = paneConfig.collapsed === undefined ? false : paneConfig.collapsed;\n }\n paneConfig.collapsed = !expand;\n if (paneConfig.collapsed) {\n pane.css('overflow', 'hidden');\n } else {\n pane.css('overflow', '');\n }\n that.resize(true);\n },\n collapse: function (pane) {\n this.toggle(pane, false);\n },\n expand: function (pane) {\n this.toggle(pane, true);\n },\n _addPane: function (config, idx, paneElement) {\n var that = this;\n if (paneElement.length) {\n that.options.panes.splice(idx, 0, config);\n that._initPane(paneElement, config);\n that._removeSplitBars();\n that.resize(true);\n }\n return paneElement;\n },\n append: function (config) {\n config = config || {};\n var that = this, paneElement = $('
').appendTo(that.element);\n return that._addPane(config, that.options.panes.length, paneElement);\n },\n insertBefore: function (config, referencePane) {\n referencePane = $(referencePane);\n config = config || {};\n var that = this, idx = that.wrapper.children('.k-pane').index(referencePane), paneElement = $('
').insertBefore($(referencePane));\n return that._addPane(config, idx, paneElement);\n },\n insertAfter: function (config, referencePane) {\n referencePane = $(referencePane);\n config = config || {};\n var that = this, idx = that.wrapper.children('.k-pane').index(referencePane), paneElement = $('
').insertAfter($(referencePane));\n return that._addPane(config, idx + 1, paneElement);\n },\n remove: function (pane) {\n pane = $(pane);\n var that = this;\n if (pane.length) {\n kendo.destroy(pane);\n pane.each(function (idx, element) {\n that.options.panes.splice(that.wrapper.children('.k-pane').index(element), 1);\n $(element).remove();\n });\n that._removeSplitBars();\n if (that.options.panes.length) {\n that.resize(true);\n }\n }\n return that;\n },\n size: panePropertyAccessor('size', true),\n min: panePropertyAccessor('min'),\n max: panePropertyAccessor('max')\n });\n ui.plugin(Splitter);\n var verticalDefaults = {\n sizingProperty: 'height',\n sizingDomProperty: 'offsetHeight',\n alternateSizingProperty: 'width',\n positioningProperty: 'top',\n mousePositioningProperty: 'pageY'\n };\n var horizontalDefaults = {\n sizingProperty: 'width',\n sizingDomProperty: 'offsetWidth',\n alternateSizingProperty: 'height',\n positioningProperty: 'left',\n mousePositioningProperty: 'pageX'\n };\n function PaneResizing(splitter) {\n var that = this, orientation = splitter.orientation;\n that.owner = splitter;\n that._element = splitter.element;\n that.orientation = orientation;\n extend(that, orientation === HORIZONTAL ? horizontalDefaults : verticalDefaults);\n that._resizable = new kendo.ui.Resizable(splitter.element, {\n orientation: orientation,\n handle: '.k-splitbar-draggable-' + orientation + '[data-marker=' + splitter._marker + ']',\n hint: proxy(that._createHint, that),\n start: proxy(that._start, that),\n max: proxy(that._max, that),\n min: proxy(that._min, that),\n invalidClass: 'k-restricted-size-' + orientation,\n resizeend: proxy(that._stop, that)\n });\n }\n PaneResizing.prototype = {\n press: function (target) {\n this._resizable.press(target);\n },\n move: function (delta, target) {\n if (!this.pressed) {\n this.press(target);\n this.pressed = true;\n }\n if (!this._resizable.target) {\n this._resizable.press(target);\n }\n this._resizable.move(delta);\n },\n end: function () {\n this._resizable.end();\n this.pressed = false;\n },\n destroy: function () {\n this._resizable.destroy();\n this._resizable = this._element = this.owner = null;\n },\n isResizing: function () {\n return this._resizable.resizing;\n },\n _createHint: function (handle) {\n var that = this;\n return $('
').css(that.alternateSizingProperty, handle[that.alternateSizingProperty]());\n },\n _start: function (e) {\n var that = this, splitbar = $(e.currentTarget), previousPane = splitbar.prev(), nextPane = splitbar.next(), previousPaneConfig = previousPane.data(PANE), nextPaneConfig = nextPane.data(PANE), prevBoundary = parseInt(previousPane[0].style[that.positioningProperty], 10), nextBoundary = parseInt(nextPane[0].style[that.positioningProperty], 10) + nextPane[0][that.sizingDomProperty] - splitbar[0][that.sizingDomProperty], totalSize = parseInt(that._element.css(that.sizingProperty), 10), toPx = function (value) {\n var val = parseInt(value, 10);\n return (isPixelSize(value) ? val : totalSize * val / 100) || 0;\n }, prevMinSize = toPx(previousPaneConfig.min), prevMaxSize = toPx(previousPaneConfig.max) || nextBoundary - prevBoundary, nextMinSize = toPx(nextPaneConfig.min), nextMaxSize = toPx(nextPaneConfig.max) || nextBoundary - prevBoundary;\n that.previousPane = previousPane;\n that.nextPane = nextPane;\n that._maxPosition = Math.min(nextBoundary - nextMinSize, prevBoundary + prevMaxSize);\n that._minPosition = Math.max(prevBoundary + prevMinSize, nextBoundary - nextMaxSize);\n },\n _max: function () {\n return this._maxPosition;\n },\n _min: function () {\n return this._minPosition;\n },\n _stop: function (e) {\n var that = this, splitbar = $(e.currentTarget), owner = that.owner;\n owner._panes().children('.k-splitter-overlay').remove();\n if (e.keyCode !== kendo.keys.ESC) {\n var ghostPosition = e.position, previousPane = splitbar.prev(), nextPane = splitbar.next(), previousPaneConfig = previousPane.data(PANE), nextPaneConfig = nextPane.data(PANE), previousPaneNewSize = ghostPosition - parseInt(previousPane[0].style[that.positioningProperty], 10), nextPaneNewSize = parseInt(nextPane[0].style[that.positioningProperty], 10) + nextPane[0][that.sizingDomProperty] - ghostPosition - splitbar[0][that.sizingDomProperty], fluidPanesCount = that._element.children(PANECLASS).filter(function () {\n return isFluid($(this).data(PANE).size);\n }).length;\n if (!isFluid(previousPaneConfig.size) || fluidPanesCount > 1) {\n if (isFluid(previousPaneConfig.size)) {\n fluidPanesCount--;\n }\n previousPaneConfig.size = previousPaneNewSize + 'px';\n }\n if (!isFluid(nextPaneConfig.size) || fluidPanesCount > 1) {\n nextPaneConfig.size = nextPaneNewSize + 'px';\n }\n owner.resize(true);\n }\n return false;\n }\n };\n }(window.kendo.jQuery));\n return window.kendo;\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n (a3 || a2)();\n}));"],"sourceRoot":"/source/"}