From 505f38cd8b7c5b175bd4b87bb549ec212622ecce Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 20 May 2019 16:22:15 +0200 Subject: [PATCH] rename swappanel to sidepanel --- src/app.js | 20 +++++++++---------- src/app/components/local-plugin.js | 4 ++-- .../components/plugin-manager-component.js | 2 +- .../{swap-panel.js => side-panel.js} | 4 ++-- src/app/panels/file-panel.js | 2 +- src/app/tabs/analysis-tab.js | 2 +- src/app/tabs/compile-tab.js | 2 +- src/app/tabs/debugger-tab.js | 2 +- src/app/tabs/run-tab.js | 2 +- src/app/tabs/settings-tab.js | 2 +- src/app/tabs/test-tab.js | 2 +- src/framingService.js | 6 +++--- src/remixAppManager.js | 2 +- 13 files changed, 26 insertions(+), 26 deletions(-) rename src/app/components/{swap-panel.js => side-panel.js} (95%) diff --git a/src/app.js b/src/app.js index 637ae1acda..a21b9b047f 100644 --- a/src/app.js +++ b/src/app.js @@ -49,7 +49,7 @@ import framingService from './framingService' import { MainView } from './app/panels/main-view' import { ThemeModule } from './app/tabs/theme-module' import { NetworkModule } from './app/tabs/network-module' -import { SwapPanel } from './app/components/swap-panel' +import { SidePanel } from './app/components/side-panel' import { MainPanel } from './app/components/main-panel' import { HiddenPanel } from './app/components/hidden-panel' import { VerticalIcons } from './app/components/vertical-icons' @@ -90,7 +90,7 @@ var css = csjs` user-select : none; /* border-right : 1px solid var(--primary); */ } - .swappanel { + .sidepanel { display : flex; flex-direction : column; position : absolute; @@ -159,7 +159,7 @@ class App { init () { var self = this - self._components.resizeFeature = new PanelsResize('#swap-panel', '#editor-container', { 'minWidth': 300, x: 450 }) + self._components.resizeFeature = new PanelsResize('#side-panel', '#editor-container', { 'minWidth': 300, x: 450 }) run.apply(self) } @@ -174,8 +174,8 @@ class App { ` // center panel, resizable - self._view.swappanel = yo` -
+ self._view.sidepanel = yo` +
${''}
` @@ -190,7 +190,7 @@ class App { self._view.el = yo`
${self._view.iconpanel} - ${self._view.swappanel} + ${self._view.sidepanel} ${self._view.mainpanel}
` @@ -340,10 +340,10 @@ Please make a backup of your contracts and start using http://remix.ethereum.org const landingPage = new LandingPage(appManager, appStore) // ----------------- Vertical Icon ---------------------------- - const verticalIcons = new VerticalIcons('swapPanel', appStore, landingPage) + const verticalIcons = new VerticalIcons('sidePanel', appStore, landingPage) registry.put({api: verticalIcons, name: 'verticalicon'}) - const swapPanel = new SwapPanel(appStore) + const sidePanel = new SidePanel(appStore) const mainPanel = new MainPanel(appStore) const hiddenPanel = new HiddenPanel(appStore) @@ -377,7 +377,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org self._components.fileManager.init() self._view.mainpanel.appendChild(self._components.mainview.render()) self._view.iconpanel.appendChild(verticalIcons.render()) - self._view.swappanel.appendChild(swapPanel.render()) + self._view.sidepanel.appendChild(sidePanel.render()) document.body.appendChild(hiddenPanel.render()) // Hidden Panel is display none, it can be directly on body let filePanel = new FilePanel() @@ -438,7 +438,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org ...appManager.plugins() ]) - framingService.start(appStore, swapPanel, verticalIcons, mainPanel, this._components.resizeFeature) + framingService.start(appStore, sidePanel, verticalIcons, mainPanel, this._components.resizeFeature) // The event listener needs to be registered as early as possible, because the // parent will send the message upon the "load" event. diff --git a/src/app/components/local-plugin.js b/src/app/components/local-plugin.js index 5dc71f8e2c..4b814f8a9e 100644 --- a/src/app/components/local-plugin.js +++ b/src/app/components/local-plugin.js @@ -36,7 +36,7 @@ module.exports = class LocalPlugin { const profile = { icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMjYyIDEwNzVxLTM3IDEyMS0xMzggMTk1dC0yMjggNzQtMjI4LTc0LTEzOC0xOTVxLTgtMjUgNC00OC41dDM4LTMxLjVxMjUtOCA0OC41IDR0MzEuNSAzOHEyNSA4MCA5Mi41IDEyOS41dDE1MS41IDQ5LjUgMTUxLjUtNDkuNSA5Mi41LTEyOS41cTgtMjYgMzItMzh0NDktNCAzNyAzMS41IDQgNDguNXptLTQ5NC00MzVxMCA1My0zNy41IDkwLjV0LTkwLjUgMzcuNS05MC41LTM3LjUtMzcuNS05MC41IDM3LjUtOTAuNSA5MC41LTM3LjUgOTAuNSAzNy41IDM3LjUgOTAuNXptNTEyIDBxMCA1My0zNy41IDkwLjV0LTkwLjUgMzcuNS05MC41LTM3LjUtMzcuNS05MC41IDM3LjUtOTAuNSA5MC41LTM3LjUgOTAuNSAzNy41IDM3LjUgOTAuNXptMjU2IDI1NnEwLTEzMC01MS0yNDguNXQtMTM2LjUtMjA0LTIwNC0xMzYuNS0yNDguNS01MS0yNDguNSA1MS0yMDQgMTM2LjUtMTM2LjUgMjA0LTUxIDI0OC41IDUxIDI0OC41IDEzNi41IDIwNCAyMDQgMTM2LjUgMjQ4LjUgNTEgMjQ4LjUtNTEgMjA0LTEzNi41IDEzNi41LTIwNCA1MS0yNDguNXptMTI4IDBxMCAyMDktMTAzIDM4NS41dC0yNzkuNSAyNzkuNS0zODUuNSAxMDMtMzg1LjUtMTAzLTI3OS41LTI3OS41LTEwMy0zODUuNSAxMDMtMzg1LjUgMjc5LjUtMjc5LjUgMzg1LjUtMTAzIDM4NS41IDEwMyAyNzkuNSAyNzkuNSAxMDMgMzg1LjV6Ii8+PC9zdmc+', methods: [], - location: 'swapPanel', + location: 'sidePanel', ...this.profile, hash: `local-${this.profile.name}` } @@ -171,7 +171,7 @@ module.exports = class LocalPlugin {
Location in remix (required)
- ${radioLocations('swapPanel', 'Swap Panel')} + ${radioLocations('sidePanel', 'Swap Panel')} ${radioLocations('mainPanel', 'Main Panel')} ${radioLocations('none', 'None')} ` diff --git a/src/app/components/plugin-manager-component.js b/src/app/components/plugin-manager-component.js index 14c3926320..8e823239b8 100644 --- a/src/app/components/plugin-manager-component.js +++ b/src/app/components/plugin-manager-component.js @@ -45,7 +45,7 @@ const profile = { icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xNzU1IDQ1M3EzNyAzOCAzNyA5MC41dC0zNyA5MC41bC00MDEgNDAwIDE1MCAxNTAtMTYwIDE2MHEtMTYzIDE2My0zODkuNSAxODYuNXQtNDExLjUtMTAwLjVsLTM2MiAzNjJoLTE4MXYtMTgxbDM2Mi0zNjJxLTEyNC0xODUtMTAwLjUtNDExLjV0MTg2LjUtMzg5LjVsMTYwLTE2MCAxNTAgMTUwIDQwMC00MDFxMzgtMzcgOTEtMzd0OTAgMzcgMzcgOTAuNS0zNyA5MC41bC00MDAgNDAxIDIzNCAyMzQgNDAxLTQwMHEzOC0zNyA5MS0zN3Q5MCAzN3oiLz48L3N2Zz4=', description: 'Start/stop services, modules and plugins', kind: 'settings', - location: 'swapPanel', + location: 'sidePanel', documentation: 'plugin_manager.html' } diff --git a/src/app/components/swap-panel.js b/src/app/components/side-panel.js similarity index 95% rename from src/app/components/swap-panel.js rename to src/app/components/side-panel.js index ab331c0110..619f4d6df7 100644 --- a/src/app/components/swap-panel.js +++ b/src/app/components/side-panel.js @@ -42,10 +42,10 @@ const options = { default: true } -export class SwapPanel extends AbstractPanel { +export class SidePanel extends AbstractPanel { constructor (appStore) { - super('swapPanel', appStore, options) + super('sidePanel', appStore, options) this.header = this.renderHeader() this.store = appStore } diff --git a/src/app/panels/file-panel.js b/src/app/panels/file-panel.js index ad41fd9197..065ec99b7f 100644 --- a/src/app/panels/file-panel.js +++ b/src/app/panels/file-panel.js @@ -35,7 +35,7 @@ const profile = { icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xNjk2IDM4NHE0MCAwIDY4IDI4dDI4IDY4djEyMTZxMCA0MC0yOCA2OHQtNjggMjhoLTk2MHEtNDAgMC02OC0yOHQtMjgtNjh2LTI4OGgtNTQ0cS00MCAwLTY4LTI4dC0yOC02OHYtNjcycTAtNDAgMjAtODh0NDgtNzZsNDA4LTQwOHEyOC0yOCA3Ni00OHQ4OC0yMGg0MTZxNDAgMCA2OCAyOHQyOCA2OHYzMjhxNjgtNDAgMTI4LTQwaDQxNnptLTU0NCAyMTNsLTI5OSAyOTloMjk5di0yOTl6bS02NDAtMzg0bC0yOTkgMjk5aDI5OXYtMjk5em0xOTYgNjQ3bDMxNi0zMTZ2LTQxNmgtMzg0djQxNnEwIDQwLTI4IDY4dC02OCAyOGgtNDE2djY0MGg1MTJ2LTI1NnEwLTQwIDIwLTg4dDQ4LTc2em05NTYgODA0di0xMTUyaC0zODR2NDE2cTAgNDAtMjggNjh0LTY4IDI4aC00MTZ2NjQwaDg5NnoiLz48L3N2Zz4=', description: ' - ', kind: 'fileexplorer', - location: 'swapPanel', + location: 'sidePanel', documentation: 'file_explorer.html' } diff --git a/src/app/tabs/analysis-tab.js b/src/app/tabs/analysis-tab.js index 9ce2cfc5ec..755121a906 100644 --- a/src/app/tabs/analysis-tab.js +++ b/src/app/tabs/analysis-tab.js @@ -14,7 +14,7 @@ const profile = { icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMjA0OCIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMjA0OCAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0yMDQ4IDE1MzZ2MTI4aC0yMDQ4di0xNTM2aDEyOHYxNDA4aDE5MjB6bS0xMjgtMTI0OHY0MzVxMCAyMS0xOS41IDI5LjV0LTM1LjUtNy41bC0xMjEtMTIxLTYzMyA2MzNxLTEwIDEwLTIzIDEwdC0yMy0xMGwtMjMzLTIzMy00MTYgNDE2LTE5Mi0xOTIgNTg1LTU4NXExMC0xMCAyMy0xMHQyMyAxMGwyMzMgMjMzIDQ2NC00NjQtMTIxLTEyMXEtMTYtMTYtNy41LTM1LjV0MjkuNS0xOS41aDQzNXExNCAwIDIzIDl0OSAyM3oiLz48L3N2Zz4=', description: 'Checks the contract code for security vulnerabilities and bad practices.', kind: 'analysis', - location: 'swapPanel', + location: 'sidePanel', documentation: 'static_analysis.html' } diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index c3d02f2502..e8b9734d1a 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -26,7 +26,7 @@ const profile = { description: 'Compile solidity contracts', kind: 'compile', permission: true, - location: 'swapPanel', + location: 'sidePanel', documentation: 'solidity_editor.html' } diff --git a/src/app/tabs/debugger-tab.js b/src/app/tabs/debugger-tab.js index cb2b63125a..be69d27cf3 100644 --- a/src/app/tabs/debugger-tab.js +++ b/src/app/tabs/debugger-tab.js @@ -13,7 +13,7 @@ const profile = { icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xNjk2IDk2MHEwIDI2LTE5IDQ1dC00NSAxOWgtMjI0cTAgMTcxLTY3IDI5MGwyMDggMjA5cTE5IDE5IDE5IDQ1dC0xOSA0NXEtMTggMTktNDUgMTl0LTQ1LTE5bC0xOTgtMTk3cS01IDUtMTUgMTN0LTQyIDI4LjUtNjUgMzYuNS04MiAyOS05NyAxM3YtODk2aC0xMjh2ODk2cS01MSAwLTEwMS41LTEzLjV0LTg3LTMzLTY2LTM5LTQzLjUtMzIuNWwtMTUtMTQtMTgzIDIwN3EtMjAgMjEtNDggMjEtMjQgMC00My0xNi0xOS0xOC0yMC41LTQ0LjV0MTUuNS00Ni41bDIwMi0yMjdxLTU4LTExNC01OC0yNzRoLTIyNHEtMjYgMC00NS0xOXQtMTktNDUgMTktNDUgNDUtMTloMjI0di0yOTRsLTE3My0xNzNxLTE5LTE5LTE5LTQ1dDE5LTQ1IDQ1LTE5IDQ1IDE5bDE3MyAxNzNoODQ0bDE3My0xNzNxMTktMTkgNDUtMTl0NDUgMTkgMTkgNDUtMTkgNDVsLTE3MyAxNzN2Mjk0aDIyNHEyNiAwIDQ1IDE5dDE5IDQ1em0tNDgwLTU3NmgtNjQwcTAtMTMzIDkzLjUtMjI2LjV0MjI2LjUtOTMuNSAyMjYuNSA5My41IDkzLjUgMjI2LjV6Ii8+PC9zdmc+', description: 'Debug transactions', kind: 'debugging', - location: 'swapPanel', + location: 'sidePanel', documentation: 'debugger.html' } diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js index 53cac42a07..ef55fcbff9 100644 --- a/src/app/tabs/run-tab.js +++ b/src/app/tabs/run-tab.js @@ -24,7 +24,7 @@ const profile = { icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVF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o=', description: 'execute and save transactions', kind: 'run', - location: 'swapPanel', + location: 'sidePanel', documentation: 'run.html' } diff --git a/src/app/tabs/settings-tab.js b/src/app/tabs/settings-tab.js index 9579d5342b..4301ea0343 100644 --- a/src/app/tabs/settings-tab.js +++ b/src/app/tabs/settings-tab.js @@ -14,7 +14,7 @@ const profile = { icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMTUyIDg5NnEwLTEwNi03NS0xODF0LTE4MS03NS0xODEgNzUtNzUgMTgxIDc1IDE4MSAxODEgNzUgMTgxLTc1IDc1LTE4MXptNTEyLTEwOXYyMjJxMCAxMi04IDIzdC0yMCAxM2wtMTg1IDI4cS0xOSA1NC0zOSA5MSAzNSA1MCAxMDcgMTM4IDEwIDEyIDEwIDI1dC05IDIzcS0yNyAzNy05OSAxMDh0LTk0IDcxcS0xMiAwLTI2LTlsLTEzOC0xMDhxLTQ0IDIzLTkxIDM4LTE2IDEzNi0yOSAxODYtNyAyOC0zNiAyOGgtMjIycS0xNCAwLTI0LjUtOC41dC0xMS41LTIxLjVsLTI4LTE4NHEtNDktMTYtOTAtMzdsLTE0MSAxMDdxLTEwIDktMjUgOS0xNCAwLTI1LTExLTEyNi0xMTQtMTY1LTE2OC03LTEwLTctMjMgMC0xMiA4LTIzIDE1LTIxIDUxLTY2LjV0NTQtNzAuNXEtMjctNTAtNDEtOTlsLTE4My0yN3EtMTMtMi0yMS0xMi41dC04LTIzLjV2LTIyMnEwLTEyIDgtMjN0MTktMTNsMTg2LTI4cTE0LTQ2IDM5LTkyLTQwLTU3LTEwNy0xMzgtMTAtMTItMTAtMjQgMC0xMCA5LTIzIDI2LTM2IDk4LjUtMTA3LjV0OTQuNS03MS41cTEzIDAgMjYgMTBsMTM4IDEwN3E0NC0yMyA5MS0zOCAxNi0xMzYgMjktMTg2IDctMjggMzYtMjhoMjIycTE0IDAgMjQuNSA4LjV0MTEuNSAyMS41bDI4IDE4NHE0OSAxNiA5MCAzN2wxNDItMTA3cTktOSAyNC05IDEzIDAgMjUgMTAgMTI5IDExOSAxNjUgMTcwIDcgOCA3IDIyIDAgMTItOCAyMy0xNSAyMS01MSA2Ni41dC01NCA3MC41cTI2IDUwIDQxIDk4bDE4MyAyOHExMyAyIDIxIDEyLjV0OCAyMy41eiIvPjwvc3ZnPg==', description: 'Remix-IDE settings', kind: 'settings', - location: 'swapPanel', + location: 'sidePanel', documentation: 'settings.html' } diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index 059a899894..a1e7b160d7 100644 --- a/src/app/tabs/test-tab.js +++ b/src/app/tabs/test-tab.js @@ -14,7 +14,7 @@ const profile = { events: [], icon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4wUDEhQZ0zbrmQAAAfNJREFUWMPF17lrFVEUx/EPaIKovfAScSndjUtULFQSYhHF0r/Dwsa/RywUiTaWgvaChWsiKkSMZte4o7G5A49x7r0zLy/PA6eZOef3PXebuYfu2xCmcQ9b9NgOYw6rwR9ia6/gR7HQBi/8PjavN/w4FivghV9bT/gwlhLwHzjTVPQ8rqAvE3ciA/+O8abwy/gVBG4lijiJ5czIL64FXvhNbCzFnaoBv9AUPo7fEcEb2BDiTuNTAv4NYxX6u/EIM7GZuZoQXcX1sJk+J2K+YrRCexfetsX9xKVyUB9uZ4r4k3j3BSMR+JvIMv2zQfsxkSkiBj9XAd8ZgRf+vmop+nGnAXwlcs534HUm93FsQ9YtIjby7XiVyZ3BntSpyBWxgrMR+FQG/gF76xzNftxtMO1rgo+G5AdBqLBN4d9eCCyHD1En8Oi0j4UPSBE4hcFSERN4Fz7BZRvEZKcjHynBC5/EQI1lGqgJ3xcTmE4kvswUMRBiUvCPKTg8zQi8QKsirxXe5eD7c1N4ALMZoeelIlrhWSpnNmjXsoM1iihmYhueZGIXcKTp7/hQ6UZb5c+Cp2LmglZHVqeIlC+G2/GarNMiFnGsWzfdpkV0Fd7e5czXgC+FvmDdWq35/wVvbzbnI/DhXvV9Q6W+r6fw9hZsKnjX4H8B0Aamri7CrBsAAAAASUVORK5CYII=', description: 'Fast tool to generate unit tests for your contracts', - location: 'swapPanel', + location: 'sidePanel', documentation: 'unittesting.html' } diff --git a/src/framingService.js b/src/framingService.js index f35dd3a48d..94fcec38ff 100644 --- a/src/framingService.js +++ b/src/framingService.js @@ -1,9 +1,9 @@ export default { - start: (appStore, swapPanel, verticalIcon, mainPanel, resizeFeature) => { - swapPanel.events.on('toggle', () => { + start: (appStore, sidePanel, verticalIcon, mainPanel, resizeFeature) => { + sidePanel.events.on('toggle', () => { resizeFeature.panel1.clientWidth !== 0 ? resizeFeature.minimize() : resizeFeature.maximise() }) - swapPanel.events.on('showing', () => { + sidePanel.events.on('showing', () => { resizeFeature.panel1.clientWidth === 0 ? resizeFeature.maximise() : '' }) mainPanel.events.on('toggle', () => { diff --git a/src/remixAppManager.js b/src/remixAppManager.js index a6a78aa33e..974a575ddc 100644 --- a/src/remixAppManager.js +++ b/src/remixAppManager.js @@ -69,7 +69,7 @@ export class RemixAppManager extends AppManagerApi { description: 'Compile vyper contracts', kind: 'compile', icon: 'data:image/svg+xml;base64,PHN2ZyBpZD0iRmxhdF9Mb2dvIiBkYXRhLW5hbWU9IkZsYXQgTG9nbyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMjA0OCAxNzczLjYyIj4gIDx0aXRsZT52eXBlci1sb2dvLWZsYXQ8L3RpdGxlPiAgPHBvbHlsaW5lIHBvaW50cz0iMTAyNC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