Bug 1350646: Part 4 - Remove most modules which depend on sdk/addon/*. r=Mossop
☠☠ backed out by 9f7d0c809762 ☠ ☠
authorKris Maglione <maglione.k@gmail.com>
Wed, 02 Aug 2017 14:04:30 -0700
changeset 373633 c68367bb0eb39090b8bb1925916dea24bdbfe6b0
parent 373632 3ca040743aebaa3f0c971fcd8de3fe798121bcd8
child 373634 7687db57501117fc79102f78cdefecaa7d16c8e0
push id93571
push usermaglione.k@gmail.com
push dateWed, 09 Aug 2017 22:31:31 +0000
treeherdermozilla-inbound@c3108aebee35 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMossop
bugs1350646
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1350646: Part 4 - Remove most modules which depend on sdk/addon/*. r=Mossop MozReview-Commit-ID: C2muN6tC23B
addon-sdk/moz.build
addon-sdk/source/lib/dev/debuggee.js
addon-sdk/source/lib/dev/frame-script.js
addon-sdk/source/lib/dev/panel.js
addon-sdk/source/lib/dev/panel/view.js
addon-sdk/source/lib/dev/ports.js
addon-sdk/source/lib/dev/theme.js
addon-sdk/source/lib/dev/theme/hooks.js
addon-sdk/source/lib/dev/toolbox.js
addon-sdk/source/lib/dev/utils.js
addon-sdk/source/lib/dev/volcan.js
addon-sdk/source/lib/sdk/content/page-worker.js
addon-sdk/source/lib/sdk/frame/hidden-frame.js
addon-sdk/source/lib/sdk/loader/cuddlefish.js
addon-sdk/source/lib/sdk/page-worker.js
addon-sdk/source/lib/sdk/places/bookmarks.js
addon-sdk/source/lib/sdk/places/contract.js
addon-sdk/source/lib/sdk/places/events.js
addon-sdk/source/lib/sdk/places/favicon.js
addon-sdk/source/lib/sdk/places/history.js
addon-sdk/source/lib/sdk/places/host/host-bookmarks.js
addon-sdk/source/lib/sdk/places/host/host-query.js
addon-sdk/source/lib/sdk/places/host/host-tags.js
addon-sdk/source/lib/sdk/places/utils.js
--- a/addon-sdk/moz.build
+++ b/addon-sdk/moz.build
@@ -16,26 +16,16 @@ EXTRA_JS_MODULES.sdk += [
     'source/app-extension/bootstrap.js',
 ]
 
 EXTRA_JS_MODULES.sdk.system += [
     'source/modules/system/Startup.js',
 ]
 
 modules = [
-    'dev/debuggee.js',
-    'dev/frame-script.js',
-    'dev/panel.js',
-    'dev/panel/view.js',
-    'dev/ports.js',
-    'dev/theme.js',
-    'dev/theme/hooks.js',
-    'dev/toolbox.js',
-    'dev/utils.js',
-    'dev/volcan.js',
     'diffpatcher/diff.js',
     'diffpatcher/index.js',
     'diffpatcher/patch.js',
     'diffpatcher/rebase.js',
     'diffpatcher/test/common.js',
     'diffpatcher/test/diff.js',
     'diffpatcher/test/index.js',
     'diffpatcher/test/patch.js',
@@ -68,17 +58,16 @@ modules = [
     'sdk/content/content-worker.js',
     'sdk/content/content.js',
     'sdk/content/context-menu.js',
     'sdk/content/events.js',
     'sdk/content/l10n-html.js',
     'sdk/content/loader.js',
     'sdk/content/mod.js',
     'sdk/content/page-mod.js',
-    'sdk/content/page-worker.js',
     'sdk/content/sandbox.js',
     'sdk/content/sandbox/events.js',
     'sdk/content/tab-events.js',
     'sdk/content/thumbnail.js',
     'sdk/content/utils.js',
     'sdk/content/worker-child.js',
     'sdk/content/worker.js',
     'sdk/context-menu.js',
@@ -101,17 +90,16 @@ modules = [
     'sdk/dom/events-shimmed.js',
     'sdk/dom/events.js',
     'sdk/dom/events/keys.js',
     'sdk/event/chrome.js',
     'sdk/event/core.js',
     'sdk/event/dom.js',
     'sdk/event/target.js',
     'sdk/event/utils.js',
-    'sdk/frame/hidden-frame.js',
     'sdk/frame/utils.js',
     'sdk/fs/path.js',
     'sdk/hotkeys.js',
     'sdk/indexed-db.js',
     'sdk/input/browser.js',
     'sdk/input/customizable-ui.js',
     'sdk/input/frame.js',
     'sdk/input/system.js',
@@ -134,41 +122,30 @@ modules = [
     'sdk/l10n/prefs.js',
     'sdk/l10n/properties/core.js',
     'sdk/lang/functional.js',
     'sdk/lang/functional/concurrent.js',
     'sdk/lang/functional/core.js',
     'sdk/lang/functional/helpers.js',
     'sdk/lang/type.js',
     'sdk/lang/weak-set.js',
-    'sdk/loader/cuddlefish.js',
     'sdk/loader/sandbox.js',
     'sdk/messaging.js',
     'sdk/model/core.js',
     'sdk/net/url.js',
     'sdk/net/xhr.js',
     'sdk/notifications.js',
     'sdk/output/system.js',
     'sdk/page-mod.js',
     'sdk/page-mod/match-pattern.js',
-    'sdk/page-worker.js',
     'sdk/panel.js',
     'sdk/panel/events.js',
     'sdk/panel/utils.js',
     'sdk/passwords.js',
     'sdk/passwords/utils.js',
-    'sdk/places/bookmarks.js',
-    'sdk/places/contract.js',
-    'sdk/places/events.js',
-    'sdk/places/favicon.js',
-    'sdk/places/history.js',
-    'sdk/places/host/host-bookmarks.js',
-    'sdk/places/host/host-query.js',
-    'sdk/places/host/host-tags.js',
-    'sdk/places/utils.js',
     'sdk/platform/xpcom.js',
     'sdk/preferences/event-target.js',
     'sdk/preferences/native-options.js',
     'sdk/preferences/service.js',
     'sdk/preferences/utils.js',
     'sdk/private-browsing.js',
     'sdk/private-browsing/utils.js',
     'sdk/querystring.js',
deleted file mode 100644
--- a/addon-sdk/source/lib/dev/debuggee.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "experimental"
-};
-
-const { Cu } = require("chrome");
-const { Class } = require("../sdk/core/heritage");
-const { MessagePort, MessageChannel } = require("../sdk/messaging");
-const { DevToolsShim } = Cu.import("chrome://devtools-shim/content/DevToolsShim.jsm", {});
-
-const outputs = new WeakMap();
-const inputs = new WeakMap();
-const targets = new WeakMap();
-const transports = new WeakMap();
-
-const inputFor = port => inputs.get(port);
-const outputFor = port => outputs.get(port);
-const transportFor = port => transports.get(port);
-
-const fromTarget = target => {
-  const debuggee = new Debuggee();
-  const { port1, port2 } = new MessageChannel();
-  inputs.set(debuggee, port1);
-  outputs.set(debuggee, port2);
-  targets.set(debuggee, target);
-
-  return debuggee;
-};
-exports.fromTarget = fromTarget;
-
-const Debuggee = Class({
-  extends: MessagePort.prototype,
-  close: function() {
-    const server = transportFor(this);
-    if (server) {
-      transports.delete(this);
-      server.close();
-    }
-    outputFor(this).close();
-  },
-  start: function() {
-    const target = targets.get(this);
-    if (target.isLocalTab) {
-      // Since a remote protocol connection will be made, let's start the
-      // DebuggerServer here, once and for all tools.
-      let transport = DevToolsShim.connectDebuggerServer();
-      transports.set(this, transport);
-    }
-    // TODO: Implement support for remote connections (See Bug 980421)
-    else {
-      throw Error("Remote targets are not yet supported");
-    }
-
-    // pipe messages send to the debuggee to an actual
-    // server via remote debugging protocol transport.
-    inputFor(this).addEventListener("message", ({data}) =>
-      transportFor(this).send(data));
-
-    // pipe messages received from the remote debugging
-    // server transport onto the this debuggee.
-    transportFor(this).hooks = {
-      onPacket: packet => inputFor(this).postMessage(packet),
-      onClosed: () => inputFor(this).close()
-    };
-
-    inputFor(this).start();
-    outputFor(this).start();
-  },
-  postMessage: function(data) {
-    return outputFor(this).postMessage(data);
-  },
-  get onmessage() {
-    return outputFor(this).onmessage;
-  },
-  set onmessage(onmessage) {
-    outputFor(this).onmessage = onmessage;
-  },
-  addEventListener: function(...args) {
-    return outputFor(this).addEventListener(...args);
-  },
-  removeEventListener: function(...args) {
-    return outputFor(this).removeEventListener(...args);
-  }
-});
-exports.Debuggee = Debuggee;
deleted file mode 100644
--- a/addon-sdk/source/lib/dev/frame-script.js
+++ /dev/null
@@ -1,120 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-(function({content, sendSyncMessage, addMessageListener, sendAsyncMessage}) {
-
-const Cc = Components.classes;
-const Ci = Components.interfaces;
-const observerService = Cc["@mozilla.org/observer-service;1"]
-                        .getService(Ci.nsIObserverService);
-
-const channels = new Map();
-const handles = new WeakMap();
-
-// Takes remote port handle and creates a local one.
-// also set's up a messaging channel between them.
-// This is temporary workaround until Bug 914974 is fixed
-// and port can be transfered through message manager.
-const demarshal = (handle) => {
-  if (handle.type === "MessagePort") {
-    if (!channels.has(handle.id)) {
-      const channel = new content.MessageChannel();
-      channels.set(handle.id, channel);
-      handles.set(channel.port1, handle);
-      channel.port1.onmessage = onOutPort;
-    }
-    return channels.get(handle.id).port2;
-  }
-  return null;
-};
-
-const onOutPort = event => {
-  const handle = handles.get(event.target);
-  sendAsyncMessage("sdk/port/message", {
-    port: handle,
-    message: event.data
-  });
-};
-
-const onInPort = ({data}) => {
-  const channel = channels.get(data.port.id);
-  if (channel)
-    channel.port1.postMessage(data.message);
-};
-
-const onOutEvent = event =>
-  sendSyncMessage("sdk/event/" + event.type,
-                  { type: event.type,
-                    data: event.data });
-
-const onInMessage = (message) => {
-  const {type, data, origin, bubbles, cancelable, ports} = message.data;
-
-  const event = new content.MessageEvent(type, {
-    bubbles: bubbles,
-    cancelable: cancelable,
-    data: data,
-    origin: origin,
-    target: content,
-    source: content,
-    ports: ports.map(demarshal)
-  });
-  content.dispatchEvent(event);
-};
-
-const onReady = event => {
-  channels.clear();
-};
-
-addMessageListener("sdk/event/message", onInMessage);
-addMessageListener("sdk/port/message", onInPort);
-
-const observer = {
-  handleEvent: ({target, type}) => {
-    observer.observe(target, type);
-  },
-  observe: (document, topic, data) => {
-    // When frame associated with message manager is removed from document `docShell`
-    // is set to `null` but observer is still kept alive. At this point accesing
-    // `content.document` throws "can't access dead object" exceptions. In order to
-    // avoid leaking observer and logged errors observer is going to be removed when
-    // `docShell` is set to `null`.
-    if (!docShell) {
-      observerService.removeObserver(observer, topic);
-    }
-    else if (document === content.document) {
-      if (topic.endsWith("-document-interactive")) {
-        sendAsyncMessage("sdk/event/ready", {
-          type: "ready",
-          readyState: document.readyState,
-          uri: document.documentURI
-        });
-      }
-      if (topic.endsWith("-document-loaded")) {
-        sendAsyncMessage("sdk/event/load", {
-          type: "load",
-          readyState: document.readyState,
-          uri: document.documentURI
-        });
-      }
-      if (topic === "unload") {
-        channels.clear();
-        sendAsyncMessage("sdk/event/unload", {
-          type: "unload",
-          readyState: "uninitialized",
-          uri: document.documentURI
-        });
-      }
-    }
-  }
-};
-
-observerService.addObserver(observer, "content-document-interactive");
-observerService.addObserver(observer, "content-document-loaded");
-observerService.addObserver(observer, "chrome-document-interactive");
-observerService.addObserver(observer, "chrome-document-loaded");
-addEventListener("unload", observer, false);
-
-})(this);
deleted file mode 100644
--- a/addon-sdk/source/lib/dev/panel.js
+++ /dev/null
@@ -1,259 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "experimental"
-};
-
-const { Cu } = require("chrome");
-const { Class } = require("../sdk/core/heritage");
-const { curry } = require("../sdk/lang/functional");
-const { EventTarget } = require("../sdk/event/target");
-const { Disposable, setup, dispose } = require("../sdk/core/disposable");
-const { emit, off, setListeners } = require("../sdk/event/core");
-const { when } = require("../sdk/event/utils");
-const { getFrameElement } = require("../sdk/window/utils");
-const { contract, validate } = require("../sdk/util/contract");
-const { data: { url: resolve }} = require("../sdk/self");
-const { identify } = require("../sdk/ui/id");
-const { isLocalURL, URL } = require("../sdk/url");
-const { encode } = require("../sdk/base64");
-const { marshal, demarshal } = require("./ports");
-const { fromTarget } = require("./debuggee");
-const { removed } = require("../sdk/dom/events");
-const { id: addonID } = require("../sdk/self");
-const { viewFor } = require("../sdk/view/core");
-const { createView } = require("./panel/view");
-
-const OUTER_FRAME_URI = module.uri.replace(/\.js$/, ".html");
-const FRAME_SCRIPT = module.uri.replace("/panel.js", "/frame-script.js");
-const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-const HTML_NS = "http://www.w3.org/1999/xhtml";
-
-const makeID = name =>
-  ("dev-panel-" + addonID + "-" + name).
-  split("/").join("-").
-  split(".").join("-").
-  split(" ").join("-").
-  replace(/[^A-Za-z0-9_\-]/g, "");
-
-
-// Weak mapping between `Panel` instances and their frame's
-// `nsIMessageManager`.
-const managers = new WeakMap();
-// Return `nsIMessageManager` for the given `Panel` instance.
-const managerFor = x => managers.get(x);
-
-// Weak mappinging between iframe's and their owner
-// `Panel` instances.
-const panels = new WeakMap();
-const panelFor = frame => panels.get(frame);
-
-// Weak mapping between panels and debugees they're targeting.
-const debuggees = new WeakMap();
-const debuggeeFor = panel => debuggees.get(panel);
-
-const frames = new WeakMap();
-const frameFor = panel => frames.get(panel);
-
-const setAttributes = (node, attributes) => {
-  for (var key in attributes)
-    node.setAttribute(key, attributes[key]);
-};
-
-const onStateChange = ({target, data}) => {
-  const panel = panelFor(target);
-  panel.readyState = data.readyState;
-  emit(panel, data.type, { target: panel, type: data.type });
-};
-
-// port event listener on the message manager that demarshalls
-// and forwards to the actual receiver. This is a workaround
-// until Bug 914974 is fixed.
-const onPortMessage = ({data, target}) => {
-  const port = demarshal(target, data.port);
-  if (port)
-    port.postMessage(data.message);
-};
-
-// When frame is removed from the toolbox destroy panel
-// associated with it to release all the resources.
-const onFrameRemove = frame => {
-  panelFor(frame).destroy();
-};
-
-const onFrameInited = frame => {
-  frame.style.visibility = "visible";
-}
-
-const inited = frame => new Promise(resolve => {
-  const { messageManager } = frame.frameLoader;
-  const listener = message => {
-    messageManager.removeMessageListener("sdk/event/ready", listener);
-    resolve(frame);
-  };
-  messageManager.addMessageListener("sdk/event/ready", listener);
-});
-
-const getTarget = ({target}) => target;
-
-const Panel = Class({
-  extends: Disposable,
-  implements: [EventTarget],
-  get id() {
-    return makeID(this.name || this.label);
-  },
-  readyState: "uninitialized",
-  ready: function() {
-    const { readyState } = this;
-    const isReady = readyState === "complete" ||
-                    readyState === "interactive";
-    return isReady ? Promise.resolve(this) :
-           when(this, "ready").then(getTarget);
-  },
-  loaded: function() {
-    const { readyState } = this;
-    const isLoaded = readyState === "complete";
-    return isLoaded ? Promise.resolve(this) :
-           when(this, "load").then(getTarget);
-  },
-  unloaded: function() {
-    const { readyState } = this;
-    const isUninitialized = readyState === "uninitialized";
-    return isUninitialized ? Promise.resolve(this) :
-           when(this, "unload").then(getTarget);
-  },
-  postMessage: function(data, ports=[]) {
-    const manager = managerFor(this);
-    manager.sendAsyncMessage("sdk/event/message", {
-      type: "message",
-      bubbles: false,
-      cancelable: false,
-      data: data,
-      origin: this.url,
-      ports: ports.map(marshal(manager))
-    });
-  }
-});
-exports.Panel = Panel;
-
-validate.define(Panel, contract({
-  label: {
-    is: ["string"],
-    msg: "The `option.label` must be a provided"
-  },
-  tooltip: {
-    is: ["string", "undefined"],
-    msg: "The `option.tooltip` must be a string"
-  },
-  icon: {
-    is: ["string"],
-    map: x => x && resolve(x),
-    ok: x => isLocalURL(x),
-    msg: "The `options.icon` must be a valid local URI."
-  },
-  url: {
-    map: x => resolve(x.toString()),
-    is: ["string"],
-    ok: x => isLocalURL(x),
-    msg: "The `options.url` must be a valid local URI."
-  },
-  invertIconForLightTheme: {
-    is: ["boolean", "undefined"],
-    msg: "The `options.invertIconForLightTheme` must be a boolean."
-  },
-  invertIconForDarkTheme: {
-    is: ["boolean", "undefined"],
-    msg: "The `options.invertIconForDarkTheme` must be a boolean."
-  }
-}));
-
-setup.define(Panel, (panel, {window, toolbox, url}) => {
-  // Hack: Given that iframe created by devtools API is no good for us,
-  // we obtain original iframe and replace it with the one that has
-  // desired configuration.
-  const original = getFrameElement(window);
-  const container = original.parentNode;
-  original.remove();
-  const frame = createView(panel, container.ownerDocument);
-
-  // Following modifications are a temporary workaround until Bug 1049188
-  // is fixed.
-  // Enforce certain iframe customizations regardless of users request.
-  setAttributes(frame, {
-    "id": original.id,
-    "src": url,
-    "flex": 1,
-    "forceOwnRefreshDriver": "",
-    "tooltip": "aHTMLTooltip"
-  });
-  frame.style.visibility = "hidden";
-  frame.classList.add("toolbox-panel-iframe");
-  // Inject iframe into designated node until add-on author decides
-  // to inject it elsewhere instead.
-  if (!frame.parentNode)
-    container.appendChild(frame);
-
-  // associate view with a panel
-  frames.set(panel, frame);
-
-  // associate panel model with a frame view.
-  panels.set(frame, panel);
-
-  const debuggee = fromTarget(toolbox.target);
-  // associate debuggee with a panel.
-  debuggees.set(panel, debuggee);
-
-
-  // Setup listeners for the frame message manager.
-  const { messageManager } = frame.frameLoader;
-  messageManager.addMessageListener("sdk/event/ready", onStateChange);
-  messageManager.addMessageListener("sdk/event/load", onStateChange);
-  messageManager.addMessageListener("sdk/event/unload", onStateChange);
-  messageManager.addMessageListener("sdk/port/message", onPortMessage);
-  messageManager.loadFrameScript(FRAME_SCRIPT, false);
-
-  managers.set(panel, messageManager);
-
-  // destroy panel if frame is removed.
-  removed(frame).then(onFrameRemove);
-  // show frame when it is initialized.
-  inited(frame).then(onFrameInited);
-
-
-  // set listeners if there are ones defined on the prototype.
-  setListeners(panel, Object.getPrototypeOf(panel));
-
-
-  panel.setup({ debuggee: debuggee });
-});
-
-createView.define(Panel, (panel, document) => {
-  const frame = document.createElement("iframe");
-  setAttributes(frame, {
-    "sandbox": "allow-scripts",
-    // We end up using chrome iframe with forced message manager
-    // as fixing a swapFrameLoader seemed like a giant task (see
-    // Bug 1075490).
-    "type": "chrome",
-    "forcemessagemanager": true,
-    "transparent": true,
-    "seamless": "seamless",
-  });
-  return frame;
-});
-
-dispose.define(Panel, function(panel) {
-  debuggeeFor(panel).close();
-
-  debuggees.delete(panel);
-  managers.delete(panel);
-  frames.delete(panel);
-  panel.readyState = "destroyed";
-  panel.dispose();
-});
-
-viewFor.define(Panel, frameFor);
deleted file mode 100644
--- a/addon-sdk/source/lib/dev/panel/view.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "experimental"
-};
-
-const { method } = require("method/core");
-
-const createView = method("dev/panel/view#createView");
-exports.createView = createView;
deleted file mode 100644
--- a/addon-sdk/source/lib/dev/ports.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "experimental"
-};
-
-// This module provides `marshal` and `demarshal` functions
-// that can be used to send  MessagePort's over `nsIFrameMessageManager`
-// until Bug 914974 is fixed.
-
-const { add, iterator } = require("../sdk/lang/weak-set");
-const { curry } = require("../sdk/lang/functional");
-
-var id = 0;
-const ports = new WeakMap();
-
-// Takes `nsIFrameMessageManager` and `MessagePort` instances
-// and returns a handle representing given `port`. Messages
-// received on given `port` will be forwarded to a message
-// manager under `sdk/port/message` and messages like:
-// { port: { type: "MessagePort", id: 2}, data: data }
-// Where id is an identifier associated with a given `port`
-// and `data` is an `event.data` received on port.
-const marshal = curry((manager, port) => {
-  if (!ports.has(port)) {
-    id = id + 1;
-    const handle = {type: "MessagePort", id: id};
-    // Bind id to the given port
-    ports.set(port, handle);
-
-    // Obtain a weak reference to a port.
-    add(exports, port);
-
-    port.onmessage = event => {
-      manager.sendAsyncMessage("sdk/port/message", {
-        port: handle,
-        message: event.data
-      });
-    };
-
-    return handle;
-  }
-  return ports.get(port);
-});
-exports.marshal = marshal;
-
-// Takes `nsIFrameMessageManager` instance and a handle returned
-// `marshal(manager, port)` returning a `port` that was passed
-// to it. Note that `port` may be GC-ed in which case returned
-// value will be `null`.
-const demarshal = curry((manager, {type, id}) => {
-  if (type === "MessagePort") {
-    for (let port of iterator(exports)) {
-      if (id === ports.get(port).id)
-        return port;
-    }
-  }
-  return null;
-});
-exports.demarshal = demarshal;
deleted file mode 100644
--- a/addon-sdk/source/lib/dev/theme.js
+++ /dev/null
@@ -1,135 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "experimental"
-};
-
-const { Class } = require("../sdk/core/heritage");
-const { EventTarget } = require("../sdk/event/target");
-const { Disposable, setup, dispose } = require("../sdk/core/disposable");
-const { contract, validate } = require("../sdk/util/contract");
-const { id: addonID } = require("../sdk/self");
-const { onEnable, onDisable } = require("dev/theme/hooks");
-const { isString, instanceOf, isFunction } = require("sdk/lang/type");
-const { add } = require("sdk/util/array");
-const { data } = require("../sdk/self");
-const { isLocalURL } = require("../sdk/url");
-
-const makeID = name =>
-  ("dev-theme-" + addonID + (name ? "-" + name : "")).
-  split(/[ . /]/).join("-").
-  replace(/[^A-Za-z0-9_\-]/g, "");
-
-const Theme = Class({
-  extends: Disposable,
-  implements: [EventTarget],
-
-  initialize: function(options) {
-    this.name = options.name;
-    this.label = options.label;
-    this.styles = options.styles;
-
-    // Event handlers
-    this.onEnable = options.onEnable;
-    this.onDisable = options.onDisable;
-  },
-  get id() {
-    return makeID(this.name || this.label);
-  },
-  setup: function() {
-    // Any initialization steps done at the registration time.
-  },
-  getStyles: function() {
-    if (!this.styles) {
-      return [];
-    }
-
-    if (isString(this.styles)) {
-      if (isLocalURL(this.styles)) {
-        return [data.url(this.styles)];
-      }
-    }
-
-    let result = [];
-    for (let style of this.styles) {
-      if (isString(style)) {
-        if (isLocalURL(style)) {
-          style = data.url(style);
-        }
-        add(result, style);
-      } else if (instanceOf(style, Theme)) {
-        result = result.concat(style.getStyles());
-      }
-    }
-    return result;
-  },
-  getClassList: function() {
-    let result = [];
-    for (let style of this.styles) {
-      if (instanceOf(style, Theme)) {
-        result = result.concat(style.getClassList());
-      }
-    }
-
-    if (this.name) {
-      add(result, this.name);
-    }
-
-    return result;
-  }
-});
-
-exports.Theme = Theme;
-
-// Initialization & dispose
-
-setup.define(Theme, (theme) => {
-  theme.classList = [];
-  theme.setup();
-});
-
-dispose.define(Theme, function(theme) {
-  theme.dispose();
-});
-
-// Validation
-
-validate.define(Theme, contract({
-  label: {
-    is: ["string"],
-    msg: "The `option.label` must be a provided"
-  },
-}));
-
-// Support theme events: apply and unapply the theme.
-
-onEnable.define(Theme, (theme, {window, oldTheme}) => {
-  if (isFunction(theme.onEnable)) {
-    theme.onEnable(window, oldTheme);
-  }
-});
-
-onDisable.define(Theme, (theme, {window, newTheme}) => {
-  if (isFunction(theme.onDisable)) {
-    theme.onDisable(window, newTheme);
-  }
-});
-
-// Support for built-in themes
-
-const LightTheme = Theme({
-  name: "theme-light",
-  styles: "chrome://devtools/skin/light-theme.css",
-});
-
-const DarkTheme = Theme({
-  name: "theme-dark",
-  styles: "chrome://devtools/skin/dark-theme.css",
-});
-
-exports.LightTheme = LightTheme;
-exports.DarkTheme = DarkTheme;
deleted file mode 100644
--- a/addon-sdk/source/lib/dev/theme/hooks.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "experimental"
-};
-
-const { method } = require("method/core");
-
-const onEnable = method("dev/theme/hooks#onEnable");
-const onDisable = method("dev/theme/hooks#onDisable");
-
-exports.onEnable = onEnable;
-exports.onDisable = onDisable;
deleted file mode 100644
--- a/addon-sdk/source/lib/dev/toolbox.js
+++ /dev/null
@@ -1,107 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "experimental"
-};
-
-const { Cu, Cc, Ci } = require("chrome");
-const { Class } = require("../sdk/core/heritage");
-const { Disposable, setup } = require("../sdk/core/disposable");
-const { contract, validate } = require("../sdk/util/contract");
-const { each, pairs, values } = require("../sdk/util/sequence");
-const { onEnable, onDisable } = require("../dev/theme/hooks");
-
-const { DevToolsShim } = Cu.import("chrome://devtools-shim/content/DevToolsShim.jsm", {});
-
-// This is temporary workaround to allow loading of the developer tools client - volcan
-// into a toolbox panel, this hack won't be necessary as soon as devtools patch will be
-// shipped in nightly, after which it can be removed. Bug 1038517
-const registerSDKURI = () => {
-  const ioService = Cc['@mozilla.org/network/io-service;1']
-                      .getService(Ci.nsIIOService);
-  const resourceHandler = ioService.getProtocolHandler("resource")
-                                   .QueryInterface(Ci.nsIResProtocolHandler);
-
-  const uri = module.uri.replace("dev/toolbox.js", "");
-  resourceHandler.setSubstitution("sdk", ioService.newURI(uri));
-};
-
-registerSDKURI();
-
-const Tool = Class({
-  extends: Disposable,
-  setup: function(params={}) {
-    const { panels } = validate(this, params);
-    const { themes } = validate(this, params);
-
-    this.panels = panels;
-    this.themes = themes;
-
-    each(([key, Panel]) => {
-      const { url, label, tooltip, icon, invertIconForLightTheme,
-              invertIconForDarkTheme } = validate(Panel.prototype);
-      const { id } = Panel.prototype;
-
-      DevToolsShim.registerTool({
-        id: id,
-        url: "about:blank",
-        label: label,
-        tooltip: tooltip,
-        icon: icon,
-        invertIconForLightTheme: invertIconForLightTheme,
-        invertIconForDarkTheme: invertIconForDarkTheme,
-        isTargetSupported: target => target.isLocalTab,
-        build: (window, toolbox) => {
-          const panel = new Panel();
-          setup(panel, { window: window,
-                         toolbox: toolbox,
-                         url: url });
-
-          return panel.ready();
-        }
-      });
-    }, pairs(panels));
-
-    each(([key, theme]) => {
-      validate(theme);
-      setup(theme);
-
-      DevToolsShim.registerTheme({
-        id: theme.id,
-        label: theme.label,
-        stylesheets: theme.getStyles(),
-        classList: theme.getClassList(),
-        onApply: (window, oldTheme) => {
-          onEnable(theme, { window: window,
-                            oldTheme: oldTheme });
-        },
-        onUnapply: (window, newTheme) => {
-          onDisable(theme, { window: window,
-                            newTheme: newTheme });
-        }
-      });
-    }, pairs(themes));
-  },
-  dispose: function() {
-    each(Panel => DevToolsShim.unregisterTool(Panel.prototype.id),
-         values(this.panels));
-
-    each(Theme => DevToolsShim.unregisterTheme(Theme.prototype.id),
-         values(this.themes));
-  }
-});
-
-validate.define(Tool, contract({
-  panels: {
-    is: ["object", "undefined"]
-  },
-  themes: {
-    is: ["object", "undefined"]
-  }
-}));
-
-exports.Tool = Tool;
deleted file mode 100644
--- a/addon-sdk/source/lib/dev/utils.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-const { Cu } = require("chrome");
-const { DevToolsShim } = Cu.import("chrome://devtools-shim/content/DevToolsShim.jsm", {});
-
-const { getActiveTab } = require("../sdk/tabs/utils");
-const { getMostRecentBrowserWindow } = require("../sdk/window/utils");
-
-const targetFor = target => {
-  target = target || getActiveTab(getMostRecentBrowserWindow());
-  return DevToolsShim.getTargetForTab(target);
-};
-
-const getId = id => ((id.prototype && id.prototype.id) || id.id || id);
-
-const getCurrentPanel = toolbox => toolbox.getCurrentPanel();
-exports.getCurrentPanel = getCurrentPanel;
-
-const openToolbox = (id, tab) => {
-  id = getId(id);
-  return DevToolsShim.showToolbox(targetFor(tab), id);
-};
-exports.openToolbox = openToolbox;
-
-const closeToolbox = tab => DevToolsShim.closeToolbox(targetFor(tab));
-exports.closeToolbox = closeToolbox;
-
-const getToolbox = tab => DevToolsShim.getToolbox(targetFor(tab));
-exports.getToolbox = getToolbox;
-
-const openToolboxPanel = (id, tab) => {
-  id = getId(id);
-  return DevToolsShim.showToolbox(targetFor(tab), id).then(getCurrentPanel);
-};
-exports.openToolboxPanel = openToolboxPanel;
deleted file mode 100644
--- a/addon-sdk/source/lib/dev/volcan.js
+++ /dev/null
@@ -1,3837 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.volcan=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
-"use strict";
-
-var Client = _dereq_("../client").Client;
-
-function connect(port) {
-  var client = new Client();
-  return client.connect(port);
-}
-exports.connect = connect;
-
-},{"../client":4}],2:[function(_dereq_,module,exports){
-"use strict";
-
-exports.Promise = Promise;
-
-},{}],3:[function(_dereq_,module,exports){
-"use strict";
-
-var describe = Object.getOwnPropertyDescriptor;
-var Class = function(fields) {
-  var names = Object.keys(fields);
-  var constructor = names.indexOf("constructor") >= 0 ? fields.constructor :
-                    function() {};
-  var ancestor = fields.extends || Object;
-
-  var descriptor = names.reduce(function(descriptor, key) {
-    descriptor[key] = describe(fields, key);
-    return descriptor;
-  }, {});
-
-  var prototype = Object.create(ancestor.prototype, descriptor);
-
-  constructor.prototype = prototype;
-  prototype.constructor = constructor;
-
-  return constructor;
-};
-exports.Class = Class;
-
-},{}],4:[function(_dereq_,module,exports){
-"use strict";
-
-var Class = _dereq_("./class").Class;
-var TypeSystem = _dereq_("./type-system").TypeSystem;
-var values = _dereq_("./util").values;
-var Promise = _dereq_("es6-promise").Promise;
-var MessageEvent = _dereq_("./event").MessageEvent;
-
-var specification = _dereq_("./specification/core.json");
-
-function recoverActorDescriptions(error) {
-  console.warn("Failed to fetch protocol specification (see reason below). " +
-               "Using a fallback protocal specification!",
-               error);
-  return _dereq_("./specification/protocol.json");
-}
-
-// Type to represent superviser actor relations to actors they supervise
-// in terms of lifetime management.
-var Supervisor = Class({
-  constructor: function(id) {
-    this.id = id;
-    this.workers = [];
-  }
-});
-
-var Telemetry = Class({
-  add: function(id, ms) {
-    console.log("telemetry::", id, ms)
-  }
-});
-
-// Consider making client a root actor.
-
-var Client = Class({
-  constructor: function() {
-    this.root = null;
-    this.telemetry = new Telemetry();
-
-    this.setupConnection();
-    this.setupLifeManagement();
-    this.setupTypeSystem();
-  },
-
-  setupConnection: function() {
-    this.requests = [];
-  },
-  setupLifeManagement: function() {
-    this.cache = Object.create(null);
-    this.graph = Object.create(null);
-    this.get = this.get.bind(this);
-    this.release = this.release.bind(this);
-  },
-  setupTypeSystem: function() {
-    this.typeSystem = new TypeSystem(this);
-    this.typeSystem.registerTypes(specification);
-  },
-
-  connect: function(port) {
-    var client = this;
-    return new Promise(function(resolve, reject) {
-      client.port = port;
-      port.onmessage = client.receive.bind(client);
-      client.onReady = resolve;
-      client.onFail = reject;
-
-      port.start();
-    });
-  },
-  send: function(packet) {
-    this.port.postMessage(packet);
-  },
-  request: function(packet) {
-    var client = this;
-    return new Promise(function(resolve, reject) {
-      client.requests.push(packet.to, { resolve: resolve, reject: reject });
-      client.send(packet);
-    });
-  },
-
-  receive: function(event) {
-    var packet = event.data;
-    if (!this.root) {
-      if (packet.from !== "root")
-        throw Error("Initial packet must be from root");
-      if (!("applicationType" in packet))
-        throw Error("Initial packet must contain applicationType field");
-
-      this.root = this.typeSystem.read("root", null, "root");
-      this.root
-          .protocolDescription()
-          .catch(recoverActorDescriptions)
-          .then(this.typeSystem.registerTypes.bind(this.typeSystem))
-          .then(this.onReady.bind(this, this.root), this.onFail);
-    } else {
-      var actor = this.get(packet.from) || this.root;
-      var event = actor.events[packet.type];
-      if (event) {
-        var message = new MessageEvent(packet.type, {
-          data: event.read(packet)
-        });
-        actor.dispatchEvent(message);
-      } else {
-        var index = this.requests.indexOf(actor.id);
-        if (index >= 0) {
-          var request = this.requests.splice(index, 2).pop();
-          if (packet.error)
-            request.reject(packet);
-          else
-            request.resolve(packet);
-        } else {
-          console.error(Error("Unexpected packet " + JSON.stringify(packet, 2, 2)),
-                        packet,
-                        this.requests.slice(0));
-        }
-      }
-    }
-  },
-
-  get: function(id) {
-    return this.cache[id];
-  },
-  supervisorOf: function(actor) {
-    for (var id in this.graph) {
-      if (this.graph[id].indexOf(actor.id) >= 0) {
-        return id;
-      }
-    }
-  },
-  workersOf: function(actor) {
-    return this.graph[actor.id];
-  },
-  supervise: function(actor, worker) {
-    var workers = this.workersOf(actor)
-    if (workers.indexOf(worker.id) < 0) {
-      workers.push(worker.id);
-    }
-  },
-  unsupervise: function(actor, worker) {
-    var workers = this.workersOf(actor);
-    var index = workers.indexOf(worker.id)
-    if (index >= 0) {
-      workers.splice(index, 1)
-    }
-  },
-
-  register: function(actor) {
-    var registered = this.get(actor.id);
-    if (!registered) {
-      this.cache[actor.id] = actor;
-      this.graph[actor.id] = [];
-    } else if (registered !== actor) {
-      throw new Error("Different actor with same id is already registered");
-    }
-  },
-  unregister: function(actor) {
-    if (this.get(actor.id)) {
-      delete this.cache[actor.id];
-      delete this.graph[actor.id];
-    }
-  },
-
-  release: function(actor) {
-    var supervisor = this.supervisorOf(actor);
-    if (supervisor)
-      this.unsupervise(supervisor, actor);
-
-    var workers = this.workersOf(actor)
-
-    if (workers) {
-      workers.map(this.get).forEach(this.release)
-    }
-    this.unregister(actor);
-  }
-});
-exports.Client = Client;
-
-},{"./class":3,"./event":5,"./specification/core.json":23,"./specification/protocol.json":24,"./type-system":25,"./util":26,"es6-promise":2}],5:[function(_dereq_,module,exports){
-"use strict";
-
-var Symbol = _dereq_("es6-symbol")
-var EventEmitter = _dereq_("events").EventEmitter;
-var Class = _dereq_("./class").Class;
-
-var $bound = Symbol("EventTarget/handleEvent");
-var $emitter = Symbol("EventTarget/emitter");
-
-function makeHandler(handler) {
-  return function(event) {
-    handler.handleEvent(event);
-  }
-}
-
-var EventTarget = Class({
-  constructor: function() {
-    Object.defineProperty(this, $emitter, {
-      enumerable: false,
-      configurable: true,
-      writable: true,
-      value: new EventEmitter()
-    });
-  },
-  addEventListener: function(type, handler) {
-    if (typeof(handler) === "function") {
-      this[$emitter].on(type, handler);
-    }
-    else if (handler && typeof(handler) === "object") {
-      if (!handler[$bound]) handler[$bound] = makeHandler(handler);
-      this[$emitter].on(type, handler[$bound]);
-    }
-  },
-  removeEventListener: function(type, handler) {
-    if (typeof(handler) === "function")
-      this[$emitter].removeListener(type, handler);
-    else if (handler && handler[$bound])
-      this[$emitter].removeListener(type, handler[$bound]);
-  },
-  dispatchEvent: function(event) {
-    event.target = this;
-    this[$emitter].emit(event.type, event);
-  }
-});
-exports.EventTarget = EventTarget;
-
-var MessageEvent = Class({
-  constructor: function(type, options) {
-    options = options || {};
-    this.type = type;
-    this.data = options.data === void(0) ? null : options.data;
-
-    this.lastEventId = options.lastEventId || "";
-    this.origin = options.origin || "";
-    this.bubbles = options.bubbles || false;
-    this.cancelable = options.cancelable || false;
-  },
-  source: null,
-  ports: null,
-  preventDefault: function() {
-  },
-  stopPropagation: function() {
-  },
-  stopImmediatePropagation: function() {
-  }
-});
-exports.MessageEvent = MessageEvent;
-
-},{"./class":3,"es6-symbol":7,"events":6}],6:[function(_dereq_,module,exports){
-// Copyright Joyent, Inc. and other Node contributors.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a
-// copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to permit
-// persons to whom the Software is furnished to do so, subject to the
-// following conditions:
-//
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
-// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
-// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
-// USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-function EventEmitter() {
-  this._events = this._events || {};
-  this._maxListeners = this._maxListeners || undefined;
-}
-module.exports = EventEmitter;
-
-// Backwards-compat with node 0.10.x
-EventEmitter.EventEmitter = EventEmitter;
-
-EventEmitter.prototype._events = undefined;
-EventEmitter.prototype._maxListeners = undefined;
-
-// By default EventEmitters will print a warning if more than 10 listeners are
-// added to it. This is a useful default which helps finding memory leaks.
-EventEmitter.defaultMaxListeners = 10;
-
-// Obviously not all Emitters should be limited to 10. This function allows
-// that to be increased. Set to zero for unlimited.
-EventEmitter.prototype.setMaxListeners = function(n) {
-  if (!isNumber(n) || n < 0 || isNaN(n))
-    throw TypeError('n must be a positive number');
-  this._maxListeners = n;
-  return this;
-};
-
-EventEmitter.prototype.emit = function(type) {
-  var er, handler, len, args, i, listeners;
-
-  if (!this._events)
-    this._events = {};
-
-  // If there is no 'error' event listener then throw.
-  if (type === 'error') {
-    if (!this._events.error ||
-        (isObject(this._events.error) && !this._events.error.length)) {
-      er = arguments[1];
-      if (er instanceof Error) {
-        throw er; // Unhandled 'error' event
-      } else {
-        throw TypeError('Uncaught, unspecified "error" event.');
-      }
-      return false;
-    }
-  }
-
-  handler = this._events[type];
-
-  if (isUndefined(handler))
-    return false;
-
-  if (isFunction(handler)) {
-    switch (arguments.length) {
-      // fast cases
-      case 1:
-        handler.call(this);
-        break;
-      case 2:
-        handler.call(this, arguments[1]);
-        break;
-      case 3:
-        handler.call(this, arguments[1], arguments[2]);
-        break;
-      // slower
-      default:
-        len = arguments.length;
-        args = new Array(len - 1);
-        for (i = 1; i < len; i++)
-          args[i - 1] = arguments[i];
-        handler.apply(this, args);
-    }
-  } else if (isObject(handler)) {
-    len = arguments.length;
-    args = new Array(len - 1);
-    for (i = 1; i < len; i++)
-      args[i - 1] = arguments[i];
-
-    listeners = handler.slice();
-    len = listeners.length;
-    for (i = 0; i < len; i++)
-      listeners[i].apply(this, args);
-  }
-
-  return true;
-};
-
-EventEmitter.prototype.addListener = function(type, listener) {
-  var m;
-
-  if (!isFunction(listener))
-    throw TypeError('listener must be a function');
-
-  if (!this._events)
-    this._events = {};
-
-  // To avoid recursion in the case that type === "newListener"! Before
-  // adding it to the listeners, first emit "newListener".
-  if (this._events.newListener)
-    this.emit('newListener', type,
-              isFunction(listener.listener) ?
-              listener.listener : listener);
-
-  if (!this._events[type])
-    // Optimize the case of one listener. Don't need the extra array object.
-    this._events[type] = listener;
-  else if (isObject(this._events[type]))
-    // If we've already got an array, just append.
-    this._events[type].push(listener);
-  else
-    // Adding the second element, need to change to array.
-    this._events[type] = [this._events[type], listener];
-
-  // Check for listener leak
-  if (isObject(this._events[type]) && !this._events[type].warned) {
-    var m;
-    if (!isUndefined(this._maxListeners)) {
-      m = this._maxListeners;
-    } else {
-      m = EventEmitter.defaultMaxListeners;
-    }
-
-    if (m && m > 0 && this._events[type].length > m) {
-      this._events[type].warned = true;
-      console.error('(node) warning: possible EventEmitter memory ' +
-                    'leak detected. %d listeners added. ' +
-                    'Use emitter.setMaxListeners() to increase limit.',
-                    this._events[type].length);
-      if (typeof console.trace === 'function') {
-        // not supported in IE 10
-        console.trace();
-      }
-    }
-  }
-
-  return this;
-};
-
-EventEmitter.prototype.on = EventEmitter.prototype.addListener;
-
-EventEmitter.prototype.once = function(type, listener) {
-  if (!isFunction(listener))
-    throw TypeError('listener must be a function');
-
-  var fired = false;
-
-  function g() {
-    this.removeListener(type, g);
-
-    if (!fired) {
-      fired = true;
-      listener.apply(this, arguments);
-    }
-  }
-
-  g.listener = listener;
-  this.on(type, g);
-
-  return this;
-};
-
-// emits a 'removeListener' event iff the listener was removed
-EventEmitter.prototype.removeListener = function(type, listener) {
-  var list, position, length, i;
-
-  if (!isFunction(listener))
-    throw TypeError('listener must be a function');
-
-  if (!this._events || !this._events[type])
-    return this;
-
-  list = this._events[type];
-  length = list.length;
-  position = -1;
-
-  if (list === listener ||
-      (isFunction(list.listener) && list.listener === listener)) {
-    delete this._events[type];
-    if (this._events.removeListener)
-      this.emit('removeListener', type, listener);
-
-  } else if (isObject(list)) {
-    for (i = length; i-- > 0;) {
-      if (list[i] === listener ||
-          (list[i].listener && list[i].listener === listener)) {
-        position = i;
-        break;
-      }
-    }
-
-    if (position < 0)
-      return this;
-
-    if (list.length === 1) {
-      list.length = 0;
-      delete this._events[type];
-    } else {
-      list.splice(position, 1);
-    }
-
-    if (this._events.removeListener)
-      this.emit('removeListener', type, listener);
-  }
-
-  return this;
-};
-
-EventEmitter.prototype.removeAllListeners = function(type) {
-  var key, listeners;
-
-  if (!this._events)
-    return this;
-
-  // not listening for removeListener, no need to emit
-  if (!this._events.removeListener) {
-    if (arguments.length === 0)
-      this._events = {};
-    else if (this._events[type])
-      delete this._events[type];
-    return this;
-  }
-
-  // emit removeListener for all listeners on all events
-  if (arguments.length === 0) {
-    for (key in this._events) {
-      if (key === 'removeListener') continue;
-      this.removeAllListeners(key);
-    }
-    this.removeAllListeners('removeListener');
-    this._events = {};
-    return this;
-  }
-
-  listeners = this._events[type];
-
-  if (isFunction(listeners)) {
-    this.removeListener(type, listeners);
-  } else {
-    // LIFO order
-    while (listeners.length)
-      this.removeListener(type, listeners[listeners.length - 1]);
-  }
-  delete this._events[type];
-
-  return this;
-};
-
-EventEmitter.prototype.listeners = function(type) {
-  var ret;
-  if (!this._events || !this._events[type])
-    ret = [];
-  else if (isFunction(this._events[type]))
-    ret = [this._events[type]];
-  else
-    ret = this._events[type].slice();
-  return ret;
-};
-
-EventEmitter.listenerCount = function(emitter, type) {
-  var ret;
-  if (!emitter._events || !emitter._events[type])
-    ret = 0;
-  else if (isFunction(emitter._events[type]))
-    ret = 1;
-  else
-    ret = emitter._events[type].length;
-  return ret;
-};
-
-function isFunction(arg) {
-  return typeof arg === 'function';
-}
-
-function isNumber(arg) {
-  return typeof arg === 'number';
-}
-
-function isObject(arg) {
-  return typeof arg === 'object' && arg !== null;
-}
-
-function isUndefined(arg) {
-  return arg === void 0;
-}
-
-},{}],7:[function(_dereq_,module,exports){
-'use strict';
-
-module.exports = _dereq_('./is-implemented')() ? Symbol : _dereq_('./polyfill');
-
-},{"./is-implemented":8,"./polyfill":22}],8:[function(_dereq_,module,exports){
-'use strict';
-
-module.exports = function () {
-	var symbol;
-	if (typeof Symbol !== 'function') return false;
-	symbol = Symbol('test symbol');
-	try {
-		if (String(symbol) !== 'Symbol (test symbol)') return false;
-	} catch (e) { return false; }
-	if (typeof Symbol.iterator === 'symbol') return true;
-
-	// Return 'true' for polyfills
-	if (typeof Symbol.isConcatSpreadable !== 'object') return false;
-	if (typeof Symbol.isRegExp !== 'object') return false;
-	if (typeof Symbol.iterator !== 'object') return false;
-	if (typeof Symbol.toPrimitive !== 'object') return false;
-	if (typeof Symbol.toStringTag !== 'object') return false;
-	if (typeof Symbol.unscopables !== 'object') return false;
-
-	return true;
-};
-
-},{}],9:[function(_dereq_,module,exports){
-'use strict';
-
-var assign        = _dereq_('es5-ext/object/assign')
-  , normalizeOpts = _dereq_('es5-ext/object/normalize-options')
-  , isCallable    = _dereq_('es5-ext/object/is-callable')
-  , contains      = _dereq_('es5-ext/string/#/contains')
-
-  , d;
-
-d = module.exports = function (dscr, value/*, options*/) {
-	var c, e, w, options, desc;
-	if ((arguments.length < 2) || (typeof dscr !== 'string')) {
-		options = value;
-		value = dscr;
-		dscr = null;
-	} else {
-		options = arguments[2];
-	}
-	if (dscr == null) {
-		c = w = true;
-		e = false;
-	} else {
-		c = contains.call(dscr, 'c');
-		e = contains.call(dscr, 'e');
-		w = contains.call(dscr, 'w');
-	}
-
-	desc = { value: value, configurable: c, enumerable: e, writable: w };
-	return !options ? desc : assign(normalizeOpts(options), desc);
-};
-
-d.gs = function (dscr, get, set/*, options*/) {
-	var c, e, options, desc;
-	if (typeof dscr !== 'string') {
-		options = set;
-		set = get;
-		get = dscr;
-		dscr = null;
-	} else {
-		options = arguments[3];
-	}
-	if (get == null) {
-		get = undefined;
-	} else if (!isCallable(get)) {
-		options = get;
-		get = set = undefined;
-	} else if (set == null) {
-		set = undefined;
-	} else if (!isCallable(set)) {
-		options = set;
-		set = undefined;
-	}
-	if (dscr == null) {
-		c = true;
-		e = false;
-	} else {
-		c = contains.call(dscr, 'c');
-		e = contains.call(dscr, 'e');
-	}
-
-	desc = { get: get, set: set, configurable: c, enumerable: e };
-	return !options ? desc : assign(normalizeOpts(options), desc);
-};
-
-},{"es5-ext/object/assign":10,"es5-ext/object/is-callable":13,"es5-ext/object/normalize-options":17,"es5-ext/string/#/contains":19}],10:[function(_dereq_,module,exports){
-'use strict';
-
-module.exports = _dereq_('./is-implemented')()
-	? Object.assign
-	: _dereq_('./shim');
-
-},{"./is-implemented":11,"./shim":12}],11:[function(_dereq_,module,exports){
-'use strict';
-
-module.exports = function () {
-	var assign = Object.assign, obj;
-	if (typeof assign !== 'function') return false;
-	obj = { foo: 'raz' };
-	assign(obj, { bar: 'dwa' }, { trzy: 'trzy' });
-	return (obj.foo + obj.bar + obj.trzy) === 'razdwatrzy';
-};
-
-},{}],12:[function(_dereq_,module,exports){
-'use strict';
-
-var keys  = _dereq_('../keys')
-  , value = _dereq_('../valid-value')
-
-  , max = Math.max;
-
-module.exports = function (dest, src/*, …srcn*/) {
-	var error, i, l = max(arguments.length, 2), assign;
-	dest = Object(value(dest));
-	assign = function (key) {
-		try { dest[key] = src[key]; } catch (e) {
-			if (!error) error = e;
-		}
-	};
-	for (i = 1; i < l; ++i) {
-		src = arguments[i];
-		keys(src).forEach(assign);
-	}
-	if (error !== undefined) throw error;
-	return dest;
-};
-
-},{"../keys":14,"../valid-value":18}],13:[function(_dereq_,module,exports){
-// Deprecated
-
-'use strict';
-
-module.exports = function (obj) { return typeof obj === 'function'; };
-
-},{}],14:[function(_dereq_,module,exports){
-'use strict';
-
-module.exports = _dereq_('./is-implemented')()
-	? Object.keys
-	: _dereq_('./shim');
-
-},{"./is-implemented":15,"./shim":16}],15:[function(_dereq_,module,exports){
-'use strict';
-
-module.exports = function () {
-	try {
-		Object.keys('primitive');
-		return true;
-	} catch (e) { return false; }
-};
-
-},{}],16:[function(_dereq_,module,exports){
-'use strict';
-
-var keys = Object.keys;
-
-module.exports = function (object) {
-	return keys(object == null ? object : Object(object));
-};
-
-},{}],17:[function(_dereq_,module,exports){
-'use strict';
-
-var assign = _dereq_('./assign')
-
-  , forEach = Array.prototype.forEach
-  , create = Object.create, getPrototypeOf = Object.getPrototypeOf
-
-  , process;
-
-process = function (src, obj) {
-	var proto = getPrototypeOf(src);
-	return assign(proto ? process(proto, obj) : obj, src);
-};
-
-module.exports = function (options/*, …options*/) {
-	var result = create(null);
-	forEach.call(arguments, function (options) {
-		if (options == null) return;
-		process(Object(options), result);
-	});
-	return result;
-};
-
-},{"./assign":10}],18:[function(_dereq_,module,exports){
-'use strict';
-
-module.exports = function (value) {
-	if (value == null) throw new TypeError("Cannot use null or undefined");
-	return value;
-};
-
-},{}],19:[function(_dereq_,module,exports){
-'use strict';
-
-module.exports = _dereq_('./is-implemented')()
-	? String.prototype.contains
-	: _dereq_('./shim');
-
-},{"./is-implemented":20,"./shim":21}],20:[function(_dereq_,module,exports){
-'use strict';
-
-var str = 'razdwatrzy';
-
-module.exports = function () {
-	if (typeof str.contains !== 'function') return false;
-	return ((str.contains('dwa') === true) && (str.contains('foo') === false));
-};
-
-},{}],21:[function(_dereq_,module,exports){
-'use strict';
-
-var indexOf = String.prototype.indexOf;
-
-module.exports = function (searchString/*, position*/) {
-	return indexOf.call(this, searchString, arguments[1]) > -1;
-};
-
-},{}],22:[function(_dereq_,module,exports){
-'use strict';
-
-var d = _dereq_('d')
-
-  , create = Object.create, defineProperties = Object.defineProperties
-  , generateName, Symbol;
-
-generateName = (function () {
-	var created = create(null);
-	return function (desc) {
-		var postfix = 0;
-		while (created[desc + (postfix || '')]) ++postfix;
-		desc += (postfix || '');
-		created[desc] = true;
-		return '@@' + desc;
-	};
-}());
-
-module.exports = Symbol = function (description) {
-	var symbol;
-	if (this instanceof Symbol) {
-		throw new TypeError('TypeError: Symbol is not a constructor');
-	}
-	symbol = create(Symbol.prototype);
-	description = (description === undefined ? '' : String(description));
-	return defineProperties(symbol, {
-		__description__: d('', description),
-		__name__: d('', generateName(description))
-	});
-};
-
-Object.defineProperties(Symbol, {
-	create: d('', Symbol('create')),
-	hasInstance: d('', Symbol('hasInstance')),
-	isConcatSpreadable: d('', Symbol('isConcatSpreadable')),
-	isRegExp: d('', Symbol('isRegExp')),
-	iterator: d('', Symbol('iterator')),
-	toPrimitive: d('', Symbol('toPrimitive')),
-	toStringTag: d('', Symbol('toStringTag')),
-	unscopables: d('', Symbol('unscopables'))
-});
-
-defineProperties(Symbol.prototype, {
-	properToString: d(function () {
-		return 'Symbol (' + this.__description__ + ')';
-	}),
-	toString: d('', function () { return this.__name__; })
-});
-Object.defineProperty(Symbol.prototype, Symbol.toPrimitive, d('',
-	function (hint) {
-		throw new TypeError("Conversion of symbol objects is not allowed");
-	}));
-Object.defineProperty(Symbol.prototype, Symbol.toStringTag, d('c', 'Symbol'));
-
-},{"d":9}],23:[function(_dereq_,module,exports){
-module.exports={
-  "types": {
-    "root": {
-      "category": "actor",
-      "typeName": "root",
-      "methods": [
-        {
-          "name": "echo",
-          "request": {
-            "string": { "_arg": 0, "type": "string" }
-          },
-          "response": {
-            "string": { "_retval": "string" }
-          }
-        },
-        {
-          "name": "listTabs",
-          "request": {},
-          "response": { "_retval": "tablist" }
-        },
-        {
-          "name": "protocolDescription",
-          "request": {},
-          "response": { "_retval": "json" }
-        }
-      ],
-      "events": {
-        "tabListChanged": {}
-      }
-    },
-    "tablist": {
-      "category": "dict",
-      "typeName": "tablist",
-      "specializations": {
-        "selected": "number",
-        "tabs": "array:tab",
-        "url": "string",
-        "consoleActor": "console",
-        "inspectorActor": "inspector",
-        "styleSheetsActor": "stylesheets",
-        "styleEditorActor": "styleeditor",
-        "memoryActor": "memory",
-        "eventLoopLagActor": "eventLoopLag",
-        "preferenceActor": "preference",
-        "deviceActor": "device",
-
-        "profilerActor": "profiler",
-        "chromeDebugger": "chromeDebugger",
-        "webappsActor": "webapps"
-      }
-    },
-    "tab": {
-      "category": "actor",
-      "typeName": "tab",
-      "fields": {
-        "title": "string",
-        "url": "string",
-        "outerWindowID": "number",
-        "inspectorActor": "inspector",
-        "callWatcherActor": "call-watcher",
-        "canvasActor": "canvas",
-        "webglActor": "webgl",
-        "webaudioActor": "webaudio",
-        "storageActor": "storage",
-        "gcliActor": "gcli",
-        "memoryActor": "memory",
-        "eventLoopLag": "eventLoopLag",
-        "styleSheetsActor": "stylesheets",
-        "styleEditorActor": "styleeditor",
-
-        "consoleActor": "console",
-        "traceActor": "trace"
-      },
-      "methods": [
-         {
-          "name": "attach",
-          "request": {},
-          "response": { "_retval": "json" }
-         }
-      ],
-      "events": {
-        "tabNavigated": {
-           "typeName": "tabNavigated"
-        }
-      }
-    },
-    "console": {
-      "category": "actor",
-      "typeName": "console",
-      "methods": [
-        {
-          "name": "evaluateJS",
-          "request": {
-            "text": {
-              "_option": 0,
-              "type": "string"
-            },
-            "url": {
-              "_option": 1,
-              "type": "string"
-            },
-            "bindObjectActor": {
-              "_option": 2,
-              "type": "nullable:string"
-            },
-            "frameActor": {
-              "_option": 2,
-              "type": "nullable:string"
-            },
-            "selectedNodeActor": {
-              "_option": 2,
-              "type": "nullable:string"
-            }
-          },
-          "response": {
-            "_retval": "evaluatejsresponse"
-          }
-        }
-      ],
-      "events": {}
-    },
-    "evaluatejsresponse": {
-      "category": "dict",
-      "typeName": "evaluatejsresponse",
-      "specializations": {
-        "result": "object",
-        "exception": "object",
-        "exceptionMessage": "string",
-        "input": "string"
-      }
-    },
-    "object": {
-      "category": "actor",
-      "typeName": "object",
-      "methods": [
-         {
-           "name": "property",
-           "request": {
-              "name": {
-                "_arg": 0,
-                "type": "string"
-              }
-           },
-           "response": {
-              "descriptor": {
-                "_retval": "json"
-              }
-           }
-         }
-      ]
-    }
-  }
-}
-
-},{}],24:[function(_dereq_,module,exports){
-module.exports={
-  "types": {
-    "longstractor": {
-      "category": "actor",
-      "typeName": "longstractor",
-      "methods": [
-        {
-          "name": "substring",
-          "request": {
-            "type": "substring",
-            "start": {
-              "_arg": 0,
-              "type": "primitive"
-            },
-            "end": {
-              "_arg": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "substring": {
-              "_retval": "primitive"
-            }
-          }
-        },
-        {
-          "name": "release",
-          "release": true,
-          "request": {
-            "type": "release"
-          },
-          "response": {}
-        }
-      ],
-      "events": {}
-    },
-    "stylesheet": {
-      "category": "actor",
-      "typeName": "stylesheet",
-      "methods": [
-        {
-          "name": "toggleDisabled",
-          "request": {
-            "type": "toggleDisabled"
-          },
-          "response": {
-            "disabled": {
-              "_retval": "boolean"
-            }
-          }
-        },
-        {
-          "name": "getText",
-          "request": {
-            "type": "getText"
-          },
-          "response": {
-            "text": {
-              "_retval": "longstring"
-            }
-          }
-        },
-        {
-          "name": "getOriginalSources",
-          "request": {
-            "type": "getOriginalSources"
-          },
-          "response": {
-            "originalSources": {
-              "_retval": "nullable:array:originalsource"
-            }
-          }
-        },
-        {
-          "name": "getOriginalLocation",
-          "request": {
-            "type": "getOriginalLocation",
-            "line": {
-              "_arg": 0,
-              "type": "number"
-            },
-            "column": {
-              "_arg": 1,
-              "type": "number"
-            }
-          },
-          "response": {
-            "_retval": "originallocationresponse"
-          }
-        },
-        {
-          "name": "update",
-          "request": {
-            "type": "update",
-            "text": {
-              "_arg": 0,
-              "type": "string"
-            },
-            "transition": {
-              "_arg": 1,
-              "type": "boolean"
-            }
-          },
-          "response": {}
-        }
-      ],
-      "events": {
-        "property-change": {
-          "type": "propertyChange",
-          "property": {
-            "_arg": 0,
-            "type": "string"
-          },
-          "value": {
-            "_arg": 1,
-            "type": "json"
-          }
-        },
-        "style-applied": {
-          "type": "styleApplied"
-        }
-      }
-    },
-    "originalsource": {
-      "category": "actor",
-      "typeName": "originalsource",
-      "methods": [
-        {
-          "name": "getText",
-          "request": {
-            "type": "getText"
-          },
-          "response": {
-            "text": {
-              "_retval": "longstring"
-            }
-          }
-        }
-      ],
-      "events": {}
-    },
-    "stylesheets": {
-      "category": "actor",
-      "typeName": "stylesheets",
-      "methods": [
-        {
-          "name": "getStyleSheets",
-          "request": {
-            "type": "getStyleSheets"
-          },
-          "response": {
-            "styleSheets": {
-              "_retval": "array:stylesheet"
-            }
-          }
-        },
-        {
-          "name": "addStyleSheet",
-          "request": {
-            "type": "addStyleSheet",
-            "text": {
-              "_arg": 0,
-              "type": "string"
-            }
-          },
-          "response": {
-            "styleSheet": {
-              "_retval": "stylesheet"
-            }
-          }
-        }
-      ],
-      "events": {}
-    },
-    "originallocationresponse": {
-      "category": "dict",
-      "typeName": "originallocationresponse",
-      "specializations": {
-        "source": "string",
-        "line": "number",
-        "column": "number"
-      }
-    },
-    "domnode": {
-      "category": "actor",
-      "typeName": "domnode",
-      "methods": [
-        {
-          "name": "getNodeValue",
-          "request": {
-            "type": "getNodeValue"
-          },
-          "response": {
-            "value": {
-              "_retval": "longstring"
-            }
-          }
-        },
-        {
-          "name": "setNodeValue",
-          "request": {
-            "type": "setNodeValue",
-            "value": {
-              "_arg": 0,
-              "type": "primitive"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "getImageData",
-          "request": {
-            "type": "getImageData",
-            "maxDim": {
-              "_arg": 0,
-              "type": "nullable:number"
-            }
-          },
-          "response": {
-            "_retval": "imageData"
-          }
-        },
-        {
-          "name": "modifyAttributes",
-          "request": {
-            "type": "modifyAttributes",
-            "modifications": {
-              "_arg": 0,
-              "type": "array:json"
-            }
-          },
-          "response": {}
-        }
-      ],
-      "events": {}
-    },
-    "appliedstyle": {
-      "category": "dict",
-      "typeName": "appliedstyle",
-      "specializations": {
-        "rule": "domstylerule#actorid",
-        "inherited": "nullable:domnode#actorid"
-      }
-    },
-    "matchedselector": {
-      "category": "dict",
-      "typeName": "matchedselector",
-      "specializations": {
-        "rule": "domstylerule#actorid",
-        "selector": "string",
-        "value": "string",
-        "status": "number"
-      }
-    },
-    "matchedselectorresponse": {
-      "category": "dict",
-      "typeName": "matchedselectorresponse",
-      "specializations": {
-        "rules": "array:domstylerule",
-        "sheets": "array:stylesheet",
-        "matched": "array:matchedselector"
-      }
-    },
-    "appliedStylesReturn": {
-      "category": "dict",
-      "typeName": "appliedStylesReturn",
-      "specializations": {
-        "entries": "array:appliedstyle",
-        "rules": "array:domstylerule",
-        "sheets": "array:stylesheet"
-      }
-    },
-    "pagestyle": {
-      "category": "actor",
-      "typeName": "pagestyle",
-      "methods": [
-        {
-          "name": "getComputed",
-          "request": {
-            "type": "getComputed",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "markMatched": {
-              "_option": 1,
-              "type": "boolean"
-            },
-            "onlyMatched": {
-              "_option": 1,
-              "type": "boolean"
-            },
-            "filter": {
-              "_option": 1,
-              "type": "string"
-            }
-          },
-          "response": {
-            "computed": {
-              "_retval": "json"
-            }
-          }
-        },
-        {
-          "name": "getMatchedSelectors",
-          "request": {
-            "type": "getMatchedSelectors",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "property": {
-              "_arg": 1,
-              "type": "string"
-            },
-            "filter": {
-              "_option": 2,
-              "type": "string"
-            }
-          },
-          "response": {
-            "_retval": "matchedselectorresponse"
-          }
-        },
-        {
-          "name": "getApplied",
-          "request": {
-            "type": "getApplied",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "inherited": {
-              "_option": 1,
-              "type": "boolean"
-            },
-            "matchedSelectors": {
-              "_option": 1,
-              "type": "boolean"
-            },
-            "filter": {
-              "_option": 1,
-              "type": "string"
-            }
-          },
-          "response": {
-            "_retval": "appliedStylesReturn"
-          }
-        },
-        {
-          "name": "getLayout",
-          "request": {
-            "type": "getLayout",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "autoMargins": {
-              "_option": 1,
-              "type": "boolean"
-            }
-          },
-          "response": {
-            "_retval": "json"
-          }
-        }
-      ],
-      "events": {}
-    },
-    "domstylerule": {
-      "category": "actor",
-      "typeName": "domstylerule",
-      "methods": [
-        {
-          "name": "modifyProperties",
-          "request": {
-            "type": "modifyProperties",
-            "modifications": {
-              "_arg": 0,
-              "type": "array:json"
-            }
-          },
-          "response": {
-            "rule": {
-              "_retval": "domstylerule"
-            }
-          }
-        }
-      ],
-      "events": {}
-    },
-    "highlighter": {
-      "category": "actor",
-      "typeName": "highlighter",
-      "methods": [
-        {
-          "name": "showBoxModel",
-          "request": {
-            "type": "showBoxModel",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "region": {
-              "_option": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "hideBoxModel",
-          "request": {
-            "type": "hideBoxModel"
-          },
-          "response": {}
-        },
-        {
-          "name": "pick",
-          "request": {
-            "type": "pick"
-          },
-          "response": {}
-        },
-        {
-          "name": "cancelPick",
-          "request": {
-            "type": "cancelPick"
-          },
-          "response": {}
-        }
-      ],
-      "events": {}
-    },
-    "imageData": {
-      "category": "dict",
-      "typeName": "imageData",
-      "specializations": {
-        "data": "nullable:longstring",
-        "size": "json"
-      }
-    },
-    "disconnectedNode": {
-      "category": "dict",
-      "typeName": "disconnectedNode",
-      "specializations": {
-        "node": "domnode",
-        "newParents": "array:domnode"
-      }
-    },
-    "disconnectedNodeArray": {
-      "category": "dict",
-      "typeName": "disconnectedNodeArray",
-      "specializations": {
-        "nodes": "array:domnode",
-        "newParents": "array:domnode"
-      }
-    },
-    "dommutation": {
-      "category": "dict",
-      "typeName": "dommutation",
-      "specializations": {}
-    },
-    "domnodelist": {
-      "category": "actor",
-      "typeName": "domnodelist",
-      "methods": [
-        {
-          "name": "item",
-          "request": {
-            "type": "item",
-            "item": {
-              "_arg": 0,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "_retval": "disconnectedNode"
-          }
-        },
-        {
-          "name": "items",
-          "request": {
-            "type": "items",
-            "start": {
-              "_arg": 0,
-              "type": "nullable:number"
-            },
-            "end": {
-              "_arg": 1,
-              "type": "nullable:number"
-            }
-          },
-          "response": {
-            "_retval": "disconnectedNodeArray"
-          }
-        },
-        {
-          "name": "release",
-          "release": true,
-          "request": {
-            "type": "release"
-          },
-          "response": {}
-        }
-      ],
-      "events": {}
-    },
-    "domtraversalarray": {
-      "category": "dict",
-      "typeName": "domtraversalarray",
-      "specializations": {
-        "nodes": "array:domnode"
-      }
-    },
-    "domwalker": {
-      "category": "actor",
-      "typeName": "domwalker",
-      "methods": [
-        {
-          "name": "release",
-          "release": true,
-          "request": {
-            "type": "release"
-          },
-          "response": {}
-        },
-        {
-          "name": "pick",
-          "request": {
-            "type": "pick"
-          },
-          "response": {
-            "_retval": "disconnectedNode"
-          }
-        },
-        {
-          "name": "cancelPick",
-          "request": {
-            "type": "cancelPick"
-          },
-          "response": {}
-        },
-        {
-          "name": "highlight",
-          "request": {
-            "type": "highlight",
-            "node": {
-              "_arg": 0,
-              "type": "nullable:domnode"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "document",
-          "request": {
-            "type": "document",
-            "node": {
-              "_arg": 0,
-              "type": "nullable:domnode"
-            }
-          },
-          "response": {
-            "node": {
-              "_retval": "domnode"
-            }
-          }
-        },
-        {
-          "name": "documentElement",
-          "request": {
-            "type": "documentElement",
-            "node": {
-              "_arg": 0,
-              "type": "nullable:domnode"
-            }
-          },
-          "response": {
-            "node": {
-              "_retval": "domnode"
-            }
-          }
-        },
-        {
-          "name": "parents",
-          "request": {
-            "type": "parents",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "sameDocument": {
-              "_option": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "nodes": {
-              "_retval": "array:domnode"
-            }
-          }
-        },
-        {
-          "name": "retainNode",
-          "request": {
-            "type": "retainNode",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "unretainNode",
-          "request": {
-            "type": "unretainNode",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "releaseNode",
-          "request": {
-            "type": "releaseNode",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "force": {
-              "_option": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "children",
-          "request": {
-            "type": "children",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "maxNodes": {
-              "_option": 1,
-              "type": "primitive"
-            },
-            "center": {
-              "_option": 1,
-              "type": "domnode"
-            },
-            "start": {
-              "_option": 1,
-              "type": "domnode"
-            },
-            "whatToShow": {
-              "_option": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "_retval": "domtraversalarray"
-          }
-        },
-        {
-          "name": "siblings",
-          "request": {
-            "type": "siblings",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "maxNodes": {
-              "_option": 1,
-              "type": "primitive"
-            },
-            "center": {
-              "_option": 1,
-              "type": "domnode"
-            },
-            "start": {
-              "_option": 1,
-              "type": "domnode"
-            },
-            "whatToShow": {
-              "_option": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "_retval": "domtraversalarray"
-          }
-        },
-        {
-          "name": "nextSibling",
-          "request": {
-            "type": "nextSibling",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "whatToShow": {
-              "_option": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "node": {
-              "_retval": "nullable:domnode"
-            }
-          }
-        },
-        {
-          "name": "previousSibling",
-          "request": {
-            "type": "previousSibling",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "whatToShow": {
-              "_option": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "node": {
-              "_retval": "nullable:domnode"
-            }
-          }
-        },
-        {
-          "name": "querySelector",
-          "request": {
-            "type": "querySelector",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "selector": {
-              "_arg": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "_retval": "disconnectedNode"
-          }
-        },
-        {
-          "name": "querySelectorAll",
-          "request": {
-            "type": "querySelectorAll",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "selector": {
-              "_arg": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "list": {
-              "_retval": "domnodelist"
-            }
-          }
-        },
-        {
-          "name": "getSuggestionsForQuery",
-          "request": {
-            "type": "getSuggestionsForQuery",
-            "query": {
-              "_arg": 0,
-              "type": "primitive"
-            },
-            "completing": {
-              "_arg": 1,
-              "type": "primitive"
-            },
-            "selectorState": {
-              "_arg": 2,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "list": {
-              "_retval": "array:array:string"
-            }
-          }
-        },
-        {
-          "name": "addPseudoClassLock",
-          "request": {
-            "type": "addPseudoClassLock",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "pseudoClass": {
-              "_arg": 1,
-              "type": "primitive"
-            },
-            "parents": {
-              "_option": 2,
-              "type": "primitive"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "hideNode",
-          "request": {
-            "type": "hideNode",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "unhideNode",
-          "request": {
-            "type": "unhideNode",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "removePseudoClassLock",
-          "request": {
-            "type": "removePseudoClassLock",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "pseudoClass": {
-              "_arg": 1,
-              "type": "primitive"
-            },
-            "parents": {
-              "_option": 2,
-              "type": "primitive"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "clearPseudoClassLocks",
-          "request": {
-            "type": "clearPseudoClassLocks",
-            "node": {
-              "_arg": 0,
-              "type": "nullable:domnode"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "innerHTML",
-          "request": {
-            "type": "innerHTML",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            }
-          },
-          "response": {
-            "value": {
-              "_retval": "longstring"
-            }
-          }
-        },
-        {
-          "name": "outerHTML",
-          "request": {
-            "type": "outerHTML",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            }
-          },
-          "response": {
-            "value": {
-              "_retval": "longstring"
-            }
-          }
-        },
-        {
-          "name": "setOuterHTML",
-          "request": {
-            "type": "setOuterHTML",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "value": {
-              "_arg": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "removeNode",
-          "request": {
-            "type": "removeNode",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            }
-          },
-          "response": {
-            "nextSibling": {
-              "_retval": "nullable:domnode"
-            }
-          }
-        },
-        {
-          "name": "insertBefore",
-          "request": {
-            "type": "insertBefore",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            },
-            "parent": {
-              "_arg": 1,
-              "type": "domnode"
-            },
-            "sibling": {
-              "_arg": 2,
-              "type": "nullable:domnode"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "getMutations",
-          "request": {
-            "type": "getMutations",
-            "cleanup": {
-              "_option": 0,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "mutations": {
-              "_retval": "array:dommutation"
-            }
-          }
-        },
-        {
-          "name": "isInDOMTree",
-          "request": {
-            "type": "isInDOMTree",
-            "node": {
-              "_arg": 0,
-              "type": "domnode"
-            }
-          },
-          "response": {
-            "attached": {
-              "_retval": "boolean"
-            }
-          }
-        },
-        {
-          "name": "getNodeActorFromObjectActor",
-          "request": {
-            "type": "getNodeActorFromObjectActor",
-            "objectActorID": {
-              "_arg": 0,
-              "type": "string"
-            }
-          },
-          "response": {
-            "nodeFront": {
-              "_retval": "nullable:disconnectedNode"
-            }
-          }
-        }
-      ],
-      "events": {
-        "new-mutations": {
-          "type": "newMutations"
-        },
-        "picker-node-picked": {
-          "type": "pickerNodePicked",
-          "node": {
-            "_arg": 0,
-            "type": "disconnectedNode"
-          }
-        },
-        "picker-node-hovered": {
-          "type": "pickerNodeHovered",
-          "node": {
-            "_arg": 0,
-            "type": "disconnectedNode"
-          }
-        },
-        "highlighter-ready": {
-          "type": "highlighter-ready"
-        },
-        "highlighter-hide": {
-          "type": "highlighter-hide"
-        }
-      }
-    },
-    "inspector": {
-      "category": "actor",
-      "typeName": "inspector",
-      "methods": [
-        {
-          "name": "getWalker",
-          "request": {
-            "type": "getWalker"
-          },
-          "response": {
-            "walker": {
-              "_retval": "domwalker"
-            }
-          }
-        },
-        {
-          "name": "getPageStyle",
-          "request": {
-            "type": "getPageStyle"
-          },
-          "response": {
-            "pageStyle": {
-              "_retval": "pagestyle"
-            }
-          }
-        },
-        {
-          "name": "getHighlighter",
-          "request": {
-            "type": "getHighlighter",
-            "autohide": {
-              "_arg": 0,
-              "type": "boolean"
-            }
-          },
-          "response": {
-            "highligter": {
-              "_retval": "highlighter"
-            }
-          }
-        },
-        {
-          "name": "getImageDataFromURL",
-          "request": {
-            "type": "getImageDataFromURL",
-            "url": {
-              "_arg": 0,
-              "type": "primitive"
-            },
-            "maxDim": {
-              "_arg": 1,
-              "type": "nullable:number"
-            }
-          },
-          "response": {
-            "_retval": "imageData"
-          }
-        }
-      ],
-      "events": {}
-    },
-    "call-stack-item": {
-      "category": "dict",
-      "typeName": "call-stack-item",
-      "specializations": {
-        "name": "string",
-        "file": "string",
-        "line": "number"
-      }
-    },
-    "call-details": {
-      "category": "dict",
-      "typeName": "call-details",
-      "specializations": {
-        "type": "number",
-        "name": "string",
-        "stack": "array:call-stack-item"
-      }
-    },
-    "function-call": {
-      "category": "actor",
-      "typeName": "function-call",
-      "methods": [
-        {
-          "name": "getDetails",
-          "request": {
-            "type": "getDetails"
-          },
-          "response": {
-            "info": {
-              "_retval": "call-details"
-            }
-          }
-        }
-      ],
-      "events": {}
-    },
-    "call-watcher": {
-      "category": "actor",
-      "typeName": "call-watcher",
-      "methods": [
-        {
-          "name": "setup",
-          "oneway": true,
-          "request": {
-            "type": "setup",
-            "tracedGlobals": {
-              "_option": 0,
-              "type": "nullable:array:string"
-            },
-            "tracedFunctions": {
-              "_option": 0,
-              "type": "nullable:array:string"
-            },
-            "startRecording": {
-              "_option": 0,
-              "type": "boolean"
-            },
-            "performReload": {
-              "_option": 0,
-              "type": "boolean"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "finalize",
-          "oneway": true,
-          "request": {
-            "type": "finalize"
-          },
-          "response": {}
-        },
-        {
-          "name": "isRecording",
-          "request": {
-            "type": "isRecording"
-          },
-          "response": {
-            "_retval": "boolean"
-          }
-        },
-        {
-          "name": "resumeRecording",
-          "request": {
-            "type": "resumeRecording"
-          },
-          "response": {}
-        },
-        {
-          "name": "pauseRecording",
-          "request": {
-            "type": "pauseRecording"
-          },
-          "response": {
-            "calls": {
-              "_retval": "array:function-call"
-            }
-          }
-        },
-        {
-          "name": "eraseRecording",
-          "request": {
-            "type": "eraseRecording"
-          },
-          "response": {}
-        }
-      ],
-      "events": {}
-    },
-    "snapshot-image": {
-      "category": "dict",
-      "typeName": "snapshot-image",
-      "specializations": {
-        "index": "number",
-        "width": "number",
-        "height": "number",
-        "flipped": "boolean",
-        "pixels": "uint32-array"
-      }
-    },
-    "snapshot-overview": {
-      "category": "dict",
-      "typeName": "snapshot-overview",
-      "specializations": {
-        "calls": "array:function-call",
-        "thumbnails": "array:snapshot-image",
-        "screenshot": "snapshot-image"
-      }
-    },
-    "frame-snapshot": {
-      "category": "actor",
-      "typeName": "frame-snapshot",
-      "methods": [
-        {
-          "name": "getOverview",
-          "request": {
-            "type": "getOverview"
-          },
-          "response": {
-            "overview": {
-              "_retval": "snapshot-overview"
-            }
-          }
-        },
-        {
-          "name": "generateScreenshotFor",
-          "request": {
-            "type": "generateScreenshotFor",
-            "call": {
-              "_arg": 0,
-              "type": "function-call"
-            }
-          },
-          "response": {
-            "screenshot": {
-              "_retval": "snapshot-image"
-            }
-          }
-        }
-      ],
-      "events": {}
-    },
-    "canvas": {
-      "category": "actor",
-      "typeName": "canvas",
-      "methods": [
-        {
-          "name": "setup",
-          "oneway": true,
-          "request": {
-            "type": "setup",
-            "reload": {
-              "_option": 0,
-              "type": "boolean"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "finalize",
-          "oneway": true,
-          "request": {
-            "type": "finalize"
-          },
-          "response": {}
-        },
-        {
-          "name": "isInitialized",
-          "request": {
-            "type": "isInitialized"
-          },
-          "response": {
-            "initialized": {
-              "_retval": "boolean"
-            }
-          }
-        },
-        {
-          "name": "recordAnimationFrame",
-          "request": {
-            "type": "recordAnimationFrame"
-          },
-          "response": {
-            "snapshot": {
-              "_retval": "frame-snapshot"
-            }
-          }
-        }
-      ],
-      "events": {}
-    },
-    "gl-shader": {
-      "category": "actor",
-      "typeName": "gl-shader",
-      "methods": [
-        {
-          "name": "getText",
-          "request": {
-            "type": "getText"
-          },
-          "response": {
-            "text": {
-              "_retval": "string"
-            }
-          }
-        },
-        {
-          "name": "compile",
-          "request": {
-            "type": "compile",
-            "text": {
-              "_arg": 0,
-              "type": "string"
-            }
-          },
-          "response": {
-            "error": {
-              "_retval": "nullable:json"
-            }
-          }
-        }
-      ],
-      "events": {}
-    },
-    "gl-program": {
-      "category": "actor",
-      "typeName": "gl-program",
-      "methods": [
-        {
-          "name": "getVertexShader",
-          "request": {
-            "type": "getVertexShader"
-          },
-          "response": {
-            "shader": {
-              "_retval": "gl-shader"
-            }
-          }
-        },
-        {
-          "name": "getFragmentShader",
-          "request": {
-            "type": "getFragmentShader"
-          },
-          "response": {
-            "shader": {
-              "_retval": "gl-shader"
-            }
-          }
-        },
-        {
-          "name": "highlight",
-          "oneway": true,
-          "request": {
-            "type": "highlight",
-            "tint": {
-              "_arg": 0,
-              "type": "array:number"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "unhighlight",
-          "oneway": true,
-          "request": {
-            "type": "unhighlight"
-          },
-          "response": {}
-        },
-        {
-          "name": "blackbox",
-          "oneway": true,
-          "request": {
-            "type": "blackbox"
-          },
-          "response": {}
-        },
-        {
-          "name": "unblackbox",
-          "oneway": true,
-          "request": {
-            "type": "unblackbox"
-          },
-          "response": {}
-        }
-      ],
-      "events": {}
-    },
-    "webgl": {
-      "category": "actor",
-      "typeName": "webgl",
-      "methods": [
-        {
-          "name": "setup",
-          "oneway": true,
-          "request": {
-            "type": "setup",
-            "reload": {
-              "_option": 0,
-              "type": "boolean"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "finalize",
-          "oneway": true,
-          "request": {
-            "type": "finalize"
-          },
-          "response": {}
-        },
-        {
-          "name": "getPrograms",
-          "request": {
-            "type": "getPrograms"
-          },
-          "response": {
-            "programs": {
-              "_retval": "array:gl-program"
-            }
-          }
-        }
-      ],
-      "events": {
-        "program-linked": {
-          "type": "programLinked",
-          "program": {
-            "_arg": 0,
-            "type": "gl-program"
-          }
-        }
-      }
-    },
-    "audionode": {
-      "category": "actor",
-      "typeName": "audionode",
-      "methods": [
-        {
-          "name": "getType",
-          "request": {
-            "type": "getType"
-          },
-          "response": {
-            "type": {
-              "_retval": "string"
-            }
-          }
-        },
-        {
-          "name": "isSource",
-          "request": {
-            "type": "isSource"
-          },
-          "response": {
-            "source": {
-              "_retval": "boolean"
-            }
-          }
-        },
-        {
-          "name": "setParam",
-          "request": {
-            "type": "setParam",
-            "param": {
-              "_arg": 0,
-              "type": "string"
-            },
-            "value": {
-              "_arg": 1,
-              "type": "nullable:primitive"
-            }
-          },
-          "response": {
-            "error": {
-              "_retval": "nullable:json"
-            }
-          }
-        },
-        {
-          "name": "getParam",
-          "request": {
-            "type": "getParam",
-            "param": {
-              "_arg": 0,
-              "type": "string"
-            }
-          },
-          "response": {
-            "text": {
-              "_retval": "nullable:primitive"
-            }
-          }
-        },
-        {
-          "name": "getParamFlags",
-          "request": {
-            "type": "getParamFlags",
-            "param": {
-              "_arg": 0,
-              "type": "string"
-            }
-          },
-          "response": {
-            "flags": {
-              "_retval": "nullable:primitive"
-            }
-          }
-        },
-        {
-          "name": "getParams",
-          "request": {
-            "type": "getParams"
-          },
-          "response": {
-            "params": {
-              "_retval": "json"
-            }
-          }
-        }
-      ],
-      "events": {}
-    },
-    "webaudio": {
-      "category": "actor",
-      "typeName": "webaudio",
-      "methods": [
-        {
-          "name": "setup",
-          "oneway": true,
-          "request": {
-            "type": "setup",
-            "reload": {
-              "_option": 0,
-              "type": "boolean"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "finalize",
-          "oneway": true,
-          "request": {
-            "type": "finalize"
-          },
-          "response": {}
-        }
-      ],
-      "events": {
-        "start-context": {
-          "type": "startContext"
-        },
-        "connect-node": {
-          "type": "connectNode",
-          "source": {
-            "_option": 0,
-            "type": "audionode"
-          },
-          "dest": {
-            "_option": 0,
-            "type": "audionode"
-          }
-        },
-        "disconnect-node": {
-          "type": "disconnectNode",
-          "source": {
-            "_arg": 0,
-            "type": "audionode"
-          }
-        },
-        "connect-param": {
-          "type": "connectParam",
-          "source": {
-            "_arg": 0,
-            "type": "audionode"
-          },
-          "param": {
-            "_arg": 1,
-            "type": "string"
-          }
-        },
-        "change-param": {
-          "type": "changeParam",
-          "source": {
-            "_option": 0,
-            "type": "audionode"
-          },
-          "param": {
-            "_option": 0,
-            "type": "string"
-          },
-          "value": {
-            "_option": 0,
-            "type": "string"
-          }
-        },
-        "create-node": {
-          "type": "createNode",
-          "source": {
-            "_arg": 0,
-            "type": "audionode"
-          }
-        }
-      }
-    },
-    "old-stylesheet": {
-      "category": "actor",
-      "typeName": "old-stylesheet",
-      "methods": [
-        {
-          "name": "toggleDisabled",
-          "request": {
-            "type": "toggleDisabled"
-          },
-          "response": {
-            "disabled": {
-              "_retval": "boolean"
-            }
-          }
-        },
-        {
-          "name": "fetchSource",
-          "request": {
-            "type": "fetchSource"
-          },
-          "response": {}
-        },
-        {
-          "name": "update",
-          "request": {
-            "type": "update",
-            "text": {
-              "_arg": 0,
-              "type": "string"
-            },
-            "transition": {
-              "_arg": 1,
-              "type": "boolean"
-            }
-          },
-          "response": {}
-        }
-      ],
-      "events": {
-        "property-change": {
-          "type": "propertyChange",
-          "property": {
-            "_arg": 0,
-            "type": "string"
-          },
-          "value": {
-            "_arg": 1,
-            "type": "json"
-          }
-        },
-        "source-load": {
-          "type": "sourceLoad",
-          "source": {
-            "_arg": 0,
-            "type": "string"
-          }
-        },
-        "style-applied": {
-          "type": "styleApplied"
-        }
-      }
-    },
-    "styleeditor": {
-      "category": "actor",
-      "typeName": "styleeditor",
-      "methods": [
-        {
-          "name": "newDocument",
-          "request": {
-            "type": "newDocument"
-          },
-          "response": {}
-        },
-        {
-          "name": "newStyleSheet",
-          "request": {
-            "type": "newStyleSheet",
-            "text": {
-              "_arg": 0,
-              "type": "string"
-            }
-          },
-          "response": {
-            "styleSheet": {
-              "_retval": "old-stylesheet"
-            }
-          }
-        }
-      ],
-      "events": {
-        "document-load": {
-          "type": "documentLoad",
-          "styleSheets": {
-            "_arg": 0,
-            "type": "array:old-stylesheet"
-          }
-        }
-      }
-    },
-    "cookieobject": {
-      "category": "dict",
-      "typeName": "cookieobject",
-      "specializations": {
-        "name": "string",
-        "value": "longstring",
-        "path": "nullable:string",
-        "host": "string",
-        "isDomain": "boolean",
-        "isSecure": "boolean",
-        "isHttpOnly": "boolean",
-        "creationTime": "number",
-        "lastAccessed": "number",
-        "expires": "number"
-      }
-    },
-    "cookiestoreobject": {
-      "category": "dict",
-      "typeName": "cookiestoreobject",
-      "specializations": {
-        "total": "number",
-        "offset": "number",
-        "data": "array:nullable:cookieobject"
-      }
-    },
-    "storageobject": {
-      "category": "dict",
-      "typeName": "storageobject",
-      "specializations": {
-        "name": "string",
-        "value": "longstring"
-      }
-    },
-    "storagestoreobject": {
-      "category": "dict",
-      "typeName": "storagestoreobject",
-      "specializations": {
-        "total": "number",
-        "offset": "number",
-        "data": "array:nullable:storageobject"
-      }
-    },
-    "idbobject": {
-      "category": "dict",
-      "typeName": "idbobject",
-      "specializations": {
-        "name": "nullable:string",
-        "db": "nullable:string",
-        "objectStore": "nullable:string",
-        "origin": "nullable:string",
-        "version": "nullable:number",
-        "objectStores": "nullable:number",
-        "keyPath": "nullable:string",
-        "autoIncrement": "nullable:boolean",
-        "indexes": "nullable:string",
-        "value": "nullable:longstring"
-      }
-    },
-    "idbstoreobject": {
-      "category": "dict",
-      "typeName": "idbstoreobject",
-      "specializations": {
-        "total": "number",
-        "offset": "number",
-        "data": "array:nullable:idbobject"
-      }
-    },
-    "storeUpdateObject": {
-      "category": "dict",
-      "typeName": "storeUpdateObject",
-      "specializations": {
-        "changed": "nullable:json",
-        "deleted": "nullable:json",
-        "added": "nullable:json"
-      }
-    },
-    "cookies": {
-      "category": "actor",
-      "typeName": "cookies",
-      "methods": [
-        {
-          "name": "getStoreObjects",
-          "request": {
-            "type": "getStoreObjects",
-            "host": {
-              "_arg": 0,
-              "type": "primitive"
-            },
-            "names": {
-              "_arg": 1,
-              "type": "nullable:array:string"
-            },
-            "options": {
-              "_arg": 2,
-              "type": "nullable:json"
-            }
-          },
-          "response": {
-            "_retval": "cookiestoreobject"
-          }
-        }
-      ],
-      "events": {}
-    },
-    "localStorage": {
-      "category": "actor",
-      "typeName": "localStorage",
-      "methods": [
-        {
-          "name": "getStoreObjects",
-          "request": {
-            "type": "getStoreObjects",
-            "host": {
-              "_arg": 0,
-              "type": "primitive"
-            },
-            "names": {
-              "_arg": 1,
-              "type": "nullable:array:string"
-            },
-            "options": {
-              "_arg": 2,
-              "type": "nullable:json"
-            }
-          },
-          "response": {
-            "_retval": "storagestoreobject"
-          }
-        }
-      ],
-      "events": {}
-    },
-    "sessionStorage": {
-      "category": "actor",
-      "typeName": "sessionStorage",
-      "methods": [
-        {
-          "name": "getStoreObjects",
-          "request": {
-            "type": "getStoreObjects",
-            "host": {
-              "_arg": 0,
-              "type": "primitive"
-            },
-            "names": {
-              "_arg": 1,
-              "type": "nullable:array:string"
-            },
-            "options": {
-              "_arg": 2,
-              "type": "nullable:json"
-            }
-          },
-          "response": {
-            "_retval": "storagestoreobject"
-          }
-        }
-      ],
-      "events": {}
-    },
-    "indexedDB": {
-      "category": "actor",
-      "typeName": "indexedDB",
-      "methods": [
-        {
-          "name": "getStoreObjects",
-          "request": {
-            "type": "getStoreObjects",
-            "host": {
-              "_arg": 0,
-              "type": "primitive"
-            },
-            "names": {
-              "_arg": 1,
-              "type": "nullable:array:string"
-            },
-            "options": {
-              "_arg": 2,
-              "type": "nullable:json"
-            }
-          },
-          "response": {
-            "_retval": "idbstoreobject"
-          }
-        }
-      ],
-      "events": {}
-    },
-    "storelist": {
-      "category": "dict",
-      "typeName": "storelist",
-      "specializations": {
-        "cookies": "cookies",
-        "localStorage": "localStorage",
-        "sessionStorage": "sessionStorage",
-        "indexedDB": "indexedDB"
-      }
-    },
-    "storage": {
-      "category": "actor",
-      "typeName": "storage",
-      "methods": [
-        {
-          "name": "listStores",
-          "request": {
-            "type": "listStores"
-          },
-          "response": {
-            "_retval": "storelist"
-          }
-        }
-      ],
-      "events": {
-        "stores-update": {
-          "type": "storesUpdate",
-          "data": {
-            "_arg": 0,
-            "type": "storeUpdateObject"
-          }
-        },
-        "stores-cleared": {
-          "type": "storesCleared",
-          "data": {
-            "_arg": 0,
-            "type": "json"
-          }
-        },
-        "stores-reloaded": {
-          "type": "storesRelaoded",
-          "data": {
-            "_arg": 0,
-            "type": "json"
-          }
-        }
-      }
-    },
-    "gcli": {
-      "category": "actor",
-      "typeName": "gcli",
-      "methods": [
-        {
-          "name": "specs",
-          "request": {
-            "type": "specs"
-          },
-          "response": {
-            "_retval": "json"
-          }
-        },
-        {
-          "name": "execute",
-          "request": {
-            "type": "execute",
-            "typed": {
-              "_arg": 0,
-              "type": "string"
-            }
-          },
-          "response": {
-            "_retval": "json"
-          }
-        },
-        {
-          "name": "state",
-          "request": {
-            "type": "state",
-            "typed": {
-              "_arg": 0,
-              "type": "string"
-            },
-            "start": {
-              "_arg": 1,
-              "type": "number"
-            },
-            "rank": {
-              "_arg": 2,
-              "type": "number"
-            }
-          },
-          "response": {
-            "_retval": "json"
-          }
-        },
-        {
-          "name": "typeparse",
-          "request": {
-            "type": "typeparse",
-            "typed": {
-              "_arg": 0,
-              "type": "string"
-            },
-            "param": {
-              "_arg": 1,
-              "type": "string"
-            }
-          },
-          "response": {
-            "_retval": "json"
-          }
-        },
-        {
-          "name": "typeincrement",
-          "request": {
-            "type": "typeincrement",
-            "typed": {
-              "_arg": 0,
-              "type": "string"
-            },
-            "param": {
-              "_arg": 1,
-              "type": "string"
-            }
-          },
-          "response": {
-            "_retval": "string"
-          }
-        },
-        {
-          "name": "typedecrement",
-          "request": {
-            "type": "typedecrement",
-            "typed": {
-              "_arg": 0,
-              "type": "string"
-            },
-            "param": {
-              "_arg": 1,
-              "type": "string"
-            }
-          },
-          "response": {
-            "_retval": "string"
-          }
-        },
-        {
-          "name": "selectioninfo",
-          "request": {
-            "type": "selectioninfo",
-            "typed": {
-              "_arg": 0,
-              "type": "string"
-            },
-            "param": {
-              "_arg": 1,
-              "type": "string"
-            },
-            "action": {
-              "_arg": 1,
-              "type": "string"
-            }
-          },
-          "response": {
-            "_retval": "json"
-          }
-        }
-      ],
-      "events": {}
-    },
-    "memory": {
-      "category": "actor",
-      "typeName": "memory",
-      "methods": [
-        {
-          "name": "measure",
-          "request": {
-            "type": "measure"
-          },
-          "response": {
-            "_retval": "json"
-          }
-        }
-      ],
-      "events": {}
-    },
-    "eventLoopLag": {
-      "category": "actor",
-      "typeName": "eventLoopLag",
-      "methods": [
-        {
-          "name": "start",
-          "request": {
-            "type": "start"
-          },
-          "response": {
-            "success": {
-              "_retval": "number"
-            }
-          }
-        },
-        {
-          "name": "stop",
-          "request": {
-            "type": "stop"
-          },
-          "response": {}
-        }
-      ],
-      "events": {
-        "event-loop-lag": {
-          "type": "event-loop-lag",
-          "time": {
-            "_arg": 0,
-            "type": "number"
-          }
-        }
-      }
-    },
-    "preference": {
-      "category": "actor",
-      "typeName": "preference",
-      "methods": [
-        {
-          "name": "getBoolPref",
-          "request": {
-            "type": "getBoolPref",
-            "value": {
-              "_arg": 0,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "value": {
-              "_retval": "boolean"
-            }
-          }
-        },
-        {
-          "name": "getCharPref",
-          "request": {
-            "type": "getCharPref",
-            "value": {
-              "_arg": 0,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "value": {
-              "_retval": "string"
-            }
-          }
-        },
-        {
-          "name": "getIntPref",
-          "request": {
-            "type": "getIntPref",
-            "value": {
-              "_arg": 0,
-              "type": "primitive"
-            }
-          },
-          "response": {
-            "value": {
-              "_retval": "number"
-            }
-          }
-        },
-        {
-          "name": "getAllPrefs",
-          "request": {
-            "type": "getAllPrefs"
-          },
-          "response": {
-            "value": {
-              "_retval": "json"
-            }
-          }
-        },
-        {
-          "name": "setBoolPref",
-          "request": {
-            "type": "setBoolPref",
-            "name": {
-              "_arg": 0,
-              "type": "primitive"
-            },
-            "value": {
-              "_arg": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "setCharPref",
-          "request": {
-            "type": "setCharPref",
-            "name": {
-              "_arg": 0,
-              "type": "primitive"
-            },
-            "value": {
-              "_arg": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "setIntPref",
-          "request": {
-            "type": "setIntPref",
-            "name": {
-              "_arg": 0,
-              "type": "primitive"
-            },
-            "value": {
-              "_arg": 1,
-              "type": "primitive"
-            }
-          },
-          "response": {}
-        },
-        {
-          "name": "clearUserPref",
-          "request": {
-            "type": "clearUserPref",
-            "name": {
-              "_arg": 0,
-              "type": "primitive"
-            }
-          },
-          "response": {}
-        }
-      ],
-      "events": {}
-    },
-    "device": {
-      "category": "actor",
-      "typeName": "device",
-      "methods": [
-        {
-          "name": "getDescription",
-          "request": {
-            "type": "getDescription"
-          },
-          "response": {
-            "value": {
-              "_retval": "json"
-            }
-          }
-        },
-        {
-          "name": "getWallpaper",
-          "request": {
-            "type": "getWallpaper"
-          },
-          "response": {
-            "value": {
-              "_retval": "longstring"
-            }
-          }
-        },
-        {
-          "name": "screenshotToDataURL",
-          "request": {
-            "type": "screenshotToDataURL"
-          },
-          "response": {
-            "value": {
-              "_retval": "longstring"
-            }
-          }
-        }
-      ],
-      "events": {}
-    }
-  },
-  "from": "root"
-}
-
-},{}],25:[function(_dereq_,module,exports){
-"use strict";
-
-var Class = _dereq_("./class").Class;
-var util = _dereq_("./util");
-var keys = util.keys;
-var values = util.values;
-var pairs = util.pairs;
-var query = util.query;
-var findPath = util.findPath;
-var EventTarget = _dereq_("./event").EventTarget;
-
-var TypeSystem = Class({
-  constructor: function(client) {
-    var types = Object.create(null);
-    var specification = Object.create(null);
-
-    this.specification = specification;
-    this.types = types;
-
-    var typeFor = function typeFor(typeName) {
-      typeName = typeName || "primitive";
-      if (!types[typeName]) {
-        defineType(typeName);
-      }
-
-      return types[typeName];
-    };
-    this.typeFor = typeFor;
-
-    var defineType = function(descriptor) {
-      var type = void(0);
-      if (typeof(descriptor) === "string") {
-        if (descriptor.indexOf(":") > 0)
-          type = makeCompoundType(descriptor);
-        else if (descriptor.indexOf("#") > 0)
-          type = new ActorDetail(descriptor);
-          else if (specification[descriptor])
-            type = makeCategoryType(specification[descriptor]);
-      } else {
-        type = makeCategoryType(descriptor);
-      }
-
-      if (type)
-        types[type.name] = type;
-      else
-        throw TypeError("Invalid type: " + descriptor);
-    };
-    this.defineType = defineType;
-
-
-    var makeCompoundType = function(name) {
-      var index = name.indexOf(":");
-      var baseType = name.slice(0, index);
-      var subType = name.slice(index + 1);
-
-      return baseType === "array" ? new ArrayOf(subType) :
-      baseType === "nullable" ? new Maybe(subType) :
-      null;
-    };
-
-    var makeCategoryType = function(descriptor) {
-      var category = descriptor.category;
-      return category === "dict" ? new Dictionary(descriptor) :
-      category === "actor" ? new Actor(descriptor) :
-      null;
-    };
-
-    var read = function(input, context, typeName) {
-      return typeFor(typeName).read(input, context);
-    }
-    this.read = read;
-
-    var write = function(input, context, typeName) {
-      return typeFor(typeName).write(input);
-    };
-    this.write = write;
-
-
-    var Type = Class({
-      constructor: function() {
-      },
-      get name() {
-        return this.category ? this.category + ":" + this.type :
-        this.type;
-      },
-      read: function(input, context) {
-        throw new TypeError("`Type` subclass must implement `read`");
-      },
-      write: function(input, context) {
-        throw new TypeError("`Type` subclass must implement `write`");
-      }
-    });
-
-    var Primitve = Class({
-      extends: Type,
-      constuctor: function(type) {
-        this.type = type;
-      },
-      read: function(input, context) {
-        return input;
-      },
-      write: function(input, context) {
-        return input;
-      }
-    });
-
-    var Maybe = Class({
-      extends: Type,
-      category: "nullable",
-      constructor: function(type) {
-        this.type = type;
-      },
-      read: function(input, context) {
-        return input === null ? null :
-        input === void(0) ? void(0) :
-        read(input, context, this.type);
-      },
-      write: function(input, context) {
-        return input === null ? null :
-        input === void(0) ? void(0) :
-        write(input, context, this.type);
-      }
-    });
-
-    var ArrayOf = Class({
-      extends: Type,
-      category: "array",
-      constructor: function(type) {
-        this.type = type;
-      },
-      read: function(input, context) {
-        var type = this.type;
-        return input.map(function($) { return read($, context, type) });
-      },
-      write: function(input, context) {
-        var type = this.type;
-        return input.map(function($) { return write($, context, type) });
-      }
-    });
-
-    var makeField = function makeField(name, type) {
-      return {
-        enumerable: true,
-        configurable: true,
-        get: function() {
-          Object.defineProperty(this, name, {
-            configurable: false,
-            value: read(this.state[name], this.context, type)
-          });
-          return this[name];
-        }
-      }
-    };
-
-    var makeFields = function(descriptor) {
-      return pairs(descriptor).reduce(function(fields, pair) {
-        var name = pair[0], type = pair[1];
-        fields[name] = makeField(name, type);
-        return fields;
-      }, {});
-    }
-
-    var DictionaryType = Class({});
-
-    var Dictionary = Class({
-      extends: Type,
-      category: "dict",
-      get name() { return this.type; },
-      constructor: function(descriptor) {
-        this.type = descriptor.typeName;
-        this.types = descriptor.specializations;
-
-        var proto = Object.defineProperties({
-          extends: DictionaryType,
-          constructor: function(state, context) {
-            Object.defineProperties(this, {
-              state: {
-                enumerable: false,
-                writable: true,
-                configurable: true,
-                value: state
-              },
-              context: {
-                enumerable: false,
-                writable: false,
-                configurable: true,
-                value: context
-              }
-            });
-          }
-        }, makeFields(this.types));
-
-        this.class = new Class(proto);
-      },
-      read: function(input, context) {
-        return new this.class(input, context);
-      },
-      write: function(input, context) {
-        var output = {};
-        for (var key in input) {
-          output[key] = write(value, context, types[key]);
-        }
-        return output;
-      }
-    });
-
-    var makeMethods = function(descriptors) {
-      return descriptors.reduce(function(methods, descriptor) {
-        methods[descriptor.name] = {
-          enumerable: true,
-          configurable: true,
-          writable: false,
-          value: makeMethod(descriptor)
-        };
-        return methods;
-      }, {});
-    };
-
-    var makeEvents = function(descriptors) {
-      return pairs(descriptors).reduce(function(events, pair) {
-        var name = pair[0], descriptor = pair[1];
-        var event = new Event(name, descriptor);
-        events[event.eventType] = event;
-        return events;
-      }, Object.create(null));
-    };
-
-    var Actor = Class({
-      extends: Type,
-      category: "actor",
-      get name() { return this.type; },
-      constructor: function(descriptor) {
-        this.type = descriptor.typeName;
-
-        var events = makeEvents(descriptor.events || {});
-        var fields = makeFields(descriptor.fields || {});
-        var methods = makeMethods(descriptor.methods || []);
-
-
-        var proto = {
-          extends: Front,
-          constructor: function() {
-            Front.apply(this, arguments);
-          },
-          events: events
-        };
-        Object.defineProperties(proto, fields);
-        Object.defineProperties(proto, methods);
-
-        this.class = Class(proto);
-      },
-      read: function(input, context, detail) {
-        var state = typeof(input) === "string" ? { actor: input } : input;
-
-        var actor = client.get(state.actor) || new this.class(state, context);
-        actor.form(state, detail, context);
-
-        return actor;
-      },
-      write: function(input, context, detail) {
-        return input.id;
-      }
-    });
-    exports.Actor = Actor;
-
-
-    var ActorDetail = Class({
-      extends: Actor,
-      constructor: function(name) {
-        var parts = name.split("#")
-        this.actorType = parts[0]
-        this.detail = parts[1];
-      },
-      read: function(input, context) {
-        return typeFor(this.actorType).read(input, context, this.detail);
-      },
-      write: function(input, context) {
-        return typeFor(this.actorType).write(input, context, this.detail);
-      }
-    });
-    exports.ActorDetail = ActorDetail;
-
-    var Method = Class({
-      extends: Type,
-      constructor: function(descriptor) {
-        this.type = descriptor.name;
-        this.path = findPath(descriptor.response, "_retval");
-        this.responseType = this.path && query(descriptor.response, this.path)._retval;
-        this.requestType = descriptor.request.type;
-
-        var params = [];
-        for (var key in descriptor.request) {
-          if (key !== "type") {
-            var param = descriptor.request[key];
-            var index = "_arg" in param ? param._arg : param._option;
-            var isParam = param._option === index;
-            var isArgument = param._arg === index;
-            params[index] = {
-              type: param.type,
-              key: key,
-              index: index,
-              isParam: isParam,
-              isArgument: isArgument
-            };
-          }
-        }
-        this.params = params;
-      },
-      read: function(input, context) {
-        return read(query(input, this.path), context, this.responseType);
-      },
-      write: function(input, context) {
-        return this.params.reduce(function(result, param) {
-          result[param.key] = write(input[param.index], context, param.type);
-          return result;
-        }, {type: this.type});
-      }
-    });
-    exports.Method = Method;
-
-    var profiler = function(method, id) {
-      return function() {
-        var start = new Date();
-        return method.apply(this, arguments).then(function(result) {
-          var end = new Date();
-          client.telemetry.add(id, +end - start);
-          return result;
-        });
-      };
-    };
-
-    var destructor = function(method) {
-      return function() {
-        return method.apply(this, arguments).then(function(result) {
-          client.release(this);
-          return result;
-        });
-      };
-    };
-
-    function makeMethod(descriptor) {
-      var type = new Method(descriptor);
-      var method = descriptor.oneway ? makeUnidirecationalMethod(descriptor, type) :
-                   makeBidirectionalMethod(descriptor, type);
-
-      if (descriptor.telemetry)
-        method = profiler(method);
-      if (descriptor.release)
-        method = destructor(method);
-
-      return method;
-    }
-
-    var makeUnidirecationalMethod = function(descriptor, type) {
-      return function() {
-        var packet = type.write(arguments, this);
-        packet.to = this.id;
-        client.send(packet);
-        return Promise.resolve(void(0));
-      };
-    };
-
-    var makeBidirectionalMethod = function(descriptor, type) {
-      return function() {
-        var context = this.context;
-        var packet = type.write(arguments, context);
-        var context = this.context;
-        packet.to = this.id;
-        return client.request(packet).then(function(packet) {
-          return type.read(packet, context);
-        });
-      };
-    };
-
-    var Event = Class({
-      constructor: function(name, descriptor) {
-        this.name = descriptor.type || name;
-        this.eventType = descriptor.type || name;
-        this.types = Object.create(null);
-
-        var types = this.types;
-        for (var key in descriptor) {
-          if (key === "type") {
-            types[key] = "string";
-          } else {
-            types[key] = descriptor[key].type;
-          }
-        }
-      },
-      read: function(input, context) {
-        var output = {};
-        var types = this.types;
-        for (var key in input) {
-          output[key] = read(input[key], context, types[key]);
-        }
-        return output;
-      },
-      write: function(input, context) {
-        var output = {};
-        var types = this.types;
-        for (var key in this.types) {
-          output[key] = write(input[key], context, types[key]);
-        }
-        return output;
-      }
-    });
-
-    var Front = Class({
-      extends: EventTarget,
-      EventTarget: EventTarget,
-      constructor: function(state) {
-        this.EventTarget();
-        Object.defineProperties(this,  {
-          state: {
-            enumerable: false,
-            writable: true,
-            configurable: true,
-            value: state
-          }
-        });
-
-        client.register(this);
-      },
-      get id() {
-        return this.state.actor;
-      },
-      get context() {
-        return this;
-      },
-      form: function(state, detail, context) {
-        if (this.state !== state) {
-          if (detail) {
-            this.state[detail] = state[detail];
-          } else {
-            pairs(state).forEach(function(pair) {
-              var key = pair[0], value = pair[1];
-              this.state[key] = value;
-            }, this);
-          }
-        }
-
-        if (context) {
-          client.supervise(context, this);
-        }
-      },
-      requestTypes: function() {
-        return client.request({
-          to: this.id,
-          type: "requestTypes"
-        }).then(function(packet) {
-          return packet.requestTypes;
-        });
-      }
-    });
-    types.primitive = new Primitve("primitive");
-    types.string = new Primitve("string");
-    types.number = new Primitve("number");
-    types.boolean = new Primitve("boolean");
-    types.json = new Primitve("json");
-    types.array = new Primitve("array");
-  },
-  registerTypes: function(descriptor) {
-    var specification = this.specification;
-    values(descriptor.types).forEach(function(descriptor) {
-      specification[descriptor.typeName] = descriptor;
-    });
-  }
-});
-exports.TypeSystem = TypeSystem;
-
-},{"./class":3,"./event":5,"./util":26}],26:[function(_dereq_,module,exports){
-"use strict";
-
-var keys = Object.keys;
-exports.keys = keys;
-
-// Returns array of values for the given object.
-var values = function(object) {
-  return keys(object).map(function(key) {
-    return object[key]
-  });
-};
-exports.values = values;
-
-// Returns [key, value] pairs for the given object.
-var pairs = function(object) {
-  return keys(object).map(function(key) {
-    return [key, object[key]]
-  });
-};
-exports.pairs = pairs;
-
-
-// Queries an object for the field nested with in it.
-var query = function(object, path) {
-  return path.reduce(function(object, entry) {
-    return object && object[entry]
-  }, object);
-};
-exports.query = query;
-
-var isObject = function(x) {
-  return x && typeof(x) === "object"
-}
-
-var findPath = function(object, key) {
-  var path = void(0);
-  if (object && typeof(object) === "object") {
-    var names = keys(object);
-    if (names.indexOf(key) >= 0) {
-      path = [];
-    } else {
-      var index = 0;
-      var count = names.length;
-      while (index < count && !path){
-        var head = names[index];
-        var tail = findPath(object[head], key);
-        path = tail ? [head].concat(tail) : tail;
-        index = index + 1
-      }
-    }
-  }
-  return path;
-};
-exports.findPath = findPath;
-
-},{}]},{},[1])
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdGVkLmpzIiwic291cmNlcyI6WyIvVXNlcnMvZ296YWxhL1Byb2plY3RzL3ZvbGNhbi9ub2RlX21vZHVsZXMvYnJvd3NlcmlmeS9ub2RlX21vZHVsZXMvYnJvd3Nlci1wYWNrL19wcmVsdWRlLmpzIiwiL1VzZXJzL2dvemFsYS9Qcm9qZWN0cy92b2xjYW4vYnJvd3Nlci9pbmRleC5qcyIsIi9Vc2Vycy9nb3phbGEvUHJvamVjdHMvdm9sY2FuL2Jyb3dzZXIvcHJvbWlzZS5qcyIsIi9Vc2Vycy9nb3phbGEvUHJvamVjdHMvdm9sY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Jlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwic3RyaW5nXCI6IHsgXCJfcmV0dmFsXCI6IFwic3RyaW5nXCIgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImxpc3RUYWJzXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHt9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjogeyBcIl9yZXR2YWxcIjogXCJ0YWJsaXN0XCIgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwicHJvdG9jb2xEZXNjcmlwdGlvblwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7fSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHsgXCJfcmV0dmFsXCI6IFwianNvblwiIH1cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHtcbiAgICAgICAgXCJ0YWJMaXN0Q2hhbmdlZFwiOiB7fVxuICAgICAgfVxuICAgIH0sXG4gICAgXCJ0YWJsaXN0XCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJkaWN0XCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwidGFibGlzdFwiLFxuICAgICAgXCJzcGVjaWFsaXphdGlvbnNcIjoge1xuICAgICAgICBcInNlbGVjdGVkXCI6IFwibnVtYmVyXCIsXG4gICAgICAgIFwidGFic1wiOiBcImFycmF5OnRhYlwiLFxuICAgICAgICBcInVybFwiOiBcInN0cmluZ1wiLFxuICAgICAgICBcImNvbnNvbGVBY3RvclwiOiBcImNvbnNvbGVcIixcbiAgICAgICAgXCJpbnNwZWN0b3JBY3RvclwiOiBcImluc3BlY3RvclwiLFxuICAgICAgICBcInN0eWxlU2hlZXRzQWN0b3JcIjogXCJzdHlsZXNoZWV0c1wiLFxuICAgICAgICBcInN0eWxlRWRpdG9yQWN0b3JcIjogXCJzdHlsZWVkaXR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lbW9yeVwiLFxuICAgICAgICBcImV2ZW50TG9vcExhZ1wiOiBcImV2ZW50TG9vcExhZ1wiLFxuICAgICAgICBcInN0eWxlU2hlZXRzQWN0b3JcIjogXCJzdHlsZXNoZWV0c1wiLFxuICAgICAgICBcInN0eWxlRWRpdG9yQWN0b3JcIjogXCJzdHlsZWVkaXRvclwiLFxuXG4gICAgICAgIFwiY29uc29sZUFjdG9yXCI6IFwiY29uc29sZVwiLFxuICAgICAgICBcInRyYWNlQWN0b3JcIjogXCJ0cmFjZVwiXG4gICAgICB9LFxuICAgICAgXCJtZXRob2RzXCI6IFtcbiAgICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJhdHRhY2hcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge30sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7IFwiX3JldHZhbFwiOiBcImpzb25cIiB9XG4gICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge1xuICAgICAgICBcInRhYk5hdmlnYXRlZFwiOiB7XG4gICAgICAgICAgIFwidHlwZU5hbWVcIjogXCJ0YWJOYXZpZ2F0ZWRcIlxuICAgICAgICB9XG4gICAgICB9XG4gICAgfSxcbiAgICBcImNvbnNvbGVcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwiY29uc29sZVwiLFxuICAgICAgXCJtZXRob2RzXCI6IFtcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImV2YWx1YXRlSlNcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0ZXh0XCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJ1cmxcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwic3RyaW5nXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImJpbmRPYmplY3RBY3RvclwiOiB7XG4gICAgICAgICAgICAgIFwiX29wdGlvblwiOiAyLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJudWxsYWJsZTpzdHJpbmdcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwiZnJhbWVBY3RvclwiOiB7XG4gICAgICAgICAgICAgIFwiX29wdGlvblwiOiAyLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJudWxsYWJsZTpzdHJpbmdcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwic2VsZWN0ZWROb2RlQWN0b3JcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMixcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwibnVsbGFibGU6c3RyaW5nXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiZXZhbHVhdGVqc3Jlc3BvbnNlXCJcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJldmFsdWF0ZWpzcmVzcG9uc2VcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImRpY3RcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJldmFsdWF0ZWpzcmVzcG9uc2VcIixcbiAgICAgIFwic3BlY2lhbGl6YXRpb25zXCI6IHtcbiAgICAgICAgXCJyZXN1bHRcIjogXCJvYmplY3RcIixcbiAgICAgICAgXCJleGNlcHRpb25cIjogXCJvYmplY3RcIixcbiAgICAgICAgXCJleGNlcHRpb25NZXNzYWdlXCI6IFwic3RyaW5nXCIsXG4gICAgICAgIFwiaW5wdXRcIjogXCJzdHJpbmdcIlxuICAgICAgfVxuICAgIH0sXG4gICAgXCJvYmplY3RcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwib2JqZWN0XCIsXG4gICAgICBcIm1ldGhvZHNcIjogW1xuICAgICAgICAge1xuICAgICAgICAgICBcIm5hbWVcIjogXCJwcm9wZXJ0eVwiLFxuICAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgICBcIm5hbWVcIjoge1xuICAgICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgfSxcbiAgICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICAgIFwiZGVzY3JpcHRvclwiOiB7XG4gICAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwianNvblwiXG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgfVxuICAgICAgICAgfVxuICAgICAgXVxuICAgIH1cbiAgfVxufVxuIiwibW9kdWxlLmV4cG9ydHM9e1xuICBcInR5cGVzXCI6IHtcbiAgICBcImxvbmdzdHJhY3RvclwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJsb25nc3RyYWN0b3JcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJzdWJzdHJpbmdcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwic3Vic3RyaW5nXCIsXG4gICAgICAgICAgICBcInN0YXJ0XCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJlbmRcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJzdWJzdHJpbmdcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJwcmltaXRpdmVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInJlbGVhc2VcIixcbiAgICAgICAgICBcInJlbGVhc2VcIjogdHJ1ZSxcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwicmVsZWFzZVwiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJzdHlsZXNoZWV0XCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJhY3RvclwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcInN0eWxlc2hlZXRcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJ0b2dnbGVEaXNhYmxlZFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJ0b2dnbGVEaXNhYmxlZFwiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwiZGlzYWJsZWRcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJib29sZWFuXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRUZXh0XCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldFRleHRcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInRleHRcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJsb25nc3RyaW5nXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRPcmlnaW5hbFNvdXJjZXNcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0T3JpZ2luYWxTb3VyY2VzXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJvcmlnaW5hbFNvdXJjZXNcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJudWxsYWJsZTphcnJheTpvcmlnaW5hbHNvdXJjZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZ2V0T3JpZ2luYWxMb2NhdGlvblwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXRPcmlnaW5hbExvY2F0aW9uXCIsXG4gICAgICAgICAgICBcImxpbmVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwibnVtYmVyXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImNvbHVtblwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJudW1iZXJcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJvcmlnaW5hbGxvY2F0aW9ucmVzcG9uc2VcIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInVwZGF0ZVwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJ1cGRhdGVcIixcbiAgICAgICAgICAgIFwidGV4dFwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwidHJhbnNpdGlvblwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJib29sZWFuXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHtcbiAgICAgICAgXCJwcm9wZXJ0eS1jaGFuZ2VcIjoge1xuICAgICAgICAgIFwidHlwZVwiOiBcInByb3BlcnR5Q2hhbmdlXCIsXG4gICAgICAgICAgXCJwcm9wZXJ0eVwiOiB7XG4gICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInZhbHVlXCI6IHtcbiAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgXCJ0eXBlXCI6IFwianNvblwiXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcInN0eWxlLWFwcGxpZWRcIjoge1xuICAgICAgICAgIFwidHlwZVwiOiBcInN0eWxlQXBwbGllZFwiXG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9LFxuICAgIFwib3JpZ2luYWxzb3VyY2VcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwib3JpZ2luYWxzb3VyY2VcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRUZXh0XCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldFRleHRcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInRleHRcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJsb25nc3RyaW5nXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJzdHlsZXNoZWV0c1wiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJzdHlsZXNoZWV0c1wiLFxuICAgICAgXCJtZXRob2RzXCI6IFtcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldFN0eWxlU2hlZXRzXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldFN0eWxlU2hlZXRzXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJzdHlsZVNoZWV0c1wiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImFycmF5OnN0eWxlc2hlZXRcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImFkZFN0eWxlU2hlZXRcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYWRkU3R5bGVTaGVldFwiLFxuICAgICAgICAgICAgXCJ0ZXh0XCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwic3R5bGVTaGVldFwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcInN0eWxlc2hlZXRcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHt9XG4gICAgfSxcbiAgICBcIm9yaWdpbmFsbG9jYXRpb25yZXNwb25zZVwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiZGljdFwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcIm9yaWdpbmFsbG9jYXRpb25yZXNwb25zZVwiLFxuICAgICAgXCJzcGVjaWFsaXphdGlvbnNcIjoge1xuICAgICAgICBcInNvdXJjZVwiOiBcInN0cmluZ1wiLFxuICAgICAgICBcImxpbmVcIjogXCJudW1iZXJcIixcbiAgICAgICAgXCJjb2x1bW5cIjogXCJudW1iZXJcIlxuICAgICAgfVxuICAgIH0sXG4gICAgXCJkb21ub2RlXCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJhY3RvclwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcImRvbW5vZGVcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXROb2RlVmFsdWVcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0Tm9kZVZhbHVlXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJ2YWx1ZVwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImxvbmdzdHJpbmdcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInNldE5vZGVWYWx1ZVwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJzZXROb2RlVmFsdWVcIixcbiAgICAgICAgICAgIFwidmFsdWVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldEltYWdlRGF0YVwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXRJbWFnZURhdGFcIixcbiAgICAgICAgICAgIFwibWF4RGltXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcIm51bGxhYmxlOm51bWJlclwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImltYWdlRGF0YVwiXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwibW9kaWZ5QXR0cmlidXRlc1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJtb2RpZnlBdHRyaWJ1dGVzXCIsXG4gICAgICAgICAgICBcIm1vZGlmaWNhdGlvbnNcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYXJyYXk6anNvblwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJhcHBsaWVkc3R5bGVcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImRpY3RcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJhcHBsaWVkc3R5bGVcIixcbiAgICAgIFwic3BlY2lhbGl6YXRpb25zXCI6IHtcbiAgICAgICAgXCJydWxlXCI6IFwiZG9tc3R5bGVydWxlI2FjdG9yaWRcIixcbiAgICAgICAgXCJpbmhlcml0ZWRcIjogXCJudWxsYWJsZTpkb21ub2RlI2FjdG9yaWRcIlxuICAgICAgfVxuICAgIH0sXG4gICAgXCJtYXRjaGVkc2VsZWN0b3JcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImRpY3RcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJtYXRjaGVkc2VsZWN0b3JcIixcbiAgICAgIFwic3BlY2lhbGl6YXRpb25zXCI6IHtcbiAgICAgICAgXCJydWxlXCI6IFwiZG9tc3R5bGVydWxlI2FjdG9yaWRcIixcbiAgICAgICAgXCJzZWxlY3RvclwiOiBcInN0cmluZ1wiLFxuICAgICAgICBcInZhbHVlXCI6IFwic3RyaW5nXCIsXG4gICAgICAgIFwic3RhdHVzXCI6IFwibnVtYmVyXCJcbiAgICAgIH1cbiAgICB9LFxuICAgIFwibWF0Y2hlZHNlbGV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yZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIm1hcmtNYXRjaGVkXCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImJvb2xlYW5cIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwib25seU1hdGNoZWRcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYm9vbGVhblwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJmaWx0ZXJcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwic3RyaW5nXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJjb21wdXRlZFwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImpzb25cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldE1hdGNoZWRTZWxlY3RvcnNcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0TWF0Y2hlZFNlbGVjdG9yc1wiLFxuICAgICAgICAgICAgXCJub2RlXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImRvbW5vZGVcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwicHJvcGVydHlcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwic3RyaW5nXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImZpbHRlclwiOiB7XG4gICAgICAgICAgICAgIFwiX29wdGlvblwiOiAyLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJtYXRjaGVkc2VsZWN0b3JyZXNwb25zZVwiXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZ2V0QXBwbGllZFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXRBcHBsaWVkXCIsXG4gICAgICAgICAgICBcIm5vZGVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZG9tbm9kZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJpbmhlcml0ZWRcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYm9vbGVhblwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJtYXRjaGVkU2VsZWN0b3JzXCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImJvb2xlYW5cIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwiZmlsdGVyXCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImFwcGxpZWRTdHlsZXNSZXR1cm5cIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldExheW91dFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXRMYXlvdXRcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImF1dG9NYXJnaW5zXCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImJvb2xlYW5cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJqc29uXCJcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJkb21zdHlsZXJ1bGVcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwiZG9tc3R5bGVydWxlXCIsXG4gICAgICBcIm1ldGhvZHNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwibW9kaWZ5UHJvcGVydGllc1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJtb2RpZnlQcm9wZXJ0aWVzXCIsXG4gICAgICAgICAgICBcIm1vZGlmaWNhdGlvbnNcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYXJyYXk6anNvblwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwicnVsZVwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImRvbXN0eWxlcnVsZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge31cbiAgICB9LFxuICAgIFwiaGlnaGxpZ2h0ZXJcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwiaGlnaGxpZ2h0ZXJcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJzaG93Qm94TW9kZWxcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwic2hvd0JveE1vZGVsXCIsXG4gICAgICAgICAgICBcIm5vZGVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZG9tbm9kZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJyZWdpb25cIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImhpZGVCb3hNb2RlbFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJoaWRlQm94TW9kZWxcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwicGlja1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJwaWNrXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImNhbmNlbFBpY2tcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiY2FuY2VsUGlja1wiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJpbWFnZURhdGFcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImRpY3RcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJpbWFnZURhdGFcIixcbiAgICAgIFwic3BlY2lhbGl6YXRpb25zXCI6IHtcbiAgICAgICAgXCJkYXRhXCI6IFwibnVsbGFibGU6bG9uZ3N0cmluZ1wiLFxuICAgICAgICBcInNpemVcIjogXCJqc29uXCJcbiAgICAgIH1cbiAgICB9LFxuICAgIFwiZGlzY29ubmVjdGVkTm9kZVwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiZGljdFwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcImRpc2Nvbm5lY3RlZE5vZGVcIixcbiAgICAgIFwic3BlY2lhbGl6YXRpb25zXCI6IHtcbiAgICAgICAgXCJub2RlXCI6IFwiZG9tbm9kZVwiLFxuICAgICAgICBcIm5ld1BhcmVudHNcIjogXCJhcnJheTpkb21ub2RlXCJcbiAgICAgIH1cbiAgICB9LFxuICAgIFwiZGlzY29ubmVjdGVkTm9kZUFycmF5XCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJkaWN0XCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwiZGlzY29ubmVjdGVkTm9kZUFycmF5XCIsXG4gICAgICBcInNwZWNpYWxpemF0aW9uc1wiOiB7XG4gICAgICAgIFwibm9kZXNcIjogXCJhcnJheTpkb21ub2RlXCIsXG4gICAgICAgIFwibmV3UGFyZW50c1wiOiBcImFycmF5OmRvbW5vZGVcIlxuICAgICAgfVxuICAgIH0sXG4gICAgXCJkb21tdXRhdGlvblwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiZGljdFwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcImRvbW11dGF0aW9uXCIsXG4gICAgICBcInNwZWNpYWxpemF0aW9uc1wiOiB7fVxuICAgIH0sXG4gICAgXCJkb21ub2RlbGlzdFwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJkb21ub2RlbGlzdFwiLFxuICAgICAgXCJtZXRob2RzXCI6IFtcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcIml0ZW1cIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiaXRlbVwiLFxuICAgICAgICAgICAgXCJpdGVtXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImRpc2Nvbm5lY3RlZE5vZGVcIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcIml0ZW1zXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcIml0ZW1zXCIsXG4gICAgICAgICAgICBcInN0YXJ0XCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcIm51bGxhYmxlOm51bWJlclwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJlbmRcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwibnVsbGFibGU6bnVtYmVyXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiZGlzY29ubmVjdGVkTm9kZUFycmF5XCJcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJyZWxlYXNlXCIsXG4gICAgICAgICAgXCJyZWxlYXNlXCI6IHRydWUsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInJlbGVhc2VcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge31cbiAgICB9LFxuICAgIFwiZG9tdHJhdmVyc2FsYXJyYXlcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImRpY3RcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJkb210cmF2ZXJzYWxhcnJheVwiLFxuICAgICAgXCJzcGVjaWFsaXphdGlvbnNcIjoge1xuICAgICAgICBcIm5vZGVzXCI6IFwiYXJyYXk6ZG9tbm9kZVwiXG4gICAgICB9XG4gICAgfSxcbiAgICBcImRvbXdhbGtlclwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJkb213YWxrZXJcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJyZWxlYXNlXCIsXG4gICAgICAgICAgXCJyZWxlYXNlXCI6IHRydWUsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInJlbGVhc2VcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwicGlja1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJwaWNrXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiZGlzY29ubmVjdGVkTm9kZVwiXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiY2FuY2VsUGlja1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJjYW5jZWxQaWNrXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImhpZ2hsaWdodFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJoaWdobGlnaHRcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJudWxsYWJsZTpkb21ub2RlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImRvY3VtZW50XCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImRvY3VtZW50XCIsXG4gICAgICAgICAgICBcIm5vZGVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwibnVsbGFibGU6ZG9tbm9kZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImRvbW5vZGVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImRvY3VtZW50RWxlbWVudFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJkb2N1bWVudEVsZW1lbnRcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJudWxsYWJsZTpkb21ub2RlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJub2RlXCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiZG9tbm9kZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwicGFyZW50c1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJwYXJlbnRzXCIsXG4gICAgICAgICAgICBcIm5vZGVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZG9tbm9kZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJzYW1lRG9jdW1lbnRcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJub2Rlc1wiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImFycmF5OmRvbW5vZGVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInJldGFpbk5vZGVcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwicmV0YWluTm9kZVwiLFxuICAgICAgICAgICAgXCJub2RlXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImRvbW5vZGVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwidW5yZXRhaW5Ob2RlXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInVucmV0YWluTm9kZVwiLFxuICAgICAgICAgICAgXCJub2RlXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImRvbW5vZGVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwicmVsZWFzZU5vZGVcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwicmVsZWFzZU5vZGVcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImZvcmNlXCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJjaGlsZHJlblwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJjaGlsZHJlblwiLFxuICAgICAgICAgICAgXCJub2RlXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImRvbW5vZGVcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwibWF4Tm9kZXNcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImNlbnRlclwiOiB7XG4gICAgICAgICAgICAgIFwiX29wdGlvblwiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInN0YXJ0XCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImRvbW5vZGVcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwid2hhdFRvU2hvd1wiOiB7XG4gICAgICAgICAgICAgIFwiX29wdGlvblwiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJwcmltaXRpdmVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJkb210cmF2ZXJzYWxhcnJheVwiXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwic2libGluZ3NcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwic2libGluZ3NcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIm1heE5vZGVzXCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJjZW50ZXJcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZG9tbm9kZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJzdGFydFwiOiB7XG4gICAgICAgICAgICAgIFwiX29wdGlvblwiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIndoYXRUb1Nob3dcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiZG9tdHJhdmVyc2FsYXJyYXlcIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcIm5leHRTaWJsaW5nXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcIm5leHRTaWJsaW5nXCIsXG4gICAgICAgICAgICBcIm5vZGVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZG9tbm9kZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJ3aGF0VG9TaG93XCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcIm51bGxhYmxlOmRvbW5vZGVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInByZXZpb3VzU2libGluZ1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJwcmV2aW91c1NpYmxpbmdcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIndoYXRUb1Nob3dcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJub2RlXCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwibnVsbGFibGU6ZG9tbm9kZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwicXVlcnlTZWxlY3RvclwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJxdWVyeVNlbGVjdG9yXCIsXG4gICAgICAgICAgICBcIm5vZGVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZG9tbm9kZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJzZWxlY3RvclwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJwcmltaXRpdmVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJkaXNjb25uZWN0ZWROb2RlXCJcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJxdWVyeVNlbGVjdG9yQWxsXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInF1ZXJ5U2VsZWN0b3JBbGxcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInNlbGVjdG9yXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwibGlzdFwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImRvbW5vZGVsaXN0XCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRTdWdnZXN0aW9uc0ZvclF1ZXJ5XCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldFN1Z2dlc3Rpb25zRm9yUXVlcnlcIixcbiAgICAgICAgICAgIFwicXVlcnlcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImNvbXBsZXRpbmdcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInNlbGVjdG9yU3RhdGVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMixcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJsaXN0XCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiYXJyYXk6YXJyYXk6c3RyaW5nXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJhZGRQc2V1ZG9DbGFzc0xvY2tcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYWRkUHNldWRvQ2xhc3NMb2NrXCIsXG4gICAgICAgICAgICBcIm5vZGVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZG9tbm9kZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJwc2V1ZG9DbGFzc1wiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJwcmltaXRpdmVcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwicGFyZW50c1wiOiB7XG4gICAgICAgICAgICAgIFwiX29wdGlvblwiOiAyLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJwcmltaXRpdmVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiaGlkZU5vZGVcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiaGlkZU5vZGVcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInVuaGlkZU5vZGVcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwidW5oaWRlTm9kZVwiLFxuICAgICAgICAgICAgXCJub2RlXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImRvbW5vZGVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwicmVtb3ZlUHNldWRvQ2xhc3NMb2NrXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInJlbW92ZVBzZXVkb0NsYXNzTG9ja1wiLFxuICAgICAgICAgICAgXCJub2RlXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImRvbW5vZGVcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwicHNldWRvQ2xhc3NcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInBhcmVudHNcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMixcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImNsZWFyUHNldWRvQ2xhc3NMb2Nrc1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJjbGVhclBzZXVkb0NsYXNzTG9ja3NcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJudWxsYWJsZTpkb21ub2RlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImlubmVySFRNTFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJpbm5lckhUTUxcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJ2YWx1ZVwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImxvbmdzdHJpbmdcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcIm91dGVySFRNTFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJvdXRlckhUTUxcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJ2YWx1ZVwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImxvbmdzdHJpbmdcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInNldE91dGVySFRNTFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJzZXRPdXRlckhUTUxcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInZhbHVlXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJyZW1vdmVOb2RlXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInJlbW92ZU5vZGVcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJuZXh0U2libGluZ1wiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcIm51bGxhYmxlOmRvbW5vZGVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImluc2VydEJlZm9yZVwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJpbnNlcnRCZWZvcmVcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInBhcmVudFwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInNpYmxpbmdcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMixcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwibnVsbGFibGU6ZG9tbm9kZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRNdXRhdGlvbnNcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0TXV0YXRpb25zXCIsXG4gICAgICAgICAgICBcImNsZWFudXBcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJtdXRhdGlvbnNcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJhcnJheTpkb21tdXRhdGlvblwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiaXNJbkRPTVRyZWVcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiaXNJbkRPTVRyZWVcIixcbiAgICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJkb21ub2RlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJhdHRhY2hlZFwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImJvb2xlYW5cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldE5vZGVBY3RvckZyb21PYmplY3RBY3RvclwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXROb2RlQWN0b3JGcm9tT2JqZWN0QWN0b3JcIixcbiAgICAgICAgICAgIFwib2JqZWN0QWN0b3JJRFwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIm5vZGVGcm9udFwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcIm51bGxhYmxlOmRpc2Nvbm5lY3RlZE5vZGVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHtcbiAgICAgICAgXCJuZXctbXV0YXRpb25zXCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJuZXdNdXRhdGlvbnNcIlxuICAgICAgICB9LFxuICAgICAgICBcInBpY2tlci1ub2RlLXBpY2tlZFwiOiB7XG4gICAgICAgICAgXCJ0eXBlXCI6IFwicGlja2VyTm9kZVBpY2tlZFwiLFxuICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImRpc2Nvbm5lY3RlZE5vZGVcIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJwaWNrZXItbm9kZS1ob3ZlcmVkXCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJwaWNrZXJOb2RlSG92ZXJlZFwiLFxuICAgICAgICAgIFwibm9kZVwiOiB7XG4gICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImRpc2Nvbm5lY3RlZE5vZGVcIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJoaWdobGlnaHRlci1yZWFkeVwiOiB7XG4gICAgICAgICAgXCJ0eXBlXCI6IFwiaGlnaGxpZ2h0ZXItcmVhZHlcIlxuICAgICAgICB9LFxuICAgICAgICBcImhpZ2hsaWdodGVyLWhpZGVcIjoge1xuICAgICAgICAgIFwidHlwZVwiOiBcImhpZ2hsaWdodGVyLWhpZGVcIlxuICAgICAgICB9XG4gICAgICB9XG4gICAgfSxcbiAgICBcImluc3BlY3RvclwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJpbnNwZWN0b3JcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRXYWxrZXJcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0V2Fsa2VyXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJ3YWxrZXJcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJkb213YWxrZXJcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldFBhZ2VTdHlsZVwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXRQYWdlU3R5bGVcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInBhZ2VTdHlsZVwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcInBhZ2VzdHlsZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZ2V0SGlnaGxpZ2h0ZXJcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0SGlnaGxpZ2h0ZXJcIixcbiAgICAgICAgICAgIFwiYXV0b2hpZGVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYm9vbGVhblwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwiaGlnaGxpZ3RlclwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImhpZ2hsaWdodGVyXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRJbWFnZURhdGFGcm9tVVJMXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldEltYWdlRGF0YUZyb21VUkxcIixcbiAgICAgICAgICAgIFwidXJsXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJtYXhEaW1cIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwibnVsbGFibGU6bnVtYmVyXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiaW1hZ2VEYXRhXCJcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJjYWxsLXN0YWNrLWl0ZW1cIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImRpY3RcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJjYWxsLXN0YWNrLWl0ZW1cIixcbiAgICAgIFwic3BlY2lhbGl6YXRpb25zXCI6IHtcbiAgICAgICAgXCJuYW1lXCI6IFwic3RyaW5nXCIsXG4gICAgICAgIFwiZmlsZVwiOiBcInN0cmluZ1wiLFxuICAgICAgICBcImxpbmVcIjogXCJudW1iZXJcIlxuICAgICAgfVxuICAgIH0sXG4gICAgXCJjYWxsLWRldGFpbHNcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImRpY3RcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJjYWxsLWRldGFpbHNcIixcbiAgICAgIFwic3BlY2lhbGl6YXRpb25zXCI6IHtcbiAgICAgICAgXCJ0eXBlXCI6IFwibnVtYmVyXCIsXG4gICAgICAgIFwibmFtZVwiOiBcInN0cmluZ1wiLFxuICAgICAgICBcInN0YWNrXCI6IFwiYXJyYXk6Y2FsbC1zdGFjay1pdGVtXCJcbiAgICAgIH1cbiAgICB9LFxuICAgIFwiZnVuY3Rpb24tY2FsbFwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJmdW5jdGlvbi1jYWxsXCIsXG4gICAgICBcIm1ldGhvZHNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZ2V0RGV0YWlsc1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXREZXRhaWxzXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJpbmZvXCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiY2FsbC1kZXRhaWxzXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJjYWxsLXdhdGNoZXJcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwiY2FsbC13YXRjaGVyXCIsXG4gICAgICBcIm1ldGhvZHNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwic2V0dXBcIixcbiAgICAgICAgICBcIm9uZXdheVwiOiB0cnVlLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJzZXR1cFwiLFxuICAgICAgICAgICAgXCJ0cmFjZWRHbG9iYWxzXCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcIm51bGxhYmxlOmFycmF5OnN0cmluZ1wiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJ0cmFjZWRGdW5jdGlvbnNcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwibnVsbGFibGU6YXJyYXk6c3RyaW5nXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInN0YXJ0UmVjb3JkaW5nXCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImJvb2xlYW5cIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwicGVyZm9ybVJlbG9hZFwiOiB7XG4gICAgICAgICAgICAgIFwiX29wdGlvblwiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJib29sZWFuXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImZpbmFsaXplXCIsXG4gICAgICAgICAgXCJvbmV3YXlcIjogdHJ1ZSxcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZmluYWxpemVcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiaXNSZWNvcmRpbmdcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiaXNSZWNvcmRpbmdcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJib29sZWFuXCJcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJyZXN1bWVSZWNvcmRpbmdcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwicmVzdW1lUmVjb3JkaW5nXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInBhdXNlUmVjb3JkaW5nXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInBhdXNlUmVjb3JkaW5nXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJjYWxsc1wiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImFycmF5OmZ1bmN0aW9uLWNhbGxcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImVyYXNlUmVjb3JkaW5nXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImVyYXNlUmVjb3JkaW5nXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHt9XG4gICAgfSxcbiAgICBcInNuYXBzaG90LWltYWdlXCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJkaWN0XCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwic25hcHNob3QtaW1hZ2VcIixcbiAgICAgIFwic3BlY2lhbGl6YXRpb25zXCI6IHtcbiAgICAgICAgXCJpbmRleFwiOiBcIm51bWJlclwiLFxuICAgICAgICBcIndpZHRoXCI6IFwibnVtYmVyXCIsXG4gICAgICAgIFwiaGVpZ2h0XCI6IFwibnVtYmVyXCIsXG4gICAgICAgIFwiZmxpcHBlZFwiOiBcImJvb2xlYW5cIixcbiAgICAgICAgXCJwaXhlbHNcIjogXCJ1aW50MzItYXJyYXlcIlxuICAgICAgfVxuICAgIH0sXG4gICAgXCJzbmFwc2hvdC1vdmVydmlld1wiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiZGljdFwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcInNuYXBzaG90LW92ZXJ2aWV3XCIsXG4gICAgICBcInNwZWNpYWxpemF0aW9uc1wiOiB7XG4gICAgICAgIFwiY2FsbHNcIjogXCJhcnJheTpmdW5jdGlvbi1jYWxsXCIsXG4gICAgICAgIFwidGh1bWJuYWlsc1wiOiBcImFycmF5OnNuYXBzaG90LWltYWdlXCIsXG4gICAgICAgIFwic2NyZWVuc2hvdFwiOiBcInNuYXBzaG90LWltYWdlXCJcbiAgICAgIH1cbiAgICB9LFxuICAgIFwiZnJhbWUtc25hcHNob3RcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwiZnJhbWUtc25hcHNob3RcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRPdmVydmlld1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXRPdmVydmlld1wiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwib3ZlcnZpZXdcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJzbmFwc2hvdC1vdmVydmlld1wiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZ2VuZXJhdGVTY3JlZW5zaG90Rm9yXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdlbmVyYXRlU2NyZWVuc2hvdEZvclwiLFxuICAgICAgICAgICAgXCJjYWxsXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImZ1bmN0aW9uLWNhbGxcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInNjcmVlbnNob3RcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJzbmFwc2hvdC1pbWFnZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge31cbiAgICB9LFxuICAgIFwiY2FudmFzXCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJhY3RvclwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcImNhbnZhc1wiLFxuICAgICAgXCJtZXRob2RzXCI6IFtcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInNldHVwXCIsXG4gICAgICAgICAgXCJvbmV3YXlcIjogdHJ1ZSxcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwic2V0dXBcIixcbiAgICAgICAgICAgIFwicmVsb2FkXCI6IHtcbiAgICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImJvb2xlYW5cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZmluYWxpemVcIixcbiAgICAgICAgICBcIm9uZXdheVwiOiB0cnVlLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJmaW5hbGl6ZVwiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJpc0luaXRpYWxpemVkXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImlzSW5pdGlhbGl6ZWRcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcImluaXRpYWxpemVkXCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiYm9vbGVhblwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwicmVjb3JkQW5pbWF0aW9uRnJhbWVcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwicmVjb3JkQW5pbWF0aW9uRnJhbWVcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInNuYXBzaG90XCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiZnJhbWUtc25hcHNob3RcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHt9XG4gICAgfSxcbiAgICBcImdsLXNoYWRlclwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJnbC1zaGFkZXJcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRUZXh0XCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldFRleHRcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInRleHRcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImNvbXBpbGVcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiY29tcGlsZVwiLFxuICAgICAgICAgICAgXCJ0ZXh0XCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwiZXJyb3JcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJudWxsYWJsZTpqc29uXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJnbC1wcm9ncmFtXCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJhY3RvclwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcImdsLXByb2dyYW1cIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRWZXJ0ZXhTaGFkZXJcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0VmVydGV4U2hhZGVyXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJzaGFkZXJcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJnbC1zaGFkZXJcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldEZyYWdtZW50U2hhZGVyXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldEZyYWdtZW50U2hhZGVyXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJzaGFkZXJcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJnbC1zaGFkZXJcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImhpZ2hsaWdodFwiLFxuICAgICAgICAgIFwib25ld2F5XCI6IHRydWUsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImhpZ2hsaWdodFwiLFxuICAgICAgICAgICAgXCJ0aW50XCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcImFycmF5Om51bWJlclwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJ1bmhpZ2hsaWdodFwiLFxuICAgICAgICAgIFwib25ld2F5XCI6IHRydWUsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInVuaGlnaGxpZ2h0XCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImJsYWNrYm94XCIsXG4gICAgICAgICAgXCJvbmV3YXlcIjogdHJ1ZSxcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYmxhY2tib3hcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwidW5ibGFja2JveFwiLFxuICAgICAgICAgIFwib25ld2F5XCI6IHRydWUsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInVuYmxhY2tib3hcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge31cbiAgICB9LFxuICAgIFwid2ViZ2xcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwid2ViZ2xcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJzZXR1cFwiLFxuICAgICAgICAgIFwib25ld2F5XCI6IHRydWUsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInNldHVwXCIsXG4gICAgICAgICAgICBcInJlbG9hZFwiOiB7XG4gICAgICAgICAgICAgIFwiX29wdGlvblwiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJib29sZWFuXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImZpbmFsaXplXCIsXG4gICAgICAgICAgXCJvbmV3YXlcIjogdHJ1ZSxcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZmluYWxpemVcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZ2V0UHJvZ3JhbXNcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0UHJvZ3JhbXNcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInByb2dyYW1zXCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwiYXJyYXk6Z2wtcHJvZ3JhbVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge1xuICAgICAgICBcInByb2dyYW0tbGlua2VkXCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJwcm9ncmFtTGlua2VkXCIsXG4gICAgICAgICAgXCJwcm9ncmFtXCI6IHtcbiAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2wtcHJvZ3JhbVwiXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfSxcbiAgICBcImF1ZGlvbm9kZVwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJhdWRpb25vZGVcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRUeXBlXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldFR5cGVcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImlzU291cmNlXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImlzU291cmNlXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJzb3VyY2VcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJib29sZWFuXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJzZXRQYXJhbVwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJzZXRQYXJhbVwiLFxuICAgICAgICAgICAgXCJwYXJhbVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwidmFsdWVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwibnVsbGFibGU6cHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJlcnJvclwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcIm51bGxhYmxlOmpzb25cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldFBhcmFtXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldFBhcmFtXCIsXG4gICAgICAgICAgICBcInBhcmFtXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwidGV4dFwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcIm51bGxhYmxlOnByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZ2V0UGFyYW1GbGFnc1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXRQYXJhbUZsYWdzXCIsXG4gICAgICAgICAgICBcInBhcmFtXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwiZmxhZ3NcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJudWxsYWJsZTpwcmltaXRpdmVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldFBhcmFtc1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXRQYXJhbXNcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInBhcmFtc1wiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImpzb25cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHt9XG4gICAgfSxcbiAgICBcIndlYmF1ZGlvXCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJhY3RvclwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcIndlYmF1ZGlvXCIsXG4gICAgICBcIm1ldGhvZHNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwic2V0dXBcIixcbiAgICAgICAgICBcIm9uZXdheVwiOiB0cnVlLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJzZXR1cFwiLFxuICAgICAgICAgICAgXCJyZWxvYWRcIjoge1xuICAgICAgICAgICAgICBcIl9vcHRpb25cIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYm9vbGVhblwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJmaW5hbGl6ZVwiLFxuICAgICAgICAgIFwib25ld2F5XCI6IHRydWUsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImZpbmFsaXplXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHtcbiAgICAgICAgXCJzdGFydC1jb250ZXh0XCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJzdGFydENvbnRleHRcIlxuICAgICAgICB9LFxuICAgICAgICBcImNvbm5lY3Qtbm9kZVwiOiB7XG4gICAgICAgICAgXCJ0eXBlXCI6IFwiY29ubmVjdE5vZGVcIixcbiAgICAgICAgICBcInNvdXJjZVwiOiB7XG4gICAgICAgICAgICBcIl9vcHRpb25cIjogMCxcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImF1ZGlvbm9kZVwiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcImRlc3RcIjoge1xuICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDAsXG4gICAgICAgICAgICBcInR5cGVcIjogXCJhdWRpb25vZGVcIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkaXNjb25uZWN0LW5vZGVcIjoge1xuICAgICAgICAgIFwidHlwZVwiOiBcImRpc2Nvbm5lY3ROb2RlXCIsXG4gICAgICAgICAgXCJzb3VyY2VcIjoge1xuICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICBcInR5cGVcIjogXCJhdWRpb25vZGVcIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJjb25uZWN0LXBhcmFtXCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJjb25uZWN0UGFyYW1cIixcbiAgICAgICAgICBcInNvdXJjZVwiOiB7XG4gICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImF1ZGlvbm9kZVwiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInBhcmFtXCI6IHtcbiAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgXCJ0eXBlXCI6IFwic3RyaW5nXCJcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIFwiY2hhbmdlLXBhcmFtXCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJjaGFuZ2VQYXJhbVwiLFxuICAgICAgICAgIFwic291cmNlXCI6IHtcbiAgICAgICAgICAgIFwiX29wdGlvblwiOiAwLFxuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYXVkaW9ub2RlXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicGFyYW1cIjoge1xuICAgICAgICAgICAgXCJfb3B0aW9uXCI6IDAsXG4gICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJ2YWx1ZVwiOiB7XG4gICAgICAgICAgICBcIl9vcHRpb25cIjogMCxcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcImNyZWF0ZS1ub2RlXCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJjcmVhdGVOb2RlXCIsXG4gICAgICAgICAgXCJzb3VyY2VcIjoge1xuICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICBcInR5cGVcIjogXCJhdWRpb25vZGVcIlxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH0sXG4gICAgXCJvbGQtc3R5bGVzaGVldFwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJvbGQtc3R5bGVzaGVldFwiLFxuICAgICAgXCJtZXRob2RzXCI6IFtcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInRvZ2dsZURpc2FibGVkXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInRvZ2dsZURpc2FibGVkXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJkaXNhYmxlZFwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImJvb2xlYW5cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImZldGNoU291cmNlXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImZldGNoU291cmNlXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInVwZGF0ZVwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJ1cGRhdGVcIixcbiAgICAgICAgICAgIFwidGV4dFwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwidHJhbnNpdGlvblwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJib29sZWFuXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHtcbiAgICAgICAgXCJwcm9wZXJ0eS1jaGFuZ2VcIjoge1xuICAgICAgICAgIFwidHlwZVwiOiBcInByb3BlcnR5Q2hhbmdlXCIsXG4gICAgICAgICAgXCJwcm9wZXJ0eVwiOiB7XG4gICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInZhbHVlXCI6IHtcbiAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgXCJ0eXBlXCI6IFwianNvblwiXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcInNvdXJjZS1sb2FkXCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJzb3VyY2VMb2FkXCIsXG4gICAgICAgICAgXCJzb3VyY2VcIjoge1xuICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJzdHlsZS1hcHBsaWVkXCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJzdHlsZUFwcGxpZWRcIlxuICAgICAgICB9XG4gICAgICB9XG4gICAgfSxcbiAgICBcInN0eWxlZWRpdG9yXCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJhY3RvclwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcInN0eWxlZWRpdG9yXCIsXG4gICAgICBcIm1ldGhvZHNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwibmV3RG9jdW1lbnRcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwibmV3RG9jdW1lbnRcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwibmV3U3R5bGVTaGVldFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJuZXdTdHlsZVNoZWV0XCIsXG4gICAgICAgICAgICBcInRleHRcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwic3RyaW5nXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJzdHlsZVNoZWV0XCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwib2xkLXN0eWxlc2hlZXRcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHtcbiAgICAgICAgXCJkb2N1bWVudC1sb2FkXCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJkb2N1bWVudExvYWRcIixcbiAgICAgICAgICBcInN0eWxlU2hlZXRzXCI6IHtcbiAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiYXJyYXk6b2xkLXN0eWxlc2hlZXRcIlxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH0sXG4gICAgXCJjb29raWVvYmplY3RcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImRpY3RcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJjb29raWVvYmplY3RcIixcbiAgICAgIFwic3BlY2lhbGl6YXRpb25zXCI6IHtcbiAgICAgICAgXCJuYW1lXCI6IFwic3RyaW5nXCIsXG4gICAgICAgIFwidmFsdWVcIjogXCJsb25nc3RyaW5nXCIsXG4gICAgICAgIFwicGF0aFwiOiBcIm51bGxhYmxlOnN0cmluZ1wiLFxuICAgICAgICBcImhvc3RcIjogXCJzdHJpbmdcIixcbiAgICAgICAgXCJpc0RvbWFpblwiOiBcImJvb2xlYW5cIixcbiAgICAgICAgXCJpc1NlY3VyZVwiOiBcImJvb2xlYW5cIixcbiAgICAgICAgXCJpc0h0dHBPbmx5XCI6IFwiYm9vbGVhblwiLFxuICAgICAgICBcImNyZWF0aW9uVGltZVwiOiBcIm51bWJlclwiLFxuICAgICAgICBcImxhc3RBY2Nlc3NlZFwiOiBcIm51bWJlclwiLFxuICAgICAgICBcImV4cGlyZXNcIjogXCJudW1iZXJcIlxuICAgICAgfVxuICAgIH0sXG4gICAgXCJjb29raWVzdG9yZW9iamVjd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XphdGlvbnNcIjoge1xuICAgICAgICBcImNoYW5nZWRcIjogXCJudWxsYWJsZTpqc29uXCIsXG4gICAgICAgIFwiZGVsZXRlZFwiOiBcIm51bGxhYmxlOmpzb25cIixcbiAgICAgICAgXCJhZGRlZFwiOiBcIm51bGxhYmxlOmpzb25cIlxuICAgICAgfVxuICAgIH0sXG4gICAgXCJjb29raWVzXCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJhY3RvclwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcImNvb2tpZXNcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRTdG9yZU9iamVjdHNcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0U3RvcmVPYmplY3RzXCIsXG4gICAgICAgICAgICBcImhvc3RcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIm5hbWVzXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcIm51bGxhYmxlOmFycmF5OnN0cmluZ1wiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJvcHRpb25zXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDIsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcIm51bGxhYmxlOmpzb25cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJjb29raWVzdG9yZW9iamVjdFwiXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge31cbiAgICB9LFxuICAgIFwibG9jYWxTdG9yYWdlXCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJhY3RvclwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcImxvY2FsU3RvcmFnZVwiLFxuICAgICAgXCJtZXRob2RzXCI6IFtcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldFN0b3JlT2JqZWN0c1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXRTdG9yZU9iamVjdHNcIixcbiAgICAgICAgICAgIFwiaG9zdFwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJwcmltaXRpdmVcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwibmFtZXNcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwibnVsbGFibGU6YXJyYXk6c3RyaW5nXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIm9wdGlvbnNcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMixcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwibnVsbGFibGU6anNvblwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcInN0b3JhZ2VzdG9yZW9iamVjdFwiXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge31cbiAgICB9LFxuICAgIFwic2Vzc2lvblN0b3JhZ2VcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwic2Vzc2lvblN0b3JhZ2VcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRTdG9yZU9iamVjdHNcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0U3RvcmVPYmplY3RzXCIsXG4gICAgICAgICAgICBcImhvc3RcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIm5hbWVzXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcIm51bGxhYmxlOmFycmF5OnN0cmluZ1wiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJvcHRpb25zXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDIsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcIm51bGxhYmxlOmpzb25cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJzdG9yYWdlc3RvcmVvYmplY3RcIlxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIFwiZXZlbnRzXCI6IHt9XG4gICAgfSxcbiAgICBcImluZGV4ZWREQlwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJpbmRleGVkREJcIixcbiAgICAgIFwibWV0aG9kc1wiOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRTdG9yZU9iamVjdHNcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0U3RvcmVPYmplY3RzXCIsXG4gICAgICAgICAgICBcImhvc3RcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIm5hbWVzXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcIm51bGxhYmxlOmFycmF5OnN0cmluZ1wiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJvcHRpb25zXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDIsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcIm51bGxhYmxlOmpzb25cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJpZGJzdG9yZW9iamVjdFwiXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge31cbiAgICB9LFxuICAgIFwic3RvcmVsaXN0XCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJkaWN0XCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwic3RvcmVsaXN0XCIsXG4gICAgICBcInNwZWNpYWxpemF0aW9uc1wiOiB7XG4gICAgICAgIFwiY29va2llc1wiOiBcImNvb2tpZXNcIixcbiAgICAgICAgXCJsb2NhbFN0b3JhZ2VcIjogXCJsb2NhbFN0b3JhZ2VcIixcbiAgICAgICAgXCJzZXNzaW9uU3RvcmFnZVwiOiBcInNlc3Npb25TdG9yYWdlXCIsXG4gICAgICAgIFwiaW5kZXhlZERCXCI6IFwiaW5kZXhlZERCXCJcbiAgICAgIH1cbiAgICB9LFxuICAgIFwic3RvcmFnZVwiOiB7XG4gICAgICBcImNhdGVnb3J5XCI6IFwiYWN0b3JcIixcbiAgICAgIFwidHlwZU5hbWVcIjogXCJzdG9yYWdlXCIsXG4gICAgICBcIm1ldGhvZHNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwibGlzdFN0b3Jlc1wiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJsaXN0U3RvcmVzXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwic3RvcmVsaXN0XCJcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7XG4gICAgICAgIFwic3RvcmVzLXVwZGF0ZVwiOiB7XG4gICAgICAgICAgXCJ0eXBlXCI6IFwic3RvcmVzVXBkYXRlXCIsXG4gICAgICAgICAgXCJkYXRhXCI6IHtcbiAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgXCJ0eXBlXCI6IFwic3RvcmVVcGRhdGVPYmplY3RcIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJzdG9yZXMtY2xlYXJlZFwiOiB7XG4gICAgICAgICAgXCJ0eXBlXCI6IFwic3RvcmVzQ2xlYXJlZFwiLFxuICAgICAgICAgIFwiZGF0YVwiOiB7XG4gICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImpzb25cIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJzdG9yZXMtcmVsb2FkZWRcIjoge1xuICAgICAgICAgIFwidHlwZVwiOiBcInN0b3Jlc1JlbGFvZGVkXCIsXG4gICAgICAgICAgXCJkYXRhXCI6IHtcbiAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgXCJ0eXBlXCI6IFwianNvblwiXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfSxcbiAgICBcImdjbGlcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwiZ2NsaVwiLFxuICAgICAgXCJtZXRob2RzXCI6IFtcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInNwZWNzXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInNwZWNzXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwianNvblwiXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZXhlY3V0ZVwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJleGVjdXRlXCIsXG4gICAgICAgICAgICBcInR5cGVkXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcImpzb25cIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInN0YXRlXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInN0YXRlXCIsXG4gICAgICAgICAgICBcInR5cGVkXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJzdGFydFwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJudW1iZXJcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwicmFua1wiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAyLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJudW1iZXJcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJqc29uXCJcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJ0eXBlcGFyc2VcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwidHlwZXBhcnNlXCIsXG4gICAgICAgICAgICBcInR5cGVkXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJwYXJhbVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJqc29uXCJcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJ0eXBlaW5jcmVtZW50XCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInR5cGVpbmNyZW1lbnRcIixcbiAgICAgICAgICAgIFwidHlwZWRcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwic3RyaW5nXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInBhcmFtXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwidHlwZWRlY3JlbWVudFwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJ0eXBlZGVjcmVtZW50XCIsXG4gICAgICAgICAgICBcInR5cGVkXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInN0cmluZ1wiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJwYXJhbVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJzdHJpbmdcIlxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInNlbGVjdGlvbmluZm9cIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwic2VsZWN0aW9uaW5mb1wiLFxuICAgICAgICAgICAgXCJ0eXBlZFwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwicGFyYW1cIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwic3RyaW5nXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImFjdGlvblwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAxLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJzdHJpbmdcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJqc29uXCJcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJtZW1vcnlcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwibWVtb3J5XCIsXG4gICAgICBcIm1ldGhvZHNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwibWVhc3VyZVwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJtZWFzdXJlXCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwianNvblwiXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge31cbiAgICB9LFxuICAgIFwiZXZlbnRMb29wTGFnXCI6IHtcbiAgICAgIFwiY2F0ZWdvcnlcIjogXCJhY3RvclwiLFxuICAgICAgXCJ0eXBlTmFtZVwiOiBcImV2ZW50TG9vcExhZ1wiLFxuICAgICAgXCJtZXRob2RzXCI6IFtcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInN0YXJ0XCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInN0YXJ0XCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJzdWNjZXNzXCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwibnVtYmVyXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJzdG9wXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInN0b3BcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7fVxuICAgICAgICB9XG4gICAgICBdLFxuICAgICAgXCJldmVudHNcIjoge1xuICAgICAgICBcImV2ZW50LWxvb3AtbGFnXCI6IHtcbiAgICAgICAgICBcInR5cGVcIjogXCJldmVudC1sb29wLWxhZ1wiLFxuICAgICAgICAgIFwidGltZVwiOiB7XG4gICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgIFwidHlwZVwiOiBcIm51bWJlclwiXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfSxcbiAgICBcInByZWZlcmVuY2VcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwicHJlZmVyZW5jZVwiLFxuICAgICAgXCJtZXRob2RzXCI6IFtcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImdldEJvb2xQcmVmXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldEJvb2xQcmVmXCIsXG4gICAgICAgICAgICBcInZhbHVlXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwidmFsdWVcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJib29sZWFuXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRDaGFyUHJlZlwiLFxuICAgICAgICAgIFwicmVxdWVzdFwiOiB7XG4gICAgICAgICAgICBcInR5cGVcIjogXCJnZXRDaGFyUHJlZlwiLFxuICAgICAgICAgICAgXCJ2YWx1ZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJwcmltaXRpdmVcIlxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInZhbHVlXCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwic3RyaW5nXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJnZXRJbnRQcmVmXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldEludFByZWZcIixcbiAgICAgICAgICAgIFwidmFsdWVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge1xuICAgICAgICAgICAgXCJ2YWx1ZVwiOiB7XG4gICAgICAgICAgICAgIFwiX3JldHZhbFwiOiBcIm51bWJlclwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZ2V0QWxsUHJlZnNcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0QWxsUHJlZnNcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInZhbHVlXCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwianNvblwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwic2V0Qm9vbFByZWZcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwic2V0Qm9vbFByZWZcIixcbiAgICAgICAgICAgIFwibmFtZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJwcmltaXRpdmVcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwidmFsdWVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcInNldENoYXJQcmVmXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInNldENoYXJQcmVmXCIsXG4gICAgICAgICAgICBcIm5hbWVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMCxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInZhbHVlXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDEsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJzZXRJbnRQcmVmXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInNldEludFByZWZcIixcbiAgICAgICAgICAgIFwibmFtZVwiOiB7XG4gICAgICAgICAgICAgIFwiX2FyZ1wiOiAwLFxuICAgICAgICAgICAgICBcInR5cGVcIjogXCJwcmltaXRpdmVcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwidmFsdWVcIjoge1xuICAgICAgICAgICAgICBcIl9hcmdcIjogMSxcbiAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwicHJpbWl0aXZlXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIFwicmVzcG9uc2VcIjoge31cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIFwibmFtZVwiOiBcImNsZWFyVXNlclByZWZcIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiY2xlYXJVc2VyUHJlZlwiLFxuICAgICAgICAgICAgXCJuYW1lXCI6IHtcbiAgICAgICAgICAgICAgXCJfYXJnXCI6IDAsXG4gICAgICAgICAgICAgIFwidHlwZVwiOiBcInByaW1pdGl2ZVwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHt9XG4gICAgICAgIH1cbiAgICAgIF0sXG4gICAgICBcImV2ZW50c1wiOiB7fVxuICAgIH0sXG4gICAgXCJkZXZpY2VcIjoge1xuICAgICAgXCJjYXRlZ29yeVwiOiBcImFjdG9yXCIsXG4gICAgICBcInR5cGVOYW1lXCI6IFwiZGV2aWNlXCIsXG4gICAgICBcIm1ldGhvZHNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZ2V0RGVzY3JpcHRpb25cIixcbiAgICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgICAgXCJ0eXBlXCI6IFwiZ2V0RGVzY3JpcHRpb25cIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInZhbHVlXCI6IHtcbiAgICAgICAgICAgICAgXCJfcmV0dmFsXCI6IFwianNvblwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgXCJuYW1lXCI6IFwiZ2V0V2FsbHBhcGVyXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcImdldFdhbGxwYXBlclwiXG4gICAgICAgICAgfSxcbiAgICAgICAgICBcInJlc3BvbnNlXCI6IHtcbiAgICAgICAgICAgIFwidmFsdWVcIjoge1xuICAgICAgICAgICAgICBcIl9yZXR2YWxcIjogXCJsb25nc3RyaW5nXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBcIm5hbWVcIjogXCJzY3JlZW5zaG90VG9EYXRhVVJMXCIsXG4gICAgICAgICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgICAgICAgIFwidHlwZVwiOiBcInNjcmVlbnNob3RUb0RhdGFVUkxcIlxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJyZXNwb25zZVwiOiB7XG4gICAgICAgICAgICBcInZhbHV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GlvbigkKSB7IHJldHVybiByZWFkKCQsIGNvbnRleHQsIHR5cGUpIH0pO1xuICAgICAgfSxcbiAgICAgIHdyaXRlOiBmdW5jdGlvbihpbnB1dCwgY29udGV4dCkge1xuICAgICAgICB2YXIgdHlwZSA9IHRoaXMudHlwZTtcbiAgICAgICAgcmV0dXJuIGlucHV0Lm1hcChmdW5jdGlvbigkKSB7IHJldHVybiB3cml0ZSgkLCBjb250ZXh0LCB0eXBlKSB9KTtcbiAgICAgIH1cbiAgICB9KTtcblxuICAgIHZhciBtYWtlRmllbGQgPSBmdW5jdGlvbiBtYWtlRmllbGQobmFtZSwgdHlwZSkge1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSxcbiAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlLFxuICAgICAgICBnZXQ6IGZ1bmN0aW9uKCkge1xuICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh0aGlzLCBuYW1lLCB7XG4gICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlLFxuICAgICAgICAgICAgdmFsdWU6IHJlYWQodGhpcy5zdGF0ZVtuYW1lXSwgdGhpcy5jb250ZXh0LCB0eXBlKVxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHJldHVybiB0aGlzW25hbWVdO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfTtcblxuICAgIHZhciBtYWtlRmllbGRzID0gZnVuY3Rpb24oZGVzY3JpcHRvcikge1xuICAgICAgcmV0dXJuIHBhaXJzKGRlc2NyaXB0b3IpLnJlZHVjZShmdW5jdGlvbihmaWVsZHMsIHBhaXIpIHtcbiAgICAgICAgdmFyIG5hbWUgPSBwYWlyWzBdLCB0eXBlID0gcGFpclsxXTtcbiAgICAgICAgZmllbGRzW25hbWVdID0gbWFrZUZpZWxkKG5hbWUsIHR5cGUpO1xuICAgICAgICByZXR1cm4gZmllbGRzO1xuICAgICAgfSwge30pO1xuICAgIH1cblxuICAgIHZhciBEaWN0aW9uYXJ5VHlwZSA9IENsYXNzKHt9KTtcblxuICAgIHZhciBEaWN0aW9uYXJ5ID0gQ2xhc3Moe1xuICAgICAgZXh0ZW5kczogVHlwZSxcbiAgICAgIGNhdGVnb3J5OiBcImRpY3RcIixcbiAgICAgIGdldCBuYW1lKCkgeyByZXR1cm4gdGhpcy50eXBlOyB9LFxuICAgICAgY29uc3RydWN0b3I6IGZ1bmN0aW9uKGRlc2NyaXB0b3IpIHtcbiAgICAgICAgdGhpcy50eXBlID0gZGVzY3JpcHRvci50eXBlTmFtZTtcbiAgICAgICAgdGhpcy50eXBlcyA9IGRlc2NyaXB0b3Iuc3BlY2lhbGl6YXRpb25zO1xuXG4gICAgICAgIHZhciBwcm90byA9IE9iamVjdC5kZWZpbmVQcm9wZXJ0aWVzKHtcbiAgICAgICAgICBleHRlbmRzOiBEaWN0aW9uYXJ5VHlwZSxcbiAgICAgICAgICBjb25zdHJ1Y3RvcjogZnVuY3Rpb24oc3RhdGUsIGNvbnRleHQpIHtcbiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0aWVzKHRoaXMsIHtcbiAgICAgICAgICAgICAgc3RhdGU6IHtcbiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSxcbiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSxcbiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUsXG4gICAgICAgICAgICAgICAgdmFsdWU6IHN0YXRlXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIGNvbnRleHQ6IHtcbiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSxcbiAgICAgICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsXG4gICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlLFxuICAgICAgICAgICAgICAgIHZhbHVlOiBjb250ZXh0XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xu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iAgICAgICAgICAgIHZhciBpc0FyZ3VtZW50ID0gcGFyYW0uX2FyZyA9PT0gaW5kZXg7XG4gICAgICAgICAgICBwYXJhbXNbaW5kZXhdID0ge1xuICAgICAgICAgICAgICB0eXBlOiBwYXJhbS50eXBlLFxuICAgICAgICAgICAgICBrZXk6IGtleSxcbiAgICAgICAgICAgICAgaW5kZXg6IGluZGV4LFxuICAgICAgICAgICAgICBpc1BhcmFtOiBpc1BhcmFtLFxuICAgICAgICAgICAgICBpc0FyZ3VtZW50OiBpc0FyZ3VtZW50XG4gICAgICAgICAgICB9O1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB0aGlzLnBhcmFtcyA9IHBhcmFtcztcbiAgICAgIH0sXG4gICAgICByZWFkOiBmdW5jdGlvbihpbnB1dCwgY29udGV4dCkge1xuICAgICAgICByZXR1cm4gcmVhZChxdWVyeShpbnB1dCwgdGhpcy5wYXRoKSwgY29udGV4dCwgdGhpcy5yZXNwb25zZVR5cGUpO1xuICAgICAgfSxcbiAgICAgIHdyaXRlOiBmdW5jdGlvbihpbnB1dCwgY29udGV4dCkge1xuICAgICAgICByZXR1cm4gdGhpcy5wYXJhbXMucmVkdWNlKGZ1bmN0aW9uKHJlc3VsdCwgcGFyYW0pIHtcbiAgICAgICAgICByZXN1bHRbcGFyYW0ua2V5XSA9IHdyaXRlKGlucHV0W3BhcmFtLmluZGV4XSwgY29udGV4dCwgcGFyYW0udHlwZSk7XG4gICAgICAgICAgcmV0dXJuIHJlc3VsdDtcbiAgICAgICAgfSwge3R5cGU6IHRoaXMudHlwZX0pO1xuICAgICAgfVxuICAgIH0pO1xuICAgIGV4cG9ydHMuTWV0aG9kID0gTWV0aG9kO1xuXG4gICAgdmFyIHByb2ZpbGVyID0gZnVuY3Rpb24obWV0aG9kLCBpZCkge1xuICAgICAgcmV0dXJuIGZ1bmN0aW9uKCkge1xuICAgICAgICB2YXIgc3RhcnQgPSBuZXcgRGF0ZSgpO1xuICAgICAgICByZXR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nR5cGVzID0gT2JqZWN0LmNyZWF0ZShudWxsKTtcblxuICAgICAgICB2YXIgdHlwZXMgPSB0aGlzLnR5cGVzO1xuICAgICAgICBmb3IgKHZhciBrZXkgaW4gZGVzY3JpcHRvcikge1xuICAgICAgICAgIGlmIChrZXkgPT09IFwidHlwZVwiKSB7XG4gICAgICAgICAgICB0eXBlc1trZXldID0gXCJzdHJpbmdcIjtcbiAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdHlwZXNba2V5XSA9IGRlc2NyaXB0b3Jba2V5XS50eXBlO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfSxcbiAgICAgIHJlYWQ6IGZ1bmN0aW9uKGlucHV0LCBjb250ZXh0KSB7XG4gICAgICAgIHZhciBvdXRwdXQgPSB7fTtcbiAgICAgICAgdmFyIHR5cGVzID0gdGhpcy50eXBlcztcbiAgICAgICAgZm9yICh2YXIga2V5IGluIGlucHV0KSB7XG4gICAgICAgICAgb3V0cHV0W2tleV0gPSByZWFkKGlucHV0W2tleV0sIGNvbnRleHQsIHR5cGVzW2tleV0pO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBvdXRwdXQ7XG4gICAgICB9LFxuICAgICAgd3JpdGU6IGZ1bmN0aW9uKGlucHV0LCBjb250ZXh0KSB7XG4gICAgICAgIHZhciBvdXRwdXQgPSB7fTtcbiAgICAgICAgdmFyIHR5cGVzID0gdGhpcy50eXBlcztcbiAgICAgICAgZm9yICh2YXIga2V5IGluIHRoaXMudHlwZXMpIHtcbiAgICAgICAgICBvdXRwdXRba2V5XSA9IHdyaXRlKGlucHV0W2tleV0sIGNvbnRleHQsIHR5cGVzW2tleV0pO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBvdXRwdXQ7XG4gICAgICB9XG4gICAgfSk7XG5cbiAgICB2YXIgRnJvbnQgPSBDbGFzcyh7XG4gICAgICBleHRlbmRzOiBFdmVudFRhcmdldCxcbiAgICAgIEV2ZW50VGFyZ2V0OiBFdmVudFRhcmdldCxcbiAgICAgIGNvbnN0cnVjdG9yOiBmdW5jdGlvbihzdGF0ZSkge1xuICAgICAgICB0aGlzLkV2ZW50VGFyZ2V0KCk7XG4gICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0aWVzKHRoaXMsICB7XG4gICAgICAgICAgc3RhdGU6IHtcbiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLFxuICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsXG4gICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUsXG4gICAgICAgICAgICB2YWx1ZTogc3RhdGVcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuXG4gICAgICAgIGNsaWVudC5yZWdpc3Rlcih0aGlzKTtcbiAgICAgIH0sXG4gICAgICBnZXQgaWQoKSB7XG4gICAgICAgIHJldHVybiB0aGlzLnN0YXRlLmFjdG9yO1xuICAgICAgfSxcbiAgICAgIGdldCBjb250ZXh0KCkge1xuICAgICAgICByZXR1cm4gdGhpcztcbiAgICAgIH0sXG4gICAgICBmb3JtOiBmdW5jdGlvbihzdGF0ZSwgZGV0YWlsLCBjb250ZXh0KSB7XG4gICAgICAgIGlmICh0aGlzLnN0YXRlICE9PSBzdGF0ZSkge1xuICAgICAgICAgIGlmIChkZXRhaWwpIHtcbiAgICAgICAgICAgIHRoaXMuc3RhdGVbZGV0YWlsXSA9IHN0YXRlW2RldGFpbF07XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHBhaXJzKHN0YXRlKS5mb3JFYWNoKGZ1bmN0aW9uKHBhaXIpIHtcbiAgICAgICAgICAgICAgdmFyIGtleSA9IHBhaXJbMF0sIHZhbHVlID0gcGFpclsxXTtcbiAgICAgICAgICAgICAgdGhpcy5zdGF0ZVtrZXldID0gdmFsdWU7XG4gICAgICAgICAgICB9LCB0aGlzKTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoY29udGV4dCkge1xuICAgICAgICAg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0gdm9pZCgwKTtcbiAgaWYgKG9iamVjdCAmJiB0eXBlb2Yob2JqZWN0KSA9PT0gXCJvYmplY3RcIikge1xuICAgIHZhciBuYW1lcyA9IGtleXMob2JqZWN0KTtcbiAgICBpZiAobmFtZXMuaW5kZXhPZihrZXkpID49IDApIHtcbiAgICAgIHBhdGggPSBbXTtcbiAgICB9IGVsc2Uge1xuICAgICAgdmFyIGluZGV4ID0gMDtcbiAgICAgIHZhciBjb3VudCA9IG5hbWVzLmxlbmd0aDtcbiAgICAgIHdoaWxlIChpbmRleCA8IGNvdW50ICYmICFwYXRoKXtcbiAgICAgICAgdmFyIGhlYWQgPSBuYW1lc1tpbmRleF07XG4gICAgICAgIHZhciB0YWlsID0gZmluZFBhdGgob2JqZWN0W2hlYWRdLCBrZXkpO1xuICAgICAgICBwYXRoID0gdGFpbCA/IFtoZWFkXS5jb25jYXQodGFpbCkgOiB0YWlsO1xuICAgICAgICBpbmRleCA9IGluZGV4ICsgMVxuICAgICAgfVxuICAgIH1cbiAgfVxuICByZXR1cm4gcGF0aDtcbn07XG5leHBvcnRzLmZpbmRQYXRoID0gZmluZFBhdGg7XG4iXX0=
-(1)
-});
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/content/page-worker.js
+++ /dev/null
@@ -1,157 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-"use strict";
-
-const { frames } = require("../remote/child");
-const { Class } = require("../core/heritage");
-const { Disposable } = require('../core/disposable');
-lazyRequire(this, "../self", "data");
-lazyRequire(this, "../dom/events", "once");
-lazyRequire(this, "./utils", "getAttachEventType");
-lazyRequire(this, '../util/rules', "Rules");
-lazyRequire(this, '../util/uuid', "uuid");
-lazyRequire(this, "./worker-child", "WorkerChild");
-const { Cc, Ci, Cu } = require("chrome");
-const { on: onSystemEvent } = require("../system/events");
-
-const { XPCOMUtils } = require("resource://gre/modules/XPCOMUtils.jsm");
-
-XPCOMUtils.defineLazyServiceGetter(this, 'appShell',
-                                   "@mozilla.org/appshell/appShellService;1",
-                                   "nsIAppShellService");
-
-const pages = new Map();
-
-const DOC_INSERTED = "document-element-inserted";
-
-function isValidURL(page, url) {
-  return !page.rules || page.rules.matchesAny(url);
-}
-
-const ChildPage = Class({
-  implements: [ Disposable ],
-  setup: function(frame, id, options) {
-    this.id = id;
-    this.frame = frame;
-    this.options = options;
-
-    this.webNav = appShell.createWindowlessBrowser(false);
-    this.docShell.allowJavascript = this.options.allow.script;
-
-    // Accessing the browser's window forces the initial about:blank document to
-    // be created before we start listening for notifications
-    this.contentWindow;
-
-    this.webProgress.addProgressListener(this, Ci.nsIWebProgress.NOTIFY_LOCATION);
-
-    pages.set(this.id, this);
-
-    this.contentURL = options.contentURL;
-
-    if (options.include) {
-      this.rules = Rules();
-      this.rules.add.apply(this.rules, [].concat(options.include));
-    }
-  },
-
-  dispose: function() {
-    pages.delete(this.id);
-    this.webProgress.removeProgressListener(this);
-    this.webNav.close();
-    this.webNav = null;
-  },
-
-  attachWorker: function() {
-    if (!isValidURL(this, this.contentWindow.location.href))
-      return;
-
-    this.options.id = uuid().toString();
-    this.options.window = this.contentWindow;
-    this.frame.port.emit("sdk/frame/connect", this.id, {
-      id: this.options.id,
-      url: this.contentWindow.document.documentURIObject.spec
-    });
-    new WorkerChild(this.options);
-  },
-
-  get docShell() {
-    return this.webNav.QueryInterface(Ci.nsIInterfaceRequestor)
-                      .getInterface(Ci.nsIDocShell);
-  },
-
-  get webProgress() {
-    return this.docShell.QueryInterface(Ci.nsIInterfaceRequestor)
-                        .getInterface(Ci.nsIWebProgress);
-  },
-
-  get contentWindow() {
-    return this.docShell.QueryInterface(Ci.nsIInterfaceRequestor)
-                        .getInterface(Ci.nsIDOMWindow);
-  },
-
-  get contentURL() {
-    return this.options.contentURL;
-  },
-  set contentURL(url) {
-    this.options.contentURL = url;
-
-    url = this.options.contentURL ? data.url(this.options.contentURL) : "about:blank";
-
-    this.webNav.loadURI(url, Ci.nsIWebNavigation.LOAD_FLAGS_NONE, null, null, null);
-  },
-
-  onLocationChange: function(progress, request, location, flags) {
-    // Ignore inner-frame events
-    if (progress != this.webProgress)
-      return;
-    // Ignore events that don't change the document
-    if (flags & Ci.nsIWebProgressListener.LOCATION_CHANGE_SAME_DOCUMENT)
-      return;
-
-    let event = getAttachEventType(this.options);
-    // Attaching at the start of the load is handled by the
-    // document-element-inserted listener.
-    if (event == DOC_INSERTED)
-      return;
-
-    once(this.contentWindow, event, () => {
-      this.attachWorker();
-    }, false);
-  },
-
-  QueryInterface: XPCOMUtils.generateQI(["nsIWebProgressListener", "nsISupportsWeakReference"])
-});
-
-onSystemEvent(DOC_INSERTED, ({type, subject, data}) => {
-  let page = Array.from(pages.values()).find(p => p.contentWindow.document === subject);
-
-  if (!page)
-    return;
-
-  if (getAttachEventType(page.options) == DOC_INSERTED)
-    page.attachWorker();
-}, true);
-
-frames.port.on("sdk/frame/create", (frame, id, options) => {
-  new ChildPage(frame, id, options);
-});
-
-frames.port.on("sdk/frame/set", (frame, id, params) => {
-  let page = pages.get(id);
-  if (!page)
-    return;
-
-  if ("allowScript" in params)
-    page.docShell.allowJavascript = params.allowScript;
-  if ("contentURL" in params)
-    page.contentURL = params.contentURL;
-});
-
-frames.port.on("sdk/frame/destroy", (frame, id) => {
-  let page = pages.get(id);
-  if (!page)
-    return;
-
-  page.destroy();
-});
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/frame/hidden-frame.js
+++ /dev/null
@@ -1,115 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "experimental"
-};
-
-const { Cc, Ci } = require("chrome");
-const { Class } = require("../core/heritage");
-const { List, addListItem, removeListItem } = require("../util/list");
-const { EventTarget } = require("../event/target");
-lazyRequire(this, "../event/core", "emit");
-lazyRequire(this, "./utils", { "create": "makeFrame" });
-lazyRequire(this, "../core/promise", "defer");
-const { when: unload } = require("../system/unload");
-lazyRequire(this, "../deprecated/api-utils", "validateOptions", "getTypeOf");
-lazyRequire(this, "../addon/window", "window");
-lazyRequire(this, "../util/array", "fromIterator");
-
-// This cache is used to access friend properties between functions
-// without exposing them on the public API.
-var cache = new Set();
-var elements = new WeakMap();
-
-function contentLoaded(target) {
-  var deferred = defer();
-  target.addEventListener("DOMContentLoaded", function DOMContentLoaded(event) {
-    // "DOMContentLoaded" events from nested frames propagate up to target,
-    // ignore events unless it's DOMContentLoaded for the given target.
-    if (event.target === target || event.target === target.contentDocument) {
-      target.removeEventListener("DOMContentLoaded", DOMContentLoaded);
-      deferred.resolve(target);
-    }
-  });
-  return deferred.promise;
-}
-
-function FrameOptions(options) {
-  options = options || {}
-  return validateOptions(options, FrameOptions.validator);
-}
-FrameOptions.validator = {
-  onReady: {
-    is: ["undefined", "function", "array"],
-    ok: function(v) {
-      if (getTypeOf(v) === "array") {
-        // make sure every item is a function
-        return v.every(item => typeof(item) === "function")
-      }
-      return true;
-    }
-  },
-  onUnload: {
-    is: ["undefined", "function"]
-  }
-};
-
-var HiddenFrame = Class({
-  extends: EventTarget,
-  initialize: function initialize(options) {
-    options = FrameOptions(options);
-    EventTarget.prototype.initialize.call(this, options);
-  },
-  get element() {
-    return elements.get(this);
-  },
-  toString: function toString() {
-    return "[object Frame]"
-  }
-});
-exports.HiddenFrame = HiddenFrame
-
-function addHidenFrame(frame) {
-  if (!(frame instanceof HiddenFrame))
-    throw Error("The object to be added must be a HiddenFrame.");
-
-  // This instance was already added.
-  if (cache.has(frame)) return frame;
-  else cache.add(frame);
-
-  let element = makeFrame(window.document, {
-    nodeName: "iframe",
-    type: "content",
-    allowJavascript: true,
-    allowPlugins: true,
-    allowAuth: true,
-  });
-  elements.set(frame, element);
-
-  contentLoaded(element).then(function onFrameReady(element) {
-    emit(frame, "ready");
-  }, console.exception);
-
-  return frame;
-}
-exports.add = addHidenFrame
-
-function removeHiddenFrame(frame) {
-  if (!(frame instanceof HiddenFrame))
-    throw Error("The object to be removed must be a HiddenFrame.");
-
-  if (!cache.has(frame)) return;
-
-  // Remove from cache before calling in order to avoid loop
-  cache.delete(frame);
-  emit(frame, "unload")
-  let element = frame.element
-  if (element) element.remove()
-}
-exports.remove = removeHiddenFrame;
-
-unload(() => fromIterator(cache).forEach(removeHiddenFrame));
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/loader/cuddlefish.js
+++ /dev/null
@@ -1,102 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-"use strict";
-
-module.metadata = {
-  "stability": "unstable"
-};
-
-// This module is manually loaded by bootstrap.js in a sandbox and immediatly
-// put in module cache so that it is never loaded in any other way.
-
-/* Workarounds to include dependencies in the manifest
-require('chrome')                  // Otherwise CFX will complain about Components
-require('toolkit/loader')          // Otherwise CFX will stip out loader.js
-require('sdk/addon/runner')        // Otherwise CFX will stip out addon/runner.js
-*/
-
-const { classes: Cc, Constructor: CC, interfaces: Ci, utils: Cu } = Components;
-
-// `loadSandbox` is exposed by bootstrap.js
-const loaderURI = module.uri.replace("sdk/loader/cuddlefish.js",
-                                     "toolkit/loader.js");
-const xulappURI = module.uri.replace("loader/cuddlefish.js",
-                                     "system/xul-app.jsm");
-// We need to keep a reference to the sandbox in order to unload it in
-// bootstrap.js
-
-var loaderSandbox = loadSandbox(loaderURI);
-const loaderModule = loaderSandbox.exports;
-
-const { incompatibility } = Cu.import(xulappURI, {}).XulApp;
-
-const { override, load } = loaderModule;
-
-function CuddlefishLoader(options) {
-  let { manifest } = options;
-
-  options = override(options, {
-    // Put `api-utils/loader` and `api-utils/cuddlefish` loaded as JSM to module
-    // cache to avoid subsequent loads via `require`.
-    modules: override({
-      'toolkit/loader': loaderModule,
-      'sdk/loader/cuddlefish': exports
-    }, options.modules),
-    resolve: function resolve(id, requirer) {
-      let entry = requirer && requirer in manifest && manifest[requirer];
-      let uri = null;
-
-      // If manifest entry for this requirement is present we follow manifest.
-      // Note: Standard library modules like 'panel' will be present in
-      // manifest unless they were moved to platform.
-      if (entry) {
-        let requirement = entry.requirements[id];
-        // If requirer entry is in manifest and it's requirement is not, than
-        // it has no authority to load since linker was not able to find it.
-        if (!requirement)
-          throw Error('Module: ' + requirer + ' has no authority to load: '
-                      + id, requirer);
-
-        uri = requirement;
-      } else {
-        // If requirer is off manifest than it's a system module and we allow it
-        // to go off manifest by resolving a relative path.
-        uri = loaderModule.resolve(id, requirer);
-      }
-      return uri;
-    },
-    load: function(loader, module) {
-      let result;
-      let error;
-
-      // In order to get the module's metadata, we need to load the module.
-      // if an exception is raised here, it could be that is due to application
-      // incompatibility. Therefore the exception is stored, and thrown again
-      // only if the module seems be compatible with the application currently
-      // running. Otherwise the incompatibility message takes the precedence.
-      try {
-        result = load(loader, module);
-      }
-      catch (e) {
-        error = e;
-      }
-
-      error = incompatibility(module) || error;
-
-      if (error)
-        throw error;
-
-      return result;
-    }
-  });
-
-  let loader = loaderModule.Loader(options);
-  // Hack to allow loading from `toolkit/loader`.
-  loader.modules[loaderURI] = loaderSandbox;
-  return loader;
-}
-
-exports = override(loaderModule, {
-  Loader: CuddlefishLoader
-});
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/page-worker.js
+++ /dev/null
@@ -1,194 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-"use strict";
-
-module.metadata = {
-  "stability": "stable"
-};
-
-const { Class } = require('./core/heritage');
-const { ns } = require('./core/namespace');
-lazyRequire(this, './event/utils', "pipe", "stripListeners");
-const { connect, destroy, WorkerHost } = require('./content/utils');
-lazyRequire(this, './content/worker', "Worker");
-const { Disposable } = require('./core/disposable');
-const { EventTarget } = require('./event/target');
-lazyRequire(this, './event/core', "setListeners");
-lazyRequire(this, './addon/window', "window");
-lazyRequire(this, './frame/utils', { "create": "makeFrame" }, "getDocShell");
-const { contract } = require('./util/contract');
-const { contract: loaderContract } = require('./content/loader');
-lazyRequire(this, './util/rules', "Rules");
-const { merge } = require('./util/object');
-lazyRequire(this, './util/uuid', "uuid");
-const { useRemoteProcesses, remoteRequire, frames } = require("./remote/parent");
-remoteRequire("sdk/content/page-worker");
-
-const workers = new WeakMap();
-const pages = new Map();
-
-const internal = ns();
-
-let workerFor = (page) => workers.get(page);
-let isDisposed = (page) => !pages.has(internal(page).id);
-
-// The frame is used to ensure we have a remote process to load workers in
-let remoteFrame = null;
-let framePromise = null;
-function getFrame() {
-  if (framePromise)
-    return framePromise;
-
-  framePromise = new Promise(resolve => {
-    let view = makeFrame(window.document, {
-      namespaceURI: "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
-      nodeName: "iframe",
-      type: "content",
-      remote: useRemoteProcesses,
-      uri: "about:blank"
-    });
-
-    // Wait for the remote side to connect
-    let listener = (frame) => {
-      if (frame.frameElement != view)
-        return;
-      frames.off("attach", listener);
-      remoteFrame = frame;
-      resolve(frame);
-    }
-    frames.on("attach", listener);
-  });
-  return framePromise;
-}
-
-var pageContract = contract(merge({
-  allow: {
-    is: ['object', 'undefined', 'null'],
-    map: function (allow) { return { script: !allow || allow.script !== false }}
-  },
-  onMessage: {
-    is: ['function', 'undefined']
-  },
-  include: {
-    is: ['string', 'array', 'regexp', 'undefined']
-  },
-  contentScriptWhen: {
-    is: ['string', 'undefined'],
-    map: (when) => when || "end"
-  }
-}, loaderContract.rules));
-
-function enableScript (page) {
-  getDocShell(viewFor(page)).allowJavascript = true;
-}
-
-function disableScript (page) {
-  getDocShell(viewFor(page)).allowJavascript = false;
-}
-
-function Allow (page) {
-  return {
-    get script() {
-      return internal(page).options.allow.script;
-    },
-    set script(value) {
-      internal(page).options.allow.script = value;
-
-      if (isDisposed(page))
-        return;
-
-      remoteFrame.port.emit("sdk/frame/set", internal(page).id, { allowScript: value });
-    }
-  };
-}
-
-function isValidURL(page, url) {
-  return !page.rules || page.rules.matchesAny(url);
-}
-
-const Page = Class({
-  implements: [
-    EventTarget,
-    Disposable
-  ],
-  extends: WorkerHost(workerFor),
-  setup: function Page(options) {
-    options = pageContract(options);
-    // Sanitize the options
-    if ("contentScriptOptions" in options)
-      options.contentScriptOptions = JSON.stringify(options.contentScriptOptions);
-
-    internal(this).id = uuid().toString();
-    internal(this).options = options;
-
-    for (let prop of ['contentScriptFile', 'contentScript', 'contentScriptWhen']) {
-      this[prop] = options[prop];
-    }
-
-    pages.set(internal(this).id, this);
-
-    // Set listeners on the {Page} object itself, not the underlying worker,
-    // like `onMessage`, as it gets piped
-    setListeners(this, options);
-    let worker = new Worker(stripListeners(options));
-    workers.set(this, worker);
-    pipe(worker, this);
-
-    if (options.include) {
-      this.rules = Rules();
-      this.rules.add.apply(this.rules, [].concat(options.include));
-    }
-
-    getFrame().then(frame => {
-      if (isDisposed(this))
-        return;
-
-      frame.port.emit("sdk/frame/create", internal(this).id, stripListeners(options));
-    });
-  },
-  get allow() { return Allow(this); },
-  set allow(value) {
-    if (isDisposed(this))
-      return;
-    this.allow.script = pageContract({ allow: value }).allow.script;
-  },
-  get contentURL() {
-    return internal(this).options.contentURL;
-  },
-  set contentURL(value) {
-    if (!isValidURL(this, value))
-      return;
-    internal(this).options.contentURL = value;
-    if (isDisposed(this))
-      return;
-
-    remoteFrame.port.emit("sdk/frame/set", internal(this).id, { contentURL: value });
-  },
-  dispose: function () {
-    if (isDisposed(this))
-      return;
-    pages.delete(internal(this).id);
-    let worker = workerFor(this);
-    if (worker)
-      destroy(worker);
-    remoteFrame.port.emit("sdk/frame/destroy", internal(this).id);
-
-    // Destroy the remote frame if all the pages have been destroyed
-    if (pages.size == 0) {
-      framePromise = null;
-      remoteFrame.frameElement.remove();
-      remoteFrame = null;
-    }
-  },
-  toString: function () { return '[object Page]' }
-});
-
-exports.Page = Page;
-
-frames.port.on("sdk/frame/connect", (frame, id, params) => {
-  let page = pages.get(id);
-  if (!page)
-    return;
-  connect(workerFor(page), frame, params);
-});
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/places/bookmarks.js
+++ /dev/null
@@ -1,395 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "unstable",
-  "engines": {
-    "Firefox": "*",
-    "SeaMonkey": "*"
-  }
-};
-
-/*
- * Requiring hosts so they can subscribe to client messages
- */
-require('./host/host-bookmarks');
-require('./host/host-tags');
-require('./host/host-query');
-
-const { Cc, Ci } = require('chrome');
-const { Class } = require('../core/heritage');
-const { send } = require('../addon/events');
-const { defer, reject, all, resolve, promised } = require('../core/promise');
-const { EventTarget } = require('../event/target');
-const { emit } = require('../event/core');
-const { identity, defer:async } = require('../lang/functional');
-const { extend, merge } = require('../util/object');
-const { fromIterator } = require('../util/array');
-const {
-  constructTree, fetchItem, createQuery,
-  isRootGroup, createQueryOptions
-} = require('./utils');
-const {
-  bookmarkContract, groupContract, separatorContract
-} = require('./contract');
-const bmsrv = Cc["@mozilla.org/browser/nav-bookmarks-service;1"].
-                getService(Ci.nsINavBookmarksService);
-
-/*
- * Mapping of uncreated bookmarks with their created
- * counterparts
- */
-const itemMap = new WeakMap();
-
-/*
- * Constant used by nsIHistoryQuery; 1 is a bookmark query
- * https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsINavHistoryQueryOptions
- */
-const BOOKMARK_QUERY = 1;
-
-/*
- * Bookmark Item classes
- */
-
-const Bookmark = Class({
-  extends: [
-    bookmarkContract.properties(identity)
-  ],
-  initialize: function initialize (options) {
-    merge(this, bookmarkContract(extend(defaults, options)));
-  },
-  type: 'bookmark',
-  toString: () => '[object Bookmark]'
-});
-exports.Bookmark = Bookmark;
-
-const Group = Class({
-  extends: [
-    groupContract.properties(identity)
-  ],
-  initialize: function initialize (options) {
-    // Don't validate if root group
-    if (isRootGroup(options))
-      merge(this, options);
-    else
-      merge(this, groupContract(extend(defaults, options)));
-  },
-  type: 'group',
-  toString: () => '[object Group]'
-});
-exports.Group = Group;
-
-const Separator = Class({
-  extends: [
-    separatorContract.properties(identity)
-  ],
-  initialize: function initialize (options) {
-    merge(this, separatorContract(extend(defaults, options)));
-  },
-  type: 'separator',
-  toString: () => '[object Separator]'
-});
-exports.Separator = Separator;
-
-/*
- * Functions
- */
-
-function save (items, options) {
-  items = [].concat(items);
-  options = options || {};
-  let emitter = EventTarget();
-  let results = [];
-  let errors = [];
-  let root = constructTree(items);
-  let cache = new Map();
-
-  let isExplicitSave = item => !!~items.indexOf(item);
-  // `walk` returns an aggregate promise indicating the completion
-  // of the `commitItem` on each node, not whether or not that
-  // commit was successful
-
-  // Force this to be async, as if a ducktype fails validation,
-  // the promise implementation will fire an error event, which will
-  // not trigger the handler as it's not yet bound
-  //
-  // Can remove after `Promise.jsm` is implemented in Bug 881047,
-  // which will guarantee next tick execution
-  async(() => root.walk(preCommitItem).then(commitComplete))();
-
-  function preCommitItem ({value:item}) {
-    // Do nothing if tree root, default group (unsavable),
-    // or if it's a dependency and not explicitly saved (in the list
-    // of items to be saved), and not needed to be saved
-    if (item === null || // node is the tree root
-        isRootGroup(item) ||
-        (getId(item) && !isExplicitSave(item)))
-      return;
-
-    return promised(validate)(item)
-      .then(() => commitItem(item, options))
-      .then(data => construct(data, cache))
-      .then(savedItem => {
-        // If item was just created, make a map between
-        // the creation object and created object,
-        // so we can reference the item that doesn't have an id
-        if (!getId(item))
-          saveId(item, savedItem.id);
-
-        // Emit both the processed item, and original item
-        // so a mapping can be understood in handler
-        emit(emitter, 'data', savedItem, item);
-       
-        // Push to results iff item was explicitly saved
-        if (isExplicitSave(item))
-          results[items.indexOf(item)] = savedItem;
-      }, reason => {
-        // Force reason to be a string for consistency
-        reason = reason + '';
-        // Emit both the reason, and original item
-        // so a mapping can be understood in handler
-        emit(emitter, 'error', reason + '', item);
-        // Store unsaved item in results list
-        results[items.indexOf(item)] = item;
-        errors.push(reason);
-      });
-  }
-
-  // Called when traversal of the node tree is completed and all
-  // items have been committed
-  function commitComplete () {
-    emit(emitter, 'end', results);
-  }
-
-  return emitter;
-}
-exports.save = save;
-
-function search (queries, options) {
-  queries = [].concat(queries);
-  let emitter = EventTarget();
-  let cache = new Map();
-  let queryObjs = queries.map(createQuery.bind(null, BOOKMARK_QUERY));
-  let optionsObj = createQueryOptions(BOOKMARK_QUERY, options);
-
-  // Can remove after `Promise.jsm` is implemented in Bug 881047,
-  // which will guarantee next tick execution
-  async(() => {
-    send('sdk-places-query', { queries: queryObjs, options: optionsObj })
-      .then(handleQueryResponse);
-  })();
-    
-  function handleQueryResponse (data) {
-    let deferreds = data.map(item => {
-      return construct(item, cache).then(bookmark => {
-        emit(emitter, 'data', bookmark);
-        return bookmark;
-      }, reason => {
-        emit(emitter, 'error', reason);
-        errors.push(reason);
-      });
-    });
-
-    all(deferreds).then(data => {
-      emit(emitter, 'end', data);
-    }, () => emit(emitter, 'end', []));
-  }
-
-  return emitter;
-}
-exports.search = search;
-
-function remove (items) {
-  return [].concat(items).map(item => {
-    item.remove = true;
-    return item;
-  });
-}
-
-exports.remove = remove;
-
-/*
- * Internal Utilities
- */
-
-function commitItem (item, options) {
-  // Get the item's ID, or getId it's saved version if it exists
-  let id = getId(item);
-  let data = normalize(item);
-  let promise;
-
-  data.id = id;
-
-  if (!id) {
-    promise = send('sdk-places-bookmarks-create', data);
-  } else if (item.remove) {
-    promise = send('sdk-places-bookmarks-remove', { id: id });
-  } else {
-    promise = send('sdk-places-bookmarks-last-updated', {
-      id: id
-    }).then(function (updated) {
-      // If attempting to save an item that is not the 
-      // latest snapshot of a bookmark item, execute
-      // the resolution function
-      if (updated !== item.updated && options.resolve)
-        return fetchItem(id)
-          .then(options.resolve.bind(null, data));
-      else
-        return data;
-    }).then(send.bind(null, 'sdk-places-bookmarks-save'));
-  }
-
-  return promise;
-}
-
-/*
- * Turns a bookmark item into a plain object,
- * converts `tags` from Set to Array, group instance to an id
- */
-function normalize (item) {
-  let data = merge({}, item);
-  // Circumvent prototype property of `type`
-  delete data.type;
-  data.type = item.type;
-  data.tags = [];
-  if (item.tags) {
-    data.tags = fromIterator(item.tags);
-  }
-  data.group = getId(data.group) || exports.UNSORTED.id;
-
-  return data;
-}
-
-/*
- * Takes a data object and constructs a BookmarkItem instance
- * of it, recursively generating parent instances as well.
- *
- * Pass in a `cache` Map to reuse instances of
- * bookmark items to reduce overhead;
- * The cache object is a map of id to a deferred with a 
- * promise that resolves to the bookmark item.
- */
-function construct (object, cache, forced) {
-  let item = instantiate(object);
-  let deferred = defer();
-
-  // Item could not be instantiated
-  if (!item)
-    return resolve(null);
-
-  // Return promise for item if found in the cache,
-  // and not `forced`. `forced` indicates that this is the construct
-  // call that should not read from cache, but should actually perform
-  // the construction, as it was set before several async calls
-  if (cache.has(item.id) && !forced)
-    return cache.get(item.id).promise;
-  else if (cache.has(item.id))
-    deferred = cache.get(item.id);
-  else
-    cache.set(item.id, deferred);
-
-  // When parent group is found in cache, use
-  // the same deferred value
-  if (item.group && cache.has(item.group)) {
-    cache.get(item.group).promise.then(group => {
-      item.group = group;
-      deferred.resolve(item);
-    });
-
-  // If not in the cache, and a root group, return
-  // the premade instance
-  } else if (rootGroups.get(item.group)) {
-    item.group = rootGroups.get(item.group);
-    deferred.resolve(item);
-
-  // If not in the cache or a root group, fetch the parent
-  } else {
-    cache.set(item.group, defer());
-    fetchItem(item.group).then(group => {
-      return construct(group, cache, true);
-    }).then(group => {
-      item.group = group;
-      deferred.resolve(item);
-    }, deferred.reject);
-  }
-
-  return deferred.promise;
-}
-
-function instantiate (object) {
-  if (object.type === 'bookmark')
-    return Bookmark(object);
-  if (object.type === 'group')
-    return Group(object);
-  if (object.type === 'separator')
-    return Separator(object);
-  return null;
-}
-
-/**
- * Validates a bookmark item; will throw an error if ininvalid,
- * to be used with `promised`. As bookmark items check on their class,
- * this only checks ducktypes
- */
-function validate (object) {
-  if (!isDuckType(object)) return true;
-  let contract = object.type === 'bookmark' ? bookmarkContract :
-                 object.type === 'group' ? groupContract :
-                 object.type === 'separator' ? separatorContract :
-                 null;
-  if (!contract) {
-    throw Error('No type specified');
-  }
-
-  // If object has a property set, and undefined,
-  // manually override with default as it'll fail otherwise
-  let withDefaults = Object.keys(defaults).reduce((obj, prop) => {
-    if (obj[prop] == null) obj[prop] = defaults[prop];
-    return obj;
-  }, extend(object));
-
-  contract(withDefaults);
-}
-
-function isDuckType (item) {
-  return !(item instanceof Bookmark) &&
-    !(item instanceof Group) &&
-    !(item instanceof Separator);
-}
-
-function saveId (unsaved, id) {
-  itemMap.set(unsaved, id);
-}
-
-// Fetches an item's ID from itself, or from the mapped items
-function getId (item) {
-  return typeof item === 'number' ? item :
-    item ? item.id || itemMap.get(item) :
-    null;
-}
-
-/*
- * Set up the default, root groups
- */
-
-var defaultGroupMap = {
-  MENU: bmsrv.bookmarksMenuFolder,
-  TOOLBAR: bmsrv.toolbarFolder,
-  UNSORTED: bmsrv.unfiledBookmarksFolder
-};
-
-var rootGroups = new Map();
-
-for (let i in defaultGroupMap) {
-  let group = Object.freeze(Group({ title: i, id: defaultGroupMap[i] }));
-  rootGroups.set(defaultGroupMap[i], group);
-  exports[i] = group;
-}
-
-var defaults = {
-  group: exports.UNSORTED,
-  index: -1
-};
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/places/contract.js
+++ /dev/null
@@ -1,73 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-"use strict";
-
-module.metadata = {
-  "stability": "unstable"
-};
-
-const { Cc, Ci } = require('chrome');
-const { isValidURI, URL } = require('../url');
-const { contract } = require('../util/contract');
-const { extend } = require('../util/object');
-
-// map of property validations
-const validItem = {
-  id: {
-    is: ['number', 'undefined', 'null'],
-  },
-  group: {
-    is: ['object', 'number', 'undefined', 'null'],
-    ok: function (value) {
-      return value &&
-        (value.toString && value.toString() === '[object Group]') ||
-        typeof value === 'number' ||
-        value.type === 'group';
-    },
-    msg: 'The `group` property must be a valid Group object'
-  },
-  index: {
-    is: ['undefined', 'null', 'number'],
-    map: value => value == null ? -1 : value,
-    msg: 'The `index` property must be a number.'
-  },
-  updated: {
-    is: ['number', 'undefined']
-  }
-};
-
-const validTitle = {
-  title: {
-    is: ['string'],
-    msg: 'The `title` property must be defined.'
-  }
-};
-
-const validURL = {
-  url: {
-    is: ['string'],
-    ok: isValidURI,
-    msg: 'The `url` property must be a valid URL.'
-  }
-};
-
-const validTags = {
-  tags: {
-    is: ['object'],
-    ok: tags => tags instanceof Set,
-    map: function (tags) {
-      if (Array.isArray(tags))
-        return new Set(tags);
-      if (tags == null)
-        return new Set();
-      return tags;
-    },
-    msg: 'The `tags` property must be a Set, or an array'
-  }
-};
-
-exports.bookmarkContract = contract(
-  extend(validItem, validTitle, validURL, validTags));
-exports.separatorContract = contract(validItem);
-exports.groupContract = contract(extend(validItem, validTitle));
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/places/events.js
+++ /dev/null
@@ -1,142 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-'use strict';
-
-module.metadata = {
-  'stability': 'experimental',
-  'engines': {
-    'Firefox': '*',
-    "SeaMonkey": '*'
-  }
-};
-
-const { Cc, Ci } = require('chrome');
-const { Unknown } = require('../platform/xpcom');
-const { Class } = require('../core/heritage');
-const { merge } = require('../util/object');
-const bookmarkService = Cc['@mozilla.org/browser/nav-bookmarks-service;1']
-                        .getService(Ci.nsINavBookmarksService);
-const historyService = Cc['@mozilla.org/browser/nav-history-service;1']
-                       .getService(Ci.nsINavHistoryService);
-const { mapBookmarkItemType } = require('./utils');
-const { EventTarget } = require('../event/target');
-const { emit } = require('../event/core');
-const { when } = require('../system/unload');
-
-const emitter = EventTarget();
-
-var HISTORY_ARGS = {
-  onBeginUpdateBatch: [],
-  onEndUpdateBatch: [],
-  onClearHistory: [],
-  onDeleteURI: ['url'],
-  onDeleteVisits: ['url', 'visitTime'],
-  onPageChanged: ['url', 'property', 'value'],
-  onTitleChanged: ['url', 'title'],
-  onVisit: [
-    'url', 'visitId', 'time', 'sessionId', 'referringId', 'transitionType'
-  ]
-};
-
-var HISTORY_EVENTS = {
-  onBeginUpdateBatch: 'history-start-batch',
-  onEndUpdateBatch: 'history-end-batch',
-  onClearHistory: 'history-start-clear',
-  onDeleteURI: 'history-delete-url',
-  onDeleteVisits: 'history-delete-visits',
-  onPageChanged: 'history-page-changed',
-  onTitleChanged: 'history-title-changed',
-  onVisit: 'history-visit'
-};
-
-var BOOKMARK_ARGS = {
-  onItemAdded: [
-    'id', 'parentId', 'index', 'type', 'url', 'title', 'dateAdded'
-  ],
-  onItemChanged: [
-    'id', 'property', null, 'value', 'lastModified', 'type', 'parentId'
-  ],
-  onItemMoved: [
-    'id', 'previousParentId', 'previousIndex', 'currentParentId',
-    'currentIndex', 'type'
-  ],
-  onItemRemoved: ['id', 'parentId', 'index', 'type', 'url'],
-  onItemVisited: ['id', 'visitId', 'time', 'transitionType', 'url', 'parentId']
-};
-
-var BOOKMARK_EVENTS = {
-  onItemAdded: 'bookmark-item-added',
-  onItemChanged: 'bookmark-item-changed',
-  onItemMoved: 'bookmark-item-moved',
-  onItemRemoved: 'bookmark-item-removed',
-  onItemVisited: 'bookmark-item-visited',
-};
-
-function createHandler (type, propNames) {
-  propNames = propNames || [];
-  return function (...args) {
-    let data = propNames.reduce((acc, prop, i) => {
-      if (prop)
-        acc[prop] = formatValue(prop, args[i]);
-      return acc;
-    }, {});
-
-    emit(emitter, 'data', {
-      type: type,
-      data: data
-    });
-  };
-}
-
-/*
- * Creates an observer, creating handlers based off of
- * the `events` names, and ordering arguments from `propNames` hash
- */
-function createObserverInstance (events, propNames) {
-  let definition = Object.keys(events).reduce((prototype, eventName) => {
-    prototype[eventName] = createHandler(events[eventName], propNames[eventName]);
-    return prototype;
-  }, {});
-
-  return Class(merge(definition, { extends: Unknown }))();
-}
-
-/*
- * Formats `data` based off of the value of `type`
- */
-function formatValue (type, data) {
-  if (type === 'type')
-    return mapBookmarkItemType(data);
-  if (type === 'url' && data)
-    return data.spec;
-  return data;
-}
-
-var historyObserver = createObserverInstance(HISTORY_EVENTS, HISTORY_ARGS);
-// Hack alert: we sometimes need to send extra title-changed notifications
-// ourselves for backwards compat. Replace the original onVisit callback to
-// add on that logic:
-historyObserver.realOnVisit = historyObserver.onVisit;
-historyObserver.onVisit = function(url, visitId, time, sessionId,
-                                   referringId, transitionType, guid, hidden,
-                                   visitCount, typed, lastKnownTitle) {
-  // If this is the first visit we're adding, fire title-changed
-  // in case anyone cares.
-  if (visitCount == 1) {
-    historyObserver.onTitleChanged(url, lastKnownTitle);
-  }
-  this.realOnVisit(url, visitId, time, sessionId, referringId, transitionType);
-};
-historyService.addObserver(historyObserver);
-
-var bookmarkObserver = createObserverInstance(BOOKMARK_EVENTS, BOOKMARK_ARGS);
-bookmarkService.addObserver(bookmarkObserver);
-
-when(() => {
-  historyService.removeObserver(historyObserver);
-  bookmarkService.removeObserver(bookmarkObserver);
-});
-
-exports.events = emitter;
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/places/favicon.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "unstable",
-  "engines": {
-    "Firefox": "*",
-    "SeaMonkey": "*"
-  }
-};
-
-const { Cc, Ci, Cu } = require("chrome");
-const { defer, reject } = require("../core/promise");
-const FaviconService = Cc["@mozilla.org/browser/favicon-service;1"].
-                          getService(Ci.nsIFaviconService);
-const AsyncFavicons = FaviconService.QueryInterface(Ci.mozIAsyncFavicons);
-const { isValidURI } = require("../url");
-const { newURI, getURL } = require("../url/utils");
-
-/**
- * Takes an object of several possible types and
- * returns a promise that resolves to the page's favicon URI.
- * @param {String|Tab} object
- * @param {Function} (callback)
- * @returns {Promise}
- */
-
-function getFavicon (object, callback) {
-  let url = getURL(object);
-  let deferred = defer();
-
-  if (url && isValidURI(url)) {
-    AsyncFavicons.getFaviconURLForPage(newURI(url), function (aURI) {
-      if (aURI && aURI.spec)
-        deferred.resolve(aURI.spec.toString());
-      else
-        deferred.reject(null);
-    });
-  } else {
-    deferred.reject(null);
-  }
-
-  if (callback) deferred.promise.then(callback, callback);
-  return deferred.promise;
-}
-exports.getFavicon = getFavicon;
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/places/history.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "unstable",
-  "engines": {
-    "Firefox": "*",
-    "SeaMonkey": "*"
-  }
-};
-
-/*
- * Requiring hosts so they can subscribe to client messages
- */
-require('./host/host-bookmarks');
-require('./host/host-tags');
-require('./host/host-query');
-
-const { Cc, Ci } = require('chrome');
-const { Class } = require('../core/heritage');
-const { events, send } = require('../addon/events');
-const { defer, reject, all } = require('../core/promise');
-const { uuid } = require('../util/uuid');
-const { flatten } = require('../util/array');
-const { has, extend, merge, pick } = require('../util/object');
-const { emit } = require('../event/core');
-const { defer: async } = require('../lang/functional');
-const { EventTarget } = require('../event/target');
-const {
-  urlQueryParser, createQuery, createQueryOptions
-} = require('./utils');
-
-/*
- * Constant used by nsIHistoryQuery; 0 is a history query
- * https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsINavHistoryQueryOptions
- */
-const HISTORY_QUERY = 0;
-
-var search = function query (queries, options) {
-  queries = [].concat(queries);
-  let emitter = EventTarget();
-  let queryObjs = queries.map(createQuery.bind(null, HISTORY_QUERY));
-  let optionsObj = createQueryOptions(HISTORY_QUERY, options);
-
-  // Can remove after `Promise.jsm` is implemented in Bug 881047,
-  // which will guarantee next tick execution
-  async(() => {
-    send('sdk-places-query', {
-      query: queryObjs,
-      options: optionsObj
-    }).then(results => {
-      results.map(item => emit(emitter, 'data', item));
-      emit(emitter, 'end', results);
-    }, reason => {
-      emit(emitter, 'error', reason);
-      emit(emitter, 'end', []);
-    });
-  })();
-
-  return emitter;
-};
-exports.search = search;
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/places/host/host-bookmarks.js
+++ /dev/null
@@ -1,238 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "experimental",
-  "engines": {
-    "Firefox": "*",
-    "SeaMonkey": "*"
-  }
-};
-
-const { Cc, Ci } = require('chrome');
-const browserHistory = Cc["@mozilla.org/browser/nav-history-service;1"].
-                       getService(Ci.nsIBrowserHistory);
-const asyncHistory = Cc["@mozilla.org/browser/history;1"].
-                     getService(Ci.mozIAsyncHistory);
-const bmsrv = Cc["@mozilla.org/browser/nav-bookmarks-service;1"].
-                        getService(Ci.nsINavBookmarksService);
-const taggingService = Cc["@mozilla.org/browser/tagging-service;1"].
-                       getService(Ci.nsITaggingService);
-const ios = Cc['@mozilla.org/network/io-service;1'].
-            getService(Ci.nsIIOService);
-const { query } = require('./host-query');
-const {
-  defer, all, resolve, promised, reject
-} = require('../../core/promise');
-const { request, response } = require('../../addon/host');
-const { send } = require('../../addon/events');
-const { on, emit } = require('../../event/core');
-const { filter } = require('../../event/utils');
-const { URL, isValidURI } = require('../../url');
-const { newURI } = require('../../url/utils');
-
-const DEFAULT_INDEX = bmsrv.DEFAULT_INDEX;
-const UNSORTED_ID = bmsrv.unfiledBookmarksFolder;
-const ROOT_FOLDERS = [
-  bmsrv.unfiledBookmarksFolder, bmsrv.toolbarFolder,
-  bmsrv.tagsFolder, bmsrv.bookmarksMenuFolder
-];
-
-const EVENT_MAP = {
-  'sdk-places-bookmarks-create': createBookmarkItem,
-  'sdk-places-bookmarks-save': saveBookmarkItem,
-  'sdk-places-bookmarks-last-updated': getBookmarkLastUpdated,
-  'sdk-places-bookmarks-get': getBookmarkItem,
-  'sdk-places-bookmarks-remove': removeBookmarkItem,
-  'sdk-places-bookmarks-get-all': getAllBookmarks,
-  'sdk-places-bookmarks-get-children': getChildren
-};
-
-function typeMap (type) {
-  if (typeof type === 'number') {
-    if (bmsrv.TYPE_BOOKMARK === type) return 'bookmark';
-    if (bmsrv.TYPE_FOLDER === type) return 'group';
-    if (bmsrv.TYPE_SEPARATOR === type) return 'separator';
-  } else {
-    if ('bookmark' === type) return bmsrv.TYPE_BOOKMARK;
-    if ('group' === type) return bmsrv.TYPE_FOLDER;
-    if ('separator' === type) return bmsrv.TYPE_SEPARATOR;
-  }
-}
-
-function getBookmarkLastUpdated ({id}) {
-  return resolve(bmsrv.getItemLastModified(id));
-}
-exports.getBookmarkLastUpdated;
-
-function createBookmarkItem (data) {
-  let error;
-
-  if (data.group == null) data.group = UNSORTED_ID;
-  if (data.index == null) data.index = DEFAULT_INDEX;
-
-  if (data.type === 'group')
-    data.id = bmsrv.createFolder(
-      data.group, data.title, data.index
-    );
-  else if (data.type === 'separator')
-    data.id = bmsrv.insertSeparator(
-      data.group, data.index
-    );
-  else
-    data.id = bmsrv.insertBookmark(
-      data.group, newURI(data.url), data.index, data.title
-    );
-
-  // In the event where default or no index is provided (-1),
-  // query the actual index for the response
-  if (data.index === -1)
-    data.index = bmsrv.getItemIndex(data.id);
-
-  try {
-    data.updated = bmsrv.getItemLastModified(data.id);
-  }
-  catch (e) {
-    console.exception(e);
-  }
-
-  return tag(data, true).then(() => data);
-}
-exports.createBookmarkItem = createBookmarkItem;
-
-function saveBookmarkItem (data) {
-  let id = data.id;
-  if (!id)
-    reject('Item is missing id');
-
-  let group = bmsrv.getFolderIdForItem(id);
-  let index = bmsrv.getItemIndex(id);
-  let type = bmsrv.getItemType(id);
-  let title = typeMap(type) !== 'separator' ?
-    bmsrv.getItemTitle(id) :
-    undefined;
-  let url = typeMap(type) === 'bookmark' ?
-    bmsrv.getBookmarkURI(id).spec :
-    undefined;
-
-  if (url != data.url)
-    bmsrv.changeBookmarkURI(id, newURI(data.url));
-  else if (typeMap(type) === 'bookmark')
-    data.url = url;
-
-  if (title != data.title)
-    bmsrv.setItemTitle(id, data.title);
-  else if (typeMap(type) !== 'separator')
-    data.title = title;
-
-  if (data.group && data.group !== group)
-    bmsrv.moveItem(id, data.group, data.index || -1);
-  else if (data.index != null && data.index !== index) {
-    // We use moveItem here instead of setItemIndex
-    // so we don't have to manage the indicies of the siblings
-    bmsrv.moveItem(id, group, data.index);
-  } else if (data.index == null)
-    data.index = index;
-
-  data.updated = bmsrv.getItemLastModified(data.id);
-
-  return tag(data).then(() => data);
-}
-exports.saveBookmarkItem = saveBookmarkItem;
-
-function removeBookmarkItem (data) {
-  let id = data.id;
-
-  if (!id)
-    reject('Item is missing id');
-
-  bmsrv.removeItem(id);
-  return resolve(null);
-}
-exports.removeBookmarkItem = removeBookmarkItem;
-
-function getBookmarkItem (data) {
-  let id = data.id;
-
-  if (!id)
-    reject('Item is missing id');
-
-  let type = bmsrv.getItemType(id);
-
-  data.type = typeMap(type);
-
-  if (type === bmsrv.TYPE_BOOKMARK || type === bmsrv.TYPE_FOLDER)
-    data.title = bmsrv.getItemTitle(id);
-
-  if (type === bmsrv.TYPE_BOOKMARK) {
-    data.url = bmsrv.getBookmarkURI(id).spec;
-    // Should be moved into host-tags as a method
-    data.tags = taggingService.getTagsForURI(newURI(data.url), {});
-  }
-
-  data.group = bmsrv.getFolderIdForItem(id);
-  data.index = bmsrv.getItemIndex(id);
-  data.updated = bmsrv.getItemLastModified(data.id);
-
-  return resolve(data);
-}
-exports.getBookmarkItem = getBookmarkItem;
-
-function getAllBookmarks () {
-  return query({}, { queryType: 1 }).then(bookmarks =>
-    all(bookmarks.map(getBookmarkItem)));
-}
-exports.getAllBookmarks = getAllBookmarks;
-
-function getChildren ({ id }) {
-  if (typeMap(bmsrv.getItemType(id)) !== 'group') return [];
-  let ids = [];
-  for (let i = 0; ids[ids.length - 1] !== -1; i++)
-    ids.push(bmsrv.getIdForItemAt(id, i));
-  ids.pop();
-  return all(ids.map(id => getBookmarkItem({ id: id })));
-}
-exports.getChildren = getChildren;
-
-/*
- * Hook into host
- */
-
-var reqStream = filter(request, (data) => /sdk-places-bookmarks/.test(data.event));
-on(reqStream, 'data', ({ event, id, data }) => {
-  if (!EVENT_MAP[event]) return;
-
-  let resData = { id: id, event: event };
-
-  promised(EVENT_MAP[event])(data).
-  then(res => resData.data = res, e => resData.error = e).
-  then(() => emit(response, 'data', resData));
-});
-
-function tag (data, isNew) {
-  // If a new item, we can skip checking what other tags
-  // are on the item
-  if (data.type !== 'bookmark') {
-    return resolve();
-  }
-  else if (!isNew) {
-    return send('sdk-places-tags-get-tags-by-url', { url: data.url })
-      .then(tags => {
-        return send('sdk-places-tags-untag', {
-          tags: tags.filter(tag => !~data.tags.indexOf(tag)),
-          url: data.url
-        });
-      }).then(() => send('sdk-places-tags-tag', {
-        url: data.url, tags: data.tags
-      }));
-  }
-  else if (data.tags && data.tags.length) {
-    return send('sdk-places-tags-tag', { url: data.url, tags: data.tags });
-  }
-  else
-    return resolve();
-}
-
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/places/host/host-query.js
+++ /dev/null
@@ -1,179 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-"use strict";
-
-module.metadata = {
-  "stability": "experimental",
-  "engines": {
-    "Firefox": "*",
-    "SeaMonkey": "*"
-  }
-};
-
-const { Cc, Ci } = require('chrome');
-const { all } = require('../../core/promise');
-const { safeMerge, omit } = require('../../util/object');
-const historyService = Cc['@mozilla.org/browser/nav-history-service;1']
-                     .getService(Ci.nsINavHistoryService);
-const bookmarksService = Cc['@mozilla.org/browser/nav-bookmarks-service;1']
-                         .getService(Ci.nsINavBookmarksService);
-const { request, response } = require('../../addon/host');
-const { newURI } = require('../../url/utils');
-const { send } = require('../../addon/events');
-const { on, emit } = require('../../event/core');
-const { filter } = require('../../event/utils');
-
-const ROOT_FOLDERS = [
-  bookmarksService.unfiledBookmarksFolder, bookmarksService.toolbarFolder,
-  bookmarksService.bookmarksMenuFolder
-];
-
-const EVENT_MAP = {
-  'sdk-places-query': queryReceiver
-};
-
-// Properties that need to be manually
-// copied into a nsINavHistoryQuery object
-const MANUAL_QUERY_PROPERTIES = [
-  'uri', 'folder', 'tags', 'url', 'folder'
-];
-
-const PLACES_PROPERTIES = [
-  'uri', 'title', 'accessCount', 'time'
-];
-
-function execute (queries, options) {
-  return new Promise(resolve => {
-    let root = historyService
-        .executeQueries(queries, queries.length, options).root;
-    // Let's extract an eventual uri wildcard, if both domain and uri are set.
-    // See utils.js::urlQueryParser() for more details.
-    // In case of multiple queries, we only retain the first found wildcard.
-    let uriWildcard = queries.reduce((prev, query) => {
-      if (query.uri && query.domain) {
-        if (!prev)
-          prev = query.uri.spec;
-        query.uri = null;
-      }
-      return prev;
-    }, "");
-    resolve(collect([], root, uriWildcard));
-  });
-}
-
-function collect (acc, node, uriWildcard) {
-  node.containerOpen = true;
-  for (let i = 0; i < node.childCount; i++) {
-    let child = node.getChild(i);
-
-    if (!uriWildcard || child.uri.startsWith(uriWildcard)) {
-      acc.push(child);
-    }
-    if (child.type === child.RESULT_TYPE_FOLDER) {
-      let container = child.QueryInterface(Ci.nsINavHistoryContainerResultNode);
-      collect(acc, container, uriWildcard);
-    }
-  }
-  node.containerOpen = false;
-  return acc;
-}
-
-function query (queries, options) {
-  return new Promise((resolve, reject) => {
-    queries = queries || [];
-    options = options || {};
-    let optionsObj, queryObjs;
-
-    optionsObj = historyService.getNewQueryOptions();
-    queryObjs = [].concat(queries).map(createQuery);
-    if (!queryObjs.length) {
-      queryObjs = [historyService.getNewQuery()];
-    }
-    safeMerge(optionsObj, options);
-
-    /*
-     * Currently `places:` queries are not supported
-     */
-    optionsObj.excludeQueries = true;
-
-    execute(queryObjs, optionsObj).then((results) => {
-      if (optionsObj.queryType === 0) {
-        return results.map(normalize);
-      }
-      else if (optionsObj.queryType === 1) {
-        // Formats query results into more standard
-        // data structures for returning
-        return all(results.map(({itemId}) =>
-          send('sdk-places-bookmarks-get', { id: itemId })));
-      }
-    }).then(resolve, reject);
-  });
-}
-exports.query = query;
-
-function createQuery (query) {
-  query = query || {};
-  let queryObj = historyService.getNewQuery();
-
-  safeMerge(queryObj, omit(query, MANUAL_QUERY_PROPERTIES));
-
-  if (query.tags && Array.isArray(query.tags))
-    queryObj.tags = query.tags;
-  if (query.uri || query.url)
-    queryObj.uri = newURI(query.uri || query.url);
-  if (query.folder)
-    queryObj.setFolders([query.folder], 1);
-  return queryObj;
-}
-
-function queryReceiver (message) {
-  let queries = message.data.queries || message.data.query;
-  let options = message.data.options;
-  let resData = {
-    id: message.id,
-    event: message.event
-  };
-
-  query(queries, options).then(results => {
-    resData.data = results;
-    respond(resData);
-  }, reason => {
-    resData.error = reason;
-    respond(resData);
-  });
-}
-
-/*
- * Converts a nsINavHistoryResultNode into a plain object
- *
- * https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsINavHistoryResultNode
- */
-function normalize (historyObj) {
-  return PLACES_PROPERTIES.reduce((obj, prop) => {
-    if (prop === 'uri')
-      obj.url = historyObj.uri;
-    else if (prop === 'time') {
-      // Cast from microseconds to milliseconds
-      obj.time = Math.floor(historyObj.time / 1000)
-    }
-    else if (prop === 'accessCount')
-      obj.visitCount = historyObj[prop];
-    else
-      obj[prop] = historyObj[prop];
-    return obj;
-  }, {});
-}
-
-/*
- * Hook into host
- */
-
-var reqStream = filter(request, data => /sdk-places-query/.test(data.event));
-on(reqStream, 'data', function (e) {
-  if (EVENT_MAP[e.event]) EVENT_MAP[e.event](e);
-});
-
-function respond (data) {
-  emit(response, 'data', data);
-}
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/places/host/host-tags.js
+++ /dev/null
@@ -1,94 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-module.metadata = {
-  "stability": "experimental",
-  "engines": {
-    "Firefox": "*",
-    "SeaMonkey": "*"
-  }
-};
-
-const { Cc, Ci } = require('chrome');
-const taggingService = Cc["@mozilla.org/browser/tagging-service;1"].
-                       getService(Ci.nsITaggingService);
-const ios = Cc['@mozilla.org/network/io-service;1'].
-            getService(Ci.nsIIOService);
-const { URL } = require('../../url');
-const { newURI } = require('../../url/utils');
-const { request, response } = require('../../addon/host');
-const { on, emit } = require('../../event/core');
-const { filter } = require('../../event/utils');
-
-const EVENT_MAP = {
-  'sdk-places-tags-tag': tag,
-  'sdk-places-tags-untag': untag,
-  'sdk-places-tags-get-tags-by-url': getTagsByURL,
-  'sdk-places-tags-get-urls-by-tag': getURLsByTag
-};
-
-function tag (message) {
-  let data = message.data;
-  let resData = {
-    id: message.id,
-    event: message.event
-  };
-
-  if (data.tags && data.tags.length > 0)
-    resData.data = taggingService.tagURI(newURI(data.url), data.tags);
-  respond(resData);
-}
-
-function untag (message) {
-  let data = message.data;
-  let resData = {
-    id: message.id,
-    event: message.event
-  };
-
-  if (!data.tags || data.tags.length > 0)
-    resData.data = taggingService.untagURI(newURI(data.url), data.tags);
-  respond(resData);
-}
-
-function getURLsByTag (message) {
-  let data = message.data;
-  let resData = {
-    id: message.id,
-    event: message.event
-  };
-
-  resData.data = taggingService
-    .getURIsForTag(data.tag).map(uri => uri.spec);
-  respond(resData);
-}
-
-function getTagsByURL (message) {
-  let data = message.data;
-  let resData = {
-    id: message.id,
-    event: message.event
-  };
-
-  resData.data = taggingService.getTagsForURI(newURI(data.url), {});
-  respond(resData);
-}
-
-/*
- * Hook into host
- */
-
-var reqStream = filter(request, function (data) {
-  return /sdk-places-tags/.test(data.event);
-});
-
-on(reqStream, 'data', function (e) {
-  if (EVENT_MAP[e.event]) EVENT_MAP[e.event](e);
-});
-
-function respond (data) {
-  emit(response, 'data', data);
-}
deleted file mode 100644
--- a/addon-sdk/source/lib/sdk/places/utils.js
+++ /dev/null
@@ -1,268 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-'use strict';
-
-module.metadata = {
-  "stability": "experimental",
-  "engines": {
-    "Firefox": "*",
-    "SeaMonkey": "*"
-  }
-};
-
-const { Cc, Ci, Cu } = require('chrome');
-const { Class } = require('../core/heritage');
-const { method } = require('../lang/functional');
-const { defer, promised, all } = require('../core/promise');
-const { send } = require('../addon/events');
-const { EventTarget } = require('../event/target');
-const { merge } = require('../util/object');
-const bmsrv = Cc["@mozilla.org/browser/nav-bookmarks-service;1"].
-                getService(Ci.nsINavBookmarksService);
-
-Cu.importGlobalProperties(["URL"]);
-
-/*
- * TreeNodes are used to construct dependency trees
- * for BookmarkItems
- */
-var TreeNode = Class({
-  initialize: function (value) {
-    this.value = value;
-    this.children = [];
-  },
-  add: function (values) {
-    [].concat(values).forEach(value => {
-      this.children.push(value instanceof TreeNode ? value : TreeNode(value));
-    });
-  },
-  get length () {
-    let count = 0;
-    this.walk(() => count++);
-    // Do not count the current node
-    return --count;
-  },
-  get: method(get),
-  walk: method(walk),
-  toString: () => '[object TreeNode]'
-});
-exports.TreeNode = TreeNode;
-
-/*
- * Descends down from `node` applying `fn` to each in order.
- * `fn` can return values or promises -- if promise returned,
- * children are not processed until resolved. `fn` is passed
- * one argument, the current node, `curr`.
- */
-function walk (curr, fn) {
-  return promised(fn)(curr).then(val => {
-    return all(curr.children.map(child => walk(child, fn)));
-  });
-}
-
-/*
- * Descends from the TreeNode `node`, returning
- * the node with value `value` if found or `null`
- * otherwise
- */
-function get (node, value) {
-  if (node.value === value) return node;
-  for (let child of node.children) {
-    let found = get(child, value);
-    if (found) return found;
-  }
-  return null;
-}
-
-/*
- * Constructs a tree of bookmark nodes
- * returning the root (value: null);
- */
-
-function constructTree (items) {
-  let root = TreeNode(null);
-  items.forEach(treeify.bind(null, root));
-
-  function treeify (root, item) {
-    // If node already exists, skip
-    let node = root.get(item);
-    if (node) return node;
-    node = TreeNode(item);
-
-    let parentNode = item.group ? treeify(root, item.group) : root;
-    parentNode.add(node);
-
-    return node;
-  }
-
-  return root;
-}
-exports.constructTree = constructTree;
-
-/*
- * Shortcut for converting an id, or an object with an id, into
- * an object with corresponding bookmark data
- */
-function fetchItem (item) {
-  return send('sdk-places-bookmarks-get', { id: item.id || item });
-}
-exports.fetchItem = fetchItem;
-
-/*
- * Takes an ID or an object with ID and checks it against
- * the root bookmark folders
- */
-function isRootGroup (id) {
-  id = id && id.id;
-  return ~[bmsrv.bookmarksMenuFolder, bmsrv.toolbarFolder,
-    bmsrv.unfiledBookmarksFolder
-  ].indexOf(id);
-}
-exports.isRootGroup = isRootGroup;
-
-/*
- * Merges appropriate options into query based off of url
- * 4 scenarios:
- *
- * 'moz.com' // domain: moz.com, domainIsHost: true
- *    --> 'http://moz.com', 'http://moz.com/thunderbird'
- * '*.moz.com' // domain: moz.com, domainIsHost: false
- *    --> 'http://moz.com', 'http://moz.com/index', 'http://ff.moz.com/test'
- * 'http://moz.com' // uri: http://moz.com/
- *    --> 'http://moz.com/'
- * 'http://moz.com/*' // uri: http://moz.com/, domain: moz.com, domainIsHost: true
- *    --> 'http://moz.com/', 'http://moz.com/thunderbird'
- */
-
-function urlQueryParser (query, url) {
-  if (!url) return;
-  if (/^https?:\/\//.test(url)) {
-    query.uri = url.charAt(url.length - 1) === '/' ? url : url + '/';
-    if (/\*$/.test(url)) {
-      // Wildcard searches on URIs are not supported, so try to extract a
-      // domain and filter the data later.
-      url = url.replace(/\*$/, '');
-      try {
-        query.domain = new URL(url).hostname;
-        query.domainIsHost = true;
-        // Unfortunately here we cannot use an expando to store the wildcard,
-        // cause the query is a wrapped native XPCOM object, so we reuse uri.
-        // We clearly don't want to query for both uri and domain, thus we'll
-        // have to handle this in host-query.js::execute()
-        query.uri = url;
-      } catch (ex) {
-        // Cannot extract an host cause it's not a valid uri, the query will
-        // just return nothing.
-      }
-    }
-  } else {
-    if (/^\*/.test(url)) {
-      query.domain = url.replace(/^\*\./, '');
-      query.domainIsHost = false;
-    } else {
-      query.domain = url;
-      query.domainIsHost = true;
-    }
-  }
-}
-exports.urlQueryParser = urlQueryParser;
-
-/*
- * Takes an EventEmitter and returns a promise that
- * aggregates results and handles a bulk resolve and reject
- */
-
-function promisedEmitter (emitter) {
-  let { promise, resolve, reject } = defer();
-  let errors = [];
-  emitter.on('error', error => errors.push(error));
-  emitter.on('end', (items) => {
-    if (errors.length) reject(errors[0]);
-    else resolve(items);
-  });
-  return promise;
-}
-exports.promisedEmitter = promisedEmitter;
-
-
-// https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsINavHistoryQueryOptions
-function createQuery (type, query) {
-  query = query || {};
-  let qObj = {
-    searchTerms: query.query
-  };
-
-  urlQueryParser(qObj, query.url);
-
-  // 0 === history
-  if (type === 0) {
-    // PRTime used by query is in microseconds, not milliseconds
-    qObj.beginTime = (query.from || 0) * 1000;
-    qObj.endTime = (query.to || new Date()) * 1000;
-
-    // Set reference time to Epoch
-    qObj.beginTimeReference = 0;
-    qObj.endTimeReference = 0;
-  }
-  // 1 === bookmarks
-  else if (type === 1) {
-    qObj.tags = query.tags;
-    qObj.folder = query.group && query.group.id;
-  }
-  // 2 === unified (not implemented on platform)
-  else if (type === 2) {
-
-  }
-
-  return qObj;
-}
-exports.createQuery = createQuery;
-
-// https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsINavHistoryQueryOptions
-
-const SORT_MAP = {
-  title: 1,
-  date: 3, // sort by visit date
-  url: 5,
-  visitCount: 7,
-  // keywords currently unsupported
-  // keyword: 9,
-  dateAdded: 11, // bookmarks only
-  lastModified: 13 // bookmarks only
-};
-
-function createQueryOptions (type, options) {
-  options = options || {};
-  let oObj = {};
-  oObj.sortingMode = SORT_MAP[options.sort] || 0;
-  if (options.descending && options.sort)
-    oObj.sortingMode++;
-
-  // Resolve to default sort if ineligible based on query type
-  if (type === 0 && // history
-      (options.sort === 'dateAdded' || options.sort === 'lastModified'))
-    oObj.sortingMode = 0;
-
-  oObj.maxResults = typeof options.count === 'number' ? options.count : 0;
-
-  oObj.queryType = type;
-
-  return oObj;
-}
-exports.createQueryOptions = createQueryOptions;
-
-
-function mapBookmarkItemType (type) {
-  if (typeof type === 'number') {
-    if (bmsrv.TYPE_BOOKMARK === type) return 'bookmark';
-    if (bmsrv.TYPE_FOLDER === type) return 'group';
-    if (bmsrv.TYPE_SEPARATOR === type) return 'separator';
-  } else {
-    if ('bookmark' === type) return bmsrv.TYPE_BOOKMARK;
-    if ('group' === type) return bmsrv.TYPE_FOLDER;
-    if ('separator' === type) return bmsrv.TYPE_SEPARATOR;
-  }
-}
-exports.mapBookmarkItemType = mapBookmarkItemType;