Your IP : 18.116.67.43


Current Path : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/js/fileman/block_editor/
Upload File :
Current File : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/js/fileman/block_editor/editor.map.js

{"version":3,"file":"editor.map.js","names":["window","BX","BlockEditorManager","list","blockList","get","id","this","resultNode","add","params","blockTypeList","getBlockList","BXBlockEditor","onCustomEvent","create","setBlockList","context","iframe","charset","previewUrl","saveFileUrl","site","disableScroll","panelList","placeList","dragdrop","preview","stylistContainerNode","stylistInitedValues","isInited","isTemplateMode","CONST_ATTR_BLOCK","CONST_ATTR_PLACE","CONST_ATTR_BLOCK_STATUS","CONST_ATTR_STYLIST_TAG","CONST_ATTR_TMP_RESOURSE","CONST_ATTR_ID_STYLIST","content","BlockEditor","Content","caller","textarea","statusManager","BXBlockEditorStatusManager","cssParser","BXBlockEditorCssParser","shadowNode","findChild","className","addCustomEvent","delegate","addClass","removeClass","ready","url","load","bind","setTimeout","initResize","prototype","resize","contentWindow","throttle","doc","contentDocument","h","Math","max","body","scrollHeight","documentElement","offsetHeight","clientHeight","style","height","init","helper","BXBlockEditorHelper","initControls","initDragDrop","initEditDialog","initPreview","initTabsBlockAndStyles","value","initPhpSlices","initBlockPlaces","initBlocks","initStylist","save","phpParser","resetItems","nodeList","findChildren","attribute","getAttrName","i","node","phpSlice","getAttribute","phpDesc","getPhpSliceDescription","innerHTML","name","setAttribute","util","htmlspecialchars","title","addItem","outerHTML","buttonMin","buttonMax","close","open","_this","button","findChildByClassName","panel","showPanel","display","showPreview","getHtmlBtn","querySelector","clipboard","bindCopyClick","text","getContent","blockNodeList","addBlock","headNode","head","each","childNodes","nodeName","attributes","hasAttribute","appendChild","parse","getStyles","forEach","item","styles","block","parameters","currentStyles","mergeStyles","getCssString","findStylistPlaces","placeCode","placeNode","placeBlock","BXBlockEditorStylist","type","controls","styleNode","push","editDialog","onPlaceEdit","onPlaceHover","tmplPage","idList","querySelectorAll","j","length","key","substr","code","isHover","editBlock","place","firstPlaceInfoCode","placeInfoCode","findBlockPlaces","placeInfoList","html","getBlocks","placeInfo","getBlockHtml","replacePhpByLayout","emptyTextLayout","indexOf","hasBlocksFromContent","trim","actualizeBlockPlace","result","dropZone","cleanNode","childNode","remove","message","addCatcher","removeCatcher","BXBlockEditorPreview","tabContainer","tabBlocks","tabStyles","contentBlocks","contentStyles","clickHandler","hasClass","contentPagerPrev","contentPagerNext","pagerClickHandler","next","currentPageNode","nextElementSibling","nextPageNode","previousElementSibling","easing","duration","start","opacity","finish","transition","transitions","quart","step","state","complete","animate","_context","removeAttribute","panelCode","executePhp","show","showHtml","tag","BXBlockEditorEditDialog","BXBlockEditorPHPParser","htmlEditor","onEditDialogControlChangeValue","editBlockEnd","formNode","findParent","self","e","isFinalSave","preventDefault","stopPropagation","submit","BXBlockEditorDragDrop","showDragDropZone","hideDragDropZone","onDragDropItemAdd","onDragDropItemMove","getContentForSave","callback","unbindAll","css","loadCSS","random","cssParams","attrs","adjust","isFunction","apply","src","createBlockListWithReplacedEmptyPlaces","tempBlocks","blockNodes","children","blockNode","getBlockNodeByType","addBlockByNode","setContentHtml","removeBlockListWithReplacedEmptyPlaces","removeBlock","getSortedBlockList","sortedBlockList","convert","nodeListToArray","changedPlaceList","getPlaceNameList","sort","parentNode","in_array","styleContent","diffStyles","diffStylesAll","concat","map","getPlaceHolderCode","getContentHtmlOuter","getEditValues","getString","withoutPHP","fillBlockPlacesByEmptyBlocks","cloneNode","toUpperCase","href","blockPlaceList","blockPlace","blockPlaceBlocks","blockAnchorNode","createTextNode","k","blockContent","blockContentChildren","n","replaceLayoutBySurrogate","replaceSurrogateByPhp","isTopPosition","before","oldBlockPlace","onMoveHandler","appendChildNode","columnNum","currentEditingBlock","setEditValue","getCurrentEditingBlock","values","BXBlockEditorBlockComponent","BXBlockEditorBlock","setEditValues","getBlockHtmlByCode","TYPE","HTML","getComponentInclude","bxParams","addBlockByHtml","drag","clone","cloneBlock","PreventDefault","edit","disableSaving","splice","removeItem","parentRemovedNode","hide","clonedBlankBlock","getContentHtml","insertBefore","clonedBlock","hasChanges","getEditPropList","nodeContent","editHandlerList","initStructure","initEditHandlers","initDependencies","blockHtml","findEditHandler","handler","isArray","reload_dependence","dependenceCode","dependencies","nearNode","onMove","findEditNodeList","columnCounter","parseInt","columnToolName","column","getEditValue","hasOwnProperty","filtered","filter","param","func","filterCodeList","dependence","editorBlock","editorBlockShadow","document","createElement","editorBlockControls","htmlContent","editorBlockContent","props","editorBlockDropZoneBefore","editorBlockDropZoneAfter","controlHandlers","superclass","constructor","call","componentDescriptionNode","onEdit","setContentClearPhp","getContentClearPhp","editorBlockComponentHeader","editorBlockComponentIcon","editorBlockComponentDescription","editorBlockComponent","nextSibling","componentIconNode","componentHeaderNode","componentDescription","onBlockCreateAfter","php","split","join","showComponentPropertiesDialog","extend","selectorTextList","selectorAList","getHTagHandler","handlerList","hTag","resultList","cssTextBlock","cssATag","getSelector","selectorList","substring","finalSelectorList","selector","cssHeadTag","media","cssText","changeParams","styleSheet","setStyle","changeResult","getStyle","phpList","componentPropertiesDialogHandler","componentPropertiesDialogHandlerCancel","handleComponentPropertiesChange","handleComponentPropertiesClose","handlerSave","handlerCancel","components","IsComponent","SetContent","surrogateList","GetAllSurrogates","surrogate","origTag","GetBxTag","bxTag","surrogateId","ShowPropertiesDialog","oPropertiesDialog","oDialog","proxy","phpNode","replace","replaceLayoutByPhp","len","layout","component","cData","GetComponentData","DESCRIPTION","parsedText","ReplacePhpBySymCode","ind","arScripts","phpPattern","GetPhpPattern","encodedPhpSlice","replaceTo","componentName","asLayout","includeText","GetOnDropHtml"],"sources":["editor.js"],"mappings":"CAAC,SAAUA,GACV,GAAIC,GAAGC,mBACN,OAEDD,GAAGC,mBAAqB,CAEvBC,KAAM,CAAC,EACPC,UAAW,CAAC,EAEZC,IAAK,SAAUC,GAEd,GAAIC,KAAKJ,KAAKG,GAAK,CAClBC,KAAKJ,KAAKG,GAAIE,WAAa,KAC3B,OAAOD,KAAKJ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