├── .gitignore ├── .idea ├── inspectionProfiles │ └── Project_Default.xml ├── k8s-client-go.iml ├── misc.xml ├── modules.xml └── vcs.xml ├── README.md ├── common ├── deploy.go ├── deployment.go ├── init_client.go ├── pod.go └── service.go ├── conf ├── admin.conf ├── new-nginx.yaml ├── nginx-service.yaml ├── nginx.yaml └── old-nginx.yaml ├── data ├── failed-to-success.log ├── failed.log ├── hello-node.json ├── nginx.json └── success.log ├── go.mod ├── go.sum ├── k8scrd ├── crd.yaml ├── hack │ └── update-codegen.sh ├── main.go ├── my-nginx.yaml └── pkg │ ├── apis │ └── nginx_controller │ │ ├── register.go │ │ └── v1 │ │ ├── doc.go │ │ ├── register.go │ │ ├── types.go │ │ └── zz_generated.deepcopy.go │ └── client │ ├── clientset │ └── versioned │ │ ├── clientset.go │ │ ├── doc.go │ │ ├── fake │ │ ├── clientset_generated.go │ │ ├── doc.go │ │ └── register.go │ │ ├── scheme │ │ ├── doc.go │ │ └── register.go │ │ └── typed │ │ └── nginx_controller │ │ └── v1 │ │ ├── doc.go │ │ ├── fake │ │ ├── doc.go │ │ ├── fake_nginx.go │ │ └── fake_nginx_controller_client.go │ │ ├── generated_expansion.go │ │ ├── nginx.go │ │ └── nginx_controller_client.go │ ├── informers │ └── externalversions │ │ ├── factory.go │ │ ├── generic.go │ │ ├── internalinterfaces │ │ └── factory_interfaces.go │ │ └── nginx_controller │ │ ├── interface.go │ │ └── v1 │ │ ├── interface.go │ │ └── nginx.go │ └── listers │ └── nginx_controller │ └── v1 │ ├── expansion_generated.go │ └── nginx.go ├── k8scrdctrl ├── controller │ ├── nginx_controller.go │ ├── nginx_worker.go │ └── pod_worker.go ├── crd.yaml ├── hack │ └── update-codegen.sh ├── main.go ├── my-nginx.yaml └── pkg │ ├── apis │ └── nginx_controller │ │ ├── register.go │ │ └── v1 │ │ ├── doc.go │ │ ├── register.go │ │ ├── types.go │ │ └── zz_generated.deepcopy.go │ └── client │ ├── clientset │ └── versioned │ │ ├── clientset.go │ │ ├── doc.go │ │ ├── fake │ │ ├── clientset_generated.go │ │ ├── doc.go │ │ └── register.go │ │ ├── scheme │ │ ├── doc.go │ │ └── register.go │ │ └── typed │ │ └── nginx_controller │ │ └── v1 │ │ ├── doc.go │ │ ├── fake │ │ ├── doc.go │ │ ├── fake_nginx.go │ │ └── fake_nginx_controller_client.go │ │ ├── generated_expansion.go │ │ ├── nginx.go │ │ └── nginx_controller_client.go │ ├── informers │ └── externalversions │ │ ├── factory.go │ │ ├── generic.go │ │ ├── internalinterfaces │ │ └── factory_interfaces.go │ │ └── nginx_controller │ │ ├── interface.go │ │ └── v1 │ │ ├── interface.go │ │ └── nginx.go │ └── listers │ └── nginx_controller │ └── v1 │ ├── expansion_generated.go │ └── nginx.go ├── klog └── main.go ├── login-pre ├── index.html ├── node_modules │ └── xterm │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ ├── addons │ │ │ ├── attach │ │ │ │ ├── attach.js │ │ │ │ └── attach.js.map │ │ │ ├── fit │ │ │ │ ├── fit.js │ │ │ │ └── fit.js.map │ │ │ ├── fullscreen │ │ │ │ ├── fullscreen.css │ │ │ │ ├── fullscreen.js │ │ │ │ └── fullscreen.js.map │ │ │ ├── search │ │ │ │ ├── search.js │ │ │ │ └── search.js.map │ │ │ ├── terminado │ │ │ │ ├── terminado.js │ │ │ │ └── terminado.js.map │ │ │ ├── webLinks │ │ │ │ ├── webLinks.js │ │ │ │ └── webLinks.js.map │ │ │ ├── winptyCompat │ │ │ │ ├── winptyCompat.js │ │ │ │ └── winptyCompat.js.map │ │ │ └── zmodem │ │ │ │ ├── zmodem.js │ │ │ │ └── zmodem.js.map │ │ ├── xterm.css │ │ ├── xterm.js │ │ └── xterm.js.map │ │ ├── gulpfile.js │ │ ├── lib │ │ ├── AccessibilityManager.js │ │ ├── AccessibilityManager.js.map │ │ ├── Buffer.js │ │ ├── Buffer.js.map │ │ ├── BufferLine.js │ │ ├── BufferLine.js.map │ │ ├── BufferSet.js │ │ ├── BufferSet.js.map │ │ ├── CharWidth.js │ │ ├── CharWidth.js.map │ │ ├── CompositionHelper.js │ │ ├── CompositionHelper.js.map │ │ ├── EscapeSequenceParser.js │ │ ├── EscapeSequenceParser.js.map │ │ ├── InputHandler.js │ │ ├── InputHandler.js.map │ │ ├── Linkifier.js │ │ ├── Linkifier.js.map │ │ ├── SelectionManager.js │ │ ├── SelectionManager.js.map │ │ ├── SelectionModel.js │ │ ├── SelectionModel.js.map │ │ ├── SoundManager.js │ │ ├── SoundManager.js.map │ │ ├── Strings.js │ │ ├── Strings.js.map │ │ ├── Terminal.integration.js │ │ ├── Terminal.integration.js.map │ │ ├── Terminal.js │ │ ├── Terminal.js.map │ │ ├── Types.js │ │ ├── Types.js.map │ │ ├── Viewport.js │ │ ├── Viewport.js.map │ │ ├── addons │ │ │ ├── attach │ │ │ │ ├── Interfaces.d.ts │ │ │ │ ├── Interfaces.js │ │ │ │ ├── Interfaces.js.map │ │ │ │ ├── attach.d.ts │ │ │ │ ├── attach.js │ │ │ │ └── attach.js.map │ │ │ ├── fit │ │ │ │ ├── fit.d.ts │ │ │ │ ├── fit.js │ │ │ │ └── fit.js.map │ │ │ ├── fullscreen │ │ │ │ ├── fullscreen.css │ │ │ │ ├── fullscreen.d.ts │ │ │ │ ├── fullscreen.js │ │ │ │ └── fullscreen.js.map │ │ │ ├── search │ │ │ │ ├── Interfaces.d.ts │ │ │ │ ├── Interfaces.js │ │ │ │ ├── Interfaces.js.map │ │ │ │ ├── SearchHelper.d.ts │ │ │ │ ├── SearchHelper.js │ │ │ │ ├── SearchHelper.js.map │ │ │ │ ├── search.d.ts │ │ │ │ ├── search.js │ │ │ │ └── search.js.map │ │ │ ├── terminado │ │ │ │ ├── Interfaces.d.ts │ │ │ │ ├── Interfaces.js │ │ │ │ ├── Interfaces.js.map │ │ │ │ ├── terminado.d.ts │ │ │ │ ├── terminado.js │ │ │ │ └── terminado.js.map │ │ │ ├── webLinks │ │ │ │ ├── webLinks.d.ts │ │ │ │ ├── webLinks.js │ │ │ │ └── webLinks.js.map │ │ │ ├── winptyCompat │ │ │ │ ├── Interfaces.d.ts │ │ │ │ ├── Interfaces.js │ │ │ │ ├── Interfaces.js.map │ │ │ │ ├── winptyCompat.d.ts │ │ │ │ ├── winptyCompat.js │ │ │ │ └── winptyCompat.js.map │ │ │ └── zmodem │ │ │ │ ├── zmodem.d.ts │ │ │ │ ├── zmodem.js │ │ │ │ └── zmodem.js.map │ │ ├── common │ │ │ ├── CircularList.js │ │ │ ├── CircularList.js.map │ │ │ ├── EventEmitter.js │ │ │ ├── EventEmitter.js.map │ │ │ ├── Lifecycle.js │ │ │ ├── Lifecycle.js.map │ │ │ ├── TypedArrayUtils.js │ │ │ ├── TypedArrayUtils.js.map │ │ │ ├── Types.js │ │ │ ├── Types.js.map │ │ │ └── data │ │ │ │ ├── EscapeSequences.js │ │ │ │ └── EscapeSequences.js.map │ │ ├── core │ │ │ ├── Platform.js │ │ │ ├── Platform.js.map │ │ │ ├── Types.js │ │ │ ├── Types.js.map │ │ │ ├── data │ │ │ │ ├── Charsets.js │ │ │ │ └── Charsets.js.map │ │ │ └── input │ │ │ │ ├── Keyboard.js │ │ │ │ └── Keyboard.js.map │ │ ├── handlers │ │ │ ├── AltClickHandler.js │ │ │ └── AltClickHandler.js.map │ │ ├── public │ │ │ ├── Terminal.js │ │ │ └── Terminal.js.map │ │ ├── renderer │ │ │ ├── BaseRenderLayer.js │ │ │ ├── BaseRenderLayer.js.map │ │ │ ├── CharacterJoinerRegistry.js │ │ │ ├── CharacterJoinerRegistry.js.map │ │ │ ├── ColorManager.js │ │ │ ├── ColorManager.js.map │ │ │ ├── CursorRenderLayer.js │ │ │ ├── CursorRenderLayer.js.map │ │ │ ├── GridCache.js │ │ │ ├── GridCache.js.map │ │ │ ├── LinkRenderLayer.js │ │ │ ├── LinkRenderLayer.js.map │ │ │ ├── Renderer.js │ │ │ ├── Renderer.js.map │ │ │ ├── SelectionRenderLayer.js │ │ │ ├── SelectionRenderLayer.js.map │ │ │ ├── TextRenderLayer.js │ │ │ ├── TextRenderLayer.js.map │ │ │ ├── Types.js │ │ │ ├── Types.js.map │ │ │ ├── atlas │ │ │ │ ├── BaseCharAtlas.js │ │ │ │ ├── BaseCharAtlas.js.map │ │ │ │ ├── CharAtlasCache.js │ │ │ │ ├── CharAtlasCache.js.map │ │ │ │ ├── CharAtlasGenerator.js │ │ │ │ ├── CharAtlasGenerator.js.map │ │ │ │ ├── CharAtlasUtils.js │ │ │ │ ├── CharAtlasUtils.js.map │ │ │ │ ├── DynamicCharAtlas.js │ │ │ │ ├── DynamicCharAtlas.js.map │ │ │ │ ├── LRUMap.js │ │ │ │ ├── LRUMap.js.map │ │ │ │ ├── NoneCharAtlas.js │ │ │ │ ├── NoneCharAtlas.js.map │ │ │ │ ├── StaticCharAtlas.js │ │ │ │ ├── StaticCharAtlas.js.map │ │ │ │ ├── Types.js │ │ │ │ └── Types.js.map │ │ │ └── dom │ │ │ │ ├── DomRenderer.js │ │ │ │ ├── DomRenderer.js.map │ │ │ │ ├── DomRendererRowFactory.js │ │ │ │ └── DomRendererRowFactory.js.map │ │ ├── ui │ │ │ ├── CharMeasure.js │ │ │ ├── CharMeasure.js.map │ │ │ ├── Clipboard.js │ │ │ ├── Clipboard.js.map │ │ │ ├── Lifecycle.js │ │ │ ├── Lifecycle.js.map │ │ │ ├── MouseZoneManager.js │ │ │ ├── MouseZoneManager.js.map │ │ │ ├── RenderDebouncer.js │ │ │ ├── RenderDebouncer.js.map │ │ │ ├── ScreenDprMonitor.js │ │ │ ├── ScreenDprMonitor.js.map │ │ │ ├── Types.js │ │ │ └── Types.js.map │ │ ├── utils │ │ │ ├── Clone.js │ │ │ ├── Clone.js.map │ │ │ ├── MouseHelper.js │ │ │ └── MouseHelper.js.map │ │ ├── xterm.css │ │ ├── xterm.js │ │ └── xterm.js.map │ │ ├── package.json │ │ ├── src │ │ ├── AccessibilityManager.ts │ │ ├── Buffer.ts │ │ ├── BufferLine.ts │ │ ├── BufferSet.ts │ │ ├── CharWidth.ts │ │ ├── CompositionHelper.ts │ │ ├── EscapeSequenceParser.ts │ │ ├── InputHandler.ts │ │ ├── Linkifier.ts │ │ ├── SelectionManager.ts │ │ ├── SelectionModel.ts │ │ ├── SoundManager.ts │ │ ├── Strings.ts │ │ ├── Terminal.integration.ts │ │ ├── Terminal.ts │ │ ├── Types.ts │ │ ├── Viewport.ts │ │ ├── addons │ │ │ ├── attach │ │ │ │ ├── Interfaces.ts │ │ │ │ ├── attach.ts │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ ├── fit │ │ │ │ ├── README.md │ │ │ │ ├── fit.ts │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ ├── fullscreen │ │ │ │ ├── fullscreen.css │ │ │ │ ├── fullscreen.ts │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ ├── search │ │ │ │ ├── Interfaces.ts │ │ │ │ ├── SearchHelper.ts │ │ │ │ ├── package.json │ │ │ │ ├── search.ts │ │ │ │ └── tsconfig.json │ │ │ ├── terminado │ │ │ │ ├── Interfaces.ts │ │ │ │ ├── package.json │ │ │ │ ├── terminado.ts │ │ │ │ └── tsconfig.json │ │ │ ├── webLinks │ │ │ │ ├── package.json │ │ │ │ ├── tsconfig.json │ │ │ │ └── webLinks.ts │ │ │ ├── winptyCompat │ │ │ │ ├── Interfaces.ts │ │ │ │ ├── package.json │ │ │ │ ├── tsconfig.json │ │ │ │ └── winptyCompat.ts │ │ │ └── zmodem │ │ │ │ ├── package.json │ │ │ │ ├── tsconfig.json │ │ │ │ └── zmodem.ts │ │ ├── common │ │ │ ├── CircularList.ts │ │ │ ├── EventEmitter.ts │ │ │ ├── Lifecycle.ts │ │ │ ├── TypedArrayUtils.ts │ │ │ ├── Types.ts │ │ │ ├── data │ │ │ │ └── EscapeSequences.ts │ │ │ └── tsconfig.json │ │ ├── core │ │ │ ├── Platform.ts │ │ │ ├── Types.ts │ │ │ ├── data │ │ │ │ └── Charsets.ts │ │ │ ├── input │ │ │ │ └── Keyboard.ts │ │ │ └── tsconfig.json │ │ ├── handlers │ │ │ └── AltClickHandler.ts │ │ ├── public │ │ │ └── Terminal.ts │ │ ├── renderer │ │ │ ├── BaseRenderLayer.ts │ │ │ ├── CharacterJoinerRegistry.ts │ │ │ ├── ColorManager.ts │ │ │ ├── CursorRenderLayer.ts │ │ │ ├── GridCache.ts │ │ │ ├── LinkRenderLayer.ts │ │ │ ├── Renderer.ts │ │ │ ├── SelectionRenderLayer.ts │ │ │ ├── TextRenderLayer.ts │ │ │ ├── Types.ts │ │ │ ├── atlas │ │ │ │ ├── BaseCharAtlas.ts │ │ │ │ ├── CharAtlasCache.ts │ │ │ │ ├── CharAtlasGenerator.ts │ │ │ │ ├── CharAtlasUtils.ts │ │ │ │ ├── DynamicCharAtlas.ts │ │ │ │ ├── LRUMap.ts │ │ │ │ ├── NoneCharAtlas.ts │ │ │ │ ├── StaticCharAtlas.ts │ │ │ │ └── Types.ts │ │ │ └── dom │ │ │ │ ├── DomRenderer.ts │ │ │ │ └── DomRendererRowFactory.ts │ │ ├── ui │ │ │ ├── CharMeasure.ts │ │ │ ├── Clipboard.ts │ │ │ ├── Lifecycle.ts │ │ │ ├── MouseZoneManager.ts │ │ │ ├── RenderDebouncer.ts │ │ │ ├── ScreenDprMonitor.ts │ │ │ └── Types.ts │ │ ├── utils │ │ │ ├── Clone.ts │ │ │ └── MouseHelper.ts │ │ ├── xterm.css │ │ └── xterm.ts │ │ ├── tsconfig.json │ │ ├── tslint.json │ │ └── typings │ │ └── xterm.d.ts └── package-lock.json ├── login ├── index.html ├── main.go ├── node_modules │ └── xterm │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ ├── addons │ │ │ ├── attach │ │ │ │ ├── attach.js │ │ │ │ └── attach.js.map │ │ │ ├── fit │ │ │ │ ├── fit.js │ │ │ │ └── fit.js.map │ │ │ ├── fullscreen │ │ │ │ ├── fullscreen.css │ │ │ │ ├── fullscreen.js │ │ │ │ └── fullscreen.js.map │ │ │ ├── search │ │ │ │ ├── search.js │ │ │ │ └── search.js.map │ │ │ ├── terminado │ │ │ │ ├── terminado.js │ │ │ │ └── terminado.js.map │ │ │ ├── webLinks │ │ │ │ ├── webLinks.js │ │ │ │ └── webLinks.js.map │ │ │ ├── winptyCompat │ │ │ │ ├── winptyCompat.js │ │ │ │ └── winptyCompat.js.map │ │ │ └── zmodem │ │ │ │ ├── zmodem.js │ │ │ │ └── zmodem.js.map │ │ ├── xterm.css │ │ ├── xterm.js │ │ └── xterm.js.map │ │ ├── gulpfile.js │ │ ├── lib │ │ ├── AccessibilityManager.js │ │ ├── AccessibilityManager.js.map │ │ ├── Buffer.js │ │ ├── Buffer.js.map │ │ ├── BufferLine.js │ │ ├── BufferLine.js.map │ │ ├── BufferSet.js │ │ ├── BufferSet.js.map │ │ ├── CharWidth.js │ │ ├── CharWidth.js.map │ │ ├── CompositionHelper.js │ │ ├── CompositionHelper.js.map │ │ ├── EscapeSequenceParser.js │ │ ├── EscapeSequenceParser.js.map │ │ ├── InputHandler.js │ │ ├── InputHandler.js.map │ │ ├── Linkifier.js │ │ ├── Linkifier.js.map │ │ ├── SelectionManager.js │ │ ├── SelectionManager.js.map │ │ ├── SelectionModel.js │ │ ├── SelectionModel.js.map │ │ ├── SoundManager.js │ │ ├── SoundManager.js.map │ │ ├── Strings.js │ │ ├── Strings.js.map │ │ ├── Terminal.integration.js │ │ ├── Terminal.integration.js.map │ │ ├── Terminal.js │ │ ├── Terminal.js.map │ │ ├── Types.js │ │ ├── Types.js.map │ │ ├── Viewport.js │ │ ├── Viewport.js.map │ │ ├── addons │ │ │ ├── attach │ │ │ │ ├── Interfaces.d.ts │ │ │ │ ├── Interfaces.js │ │ │ │ ├── Interfaces.js.map │ │ │ │ ├── attach.d.ts │ │ │ │ ├── attach.js │ │ │ │ └── attach.js.map │ │ │ ├── fit │ │ │ │ ├── fit.d.ts │ │ │ │ ├── fit.js │ │ │ │ └── fit.js.map │ │ │ ├── fullscreen │ │ │ │ ├── fullscreen.css │ │ │ │ ├── fullscreen.d.ts │ │ │ │ ├── fullscreen.js │ │ │ │ └── fullscreen.js.map │ │ │ ├── search │ │ │ │ ├── Interfaces.d.ts │ │ │ │ ├── Interfaces.js │ │ │ │ ├── Interfaces.js.map │ │ │ │ ├── SearchHelper.d.ts │ │ │ │ ├── SearchHelper.js │ │ │ │ ├── SearchHelper.js.map │ │ │ │ ├── search.d.ts │ │ │ │ ├── search.js │ │ │ │ └── search.js.map │ │ │ ├── terminado │ │ │ │ ├── Interfaces.d.ts │ │ │ │ ├── Interfaces.js │ │ │ │ ├── Interfaces.js.map │ │ │ │ ├── terminado.d.ts │ │ │ │ ├── terminado.js │ │ │ │ └── terminado.js.map │ │ │ ├── webLinks │ │ │ │ ├── webLinks.d.ts │ │ │ │ ├── webLinks.js │ │ │ │ └── webLinks.js.map │ │ │ ├── winptyCompat │ │ │ │ ├── Interfaces.d.ts │ │ │ │ ├── Interfaces.js │ │ │ │ ├── Interfaces.js.map │ │ │ │ ├── winptyCompat.d.ts │ │ │ │ ├── winptyCompat.js │ │ │ │ └── winptyCompat.js.map │ │ │ └── zmodem │ │ │ │ ├── zmodem.d.ts │ │ │ │ ├── zmodem.js │ │ │ │ └── zmodem.js.map │ │ ├── common │ │ │ ├── CircularList.js │ │ │ ├── CircularList.js.map │ │ │ ├── EventEmitter.js │ │ │ ├── EventEmitter.js.map │ │ │ ├── Lifecycle.js │ │ │ ├── Lifecycle.js.map │ │ │ ├── TypedArrayUtils.js │ │ │ ├── TypedArrayUtils.js.map │ │ │ ├── Types.js │ │ │ ├── Types.js.map │ │ │ └── data │ │ │ │ ├── EscapeSequences.js │ │ │ │ └── EscapeSequences.js.map │ │ ├── core │ │ │ ├── Platform.js │ │ │ ├── Platform.js.map │ │ │ ├── Types.js │ │ │ ├── Types.js.map │ │ │ ├── data │ │ │ │ ├── Charsets.js │ │ │ │ └── Charsets.js.map │ │ │ └── input │ │ │ │ ├── Keyboard.js │ │ │ │ └── Keyboard.js.map │ │ ├── handlers │ │ │ ├── AltClickHandler.js │ │ │ └── AltClickHandler.js.map │ │ ├── public │ │ │ ├── Terminal.js │ │ │ └── Terminal.js.map │ │ ├── renderer │ │ │ ├── BaseRenderLayer.js │ │ │ ├── BaseRenderLayer.js.map │ │ │ ├── CharacterJoinerRegistry.js │ │ │ ├── CharacterJoinerRegistry.js.map │ │ │ ├── ColorManager.js │ │ │ ├── ColorManager.js.map │ │ │ ├── CursorRenderLayer.js │ │ │ ├── CursorRenderLayer.js.map │ │ │ ├── GridCache.js │ │ │ ├── GridCache.js.map │ │ │ ├── LinkRenderLayer.js │ │ │ ├── LinkRenderLayer.js.map │ │ │ ├── Renderer.js │ │ │ ├── Renderer.js.map │ │ │ ├── SelectionRenderLayer.js │ │ │ ├── SelectionRenderLayer.js.map │ │ │ ├── TextRenderLayer.js │ │ │ ├── TextRenderLayer.js.map │ │ │ ├── Types.js │ │ │ ├── Types.js.map │ │ │ ├── atlas │ │ │ │ ├── BaseCharAtlas.js │ │ │ │ ├── BaseCharAtlas.js.map │ │ │ │ ├── CharAtlasCache.js │ │ │ │ ├── CharAtlasCache.js.map │ │ │ │ ├── CharAtlasGenerator.js │ │ │ │ ├── CharAtlasGenerator.js.map │ │ │ │ ├── CharAtlasUtils.js │ │ │ │ ├── CharAtlasUtils.js.map │ │ │ │ ├── DynamicCharAtlas.js │ │ │ │ ├── DynamicCharAtlas.js.map │ │ │ │ ├── LRUMap.js │ │ │ │ ├── LRUMap.js.map │ │ │ │ ├── NoneCharAtlas.js │ │ │ │ ├── NoneCharAtlas.js.map │ │ │ │ ├── StaticCharAtlas.js │ │ │ │ ├── StaticCharAtlas.js.map │ │ │ │ ├── Types.js │ │ │ │ └── Types.js.map │ │ │ └── dom │ │ │ │ ├── DomRenderer.js │ │ │ │ ├── DomRenderer.js.map │ │ │ │ ├── DomRendererRowFactory.js │ │ │ │ └── DomRendererRowFactory.js.map │ │ ├── ui │ │ │ ├── CharMeasure.js │ │ │ ├── CharMeasure.js.map │ │ │ ├── Clipboard.js │ │ │ ├── Clipboard.js.map │ │ │ ├── Lifecycle.js │ │ │ ├── Lifecycle.js.map │ │ │ ├── MouseZoneManager.js │ │ │ ├── MouseZoneManager.js.map │ │ │ ├── RenderDebouncer.js │ │ │ ├── RenderDebouncer.js.map │ │ │ ├── ScreenDprMonitor.js │ │ │ ├── ScreenDprMonitor.js.map │ │ │ ├── Types.js │ │ │ └── Types.js.map │ │ ├── utils │ │ │ ├── Clone.js │ │ │ ├── Clone.js.map │ │ │ ├── MouseHelper.js │ │ │ └── MouseHelper.js.map │ │ ├── xterm.css │ │ ├── xterm.js │ │ └── xterm.js.map │ │ ├── package.json │ │ ├── src │ │ ├── AccessibilityManager.ts │ │ ├── Buffer.ts │ │ ├── BufferLine.ts │ │ ├── BufferSet.ts │ │ ├── CharWidth.ts │ │ ├── CompositionHelper.ts │ │ ├── EscapeSequenceParser.ts │ │ ├── InputHandler.ts │ │ ├── Linkifier.ts │ │ ├── SelectionManager.ts │ │ ├── SelectionModel.ts │ │ ├── SoundManager.ts │ │ ├── Strings.ts │ │ ├── Terminal.integration.ts │ │ ├── Terminal.ts │ │ ├── Types.ts │ │ ├── Viewport.ts │ │ ├── addons │ │ │ ├── attach │ │ │ │ ├── Interfaces.ts │ │ │ │ ├── attach.ts │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ ├── fit │ │ │ │ ├── README.md │ │ │ │ ├── fit.ts │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ ├── fullscreen │ │ │ │ ├── fullscreen.css │ │ │ │ ├── fullscreen.ts │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ ├── search │ │ │ │ ├── Interfaces.ts │ │ │ │ ├── SearchHelper.ts │ │ │ │ ├── package.json │ │ │ │ ├── search.ts │ │ │ │ └── tsconfig.json │ │ │ ├── terminado │ │ │ │ ├── Interfaces.ts │ │ │ │ ├── package.json │ │ │ │ ├── terminado.ts │ │ │ │ └── tsconfig.json │ │ │ ├── webLinks │ │ │ │ ├── package.json │ │ │ │ ├── tsconfig.json │ │ │ │ └── webLinks.ts │ │ │ ├── winptyCompat │ │ │ │ ├── Interfaces.ts │ │ │ │ ├── package.json │ │ │ │ ├── tsconfig.json │ │ │ │ └── winptyCompat.ts │ │ │ └── zmodem │ │ │ │ ├── package.json │ │ │ │ ├── tsconfig.json │ │ │ │ └── zmodem.ts │ │ ├── common │ │ │ ├── CircularList.ts │ │ │ ├── EventEmitter.ts │ │ │ ├── Lifecycle.ts │ │ │ ├── TypedArrayUtils.ts │ │ │ ├── Types.ts │ │ │ ├── data │ │ │ │ └── EscapeSequences.ts │ │ │ └── tsconfig.json │ │ ├── core │ │ │ ├── Platform.ts │ │ │ ├── Types.ts │ │ │ ├── data │ │ │ │ └── Charsets.ts │ │ │ ├── input │ │ │ │ └── Keyboard.ts │ │ │ └── tsconfig.json │ │ ├── handlers │ │ │ └── AltClickHandler.ts │ │ ├── public │ │ │ └── Terminal.ts │ │ ├── renderer │ │ │ ├── BaseRenderLayer.ts │ │ │ ├── CharacterJoinerRegistry.ts │ │ │ ├── ColorManager.ts │ │ │ ├── CursorRenderLayer.ts │ │ │ ├── GridCache.ts │ │ │ ├── LinkRenderLayer.ts │ │ │ ├── Renderer.ts │ │ │ ├── SelectionRenderLayer.ts │ │ │ ├── TextRenderLayer.ts │ │ │ ├── Types.ts │ │ │ ├── atlas │ │ │ │ ├── BaseCharAtlas.ts │ │ │ │ ├── CharAtlasCache.ts │ │ │ │ ├── CharAtlasGenerator.ts │ │ │ │ ├── CharAtlasUtils.ts │ │ │ │ ├── DynamicCharAtlas.ts │ │ │ │ ├── LRUMap.ts │ │ │ │ ├── NoneCharAtlas.ts │ │ │ │ ├── StaticCharAtlas.ts │ │ │ │ └── Types.ts │ │ │ └── dom │ │ │ │ ├── DomRenderer.ts │ │ │ │ └── DomRendererRowFactory.ts │ │ ├── ui │ │ │ ├── CharMeasure.ts │ │ │ ├── Clipboard.ts │ │ │ ├── Lifecycle.ts │ │ │ ├── MouseZoneManager.ts │ │ │ ├── RenderDebouncer.ts │ │ │ ├── ScreenDprMonitor.ts │ │ │ └── Types.ts │ │ ├── utils │ │ │ ├── Clone.ts │ │ │ └── MouseHelper.ts │ │ ├── xterm.css │ │ └── xterm.ts │ │ ├── tsconfig.json │ │ ├── tslint.json │ │ └── typings │ │ └── xterm.d.ts ├── package-lock.json └── ws │ └── connection.go └── main.go /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /.idea/k8s-client-go.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # k8s-client-go 2 | 学习client-go用法的demo,改自[k8s-client-go](https://github.com/owenliang/k8s-client-go)。 3 | 4 | # 清单 5 | 6 | * common: 初始化连接,deployment相关,pod相关,service相关,deploy相关 7 | * login-pre: xterm.js的基本用法, 为后续web ssh访问k8s container做铺垫 8 | * login: xterm.js+client-go remotecommand实现完美web ssh登录container 9 | * klog: client-go的sdk日志配置 10 | * k8scrd: 自定义CRD,利用code generation生成controller骨架代码 11 | * k8scrdctrl: 实现一个类似于replicas的controller,动态管理POD数量 12 | 13 | # 参考 14 | 15 | [client-go doc](https://godoc.org/k8s.io/client-go/kubernetes) 16 | -------------------------------------------------------------------------------- /common/init_client.go: -------------------------------------------------------------------------------- 1 | package common 2 | 3 | import ( 4 | "io/ioutil" 5 | "k8s.io/client-go/kubernetes" 6 | "k8s.io/client-go/rest" 7 | "k8s.io/client-go/tools/clientcmd" 8 | ) 9 | 10 | // 初始化k8s客户端 11 | func InitClient(filename string) (kubernetes.Clientset, error) { 12 | 13 | restConf, err := GetRestConf(filename) 14 | if err != nil { 15 | return kubernetes.Clientset{}, err 16 | } 17 | 18 | // 生成clientset配置 19 | clientset, err := kubernetes.NewForConfig(&restConf) 20 | if err != nil { 21 | return kubernetes.Clientset{}, err 22 | } 23 | 24 | return *clientset, nil 25 | } 26 | 27 | // 获取k8s restful client配置 28 | func GetRestConf(filename string) (rest.Config, error) { 29 | 30 | // 读kubeconfig文件 31 | kubeconfig, err := ioutil.ReadFile(filename) 32 | if err != nil { 33 | return rest.Config{}, err 34 | } 35 | // 生成rest client配置 36 | restConf, err := clientcmd.RESTConfigFromKubeConfig(kubeconfig) 37 | if err != nil { 38 | return rest.Config{}, err 39 | } 40 | 41 | return *restConf, nil 42 | } 43 | -------------------------------------------------------------------------------- /common/pod.go: -------------------------------------------------------------------------------- 1 | package common 2 | 3 | import ( 4 | "fmt" 5 | core_v1 "k8s.io/api/core/v1" 6 | meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 7 | "k8s.io/client-go/kubernetes" 8 | ) 9 | 10 | func GetPodsByNamespace(clientset kubernetes.Clientset, namespace string) (core_v1.PodList, error){ 11 | // 获取命名空间下的所有POD 12 | podsList, err := clientset.CoreV1().Pods(namespace).List(meta_v1.ListOptions{}); 13 | if err != nil { 14 | return core_v1.PodList{}, err 15 | } 16 | return *podsList, nil 17 | } 18 | 19 | // 20 | func GetContainerLog(clientset kubernetes.Clientset, namespace string, podName string, containerName string){ 21 | // 获取日志请求 22 | req := clientset.CoreV1().Pods(namespace).GetLogs(podName, &core_v1.PodLogOptions{Container: containerName}) 23 | // req.Stream()也可以实现Do的效果 24 | 25 | // 发送请求 26 | res := req.Do() 27 | if res.Error() != nil { 28 | fmt.Println(res.Error()) 29 | return 30 | } 31 | 32 | // 获取结果 33 | logs, err := res.Raw() 34 | if err != nil { 35 | fmt.Println(err) 36 | return 37 | } 38 | 39 | fmt.Println("容器输出:", string(logs)) 40 | } 41 | -------------------------------------------------------------------------------- /common/service.go: -------------------------------------------------------------------------------- 1 | package common 2 | 3 | import ( 4 | "encoding/json" 5 | "fmt" 6 | "io/ioutil" 7 | core_v1 "k8s.io/api/core/v1" 8 | "k8s.io/apimachinery/pkg/api/errors" 9 | meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 10 | "k8s.io/apimachinery/pkg/util/yaml" 11 | "k8s.io/client-go/kubernetes" 12 | ) 13 | 14 | // 读取service yaml文件 15 | func ReadServiceYaml(filename string) (core_v1.Service) { 16 | // 读取YAML 17 | serviceYaml, err := ioutil.ReadFile(filename) 18 | if err != nil { 19 | fmt.Println(err) 20 | return core_v1.Service{} 21 | } 22 | 23 | // YAML转JSON 24 | deployJson, err := yaml.ToJSON(serviceYaml) 25 | if err != nil { 26 | fmt.Println(err) 27 | return core_v1.Service{} 28 | } 29 | 30 | // JSON转struct 31 | var service core_v1.Service 32 | err = json.Unmarshal(deployJson, &service) 33 | if err != nil { 34 | fmt.Println(err) 35 | return core_v1.Service{} 36 | } 37 | return service 38 | } 39 | 40 | func ApplyService(clientset kubernetes.Clientset, new_service core_v1.Service) { 41 | 42 | // 查询k8s是否有该service 43 | service, err := clientset.CoreV1().Services("default").Get(new_service.Name, meta_v1.GetOptions{}) 44 | if err != nil { 45 | if !errors.IsNotFound(err) { 46 | fmt.Println(err) 47 | return 48 | } 49 | // 不存在则创建 50 | _, err = clientset.CoreV1().Services("default").Create(&new_service) 51 | if err != nil { 52 | fmt.Println(err) 53 | return 54 | } 55 | } else { // 已存在则更新 56 | //service.Spec.Selector = new_service.Spec.Selector 57 | new_service.ResourceVersion = service.ResourceVersion 58 | new_service.Spec.ClusterIP = service.Spec.ClusterIP 59 | _, err = clientset.CoreV1().Services("default").Update(&new_service) 60 | if err != nil { 61 | fmt.Println(err) 62 | return 63 | } 64 | } 65 | 66 | fmt.Printf("apply service %s success!", service.Name) 67 | } 68 | 69 | -------------------------------------------------------------------------------- /conf/admin.conf: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | clusters: 3 | - cluster: 4 | certificate-authority: C:\Users\haojin\.minikube\ca.crt 5 | server: https://192.168.99.100:8443 6 | name: minikube 7 | contexts: 8 | - context: 9 | cluster: minikube 10 | user: minikube 11 | name: minikube 12 | current-context: minikube 13 | kind: Config 14 | preferences: {} 15 | users: 16 | - name: minikube 17 | user: 18 | client-certificate: C:\Users\haojin\.minikube\client.crt 19 | client-key: C:\Users\haojin\.minikube\client.key -------------------------------------------------------------------------------- /conf/new-nginx.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: new-nginx-dp 5 | spec: 6 | replicas: 0 7 | selector: 8 | matchLabels: 9 | app: nginx 10 | track: gray 11 | template: 12 | metadata: 13 | labels: 14 | app: nginx 15 | track: gray 16 | spec: 17 | containers: 18 | - name: old-nginx 19 | image: voidking/nginx:v2.0 20 | ports: 21 | - containerPort: 80 22 | imagePullPolicy: Always -------------------------------------------------------------------------------- /conf/nginx-service.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: nginx-service 5 | spec: 6 | ports: 7 | - port: 80 8 | protocol: TCP 9 | targetPort: 80 10 | selector: 11 | app: nginx 12 | #track: stable 13 | sessionAffinity: None 14 | type: LoadBalancer -------------------------------------------------------------------------------- /conf/nginx.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: nginx 5 | spec: 6 | replicas: 1 7 | selector: 8 | matchLabels: 9 | app: nginx 10 | template: 11 | metadata: 12 | labels: 13 | app: nginx 14 | spec: 15 | containers: 16 | - name: nginx 17 | image: voidking/nginx:v1.0 18 | ports: 19 | - containerPort: 80 20 | imagePullPolicy: Always -------------------------------------------------------------------------------- /conf/old-nginx.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: old-nginx-dp 5 | spec: 6 | replicas: 2 7 | selector: 8 | matchLabels: 9 | app: nginx 10 | track: stable 11 | template: 12 | metadata: 13 | labels: 14 | app: nginx 15 | track: stable 16 | spec: 17 | containers: 18 | - name: old-nginx 19 | image: voidking/nginx:v1.0 20 | ports: 21 | - containerPort: 80 22 | imagePullPolicy: Always -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module k8s-client-go 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/gorilla/websocket v1.4.1 7 | k8s.io/api v0.0.0-20190620084959-7cf5895f2711 8 | k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719 9 | k8s.io/client-go v0.0.0-20190620085101-78d2af792bab 10 | k8s.io/klog v0.3.1 11 | ) 12 | 13 | replace ( 14 | golang.org/x/sync => golang.org/x/sync v0.0.0-20181108010431-42b317875d0f 15 | golang.org/x/sys => golang.org/x/sys v0.0.0-20190209173611-3b5209105503 16 | golang.org/x/tools => golang.org/x/tools v0.0.0-20190313210603-aa82965741a9 17 | k8s.io/api => k8s.io/api v0.0.0-20190620084959-7cf5895f2711 18 | k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719 19 | ) 20 | -------------------------------------------------------------------------------- /k8scrd/crd.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apiextensions.k8s.io/v1beta1 2 | kind: CustomResourceDefinition 3 | metadata: 4 | # name must match the spec fields below, and be in the form: . 5 | name: nginxes.mycompany.com 6 | spec: 7 | # group name to use for REST API: /apis// 8 | group: mycompany.com 9 | # list of versions supported by this CustomResourceDefinition 10 | versions: 11 | - name: v1 12 | # Each version can be enabled/disabled by Served flag. 13 | served: true 14 | # One and only one version must be marked as the storage version. 15 | storage: true 16 | # either Namespaced or Cluster 17 | scope: Cluster 18 | names: 19 | # plural name to be used in the URL: /apis/// 20 | plural: nginxes 21 | # singular name to be used as an alias on the CLI and for display 22 | singular: nginx 23 | # kind is normally the CamelCased singular type. Your resource manifests use this. 24 | kind: Nginx 25 | # shortNames allow shorter string to match your resource on the CLI 26 | shortNames: 27 | - ngx -------------------------------------------------------------------------------- /k8scrd/hack/update-codegen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $GOPATH/src/k8s.io/code-generator/generate-groups.sh all k8s-client-go/demo9/pkg/client k8s-client-go/demo9/pkg/apis nginx_controller:v1 -------------------------------------------------------------------------------- /k8scrd/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "k8s-client-go/common" 6 | "k8s-client-go/k8scrd/pkg/client/clientset/versioned" 7 | "k8s.io/apimachinery/pkg/apis/meta/v1" 8 | ) 9 | 10 | func main() { 11 | 12 | // 读取admin.conf, 生成客户端基本配置 13 | restConf, err := common.GetRestConf("./conf/admin.conf") 14 | if err != nil { 15 | fmt.Println(err) 16 | } 17 | 18 | // 创建CRD的client 19 | crdClientset, err := versioned.NewForConfig(&restConf) 20 | if err != nil { 21 | fmt.Println(err) 22 | } 23 | 24 | // 获取CRD的nginx对象 25 | nginx, err := crdClientset.MycompanyV1().Nginxes("default").Get("nginx", v1.GetOptions{}) 26 | if err != nil { 27 | fmt.Println(err) 28 | } 29 | 30 | fmt.Println(nginx) 31 | 32 | return 33 | } 34 | -------------------------------------------------------------------------------- /k8scrd/my-nginx.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: "mycompany.com/v1" 2 | kind: Nginx 3 | metadata: 4 | name: my-nginx 5 | spec: 6 | replicas: 2 -------------------------------------------------------------------------------- /k8scrd/pkg/apis/nginx_controller/register.go: -------------------------------------------------------------------------------- 1 | package nginx_controller 2 | 3 | const ( 4 | GroupName = "mycompany.com" 5 | ) 6 | -------------------------------------------------------------------------------- /k8scrd/pkg/apis/nginx_controller/v1/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +groupName=mycompany.com 3 | 4 | package v1 -------------------------------------------------------------------------------- /k8scrd/pkg/apis/nginx_controller/v1/register.go: -------------------------------------------------------------------------------- 1 | package v1 2 | 3 | import ( 4 | metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 5 | "k8s.io/apimachinery/pkg/runtime" 6 | "k8s.io/apimachinery/pkg/runtime/schema" 7 | 8 | "k8s-client-go/k8scrd/pkg/apis/nginx_controller" 9 | ) 10 | 11 | // SchemeGroupVersion is group version used to register these objects 12 | var SchemeGroupVersion = schema.GroupVersion{Group: nginx_controller.GroupName, Version: "v1"} 13 | 14 | // Kind takes an unqualified kind and returns back a Group qualified GroupKind 15 | func Kind(kind string) schema.GroupKind { 16 | return SchemeGroupVersion.WithKind(kind).GroupKind() 17 | } 18 | 19 | // Resource takes an unqualified resource and returns a Group qualified GroupResource 20 | func Resource(resource string) schema.GroupResource { 21 | return SchemeGroupVersion.WithResource(resource).GroupResource() 22 | } 23 | 24 | var ( 25 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 26 | AddToScheme = SchemeBuilder.AddToScheme 27 | ) 28 | 29 | // Adds the list of known types to Scheme. 30 | func addKnownTypes(scheme *runtime.Scheme) error { 31 | scheme.AddKnownTypes(SchemeGroupVersion, 32 | &Nginx{}, 33 | &NginxList{}, 34 | ) 35 | metav1.AddToGroupVersion(scheme, SchemeGroupVersion) 36 | return nil 37 | } -------------------------------------------------------------------------------- /k8scrd/pkg/apis/nginx_controller/v1/types.go: -------------------------------------------------------------------------------- 1 | package v1 2 | 3 | import ( 4 | meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 5 | ) 6 | 7 | // +genclient 8 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 9 | 10 | // 单个object, 例如:kubectl get nginxes.mycompany.com {name} -o yaml 11 | type Nginx struct { 12 | meta_v1.TypeMeta `json:",inline"` // Kind, ApiVersion 13 | meta_v1.ObjectMeta `json:"metadata"` // metadata.name, metadata.namespace等... 14 | Spec Spec `json:"spec"` 15 | Status Status `json:"status, omitempty"` 16 | } 17 | 18 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 19 | 20 | // object列表, 例如:kubectl get nginxes.mycompany.com -o yaml 21 | type NginxList struct { 22 | meta_v1.TypeMeta `json:",inline"` // Kind总是List 23 | meta_v1.ListMeta `json:"metadata"` 24 | Items []Nginx `json:"items"` 25 | } 26 | 27 | // 自定义 28 | type Spec struct { 29 | Replicas int `json:"replicas"` 30 | } 31 | 32 | // 自定义 33 | type Status struct { 34 | Message string `json:"message,omitempty"` 35 | } -------------------------------------------------------------------------------- /k8scrd/pkg/client/clientset/versioned/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated clientset. 20 | package versioned 21 | -------------------------------------------------------------------------------- /k8scrd/pkg/client/clientset/versioned/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated fake clientset. 20 | package fake 21 | -------------------------------------------------------------------------------- /k8scrd/pkg/client/clientset/versioned/scheme/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package contains the scheme of the automatically generated clientset. 20 | package scheme 21 | -------------------------------------------------------------------------------- /k8scrd/pkg/client/clientset/versioned/typed/nginx_controller/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /k8scrd/pkg/client/clientset/versioned/typed/nginx_controller/v1/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // Package fake has the automatically generated clients. 20 | package fake 21 | -------------------------------------------------------------------------------- /k8scrd/pkg/client/clientset/versioned/typed/nginx_controller/v1/fake/fake_nginx_controller_client.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package fake 20 | 21 | import ( 22 | v1 "k8s-client-go/demo9/pkg/client/clientset/versioned/typed/nginx_controller/v1" 23 | rest "k8s.io/client-go/rest" 24 | testing "k8s.io/client-go/testing" 25 | ) 26 | 27 | type FakeMycompanyV1 struct { 28 | *testing.Fake 29 | } 30 | 31 | func (c *FakeMycompanyV1) Nginxes(namespace string) v1.NginxInterface { 32 | return &FakeNginxes{c, namespace} 33 | } 34 | 35 | // RESTClient returns a RESTClient that is used to communicate 36 | // with API server by this client implementation. 37 | func (c *FakeMycompanyV1) RESTClient() rest.Interface { 38 | var ret *rest.RESTClient 39 | return ret 40 | } 41 | -------------------------------------------------------------------------------- /k8scrd/pkg/client/clientset/versioned/typed/nginx_controller/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | type NginxExpansion interface{} 22 | -------------------------------------------------------------------------------- /k8scrd/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by informer-gen. DO NOT EDIT. 18 | 19 | package internalinterfaces 20 | 21 | import ( 22 | time "time" 23 | 24 | versioned "k8s-client-go/demo9/pkg/client/clientset/versioned" 25 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 | runtime "k8s.io/apimachinery/pkg/runtime" 27 | cache "k8s.io/client-go/tools/cache" 28 | ) 29 | 30 | // NewInformerFunc takes versioned.Interface and time.Duration to return a SharedIndexInformer. 31 | type NewInformerFunc func(versioned.Interface, time.Duration) cache.SharedIndexInformer 32 | 33 | // SharedInformerFactory a small interface to allow for adding an informer without an import cycle 34 | type SharedInformerFactory interface { 35 | Start(stopCh <-chan struct{}) 36 | InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer 37 | } 38 | 39 | // TweakListOptionsFunc is a function that transforms a v1.ListOptions. 40 | type TweakListOptionsFunc func(*v1.ListOptions) 41 | -------------------------------------------------------------------------------- /k8scrd/pkg/client/informers/externalversions/nginx_controller/interface.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by informer-gen. DO NOT EDIT. 18 | 19 | package mycompany 20 | 21 | import ( 22 | internalinterfaces "k8s-client-go/demo9/pkg/client/informers/externalversions/internalinterfaces" 23 | v1 "k8s-client-go/demo9/pkg/client/informers/externalversions/nginx_controller/v1" 24 | ) 25 | 26 | // Interface provides access to each of this group's versions. 27 | type Interface interface { 28 | // V1 provides access to shared informers for resources in V1. 29 | V1() v1.Interface 30 | } 31 | 32 | type group struct { 33 | factory internalinterfaces.SharedInformerFactory 34 | namespace string 35 | tweakListOptions internalinterfaces.TweakListOptionsFunc 36 | } 37 | 38 | // New returns a new Interface. 39 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 40 | return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 41 | } 42 | 43 | // V1 returns a new v1.Interface. 44 | func (g *group) V1() v1.Interface { 45 | return v1.New(g.factory, g.namespace, g.tweakListOptions) 46 | } 47 | -------------------------------------------------------------------------------- /k8scrd/pkg/client/informers/externalversions/nginx_controller/v1/interface.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by informer-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | import ( 22 | internalinterfaces "k8s-client-go/demo9/pkg/client/informers/externalversions/internalinterfaces" 23 | ) 24 | 25 | // Interface provides access to all the informers in this group version. 26 | type Interface interface { 27 | // Nginxes returns a NginxInformer. 28 | Nginxes() NginxInformer 29 | } 30 | 31 | type version struct { 32 | factory internalinterfaces.SharedInformerFactory 33 | namespace string 34 | tweakListOptions internalinterfaces.TweakListOptionsFunc 35 | } 36 | 37 | // New returns a new Interface. 38 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 39 | return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 40 | } 41 | 42 | // Nginxes returns a NginxInformer. 43 | func (v *version) Nginxes() NginxInformer { 44 | return &nginxInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 45 | } 46 | -------------------------------------------------------------------------------- /k8scrd/pkg/client/listers/nginx_controller/v1/expansion_generated.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by lister-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | // NginxListerExpansion allows custom methods to be added to 22 | // NginxLister. 23 | type NginxListerExpansion interface{} 24 | 25 | // NginxNamespaceListerExpansion allows custom methods to be added to 26 | // NginxNamespaceLister. 27 | type NginxNamespaceListerExpansion interface{} 28 | -------------------------------------------------------------------------------- /k8scrdctrl/controller/pod_worker.go: -------------------------------------------------------------------------------- 1 | package controller 2 | 3 | import ( 4 | "k8s.io/api/core/v1" 5 | "k8s.io/klog" 6 | ) 7 | 8 | func (nginxController *NginxController)OnAddPod(obj interface{}) { 9 | nginxController.handlePodObject(obj) 10 | } 11 | 12 | func (nginxController *NginxController) OnUpdatePod(oldObj, newObj interface{}) { 13 | nginxController.handlePodObject(newObj) 14 | } 15 | 16 | func (nginxController *NginxController) OnDeletePod(obj interface{}) { 17 | nginxController.handlePodObject(obj) 18 | } 19 | 20 | // 消费workqueue 21 | func (nginxController *NginxController) runPodWorker() { 22 | // 什么也不做 23 | } 24 | 25 | func (nginxController *NginxController) handlePodObject(obj interface{}) (err error) { 26 | var ( 27 | pod *v1.Pod 28 | ok bool 29 | nginxKey string 30 | hasLabel bool 31 | ) 32 | 33 | // 反解出Pod 34 | if pod, ok = obj.(*v1.Pod); !ok { 35 | return 36 | } 37 | 38 | // 确认属于nginx部署的POD 39 | if nginxKey, hasLabel = pod.Labels["nginxKey"]; !hasLabel { 40 | return // 不属于nginx部署的POD, 忽略 41 | } 42 | 43 | // 投递给nginx的workqueue 44 | nginxController.NginxWorkqueue.AddRateLimited(nginxKey) 45 | klog.Infoln("[POD - 更新]", nginxKey, pod.Name) 46 | return 47 | } -------------------------------------------------------------------------------- /k8scrdctrl/crd.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apiextensions.k8s.io/v1beta1 2 | kind: CustomResourceDefinition 3 | metadata: 4 | # name must match the spec fields below, and be in the form: . 5 | name: nginxes.mycompany.com 6 | spec: 7 | # group name to use for REST API: /apis// 8 | group: mycompany.com 9 | # list of versions supported by this CustomResourceDefinition 10 | versions: 11 | - name: v1 12 | # Each version can be enabled/disabled by Served flag. 13 | served: true 14 | # One and only one version must be marked as the storage version. 15 | storage: true 16 | # either Namespaced or Cluster 17 | scope: Cluster 18 | names: 19 | # plural name to be used in the URL: /apis/// 20 | plural: nginxes 21 | # singular name to be used as an alias on the CLI and for display 22 | singular: nginx 23 | # kind is normally the CamelCased singular type. Your resource manifests use this. 24 | kind: Nginx 25 | # shortNames allow shorter string to match your resource on the CLI 26 | shortNames: 27 | - ngx -------------------------------------------------------------------------------- /k8scrdctrl/hack/update-codegen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $GOPATH/src/k8s.io/code-generator/generate-groups.sh all k8s-client-go/demo10/pkg/client k8s-client-go/demo10/pkg/apis nginx_controller:v1 -------------------------------------------------------------------------------- /k8scrdctrl/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | "fmt" 6 | "k8s-client-go/common" 7 | "k8s-client-go/k8scrdctrl/controller" 8 | "k8s-client-go/k8scrdctrl/pkg/client/clientset/versioned" 9 | "k8s-client-go/k8scrdctrl/pkg/client/informers/externalversions" 10 | "k8s.io/client-go/informers" 11 | "k8s.io/klog" 12 | "time" 13 | ) 14 | 15 | func main() { 16 | 17 | // 日志参数 18 | klog.InitFlags(nil) 19 | flag.Set("logtostderr", "1") // 输出日志到stderr 20 | flag.Parse() 21 | 22 | // 读取admin.conf, 生成客户端基本配置 23 | restConf, err := common.GetRestConf("./conf/admin.conf") 24 | if err != nil { 25 | fmt.Println(err) 26 | } 27 | 28 | // 创建CRD的client 29 | crdClientset, err := versioned.NewForConfig(&restConf) 30 | if err != nil { 31 | fmt.Println(err) 32 | } 33 | 34 | // 创建K8S内置的client 35 | clientset, err := common.InitClient("./conf/admin.conf") 36 | if err != nil { 37 | fmt.Println(err) 38 | } 39 | 40 | // 内建informer工厂 41 | informerFactory := informers.NewSharedInformerFactory(&clientset, time.Second * 120) 42 | // crd Informer工厂 43 | crdInformerFactory := externalversions.NewSharedInformerFactory(crdClientset, time.Second * 120) 44 | 45 | // POD informer 46 | podInformer := informerFactory.Core().V1().Pods() 47 | // nginx informer 48 | nginxInformer := crdInformerFactory.Mycompany().V1().Nginxes() 49 | 50 | // 创建调度controller 51 | nginxController := &controller.NginxController{Clientset: &clientset, CrdClientset: crdClientset, PodInformer:podInformer, NginxInformer: nginxInformer} 52 | nginxController.Start() 53 | 54 | // 等待 55 | for { 56 | time.Sleep(1 * time.Second) 57 | } 58 | 59 | return 60 | } 61 | -------------------------------------------------------------------------------- /k8scrdctrl/my-nginx.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: "mycompany.com/v1" 2 | kind: Nginx 3 | metadata: 4 | name: my-nginx 5 | spec: 6 | replicas: 3 7 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/apis/nginx_controller/register.go: -------------------------------------------------------------------------------- 1 | package nginx_controller 2 | 3 | const ( 4 | GroupName = "mycompany.com" 5 | ) 6 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/apis/nginx_controller/v1/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +groupName=mycompany.com 3 | 4 | package v1 -------------------------------------------------------------------------------- /k8scrdctrl/pkg/apis/nginx_controller/v1/register.go: -------------------------------------------------------------------------------- 1 | package v1 2 | 3 | import ( 4 | metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 5 | "k8s.io/apimachinery/pkg/runtime" 6 | "k8s.io/apimachinery/pkg/runtime/schema" 7 | 8 | "k8s-client-go/k8scrd/pkg/apis/nginx_controller" 9 | ) 10 | 11 | // SchemeGroupVersion is group version used to register these objects 12 | var SchemeGroupVersion = schema.GroupVersion{Group: nginx_controller.GroupName, Version: "v1"} 13 | 14 | // Kind takes an unqualified kind and returns back a Group qualified GroupKind 15 | func Kind(kind string) schema.GroupKind { 16 | return SchemeGroupVersion.WithKind(kind).GroupKind() 17 | } 18 | 19 | // Resource takes an unqualified resource and returns a Group qualified GroupResource 20 | func Resource(resource string) schema.GroupResource { 21 | return SchemeGroupVersion.WithResource(resource).GroupResource() 22 | } 23 | 24 | var ( 25 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 26 | AddToScheme = SchemeBuilder.AddToScheme 27 | ) 28 | 29 | // Adds the list of known types to Scheme. 30 | func addKnownTypes(scheme *runtime.Scheme) error { 31 | scheme.AddKnownTypes(SchemeGroupVersion, 32 | &Nginx{}, 33 | &NginxList{}, 34 | ) 35 | metav1.AddToGroupVersion(scheme, SchemeGroupVersion) 36 | return nil 37 | } -------------------------------------------------------------------------------- /k8scrdctrl/pkg/apis/nginx_controller/v1/types.go: -------------------------------------------------------------------------------- 1 | package v1 2 | 3 | import ( 4 | meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 5 | ) 6 | 7 | // +genclient 8 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 9 | 10 | // 单个object, 例如:kubectl get nginxes.mycompany.com {name} -o yaml 11 | type Nginx struct { 12 | meta_v1.TypeMeta `json:",inline"` // Kind, ApiVersion 13 | meta_v1.ObjectMeta `json:"metadata"` // metadata.name, metadata.namespace等... 14 | Spec Spec `json:"spec"` 15 | Status Status `json:"status, omitempty"` 16 | } 17 | 18 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 19 | 20 | // object列表, 例如:kubectl get nginxes.mycompany.com -o yaml 21 | type NginxList struct { 22 | meta_v1.TypeMeta `json:",inline"` // Kind总是List 23 | meta_v1.ListMeta `json:"metadata"` 24 | Items []Nginx `json:"items"` 25 | } 26 | 27 | // 自定义 28 | type Spec struct { 29 | Replicas int `json:"replicas"` 30 | } 31 | 32 | // 自定义 33 | type Status struct { 34 | Message string `json:"message,omitempty"` 35 | } -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/clientset/versioned/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated clientset. 20 | package versioned 21 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/clientset/versioned/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated fake clientset. 20 | package fake 21 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/clientset/versioned/scheme/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package contains the scheme of the automatically generated clientset. 20 | package scheme 21 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/clientset/versioned/typed/nginx_controller/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/clientset/versioned/typed/nginx_controller/v1/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // Package fake has the automatically generated clients. 20 | package fake 21 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/clientset/versioned/typed/nginx_controller/v1/fake/fake_nginx_controller_client.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package fake 20 | 21 | import ( 22 | v1 "k8s-client-go/demo10/pkg/client/clientset/versioned/typed/nginx_controller/v1" 23 | rest "k8s.io/client-go/rest" 24 | testing "k8s.io/client-go/testing" 25 | ) 26 | 27 | type FakeMycompanyV1 struct { 28 | *testing.Fake 29 | } 30 | 31 | func (c *FakeMycompanyV1) Nginxes(namespace string) v1.NginxInterface { 32 | return &FakeNginxes{c, namespace} 33 | } 34 | 35 | // RESTClient returns a RESTClient that is used to communicate 36 | // with API server by this client implementation. 37 | func (c *FakeMycompanyV1) RESTClient() rest.Interface { 38 | var ret *rest.RESTClient 39 | return ret 40 | } 41 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/clientset/versioned/typed/nginx_controller/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | type NginxExpansion interface{} 22 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by informer-gen. DO NOT EDIT. 18 | 19 | package internalinterfaces 20 | 21 | import ( 22 | time "time" 23 | 24 | versioned "k8s-client-go/k8scrdctrl/pkg/client/clientset/versioned" 25 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 | runtime "k8s.io/apimachinery/pkg/runtime" 27 | cache "k8s.io/client-go/tools/cache" 28 | ) 29 | 30 | // NewInformerFunc takes versioned.Interface and time.Duration to return a SharedIndexInformer. 31 | type NewInformerFunc func(versioned.Interface, time.Duration) cache.SharedIndexInformer 32 | 33 | // SharedInformerFactory a small interface to allow for adding an informer without an import cycle 34 | type SharedInformerFactory interface { 35 | Start(stopCh <-chan struct{}) 36 | InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer 37 | } 38 | 39 | // TweakListOptionsFunc is a function that transforms a v1.ListOptions. 40 | type TweakListOptionsFunc func(*v1.ListOptions) 41 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/informers/externalversions/nginx_controller/interface.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by informer-gen. DO NOT EDIT. 18 | 19 | package mycompany 20 | 21 | import ( 22 | internalinterfaces "k8s-client-go/k8scrdctrl/pkg/client/informers/externalversions/internalinterfaces" 23 | v1 "k8s-client-go/k8scrdctrl/pkg/client/informers/externalversions/nginx_controller/v1" 24 | ) 25 | 26 | // Interface provides access to each of this group's versions. 27 | type Interface interface { 28 | // V1 provides access to shared informers for resources in V1. 29 | V1() v1.Interface 30 | } 31 | 32 | type group struct { 33 | factory internalinterfaces.SharedInformerFactory 34 | namespace string 35 | tweakListOptions internalinterfaces.TweakListOptionsFunc 36 | } 37 | 38 | // New returns a new Interface. 39 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 40 | return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 41 | } 42 | 43 | // V1 returns a new v1.Interface. 44 | func (g *group) V1() v1.Interface { 45 | return v1.New(g.factory, g.namespace, g.tweakListOptions) 46 | } 47 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/informers/externalversions/nginx_controller/v1/interface.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by informer-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | import ( 22 | internalinterfaces "k8s-client-go/k8scrdctrl/pkg/client/informers/externalversions/internalinterfaces" 23 | ) 24 | 25 | // Interface provides access to all the informers in this group version. 26 | type Interface interface { 27 | // Nginxes returns a NginxInformer. 28 | Nginxes() NginxInformer 29 | } 30 | 31 | type version struct { 32 | factory internalinterfaces.SharedInformerFactory 33 | namespace string 34 | tweakListOptions internalinterfaces.TweakListOptionsFunc 35 | } 36 | 37 | // New returns a new Interface. 38 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 39 | return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 40 | } 41 | 42 | // Nginxes returns a NginxInformer. 43 | func (v *version) Nginxes() NginxInformer { 44 | return &nginxInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 45 | } 46 | -------------------------------------------------------------------------------- /k8scrdctrl/pkg/client/listers/nginx_controller/v1/expansion_generated.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by lister-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | // NginxListerExpansion allows custom methods to be added to 22 | // NginxLister. 23 | type NginxListerExpansion interface{} 24 | 25 | // NginxNamespaceListerExpansion allows custom methods to be added to 26 | // NginxNamespaceLister. 27 | type NginxNamespaceListerExpansion interface{} 28 | -------------------------------------------------------------------------------- /klog/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "k8s.io/klog" 5 | "flag" 6 | ) 7 | 8 | // k8s所有代码都会使用klog库, 所以我们需要配置一下klog, 让k8s sdk内部日志输出到合适的文件中 9 | // 执行 ./demo8 -h可以看到klog接收的命令行参数 10 | 11 | // 实际使用时, 就是指定-log-dir=参数,日志会输出到目录下,并且每1.8G会切换一次文件 12 | // 过期的文件需要我们自己去删除,整个用法和glog风格一致,可以去看klog源码 13 | 14 | func main() { 15 | // 可以先定义自己的flag命令行参数 16 | // .... 17 | 18 | // 然后注册klog库需要的命令行参数 19 | klog.InitFlags(nil) 20 | 21 | // 强制覆盖klog的部分命令行参数 22 | flag.Set("stderrthreshold", "4") // 禁止klog输出任意级别日志到终端 23 | 24 | // 然后解析命令行参数, 这样klog以及我们都可以得到所需的命令行参数 25 | flag.Parse() 26 | 27 | // 这种输出日志不受v参数影响, 总是输出 28 | klog.Infof("hello %s", "world") 29 | 30 | // 这种带V的日志, 只有v级别开到足够高才会打印出来, 这是google log的风格 31 | klog.V(5).Info("需要-v 5或者以上才可以打印出来!") 32 | 33 | // 退出程序前, 把缓存在内存里的日志刷新到磁盘 34 | defer klog.Flush() 35 | 36 | // 尝试这样启动程序, 可以看到所有日志 37 | // go build main.go 38 | // main.exe -log_dir=./log -log_dir=log -v 6 39 | return 40 | } 41 | -------------------------------------------------------------------------------- /login-pre/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 45 | 46 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2018, The xterm.js authors (https://github.com/xtermjs/xterm.js) 2 | Copyright (c) 2014-2016, SourceLair Private Company (https://www.sourcelair.com) 3 | Copyright (c) 2012-2013, Christopher Jeffrey (https://github.com/chjj/) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/dist/addons/fullscreen/fullscreen.css: -------------------------------------------------------------------------------- 1 | .xterm.fullscreen { 2 | position: fixed; 3 | top: 0; 4 | bottom: 0; 5 | left: 0; 6 | right: 0; 7 | width: auto; 8 | height: auto; 9 | z-index: 255; 10 | } 11 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/dist/addons/fullscreen/fullscreen.js: -------------------------------------------------------------------------------- 1 | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.fullscreen = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i void;\n\n if (typeof fullscreen === 'undefined') {\n fn = (term.element.classList.contains('fullscreen')) ?\n term.element.classList.remove : term.element.classList.add;\n } else if (!fullscreen) {\n fn = term.element.classList.remove;\n } else {\n fn = term.element.classList.add;\n }\n\n fn('fullscreen');\n}\n\nexport function apply(terminalConstructor: typeof Terminal): void {\n (terminalConstructor.prototype).toggleFullScreen = function (fullscreen: boolean): void {\n toggleFullScreen(this, fullscreen);\n };\n}\n",null],"names":[],"mappings":"ACAA;;;ADYA;AACA;AAEA;AACA;AACA;AACA;AAAA;AACA;AACA;AAAA;AACA;AACA;AAEA;AACA;AAbA;AAeA;AACA;AACA;AACA;AACA;AAJA;"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/SoundManager.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"SoundManager.js","sourceRoot":"","sources":["../src/SoundManager.ts"],"names":[],"mappings":";;AAWa,QAAA,kBAAkB,GAAG,gbAAgb,CAAC;AAEnd;IAeE,sBACU,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;IAE9B,CAAC;IAfD,sBAAW,4BAAY;aAAvB;YACE,IAAI,CAAC,YAAY,CAAC,aAAa,EAAE;gBAC/B,IAAM,gBAAgB,GAA8B,MAAO,CAAC,YAAY,IAAU,MAAO,CAAC,kBAAkB,CAAC;gBAC7G,IAAI,CAAC,gBAAgB,EAAE;oBACrB,OAAO,CAAC,IAAI,CAAC,0FAA0F,CAAC,CAAC;oBACzG,OAAO,IAAI,CAAC;iBACb;gBACD,YAAY,CAAC,aAAa,GAAG,IAAI,gBAAgB,EAAE,CAAC;aACrD;YACD,OAAO,YAAY,CAAC,aAAa,CAAC;QACpC,CAAC;;;OAAA;IAOM,oCAAa,GAApB;QACE,IAAM,GAAG,GAAG,YAAY,CAAC,YAAY,CAAC;QACtC,IAAI,CAAC,GAAG,EAAE;YACR,OAAO;SACR;QACD,IAAM,eAAe,GAAG,GAAG,CAAC,kBAAkB,EAAE,CAAC;QACjD,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,UAAC,MAAM;YAC5G,eAAe,CAAC,MAAM,GAAG,MAAM,CAAC;YAChC,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;YACzC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC,CAAC,CAAC;IACL,CAAC;IAEO,2CAAoB,GAA5B,UAA6B,MAAc;QACzC,IAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,IAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC;QAChC,IAAM,KAAK,GAAG,IAAI,UAAU,CAAC,GAAG,CAAC,CAAC;QAElC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAC5B,KAAK,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;SACvC;QAED,OAAO,KAAK,CAAC,MAAM,CAAC;IACtB,CAAC;IAEO,sCAAe,GAAvB,UAAwB,OAAe;QAErC,IAAM,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAGpC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;IACrB,CAAC;IACH,mBAAC;AAAD,CAAC,AApDD,IAoDC;AApDY,oCAAY"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/Strings.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.blankLine = 'Blank line'; 4 | exports.promptLabel = 'Terminal input'; 5 | exports.tooMuchOutput = 'Too much output to announce, navigate to rows manually to read'; 6 | //# sourceMappingURL=Strings.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/Strings.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Strings.js","sourceRoot":"","sources":["../src/Strings.ts"],"names":[],"mappings":";;AAKW,QAAA,SAAS,GAAG,YAAY,CAAC;AACzB,QAAA,WAAW,GAAG,gBAAgB,CAAC;AAC/B,QAAA,aAAa,GAAG,gEAAgE,CAAC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../src/Types.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/attach/Interfaces.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal, IDisposable } from 'xterm'; 2 | export interface IAttachAddonTerminal extends Terminal { 3 | _core: { 4 | register(d: T): void; 5 | }; 6 | __socket?: WebSocket; 7 | __attachSocketBuffer?: string; 8 | __getMessage?(ev: MessageEvent): void; 9 | __flushBuffer?(): void; 10 | __pushToBuffer?(data: string): void; 11 | __sendData?(data: string): void; 12 | } 13 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/attach/Interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Interfaces.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/attach/Interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../src/addons/attach/Interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/attach/attach.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export declare function attach(term: Terminal, socket: WebSocket, bidirectional: boolean, buffered: boolean): void; 3 | export declare function detach(term: Terminal, socket: WebSocket): void; 4 | export declare function apply(terminalConstructor: typeof Terminal): void; 5 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/fit/fit.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export interface IGeometry { 3 | rows: number; 4 | cols: number; 5 | } 6 | export declare function proposeGeometry(term: Terminal): IGeometry; 7 | export declare function fit(term: Terminal): void; 8 | export declare function apply(terminalConstructor: typeof Terminal): void; 9 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/fullscreen/fullscreen.css: -------------------------------------------------------------------------------- 1 | .xterm.fullscreen { 2 | position: fixed; 3 | top: 0; 4 | bottom: 0; 5 | left: 0; 6 | right: 0; 7 | width: auto; 8 | height: auto; 9 | z-index: 255; 10 | } 11 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/fullscreen/fullscreen.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export declare function toggleFullScreen(term: Terminal, fullscreen: boolean): void; 3 | export declare function apply(terminalConstructor: typeof Terminal): void; 4 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/fullscreen/fullscreen.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | function toggleFullScreen(term, fullscreen) { 4 | var fn; 5 | if (typeof fullscreen === 'undefined') { 6 | fn = (term.element.classList.contains('fullscreen')) ? 7 | term.element.classList.remove : term.element.classList.add; 8 | } 9 | else if (!fullscreen) { 10 | fn = term.element.classList.remove; 11 | } 12 | else { 13 | fn = term.element.classList.add; 14 | } 15 | fn('fullscreen'); 16 | } 17 | exports.toggleFullScreen = toggleFullScreen; 18 | function apply(terminalConstructor) { 19 | terminalConstructor.prototype.toggleFullScreen = function (fullscreen) { 20 | toggleFullScreen(this, fullscreen); 21 | }; 22 | } 23 | exports.apply = apply; 24 | //# sourceMappingURL=fullscreen.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/fullscreen/fullscreen.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"fullscreen.js","sourceRoot":"","sources":["../../../src/addons/fullscreen/fullscreen.ts"],"names":[],"mappings":";;AAYA,SAAgB,gBAAgB,CAAC,IAAc,EAAE,UAAmB;IAClE,IAAI,EAAiC,CAAC;IAEtC,IAAI,OAAO,UAAU,KAAK,WAAW,EAAE;QACrC,EAAE,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;YACpD,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC;KAC9D;SAAM,IAAI,CAAC,UAAU,EAAE;QACtB,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC;KACpC;SAAM;QACL,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC;KACjC;IAED,EAAE,CAAC,YAAY,CAAC,CAAC;AACnB,CAAC;AAbD,4CAaC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IAClD,mBAAmB,CAAC,SAAU,CAAC,gBAAgB,GAAG,UAAU,UAAmB;QACnF,gBAAgB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACrC,CAAC,CAAC;AACJ,CAAC;AAJD,sBAIC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/search/Interfaces.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export interface ITerminalCore { 3 | buffer: any; 4 | selectionManager: any; 5 | } 6 | export interface ISearchAddonTerminal extends Terminal { 7 | __searchHelper?: ISearchHelper; 8 | _core: ITerminalCore; 9 | } 10 | export interface ISearchHelper { 11 | findNext(term: string, searchOptions: ISearchOptions): boolean; 12 | findPrevious(term: string, searchOptions: ISearchOptions): boolean; 13 | } 14 | export interface ISearchOptions { 15 | regex?: boolean; 16 | wholeWord?: boolean; 17 | caseSensitive?: boolean; 18 | } 19 | export interface ISearchResult { 20 | term: string; 21 | col: number; 22 | row: number; 23 | } 24 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/search/Interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Interfaces.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/search/Interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../src/addons/search/Interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/search/SearchHelper.d.ts: -------------------------------------------------------------------------------- 1 | import { ISearchHelper, ISearchAddonTerminal, ISearchOptions, ISearchResult } from './Interfaces'; 2 | export declare class SearchHelper implements ISearchHelper { 3 | private _terminal; 4 | constructor(_terminal: ISearchAddonTerminal); 5 | findNext(term: string, searchOptions?: ISearchOptions): boolean; 6 | findPrevious(term: string, searchOptions?: ISearchOptions): boolean; 7 | private _isWholeWord; 8 | protected _findInLine(term: string, y: number, searchOptions?: ISearchOptions): ISearchResult; 9 | translateBufferLineToStringWithWrap(lineIndex: number, trimRight: boolean): string; 10 | private _selectResult; 11 | } 12 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/search/search.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | import { ISearchOptions } from './Interfaces'; 3 | export declare function findNext(terminal: Terminal, term: string, searchOptions?: ISearchOptions): boolean; 4 | export declare function findPrevious(terminal: Terminal, term: string, searchOptions: ISearchOptions): boolean; 5 | export declare function apply(terminalConstructor: typeof Terminal): void; 6 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/search/search.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var SearchHelper_1 = require("./SearchHelper"); 4 | function findNext(terminal, term, searchOptions) { 5 | if (searchOptions === void 0) { searchOptions = {}; } 6 | var addonTerminal = terminal; 7 | if (!addonTerminal.__searchHelper) { 8 | addonTerminal.__searchHelper = new SearchHelper_1.SearchHelper(addonTerminal); 9 | } 10 | return addonTerminal.__searchHelper.findNext(term, searchOptions); 11 | } 12 | exports.findNext = findNext; 13 | function findPrevious(terminal, term, searchOptions) { 14 | var addonTerminal = terminal; 15 | if (!addonTerminal.__searchHelper) { 16 | addonTerminal.__searchHelper = new SearchHelper_1.SearchHelper(addonTerminal); 17 | } 18 | return addonTerminal.__searchHelper.findPrevious(term, searchOptions); 19 | } 20 | exports.findPrevious = findPrevious; 21 | function apply(terminalConstructor) { 22 | terminalConstructor.prototype.findNext = function (term, searchOptions) { 23 | return findNext(this, term, searchOptions); 24 | }; 25 | terminalConstructor.prototype.findPrevious = function (term, searchOptions) { 26 | return findPrevious(this, term, searchOptions); 27 | }; 28 | } 29 | exports.apply = apply; 30 | //# sourceMappingURL=search.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/search/search.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/addons/search/search.ts"],"names":[],"mappings":";;AAKA,+CAA8C;AAW9C,SAAgB,QAAQ,CAAC,QAAkB,EAAE,IAAY,EAAE,aAAkC;IAAlC,8BAAA,EAAA,kBAAkC;IAC3F,IAAM,aAAa,GAAyB,QAAQ,CAAC;IACrD,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE;QACjC,aAAa,CAAC,cAAc,GAAG,IAAI,2BAAY,CAAC,aAAa,CAAC,CAAC;KAChE;IACD,OAAO,aAAa,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;AACpE,CAAC;AAND,4BAMC;AASD,SAAgB,YAAY,CAAC,QAAkB,EAAE,IAAY,EAAE,aAA6B;IAC1F,IAAM,aAAa,GAAyB,QAAQ,CAAC;IACrD,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE;QACjC,aAAa,CAAC,cAAc,GAAG,IAAI,2BAAY,CAAC,aAAa,CAAC,CAAC;KAChE;IACD,OAAO,aAAa,CAAC,cAAc,CAAC,YAAY,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;AACxE,CAAC;AAND,oCAMC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IAClD,mBAAmB,CAAC,SAAU,CAAC,QAAQ,GAAG,UAAS,IAAY,EAAE,aAA6B;QAClG,OAAO,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;IAC7C,CAAC,CAAC;IAEI,mBAAmB,CAAC,SAAU,CAAC,YAAY,GAAG,UAAS,IAAY,EAAE,aAA6B;QACtG,OAAO,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;IACjD,CAAC,CAAC;AACJ,CAAC;AARD,sBAQC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/terminado/Interfaces.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export interface ITerminadoAddonTerminal extends Terminal { 3 | __socket?: WebSocket; 4 | __attachSocketBuffer?: string; 5 | __getMessage?(ev: MessageEvent): void; 6 | __flushBuffer?(): void; 7 | __pushToBuffer?(data: string): void; 8 | __sendData?(data: string): void; 9 | __setSize?(size: { 10 | rows: number; 11 | cols: number; 12 | }): void; 13 | } 14 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/terminado/Interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Interfaces.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/terminado/Interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../src/addons/terminado/Interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/terminado/terminado.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export declare function terminadoAttach(term: Terminal, socket: WebSocket, bidirectional: boolean, buffered: boolean): void; 3 | export declare function terminadoDetach(term: Terminal, socket: WebSocket): void; 4 | export declare function apply(terminalConstructor: typeof Terminal): void; 5 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/webLinks/webLinks.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal, ILinkMatcherOptions } from 'xterm'; 2 | export declare function webLinksInit(term: Terminal, handler?: (event: MouseEvent, uri: string) => void, options?: ILinkMatcherOptions): void; 3 | export declare function apply(terminalConstructor: typeof Terminal): void; 4 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/webLinks/webLinks.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"webLinks.js","sourceRoot":"","sources":["../../../src/addons/webLinks/webLinks.ts"],"names":[],"mappings":";;AAOA,IAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,IAAM,kBAAkB,GAAG,eAAe,CAAC;AAC3C,IAAM,yBAAyB,GAAG,gBAAgB,CAAC;AACnD,IAAM,gBAAgB,GAAG,GAAG,GAAG,kBAAkB,GAAG,GAAG,CAAC;AACxD,IAAM,SAAS,GAAG,iBAAiB,CAAC;AACpC,IAAM,QAAQ,GAAG,4BAA4B,CAAC;AAC9C,IAAM,eAAe,GAAG,aAAa,CAAC;AACtC,IAAM,UAAU,GAAG,aAAa,CAAC;AACjC,IAAM,UAAU,GAAG,IAAI,GAAG,gBAAgB,GAAG,KAAK,GAAG,SAAS,GAAG,IAAI,GAAG,QAAQ,GAAG,GAAG,GAAG,eAAe,GAAG,GAAG,GAAG,UAAU,GAAG,GAAG,CAAC;AAClI,IAAM,UAAU,GAAG,mCAAmC,CAAC;AACvD,IAAM,mCAAmC,GAAG,sDAAsD,CAAC;AACnG,IAAM,iBAAiB,GAAG,MAAM,GAAG,mCAAmC,GAAG,IAAI,CAAC;AAC9E,IAAM,kBAAkB,GAAG,IAAI,GAAG,mCAAmC,GAAG,IAAI,CAAC;AAC7E,IAAM,uBAAuB,GAAG,mBAAmB,CAAC;AACpD,IAAM,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,iBAAiB,GAAG,kBAAkB,CAAC;AACpF,IAAM,KAAK,GAAG,OAAO,GAAG,yBAAyB,GAAG,IAAI,CAAC;AACzD,IAAM,GAAG,GAAG,MAAM,GAAG,uBAAuB,GAAG,GAAG,CAAC;AACnD,IAAM,cAAc,GAAG,IAAI,MAAM,CAAC,KAAK,GAAG,cAAc,GAAG,UAAU,GAAG,GAAG,CAAC,CAAC;AAE7E,SAAS,UAAU,CAAC,KAAiB,EAAE,GAAW;IAChD,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;AAC7B,CAAC;AAQD,SAAgB,YAAY,CAAC,IAAc,EAAE,OAA8D,EAAE,OAAiC;IAAjG,wBAAA,EAAA,oBAA8D;IAAE,wBAAA,EAAA,YAAiC;IAC5I,OAAO,CAAC,UAAU,GAAG,CAAC,CAAC;IACvB,IAAI,CAAC,mBAAmB,CAAC,cAAc,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AAC7D,CAAC;AAHD,oCAGC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IAClD,mBAAmB,CAAC,SAAU,CAAC,YAAY,GAAG,UAAU,OAAkD,EAAE,OAA6B;QAC7I,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC,CAAC;AACJ,CAAC;AAJD,sBAIC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/winptyCompat/Interfaces.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export interface ITerminalCore { 3 | buffer: any; 4 | } 5 | export interface IWinptyCompatAddonTerminal extends Terminal { 6 | _core: ITerminalCore; 7 | } 8 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/winptyCompat/Interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Interfaces.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/winptyCompat/Interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../src/addons/winptyCompat/Interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/winptyCompat/winptyCompat.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export declare function winptyCompatInit(terminal: Terminal): void; 3 | export declare function apply(terminalConstructor: typeof Terminal): void; 4 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/winptyCompat/winptyCompat.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var CHAR_DATA_CODE_INDEX = 3; 4 | var NULL_CELL_CODE = 32; 5 | function winptyCompatInit(terminal) { 6 | var addonTerminal = terminal; 7 | var isWindows = ['Windows', 'Win16', 'Win32', 'WinCE'].indexOf(navigator.platform) >= 0; 8 | if (!isWindows) { 9 | return; 10 | } 11 | addonTerminal.on('linefeed', function () { 12 | var line = addonTerminal._core.buffer.lines.get(addonTerminal._core.buffer.ybase + addonTerminal._core.buffer.y - 1); 13 | var lastChar = line.get(addonTerminal.cols - 1); 14 | if (lastChar[CHAR_DATA_CODE_INDEX] !== NULL_CELL_CODE) { 15 | var nextLine = addonTerminal._core.buffer.lines.get(addonTerminal._core.buffer.ybase + addonTerminal._core.buffer.y); 16 | nextLine.isWrapped = true; 17 | } 18 | }); 19 | } 20 | exports.winptyCompatInit = winptyCompatInit; 21 | function apply(terminalConstructor) { 22 | terminalConstructor.prototype.winptyCompatInit = function () { 23 | winptyCompatInit(this); 24 | }; 25 | } 26 | exports.apply = apply; 27 | //# sourceMappingURL=winptyCompat.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/winptyCompat/winptyCompat.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"winptyCompat.js","sourceRoot":"","sources":["../../../src/addons/winptyCompat/winptyCompat.ts"],"names":[],"mappings":";;AAQA,IAAM,oBAAoB,GAAG,CAAC,CAAC;AAC/B,IAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,SAAgB,gBAAgB,CAAC,QAAkB;IACjD,IAAM,aAAa,GAA+B,QAAQ,CAAC;IAG3D,IAAM,SAAS,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC1F,IAAI,CAAC,SAAS,EAAE;QACd,OAAO;KACR;IAYD,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE;QAC3B,IAAM,IAAI,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACvH,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;QAElD,IAAI,QAAQ,CAAC,oBAAoB,CAAC,KAAK,cAAc,EAAE;YACrD,IAAM,QAAQ,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YACvH,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;SAC3B;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AA5BD,4CA4BC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IAClD,mBAAmB,CAAC,SAAU,CAAC,gBAAgB,GAAG;QACtD,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC,CAAC;AACJ,CAAC;AAJD,sBAIC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/zmodem/zmodem.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export interface IZmodemOptions { 3 | noTerminalWriteOutsideSession?: boolean; 4 | } 5 | export declare function apply(terminalConstructor: typeof Terminal): void; 6 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/zmodem/zmodem.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var zmodem; 4 | function zmodemAttach(ws, opts) { 5 | if (opts === void 0) { opts = {}; } 6 | var term = this; 7 | var senderFunc = function (octets) { return ws.send(new Uint8Array(octets)); }; 8 | var zsentry; 9 | function shouldWrite() { 10 | return !!zsentry.get_confirmed_session() || !opts.noTerminalWriteOutsideSession; 11 | } 12 | zsentry = new zmodem.Sentry({ 13 | to_terminal: function (octets) { 14 | if (shouldWrite()) { 15 | term.write(String.fromCharCode.apply(String, octets)); 16 | } 17 | }, 18 | sender: senderFunc, 19 | on_retract: function () { return term.emit('zmodemRetract'); }, 20 | on_detect: function (detection) { return term.emit('zmodemDetect', detection); } 21 | }); 22 | function handleWSMessage(evt) { 23 | if (typeof evt.data === 'string') { 24 | if (shouldWrite()) { 25 | term.write(evt.data); 26 | } 27 | } 28 | else { 29 | zsentry.consume(evt.data); 30 | } 31 | } 32 | ws.binaryType = 'arraybuffer'; 33 | ws.addEventListener('message', handleWSMessage); 34 | } 35 | function apply(terminalConstructor) { 36 | zmodem = (typeof window === 'object') ? window.Zmodem : { Browser: null }; 37 | terminalConstructor.prototype.zmodemAttach = zmodemAttach; 38 | terminalConstructor.prototype.zmodemBrowser = zmodem.Browser; 39 | } 40 | exports.apply = apply; 41 | //# sourceMappingURL=zmodem.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/addons/zmodem/zmodem.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"zmodem.js","sourceRoot":"","sources":["../../../src/addons/zmodem/zmodem.ts"],"names":[],"mappings":";;AAoCA,IAAI,MAAW,CAAC;AAMhB,SAAS,YAAY,CAAC,EAAa,EAAE,IAAyB;IAAzB,qBAAA,EAAA,SAAyB;IAC5D,IAAM,IAAI,GAAG,IAAI,CAAC;IAClB,IAAM,UAAU,GAAG,UAAC,MAAyB,IAAK,OAAA,EAAE,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC,EAA/B,CAA+B,CAAC;IAElF,IAAI,OAAY,CAAC;IAEjB,SAAS,WAAW;QAClB,OAAO,CAAC,CAAC,OAAO,CAAC,qBAAqB,EAAE,IAAI,CAAC,IAAI,CAAC,6BAA6B,CAAC;IAClF,CAAC;IAED,OAAO,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC;QAC1B,WAAW,EAAE,UAAC,MAAyB;YACrC,IAAI,WAAW,EAAE,EAAE;gBACjB,IAAI,CAAC,KAAK,CACR,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAC1C,CAAC;aACH;QACH,CAAC;QACD,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,cAAM,OAAM,IAAK,CAAC,IAAI,CAAC,eAAe,CAAC,EAAjC,CAAiC;QACnD,SAAS,EAAE,UAAC,SAAc,IAAK,OAAM,IAAK,CAAC,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,EAA3C,CAA2C;KAC3E,CAAC,CAAC;IAEH,SAAS,eAAe,CAAC,GAAiB;QAMxC,IAAI,OAAO,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;YAChC,IAAI,WAAW,EAAE,EAAE;gBACjB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;aACtB;SACF;aACI;YACH,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;SAC3B;IACH,CAAC;IAED,EAAE,CAAC,UAAU,GAAG,aAAa,CAAC;IAC9B,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IACxD,MAAM,GAAG,CAAC,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAO,MAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC;IAEzE,mBAAmB,CAAC,SAAU,CAAC,YAAY,GAAG,YAAY,CAAC;IAC3D,mBAAmB,CAAC,SAAU,CAAC,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC;AACtE,CAAC;AALD,sBAKC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/common/EventEmitter.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"EventEmitter.js","sourceRoot":"","sources":["../../src/common/EventEmitter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAOA,yCAAyC;AAEzC;IAAkC,gCAAU;IAG1C;QAAA,YACE,iBAAO,SAIR;QADC,KAAI,CAAC,OAAO,GAAS,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC;;IAC3C,CAAC;IAEM,yBAAE,GAAT,UAAU,IAAY,EAAE,QAAuB;QAC7C,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAC9C,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IAOM,4CAAqB,GAA5B,UAA6B,IAAY,EAAE,OAAsB;QAAjE,iBAcC;QAZC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACvB,IAAI,QAAQ,GAAG,KAAK,CAAC;QACrB,OAAO;YACL,OAAO,EAAE;gBACP,IAAI,QAAQ,EAAE;oBAEZ,OAAO;iBACR;gBACD,KAAI,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;gBACxB,QAAQ,GAAG,IAAI,CAAC;YAClB,CAAC;SACF,CAAC;IACJ,CAAC;IAEM,0BAAG,GAAV,UAAW,IAAY,EAAE,QAAuB;QAC9C,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACvB,OAAO;SACR;QAED,IAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;QAEnB,OAAO,CAAC,EAAE,EAAE;YACV,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBACvB,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;gBACjB,OAAO;aACR;SACF;IACH,CAAC;IAEM,yCAAkB,GAAzB,UAA0B,IAAY;QACpC,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACrB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;SAC5B;IACH,CAAC;IAEM,2BAAI,GAAX,UAAY,IAAY;QAAE,cAAc;aAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;YAAd,6BAAc;;QACtC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACvB,OAAO;SACR;QACD,IAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC/B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACnC,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;SAC1B;IACH,CAAC;IAEM,gCAAS,GAAhB,UAAiB,IAAY;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IAClC,CAAC;IAEM,8BAAO,GAAd;QACE,iBAAM,OAAO,WAAE,CAAC;QAChB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;IACpB,CAAC;IACH,mBAAC;AAAD,CAAC,AA5ED,CAAkC,sBAAU,GA4E3C;AA5EY,oCAAY"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/common/Lifecycle.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var Disposable = (function () { 4 | function Disposable() { 5 | this._disposables = []; 6 | this._isDisposed = false; 7 | } 8 | Disposable.prototype.dispose = function () { 9 | this._isDisposed = true; 10 | this._disposables.forEach(function (d) { return d.dispose(); }); 11 | this._disposables.length = 0; 12 | }; 13 | Disposable.prototype.register = function (d) { 14 | this._disposables.push(d); 15 | }; 16 | Disposable.prototype.unregister = function (d) { 17 | var index = this._disposables.indexOf(d); 18 | if (index !== -1) { 19 | this._disposables.splice(index, 1); 20 | } 21 | }; 22 | return Disposable; 23 | }()); 24 | exports.Disposable = Disposable; 25 | //# sourceMappingURL=Lifecycle.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/common/Lifecycle.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Lifecycle.js","sourceRoot":"","sources":["../../src/common/Lifecycle.ts"],"names":[],"mappings":";;AAWA;IAIE;QAHU,iBAAY,GAAkB,EAAE,CAAC;QACjC,gBAAW,GAAY,KAAK,CAAC;IAGvC,CAAC;IAKM,4BAAO,GAAd;QACE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,OAAO,EAAE,EAAX,CAAW,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC;IAC/B,CAAC;IAMM,6BAAQ,GAAf,UAAuC,CAAI;QACzC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5B,CAAC;IAOM,+BAAU,GAAjB,UAAyC,CAAI;QAC3C,IAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC3C,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE;YAChB,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;SACpC;IACH,CAAC;IACH,iBAAC;AAAD,CAAC,AAnCD,IAmCC;AAnCqB,gCAAU"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/common/TypedArrayUtils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | function fill(array, value, start, end) { 4 | if (array.fill) { 5 | return array.fill(value, start, end); 6 | } 7 | return fillFallback(array, value, start, end); 8 | } 9 | exports.fill = fill; 10 | function fillFallback(array, value, start, end) { 11 | if (start === void 0) { start = 0; } 12 | if (end === void 0) { end = array.length; } 13 | if (start >= array.length) { 14 | return array; 15 | } 16 | start = (array.length + start) % array.length; 17 | if (end >= array.length) { 18 | end = array.length; 19 | } 20 | else { 21 | end = (array.length + end) % array.length; 22 | } 23 | for (var i = start; i < end; ++i) { 24 | array[i] = value; 25 | } 26 | return array; 27 | } 28 | exports.fillFallback = fillFallback; 29 | //# sourceMappingURL=TypedArrayUtils.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/common/TypedArrayUtils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"TypedArrayUtils.js","sourceRoot":"","sources":["../../src/common/TypedArrayUtils.ts"],"names":[],"mappings":";;AAcA,SAAgB,IAAI,CAAuB,KAAQ,EAAE,KAAa,EAAE,KAAc,EAAE,GAAY;IAE9F,IAAI,KAAK,CAAC,IAAI,EAAE;QACd,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAAM,CAAC;KAC3C;IACD,OAAO,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;AAChD,CAAC;AAND,oBAMC;AAED,SAAgB,YAAY,CAAuB,KAAQ,EAAE,KAAa,EAAE,KAAiB,EAAE,GAA0B;IAA7C,sBAAA,EAAA,SAAiB;IAAE,oBAAA,EAAA,MAAc,KAAK,CAAC,MAAM;IAKvH,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,EAAE;QACzB,OAAO,KAAK,CAAC;KACd;IACD,KAAK,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC;IAC9C,IAAI,GAAG,IAAI,KAAK,CAAC,MAAM,EAAE;QACvB,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC;KACpB;SAAM;QACL,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC;KAC3C;IACD,KAAK,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,GAAG,GAAG,EAAE,EAAE,CAAC,EAAE;QAChC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;KAClB;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAlBD,oCAkBC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/common/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/common/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../../src/common/Types.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/core/Platform.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var isNode = (typeof navigator === 'undefined') ? true : false; 4 | var userAgent = (isNode) ? 'node' : navigator.userAgent; 5 | var platform = (isNode) ? 'node' : navigator.platform; 6 | exports.isFirefox = !!~userAgent.indexOf('Firefox'); 7 | exports.isSafari = /^((?!chrome|android).)*safari/i.test(userAgent); 8 | exports.isMSIE = !!~userAgent.indexOf('MSIE') || !!~userAgent.indexOf('Trident'); 9 | exports.isMac = contains(['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'], platform); 10 | exports.isIpad = platform === 'iPad'; 11 | exports.isIphone = platform === 'iPhone'; 12 | exports.isMSWindows = contains(['Windows', 'Win16', 'Win32', 'WinCE'], platform); 13 | exports.isLinux = platform.indexOf('Linux') >= 0; 14 | function contains(arr, el) { 15 | return arr.indexOf(el) >= 0; 16 | } 17 | //# sourceMappingURL=Platform.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/core/Platform.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Platform.js","sourceRoot":"","sources":["../../src/core/Platform.ts"],"names":[],"mappings":";;AAKA,IAAM,MAAM,GAAG,CAAC,OAAO,SAAS,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;AACjE,IAAM,SAAS,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC;AAC1D,IAAM,QAAQ,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC;AAE3C,QAAA,SAAS,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAC5C,QAAA,QAAQ,GAAG,gCAAgC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAC5D,QAAA,MAAM,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAKzE,QAAA,KAAK,GAAG,QAAQ,CAAC,CAAC,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC;AAC1E,QAAA,MAAM,GAAG,QAAQ,KAAK,MAAM,CAAC;AAC7B,QAAA,QAAQ,GAAG,QAAQ,KAAK,QAAQ,CAAC;AACjC,QAAA,WAAW,GAAG,QAAQ,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC;AACzE,QAAA,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAOtD,SAAS,QAAQ,CAAC,GAAU,EAAE,EAAO;IACnC,OAAO,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/core/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/core/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../../src/core/Types.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/GridCache.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var GridCache = (function () { 4 | function GridCache() { 5 | this.cache = []; 6 | } 7 | GridCache.prototype.resize = function (width, height) { 8 | for (var x = 0; x < width; x++) { 9 | if (this.cache.length <= x) { 10 | this.cache.push([]); 11 | } 12 | for (var y = this.cache[x].length; y < height; y++) { 13 | this.cache[x].push(null); 14 | } 15 | this.cache[x].length = height; 16 | } 17 | this.cache.length = width; 18 | }; 19 | GridCache.prototype.clear = function () { 20 | for (var x = 0; x < this.cache.length; x++) { 21 | for (var y = 0; y < this.cache[x].length; y++) { 22 | this.cache[x][y] = null; 23 | } 24 | } 25 | }; 26 | return GridCache; 27 | }()); 28 | exports.GridCache = GridCache; 29 | //# sourceMappingURL=GridCache.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/GridCache.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"GridCache.js","sourceRoot":"","sources":["../../src/renderer/GridCache.ts"],"names":[],"mappings":";;AAKA;IAGE;QACE,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;IAClB,CAAC;IAEM,0BAAM,GAAb,UAAc,KAAa,EAAE,MAAc;QACzC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;YAC9B,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,EAAE;gBAC1B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;aACrB;YACD,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,EAAE;gBAClD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aAC1B;YACD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC;SAC/B;QACD,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC;IAC5B,CAAC;IAEM,yBAAK,GAAZ;QACE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBAC7C,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;aACzB;SACF;IACH,CAAC;IACH,gBAAC;AAAD,CAAC,AA3BD,IA2BC;AA3BY,8BAAS"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../../src/renderer/Types.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/atlas/BaseCharAtlas.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var BaseCharAtlas = (function () { 4 | function BaseCharAtlas() { 5 | this._didWarmUp = false; 6 | } 7 | BaseCharAtlas.prototype.dispose = function () { }; 8 | BaseCharAtlas.prototype.warmUp = function () { 9 | if (!this._didWarmUp) { 10 | this._doWarmUp(); 11 | this._didWarmUp = true; 12 | } 13 | }; 14 | BaseCharAtlas.prototype._doWarmUp = function () { }; 15 | BaseCharAtlas.prototype.beginFrame = function () { }; 16 | return BaseCharAtlas; 17 | }()); 18 | exports.default = BaseCharAtlas; 19 | //# sourceMappingURL=BaseCharAtlas.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/atlas/BaseCharAtlas.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"BaseCharAtlas.js","sourceRoot":"","sources":["../../../src/renderer/atlas/BaseCharAtlas.ts"],"names":[],"mappings":";;AAQA;IAAA;QACU,eAAU,GAAY,KAAK,CAAC;IA8CtC,CAAC;IA5CQ,+BAAO,GAAd,cAAyB,CAAC;IAMnB,8BAAM,GAAb;QACE,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YACpB,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;SACxB;IACH,CAAC;IAMS,iCAAS,GAAnB,cAA8B,CAAC;IASxB,kCAAU,GAAjB,cAA4B,CAAC;IAkB/B,oBAAC;AAAD,CAAC,AA/CD,IA+CC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/atlas/CharAtlasUtils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"CharAtlasUtils.js","sourceRoot":"","sources":["../../../src/renderer/atlas/CharAtlasUtils.ts"],"names":[],"mappings":";;AAOA,iCAA0D;AAE1D,SAAgB,cAAc,CAAC,eAAuB,EAAE,gBAAwB,EAAE,QAAmB,EAAE,MAAiB;IAEtH,IAAM,YAAY,GAAc;QAC9B,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QAGf,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;KAC/B,CAAC;IACF,OAAO;QACL,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,qBAAqB;QAC5C,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,eAAe,iBAAA;QACf,gBAAgB,kBAAA;QAChB,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,UAAU;QACvC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,QAAQ;QACnC,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,UAAU;QACvC,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,cAAc;QAC/C,iBAAiB,EAAE,QAAQ,CAAC,OAAO,CAAC,iBAAiB;QACrD,MAAM,EAAE,YAAY;KACrB,CAAC;AACJ,CAAC;AAxBD,wCAwBC;AAED,SAAgB,YAAY,CAAC,CAAmB,EAAE,CAAmB;IACnE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAC7C,IAAI,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE;YACnD,OAAO,KAAK,CAAC;SACd;KACF;IACD,OAAO,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;QACpB,CAAC,CAAC,gBAAgB,KAAK,CAAC,CAAC,gBAAgB;QACzC,CAAC,CAAC,UAAU,KAAK,CAAC,CAAC,UAAU;QAC7B,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,QAAQ;QACzB,CAAC,CAAC,UAAU,KAAK,CAAC,CAAC,UAAU;QAC7B,CAAC,CAAC,cAAc,KAAK,CAAC,CAAC,cAAc;QACrC,CAAC,CAAC,iBAAiB,KAAK,CAAC,CAAC,iBAAiB;QAC3C,CAAC,CAAC,eAAe,KAAK,CAAC,CAAC,eAAe;QACvC,CAAC,CAAC,gBAAgB,KAAK,CAAC,CAAC,gBAAgB;QACzC,CAAC,CAAC,MAAM,CAAC,UAAU,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU;QAC3C,CAAC,CAAC,MAAM,CAAC,UAAU,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC;AAClD,CAAC;AAjBD,oCAiBC;AAED,SAAgB,UAAU,CAAC,SAAiB;IAC1C,OAAO,SAAS,GAAG,qBAAa,CAAC;AACnC,CAAC;AAFD,gCAEC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/atlas/NoneCharAtlas.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __extends = (this && this.__extends) || (function () { 3 | var extendStatics = function (d, b) { 4 | extendStatics = Object.setPrototypeOf || 5 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 6 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; 7 | return extendStatics(d, b); 8 | } 9 | return function (d, b) { 10 | extendStatics(d, b); 11 | function __() { this.constructor = d; } 12 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 13 | }; 14 | })(); 15 | Object.defineProperty(exports, "__esModule", { value: true }); 16 | var BaseCharAtlas_1 = require("./BaseCharAtlas"); 17 | var NoneCharAtlas = (function (_super) { 18 | __extends(NoneCharAtlas, _super); 19 | function NoneCharAtlas(document, config) { 20 | return _super.call(this) || this; 21 | } 22 | NoneCharAtlas.prototype.draw = function (ctx, glyph, x, y) { 23 | return false; 24 | }; 25 | return NoneCharAtlas; 26 | }(BaseCharAtlas_1.default)); 27 | exports.default = NoneCharAtlas; 28 | //# sourceMappingURL=NoneCharAtlas.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/atlas/NoneCharAtlas.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"NoneCharAtlas.js","sourceRoot":"","sources":["../../../src/renderer/atlas/NoneCharAtlas.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,iDAA4C;AAE5C;IAA2C,iCAAa;IACtD,uBAAY,QAAkB,EAAE,MAAwB;eACtD,iBAAO;IACT,CAAC;IAEM,4BAAI,GAAX,UACE,GAA6B,EAC7B,KAAuB,EACvB,CAAS,EACT,CAAS;QAET,OAAO,KAAK,CAAC;IACf,CAAC;IACH,oBAAC;AAAD,CAAC,AAbD,CAA2C,uBAAa,GAavD"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/atlas/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.DEFAULT_COLOR = 256; 4 | exports.INVERTED_DEFAULT_COLOR = 257; 5 | exports.DIM_OPACITY = 0.5; 6 | exports.CHAR_ATLAS_CELL_SPACING = 1; 7 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/renderer/atlas/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../../../src/renderer/atlas/Types.ts"],"names":[],"mappings":";;AAQa,QAAA,aAAa,GAAG,GAAG,CAAC;AACpB,QAAA,sBAAsB,GAAG,GAAG,CAAC;AAC7B,QAAA,WAAW,GAAG,GAAG,CAAC;AAElB,QAAA,uBAAuB,GAAG,CAAC,CAAC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/ui/CharMeasure.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"CharMeasure.js","sourceRoot":"","sources":["../../src/ui/CharMeasure.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAMA,uDAAsD;AAOtD;IAAiC,+BAAY;IAO3C,qBAAY,QAAkB,EAAE,aAA0B;QAA1D,YACE,iBAAO,SAQR;QAPC,KAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,KAAI,CAAC,cAAc,GAAG,aAAa,CAAC;QACpC,KAAI,CAAC,eAAe,GAAG,KAAI,CAAC,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAC5D,KAAI,CAAC,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;QACjE,KAAI,CAAC,eAAe,CAAC,WAAW,GAAG,GAAG,CAAC;QACvC,KAAI,CAAC,eAAe,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,WAAW,CAAC,KAAI,CAAC,eAAe,CAAC,CAAC;;IACxD,CAAC;IAED,sBAAW,8BAAK;aAAhB;YACE,OAAO,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;;;OAAA;IAED,sBAAW,+BAAM;aAAjB;YACE,OAAO,IAAI,CAAC,OAAO,CAAC;QACtB,CAAC;;;OAAA;IAEM,6BAAO,GAAd,UAAe,OAAyB;QACxC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACzD,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,QAAQ,GAAM,OAAO,CAAC,QAAQ,OAAI,CAAC;QAC9D,IAAM,QAAQ,GAAG,IAAI,CAAC,eAAe,CAAC,qBAAqB,EAAE,CAAC;QAG9D,IAAI,QAAQ,CAAC,KAAK,KAAK,CAAC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;YACjD,OAAO;SACR;QACD,IAAI,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ,CAAC,MAAM,EAAE;YACtE,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC;YAC7B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAC1C,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;SAC9B;IACH,CAAC;IACH,kBAAC;AAAD,CAAC,AAzCD,CAAiC,2BAAY,GAyC5C;AAzCY,kCAAW"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/ui/Lifecycle.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | function addDisposableDomListener(node, type, handler, useCapture) { 4 | node.addEventListener(type, handler, useCapture); 5 | return { 6 | dispose: function () { 7 | if (!handler) { 8 | return; 9 | } 10 | node.removeEventListener(type, handler, useCapture); 11 | node = null; 12 | handler = null; 13 | } 14 | }; 15 | } 16 | exports.addDisposableDomListener = addDisposableDomListener; 17 | //# sourceMappingURL=Lifecycle.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/ui/Lifecycle.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Lifecycle.js","sourceRoot":"","sources":["../../src/ui/Lifecycle.ts"],"names":[],"mappings":";;AAYA,SAAgB,wBAAwB,CACtC,IAAiC,EACjC,IAAY,EACZ,OAAyB,EACzB,UAAoB;IAEpB,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IACjD,OAAO;QACL,OAAO,EAAE;YACP,IAAI,CAAC,OAAO,EAAE;gBAEZ,OAAO;aACR;YACD,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;YACpD,IAAI,GAAG,IAAI,CAAC;YACZ,OAAO,GAAG,IAAI,CAAC;QACjB,CAAC;KACF,CAAC;AACJ,CAAC;AAlBD,4DAkBC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/ui/RenderDebouncer.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"RenderDebouncer.js","sourceRoot":"","sources":["../../src/ui/RenderDebouncer.ts"],"names":[],"mappings":";;AAMA;IAKE,yBACU,SAAoB,EACpB,SAA+C;QAD/C,cAAS,GAAT,SAAS,CAAW;QACpB,cAAS,GAAT,SAAS,CAAsC;QAJjD,oBAAe,GAAW,IAAI,CAAC;IAMvC,CAAC;IAEM,iCAAO,GAAd;QACE,IAAI,IAAI,CAAC,eAAe,EAAE;YACxB,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;YAClD,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;SAC7B;IACH,CAAC;IAEM,iCAAO,GAAd,UAAe,QAAgB,EAAE,MAAc;QAA/C,iBAgBC;QAdC,QAAQ,GAAG,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;QACtE,MAAM,GAAG,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,CAAC;QAEpF,IAAM,aAAa,GAAG,IAAI,CAAC,SAAS,KAAK,SAAS,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,CAAC;QAC9E,IAAM,WAAW,GAAG,IAAI,CAAC,OAAO,KAAK,SAAS,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,CAAC;QAExE,IAAI,CAAC,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;QAC/E,IAAI,CAAC,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;QAErE,IAAI,IAAI,CAAC,eAAe,EAAE;YACxB,OAAO;SACR;QAED,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,qBAAqB,CAAC,cAAM,OAAA,KAAI,CAAC,aAAa,EAAE,EAApB,CAAoB,CAAC,CAAC;IAClF,CAAC;IAEO,uCAAa,GAArB;QAEE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;QAG/D,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAG7C,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;IAC9B,CAAC;IACH,sBAAC;AAAD,CAAC,AAjDD,IAiDC;AAjDY,0CAAe"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/ui/ScreenDprMonitor.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"ScreenDprMonitor.js","sourceRoot":"","sources":["../../src/ui/ScreenDprMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAKA,iDAAiD;AAcjD;IAAsC,oCAAU;IAAhD;;IA0CA,CAAC;IApCQ,sCAAW,GAAlB,UAAmB,QAA2B;QAA9C,iBAUC;QATC,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,aAAa,EAAE,CAAC;SACtB;QACD,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,IAAI,CAAC,cAAc,GAAG;YACpB,KAAI,CAAC,SAAS,CAAC,MAAM,CAAC,gBAAgB,EAAE,KAAI,CAAC,wBAAwB,CAAC,CAAC;YACvE,KAAI,CAAC,UAAU,EAAE,CAAC;QACpB,CAAC,CAAC;QACF,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IAEM,kCAAO,GAAd;QACE,iBAAM,OAAO,WAAE,CAAC;QAChB,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAEO,qCAAU,GAAlB;QAEE,IAAI,IAAI,CAAC,yBAAyB,EAAE;YAClC,IAAI,CAAC,yBAAyB,CAAC,cAAc,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;SACpE;QAED,IAAI,CAAC,wBAAwB,GAAG,MAAM,CAAC,gBAAgB,CAAC;QACxD,IAAI,CAAC,yBAAyB,GAAG,MAAM,CAAC,UAAU,CAAC,6BAA2B,MAAM,CAAC,gBAAgB,UAAO,CAAC,CAAC;QAC9G,IAAI,CAAC,yBAAyB,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAClE,CAAC;IAEM,wCAAa,GAApB;QACE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,OAAO;SACR;QACD,IAAI,CAAC,yBAAyB,CAAC,cAAc,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;IAC7B,CAAC;IACH,uBAAC;AAAD,CAAC,AA1CD,CAAsC,sBAAU,GA0C/C;AA1CY,4CAAgB"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/ui/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/ui/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../../src/ui/Types.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/utils/Clone.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.clone = function (val, depth) { 4 | if (depth === void 0) { depth = 5; } 5 | if (typeof val !== 'object') { 6 | return val; 7 | } 8 | if (val === null) { 9 | return null; 10 | } 11 | var clonedObject = Array.isArray(val) ? [] : {}; 12 | for (var key in val) { 13 | clonedObject[key] = depth <= 1 ? val[key] : exports.clone(val[key], depth - 1); 14 | } 15 | return clonedObject; 16 | }; 17 | //# sourceMappingURL=Clone.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/utils/Clone.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Clone.js","sourceRoot":"","sources":["../../src/utils/Clone.ts"],"names":[],"mappings":";;AAQa,QAAA,KAAK,GAAG,UAAI,GAAM,EAAE,KAAiB;IAAjB,sBAAA,EAAA,SAAiB;IAChD,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC3B,OAAO,GAAG,CAAC;KACZ;IAGD,IAAI,GAAG,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IAGD,IAAM,YAAY,GAAQ,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAEvD,KAAK,IAAM,GAAG,IAAI,GAAG,EAAE;QAErB,YAAY,CAAC,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,aAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;KACxE;IAED,OAAO,YAAiB,CAAC;AAC3B,CAAC,CAAC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/xterm.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var Terminal_1 = require("./public/Terminal"); 4 | module.exports = Terminal_1.Terminal; 5 | //# sourceMappingURL=xterm.js.map -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/lib/xterm.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"xterm.js","sourceRoot":"","sources":["../src/xterm.ts"],"names":[],"mappings":";;AAOA,8CAA6C;AAE7C,MAAM,CAAC,OAAO,GAAG,mBAAQ,CAAC"} -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/Strings.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | export let blankLine = 'Blank line'; 7 | export let promptLabel = 'Terminal input'; 8 | export let tooMuchOutput = 'Too much output to announce, navigate to rows manually to read'; 9 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/attach/Interfaces.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | * 5 | * Implements the attach method, that attaches the terminal to a WebSocket stream. 6 | */ 7 | 8 | import { Terminal, IDisposable } from 'xterm'; 9 | 10 | export interface IAttachAddonTerminal extends Terminal { 11 | _core: { 12 | register(d: T): void; 13 | }; 14 | 15 | __socket?: WebSocket; 16 | __attachSocketBuffer?: string; 17 | 18 | __getMessage?(ev: MessageEvent): void; 19 | __flushBuffer?(): void; 20 | __pushToBuffer?(data: string): void; 21 | __sendData?(data: string): void; 22 | } 23 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/attach/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.attach", 3 | "main": "attach.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/attach/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "dom", 7 | "es6", 8 | ], 9 | "rootDir": ".", 10 | "outDir": "../../../lib/addons/attach/", 11 | "sourceMap": true, 12 | "removeComments": true, 13 | "declaration": true, 14 | "preserveWatchOutput": true 15 | }, 16 | "include": [ 17 | "**/*.ts", 18 | "../../../typings/xterm.d.ts" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/fit/README.md: -------------------------------------------------------------------------------- 1 | ## fit addon 2 | 3 | The fit addon adjusts the dimensions of the terminal to match best fit its parent element container. `fit` will only work when the element is visible. 4 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/fit/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.fit", 3 | "main": "fit.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/fit/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "dom", 7 | "es5" 8 | ], 9 | "rootDir": ".", 10 | "outDir": "../../../lib/addons/fit/", 11 | "sourceMap": true, 12 | "removeComments": true, 13 | "declaration": true, 14 | "preserveWatchOutput": true, 15 | "types": [ 16 | "../../node_modules/@types/mocha" 17 | ] 18 | }, 19 | "include": [ 20 | "**/*.ts", 21 | "../../../typings/xterm.d.ts" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/fullscreen/fullscreen.css: -------------------------------------------------------------------------------- 1 | .xterm.fullscreen { 2 | position: fixed; 3 | top: 0; 4 | bottom: 0; 5 | left: 0; 6 | right: 0; 7 | width: auto; 8 | height: auto; 9 | z-index: 255; 10 | } 11 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/fullscreen/fullscreen.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { Terminal } from 'xterm'; 7 | 8 | /** 9 | * Toggle the given terminal's fullscreen mode. 10 | * @param term The terminal to toggle full screen mode 11 | * @param fullscreen Toggle fullscreen on (true) or off (false) 12 | */ 13 | export function toggleFullScreen(term: Terminal, fullscreen: boolean): void { 14 | let fn: (...tokens: string[]) => void; 15 | 16 | if (typeof fullscreen === 'undefined') { 17 | fn = (term.element.classList.contains('fullscreen')) ? 18 | term.element.classList.remove : term.element.classList.add; 19 | } else if (!fullscreen) { 20 | fn = term.element.classList.remove; 21 | } else { 22 | fn = term.element.classList.add; 23 | } 24 | 25 | fn('fullscreen'); 26 | } 27 | 28 | export function apply(terminalConstructor: typeof Terminal): void { 29 | (terminalConstructor.prototype).toggleFullScreen = function (fullscreen: boolean): void { 30 | toggleFullScreen(this, fullscreen); 31 | }; 32 | } 33 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/fullscreen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.fullscreen", 3 | "main": "fullscreen.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/fullscreen/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "dom", 7 | "es5" 8 | ], 9 | "rootDir": ".", 10 | "outDir": "../../../lib/addons/fullscreen/", 11 | "sourceMap": true, 12 | "removeComments": true, 13 | "declaration": true, 14 | "preserveWatchOutput": true, 15 | "types": [ 16 | "../../node_modules/@types/mocha" 17 | ] 18 | }, 19 | "include": [ 20 | "**/*.ts", 21 | "../../../typings/xterm.d.ts" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/search/Interfaces.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { Terminal } from 'xterm'; 7 | 8 | // TODO: Don't rely on this private API 9 | export interface ITerminalCore { 10 | buffer: any; 11 | selectionManager: any; 12 | } 13 | 14 | export interface ISearchAddonTerminal extends Terminal { 15 | __searchHelper?: ISearchHelper; 16 | _core: ITerminalCore; 17 | } 18 | 19 | export interface ISearchHelper { 20 | findNext(term: string, searchOptions: ISearchOptions): boolean; 21 | findPrevious(term: string, searchOptions: ISearchOptions): boolean; 22 | } 23 | 24 | export interface ISearchOptions { 25 | regex?: boolean; 26 | wholeWord?: boolean; 27 | caseSensitive?: boolean; 28 | } 29 | 30 | export interface ISearchResult { 31 | term: string; 32 | col: number; 33 | row: number; 34 | } 35 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/search/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.search", 3 | "main": "search.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/search/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "es5" 7 | ], 8 | "rootDir": ".", 9 | "outDir": "../../../lib/addons/search/", 10 | "sourceMap": true, 11 | "removeComments": true, 12 | "declaration": true, 13 | "preserveWatchOutput": true, 14 | "types": [ 15 | "../../node_modules/@types/mocha" 16 | ] 17 | }, 18 | "include": [ 19 | "**/*.ts", 20 | "../../../typings/xterm.d.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/terminado/Interfaces.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | * 5 | * Implements the attach method, that attaches the terminal to a WebSocket stream. 6 | */ 7 | 8 | import { Terminal } from 'xterm'; 9 | 10 | export interface ITerminadoAddonTerminal extends Terminal { 11 | __socket?: WebSocket; 12 | __attachSocketBuffer?: string; 13 | 14 | __getMessage?(ev: MessageEvent): void; 15 | __flushBuffer?(): void; 16 | __pushToBuffer?(data: string): void; 17 | __sendData?(data: string): void; 18 | __setSize?(size: {rows: number, cols: number}): void; 19 | } 20 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/terminado/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.terminado", 3 | "main": "terminado.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/terminado/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "es5" 7 | ], 8 | "rootDir": ".", 9 | "outDir": "../../../lib/addons/terminado/", 10 | "sourceMap": true, 11 | "removeComments": true, 12 | "declaration": true, 13 | "preserveWatchOutput": true, 14 | "types": [ 15 | "../../node_modules/@types/mocha" 16 | ] 17 | }, 18 | "include": [ 19 | "**/*.ts", 20 | "../../../typings/xterm.d.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/webLinks/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.weblinks", 3 | "main": "weblinks.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/webLinks/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "dom", 7 | "es5", 8 | ], 9 | "rootDir": ".", 10 | "outDir": "../../../lib/addons/webLinks/", 11 | "sourceMap": true, 12 | "removeComments": true, 13 | "declaration": true, 14 | "preserveWatchOutput": true, 15 | "types": [ 16 | "../../node_modules/@types/mocha" 17 | ] 18 | }, 19 | "include": [ 20 | "**/*.ts", 21 | "../../../typings/xterm.d.ts" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/winptyCompat/Interfaces.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { Terminal } from 'xterm'; 7 | 8 | export interface ITerminalCore { 9 | buffer: any; 10 | } 11 | 12 | export interface IWinptyCompatAddonTerminal extends Terminal { 13 | _core: ITerminalCore; 14 | } 15 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/winptyCompat/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.winptycompat", 3 | "main": "winptyCompat.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/winptyCompat/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "es5" 7 | ], 8 | "rootDir": ".", 9 | "outDir": "../../../lib/addons/winptyCompat/", 10 | "sourceMap": true, 11 | "removeComments": true, 12 | "declaration": true, 13 | "preserveWatchOutput": true, 14 | "types": [ 15 | "../../node_modules/@types/mocha" 16 | ] 17 | }, 18 | "include": [ 19 | "**/*.ts", 20 | "../../../typings/xterm.d.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/zmodem/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.zmodem", 3 | "main": "zmodem.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/addons/zmodem/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "es5" 7 | ], 8 | "rootDir": ".", 9 | "outDir": "../../../lib/addons/zmodem/", 10 | "sourceMap": true, 11 | "removeComments": true, 12 | "declaration": true, 13 | "preserveWatchOutput": true, 14 | "types": [ 15 | "../../node_modules/@types/mocha" 16 | ] 17 | }, 18 | "include": [ 19 | "**/*.ts", 20 | "../../../typings/xterm.d.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/common/Lifecycle.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { IDisposable } from 'xterm'; 7 | 8 | /** 9 | * A base class that can be extended to provide convenience methods for managing the lifecycle of an 10 | * object and its components. 11 | */ 12 | export abstract class Disposable implements IDisposable { 13 | protected _disposables: IDisposable[] = []; 14 | protected _isDisposed: boolean = false; 15 | 16 | constructor() { 17 | } 18 | 19 | /** 20 | * Disposes the object, triggering the `dispose` method on all registered IDisposables. 21 | */ 22 | public dispose(): void { 23 | this._isDisposed = true; 24 | this._disposables.forEach(d => d.dispose()); 25 | this._disposables.length = 0; 26 | } 27 | 28 | /** 29 | * Registers a disposable object. 30 | * @param d The disposable to register. 31 | */ 32 | public register(d: T): void { 33 | this._disposables.push(d); 34 | } 35 | 36 | /** 37 | * Unregisters a disposable object if it has been registered, if not do 38 | * nothing. 39 | * @param d The disposable to unregister. 40 | */ 41 | public unregister(d: T): void { 42 | const index = this._disposables.indexOf(d); 43 | if (index !== -1) { 44 | this._disposables.splice(index, 1); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/common/TypedArrayUtils.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | /** 7 | * polyfill for TypedArray.fill 8 | * This is needed to support .fill in all safari versions and IE 11. 9 | */ 10 | 11 | type TypedArray = Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray 12 | | Int8Array | Int16Array | Int32Array 13 | | Float32Array | Float64Array; 14 | 15 | export function fill(array: T, value: number, start?: number, end?: number): T { 16 | // all modern engines that support .fill 17 | if (array.fill) { 18 | return array.fill(value, start, end) as T; 19 | } 20 | return fillFallback(array, value, start, end); 21 | } 22 | 23 | export function fillFallback(array: T, value: number, start: number = 0, end: number = array.length): T { 24 | // safari and IE 11 25 | // since IE 11 does not support Array.prototype.fill either 26 | // we cannot use the suggested polyfill from MDN 27 | // instead we simply fall back to looping 28 | if (start >= array.length) { 29 | return array; 30 | } 31 | start = (array.length + start) % array.length; 32 | if (end >= array.length) { 33 | end = array.length; 34 | } else { 35 | end = (array.length + end) % array.length; 36 | } 37 | for (let i = start; i < end; ++i) { 38 | array[i] = value; 39 | } 40 | return array; 41 | } 42 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/common/Types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { IEventEmitter } from 'xterm'; 7 | 8 | export type XtermListener = (...args: any[]) => void; 9 | 10 | /** 11 | * A keyboard event interface which does not depend on the DOM, KeyboardEvent implicitly extends 12 | * this event. 13 | */ 14 | export interface IKeyboardEvent { 15 | altKey: boolean; 16 | ctrlKey: boolean; 17 | shiftKey: boolean; 18 | metaKey: boolean; 19 | keyCode: number; 20 | key: string; 21 | type: string; 22 | } 23 | 24 | export interface ICircularList extends IEventEmitter { 25 | length: number; 26 | maxLength: number; 27 | isFull: boolean; 28 | 29 | get(index: number): T | undefined; 30 | set(index: number, value: T): void; 31 | push(value: T): void; 32 | recycle(): T | undefined; 33 | pop(): T | undefined; 34 | splice(start: number, deleteCount: number, ...items: T[]): void; 35 | trimStart(count: number): void; 36 | shiftElements(start: number, count: number, offset: number): void; 37 | } 38 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/common/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "es5" 6 | ], 7 | "rootDir": ".", 8 | "noEmit": true, 9 | "strict": true, 10 | "pretty": true, 11 | "types": [ 12 | "../../node_modules/@types/mocha", 13 | "../../" 14 | ] 15 | }, 16 | "include": [ 17 | "./**/*" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/core/Platform.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2016 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | const isNode = (typeof navigator === 'undefined') ? true : false; 7 | const userAgent = (isNode) ? 'node' : navigator.userAgent; 8 | const platform = (isNode) ? 'node' : navigator.platform; 9 | 10 | export const isFirefox = !!~userAgent.indexOf('Firefox'); 11 | export const isSafari = /^((?!chrome|android).)*safari/i.test(userAgent); 12 | export const isMSIE = !!~userAgent.indexOf('MSIE') || !!~userAgent.indexOf('Trident'); 13 | 14 | // Find the users platform. We use this to interpret the meta key 15 | // and ISO third level shifts. 16 | // http://stackoverflow.com/q/19877924/577598 17 | export const isMac = contains(['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'], platform); 18 | export const isIpad = platform === 'iPad'; 19 | export const isIphone = platform === 'iPhone'; 20 | export const isMSWindows = contains(['Windows', 'Win16', 'Win32', 'WinCE'], platform); 21 | export const isLinux = platform.indexOf('Linux') >= 0; 22 | 23 | /** 24 | * Return if the given array contains the given element 25 | * @param arr The array to search for the given element. 26 | * @param el The element to look for into the array 27 | */ 28 | function contains(arr: any[], el: any): boolean { 29 | return arr.indexOf(el) >= 0; 30 | } 31 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/core/Types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | export const enum KeyboardResultType { 7 | SEND_KEY, 8 | SELECT_ALL, 9 | PAGE_UP, 10 | PAGE_DOWN 11 | } 12 | 13 | export interface IKeyboardResult { 14 | type: KeyboardResultType; 15 | cancel: boolean; 16 | key: string | undefined; 17 | } 18 | 19 | export interface ICharset { 20 | [key: string]: string; 21 | } 22 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/core/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "es5" 6 | ], 7 | "rootDir": ".", 8 | "noEmit": true, 9 | "strict": true, 10 | "pretty": true, 11 | "types": [ 12 | "../../node_modules/@types/mocha", 13 | "../../" 14 | ] 15 | }, 16 | "include": [ 17 | "./**/*", 18 | "../common/**/*" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/renderer/GridCache.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | export class GridCache { 7 | public cache: T[][]; 8 | 9 | public constructor() { 10 | this.cache = []; 11 | } 12 | 13 | public resize(width: number, height: number): void { 14 | for (let x = 0; x < width; x++) { 15 | if (this.cache.length <= x) { 16 | this.cache.push([]); 17 | } 18 | for (let y = this.cache[x].length; y < height; y++) { 19 | this.cache[x].push(null); 20 | } 21 | this.cache[x].length = height; 22 | } 23 | this.cache.length = width; 24 | } 25 | 26 | public clear(): void { 27 | for (let x = 0; x < this.cache.length; x++) { 28 | for (let y = 0; y < this.cache[x].length; y++) { 29 | this.cache[x][y] = null; 30 | } 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/renderer/atlas/NoneCharAtlas.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | * 5 | * A dummy CharAtlas implementation that always fails to draw characters. 6 | */ 7 | 8 | import { IGlyphIdentifier, ICharAtlasConfig } from './Types'; 9 | import BaseCharAtlas from './BaseCharAtlas'; 10 | 11 | export default class NoneCharAtlas extends BaseCharAtlas { 12 | constructor(document: Document, config: ICharAtlasConfig) { 13 | super(); 14 | } 15 | 16 | public draw( 17 | ctx: CanvasRenderingContext2D, 18 | glyph: IGlyphIdentifier, 19 | x: number, 20 | y: number 21 | ): boolean { 22 | return false; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/renderer/atlas/Types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { FontWeight } from 'xterm'; 7 | import { IColorSet } from '../Types'; 8 | 9 | export const DEFAULT_COLOR = 256; 10 | export const INVERTED_DEFAULT_COLOR = 257; 11 | export const DIM_OPACITY = 0.5; 12 | 13 | export const CHAR_ATLAS_CELL_SPACING = 1; 14 | 15 | export interface IGlyphIdentifier { 16 | chars: string; 17 | code: number; 18 | bg: number; 19 | fg: number; 20 | bold: boolean; 21 | dim: boolean; 22 | italic: boolean; 23 | } 24 | 25 | export interface ICharAtlasConfig { 26 | type: 'none' | 'static' | 'dynamic'; 27 | devicePixelRatio: number; 28 | fontSize: number; 29 | fontFamily: string; 30 | fontWeight: FontWeight; 31 | fontWeightBold: FontWeight; 32 | scaledCharWidth: number; 33 | scaledCharHeight: number; 34 | allowTransparency: boolean; 35 | colors: IColorSet; 36 | } 37 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/ui/Lifecycle.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { IDisposable } from 'xterm'; 7 | 8 | /** 9 | * Adds a disposabe listener to a node in the DOM, returning the disposable. 10 | * @param type The event type. 11 | * @param handler The handler for the listener. 12 | */ 13 | export function addDisposableDomListener( 14 | node: Element | Window | Document, 15 | type: string, 16 | handler: (e: any) => void, 17 | useCapture?: boolean 18 | ): IDisposable { 19 | node.addEventListener(type, handler, useCapture); 20 | return { 21 | dispose: () => { 22 | if (!handler) { 23 | // Already disposed 24 | return; 25 | } 26 | node.removeEventListener(type, handler, useCapture); 27 | node = null; 28 | handler = null; 29 | } 30 | }; 31 | } 32 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/ui/Types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { IDisposable } from 'xterm'; 7 | 8 | export interface IMouseZoneManager extends IDisposable { 9 | add(zone: IMouseZone): void; 10 | clearAll(start?: number, end?: number): void; 11 | } 12 | 13 | export interface IMouseZone { 14 | x1: number; 15 | x2: number; 16 | y1: number; 17 | y2: number; 18 | clickCallback: (e: MouseEvent) => any; 19 | hoverCallback: (e: MouseEvent) => any | undefined; 20 | tooltipCallback: (e: MouseEvent) => any | undefined; 21 | leaveCallback: () => any | undefined; 22 | willLinkActivate: (e: MouseEvent) => boolean; 23 | } 24 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/utils/Clone.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2016 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | /* 7 | * A simple utility for cloning values 8 | */ 9 | export const clone = (val: T, depth: number = 5): T => { 10 | if (typeof val !== 'object') { 11 | return val; 12 | } 13 | 14 | // cloning null always returns null 15 | if (val === null) { 16 | return null; 17 | } 18 | 19 | // If we're cloning an array, use an array as the base, otherwise use an object 20 | const clonedObject: any = Array.isArray(val) ? [] : {}; 21 | 22 | for (const key in val) { 23 | // Recursively clone eack item unless we're at the maximum depth 24 | clonedObject[key] = depth <= 1 ? val[key] : clone(val[key], depth - 1); 25 | } 26 | 27 | return clonedObject as T; 28 | }; 29 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/src/xterm.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | * 5 | * This file is the entry point for browserify. 6 | */ 7 | 8 | import { Terminal } from './public/Terminal'; 9 | 10 | module.exports = Terminal; 11 | -------------------------------------------------------------------------------- /login-pre/node_modules/xterm/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "dom", 7 | "es5", 8 | "es6", 9 | "scripthost", 10 | "es2015.promise" 11 | ], 12 | "rootDir": "src", 13 | "outDir": "lib", 14 | "sourceMap": true, 15 | "removeComments": true, 16 | "preserveWatchOutput": true, 17 | "noUnusedLocals": true, 18 | "noImplicitAny": true 19 | }, 20 | "include": [ 21 | "src/**/*", 22 | "typings/xterm.d.ts" 23 | ], 24 | "exclude": [ 25 | "src/addons/**/*" 26 | ] 27 | } 28 | -------------------------------------------------------------------------------- /login-pre/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "requires": true, 3 | "lockfileVersion": 1, 4 | "dependencies": { 5 | "xterm": { 6 | "version": "3.9.1", 7 | "resolved": "http://registry.npm.taobao.org/xterm/download/xterm-3.9.1.tgz", 8 | "integrity": "sha1-ZXVr6wm7b7RK6ykDKtzWeJqqpfQ=" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /login/node_modules/xterm/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2018, The xterm.js authors (https://github.com/xtermjs/xterm.js) 2 | Copyright (c) 2014-2016, SourceLair Private Company (https://www.sourcelair.com) 3 | Copyright (c) 2012-2013, Christopher Jeffrey (https://github.com/chjj/) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /login/node_modules/xterm/dist/addons/fullscreen/fullscreen.css: -------------------------------------------------------------------------------- 1 | .xterm.fullscreen { 2 | position: fixed; 3 | top: 0; 4 | bottom: 0; 5 | left: 0; 6 | right: 0; 7 | width: auto; 8 | height: auto; 9 | z-index: 255; 10 | } 11 | -------------------------------------------------------------------------------- /login/node_modules/xterm/dist/addons/fullscreen/fullscreen.js: -------------------------------------------------------------------------------- 1 | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.fullscreen = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i void;\n\n if (typeof fullscreen === 'undefined') {\n fn = (term.element.classList.contains('fullscreen')) ?\n term.element.classList.remove : term.element.classList.add;\n } else if (!fullscreen) {\n fn = term.element.classList.remove;\n } else {\n fn = term.element.classList.add;\n }\n\n fn('fullscreen');\n}\n\nexport function apply(terminalConstructor: typeof Terminal): void {\n (terminalConstructor.prototype).toggleFullScreen = function (fullscreen: boolean): void {\n toggleFullScreen(this, fullscreen);\n };\n}\n",null],"names":[],"mappings":"ACAA;;;ADYA;AACA;AAEA;AACA;AACA;AACA;AAAA;AACA;AACA;AAAA;AACA;AACA;AAEA;AACA;AAbA;AAeA;AACA;AACA;AACA;AACA;AAJA;"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/SoundManager.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"SoundManager.js","sourceRoot":"","sources":["../src/SoundManager.ts"],"names":[],"mappings":";;AAWa,QAAA,kBAAkB,GAAG,gbAAgb,CAAC;AAEnd;IAeE,sBACU,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;IAE9B,CAAC;IAfD,sBAAW,4BAAY;aAAvB;YACE,IAAI,CAAC,YAAY,CAAC,aAAa,EAAE;gBAC/B,IAAM,gBAAgB,GAA8B,MAAO,CAAC,YAAY,IAAU,MAAO,CAAC,kBAAkB,CAAC;gBAC7G,IAAI,CAAC,gBAAgB,EAAE;oBACrB,OAAO,CAAC,IAAI,CAAC,0FAA0F,CAAC,CAAC;oBACzG,OAAO,IAAI,CAAC;iBACb;gBACD,YAAY,CAAC,aAAa,GAAG,IAAI,gBAAgB,EAAE,CAAC;aACrD;YACD,OAAO,YAAY,CAAC,aAAa,CAAC;QACpC,CAAC;;;OAAA;IAOM,oCAAa,GAApB;QACE,IAAM,GAAG,GAAG,YAAY,CAAC,YAAY,CAAC;QACtC,IAAI,CAAC,GAAG,EAAE;YACR,OAAO;SACR;QACD,IAAM,eAAe,GAAG,GAAG,CAAC,kBAAkB,EAAE,CAAC;QACjD,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,UAAC,MAAM;YAC5G,eAAe,CAAC,MAAM,GAAG,MAAM,CAAC;YAChC,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;YACzC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC,CAAC,CAAC;IACL,CAAC;IAEO,2CAAoB,GAA5B,UAA6B,MAAc;QACzC,IAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,IAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC;QAChC,IAAM,KAAK,GAAG,IAAI,UAAU,CAAC,GAAG,CAAC,CAAC;QAElC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAC5B,KAAK,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;SACvC;QAED,OAAO,KAAK,CAAC,MAAM,CAAC;IACtB,CAAC;IAEO,sCAAe,GAAvB,UAAwB,OAAe;QAErC,IAAM,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAGpC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;IACrB,CAAC;IACH,mBAAC;AAAD,CAAC,AApDD,IAoDC;AApDY,oCAAY"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/Strings.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.blankLine = 'Blank line'; 4 | exports.promptLabel = 'Terminal input'; 5 | exports.tooMuchOutput = 'Too much output to announce, navigate to rows manually to read'; 6 | //# sourceMappingURL=Strings.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/Strings.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Strings.js","sourceRoot":"","sources":["../src/Strings.ts"],"names":[],"mappings":";;AAKW,QAAA,SAAS,GAAG,YAAY,CAAC;AACzB,QAAA,WAAW,GAAG,gBAAgB,CAAC;AAC/B,QAAA,aAAa,GAAG,gEAAgE,CAAC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../src/Types.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/attach/Interfaces.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal, IDisposable } from 'xterm'; 2 | export interface IAttachAddonTerminal extends Terminal { 3 | _core: { 4 | register(d: T): void; 5 | }; 6 | __socket?: WebSocket; 7 | __attachSocketBuffer?: string; 8 | __getMessage?(ev: MessageEvent): void; 9 | __flushBuffer?(): void; 10 | __pushToBuffer?(data: string): void; 11 | __sendData?(data: string): void; 12 | } 13 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/attach/Interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Interfaces.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/attach/Interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../src/addons/attach/Interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/attach/attach.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export declare function attach(term: Terminal, socket: WebSocket, bidirectional: boolean, buffered: boolean): void; 3 | export declare function detach(term: Terminal, socket: WebSocket): void; 4 | export declare function apply(terminalConstructor: typeof Terminal): void; 5 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/fit/fit.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export interface IGeometry { 3 | rows: number; 4 | cols: number; 5 | } 6 | export declare function proposeGeometry(term: Terminal): IGeometry; 7 | export declare function fit(term: Terminal): void; 8 | export declare function apply(terminalConstructor: typeof Terminal): void; 9 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/fit/fit.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"fit.js","sourceRoot":"","sources":["../../../src/addons/fit/fit.ts"],"names":[],"mappings":";;AAsBA,SAAgB,eAAe,CAAC,IAAc;IAC5C,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE;QAC/B,OAAO,IAAI,CAAC;KACb;IACD,IAAM,kBAAkB,GAAG,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAC/E,IAAM,mBAAmB,GAAG,QAAQ,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpF,IAAM,kBAAkB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC/F,IAAM,YAAY,GAAG,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,IAAM,cAAc,GAAG;QACrB,GAAG,EAAE,QAAQ,CAAC,YAAY,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC3D,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;QACjE,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC;QAC/D,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;KAC9D,CAAC;IACF,IAAM,iBAAiB,GAAG,cAAc,CAAC,GAAG,GAAG,cAAc,CAAC,MAAM,CAAC;IACrE,IAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC;IACrE,IAAM,eAAe,GAAG,mBAAmB,GAAG,iBAAiB,CAAC;IAChE,IAAM,cAAc,GAAG,kBAAkB,GAAG,iBAAiB,GAAS,IAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,cAAc,CAAC;IAC1G,IAAM,QAAQ,GAAG;QACf,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,GAAS,IAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,eAAe,CAAC;QACxF,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,eAAe,GAAS,IAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC;KAC3F,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAvBD,0CAuBC;AAED,SAAgB,GAAG,CAAC,IAAc;IAChC,IAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IACvC,IAAI,QAAQ,EAAE;QAEZ,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,IAAI,EAAE;YACxD,IAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;YACnC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;SAC3C;KACF;AACH,CAAC;AATD,kBASC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IAClD,mBAAmB,CAAC,SAAU,CAAC,eAAe,GAAG;QACrD,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC,CAAC;IAEI,mBAAmB,CAAC,SAAU,CAAC,GAAG,GAAG;QACzC,GAAG,CAAC,IAAI,CAAC,CAAC;IACZ,CAAC,CAAC;AACJ,CAAC;AARD,sBAQC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/fullscreen/fullscreen.css: -------------------------------------------------------------------------------- 1 | .xterm.fullscreen { 2 | position: fixed; 3 | top: 0; 4 | bottom: 0; 5 | left: 0; 6 | right: 0; 7 | width: auto; 8 | height: auto; 9 | z-index: 255; 10 | } 11 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/fullscreen/fullscreen.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export declare function toggleFullScreen(term: Terminal, fullscreen: boolean): void; 3 | export declare function apply(terminalConstructor: typeof Terminal): void; 4 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/fullscreen/fullscreen.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | function toggleFullScreen(term, fullscreen) { 4 | var fn; 5 | if (typeof fullscreen === 'undefined') { 6 | fn = (term.element.classList.contains('fullscreen')) ? 7 | term.element.classList.remove : term.element.classList.add; 8 | } 9 | else if (!fullscreen) { 10 | fn = term.element.classList.remove; 11 | } 12 | else { 13 | fn = term.element.classList.add; 14 | } 15 | fn('fullscreen'); 16 | } 17 | exports.toggleFullScreen = toggleFullScreen; 18 | function apply(terminalConstructor) { 19 | terminalConstructor.prototype.toggleFullScreen = function (fullscreen) { 20 | toggleFullScreen(this, fullscreen); 21 | }; 22 | } 23 | exports.apply = apply; 24 | //# sourceMappingURL=fullscreen.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/fullscreen/fullscreen.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"fullscreen.js","sourceRoot":"","sources":["../../../src/addons/fullscreen/fullscreen.ts"],"names":[],"mappings":";;AAYA,SAAgB,gBAAgB,CAAC,IAAc,EAAE,UAAmB;IAClE,IAAI,EAAiC,CAAC;IAEtC,IAAI,OAAO,UAAU,KAAK,WAAW,EAAE;QACrC,EAAE,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;YACpD,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC;KAC9D;SAAM,IAAI,CAAC,UAAU,EAAE;QACtB,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC;KACpC;SAAM;QACL,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC;KACjC;IAED,EAAE,CAAC,YAAY,CAAC,CAAC;AACnB,CAAC;AAbD,4CAaC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IAClD,mBAAmB,CAAC,SAAU,CAAC,gBAAgB,GAAG,UAAU,UAAmB;QACnF,gBAAgB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACrC,CAAC,CAAC;AACJ,CAAC;AAJD,sBAIC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/search/Interfaces.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export interface ITerminalCore { 3 | buffer: any; 4 | selectionManager: any; 5 | } 6 | export interface ISearchAddonTerminal extends Terminal { 7 | __searchHelper?: ISearchHelper; 8 | _core: ITerminalCore; 9 | } 10 | export interface ISearchHelper { 11 | findNext(term: string, searchOptions: ISearchOptions): boolean; 12 | findPrevious(term: string, searchOptions: ISearchOptions): boolean; 13 | } 14 | export interface ISearchOptions { 15 | regex?: boolean; 16 | wholeWord?: boolean; 17 | caseSensitive?: boolean; 18 | } 19 | export interface ISearchResult { 20 | term: string; 21 | col: number; 22 | row: number; 23 | } 24 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/search/Interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Interfaces.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/search/Interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../src/addons/search/Interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/search/SearchHelper.d.ts: -------------------------------------------------------------------------------- 1 | import { ISearchHelper, ISearchAddonTerminal, ISearchOptions, ISearchResult } from './Interfaces'; 2 | export declare class SearchHelper implements ISearchHelper { 3 | private _terminal; 4 | constructor(_terminal: ISearchAddonTerminal); 5 | findNext(term: string, searchOptions?: ISearchOptions): boolean; 6 | findPrevious(term: string, searchOptions?: ISearchOptions): boolean; 7 | private _isWholeWord; 8 | protected _findInLine(term: string, y: number, searchOptions?: ISearchOptions): ISearchResult; 9 | translateBufferLineToStringWithWrap(lineIndex: number, trimRight: boolean): string; 10 | private _selectResult; 11 | } 12 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/search/search.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | import { ISearchOptions } from './Interfaces'; 3 | export declare function findNext(terminal: Terminal, term: string, searchOptions?: ISearchOptions): boolean; 4 | export declare function findPrevious(terminal: Terminal, term: string, searchOptions: ISearchOptions): boolean; 5 | export declare function apply(terminalConstructor: typeof Terminal): void; 6 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/search/search.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var SearchHelper_1 = require("./SearchHelper"); 4 | function findNext(terminal, term, searchOptions) { 5 | if (searchOptions === void 0) { searchOptions = {}; } 6 | var addonTerminal = terminal; 7 | if (!addonTerminal.__searchHelper) { 8 | addonTerminal.__searchHelper = new SearchHelper_1.SearchHelper(addonTerminal); 9 | } 10 | return addonTerminal.__searchHelper.findNext(term, searchOptions); 11 | } 12 | exports.findNext = findNext; 13 | function findPrevious(terminal, term, searchOptions) { 14 | var addonTerminal = terminal; 15 | if (!addonTerminal.__searchHelper) { 16 | addonTerminal.__searchHelper = new SearchHelper_1.SearchHelper(addonTerminal); 17 | } 18 | return addonTerminal.__searchHelper.findPrevious(term, searchOptions); 19 | } 20 | exports.findPrevious = findPrevious; 21 | function apply(terminalConstructor) { 22 | terminalConstructor.prototype.findNext = function (term, searchOptions) { 23 | return findNext(this, term, searchOptions); 24 | }; 25 | terminalConstructor.prototype.findPrevious = function (term, searchOptions) { 26 | return findPrevious(this, term, searchOptions); 27 | }; 28 | } 29 | exports.apply = apply; 30 | //# sourceMappingURL=search.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/search/search.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/addons/search/search.ts"],"names":[],"mappings":";;AAKA,+CAA8C;AAW9C,SAAgB,QAAQ,CAAC,QAAkB,EAAE,IAAY,EAAE,aAAkC;IAAlC,8BAAA,EAAA,kBAAkC;IAC3F,IAAM,aAAa,GAAyB,QAAQ,CAAC;IACrD,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE;QACjC,aAAa,CAAC,cAAc,GAAG,IAAI,2BAAY,CAAC,aAAa,CAAC,CAAC;KAChE;IACD,OAAO,aAAa,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;AACpE,CAAC;AAND,4BAMC;AASD,SAAgB,YAAY,CAAC,QAAkB,EAAE,IAAY,EAAE,aAA6B;IAC1F,IAAM,aAAa,GAAyB,QAAQ,CAAC;IACrD,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE;QACjC,aAAa,CAAC,cAAc,GAAG,IAAI,2BAAY,CAAC,aAAa,CAAC,CAAC;KAChE;IACD,OAAO,aAAa,CAAC,cAAc,CAAC,YAAY,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;AACxE,CAAC;AAND,oCAMC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IAClD,mBAAmB,CAAC,SAAU,CAAC,QAAQ,GAAG,UAAS,IAAY,EAAE,aAA6B;QAClG,OAAO,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;IAC7C,CAAC,CAAC;IAEI,mBAAmB,CAAC,SAAU,CAAC,YAAY,GAAG,UAAS,IAAY,EAAE,aAA6B;QACtG,OAAO,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;IACjD,CAAC,CAAC;AACJ,CAAC;AARD,sBAQC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/terminado/Interfaces.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export interface ITerminadoAddonTerminal extends Terminal { 3 | __socket?: WebSocket; 4 | __attachSocketBuffer?: string; 5 | __getMessage?(ev: MessageEvent): void; 6 | __flushBuffer?(): void; 7 | __pushToBuffer?(data: string): void; 8 | __sendData?(data: string): void; 9 | __setSize?(size: { 10 | rows: number; 11 | cols: number; 12 | }): void; 13 | } 14 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/terminado/Interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Interfaces.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/terminado/Interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../src/addons/terminado/Interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/terminado/terminado.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export declare function terminadoAttach(term: Terminal, socket: WebSocket, bidirectional: boolean, buffered: boolean): void; 3 | export declare function terminadoDetach(term: Terminal, socket: WebSocket): void; 4 | export declare function apply(terminalConstructor: typeof Terminal): void; 5 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/webLinks/webLinks.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal, ILinkMatcherOptions } from 'xterm'; 2 | export declare function webLinksInit(term: Terminal, handler?: (event: MouseEvent, uri: string) => void, options?: ILinkMatcherOptions): void; 3 | export declare function apply(terminalConstructor: typeof Terminal): void; 4 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/webLinks/webLinks.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"webLinks.js","sourceRoot":"","sources":["../../../src/addons/webLinks/webLinks.ts"],"names":[],"mappings":";;AAOA,IAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,IAAM,kBAAkB,GAAG,eAAe,CAAC;AAC3C,IAAM,yBAAyB,GAAG,gBAAgB,CAAC;AACnD,IAAM,gBAAgB,GAAG,GAAG,GAAG,kBAAkB,GAAG,GAAG,CAAC;AACxD,IAAM,SAAS,GAAG,iBAAiB,CAAC;AACpC,IAAM,QAAQ,GAAG,4BAA4B,CAAC;AAC9C,IAAM,eAAe,GAAG,aAAa,CAAC;AACtC,IAAM,UAAU,GAAG,aAAa,CAAC;AACjC,IAAM,UAAU,GAAG,IAAI,GAAG,gBAAgB,GAAG,KAAK,GAAG,SAAS,GAAG,IAAI,GAAG,QAAQ,GAAG,GAAG,GAAG,eAAe,GAAG,GAAG,GAAG,UAAU,GAAG,GAAG,CAAC;AAClI,IAAM,UAAU,GAAG,mCAAmC,CAAC;AACvD,IAAM,mCAAmC,GAAG,sDAAsD,CAAC;AACnG,IAAM,iBAAiB,GAAG,MAAM,GAAG,mCAAmC,GAAG,IAAI,CAAC;AAC9E,IAAM,kBAAkB,GAAG,IAAI,GAAG,mCAAmC,GAAG,IAAI,CAAC;AAC7E,IAAM,uBAAuB,GAAG,mBAAmB,CAAC;AACpD,IAAM,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,iBAAiB,GAAG,kBAAkB,CAAC;AACpF,IAAM,KAAK,GAAG,OAAO,GAAG,yBAAyB,GAAG,IAAI,CAAC;AACzD,IAAM,GAAG,GAAG,MAAM,GAAG,uBAAuB,GAAG,GAAG,CAAC;AACnD,IAAM,cAAc,GAAG,IAAI,MAAM,CAAC,KAAK,GAAG,cAAc,GAAG,UAAU,GAAG,GAAG,CAAC,CAAC;AAE7E,SAAS,UAAU,CAAC,KAAiB,EAAE,GAAW;IAChD,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;AAC7B,CAAC;AAQD,SAAgB,YAAY,CAAC,IAAc,EAAE,OAA8D,EAAE,OAAiC;IAAjG,wBAAA,EAAA,oBAA8D;IAAE,wBAAA,EAAA,YAAiC;IAC5I,OAAO,CAAC,UAAU,GAAG,CAAC,CAAC;IACvB,IAAI,CAAC,mBAAmB,CAAC,cAAc,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AAC7D,CAAC;AAHD,oCAGC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IAClD,mBAAmB,CAAC,SAAU,CAAC,YAAY,GAAG,UAAU,OAAkD,EAAE,OAA6B;QAC7I,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC,CAAC;AACJ,CAAC;AAJD,sBAIC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/winptyCompat/Interfaces.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export interface ITerminalCore { 3 | buffer: any; 4 | } 5 | export interface IWinptyCompatAddonTerminal extends Terminal { 6 | _core: ITerminalCore; 7 | } 8 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/winptyCompat/Interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Interfaces.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/winptyCompat/Interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../src/addons/winptyCompat/Interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/winptyCompat/winptyCompat.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export declare function winptyCompatInit(terminal: Terminal): void; 3 | export declare function apply(terminalConstructor: typeof Terminal): void; 4 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/winptyCompat/winptyCompat.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var CHAR_DATA_CODE_INDEX = 3; 4 | var NULL_CELL_CODE = 32; 5 | function winptyCompatInit(terminal) { 6 | var addonTerminal = terminal; 7 | var isWindows = ['Windows', 'Win16', 'Win32', 'WinCE'].indexOf(navigator.platform) >= 0; 8 | if (!isWindows) { 9 | return; 10 | } 11 | addonTerminal.on('linefeed', function () { 12 | var line = addonTerminal._core.buffer.lines.get(addonTerminal._core.buffer.ybase + addonTerminal._core.buffer.y - 1); 13 | var lastChar = line.get(addonTerminal.cols - 1); 14 | if (lastChar[CHAR_DATA_CODE_INDEX] !== NULL_CELL_CODE) { 15 | var nextLine = addonTerminal._core.buffer.lines.get(addonTerminal._core.buffer.ybase + addonTerminal._core.buffer.y); 16 | nextLine.isWrapped = true; 17 | } 18 | }); 19 | } 20 | exports.winptyCompatInit = winptyCompatInit; 21 | function apply(terminalConstructor) { 22 | terminalConstructor.prototype.winptyCompatInit = function () { 23 | winptyCompatInit(this); 24 | }; 25 | } 26 | exports.apply = apply; 27 | //# sourceMappingURL=winptyCompat.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/winptyCompat/winptyCompat.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"winptyCompat.js","sourceRoot":"","sources":["../../../src/addons/winptyCompat/winptyCompat.ts"],"names":[],"mappings":";;AAQA,IAAM,oBAAoB,GAAG,CAAC,CAAC;AAC/B,IAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,SAAgB,gBAAgB,CAAC,QAAkB;IACjD,IAAM,aAAa,GAA+B,QAAQ,CAAC;IAG3D,IAAM,SAAS,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC1F,IAAI,CAAC,SAAS,EAAE;QACd,OAAO;KACR;IAYD,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE;QAC3B,IAAM,IAAI,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACvH,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;QAElD,IAAI,QAAQ,CAAC,oBAAoB,CAAC,KAAK,cAAc,EAAE;YACrD,IAAM,QAAQ,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YACvH,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;SAC3B;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AA5BD,4CA4BC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IAClD,mBAAmB,CAAC,SAAU,CAAC,gBAAgB,GAAG;QACtD,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC,CAAC;AACJ,CAAC;AAJD,sBAIC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/zmodem/zmodem.d.ts: -------------------------------------------------------------------------------- 1 | import { Terminal } from 'xterm'; 2 | export interface IZmodemOptions { 3 | noTerminalWriteOutsideSession?: boolean; 4 | } 5 | export declare function apply(terminalConstructor: typeof Terminal): void; 6 | -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/zmodem/zmodem.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var zmodem; 4 | function zmodemAttach(ws, opts) { 5 | if (opts === void 0) { opts = {}; } 6 | var term = this; 7 | var senderFunc = function (octets) { return ws.send(new Uint8Array(octets)); }; 8 | var zsentry; 9 | function shouldWrite() { 10 | return !!zsentry.get_confirmed_session() || !opts.noTerminalWriteOutsideSession; 11 | } 12 | zsentry = new zmodem.Sentry({ 13 | to_terminal: function (octets) { 14 | if (shouldWrite()) { 15 | term.write(String.fromCharCode.apply(String, octets)); 16 | } 17 | }, 18 | sender: senderFunc, 19 | on_retract: function () { return term.emit('zmodemRetract'); }, 20 | on_detect: function (detection) { return term.emit('zmodemDetect', detection); } 21 | }); 22 | function handleWSMessage(evt) { 23 | if (typeof evt.data === 'string') { 24 | if (shouldWrite()) { 25 | term.write(evt.data); 26 | } 27 | } 28 | else { 29 | zsentry.consume(evt.data); 30 | } 31 | } 32 | ws.binaryType = 'arraybuffer'; 33 | ws.addEventListener('message', handleWSMessage); 34 | } 35 | function apply(terminalConstructor) { 36 | zmodem = (typeof window === 'object') ? window.Zmodem : { Browser: null }; 37 | terminalConstructor.prototype.zmodemAttach = zmodemAttach; 38 | terminalConstructor.prototype.zmodemBrowser = zmodem.Browser; 39 | } 40 | exports.apply = apply; 41 | //# sourceMappingURL=zmodem.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/addons/zmodem/zmodem.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"zmodem.js","sourceRoot":"","sources":["../../../src/addons/zmodem/zmodem.ts"],"names":[],"mappings":";;AAoCA,IAAI,MAAW,CAAC;AAMhB,SAAS,YAAY,CAAC,EAAa,EAAE,IAAyB;IAAzB,qBAAA,EAAA,SAAyB;IAC5D,IAAM,IAAI,GAAG,IAAI,CAAC;IAClB,IAAM,UAAU,GAAG,UAAC,MAAyB,IAAK,OAAA,EAAE,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC,EAA/B,CAA+B,CAAC;IAElF,IAAI,OAAY,CAAC;IAEjB,SAAS,WAAW;QAClB,OAAO,CAAC,CAAC,OAAO,CAAC,qBAAqB,EAAE,IAAI,CAAC,IAAI,CAAC,6BAA6B,CAAC;IAClF,CAAC;IAED,OAAO,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC;QAC1B,WAAW,EAAE,UAAC,MAAyB;YACrC,IAAI,WAAW,EAAE,EAAE;gBACjB,IAAI,CAAC,KAAK,CACR,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAC1C,CAAC;aACH;QACH,CAAC;QACD,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,cAAM,OAAM,IAAK,CAAC,IAAI,CAAC,eAAe,CAAC,EAAjC,CAAiC;QACnD,SAAS,EAAE,UAAC,SAAc,IAAK,OAAM,IAAK,CAAC,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,EAA3C,CAA2C;KAC3E,CAAC,CAAC;IAEH,SAAS,eAAe,CAAC,GAAiB;QAMxC,IAAI,OAAO,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;YAChC,IAAI,WAAW,EAAE,EAAE;gBACjB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;aACtB;SACF;aACI;YACH,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;SAC3B;IACH,CAAC;IAED,EAAE,CAAC,UAAU,GAAG,aAAa,CAAC;IAC9B,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,KAAK,CAAC,mBAAoC;IACxD,MAAM,GAAG,CAAC,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAO,MAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC;IAEzE,mBAAmB,CAAC,SAAU,CAAC,YAAY,GAAG,YAAY,CAAC;IAC3D,mBAAmB,CAAC,SAAU,CAAC,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC;AACtE,CAAC;AALD,sBAKC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/common/EventEmitter.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"EventEmitter.js","sourceRoot":"","sources":["../../src/common/EventEmitter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAOA,yCAAyC;AAEzC;IAAkC,gCAAU;IAG1C;QAAA,YACE,iBAAO,SAIR;QADC,KAAI,CAAC,OAAO,GAAS,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC;;IAC3C,CAAC;IAEM,yBAAE,GAAT,UAAU,IAAY,EAAE,QAAuB;QAC7C,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAC9C,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IAOM,4CAAqB,GAA5B,UAA6B,IAAY,EAAE,OAAsB;QAAjE,iBAcC;QAZC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACvB,IAAI,QAAQ,GAAG,KAAK,CAAC;QACrB,OAAO;YACL,OAAO,EAAE;gBACP,IAAI,QAAQ,EAAE;oBAEZ,OAAO;iBACR;gBACD,KAAI,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;gBACxB,QAAQ,GAAG,IAAI,CAAC;YAClB,CAAC;SACF,CAAC;IACJ,CAAC;IAEM,0BAAG,GAAV,UAAW,IAAY,EAAE,QAAuB;QAC9C,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACvB,OAAO;SACR;QAED,IAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;QAEnB,OAAO,CAAC,EAAE,EAAE;YACV,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBACvB,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;gBACjB,OAAO;aACR;SACF;IACH,CAAC;IAEM,yCAAkB,GAAzB,UAA0B,IAAY;QACpC,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACrB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;SAC5B;IACH,CAAC;IAEM,2BAAI,GAAX,UAAY,IAAY;QAAE,cAAc;aAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;YAAd,6BAAc;;QACtC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACvB,OAAO;SACR;QACD,IAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC/B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACnC,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;SAC1B;IACH,CAAC;IAEM,gCAAS,GAAhB,UAAiB,IAAY;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IAClC,CAAC;IAEM,8BAAO,GAAd;QACE,iBAAM,OAAO,WAAE,CAAC;QAChB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;IACpB,CAAC;IACH,mBAAC;AAAD,CAAC,AA5ED,CAAkC,sBAAU,GA4E3C;AA5EY,oCAAY"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/common/Lifecycle.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var Disposable = (function () { 4 | function Disposable() { 5 | this._disposables = []; 6 | this._isDisposed = false; 7 | } 8 | Disposable.prototype.dispose = function () { 9 | this._isDisposed = true; 10 | this._disposables.forEach(function (d) { return d.dispose(); }); 11 | this._disposables.length = 0; 12 | }; 13 | Disposable.prototype.register = function (d) { 14 | this._disposables.push(d); 15 | }; 16 | Disposable.prototype.unregister = function (d) { 17 | var index = this._disposables.indexOf(d); 18 | if (index !== -1) { 19 | this._disposables.splice(index, 1); 20 | } 21 | }; 22 | return Disposable; 23 | }()); 24 | exports.Disposable = Disposable; 25 | //# sourceMappingURL=Lifecycle.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/common/Lifecycle.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Lifecycle.js","sourceRoot":"","sources":["../../src/common/Lifecycle.ts"],"names":[],"mappings":";;AAWA;IAIE;QAHU,iBAAY,GAAkB,EAAE,CAAC;QACjC,gBAAW,GAAY,KAAK,CAAC;IAGvC,CAAC;IAKM,4BAAO,GAAd;QACE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,OAAO,EAAE,EAAX,CAAW,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC;IAC/B,CAAC;IAMM,6BAAQ,GAAf,UAAuC,CAAI;QACzC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5B,CAAC;IAOM,+BAAU,GAAjB,UAAyC,CAAI;QAC3C,IAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC3C,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE;YAChB,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;SACpC;IACH,CAAC;IACH,iBAAC;AAAD,CAAC,AAnCD,IAmCC;AAnCqB,gCAAU"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/common/TypedArrayUtils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | function fill(array, value, start, end) { 4 | if (array.fill) { 5 | return array.fill(value, start, end); 6 | } 7 | return fillFallback(array, value, start, end); 8 | } 9 | exports.fill = fill; 10 | function fillFallback(array, value, start, end) { 11 | if (start === void 0) { start = 0; } 12 | if (end === void 0) { end = array.length; } 13 | if (start >= array.length) { 14 | return array; 15 | } 16 | start = (array.length + start) % array.length; 17 | if (end >= array.length) { 18 | end = array.length; 19 | } 20 | else { 21 | end = (array.length + end) % array.length; 22 | } 23 | for (var i = start; i < end; ++i) { 24 | array[i] = value; 25 | } 26 | return array; 27 | } 28 | exports.fillFallback = fillFallback; 29 | //# sourceMappingURL=TypedArrayUtils.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/common/TypedArrayUtils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"TypedArrayUtils.js","sourceRoot":"","sources":["../../src/common/TypedArrayUtils.ts"],"names":[],"mappings":";;AAcA,SAAgB,IAAI,CAAuB,KAAQ,EAAE,KAAa,EAAE,KAAc,EAAE,GAAY;IAE9F,IAAI,KAAK,CAAC,IAAI,EAAE;QACd,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAAM,CAAC;KAC3C;IACD,OAAO,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;AAChD,CAAC;AAND,oBAMC;AAED,SAAgB,YAAY,CAAuB,KAAQ,EAAE,KAAa,EAAE,KAAiB,EAAE,GAA0B;IAA7C,sBAAA,EAAA,SAAiB;IAAE,oBAAA,EAAA,MAAc,KAAK,CAAC,MAAM;IAKvH,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,EAAE;QACzB,OAAO,KAAK,CAAC;KACd;IACD,KAAK,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC;IAC9C,IAAI,GAAG,IAAI,KAAK,CAAC,MAAM,EAAE;QACvB,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC;KACpB;SAAM;QACL,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC;KAC3C;IACD,KAAK,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,GAAG,GAAG,EAAE,EAAE,CAAC,EAAE;QAChC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;KAClB;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAlBD,oCAkBC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/common/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/common/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../../src/common/Types.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/core/Platform.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var isNode = (typeof navigator === 'undefined') ? true : false; 4 | var userAgent = (isNode) ? 'node' : navigator.userAgent; 5 | var platform = (isNode) ? 'node' : navigator.platform; 6 | exports.isFirefox = !!~userAgent.indexOf('Firefox'); 7 | exports.isSafari = /^((?!chrome|android).)*safari/i.test(userAgent); 8 | exports.isMSIE = !!~userAgent.indexOf('MSIE') || !!~userAgent.indexOf('Trident'); 9 | exports.isMac = contains(['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'], platform); 10 | exports.isIpad = platform === 'iPad'; 11 | exports.isIphone = platform === 'iPhone'; 12 | exports.isMSWindows = contains(['Windows', 'Win16', 'Win32', 'WinCE'], platform); 13 | exports.isLinux = platform.indexOf('Linux') >= 0; 14 | function contains(arr, el) { 15 | return arr.indexOf(el) >= 0; 16 | } 17 | //# sourceMappingURL=Platform.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/core/Platform.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Platform.js","sourceRoot":"","sources":["../../src/core/Platform.ts"],"names":[],"mappings":";;AAKA,IAAM,MAAM,GAAG,CAAC,OAAO,SAAS,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;AACjE,IAAM,SAAS,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC;AAC1D,IAAM,QAAQ,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC;AAE3C,QAAA,SAAS,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAC5C,QAAA,QAAQ,GAAG,gCAAgC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAC5D,QAAA,MAAM,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAKzE,QAAA,KAAK,GAAG,QAAQ,CAAC,CAAC,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC;AAC1E,QAAA,MAAM,GAAG,QAAQ,KAAK,MAAM,CAAC;AAC7B,QAAA,QAAQ,GAAG,QAAQ,KAAK,QAAQ,CAAC;AACjC,QAAA,WAAW,GAAG,QAAQ,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC;AACzE,QAAA,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAOtD,SAAS,QAAQ,CAAC,GAAU,EAAE,EAAO;IACnC,OAAO,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/core/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/core/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../../src/core/Types.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/GridCache.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var GridCache = (function () { 4 | function GridCache() { 5 | this.cache = []; 6 | } 7 | GridCache.prototype.resize = function (width, height) { 8 | for (var x = 0; x < width; x++) { 9 | if (this.cache.length <= x) { 10 | this.cache.push([]); 11 | } 12 | for (var y = this.cache[x].length; y < height; y++) { 13 | this.cache[x].push(null); 14 | } 15 | this.cache[x].length = height; 16 | } 17 | this.cache.length = width; 18 | }; 19 | GridCache.prototype.clear = function () { 20 | for (var x = 0; x < this.cache.length; x++) { 21 | for (var y = 0; y < this.cache[x].length; y++) { 22 | this.cache[x][y] = null; 23 | } 24 | } 25 | }; 26 | return GridCache; 27 | }()); 28 | exports.GridCache = GridCache; 29 | //# sourceMappingURL=GridCache.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/GridCache.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"GridCache.js","sourceRoot":"","sources":["../../src/renderer/GridCache.ts"],"names":[],"mappings":";;AAKA;IAGE;QACE,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;IAClB,CAAC;IAEM,0BAAM,GAAb,UAAc,KAAa,EAAE,MAAc;QACzC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;YAC9B,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,EAAE;gBAC1B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;aACrB;YACD,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,EAAE;gBAClD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aAC1B;YACD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC;SAC/B;QACD,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC;IAC5B,CAAC;IAEM,yBAAK,GAAZ;QACE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBAC7C,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;aACzB;SACF;IACH,CAAC;IACH,gBAAC;AAAD,CAAC,AA3BD,IA2BC;AA3BY,8BAAS"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../../src/renderer/Types.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/atlas/BaseCharAtlas.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var BaseCharAtlas = (function () { 4 | function BaseCharAtlas() { 5 | this._didWarmUp = false; 6 | } 7 | BaseCharAtlas.prototype.dispose = function () { }; 8 | BaseCharAtlas.prototype.warmUp = function () { 9 | if (!this._didWarmUp) { 10 | this._doWarmUp(); 11 | this._didWarmUp = true; 12 | } 13 | }; 14 | BaseCharAtlas.prototype._doWarmUp = function () { }; 15 | BaseCharAtlas.prototype.beginFrame = function () { }; 16 | return BaseCharAtlas; 17 | }()); 18 | exports.default = BaseCharAtlas; 19 | //# sourceMappingURL=BaseCharAtlas.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/atlas/BaseCharAtlas.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"BaseCharAtlas.js","sourceRoot":"","sources":["../../../src/renderer/atlas/BaseCharAtlas.ts"],"names":[],"mappings":";;AAQA;IAAA;QACU,eAAU,GAAY,KAAK,CAAC;IA8CtC,CAAC;IA5CQ,+BAAO,GAAd,cAAyB,CAAC;IAMnB,8BAAM,GAAb;QACE,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YACpB,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;SACxB;IACH,CAAC;IAMS,iCAAS,GAAnB,cAA8B,CAAC;IASxB,kCAAU,GAAjB,cAA4B,CAAC;IAkB/B,oBAAC;AAAD,CAAC,AA/CD,IA+CC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/atlas/CharAtlasUtils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"CharAtlasUtils.js","sourceRoot":"","sources":["../../../src/renderer/atlas/CharAtlasUtils.ts"],"names":[],"mappings":";;AAOA,iCAA0D;AAE1D,SAAgB,cAAc,CAAC,eAAuB,EAAE,gBAAwB,EAAE,QAAmB,EAAE,MAAiB;IAEtH,IAAM,YAAY,GAAc;QAC9B,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QAGf,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;KAC/B,CAAC;IACF,OAAO;QACL,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,qBAAqB;QAC5C,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,eAAe,iBAAA;QACf,gBAAgB,kBAAA;QAChB,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,UAAU;QACvC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,QAAQ;QACnC,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,UAAU;QACvC,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,cAAc;QAC/C,iBAAiB,EAAE,QAAQ,CAAC,OAAO,CAAC,iBAAiB;QACrD,MAAM,EAAE,YAAY;KACrB,CAAC;AACJ,CAAC;AAxBD,wCAwBC;AAED,SAAgB,YAAY,CAAC,CAAmB,EAAE,CAAmB;IACnE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAC7C,IAAI,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE;YACnD,OAAO,KAAK,CAAC;SACd;KACF;IACD,OAAO,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;QACpB,CAAC,CAAC,gBAAgB,KAAK,CAAC,CAAC,gBAAgB;QACzC,CAAC,CAAC,UAAU,KAAK,CAAC,CAAC,UAAU;QAC7B,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,QAAQ;QACzB,CAAC,CAAC,UAAU,KAAK,CAAC,CAAC,UAAU;QAC7B,CAAC,CAAC,cAAc,KAAK,CAAC,CAAC,cAAc;QACrC,CAAC,CAAC,iBAAiB,KAAK,CAAC,CAAC,iBAAiB;QAC3C,CAAC,CAAC,eAAe,KAAK,CAAC,CAAC,eAAe;QACvC,CAAC,CAAC,gBAAgB,KAAK,CAAC,CAAC,gBAAgB;QACzC,CAAC,CAAC,MAAM,CAAC,UAAU,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU;QAC3C,CAAC,CAAC,MAAM,CAAC,UAAU,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC;AAClD,CAAC;AAjBD,oCAiBC;AAED,SAAgB,UAAU,CAAC,SAAiB;IAC1C,OAAO,SAAS,GAAG,qBAAa,CAAC;AACnC,CAAC;AAFD,gCAEC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/atlas/NoneCharAtlas.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __extends = (this && this.__extends) || (function () { 3 | var extendStatics = function (d, b) { 4 | extendStatics = Object.setPrototypeOf || 5 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 6 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; 7 | return extendStatics(d, b); 8 | } 9 | return function (d, b) { 10 | extendStatics(d, b); 11 | function __() { this.constructor = d; } 12 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 13 | }; 14 | })(); 15 | Object.defineProperty(exports, "__esModule", { value: true }); 16 | var BaseCharAtlas_1 = require("./BaseCharAtlas"); 17 | var NoneCharAtlas = (function (_super) { 18 | __extends(NoneCharAtlas, _super); 19 | function NoneCharAtlas(document, config) { 20 | return _super.call(this) || this; 21 | } 22 | NoneCharAtlas.prototype.draw = function (ctx, glyph, x, y) { 23 | return false; 24 | }; 25 | return NoneCharAtlas; 26 | }(BaseCharAtlas_1.default)); 27 | exports.default = NoneCharAtlas; 28 | //# sourceMappingURL=NoneCharAtlas.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/atlas/NoneCharAtlas.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"NoneCharAtlas.js","sourceRoot":"","sources":["../../../src/renderer/atlas/NoneCharAtlas.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,iDAA4C;AAE5C;IAA2C,iCAAa;IACtD,uBAAY,QAAkB,EAAE,MAAwB;eACtD,iBAAO;IACT,CAAC;IAEM,4BAAI,GAAX,UACE,GAA6B,EAC7B,KAAuB,EACvB,CAAS,EACT,CAAS;QAET,OAAO,KAAK,CAAC;IACf,CAAC;IACH,oBAAC;AAAD,CAAC,AAbD,CAA2C,uBAAa,GAavD"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/atlas/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.DEFAULT_COLOR = 256; 4 | exports.INVERTED_DEFAULT_COLOR = 257; 5 | exports.DIM_OPACITY = 0.5; 6 | exports.CHAR_ATLAS_CELL_SPACING = 1; 7 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/renderer/atlas/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../../../src/renderer/atlas/Types.ts"],"names":[],"mappings":";;AAQa,QAAA,aAAa,GAAG,GAAG,CAAC;AACpB,QAAA,sBAAsB,GAAG,GAAG,CAAC;AAC7B,QAAA,WAAW,GAAG,GAAG,CAAC;AAElB,QAAA,uBAAuB,GAAG,CAAC,CAAC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/ui/CharMeasure.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"CharMeasure.js","sourceRoot":"","sources":["../../src/ui/CharMeasure.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAMA,uDAAsD;AAOtD;IAAiC,+BAAY;IAO3C,qBAAY,QAAkB,EAAE,aAA0B;QAA1D,YACE,iBAAO,SAQR;QAPC,KAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,KAAI,CAAC,cAAc,GAAG,aAAa,CAAC;QACpC,KAAI,CAAC,eAAe,GAAG,KAAI,CAAC,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAC5D,KAAI,CAAC,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;QACjE,KAAI,CAAC,eAAe,CAAC,WAAW,GAAG,GAAG,CAAC;QACvC,KAAI,CAAC,eAAe,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,WAAW,CAAC,KAAI,CAAC,eAAe,CAAC,CAAC;;IACxD,CAAC;IAED,sBAAW,8BAAK;aAAhB;YACE,OAAO,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;;;OAAA;IAED,sBAAW,+BAAM;aAAjB;YACE,OAAO,IAAI,CAAC,OAAO,CAAC;QACtB,CAAC;;;OAAA;IAEM,6BAAO,GAAd,UAAe,OAAyB;QACxC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACzD,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,QAAQ,GAAM,OAAO,CAAC,QAAQ,OAAI,CAAC;QAC9D,IAAM,QAAQ,GAAG,IAAI,CAAC,eAAe,CAAC,qBAAqB,EAAE,CAAC;QAG9D,IAAI,QAAQ,CAAC,KAAK,KAAK,CAAC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;YACjD,OAAO;SACR;QACD,IAAI,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ,CAAC,MAAM,EAAE;YACtE,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC;YAC7B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAC1C,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;SAC9B;IACH,CAAC;IACH,kBAAC;AAAD,CAAC,AAzCD,CAAiC,2BAAY,GAyC5C;AAzCY,kCAAW"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/ui/Lifecycle.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | function addDisposableDomListener(node, type, handler, useCapture) { 4 | node.addEventListener(type, handler, useCapture); 5 | return { 6 | dispose: function () { 7 | if (!handler) { 8 | return; 9 | } 10 | node.removeEventListener(type, handler, useCapture); 11 | node = null; 12 | handler = null; 13 | } 14 | }; 15 | } 16 | exports.addDisposableDomListener = addDisposableDomListener; 17 | //# sourceMappingURL=Lifecycle.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/ui/Lifecycle.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Lifecycle.js","sourceRoot":"","sources":["../../src/ui/Lifecycle.ts"],"names":[],"mappings":";;AAYA,SAAgB,wBAAwB,CACtC,IAAiC,EACjC,IAAY,EACZ,OAAyB,EACzB,UAAoB;IAEpB,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IACjD,OAAO;QACL,OAAO,EAAE;YACP,IAAI,CAAC,OAAO,EAAE;gBAEZ,OAAO;aACR;YACD,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;YACpD,IAAI,GAAG,IAAI,CAAC;YACZ,OAAO,GAAG,IAAI,CAAC;QACjB,CAAC;KACF,CAAC;AACJ,CAAC;AAlBD,4DAkBC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/ui/RenderDebouncer.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"RenderDebouncer.js","sourceRoot":"","sources":["../../src/ui/RenderDebouncer.ts"],"names":[],"mappings":";;AAMA;IAKE,yBACU,SAAoB,EACpB,SAA+C;QAD/C,cAAS,GAAT,SAAS,CAAW;QACpB,cAAS,GAAT,SAAS,CAAsC;QAJjD,oBAAe,GAAW,IAAI,CAAC;IAMvC,CAAC;IAEM,iCAAO,GAAd;QACE,IAAI,IAAI,CAAC,eAAe,EAAE;YACxB,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;YAClD,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;SAC7B;IACH,CAAC;IAEM,iCAAO,GAAd,UAAe,QAAgB,EAAE,MAAc;QAA/C,iBAgBC;QAdC,QAAQ,GAAG,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;QACtE,MAAM,GAAG,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,CAAC;QAEpF,IAAM,aAAa,GAAG,IAAI,CAAC,SAAS,KAAK,SAAS,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,CAAC;QAC9E,IAAM,WAAW,GAAG,IAAI,CAAC,OAAO,KAAK,SAAS,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,CAAC;QAExE,IAAI,CAAC,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;QAC/E,IAAI,CAAC,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;QAErE,IAAI,IAAI,CAAC,eAAe,EAAE;YACxB,OAAO;SACR;QAED,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,qBAAqB,CAAC,cAAM,OAAA,KAAI,CAAC,aAAa,EAAE,EAApB,CAAoB,CAAC,CAAC;IAClF,CAAC;IAEO,uCAAa,GAArB;QAEE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;QAG/D,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAG7C,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;IAC9B,CAAC;IACH,sBAAC;AAAD,CAAC,AAjDD,IAiDC;AAjDY,0CAAe"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/ui/ScreenDprMonitor.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"ScreenDprMonitor.js","sourceRoot":"","sources":["../../src/ui/ScreenDprMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAKA,iDAAiD;AAcjD;IAAsC,oCAAU;IAAhD;;IA0CA,CAAC;IApCQ,sCAAW,GAAlB,UAAmB,QAA2B;QAA9C,iBAUC;QATC,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,aAAa,EAAE,CAAC;SACtB;QACD,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,IAAI,CAAC,cAAc,GAAG;YACpB,KAAI,CAAC,SAAS,CAAC,MAAM,CAAC,gBAAgB,EAAE,KAAI,CAAC,wBAAwB,CAAC,CAAC;YACvE,KAAI,CAAC,UAAU,EAAE,CAAC;QACpB,CAAC,CAAC;QACF,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IAEM,kCAAO,GAAd;QACE,iBAAM,OAAO,WAAE,CAAC;QAChB,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAEO,qCAAU,GAAlB;QAEE,IAAI,IAAI,CAAC,yBAAyB,EAAE;YAClC,IAAI,CAAC,yBAAyB,CAAC,cAAc,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;SACpE;QAED,IAAI,CAAC,wBAAwB,GAAG,MAAM,CAAC,gBAAgB,CAAC;QACxD,IAAI,CAAC,yBAAyB,GAAG,MAAM,CAAC,UAAU,CAAC,6BAA2B,MAAM,CAAC,gBAAgB,UAAO,CAAC,CAAC;QAC9G,IAAI,CAAC,yBAAyB,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAClE,CAAC;IAEM,wCAAa,GAApB;QACE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,OAAO;SACR;QACD,IAAI,CAAC,yBAAyB,CAAC,cAAc,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;IAC7B,CAAC;IACH,uBAAC;AAAD,CAAC,AA1CD,CAAsC,sBAAU,GA0C/C;AA1CY,4CAAgB"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/ui/Types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=Types.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/ui/Types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Types.js","sourceRoot":"","sources":["../../src/ui/Types.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/utils/Clone.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.clone = function (val, depth) { 4 | if (depth === void 0) { depth = 5; } 5 | if (typeof val !== 'object') { 6 | return val; 7 | } 8 | if (val === null) { 9 | return null; 10 | } 11 | var clonedObject = Array.isArray(val) ? [] : {}; 12 | for (var key in val) { 13 | clonedObject[key] = depth <= 1 ? val[key] : exports.clone(val[key], depth - 1); 14 | } 15 | return clonedObject; 16 | }; 17 | //# sourceMappingURL=Clone.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/utils/Clone.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Clone.js","sourceRoot":"","sources":["../../src/utils/Clone.ts"],"names":[],"mappings":";;AAQa,QAAA,KAAK,GAAG,UAAI,GAAM,EAAE,KAAiB;IAAjB,sBAAA,EAAA,SAAiB;IAChD,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC3B,OAAO,GAAG,CAAC;KACZ;IAGD,IAAI,GAAG,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IAGD,IAAM,YAAY,GAAQ,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAEvD,KAAK,IAAM,GAAG,IAAI,GAAG,EAAE;QAErB,YAAY,CAAC,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,aAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;KACxE;IAED,OAAO,YAAiB,CAAC;AAC3B,CAAC,CAAC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/xterm.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var Terminal_1 = require("./public/Terminal"); 4 | module.exports = Terminal_1.Terminal; 5 | //# sourceMappingURL=xterm.js.map -------------------------------------------------------------------------------- /login/node_modules/xterm/lib/xterm.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"xterm.js","sourceRoot":"","sources":["../src/xterm.ts"],"names":[],"mappings":";;AAOA,8CAA6C;AAE7C,MAAM,CAAC,OAAO,GAAG,mBAAQ,CAAC"} -------------------------------------------------------------------------------- /login/node_modules/xterm/src/Strings.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | export let blankLine = 'Blank line'; 7 | export let promptLabel = 'Terminal input'; 8 | export let tooMuchOutput = 'Too much output to announce, navigate to rows manually to read'; 9 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/attach/Interfaces.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | * 5 | * Implements the attach method, that attaches the terminal to a WebSocket stream. 6 | */ 7 | 8 | import { Terminal, IDisposable } from 'xterm'; 9 | 10 | export interface IAttachAddonTerminal extends Terminal { 11 | _core: { 12 | register(d: T): void; 13 | }; 14 | 15 | __socket?: WebSocket; 16 | __attachSocketBuffer?: string; 17 | 18 | __getMessage?(ev: MessageEvent): void; 19 | __flushBuffer?(): void; 20 | __pushToBuffer?(data: string): void; 21 | __sendData?(data: string): void; 22 | } 23 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/attach/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.attach", 3 | "main": "attach.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/attach/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "dom", 7 | "es6", 8 | ], 9 | "rootDir": ".", 10 | "outDir": "../../../lib/addons/attach/", 11 | "sourceMap": true, 12 | "removeComments": true, 13 | "declaration": true, 14 | "preserveWatchOutput": true 15 | }, 16 | "include": [ 17 | "**/*.ts", 18 | "../../../typings/xterm.d.ts" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/fit/README.md: -------------------------------------------------------------------------------- 1 | ## fit addon 2 | 3 | The fit addon adjusts the dimensions of the terminal to match best fit its parent element container. `fit` will only work when the element is visible. 4 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/fit/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.fit", 3 | "main": "fit.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/fit/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "dom", 7 | "es5" 8 | ], 9 | "rootDir": ".", 10 | "outDir": "../../../lib/addons/fit/", 11 | "sourceMap": true, 12 | "removeComments": true, 13 | "declaration": true, 14 | "preserveWatchOutput": true, 15 | "types": [ 16 | "../../node_modules/@types/mocha" 17 | ] 18 | }, 19 | "include": [ 20 | "**/*.ts", 21 | "../../../typings/xterm.d.ts" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/fullscreen/fullscreen.css: -------------------------------------------------------------------------------- 1 | .xterm.fullscreen { 2 | position: fixed; 3 | top: 0; 4 | bottom: 0; 5 | left: 0; 6 | right: 0; 7 | width: auto; 8 | height: auto; 9 | z-index: 255; 10 | } 11 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/fullscreen/fullscreen.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { Terminal } from 'xterm'; 7 | 8 | /** 9 | * Toggle the given terminal's fullscreen mode. 10 | * @param term The terminal to toggle full screen mode 11 | * @param fullscreen Toggle fullscreen on (true) or off (false) 12 | */ 13 | export function toggleFullScreen(term: Terminal, fullscreen: boolean): void { 14 | let fn: (...tokens: string[]) => void; 15 | 16 | if (typeof fullscreen === 'undefined') { 17 | fn = (term.element.classList.contains('fullscreen')) ? 18 | term.element.classList.remove : term.element.classList.add; 19 | } else if (!fullscreen) { 20 | fn = term.element.classList.remove; 21 | } else { 22 | fn = term.element.classList.add; 23 | } 24 | 25 | fn('fullscreen'); 26 | } 27 | 28 | export function apply(terminalConstructor: typeof Terminal): void { 29 | (terminalConstructor.prototype).toggleFullScreen = function (fullscreen: boolean): void { 30 | toggleFullScreen(this, fullscreen); 31 | }; 32 | } 33 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/fullscreen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.fullscreen", 3 | "main": "fullscreen.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/fullscreen/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "dom", 7 | "es5" 8 | ], 9 | "rootDir": ".", 10 | "outDir": "../../../lib/addons/fullscreen/", 11 | "sourceMap": true, 12 | "removeComments": true, 13 | "declaration": true, 14 | "preserveWatchOutput": true, 15 | "types": [ 16 | "../../node_modules/@types/mocha" 17 | ] 18 | }, 19 | "include": [ 20 | "**/*.ts", 21 | "../../../typings/xterm.d.ts" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/search/Interfaces.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { Terminal } from 'xterm'; 7 | 8 | // TODO: Don't rely on this private API 9 | export interface ITerminalCore { 10 | buffer: any; 11 | selectionManager: any; 12 | } 13 | 14 | export interface ISearchAddonTerminal extends Terminal { 15 | __searchHelper?: ISearchHelper; 16 | _core: ITerminalCore; 17 | } 18 | 19 | export interface ISearchHelper { 20 | findNext(term: string, searchOptions: ISearchOptions): boolean; 21 | findPrevious(term: string, searchOptions: ISearchOptions): boolean; 22 | } 23 | 24 | export interface ISearchOptions { 25 | regex?: boolean; 26 | wholeWord?: boolean; 27 | caseSensitive?: boolean; 28 | } 29 | 30 | export interface ISearchResult { 31 | term: string; 32 | col: number; 33 | row: number; 34 | } 35 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/search/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.search", 3 | "main": "search.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/search/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "es5" 7 | ], 8 | "rootDir": ".", 9 | "outDir": "../../../lib/addons/search/", 10 | "sourceMap": true, 11 | "removeComments": true, 12 | "declaration": true, 13 | "preserveWatchOutput": true, 14 | "types": [ 15 | "../../node_modules/@types/mocha" 16 | ] 17 | }, 18 | "include": [ 19 | "**/*.ts", 20 | "../../../typings/xterm.d.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/terminado/Interfaces.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | * 5 | * Implements the attach method, that attaches the terminal to a WebSocket stream. 6 | */ 7 | 8 | import { Terminal } from 'xterm'; 9 | 10 | export interface ITerminadoAddonTerminal extends Terminal { 11 | __socket?: WebSocket; 12 | __attachSocketBuffer?: string; 13 | 14 | __getMessage?(ev: MessageEvent): void; 15 | __flushBuffer?(): void; 16 | __pushToBuffer?(data: string): void; 17 | __sendData?(data: string): void; 18 | __setSize?(size: {rows: number, cols: number}): void; 19 | } 20 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/terminado/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.terminado", 3 | "main": "terminado.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/terminado/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "es5" 7 | ], 8 | "rootDir": ".", 9 | "outDir": "../../../lib/addons/terminado/", 10 | "sourceMap": true, 11 | "removeComments": true, 12 | "declaration": true, 13 | "preserveWatchOutput": true, 14 | "types": [ 15 | "../../node_modules/@types/mocha" 16 | ] 17 | }, 18 | "include": [ 19 | "**/*.ts", 20 | "../../../typings/xterm.d.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/webLinks/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.weblinks", 3 | "main": "weblinks.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/webLinks/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "dom", 7 | "es5", 8 | ], 9 | "rootDir": ".", 10 | "outDir": "../../../lib/addons/webLinks/", 11 | "sourceMap": true, 12 | "removeComments": true, 13 | "declaration": true, 14 | "preserveWatchOutput": true, 15 | "types": [ 16 | "../../node_modules/@types/mocha" 17 | ] 18 | }, 19 | "include": [ 20 | "**/*.ts", 21 | "../../../typings/xterm.d.ts" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/winptyCompat/Interfaces.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { Terminal } from 'xterm'; 7 | 8 | export interface ITerminalCore { 9 | buffer: any; 10 | } 11 | 12 | export interface IWinptyCompatAddonTerminal extends Terminal { 13 | _core: ITerminalCore; 14 | } 15 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/winptyCompat/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.winptycompat", 3 | "main": "winptyCompat.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/winptyCompat/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "es5" 7 | ], 8 | "rootDir": ".", 9 | "outDir": "../../../lib/addons/winptyCompat/", 10 | "sourceMap": true, 11 | "removeComments": true, 12 | "declaration": true, 13 | "preserveWatchOutput": true, 14 | "types": [ 15 | "../../node_modules/@types/mocha" 16 | ] 17 | }, 18 | "include": [ 19 | "**/*.ts", 20 | "../../../typings/xterm.d.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/zmodem/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xterm.zmodem", 3 | "main": "zmodem.js", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/addons/zmodem/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "es5" 7 | ], 8 | "rootDir": ".", 9 | "outDir": "../../../lib/addons/zmodem/", 10 | "sourceMap": true, 11 | "removeComments": true, 12 | "declaration": true, 13 | "preserveWatchOutput": true, 14 | "types": [ 15 | "../../node_modules/@types/mocha" 16 | ] 17 | }, 18 | "include": [ 19 | "**/*.ts", 20 | "../../../typings/xterm.d.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/common/Lifecycle.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { IDisposable } from 'xterm'; 7 | 8 | /** 9 | * A base class that can be extended to provide convenience methods for managing the lifecycle of an 10 | * object and its components. 11 | */ 12 | export abstract class Disposable implements IDisposable { 13 | protected _disposables: IDisposable[] = []; 14 | protected _isDisposed: boolean = false; 15 | 16 | constructor() { 17 | } 18 | 19 | /** 20 | * Disposes the object, triggering the `dispose` method on all registered IDisposables. 21 | */ 22 | public dispose(): void { 23 | this._isDisposed = true; 24 | this._disposables.forEach(d => d.dispose()); 25 | this._disposables.length = 0; 26 | } 27 | 28 | /** 29 | * Registers a disposable object. 30 | * @param d The disposable to register. 31 | */ 32 | public register(d: T): void { 33 | this._disposables.push(d); 34 | } 35 | 36 | /** 37 | * Unregisters a disposable object if it has been registered, if not do 38 | * nothing. 39 | * @param d The disposable to unregister. 40 | */ 41 | public unregister(d: T): void { 42 | const index = this._disposables.indexOf(d); 43 | if (index !== -1) { 44 | this._disposables.splice(index, 1); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/common/TypedArrayUtils.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | /** 7 | * polyfill for TypedArray.fill 8 | * This is needed to support .fill in all safari versions and IE 11. 9 | */ 10 | 11 | type TypedArray = Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray 12 | | Int8Array | Int16Array | Int32Array 13 | | Float32Array | Float64Array; 14 | 15 | export function fill(array: T, value: number, start?: number, end?: number): T { 16 | // all modern engines that support .fill 17 | if (array.fill) { 18 | return array.fill(value, start, end) as T; 19 | } 20 | return fillFallback(array, value, start, end); 21 | } 22 | 23 | export function fillFallback(array: T, value: number, start: number = 0, end: number = array.length): T { 24 | // safari and IE 11 25 | // since IE 11 does not support Array.prototype.fill either 26 | // we cannot use the suggested polyfill from MDN 27 | // instead we simply fall back to looping 28 | if (start >= array.length) { 29 | return array; 30 | } 31 | start = (array.length + start) % array.length; 32 | if (end >= array.length) { 33 | end = array.length; 34 | } else { 35 | end = (array.length + end) % array.length; 36 | } 37 | for (let i = start; i < end; ++i) { 38 | array[i] = value; 39 | } 40 | return array; 41 | } 42 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/common/Types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { IEventEmitter } from 'xterm'; 7 | 8 | export type XtermListener = (...args: any[]) => void; 9 | 10 | /** 11 | * A keyboard event interface which does not depend on the DOM, KeyboardEvent implicitly extends 12 | * this event. 13 | */ 14 | export interface IKeyboardEvent { 15 | altKey: boolean; 16 | ctrlKey: boolean; 17 | shiftKey: boolean; 18 | metaKey: boolean; 19 | keyCode: number; 20 | key: string; 21 | type: string; 22 | } 23 | 24 | export interface ICircularList extends IEventEmitter { 25 | length: number; 26 | maxLength: number; 27 | isFull: boolean; 28 | 29 | get(index: number): T | undefined; 30 | set(index: number, value: T): void; 31 | push(value: T): void; 32 | recycle(): T | undefined; 33 | pop(): T | undefined; 34 | splice(start: number, deleteCount: number, ...items: T[]): void; 35 | trimStart(count: number): void; 36 | shiftElements(start: number, count: number, offset: number): void; 37 | } 38 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/common/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "es5" 6 | ], 7 | "rootDir": ".", 8 | "noEmit": true, 9 | "strict": true, 10 | "pretty": true, 11 | "types": [ 12 | "../../node_modules/@types/mocha", 13 | "../../" 14 | ] 15 | }, 16 | "include": [ 17 | "./**/*" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/core/Platform.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2016 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | const isNode = (typeof navigator === 'undefined') ? true : false; 7 | const userAgent = (isNode) ? 'node' : navigator.userAgent; 8 | const platform = (isNode) ? 'node' : navigator.platform; 9 | 10 | export const isFirefox = !!~userAgent.indexOf('Firefox'); 11 | export const isSafari = /^((?!chrome|android).)*safari/i.test(userAgent); 12 | export const isMSIE = !!~userAgent.indexOf('MSIE') || !!~userAgent.indexOf('Trident'); 13 | 14 | // Find the users platform. We use this to interpret the meta key 15 | // and ISO third level shifts. 16 | // http://stackoverflow.com/q/19877924/577598 17 | export const isMac = contains(['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'], platform); 18 | export const isIpad = platform === 'iPad'; 19 | export const isIphone = platform === 'iPhone'; 20 | export const isMSWindows = contains(['Windows', 'Win16', 'Win32', 'WinCE'], platform); 21 | export const isLinux = platform.indexOf('Linux') >= 0; 22 | 23 | /** 24 | * Return if the given array contains the given element 25 | * @param arr The array to search for the given element. 26 | * @param el The element to look for into the array 27 | */ 28 | function contains(arr: any[], el: any): boolean { 29 | return arr.indexOf(el) >= 0; 30 | } 31 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/core/Types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | export const enum KeyboardResultType { 7 | SEND_KEY, 8 | SELECT_ALL, 9 | PAGE_UP, 10 | PAGE_DOWN 11 | } 12 | 13 | export interface IKeyboardResult { 14 | type: KeyboardResultType; 15 | cancel: boolean; 16 | key: string | undefined; 17 | } 18 | 19 | export interface ICharset { 20 | [key: string]: string; 21 | } 22 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/core/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "es5" 6 | ], 7 | "rootDir": ".", 8 | "noEmit": true, 9 | "strict": true, 10 | "pretty": true, 11 | "types": [ 12 | "../../node_modules/@types/mocha", 13 | "../../" 14 | ] 15 | }, 16 | "include": [ 17 | "./**/*", 18 | "../common/**/*" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/renderer/GridCache.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | export class GridCache { 7 | public cache: T[][]; 8 | 9 | public constructor() { 10 | this.cache = []; 11 | } 12 | 13 | public resize(width: number, height: number): void { 14 | for (let x = 0; x < width; x++) { 15 | if (this.cache.length <= x) { 16 | this.cache.push([]); 17 | } 18 | for (let y = this.cache[x].length; y < height; y++) { 19 | this.cache[x].push(null); 20 | } 21 | this.cache[x].length = height; 22 | } 23 | this.cache.length = width; 24 | } 25 | 26 | public clear(): void { 27 | for (let x = 0; x < this.cache.length; x++) { 28 | for (let y = 0; y < this.cache[x].length; y++) { 29 | this.cache[x][y] = null; 30 | } 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/renderer/atlas/NoneCharAtlas.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | * 5 | * A dummy CharAtlas implementation that always fails to draw characters. 6 | */ 7 | 8 | import { IGlyphIdentifier, ICharAtlasConfig } from './Types'; 9 | import BaseCharAtlas from './BaseCharAtlas'; 10 | 11 | export default class NoneCharAtlas extends BaseCharAtlas { 12 | constructor(document: Document, config: ICharAtlasConfig) { 13 | super(); 14 | } 15 | 16 | public draw( 17 | ctx: CanvasRenderingContext2D, 18 | glyph: IGlyphIdentifier, 19 | x: number, 20 | y: number 21 | ): boolean { 22 | return false; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/renderer/atlas/Types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { FontWeight } from 'xterm'; 7 | import { IColorSet } from '../Types'; 8 | 9 | export const DEFAULT_COLOR = 256; 10 | export const INVERTED_DEFAULT_COLOR = 257; 11 | export const DIM_OPACITY = 0.5; 12 | 13 | export const CHAR_ATLAS_CELL_SPACING = 1; 14 | 15 | export interface IGlyphIdentifier { 16 | chars: string; 17 | code: number; 18 | bg: number; 19 | fg: number; 20 | bold: boolean; 21 | dim: boolean; 22 | italic: boolean; 23 | } 24 | 25 | export interface ICharAtlasConfig { 26 | type: 'none' | 'static' | 'dynamic'; 27 | devicePixelRatio: number; 28 | fontSize: number; 29 | fontFamily: string; 30 | fontWeight: FontWeight; 31 | fontWeightBold: FontWeight; 32 | scaledCharWidth: number; 33 | scaledCharHeight: number; 34 | allowTransparency: boolean; 35 | colors: IColorSet; 36 | } 37 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/ui/Lifecycle.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { IDisposable } from 'xterm'; 7 | 8 | /** 9 | * Adds a disposabe listener to a node in the DOM, returning the disposable. 10 | * @param type The event type. 11 | * @param handler The handler for the listener. 12 | */ 13 | export function addDisposableDomListener( 14 | node: Element | Window | Document, 15 | type: string, 16 | handler: (e: any) => void, 17 | useCapture?: boolean 18 | ): IDisposable { 19 | node.addEventListener(type, handler, useCapture); 20 | return { 21 | dispose: () => { 22 | if (!handler) { 23 | // Already disposed 24 | return; 25 | } 26 | node.removeEventListener(type, handler, useCapture); 27 | node = null; 28 | handler = null; 29 | } 30 | }; 31 | } 32 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/ui/Types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | import { IDisposable } from 'xterm'; 7 | 8 | export interface IMouseZoneManager extends IDisposable { 9 | add(zone: IMouseZone): void; 10 | clearAll(start?: number, end?: number): void; 11 | } 12 | 13 | export interface IMouseZone { 14 | x1: number; 15 | x2: number; 16 | y1: number; 17 | y2: number; 18 | clickCallback: (e: MouseEvent) => any; 19 | hoverCallback: (e: MouseEvent) => any | undefined; 20 | tooltipCallback: (e: MouseEvent) => any | undefined; 21 | leaveCallback: () => any | undefined; 22 | willLinkActivate: (e: MouseEvent) => boolean; 23 | } 24 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/utils/Clone.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2016 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | */ 5 | 6 | /* 7 | * A simple utility for cloning values 8 | */ 9 | export const clone = (val: T, depth: number = 5): T => { 10 | if (typeof val !== 'object') { 11 | return val; 12 | } 13 | 14 | // cloning null always returns null 15 | if (val === null) { 16 | return null; 17 | } 18 | 19 | // If we're cloning an array, use an array as the base, otherwise use an object 20 | const clonedObject: any = Array.isArray(val) ? [] : {}; 21 | 22 | for (const key in val) { 23 | // Recursively clone eack item unless we're at the maximum depth 24 | clonedObject[key] = depth <= 1 ? val[key] : clone(val[key], depth - 1); 25 | } 26 | 27 | return clonedObject as T; 28 | }; 29 | -------------------------------------------------------------------------------- /login/node_modules/xterm/src/xterm.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017 The xterm.js authors. All rights reserved. 3 | * @license MIT 4 | * 5 | * This file is the entry point for browserify. 6 | */ 7 | 8 | import { Terminal } from './public/Terminal'; 9 | 10 | module.exports = Terminal; 11 | -------------------------------------------------------------------------------- /login/node_modules/xterm/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "lib": [ 6 | "dom", 7 | "es5", 8 | "es6", 9 | "scripthost", 10 | "es2015.promise" 11 | ], 12 | "rootDir": "src", 13 | "outDir": "lib", 14 | "sourceMap": true, 15 | "removeComments": true, 16 | "preserveWatchOutput": true, 17 | "noUnusedLocals": true, 18 | "noImplicitAny": true 19 | }, 20 | "include": [ 21 | "src/**/*", 22 | "typings/xterm.d.ts" 23 | ], 24 | "exclude": [ 25 | "src/addons/**/*" 26 | ] 27 | } 28 | -------------------------------------------------------------------------------- /login/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "requires": true, 3 | "lockfileVersion": 1, 4 | "dependencies": { 5 | "xterm": { 6 | "version": "3.9.1", 7 | "resolved": "http://registry.npm.taobao.org/xterm/download/xterm-3.9.1.tgz", 8 | "integrity": "sha1-ZXVr6wm7b7RK6ykDKtzWeJqqpfQ=" 9 | } 10 | } 11 | } 12 | --------------------------------------------------------------------------------