b0VIM 9.0      ì{±j| íb  git                                     localhost                               ~git/storage/VDMDI/Comms/src/ViewModel/Global/coreViewModel.ts                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               utf-8 3210    #"! U                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 tp           i                            U       j                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ad     ×     i       å  »  r  4  ø  º  t  2  ö  õ  Ð  §  ¦  †  …  v  ?  >    î  è  ¿  ›  •  q  3  ø  ¾  ¸  ·  ¢  ‡  \  K  >  #  î
  É
  ¿
  «
  ª
  
  <
  
  Ù	  ™	  [	  Q	  J	  I	  	  ×  »  ˆ  b    ñ  §  }  s  l  k  ^  (  õ  Ö  §  ¡     �  D  =  <    ø  ª  –  k  d  c  P  	    õ  ß  £  „  ƒ  5  é  è  Ü  Ë  —  a  '  ñ  ³  «  �  D  C  ü  û  ×  Ö                                 window.onpopstate = () => {          document.body.addEventListener("keydown", this.handleKeyDown);              allTranslations[settingsModel.language] || allTranslations.en;         this.translations =     ) {         public readonly fileTransferModel: FileTransferModel,         public readonly chatListModel: ChatListModel,         public readonly connectionModel: ConnectionModel,         public readonly settingsModel: SettingsModel,         public readonly storageModel: StorageModel,     constructor(     // init      taskStatusSuggestions: React.ListState<string> = new React.ListState();     taskCategorySuggestions: React.ListState<string> = new React.ListState();          new React.ListState();     boardFilterStringSuggestions: React.ListState<string> =     // boards & tasks     // SUGGESTIONS      draggedObject: React.State<any> = new React.State<any>(undefined);     // DRAG & DROP      };         this.todayDate.value = new Date();             return;         if (this.unwrappedTodayDate.toDateString() == newDate.toDateString())         const newDate = new Date();     handleChron = (): void => {      };         setInterval(this.chronHandlerManager.trigger, 2000);     startChron = (): void => {      }         return new Date(this.todayDate.value);     get unwrappedTodayDate() {     todayDate = new React.State<Date>(new Date());     chronHandlerManager = new HandlerManager<void>();     // CHRON      };         }             if (isHandled == true) break;             const isHandled: boolean = currentContext.handleKeystroke(e);             if (!currentContext) return;             const currentContext: Context | undefined = contexts.pop();         while (contexts.length > 0) {         const contexts: Context[] = this.contexts;         e.preventDefault();         if (CoreViewModel.checkIsKeystroke(e) == false) return;     handleKeyDown = (e: KeyboardEvent): void => {      };         }             if (currentContext.contextId == contextId) break;             this.contextStack.delete(currentContext.contextId);             currentContext.handleContextClose(fromHistoryEvent); 	    if (!currentContext) return;             const currentContext: Context|undefined= this.context;         while (this.contexts.length > 0) {              return;         )                 .includes(contextId)                 .map((context) => context.contextId)             !this.contexts         if (     ): void => {         fromHistoryEvent: boolean = false,         contextId: string,     closeContext = (      }         history.pushState({ id: context.contextId }, "");         this.contextStack.set(context.contextId, context);         if (this.contextStack.has(context.contextId)) return;     set context(context: Context) {     }         return this.contexts.pop();     get context(): Context | undefined {     }         return [...this.contextStack.values()];     get contexts(): Context[] {      private contextStack = new Map<string, Context>();     // CONTEXT      translations: Translations;      readonly BUILD = "Build 26.09.21.B"; export default class CoreViewModel {  import ChatListModel from "../../Model/Chat/chatListModel"; import ConnectionModel from "../../Model/Global/connectionModel"; import FileTransferModel from "../../Model/Global/fileTransferModel"; import SettingsModel from "../../Model/Global/settingsModel"; import StorageModel from "../../Model/Global/storageModel"; import { HandlerManager } from "../../Model/Utility/utility"; import { allTranslations, Translations } from "../../View/translations"; import * as React from "bloatless-react"; import { v4 } from "uuid"; ad  y  å     U       à  £  ˜  —  |  O  0           ô  »  †  €  ~  }  f  P       è  ¦  …  z  [  M  8  1  0    ª  ©  h  B  ;  :  ÿ  ý  ü  Î  ¨  b  a  E  /  )  ý
  ã
  Ý
  Ü
   
  w
  p
  o
  G
  
  ñ	  ¼	  ­	  £	  t	  m	  l	  I	  	  	  ô  Û  “  }  r  L    è  Þ  Ý  §  r  k  f    í  ç  å                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         }     } 	super(contextDebugDescription);     constructor(contextDebugDescription: string, public coreViewModel: CoreViewModel) {          };         this.currentContext.value = selectedContext;         this.coreViewModel.context = selectedContext;          }             this.closeCurrentContext();         if (selectedContext != this.currentContext.value) {         if (!selectedContext) return;         );             selection         const selectedContext: Context | undefined = this.contexts.get( 	if (!selection) return; 	const selection = this.contextSelection;          if (this.isOpen == false) return;     updateContexts = (): void => {      };         this.currentContext.value = undefined;         }             );                 this.currentContext.value.contextId,             this.coreViewModel.closeContext(         if (this.currentContext.value) {     closeCurrentContext = (): void => {      };         this.contexts.set(key, context);     registerContext = (key: T, context: Context): void => {      }         return undefined;     get contextSelection(): T | undefined {     }         return false;     get isOpen(): boolean {      currentContext = new React.State<Context | undefined>(undefined);     contexts = new Map<T, Context>(); export class ContextHost<T> extends Context {  }     constructor(public contextDebugDescription: string) {}      };         this.keystrokes.set(key, fn);     registerKeyStroke = (key: string, fn: () => void): void => {      handleContextClose = (fromHistoryEvent: boolean): void => {};                                   close = (): void => {};      };         return true;         fn();         if (!fn) return false;         );             e.key.toLowerCase(),         const fn: (() => void) | undefined = this.keystrokes.get(     handleKeystroke = (e: KeyboardEvent): boolean => {      keystrokes = new Map<string, () => void>();     contextId = v4(); export class Context {  }     }         return (e.metaKey || e.altKey) && e.ctrlKey;     static checkIsKeystroke(e: KeyboardEvent): boolean {     // util      }         );             this.handleChron,             "core-view-model",         this.chronHandlerManager.setHandler(         this.startChron();          };             this.closeContext(this.context.contextId, true); 	    if (!this.context) return; 