text: {"version":3,"file":"script.min.js","sources":["script.js"],"names":["BX","namespace","Main","grid","containerId","arParams","userOptions","userOptionsActions","userOptionsHandlerUrl","panelActions","panelTypes","editorTypes","messageTypes","this","settings","container","wrapper","fadeContainer","scrollContainer","pagination","moreButton","table","rows","history","checkAll","sortable","updater","data","fader","editor","isEditMode","pinHeader","pinPanel","resize","init","isNeedResourcesReady","hasClass","prototype","initArguments","slice","call","arguments","browser","IsSafari","bind","proxy","_onResourcesReady","initAfterResourcesReady","apply","event","animationName","type","isNotEmptyString","isPlainObject","Error","Grid","Settings","UserOptions","gridSettings","SettingsWindow","messages","Message","getParam","PinHeader","addCustomEvent","window","bindOnCheckAll","Fader","pageSize","Pagesize","actionPanel","ActionPanel","InlineEditor","PinPanel","isDomNode","getContainer","getContainerId","getTable","bindOnRowEvents","Resize","bindOnMoreButtonEvents","bindOnClickPaginationLinks","bindOnClickHeader","initRowsDragAndDrop","initColsDragAndDrop","getRows","initSelected","adjustEmptyTable","getSourceBodyChild","onCustomEvent","_onUnselectRows","destroy","removeCustomEvent","getPinHeader","getFader","getResize","getColsSortable","getRowsSortable","getSettingsWindow","enableActionsPanel","panel","getActionsPanel","getPanel","removeClass","get","disableActionsPanel","addClass","checkbox","getForAllCheckbox","checked","disableForAllCounter","isIE","isBoolean","ie","document","documentElement","isTouch","touch","paramName","defaultValue","undefined","hasOwnProperty","getCounterTotal","Utils","getByClass","getActionKey","getId","confirmForAll","self","getByTag","confirmDialog","CONFIRM","CONFIRM_MESSAGE","CONFIRM_FOR_ALL_MESSAGE","selectAllCheckAllCheckboxes","selectAll","enableForAllCounter","updateCounterDisplayed","updateCounterSelected","unselectAllCheckAllCheckboxes","unselectAll","editSelected","editSelectedSave","FIELDS","getEditSelectedValues","reloadTable","getForAllKey","updateRow","id","url","callback","row","getById","Row","update","removeRow","remove","addRow","action","getUserOptions","getAction","rowData","tableFade","getData","request","bodyRows","getBodyRows","getUpdater","updateBodyRows","tableUnfade","reset","updateFootRows","getFootRows","updatePagination","getPagination","updateMoreButton","getMoreButton","updateCounterTotal","colsSortable","reinit","rowsSortable","response","isFunction","editSelectedCancel","removeSelected","ID","getSelectedIds","values","getValues","sendSelected","selectedRows","controls","getApplyButton","getEditor","reload","getPanels","getEmptyBlock","adjustEmptyBlockPosition","target","currentTarget","requestAnimationFrame","style","emptyBlock","scrollLeft","isArray","length","gridRect","pos","scrollBottom","scrollTop","height","diff","bottom","panelsHeight","containerWidth","width","getScrollContainer","unbind","Math","abs","method","isString","updateHeadRows","getHeadRows","resetForAllCheckbox","getGroupEditButton","getGroupDeleteButton","enableGroupActions","editButton","deleteButton","disableGroupActions","closeActionsMenu","i","l","getPageSize","Data","Updater","isSortableHeader","item","cell","findParent","tag","_clickOnSortableHeader","enableEditMode","disableEditMode","getColumnHeaderCellByName","name","getBySelector","getColumnByName","columns","sortByColumn","column","headerCell","header","sort_url","prepareSortUrl","setSort","sort_by","sort_order","location","toString","util","add_url_param","by","order","preventDefault","getObserver","observer","RowsSortable","ColsSortable","getUserOptionsHandlerUrl","getCheckAllCheckboxes","checkAllNodes","map","current","Element","forEach","getNode","adjustCheckAllCheckboxes","total","getBodyChild","filter","isShown","selected","getSelected","add","_clickOnCheckAll","getLinks","_clickOnPaginationLink","_clickOnMoreButton","showCheckboxes","enableCollapsibleRows","_onClickOnRow","getDefaultAction","_onRowDblclick","getActionsButton","_clickOnRowActionsButton","getCollapseButton","_onCollapseButtonClick","stopPropagation","toggleChildRows","isCustom","setCollapsedGroups","getIdsCollapsedGroups","setExpandedRows","getIdsExpandedRows","fireEvent","body","actionsMenuIsShown","showActionsMenu","defaultJs","isEdit","clearTimeout","clickTimer","clickPrevent","eval","err","console","warn","clickDelay","selection","getSelection","nodeName","shiftKey","removeAllRanges","setTimeout","delegate","clickActions","containsNotSelected","min","max","contentContainer","isPrevent","getContentContainer","getCheckbox","currentIndex","getIndex","lastIndex","isSelected","select","unselect","push","getByIndex","some","adjustRows","Pagination","getState","state","getLoader","show","hide","link","getLink","isLoad","resetExpandedRows","load","unload","appendBodyRows","getAjaxId","newRows","newHeadRows","newNavPanel","thisBody","thisHead","thisNavPanel","create","html","addRows","cleanNode","appendChild","innerHTML","getCounterDisplayed","getCounterSelected","counterDisplayed","innerText","getCountDisplayed","counterSelected","getCountSelected","getCounter","counter","getWrapper","getFadeContainer","getHeaders","getHead","getBody","getFoot","Rows","node","loader","Loader"],"mappings":"CAAC,WACA,YAEAA,IAAGC,UAAU,UAiDbD,IAAGE,KAAKC,KAAO,SACdC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAGAC,KAAKC,SAAW,IAChBD,MAAKT,YAAc,EACnBS,MAAKE,UAAY,IACjBF,MAAKG,QAAU,IACfH,MAAKI,cAAgB,IACrBJ,MAAKK,gBAAkB,IACvBL,MAAKM,WAAa,IAClBN,MAAKO,WAAa,IAClBP,MAAKQ,MAAQ,IACbR,MAAKS,KAAO,IACZT,MAAKU,QAAU,KACfV,MAAKP,YAAc,IACnBO,MAAKW,SAAW,IAChBX,MAAKY,SAAW,IAChBZ,MAAKa,QAAU,IACfb,MAAKc,KAAO,IACZd,MAAKe,MAAQ,IACbf,MAAKgB,OAAS,IACdhB,MAAKiB,WAAa,IAClBjB,MAAKkB,UAAY,IACjBlB,MAAKmB,SAAW,IAChBnB,MAAKR,SAAW,IAChBQ,MAAKoB,OAAS,IAEdpB,MAAKqB,KACJ9B,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAIFZ,IAAGE,KAAKC,KAAKgC,qBAAuB,SAASpB,GAE5C,MAAOf,IAAGoC,SAASrB,EAAW,4BAG/Bf,IAAGE,KAAKC,KAAKkC,WACZH,KAAM,SAAS9B,EAAaC,EAAUC,EAAaC,EAAoBC,EAAuBC,EAAcC,EAAYC,EAAaC,GAEpIC,KAAKyB,iBAAmBC,MAAMC,KAAKC,UACnC5B,MAAKE,UAAYf,GAAGI,EAEpB,KAAKJ,GAAG0C,QAAQC,YAAc3C,GAAG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