403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/avatar-editor/src/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/avatar-editor/src/index.js
import {Reflection} from 'main.core';
import 'ui.fonts.opensans';
import 'ui.design-tokens';
import './css/core_avatar_editor.css';
import './css/logic.css';
import EditorInPopup from './editor-in-popup';
import EditorInSlider from './editor-in-slider';
import CameraTab from "./tabs/camera-tab";
import MaskEditor from "./mask-tool/mask-editor";
import type {FileType} from './editor';

export type {
	FileType
};

let currentEditor = EditorInPopup;
/**
 * @namespace BX.UI.AvatarEditor
 */
function createInstance()
{
	return currentEditor.createInstance(...arguments);
}

function isCameraAvailable()
{
	return currentEditor.isCameraAvailable();
}

function getInstanceById()
{
	return currentEditor.getInstanceById(...arguments);
}

function getOrCreateInstanceById()
{
	return currentEditor.getOrCreateInstanceById(...arguments);
}
export {
	currentEditor as Editor,
	MaskEditor,
	createInstance,
	getInstanceById,
	getOrCreateInstanceById,
	isCameraAvailable
};

CameraTab.check();
const BX = Reflection.namespace('BX');
BX.AvatarEditor = currentEditor;

Youez - 2016 - github.com/yon3zu
LinuXploit