// console.log("IMP_TRC","hooks.js") import React, { Component } from 'react'; import * as react_mod from 'react'; // import { MiddlewareRegistry } from '../../react/features/base/redux'; import { MiddlewareRegistry,ReducerRegistry } from '../../react/features/base/redux'; import * as base_redux from '../../react/features/base/redux'; import * as filmstrip from '../../react/features/filmstrip'; // toolbox\components // C:\bspace\repos\jc9\jitsi_corner9\react\features\toolbox\components import * as filmstrip_web_Thumbnail from '../../react/features/filmstrip/components/web/Thumbnail'; import * as filmstrip_web_ThumbnailWrapper from '../../react/features/filmstrip/components/web/ThumbnailWrapper'; import { connect as reduxConnect } from 'react-redux'; import * as react_redux from 'react-redux'; import { FixedSizeList, FixedSizeGrid } from 'react-window'; import * as react_window from 'react-window'; // import { LAYOUTS } from './constants'; import * as video_layout from '../../react/features/video-layout'; import * as espree from "espree"; import * as esprima from "esprima"; import * as toolbox_components from '../../react/features/toolbox/components'; // import * as toolbox_mod from '../../react/features/toolbox'; import * as toolbox from '../../react/features/toolbox/components/web/Toolbox'; // import * as base_config_web_fns from "'../../react/features/base/config/functions.web"; // import { isToolbarButtonEnabled } from '../../../base/config/functions.web'; import { isToolbarButtonEnabled } from '../../react/features/base/config/functions.web'; // import CONFIG_WHITELIST from "'../../react/features/base/config"; import * as toolbox_constants from '../../react/features/toolbox/constants'; import * as toolbox_functions from '../../react/features/toolbox/functions'; import * as large_video from '../../react/features/large-video/components/LargeVideo.web'; import * as large_video_mod from '../../react/features/large-video'; import * as LargeVideoManager from '../../modules/UI/videolayout/LargeVideoManager'; // C:\ws\repos\jitsi_main\jc9\jitsi_corner9\modules\UI\videolayout\LargeVideoManager.js // C:\ws\repos\jitsi_main\jc9\jitsi_corner9\react\features\large-video\components\LargeVideo.web.js // import { isToolbarButtonEnabled } from '../../../base/config/functions.web'; // import { THRESHOLDS, NOT_APPLICABLE, NOTIFY_CLICK_MODE } from '../../constants'; // import { isDesktopShareButtonDisabled, isToolboxVisible } from '../../functions'; // import * as babel_eslint from "babel/eslint-parser"; // import * as babel from "babel"; // const ast = espree.parse(code); // import { LAYOUTS } from './constants'; // C:\bspace\repos\jc9\jitsi_corner9\react\features\video-layout\functions.any.js // C:\bspace\repos\jc9\jitsi_corner9\react\features\filmstrip\components\web\Thumbnail.js /* if (window.dev_middleware_listner){ MiddlewareRegistry.register(store => next => action => { MiddlewareRegistry.register(store => next => action => { // clog("dbg zyx",action.type) // if setTimeout(window.dev_middleware_listner,1,{store,next,action,that:this}) // window.dev_middleware_listner({store,next,action,that:this}) // switch(action.type){ // case "CONFERENCE_JOINED": // } return next(action); }); } */ /* function hook_dev(){ console.log("ONL_: hook_dev",{MiddlewareRegistry,ReducerRegistry}) hook_dev() } */ import './nooks' if (window.glob_rx){ console.log("ONL_: GLOB_RX") console.log("CAN: YOU FINDME_make_deploy!!") MiddlewareRegistry.register(store => next => action => { var o if (glob_rx?.fns?.dev_middleware_listner_sync_prevent){ // if (glob_rx?.fns?.dev_middleware_listner_sync_prevent){ o = glob_rx.fns.dev_middleware_listner_sync_prevent({store,next,action,that:this}) } // setTimeout(window.dev_middleware_listner,1,{store,next,action,that:this}) if (o && o.prevent){ clog(":prevent:") if ("ret" in o){ return o.ret } } else { return next(action); } }); // console.log("idk jdev..") MiddlewareRegistry.register(store => next => action => { glob_rx?.fns?.dev_middleware_listner ? setTimeout(glob_rx.fns.dev_middleware_listner,1,{store,next,action,that:this}) : 0 return next(action); /* if (glob_rx.fns.dev_middleware_listner){ setTimeout(glob_rx.fns.dev_middleware_listner,1,{store,next,action,that:this}) } if (window.dev_middleware_listner){ setTimeout(window.dev_middleware_listner,1,{store,next,action,that:this}) } */ }) MiddlewareRegistry.register(store => next => action => { glob_rx?.fns?.dev_middleware_listner_sync ? glob_rx.fns.dev_middleware_listner_sync({store,next,action,that:this}) : 0 return next(action); }) /* MiddlewareRegistry.register(store => next => action => { glob_rx?.fns?.dev_middleware_listner_sync_v2 ? glob_rx.fns.dev_middleware_listner_sync_v2({store,next,action,that:this}) : 0 return next(action); }) */ // react_window,FixedSizeList, FixedSizeGrid if (glob_rx.react.i){ glob_rx.react.i.MiddlewareRegistry = MiddlewareRegistry glob_rx.react.i.reduxConnect = reduxConnect glob_rx.react.i.ReducerRegistry = ReducerRegistry glob_rx.react.i.Component = Component glob_rx.react.i.React = React glob_rx.react.i.FixedSizeList = FixedSizeList glob_rx.react.i.FixedSizeGrid = FixedSizeGrid glob_rx.react.i.toolbox = toolbox glob_rx.react.i.toolbox_constants = toolbox_constants glob_rx.react.i.toolbox_functions = toolbox_functions glob_rx.react.i.isToolbarButtonEnabled = isToolbarButtonEnabled glob_rx.react.i.filmstrip_web_ThumbnailWrapper = filmstrip_web_ThumbnailWrapper glob_rx.react.modules.react_redux = react_redux glob_rx.react.modules.react_mod = react_mod glob_rx.react.modules.large_video_mod = large_video_mod glob_rx.react.modules.large_video = large_video glob_rx.react.modules.LargeVideoManager = LargeVideoManager glob_rx.react.modules.base_redux = base_redux glob_rx.react.modules.filmstrip = filmstrip glob_rx.react.modules.filmstrip_web_Thumbnail = filmstrip_web_Thumbnail glob_rx.react.modules.react_window = react_window glob_rx.react.modules.video_layout = video_layout glob_rx.react.modules.toolbox_components = toolbox_components glob_rx.react.modules.espree = espree glob_rx.react.modules.esprima = esprima // glob_rx.react.modules.base_config = base_config // glob_rx.react.modules.base_config_web_fns = base_config_web_fns // glob_rx.react.modules.babel_eslint = babel_eslint // glob_rx.react.modules.babel = babel // glob_rx.react.modules.toolbox_mod = toolbox_mod } // glob_rx.react.i }