Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/location/widget/dist/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/location/widget/dist/widget.bundle.map.js |
{"version":3,"file":"widget.bundle.map.js","names":["this","BX","Location","exports","ui_vue","ui_designTokens","location_google","main_popup","location_source","ui_forms","location_core","location_widget","main_core_events","main_core","State","babelHelpers","classCallCheck","defineProperty","_templateObject","_templateObject2","_classPrivateMethodInitSpec","obj","privateSet","_checkPrivateRedeclaration","add","_classPrivateFieldInitSpec","privateMap","value","set","privateCollection","has","TypeError","_classPrivateMethodGet","receiver","fn","_address","WeakMap","_element","_stringElement","_addressFormat","_convertAddressToString","WeakSet","AddressString","props","writable","addressFormat","Format","Error","classPrivateFieldSet","createClass","key","render","address","addresStr","_convertAddressToString2","call","classPrivateFieldGet","Tag","taggedTemplateLiteral","hide","show","style","display","isHidden","innerHTML","result","AddressStringConverter","convertAddressToStringTemplate","getTemplate","FormatTemplateType","DEFAULT","CONTENT_TYPE_HTML","AddressApplier","Vue","extend","required","methods","handleApplyClick","$emit","convertAddressToString","toString","STRATEGY_TYPE_TEMPLATE_COMMA","computed","addressString","CONTENT_TYPE_TEXT","containerStyles","containerClasses","hidden","localize","getFilteredPhrases","template","_classPrivateMethodInitSpec$1","_checkPrivateRedeclaration$1","_classPrivateMethodGet$1","_adjustRightPosition","Popup","_MainPopup","inherits","_babelHelpers$getProt","_this","_len","arguments","length","args","Array","_key","possibleConstructorReturn","getPrototypeOf","apply","concat","assertThisInitialized","getBindElement","bindElement","adjustPosition","bindOptions","isCustomPosition","isCustomPositionSuccess","position","_adjustRightPosition2","get","prototype","bindElRect","getBoundingClientRect","popupHeight","getPopupContainer","offsetHeight","popupWidth","offsetWidth","left","width","document","documentElement","clientWidth","angleOffsetY","top","window","pageYOffset","height","body","clientHeight","setAngle","offset","Dom","adjust","popupContainer","zIndex","getZindex","_templateObject$1","_templateObject2$1","_templateObject3","_classPrivateMethodInitSpec$2","_checkPrivateRedeclaration$2","_classPrivateFieldInitSpec$1","_classStaticPrivateFieldSpecGet","classConstructor","descriptor","_classCheckPrivateStaticAccess","_classCheckPrivateStaticFieldDescriptor","_classApplyDescriptorGet","action","undefined","_classPrivateMethodGet$2","_map","_mode","_address$1","_popup","_addressString","_addressApplier","_addressFormat$1","_gallery","_locationRepository","_isMapRendered","_mapInnerContainer","_geocodingService","_contentWrapper","_userLocationPoint","_createAddressApplier","_onLocationChanged","_renderPopup","_extractLatLon","_convertAddressToLocation","_setLocationInternal","_renderMap","MapPopup","_EventEmitter","setEventNamespace","map","MapBase","debug","geocodingService","GeocodingServiceBase","onLocationChangedEventSubscribe","_onLocationChanged2","bind","popup","_createAddressApplier2","gallery","locationRepository","userLocationPoint","mode","_renderPopup2","_this2","useUserLocation","_convertAddressToLocation2","then","location","_renderMap2","emit","_onShowedEvent","onMapShow","isShown","close","$props","_onClosedEvent","onChangedEventSubscribe","listener","subscribe","_onChangedEvent","onMouseOverSubscribe","_onMouseOverEvent","onMouseOutSubscribe","_onMouseOutEvent","subscribeOnShowedEvent","subscribeOnClosedEvent","destroy","remove","Event","unbindAll","Type","isDomNode","setBindElement","_this3","_setLocationInternal2","EventEmitter","_this4","propsData","$mount","$on","event","prevAddress","data","getData","toAddress","fieldCollection","isEqual","LocationType","ADDRESS_LINE_1","latitude","longitude","mapInnerContainer","_this5","thirdPartyWarningNode","Loc","getMessage","ControlMode","edit","$el","e","stopPropagation","setContent","_extractLatLon2","lat","lon","_this6","Promise","resolve","view","latLon","type","getType","_ref","mapContainer","BaseFeature","_saveResourceStrategy","saveResourceStrategy","MethodNotImplemented","setAddressWidget","addressWidget","setAddress","setMode","resetView","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray","i","F","s","n","done","_e","f","normalCompletion","didErr","err","step","next","_e2","minLen","_arrayLikeToArray","Object","slice","constructor","name","from","test","arr","len","arr2","_classPrivateMethodInitSpec$3","_checkPrivateRedeclaration$3","_classPrivateFieldInitSpec$2","_classPrivateMethodGet$3","_mode$1","_state","_address$2","_addressFormat$2","_languageId","_features","_inputNode","_controlWrapper","_destroyed","_isAddressChangedByFeature","_isInputNodeValueUpdated","_needWarmBackendAfterAddressChanged","_locationRepository$1","_addFeature","_executeFeatureMethod","_emitOnAddressChanged","_warmBackendAfterAddressChanged","_onInputFocus","_convertAddressToString$1","_setInputValue","_onInputFocusOut","_storeAsLastAddress","_destroyFeatures","Address","isValid","isString","languageId","features","forEach","feature","_addFeature2","isBoolean","needWarmBackendAfterAddressChanged","LocationRepository","INITIAL","setAddressByFeature","sourceFeature","excludeFeatures","options","addressId","id","getFieldValue","AddressType","isTemplateExists","setFieldValue","storeAsLastAddress","hasOwnProperty","_storeAsLastAddress2","_setInputValue2","_executeFeatureMethod2","DATA_INPUTTING","_emitOnAddressChanged2","emitFeatureEvent","featureEvent","onFeatureEvent","onInputKeyup","code","onInputInput","controlWrapper","inputNode","_onInputFocus2","_onInputFocusOut2","setStateByFeature","state","onStateChangedEvent","subscribeOnStateChangedEvent","subscribeOnAddressChangedEvent","onAddressChangedEvent","subscribeOnFeatureEvent","subscribeOnErrorEvent","ErrorPublisher","getInstance","unbind","_destroyFeatures2","isDestroyed","push","method","params","_iterator","_step","isExcluded","_iterator2","_step2","excludeFeature","_warmBackendAfterAddressChanged2","findParents","setCaretPosition","_convertAddressToString2$1","templateType","console","error","shortAddressString","AUTOCOMPLETE","fullAddressString","trim","title","selectionStart","selectionEnd","setSelectionRange","fieldForUnRecognized","isFieldExists","LOCALITY","Storage","lastAddress","splice","_templateObject$2","_templateObject2$2","_templateObject3$1","_classPrivateFieldInitSpec$3","_checkPrivateRedeclaration$4","_node","_leftItemNodeContainer","_rightItemNodeContainer","MenuBottom","setRightItemNode","node","firstChild","removeChild","appendChild","setLeftItemNode","_classPrivateFieldInitSpec$4","_checkPrivateRedeclaration$5","_bottom","Menu","_MainMenu","elRect","popupWindow","setMaxWidth","layout","menuContainer","isMenuEmpty","menuItems","isChoseLastItem","choseItemIdx","isChoseFirstItem","isItemChosen","getPopupWindow","isItemExist","index","getChosenItem","chooseNextItem","chooseItem","choosePrevItem","highlightItem","item","classList","unHighlightItem","idx","clearItems","removeMenuItem","setBottomRightItemNode","setBottomLeftItemNode","_createForOfIteratorHelper$1","_unsupportedIterableToArray$1","_arrayLikeToArray$1","_classPrivateMethodInitSpec$4","_checkPrivateRedeclaration$6","_classPrivateFieldInitSpec$5","_classStaticPrivateMethodGet","_classCheckPrivateStaticAccess$1","_classPrivateMethodGet$4","_inputNode$1","_menuNode","_menu","_locationList","_createMenu","_isAddressOfSameLocation","_createMenuItem","_onItemSelect","_getLocationFromList","Prompt","menuNode","getMenu","_createMenu2","locationsList","searchPhrase","setMenuItems","showFlatList","_hasLocationWithLocality","addMenuItem","_createMenuItem2","_isAddressOfSameLocation2","isSeparatorSet","html","delimiter","isRecursive","_getLocationFromList2","menuItem","createMenuItemText","locationName","clarification","TMP_TYPE_CLARIFICATION","TMP_TYPE_HINT","autoHide","closeByEsc","className","_getAddressPossibleLocalities","includes","ADM_LEVEL_1","onclick","_onItemSelect2","onItemSelectedEvent","_classPrivateMethodInitSpec$5","_checkPrivateRedeclaration$7","_classPrivateFieldInitSpec$6","_classPrivateMethodGet$5","_input","_value","_pureAddressString","_addressFormat$3","_actualizePureString","_isPureAddressStringModified","_convertAddressToString$2","AddressString$1","input","HTMLInputElement","setValueFromAddress","setValue","isPureAddress","_actualizePureString2","actualize","isChanged","hasPureAddressString","_convertAddressToString2$2","_isPureAddressStringModified2","indexOf","_templateObject$3","_templateObject2$3","_classPrivateMethodInitSpec$6","_checkPrivateRedeclaration$8","_classPrivateFieldInitSpec$7","_classStaticPrivateFieldSpecGet$1","_classCheckPrivateStaticAccess$2","_classCheckPrivateStaticFieldDescriptor$1","_classApplyDescriptorGet$1","_classPrivateMethodGet$6","_address$3","_addressString$1","_languageId$1","_addressFormat$4","_sourceCode","_locationRepository$2","_userLocationPoint$1","_presetLocationsProvider","_prompt","_autocompleteService","_timerId","_inputNode$2","_searchPhrase","_state$1","_wasCleared","_isDestroyed","_isAutocompleteRequestStarted","_isNextAutocompleteRequestWaiting","_onLocationSelectTimerId","_onInputClick","_showPresetLocations","_createRightBottomMenuNode","_createLeftBottomMenuNode","_showMenu","_onInputFocusOut$1","_onInputFocus$1","_makeAutocompleteServiceParams","_onDocumentClick","_onPromptsReceived","_getShowOnMapHandler","_onPromptItemSelected","_setState","_fulfillSelection","_onAddressChangedEventEmit","_getLocationDetails","_convertStringToAddress","_onLocationSelect","_onInputKeyDown","_onInputKeyUp","_onInputPaste","_createOnLocationSelectTimer","_showPromptInner","_createTimer","Autocomplete","requested","current","dropped","autocompleteService","AutocompleteServiceBase","sourceCode","presetLocationsProvider","_setState2","addEventListener","_onInputKeyDown2","_onInputKeyUp2","_onInputFocus2$1","_onInputFocusOut2$1","_onInputClick2","_onInputPaste2","_onPromptItemSelected2","_onDocumentClick2","onAddressChangedEventSubscribe","_onAddressChangedEvent","onStateChangedEventSubscribe","_onStateChangedEvent","onSearchStartedEventSubscribe","_onSearchStartedEvent","onSearchCompletedEventSubscribe","_onSearchCompletedEvent","onShowOnMapClickedEventSubscribe","_onShowOnMapClickedEvent","showPrompt","_showPromptInner2","closePrompt","isPromptShown","removeEventListener","_showPresetLocations2","presetLocationList","leftBottomMenuMessage","_showMenu2","_createRightBottomMenuNode2","element","_getShowOnMapHandler2","_createLeftBottomMenuNode2","text","leftBottomText","relatedTarget","getAttribute","DATA_SUPPOSED","_convertStringToAddress2","customTail","currentValue","newValue","_onAddressChangedEventEmit2","stopImmediatePropagation","COUNTRY","ADDRESS_LINE_2","setTimeout","hasExternalRelation","_makeAutocompleteServiceParams2","biasPoint","Point","target","_onPromptsReceived2","externalId","_fulfillSelection2","DATA_SELECTED","_getLocationDetails2","detailedLocation","addressLine2","_createOnLocationSelectTimer2","response","notify","errors","excludeSetAddressFeatures","DATA_LOADING","findByExternalId","DATA_LOADED","_onLocationSelect2","ctrlKey","metaKey","shiftKey","toConsumableArray","_this7","onLocationSelectTimeout","_this8","timeout","_this9","clearTimeout","_createTimer2","_this10","autocomplete","_templateObject$4","_templateObject2$4","_classPrivateFieldInitSpec$8","_checkPrivateRedeclaration$9","_description","_url","_link","_location","_title","Photo","url","link","description","_templateObject$5","_templateObject2$5","_createForOfIteratorHelper$2","_unsupportedIterableToArray$2","_arrayLikeToArray$2","_classPrivateMethodInitSpec$7","_checkPrivateRedeclaration$a","_classPrivateFieldInitSpec$9","_classPrivateMethodGet$7","_photos","_container","_photosContainer","_thumbnailHeight","_thumbnailWidth","_photoService","_maxPhotoCount","_location$1","_setPhotos","_renderPhotos","Gallery","thumbnailHeight","thumbnailWidth","maxPhotoCount","photoService","refresh","requestPhotos","photosData","_setPhotos2","photos","_photo2","thumbnail","util","strip_tags","_i","_photos2","photo","renderedPhotos","_renderPhotos2","_photo","_iterator3","_step3","_templateObject$6","_templateObject2$6","_templateObject3$2","_templateObject4","_classPrivateMethodInitSpec$8","_checkPrivateRedeclaration$b","_classPrivateFieldInitSpec$a","_classPrivateMethodGet$8","_classStaticPrivateFieldSpecGet$2","_classCheckPrivateStaticAccess$3","_classCheckPrivateStaticFieldDescriptor$2","_classApplyDescriptorGet$2","_title$1","_value$1","_type","_sort","_mode$2","_input$1","_viewContainer","_container$1","_state$2","_setState$1","_renderEditMode","_renderViewMode","_refreshLayout","Field","sort","_renderEditMode2","_renderViewMode2","subscribeOnValueChangedEvent","_onValueChangedEvent","_onStateChangedEvent$1","_refreshLayout2","_setState2$1","container","Text","encode","_createForOfIteratorHelper$3","_unsupportedIterableToArray$3","_arrayLikeToArray$3","_classPrivateMethodInitSpec$9","_checkPrivateRedeclaration$c","_classPrivateFieldInitSpec$b","_classStaticPrivateFieldSpecGet$3","_classCheckPrivateStaticAccess$4","_classCheckPrivateStaticFieldDescriptor$3","_classApplyDescriptorGet$3","_classPrivateMethodGet$9","_address$4","_addressFormat$5","_mode$3","_fields","_languageId$2","_container$2","_state$3","_initFields","_onFieldChanged","_setState$2","Fields","_initFields2","field","_onAddressChangedEvent$1","clean","_onStateChangedEvent$2","_loop","fields","formatField","_onFieldChanged2","_setState2$2","_ret","a","b","changedField","_classPrivateFieldInitSpec$c","_checkPrivateRedeclaration$d","_map$1","_mapBindElement","_addressWidget","MapFeature","_BaseFeature","showMap","closeMap","bindelement","mapBindElement","_classPrivateFieldInitSpec$d","_checkPrivateRedeclaration$e","_autocomplete","_addressWidget$1","AutocompleteFeature","eventCode","searchStartedEvent","payload","searchCompletedEvent","showOnMapClickedEvent","autocompleteMenuElement","_classPrivateFieldInitSpec$e","_checkPrivateRedeclaration$f","_fields$1","_addressWidget$2","FieldsFeature","fieldsContainer","_classPrivateMethodInitSpec$a","_checkPrivateRedeclaration$g","_classPrivateFieldInitSpec$f","_classPrivateMethodGet$a","_showMapTimerId","_showMapDelay","_closeMapTimerId","_closeMapDelay","_isDestroyed$1","_onControlWrapperClick","_onDocumentClick$1","_processOnMouseOver","_processOnMouseOut","MapFeatureAuto","_MapFeature","_onControlWrapperClick2","_processOnMouseOver2","_processOnMouseOut2","_onDocumentClick2$1","Factory","createAddressWidget","message","sourceParams","sourceLanguageId","JSON","parse","useFeatures","createFieldsFeature","source","create","SourceCreationError","mapFeature","createAutocompleteFeature","showPhotos","useGeocodingService","DEFAULT_THUMBNAIL_HEIGHT","DEFAULT_THUMBNAIL_WIDTH","DEFAULT_MAX_PHOTO_COUNT","DEFAULT_MAP_BEHAVIOR","createMapFeature","popupOptions","popupBindOptions","mapBehavior","widget","cacheable","animation","angle","assign","mapFeatureProps","Google","_templateObject$7","_classPrivateMethodInitSpec$b","_checkPrivateRedeclaration$h","_classPrivateFieldInitSpec$g","_classStaticPrivateFieldSpecGet$4","_classCheckPrivateStaticAccess$5","_classCheckPrivateStaticFieldDescriptor$4","_classApplyDescriptorGet$4","_classPrivateMethodGet$b","_state$4","_titleContainer","_titles","_getTitle","Switch","titles","_getTitle2","STATE_OFF","STATE_ON","_onToggleEvent","subscribeOnToggleEventSubscribe","_templateObject$8","_classPrivateMethodInitSpec$c","_checkPrivateRedeclaration$i","_classPrivateFieldInitSpec$h","_classStaticPrivateFieldSpecGet$5","_classCheckPrivateStaticAccess$6","_classCheckPrivateStaticFieldDescriptor$5","_classApplyDescriptorGet$5","_classPrivateMethodGet$c","_type$1","_domNode","_getClassByType","Icon","TYPE_SEARCH","_getClassByType2","_onClickEvent","subscribeOnClickEvent","iconType","iconClass","TYPE_CLEAR","TYPE_LOADER","_templateObject$9","_templateObject2$7","_templateObject3$3","_templateObject4$1","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","_classPrivateMethodInitSpec$d","_checkPrivateRedeclaration$j","_classStaticPrivateMethodGet$1","_classCheckPrivateStaticAccess$7","_classPrivateMethodGet$d","_onIconClick","_onFieldsSwitchToggle","_hideFields","_showFields","_onAddressWidgetChangedState","_onAddressChanged","_convertAddressToString$3","_getAddress","UIAddress","_BX$UI$EntityEditorFi","_inputIcon","_hiddenInput","_innerWrapper","_addressFieldsContainer","initialize","settings","getValue","isStringFilled","widgetFactory","UI","EntityEditorMode","_onAddressWidgetChangedState2","_onAddressChanged2","_fieldsSwitch","_onFieldsSwitchToggle2","focus","EditorTextHelper","getCurrent","setPositionAtEnd","getModeSwitchType","EntityEditorModeSwitchType","common","button","content","doSetMode","getContentWrapper","save","isEditable","_getAddress2","_model","setField","getName","toJson","showError","anchor","addClass","_inputContainer","clearError","removeClass","doClearLayout","validate","hasValidators","executeValidators","isRequired","addError","EntityValidationError","showRequiredFieldError","getRuntimeValue","_hasLayout","ensureWrapperCreated","classNames","adjustWrapper","getTitle","isDragEnabled","_wrapper","createDragButton","addressWidgetParams","createTitleNode","_onIconClick2","inputIconNode","_chooseInputIconTypeByAddress","_titleWrapper","addressStringNode","hasContentToDisplay","_convertAddressToString2$3","errorListener","isContextMenuEnabled","createContextMenuButton","initializeDragDropAbilities","registerLayout","processModelChange","prop","getBoolean","getString","refreshLayout","self","registerField","EntityEditorControlFactory","registerFactoryMethod","registerFieldMethod","addCustomEvent","eventArgs","controlId","EntityEditorField","hasError","_hideFields2","_showFields2","markAsChanged","Widget","Main","Source","Core"],"sources":["widget.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,GAAGC,SAAWF,KAAKC,GAAGC,UAAY,CAAC,GACvC,SAAUC,EAAQC,EAAOC,EAAgBC,EAAgBC,EAAWC,EAAgBC,EAASC,EAAcC,EAAgBC,EAAiBC,GAC5I,aAKA,IAAIC,EAAQ,SAASA,IACnBC,aAAaC,eAAehB,KAAMc,EACpC,EACAC,aAAaE,eAAeH,EAAO,UAAW,WAC9CC,aAAaE,eAAeH,EAAO,iBAAkB,kBACrDC,aAAaE,eAAeH,EAAO,gBAAiB,iBACpDC,aAAaE,eAAeH,EAAO,gBAAiB,iBACpDC,aAAaE,eAAeH,EAAO,eAAgB,gBACnDC,aAAaE,eAAeH,EAAO,cAAe,eAElD,IAAII,EAAiBC,EACrB,SAASC,EAA4BC,EAAKC,GAAcC,EAA2BF,EAAKC,GAAaA,EAAWE,IAAIH,EAAM,CAC1H,SAASI,EAA2BJ,EAAKK,EAAYC,GAASJ,EAA2BF,EAAKK,GAAaA,EAAWE,IAAIP,EAAKM,EAAQ,CACvI,SAASJ,EAA2BF,EAAKQ,GAAqB,GAAIA,EAAkBC,IAAIT,GAAM,CAAE,MAAM,IAAIU,UAAU,iEAAmE,CAAE,CACzL,SAASC,EAAuBC,EAAUX,EAAYY,GAAM,IAAKZ,EAAWQ,IAAIG,GAAW,CAAE,MAAM,IAAIF,UAAU,iDAAmD,CAAE,OAAOG,CAAI,CACjL,IAAIC,EAAwB,IAAIC,QAChC,IAAIC,EAAwB,IAAID,QAChC,IAAIE,EAA8B,IAAIF,QACtC,IAAIG,EAA8B,IAAIH,QACtC,IAAII,EAAuC,IAAIC,QAC/C,IAAIC,EAA6B,WAC/B,SAASA,EAAcC,GACrB5B,aAAaC,eAAehB,KAAM0C,GAClCt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