diff --git a/.DS_Store b/.DS_Store index cec6999c..01c295d4 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..68a7f739 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,49 @@ +FROM node:12-alpine + +RUN apk add openjdk8 bash + +ENV JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk +ENV PATH="$JAVA_HOME/bin:${PATH}" + +WORKDIR /opt/backend + +COPY . . + +# This should be in the Dockerfile, but for now it's a script +RUN resources/build_automation/build_backend.sh + +## Build angular stuff and copy into WEB-INF +RUN apk add --update nodejs npm +RUN npm install -g @angular/cli +RUN apk add git + +WORKDIR ./SBOLCanvasFrontend +RUN npm install +RUN npm rebuild node-sass +RUN node --max-old-space-size=8192 +RUN npm run prebuild.prod +RUN ng build --prod --build-optimizer --vendor-chunk --progress --output-hashing=all --stats-json --source-map=true --base-href=/canvas/ + +#RUN resources/build_automation/build_frontend.sh + +# New container +FROM tomcat:9.0-jdk8-openjdk + +# Copy backend +COPY --from=0 /opt/backend/SBOLCanvasBackend/WebContent/api.war webapps + +# Copy frontend +COPY --from=0 /opt/backend/SBOLCanvasFrontend/dist/SBOLCanvasFrontend webapps/canvas + +# Copying configs for tomcat +ARG TOMCAT_AUTOMATION_DIR=/opt/backend/resources/server_automation/tomcat +#COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/base_config_files/tomcat-users.xml ${TOMCAT_AUTOMATION_DIR}/base_config_files/web.xml conf/ +#COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/base_config_files/server.xml conf/ +#COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/base_config_files/manager-context.xml webapps/manager/META-INF/context.xml +#COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/base_config_files/host-manager-context.xml webapps/host-manager/META-INF/context.xml +COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/ROOT_config/index.jsp webapps/ROOT/index.jsp + +COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/frontend_config_files/frontend_context.html webapps/canvas/META-INF/context.html +COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/frontend_config_files/frontend_rewrite.config webapps/canvas/WEB-INF/rewrite.config +COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/frontend_config_files/frontend_web.xml webapps/canvas/WEB-INF/web.xml + diff --git a/backend/.classpath b/SBOLCanvasBackend/.classpath similarity index 100% rename from backend/.classpath rename to SBOLCanvasBackend/.classpath diff --git a/backend/.gitignore b/SBOLCanvasBackend/.gitignore similarity index 100% rename from backend/.gitignore rename to SBOLCanvasBackend/.gitignore diff --git a/backend/.project b/SBOLCanvasBackend/.project similarity index 100% rename from backend/.project rename to SBOLCanvasBackend/.project diff --git a/backend/.settings/.jsdtscope b/SBOLCanvasBackend/.settings/.jsdtscope similarity index 100% rename from backend/.settings/.jsdtscope rename to SBOLCanvasBackend/.settings/.jsdtscope diff --git a/backend/.settings/org.eclipse.jdt.core.prefs b/SBOLCanvasBackend/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from backend/.settings/org.eclipse.jdt.core.prefs rename to SBOLCanvasBackend/.settings/org.eclipse.jdt.core.prefs diff --git a/backend/.settings/org.eclipse.wst.common.component b/SBOLCanvasBackend/.settings/org.eclipse.wst.common.component similarity index 100% rename from backend/.settings/org.eclipse.wst.common.component rename to SBOLCanvasBackend/.settings/org.eclipse.wst.common.component diff --git a/backend/.settings/org.eclipse.wst.common.project.facet.core.xml b/SBOLCanvasBackend/.settings/org.eclipse.wst.common.project.facet.core.xml similarity index 100% rename from backend/.settings/org.eclipse.wst.common.project.facet.core.xml rename to SBOLCanvasBackend/.settings/org.eclipse.wst.common.project.facet.core.xml diff --git a/backend/.settings/org.eclipse.wst.jsdt.ui.superType.container b/SBOLCanvasBackend/.settings/org.eclipse.wst.jsdt.ui.superType.container similarity index 100% rename from backend/.settings/org.eclipse.wst.jsdt.ui.superType.container rename to SBOLCanvasBackend/.settings/org.eclipse.wst.jsdt.ui.superType.container diff --git a/backend/.settings/org.eclipse.wst.jsdt.ui.superType.name b/SBOLCanvasBackend/.settings/org.eclipse.wst.jsdt.ui.superType.name similarity index 100% rename from backend/.settings/org.eclipse.wst.jsdt.ui.superType.name rename to SBOLCanvasBackend/.settings/org.eclipse.wst.jsdt.ui.superType.name diff --git a/SBOLCanvasBackend/WebContent/META-INF/MANIFEST.MF b/SBOLCanvasBackend/WebContent/META-INF/MANIFEST.MF new file mode 100644 index 00000000..254272e1 --- /dev/null +++ b/SBOLCanvasBackend/WebContent/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/GlyphInfo.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/GlyphInfo.class new file mode 100644 index 00000000..b63a9c14 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/GlyphInfo.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/Info.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/Info.class new file mode 100644 index 00000000..61d9bf4f Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/Info.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/InteractionInfo.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/InteractionInfo.class new file mode 100644 index 00000000..4292b42e Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/InteractionInfo.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/MxCell.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/MxCell.class new file mode 100644 index 00000000..96ef1ec5 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/MxCell.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/MxGeometry.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/MxGeometry.class new file mode 100644 index 00000000..e8322aa5 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/MxGeometry.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/MxPoint.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/MxPoint.class new file mode 100644 index 00000000..ca338c35 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/data/MxPoint.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/json/Success.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/json/Success.class new file mode 100644 index 00000000..fcd809ef Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/json/Success.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Convert.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Convert.class new file mode 100644 index 00000000..31d018ad Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Convert.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Data.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Data.class new file mode 100644 index 00000000..aaa3c62d Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Data.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Echo.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Echo.class new file mode 100644 index 00000000..69baefdd Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Echo.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Export$1.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Export$1.class new file mode 100644 index 00000000..6f8b2a5d Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Export$1.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Export.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Export.class new file mode 100644 index 00000000..87c93072 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/Export.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/SynBioHub.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/SynBioHub.class new file mode 100644 index 00000000..305f7f85 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/SynBioHub.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/BiMap.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/BiMap.class new file mode 100644 index 00000000..e506c182 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/BiMap.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Constants.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Constants.class new file mode 100644 index 00000000..5250aafb Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Constants.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter$1.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter$1.class new file mode 100644 index 00000000..1a66e051 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter$1.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter$2.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter$2.class new file mode 100644 index 00000000..e2dd839d Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter$2.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter.class new file mode 100644 index 00000000..21d3efd4 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter.class differ diff --git a/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/SBOLData.class b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/SBOLData.class new file mode 100644 index 00000000..f1b77624 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/SBOLData.class differ diff --git a/backend/lib/beam-core-0.9.2.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/beam-core-0.9.2.jar similarity index 100% rename from backend/lib/beam-core-0.9.2.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/beam-core-0.9.2.jar diff --git a/backend/lib/beam-func-0.9.2.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/beam-func-0.9.2.jar similarity index 100% rename from backend/lib/beam-func-0.9.2.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/beam-func-0.9.2.jar diff --git a/backend/lib/cdk-atomtype-1.5.14.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-atomtype-1.5.14.jar similarity index 100% rename from backend/lib/cdk-atomtype-1.5.14.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-atomtype-1.5.14.jar diff --git a/backend/lib/cdk-core-1.5.14.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-core-1.5.14.jar similarity index 100% rename from backend/lib/cdk-core-1.5.14.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-core-1.5.14.jar diff --git a/backend/lib/cdk-data-1.5.14.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-data-1.5.14.jar similarity index 100% rename from backend/lib/cdk-data-1.5.14.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-data-1.5.14.jar diff --git a/backend/lib/cdk-interfaces-1.5.14.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-interfaces-1.5.14.jar similarity index 100% rename from backend/lib/cdk-interfaces-1.5.14.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-interfaces-1.5.14.jar diff --git a/backend/lib/cdk-io-1.5.14.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-io-1.5.14.jar similarity index 100% rename from backend/lib/cdk-io-1.5.14.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-io-1.5.14.jar diff --git a/backend/lib/cdk-ioformats-1.5.14.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-ioformats-1.5.14.jar similarity index 100% rename from backend/lib/cdk-ioformats-1.5.14.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-ioformats-1.5.14.jar diff --git a/backend/lib/cdk-isomorphism-1.5.14.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-isomorphism-1.5.14.jar similarity index 100% rename from backend/lib/cdk-isomorphism-1.5.14.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-isomorphism-1.5.14.jar diff --git a/backend/lib/cdk-smiles-1.5.14.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-smiles-1.5.14.jar similarity index 100% rename from backend/lib/cdk-smiles-1.5.14.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-smiles-1.5.14.jar diff --git a/backend/lib/cdk-standard-1.5.14.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-standard-1.5.14.jar similarity index 100% rename from backend/lib/cdk-standard-1.5.14.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-standard-1.5.14.jar diff --git a/backend/lib/cdk-valencycheck-1.5.14.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-valencycheck-1.5.14.jar similarity index 100% rename from backend/lib/cdk-valencycheck-1.5.14.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/cdk-valencycheck-1.5.14.jar diff --git a/backend/lib/commons-codec-1.10.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/commons-codec-1.10.jar similarity index 100% rename from backend/lib/commons-codec-1.10.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/commons-codec-1.10.jar diff --git a/backend/lib/commons-codec-1.9.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/commons-codec-1.9.jar similarity index 100% rename from backend/lib/commons-codec-1.9.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/commons-codec-1.9.jar diff --git a/backend/lib/commons-io-1.3.2.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/commons-io-1.3.2.jar similarity index 100% rename from backend/lib/commons-io-1.3.2.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/commons-io-1.3.2.jar diff --git a/backend/lib/commons-io-2.5.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/commons-io-2.5.jar similarity index 100% rename from backend/lib/commons-io-2.5.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/commons-io-2.5.jar diff --git a/backend/lib/commons-logging-1.2.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/commons-logging-1.2.jar similarity index 100% rename from backend/lib/commons-logging-1.2.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/commons-logging-1.2.jar diff --git a/backend/lib/gson-2.7.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/gson-2.7.jar similarity index 100% rename from backend/lib/gson-2.7.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/gson-2.7.jar diff --git a/backend/lib/guava-17.0.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/guava-17.0.jar similarity index 100% rename from backend/lib/guava-17.0.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/guava-17.0.jar diff --git a/backend/lib/hamcrest-core-1.3.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/hamcrest-core-1.3.jar similarity index 100% rename from backend/lib/hamcrest-core-1.3.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/hamcrest-core-1.3.jar diff --git a/backend/lib/httpclient-4.5.1.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/httpclient-4.5.1.jar similarity index 100% rename from backend/lib/httpclient-4.5.1.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/httpclient-4.5.1.jar diff --git a/backend/lib/httpclient-4.5.3.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/httpclient-4.5.3.jar similarity index 100% rename from backend/lib/httpclient-4.5.3.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/httpclient-4.5.3.jar diff --git a/backend/lib/httpcore-4.4.3.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/httpcore-4.4.3.jar similarity index 100% rename from backend/lib/httpcore-4.4.3.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/httpcore-4.4.3.jar diff --git a/backend/lib/httpcore-4.4.6.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/httpcore-4.4.6.jar similarity index 100% rename from backend/lib/httpcore-4.4.6.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/httpcore-4.4.6.jar diff --git a/backend/lib/httpmime-4.5.4.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/httpmime-4.5.4.jar similarity index 100% rename from backend/lib/httpmime-4.5.4.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/httpmime-4.5.4.jar diff --git a/backend/lib/javassist-3.12.1.GA.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/javassist-3.12.1.GA.jar similarity index 100% rename from backend/lib/javassist-3.12.1.GA.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/javassist-3.12.1.GA.jar diff --git a/backend/lib/javax.json-1.0.2.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/javax.json-1.0.2.jar similarity index 100% rename from backend/lib/javax.json-1.0.2.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/javax.json-1.0.2.jar diff --git a/backend/lib/jdom-1.1.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/jdom-1.1.jar similarity index 100% rename from backend/lib/jdom-1.1.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/jdom-1.1.jar diff --git a/backend/lib/joda-time-2.9.9.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/joda-time-2.9.9.jar similarity index 100% rename from backend/lib/joda-time-2.9.9.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/joda-time-2.9.9.jar diff --git a/backend/lib/json-simple-1.1.1.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/json-simple-1.1.1.jar similarity index 100% rename from backend/lib/json-simple-1.1.1.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/json-simple-1.1.1.jar diff --git a/backend/lib/junit-4.12.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/junit-4.12.jar similarity index 100% rename from backend/lib/junit-4.12.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/junit-4.12.jar diff --git a/backend/lib/libSBOLj-2.4.1-SNAPSHOT-withDependencies.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/libSBOLj-2.4.1-SNAPSHOT-withDependencies.jar similarity index 100% rename from backend/lib/libSBOLj-2.4.1-SNAPSHOT-withDependencies.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/libSBOLj-2.4.1-SNAPSHOT-withDependencies.jar diff --git a/backend/lib/libSBOLj-2.4.1-SNAPSHOT-withDependencies.jar.old b/SBOLCanvasBackend/WebContent/WEB-INF/lib/libSBOLj-2.4.1-SNAPSHOT-withDependencies.jar.old similarity index 100% rename from backend/lib/libSBOLj-2.4.1-SNAPSHOT-withDependencies.jar.old rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/libSBOLj-2.4.1-SNAPSHOT-withDependencies.jar.old diff --git a/backend/lib/mxPdf.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/mxPdf.jar similarity index 100% rename from backend/lib/mxPdf.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/mxPdf.jar diff --git a/backend/lib/mxgraph-all.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/mxgraph-all.jar similarity index 100% rename from backend/lib/mxgraph-all.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/mxgraph-all.jar diff --git a/backend/lib/stax-utils-20070216.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/stax-utils-20070216.jar similarity index 100% rename from backend/lib/stax-utils-20070216.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/stax-utils-20070216.jar diff --git a/backend/lib/vecmath-1.5.2.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/vecmath-1.5.2.jar similarity index 100% rename from backend/lib/vecmath-1.5.2.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/vecmath-1.5.2.jar diff --git a/backend/lib/xpp3-1.1.4c.jar b/SBOLCanvasBackend/WebContent/WEB-INF/lib/xpp3-1.1.4c.jar similarity index 100% rename from backend/lib/xpp3-1.1.4c.jar rename to SBOLCanvasBackend/WebContent/WEB-INF/lib/xpp3-1.1.4c.jar diff --git a/backend/web.xml b/SBOLCanvasBackend/WebContent/WEB-INF/web.xml similarity index 100% rename from backend/web.xml rename to SBOLCanvasBackend/WebContent/WEB-INF/web.xml diff --git a/SBOLCanvasBackend/WebContent/api.war b/SBOLCanvasBackend/WebContent/api.war new file mode 100644 index 00000000..9255a407 Binary files /dev/null and b/SBOLCanvasBackend/WebContent/api.war differ diff --git a/backend/src/data/CanvasAnnotation.java b/SBOLCanvasBackend/src/data/CanvasAnnotation.java similarity index 100% rename from backend/src/data/CanvasAnnotation.java rename to SBOLCanvasBackend/src/data/CanvasAnnotation.java diff --git a/backend/src/data/CombinatorialInfo.java b/SBOLCanvasBackend/src/data/CombinatorialInfo.java similarity index 100% rename from backend/src/data/CombinatorialInfo.java rename to SBOLCanvasBackend/src/data/CombinatorialInfo.java diff --git a/backend/src/data/GlyphInfo.java b/SBOLCanvasBackend/src/data/GlyphInfo.java similarity index 100% rename from backend/src/data/GlyphInfo.java rename to SBOLCanvasBackend/src/data/GlyphInfo.java diff --git a/backend/src/data/IdentifiedInfo.java b/SBOLCanvasBackend/src/data/IdentifiedInfo.java similarity index 100% rename from backend/src/data/IdentifiedInfo.java rename to SBOLCanvasBackend/src/data/IdentifiedInfo.java diff --git a/backend/src/data/Info.java b/SBOLCanvasBackend/src/data/Info.java similarity index 100% rename from backend/src/data/Info.java rename to SBOLCanvasBackend/src/data/Info.java diff --git a/backend/src/data/InteractionInfo.java b/SBOLCanvasBackend/src/data/InteractionInfo.java similarity index 97% rename from backend/src/data/InteractionInfo.java rename to SBOLCanvasBackend/src/data/InteractionInfo.java index 4630cb9b..79c2d272 100644 --- a/backend/src/data/InteractionInfo.java +++ b/SBOLCanvasBackend/src/data/InteractionInfo.java @@ -65,7 +65,7 @@ public Hashtable getTargetRefinement() { } public void setTargetRefinement(Hashtable targetRefinement) { - this.targetRefinement = targetRefinement; + this.targetRefinement = targetRefinement; } public Hashtable getFromURI() { diff --git a/backend/src/data/ModuleInfo.java b/SBOLCanvasBackend/src/data/ModuleInfo.java similarity index 100% rename from backend/src/data/ModuleInfo.java rename to SBOLCanvasBackend/src/data/ModuleInfo.java diff --git a/backend/src/data/VariableComponentInfo.java b/SBOLCanvasBackend/src/data/VariableComponentInfo.java similarity index 100% rename from backend/src/data/VariableComponentInfo.java rename to SBOLCanvasBackend/src/data/VariableComponentInfo.java diff --git a/backend/src/json/Success.java b/SBOLCanvasBackend/src/json/Success.java similarity index 100% rename from backend/src/json/Success.java rename to SBOLCanvasBackend/src/json/Success.java diff --git a/backend/src/servlets/Convert.java b/SBOLCanvasBackend/src/servlets/Convert.java similarity index 100% rename from backend/src/servlets/Convert.java rename to SBOLCanvasBackend/src/servlets/Convert.java diff --git a/backend/src/servlets/Data.java b/SBOLCanvasBackend/src/servlets/Data.java similarity index 100% rename from backend/src/servlets/Data.java rename to SBOLCanvasBackend/src/servlets/Data.java diff --git a/backend/src/servlets/Echo.java b/SBOLCanvasBackend/src/servlets/Echo.java similarity index 100% rename from backend/src/servlets/Echo.java rename to SBOLCanvasBackend/src/servlets/Echo.java diff --git a/backend/src/servlets/Enumerate.java b/SBOLCanvasBackend/src/servlets/Enumerate.java similarity index 100% rename from backend/src/servlets/Enumerate.java rename to SBOLCanvasBackend/src/servlets/Enumerate.java diff --git a/backend/src/servlets/Export.java b/SBOLCanvasBackend/src/servlets/Export.java similarity index 100% rename from backend/src/servlets/Export.java rename to SBOLCanvasBackend/src/servlets/Export.java diff --git a/SBOLCanvasBackend/src/servlets/SynBioHub.java b/SBOLCanvasBackend/src/servlets/SynBioHub.java new file mode 100644 index 00000000..9a08ad1f --- /dev/null +++ b/SBOLCanvasBackend/src/servlets/SynBioHub.java @@ -0,0 +1,365 @@ +package servlets; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.net.URI; +import java.net.URISyntaxException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.LinkedList; +import java.util.List; +import java.util.TreeSet; + +import javax.servlet.ServletOutputStream; +import javax.servlet.annotation.WebServlet; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import javax.xml.parsers.ParserConfigurationException; +import javax.xml.transform.TransformerException; +import javax.xml.transform.TransformerFactoryConfigurationError; + +import org.apache.commons.io.IOUtils; +import org.apache.http.HttpStatus; +import org.sbolstandard.core2.SBOLConversionException; +import org.sbolstandard.core2.SBOLDocument; +import org.sbolstandard.core2.SBOLReader; +import org.sbolstandard.core2.SBOLValidationException; +import org.sbolstandard.core2.SBOLWriter; +import org.synbiohub.frontend.IdentifiedMetadata; +import org.synbiohub.frontend.SearchCriteria; +import org.synbiohub.frontend.SearchQuery; +import org.synbiohub.frontend.SynBioHubException; +import org.synbiohub.frontend.SynBioHubFrontend; +import org.synbiohub.frontend.WebOfRegistriesData; +import org.xml.sax.SAXException; + +import com.google.gson.Gson; + +import utils.MxToSBOL; +import utils.SBOLData; +import utils.SBOLToMx; + +@SuppressWarnings("serial") +@WebServlet(urlPatterns = { "/SynBioHub/*" }) +public class SynBioHub extends HttpServlet { + + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException { + Gson gson = new Gson(); + try { + String body = null; + // parameters for the different methods + String authorization = request.getHeader("Authorization"); + String email = null; + String password = null; + String user = null; + if (authorization != null && authorization.split(":").length > 1) { + String[] tokens = authorization.split(":"); + email = tokens[0]; + password = tokens[1]; + } else { + user = authorization; + } + String server = request.getParameter("server"); + + if (request.getPathInfo().equals("/registries")) { + + List registries = null; + registries = SynBioHubFrontend.getRegistries(); + LinkedList registryURLs = new LinkedList(); + for (WebOfRegistriesData registry : registries) { + registryURLs.add(registry.getInstanceUrl()); + } + body = gson.toJson(registryURLs); + + } else if (request.getPathInfo().equals("/login")) { + + if (email == null || password == null || server == null || email.equals("") || password.equals("") + || server.equals("")) { + response.setStatus(HttpStatus.SC_BAD_REQUEST); + return; + } + SynBioHubFrontend sbhf = new SynBioHubFrontend(server); + try { + sbhf.login(email, password); + } catch (SynBioHubException e) { + if (e.getMessage().equals("org.synbiohub.frontend.PermissionException")) { + response.setStatus(HttpStatus.SC_UNAUTHORIZED); + return; + } + throw e; + } + user = sbhf.getUser(); + body = user; + + } else if (request.getPathInfo().equals("/logout")) { + + if(server == null || user == null) { + response.setStatus(HttpStatus.SC_BAD_REQUEST); + return; + } + + SynBioHubFrontend sbhf = new SynBioHubFrontend(server); + sbhf.setUser(user); + sbhf.logout(); + response.setStatus(HttpStatus.SC_OK); + return; + + }else if (request.getPathInfo().equals("/listMyCollections")) { + + if (server == null || user == null) { + response.setStatus(HttpStatus.SC_BAD_REQUEST); + return; + } + SynBioHubFrontend sbhf = new SynBioHubFrontend(server); + sbhf.setUser(user); + List collections = sbhf.getRootCollectionMetadata(); + collections.removeIf(collection -> (collection.getUri().contains("/public/"))); + body = gson.toJson(collections); + + } else if (request.getPathInfo().equals("/listRegistryParts")) { + String collection = request.getParameter("collection"); + String type = request.getParameter("type"); + String role = request.getParameter("role"); + String mode = request.getParameter("mode"); + + if (mode == null) { + response.setStatus(HttpStatus.SC_BAD_REQUEST); + return; + } + + SynBioHubFrontend sbhf = new SynBioHubFrontend(server); + if (user != null) + sbhf.setUser(user); + + TreeSet roles = null; + TreeSet types = null; + TreeSet collections = null; + if (role != null && role.length() > 0) { + roles = new TreeSet(); + if (SBOLData.roles.ContainsKey(role)) + roles.add(SBOLData.roles.getValue(role)); + else + roles.add(SBOLData.refinements.getValue(role)); + } + if (type != null && type.length() > 0) { + types = new TreeSet(); + types.add(SBOLData.types.getValue(type)); + } + if (collection != null) { + collections = new TreeSet(); + collections.add(URI.create(collection)); + } + + ArrayList results = new ArrayList(); + if (mode.equals("collections")) { + if (collections == null) { + results.addAll(sbhf.getRootCollectionMetadata()); + } else { + for (URI collectionURI : collections) { + results.addAll(sbhf.getSubCollectionMetadata(collectionURI)); + } + } + } else if (mode.equals("components") && collections != null) { + results.addAll( + sbhf.getMatchingComponentDefinitionMetadata(null, roles, types, collections, null, null)); + } else if (mode.equals("modules") && collections != null) { + // SynbioHubFrontend doesn't have anything easy for modules + SearchQuery query = new SearchQuery(); + + SearchCriteria objectCriteria = new SearchCriteria(); + objectCriteria.setKey("objectType"); + objectCriteria.setValue("ModuleDefinition"); + query.addCriteria(objectCriteria); + + if (collections != null) { + for (URI uri : collections) { + SearchCriteria collectionCriteria = new SearchCriteria(); + collectionCriteria.setKey("collection"); + collectionCriteria.setValue(uri.toString()); + query.getCriteria().add(collectionCriteria); + } + } + + results.addAll(sbhf.search(query)); + } + + body = gson.toJson(results.toArray(new IdentifiedMetadata[0])); + + } else if (request.getPathInfo().equals("/listLayouts")) { + //TODO come back to me + } else if (request.getPathInfo().equals("/listCombinatorials")) { + String template = request.getParameter("template"); + + ArrayList results = new ArrayList(); + + SynBioHubFrontend sbhf = new SynBioHubFrontend(server); + sbhf.setUser(user); + + SearchQuery query = new SearchQuery(); + + SearchCriteria objectTypeCriteria = new SearchCriteria(); + objectTypeCriteria.setKey("objectType"); + objectTypeCriteria.setValue("CombinatorialDerivation"); + query.addCriteria(objectTypeCriteria); + + SearchCriteria sbolTagCriteria = new SearchCriteria(); + sbolTagCriteria.setKey("template"); + sbolTagCriteria.setValue(template); + query.addCriteria(sbolTagCriteria); + + results.addAll(sbhf.search(query)); + + body = gson.toJson(results.toArray(new IdentifiedMetadata[0])); + + } else if (request.getPathInfo().equals("/getRegistryPart")) { + String uri = request.getParameter("uri"); + if (uri == null) { + response.setStatus(HttpStatus.SC_BAD_REQUEST); + return; + } + + String combinatorial = request.getParameter("combinatorial"); + + SynBioHubFrontend sbhf = new SynBioHubFrontend(server); + sbhf.setUser(user); + SBOLToMx converter = new SBOLToMx(); + + String layoutURI = uri.substring(0,uri.lastIndexOf("/"))+"_Layout"+uri.substring(uri.lastIndexOf("/"), uri.length()); + SBOLDocument document; + try { + document = sbhf.getSBOL(URI.create(layoutURI), true); + }catch(SynBioHubException e) { + document = sbhf.getSBOL(URI.create(uri), true); + } + if(document == null) { + document = sbhf.getSBOL(URI.create(uri), true); + } + + SBOLDocument combDocument = null; + if(combinatorial != null) { + combDocument = sbhf.getSBOL(URI.create(combinatorial), true); + } + + converter.toGraph(document, combDocument, response.getOutputStream()); + response.setStatus(HttpStatus.SC_OK); + return; + }else if(request.getPathInfo().equals("/importRegistryPart")) { + String uri = request.getParameter("uri"); + if(uri == null) { + response.setStatus(HttpStatus.SC_BAD_REQUEST); + return; + } + + SynBioHubFrontend sbhf = new SynBioHubFrontend(server); + sbhf.setUser(user); + SBOLToMx converter = new SBOLToMx(); + + String layoutURI = uri.substring(0,uri.lastIndexOf("/"))+"_Layout"+uri.substring(uri.lastIndexOf("/"), uri.length()); + SBOLDocument document; + try { + document = sbhf.getSBOL(URI.create(layoutURI), true); + if(document == null) { + document = sbhf.getSBOL(URI.create(uri), true); + } + }catch(SynBioHubException e) { + document = sbhf.getSBOL(URI.create(uri), true); + } + + converter.toGraph(document, response.getOutputStream()); + response.setStatus(HttpStatus.SC_OK); + return; + } else { + response.setStatus(HttpStatus.SC_BAD_REQUEST); + return; + } + + ServletOutputStream outputStream = response.getOutputStream(); + InputStream inputStream = new ByteArrayInputStream(body.getBytes()); + IOUtils.copy(inputStream, outputStream); + + // the request was good + response.setStatus(HttpStatus.SC_OK); + response.setContentType("application/json"); + return; + } catch (SynBioHubException | IOException | ParserConfigurationException | TransformerException | SBOLValidationException | SAXException | URISyntaxException e) { + ServletOutputStream outputStream = response.getOutputStream(); + InputStream inputStream = new ByteArrayInputStream(e.getMessage().getBytes()); + IOUtils.copy(inputStream, outputStream); + + response.setStatus(HttpStatus.SC_INTERNAL_SERVER_ERROR); + + e.printStackTrace(); + } + } + + protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException { + try { + String server = request.getParameter("server"); + String user = request.getHeader("Authorization"); + String uri = request.getParameter("uri"); + + if (request.getPathInfo().equals("/addToCollection")) { + + if (server == null || user == null || uri == null) { + response.setStatus(HttpStatus.SC_BAD_REQUEST); + return; + } + HashMap userTokens = new HashMap(); + String[] servers = user.split(","); + for(String serverInf : servers) { + String[] tokens = serverInf.split(" "); + userTokens.put(tokens[0], tokens[1]); + } + + SynBioHubFrontend sbhf = new SynBioHubFrontend(server); + sbhf.setUser(userTokens.get(server)); + MxToSBOL converter = new MxToSBOL(userTokens); + ByteArrayOutputStream out = new ByteArrayOutputStream(); + converter.toSBOL(request.getInputStream(), out); + sbhf.addToCollection(URI.create(uri), true, new ByteArrayInputStream(out.toByteArray())); + response.setStatus(HttpStatus.SC_CREATED); + } else if(request.getPathInfo().contentEquals("/importToCollection")) { + if(server == null || user == null || uri == null) { + response.setStatus(HttpStatus.SC_BAD_REQUEST); + return; + } + SynBioHubFrontend sbhf = new SynBioHubFrontend(server); + sbhf.setUser(user); + SBOLDocument document = SBOLReader.read(request.getInputStream()); + ByteArrayOutputStream out = new ByteArrayOutputStream(); + SBOLWriter.setKeepGoing(true); + SBOLWriter.write(document, out); + sbhf.addToCollection(URI.create(uri), true, new ByteArrayInputStream(out.toByteArray())); + response.setStatus(HttpStatus.SC_CREATED); + } else if(request.getPathInfo().contentEquals("/createCollection")) { + String id = request.getParameter("id"); + String version = request.getParameter("version"); + String name = request.getParameter("name"); + String description = request.getParameter("description"); + String citations = request.getParameter("citations"); + String overwrite = request.getParameter("overwrite"); + + if(server == null || user == null || id == null || version == null || name == null || description == null || overwrite == null) { + response.setStatus(HttpStatus.SC_BAD_REQUEST); + return; + } + SynBioHubFrontend sbhf = new SynBioHubFrontend(server); + sbhf.setUser(user); + sbhf.createCollection(id, version, name, description, citations, overwrite.equals("true")); + response.setStatus(HttpStatus.SC_CREATED); + } + + } catch (SynBioHubException | IOException | SBOLValidationException | SBOLConversionException | TransformerFactoryConfigurationError | TransformerException | URISyntaxException e) { + ServletOutputStream outputStream = response.getOutputStream(); + InputStream inputStream = new ByteArrayInputStream(e.getMessage().getBytes()); + IOUtils.copy(inputStream, outputStream); + + response.setStatus(HttpStatus.SC_INTERNAL_SERVER_ERROR); + } + + } + +} diff --git a/backend/src/utils/BiMap.java b/SBOLCanvasBackend/src/utils/BiMap.java similarity index 100% rename from backend/src/utils/BiMap.java rename to SBOLCanvasBackend/src/utils/BiMap.java diff --git a/backend/src/utils/Constants.java b/SBOLCanvasBackend/src/utils/Constants.java similarity index 100% rename from backend/src/utils/Constants.java rename to SBOLCanvasBackend/src/utils/Constants.java diff --git a/backend/src/utils/Converter.java b/SBOLCanvasBackend/src/utils/Converter.java similarity index 100% rename from backend/src/utils/Converter.java rename to SBOLCanvasBackend/src/utils/Converter.java diff --git a/backend/src/utils/LayoutHelper.java b/SBOLCanvasBackend/src/utils/LayoutHelper.java similarity index 100% rename from backend/src/utils/LayoutHelper.java rename to SBOLCanvasBackend/src/utils/LayoutHelper.java diff --git a/backend/src/utils/MxToSBOL.java b/SBOLCanvasBackend/src/utils/MxToSBOL.java similarity index 94% rename from backend/src/utils/MxToSBOL.java rename to SBOLCanvasBackend/src/utils/MxToSBOL.java index bb0404ac..a94c425c 100644 --- a/backend/src/utils/MxToSBOL.java +++ b/SBOLCanvasBackend/src/utils/MxToSBOL.java @@ -587,11 +587,9 @@ private void linkComponentDefinition(SBOLDocument document, mxGraph graph, mxGra Component previous = null; int count = 0, start = 0, end = 0; for (mxCell glyph : glyphs) { - - GlyphInfo info = (GlyphInfo) infoDict.get(glyph.getValue()); - // ComponentDefinition glyphCD = document.getComponentDefinition(URI.create((String) glyph.getValue())); - ComponentDefinition glyphCD = getComponentDefinitionBetter(document, URI.create((String) glyph.getValue())); - Component component = compDef.createComponent( + GlyphInfo info = (GlyphInfo) infoDict.get(glyph.getValue()); + ComponentDefinition glyphCD = document.getComponentDefinition(URI.create((String) glyph.getValue())); + Component component = compDef.createComponent( info.getDisplayID() + "_" + glyph.getParent().getIndex(glyph), AccessType.PUBLIC, URI.create((String) glyph.getValue())); @@ -911,7 +909,9 @@ private void addParticipant(SBOLDocument document, mxGraphModel model, ModuleDef participantInfo = (GlyphInfo) infoDict.get(participantCell.getValue()); participantParentCell = (mxCell) participantCell.getParent(); } - if (participantCell != null) { + // More null checking here; was getting NullPointerException sometimes + if (document != null && modDef != null && participantInfo != null && + participantCell != null && participantParentCell != null) { FunctionalComponent participantFC = getOrCreateParticipantFC(document, modDef, participantInfo, participantCell, participantParentCell); URI participantRole = getParticipantType(isSource, interaction.getTypes()); @@ -936,6 +936,9 @@ private void addParticipant(SBOLDocument document, mxGraphModel model, ModuleDef layoutHelper.addGraphicalNode(modDef.getIdentity(), participation.getDisplayId(), interactionEdge); } } + else { + System.out.println("RELATED TO GITHUB ISSUE #174: FAILED NULL CHECK"); + } } private FunctionalComponent getOrCreateParticipantFC(SBOLDocument document, ModuleDefinition modDef, @@ -993,6 +996,12 @@ private mxGraph parseGraph(InputStream graphStream) throws IOException { */ @SuppressWarnings("unchecked") private Hashtable loadDictionary(ArrayList dataContainer, int dictionaryIndex) { + // previously was getting out of bounds exception sometimes, + // hoping to catch it with this + if(dictionaryIndex >= dataContainer.size()) { + System.out.println("ARRAY INDEX OUT OF BOUNDS: " + dictionaryIndex); + return new Hashtable(); + } if (dataContainer.get(dictionaryIndex) instanceof ArrayList) { // 90% sure it only happens when it's empty meaning that we could just return a // empty hash table. @@ -1016,54 +1025,4 @@ private Hashtable loadDictionary(ArrayList d } } - /* - Not using the libSBOLj method because it skips the entire document - when one top-level throws an exception, which causes it to skip copying - the actual ComponentDefintion sometimes. - */ - private ComponentDefinition getComponentDefinitionBetter(SBOLDocument document, URI componentDefinitionURI) { - - // Try to find ComponentDefinition in document - for(ComponentDefinition cd : document.getComponentDefinitions()) { - if(cd.getIdentity().equals(componentDefinitionURI)) - return cd; - } - - // Look in SynBioHub for it - for (SynBioHubFrontend frontend : document.getRegistries()) { - - // Fetch from SynBioHub - SBOLDocument remoteDocument = null; - try { - remoteDocument = frontend.getSBOL(componentDefinitionURI); - } - catch(SynBioHubException e) { - System.out.println(e); - // e.printStackTrace(); - } - - if (remoteDocument != null) { - /* - Create a copy of each top level. - - Not using the libSBOLj method because it skips the entire document - when one top-level throws an exception, which causes it to skip copying - the actual ComponentDefintion sometimes. - */ - for (TopLevel topLevel : remoteDocument.getTopLevels()) { - try { - document.createCopy(topLevel); - } - catch(SBOLValidationException e) { - System.out.println("Failed to copy top-level:\n" + topLevel.getIdentity()); - System.out.println(e); - // e.printStackTrace(); - } - } - return remoteDocument.getComponentDefinition(componentDefinitionURI); - } - } - - return null; - } } diff --git a/backend/src/utils/SBOLData.java b/SBOLCanvasBackend/src/utils/SBOLData.java similarity index 96% rename from backend/src/utils/SBOLData.java rename to SBOLCanvasBackend/src/utils/SBOLData.java index 77bca892..c97153ff 100644 --- a/backend/src/utils/SBOLData.java +++ b/SBOLCanvasBackend/src/utils/SBOLData.java @@ -50,8 +50,7 @@ public class SBOLData { roles.put("RBS (Ribosome Binding Site)", SequenceOntology.RIBOSOME_ENTRY_SITE); roles.put("CDS (Coding Sequence)", SequenceOntology.CDS); roles.put("Ter (Terminator)", SequenceOntology.TERMINATOR); - roles.put("Cir (Circular Backbone Left)", SequenceOntology.CIRCULAR); - roles.put("Cir (Circular Backbone Right)", SequenceOntology.CIRCULAR); + roles.put("Cir (Circular Backbone)", SequenceOntology.CIRCULAR); roles.put("gRNA (Non-Coding RNA gene)", URI.create("http://identifiers.org/so/SO:0001263")); roles.put("Ori (Origin of Replication)", SequenceOntology.ORIGIN_OF_REPLICATION); roles.put("OriT (Origin of Transfer)", URI.create("http://identifiers.org/so/SO:0000724")); @@ -100,7 +99,6 @@ public class SBOLData { interactions.put("Genetic Production", SystemsBiologyOntology.GENETIC_PRODUCTION); interactions.put("Control", SystemsBiologyOntology.CONTROL); interactions.put("Dissociation", SystemsBiologyOntology.DISSOCIATION); - interactions.put("Process", SystemsBiologyOntology.PROCESS); interactionRoles = new BiMap(); interactionRoles.put("Inhibitor", SystemsBiologyOntology.INHIBITOR); @@ -121,7 +119,6 @@ public class SBOLData { interactionTargetRoles.put(SystemsBiologyOntology.GENETIC_PRODUCTION, SystemsBiologyOntology.PRODUCT); interactionTargetRoles.put(SystemsBiologyOntology.CONTROL, SystemsBiologyOntology.MODIFIED); interactionTargetRoles.put(SystemsBiologyOntology.DISSOCIATION, SystemsBiologyOntology.PRODUCT); - interactionTargetRoles.put(SystemsBiologyOntology.PROCESS, SystemsBiologyOntology.PRODUCT); interactionSourceRoles = new HashMap(); interactionSourceRoles.put(SystemsBiologyOntology.INHIBITION, SystemsBiologyOntology.INHIBITOR); @@ -132,7 +129,6 @@ public class SBOLData { interactionSourceRoles.put(SystemsBiologyOntology.GENETIC_PRODUCTION, SystemsBiologyOntology.TEMPLATE); interactionSourceRoles.put(SystemsBiologyOntology.CONTROL, SystemsBiologyOntology.MODIFIER); interactionSourceRoles.put(SystemsBiologyOntology.DISSOCIATION, SystemsBiologyOntology.REACTANT); - interactionSourceRoles.put(SystemsBiologyOntology.PROCESS, SystemsBiologyOntology.REACTANT); registries = new HashSet(); try { diff --git a/backend/src/utils/SBOLToMx.java b/SBOLCanvasBackend/src/utils/SBOLToMx.java similarity index 100% rename from backend/src/utils/SBOLToMx.java rename to SBOLCanvasBackend/src/utils/SBOLToMx.java diff --git a/SBOLCanvasFrontend/.editorconfig b/SBOLCanvasFrontend/.editorconfig new file mode 100644 index 00000000..e89330a6 --- /dev/null +++ b/SBOLCanvasFrontend/.editorconfig @@ -0,0 +1,13 @@ +# Editor configuration, see https://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +max_line_length = off +trim_trailing_whitespace = false diff --git a/frontend/.gitignore b/SBOLCanvasFrontend/.gitignore similarity index 90% rename from frontend/.gitignore rename to SBOLCanvasFrontend/.gitignore index 0fc3dfbd..f4f46a5f 100644 --- a/frontend/.gitignore +++ b/SBOLCanvasFrontend/.gitignore @@ -4,10 +4,8 @@ /dist /tmp /out-tsc -*bundle.xml # Only exists if Bazel was run /bazel-out -package-lock.json # dependencies /node_modules @@ -42,8 +40,6 @@ npm-debug.log yarn-error.log testem.log /typings -*.ps1 -src/environments/versions.ts # System Files .DS_Store diff --git a/frontend/README.md b/SBOLCanvasFrontend/README.md similarity index 86% rename from frontend/README.md rename to SBOLCanvasFrontend/README.md index 2d5a88c0..3787f5fd 100644 --- a/frontend/README.md +++ b/SBOLCanvasFrontend/README.md @@ -12,7 +12,7 @@ Run `ng generate component component-name` to generate a new component. You can ## Build -Run `npm build` to build the project for production. The build artifacts will be stored in the `dist/` directory. +Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. ## Running unit tests diff --git a/frontend/angular.json b/SBOLCanvasFrontend/angular.json similarity index 98% rename from frontend/angular.json rename to SBOLCanvasFrontend/angular.json index f2c05cb8..f94dfeb7 100644 --- a/frontend/angular.json +++ b/SBOLCanvasFrontend/angular.json @@ -13,7 +13,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "outputPath": "dist", + "outputPath": "dist/SBOLCanvasFrontend", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", diff --git a/frontend/e2e/protractor.conf.js b/SBOLCanvasFrontend/e2e/protractor.conf.js similarity index 100% rename from frontend/e2e/protractor.conf.js rename to SBOLCanvasFrontend/e2e/protractor.conf.js diff --git a/frontend/e2e/src/app.e2e-spec.ts b/SBOLCanvasFrontend/e2e/src/app.e2e-spec.ts similarity index 100% rename from frontend/e2e/src/app.e2e-spec.ts rename to SBOLCanvasFrontend/e2e/src/app.e2e-spec.ts diff --git a/frontend/e2e/src/app.po.ts b/SBOLCanvasFrontend/e2e/src/app.po.ts similarity index 100% rename from frontend/e2e/src/app.po.ts rename to SBOLCanvasFrontend/e2e/src/app.po.ts diff --git a/frontend/e2e/tsconfig.e2e.json b/SBOLCanvasFrontend/e2e/tsconfig.e2e.json similarity index 100% rename from frontend/e2e/tsconfig.e2e.json rename to SBOLCanvasFrontend/e2e/tsconfig.e2e.json diff --git a/frontend/git.version.ts b/SBOLCanvasFrontend/git.version.ts similarity index 100% rename from frontend/git.version.ts rename to SBOLCanvasFrontend/git.version.ts diff --git a/SBOLCanvasFrontend/package-lock.json b/SBOLCanvasFrontend/package-lock.json new file mode 100644 index 00000000..342ed3f2 --- /dev/null +++ b/SBOLCanvasFrontend/package-lock.json @@ -0,0 +1,10735 @@ +{ + "name": "sbolcanvas-frontend", + "version": "0.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@angular-devkit/architect": { + "version": "0.13.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.13.8.tgz", + "integrity": "sha512-gxUs5rhnP576T8ZclKqxlspiChrqRtqaJo54wqNVFvYKEjRZKyMa+1AK6p0oD9zcIToEkcjknj3BbtQa27lLHg==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.3.8", + "rxjs": "6.3.3" + } + }, + "@angular-devkit/build-angular": { + "version": "0.13.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-0.13.8.tgz", + "integrity": "sha512-uRb8CKC0hUdcE+Fv2Ov9LJNelyjsiMuddBpo8pdTKCIHVVC6hvip9S/Z18Tvb207kKI3k7Dn+Ji1J63mCqmQzA==", + "dev": true, + "requires": { + "@angular-devkit/architect": "0.13.8", + "@angular-devkit/build-optimizer": "0.13.8", + "@angular-devkit/build-webpack": "0.13.8", + "@angular-devkit/core": "7.3.8", + "@ngtools/webpack": "7.3.8", + "ajv": "6.9.1", + "autoprefixer": "9.4.6", + "circular-dependency-plugin": "5.0.2", + "clean-css": "4.2.1", + "copy-webpack-plugin": "4.6.0", + "file-loader": "3.0.1", + "glob": "7.1.3", + "istanbul-instrumenter-loader": "3.0.1", + "karma-source-map-support": "1.3.0", + "less": "3.9.0", + "less-loader": "4.1.0", + "license-webpack-plugin": "2.1.0", + "loader-utils": "1.2.3", + "mini-css-extract-plugin": "0.5.0", + "minimatch": "3.0.4", + "node-sass": "4.11.0", + "open": "6.0.0", + "parse5": "4.0.0", + "postcss": "7.0.14", + "postcss-import": "12.0.1", + "postcss-loader": "3.0.0", + "raw-loader": "1.0.0", + "rxjs": "6.3.3", + "sass-loader": "7.1.0", + "semver": "5.6.0", + "source-map-loader": "0.2.4", + "source-map-support": "0.5.10", + "speed-measure-webpack-plugin": "1.3.1", + "stats-webpack-plugin": "0.7.0", + "style-loader": "0.23.1", + "stylus": "0.54.5", + "stylus-loader": "3.0.2", + "terser-webpack-plugin": "1.2.2", + "tree-kill": "1.2.1", + "webpack": "4.29.0", + "webpack-dev-middleware": "3.5.1", + "webpack-dev-server": "3.1.14", + "webpack-merge": "4.2.1", + "webpack-sources": "1.3.0", + "webpack-subresource-integrity": "1.1.0-rc.6" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true, + "optional": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "optional": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "node-sass": { + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.11.0.tgz", + "integrity": "sha512-bHUdHTphgQJZaF1LASx0kAviPH7sGlcyNhWade4eVIpFp6tsn7SV8xNMTbsQFpEV9VXpnwTTnNYlfsZXgGgmkA==", + "dev": true, + "optional": true, + "requires": { + "async-foreach": "^0.1.3", + "chalk": "^1.1.1", + "cross-spawn": "^3.0.0", + "gaze": "^1.0.0", + "get-stdin": "^4.0.1", + "glob": "^7.0.3", + "in-publish": "^2.0.0", + "lodash.assign": "^4.2.0", + "lodash.clonedeep": "^4.3.2", + "lodash.mergewith": "^4.6.0", + "meow": "^3.7.0", + "mkdirp": "^0.5.1", + "nan": "^2.10.0", + "node-gyp": "^3.8.0", + "npmlog": "^4.0.0", + "request": "^2.88.0", + "sass-graph": "^2.2.4", + "stdout-stream": "^1.4.0", + "true-case-path": "^1.0.2" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true, + "optional": true + } + } + }, + "@angular-devkit/build-optimizer": { + "version": "0.13.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.13.8.tgz", + "integrity": "sha512-RvYxtsdYuvpFb1iivVixylSVN/Q8LsQ449uYuqEe3OsDjQBvUVG2fMLPOQjmKWhi0NC9WSsNiUluxLDNdvd0Vw==", + "dev": true, + "requires": { + "loader-utils": "1.2.3", + "source-map": "0.5.6", + "typescript": "3.2.4", + "webpack-sources": "1.3.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", + "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", + "dev": true + } + } + }, + "@angular-devkit/build-webpack": { + "version": "0.13.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.13.8.tgz", + "integrity": "sha512-WMyn1vUHyx+VfJKgYuEHrICwQzPMDTaUNB1zlvzZt9gX/9H+XnetrebeWBZCITPXHBw/377oA6wmiHWJ0yaZRw==", + "dev": true, + "requires": { + "@angular-devkit/architect": "0.13.8", + "@angular-devkit/core": "7.3.8", + "rxjs": "6.3.3" + } + }, + "@angular-devkit/core": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-7.3.8.tgz", + "integrity": "sha512-3X9uzaZXFpm5o2TSzhD6wEOtVU32CgeytKjD1Scxj+uMMVo48SWLlKiFh312T+smI9ko7tOT8VqxglwYkWosgg==", + "dev": true, + "requires": { + "ajv": "6.9.1", + "chokidar": "2.0.4", + "fast-json-stable-stringify": "2.0.0", + "rxjs": "6.3.3", + "source-map": "0.7.3" + } + }, + "@angular-devkit/schematics": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-7.3.8.tgz", + "integrity": "sha512-mvaKoORZIaW/h0VNZ3IQWP0qThRCZRX6869FNlzV0jlW0mhn07XbiIGHCGGSCDRxS7qJ0VbuIVnKXntF+iDeWw==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.3.8", + "rxjs": "6.3.3" + } + }, + "@angular/animations": { + "version": "7.2.12", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-7.2.12.tgz", + "integrity": "sha512-J7d9hYXNqNz2kVxKEZlAAn4iojjF63WfGenEnMCtFgXU26ok03EAiR+VaiIqIvcevxvvR+iDrCHb+Hub0C212w==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/cdk": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-7.3.7.tgz", + "integrity": "sha512-xbXxhHHKGkVuW6K7pzPmvpJXIwpl0ykBnvA2g+/7Sgy5Pd35wCC+UtHD9RYczDM/mkygNxMQtagyCErwFnDtQA==", + "requires": { + "parse5": "^5.0.0", + "tslib": "^1.7.1" + }, + "dependencies": { + "parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "optional": true + } + } + }, + "@angular/cli": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-7.3.8.tgz", + "integrity": "sha512-5ldU1idvWstmRaavGZen9WRjfjIViERGt8NYuLLI7dgVLYOPF5TyFoTnpT5nxkiCopp4tPIcpbzPV394Bxmdtg==", + "dev": true, + "requires": { + "@angular-devkit/architect": "0.13.8", + "@angular-devkit/core": "7.3.8", + "@angular-devkit/schematics": "7.3.8", + "@schematics/angular": "7.3.8", + "@schematics/update": "0.13.8", + "@yarnpkg/lockfile": "1.1.0", + "ini": "1.3.5", + "inquirer": "6.2.1", + "npm-package-arg": "6.1.0", + "open": "6.0.0", + "pacote": "9.4.0", + "semver": "5.6.0", + "symbol-observable": "1.2.0" + } + }, + "@angular/common": { + "version": "7.2.15", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-7.2.15.tgz", + "integrity": "sha512-2b5JY2HWVHCf3D1GZjmde7jdAXSTXkYtmjLtA9tQkjOOTr80eHpNSujQqnzb97dk9VT9OjfjqTQd7K3pxZz8jw==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/compiler": { + "version": "7.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-7.2.12.tgz", + "integrity": "sha512-B1N+/ECqIQz7PD2Zjb/21OOCmrXkl8DSXCBGNMXOSng+uYJM4dFPWkYkaAeHj8gcLDHvIPWlsapJ6JqyB3RPxA==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/compiler-cli": { + "version": "7.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-7.2.12.tgz", + "integrity": "sha512-EXJuN9XuYjO9gwe5JWfatb64ljPjItZh5bd1MQtntMJONS4ntOtwiCd9RuNVK2ZXM7Co9PcvzE1qynB6tMseCw==", + "dev": true, + "requires": { + "canonical-path": "1.0.0", + "chokidar": "^2.1.1", + "convert-source-map": "^1.5.1", + "dependency-graph": "^0.7.2", + "magic-string": "^0.25.0", + "minimist": "^1.2.0", + "reflect-metadata": "^0.1.2", + "shelljs": "^0.8.1", + "source-map": "^0.6.1", + "tslib": "^1.9.0", + "yargs": "9.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "chokidar": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.5.tgz", + "integrity": "sha512-i0TprVWp+Kj4WRPtInjexJ8Q+BqTE909VpH8xVhXrJkoc5QC8VO9TryGOqTr+2hljzc1sC62t22h5tZePodM/A==", + "dev": true, + "requires": { + "anymatch": "^2.0.0", + "async-each": "^1.0.1", + "braces": "^2.3.2", + "fsevents": "^1.2.7", + "glob-parent": "^3.1.0", + "inherits": "^2.0.3", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^3.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.2.1", + "upath": "^1.1.1" + } + }, + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "execa": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", + "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", + "dev": true, + "requires": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" + } + }, + "mem": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", + "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "os-locale": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", + "dev": true, + "requires": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + } + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "y18n": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", + "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==", + "dev": true + }, + "yargs": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-9.0.1.tgz", + "integrity": "sha1-UqzCP+7Kw0BCB47njAwAf1CF20w=", + "dev": true, + "requires": { + "camelcase": "^4.1.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "read-pkg-up": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^7.0.0" + } + }, + "yargs-parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", + "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", + "dev": true, + "requires": { + "camelcase": "^4.1.0" + } + } + } + }, + "@angular/core": { + "version": "7.2.15", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-7.2.15.tgz", + "integrity": "sha512-XsuYm0jEU/mOqwDOk2utThv8J9kESkAerfuCHClE9rB2TtHUOGCfekF7lJWqjjypu6/J9ygoPFo7hdAE058ZGg==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/flex-layout": { + "version": "7.0.0-beta.24", + "resolved": "https://registry.npmjs.org/@angular/flex-layout/-/flex-layout-7.0.0-beta.24.tgz", + "integrity": "sha512-ll6sK0nLGxqI/f5+z4jbd+pve1QITzgehv2AuGvfSDgIjPMeqUDB5YZqQmIGM/dQRk/vIio5KCW5LQPJWzMMYQ==", + "requires": { + "tslib": "^1.7.1" + } + }, + "@angular/forms": { + "version": "7.2.12", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-7.2.12.tgz", + "integrity": "sha512-gQU8663C9LOyuza87XDkEQ2HXbaLt3LY8X45swUNfe+BvpKNhF5ZwwY22d93wuzvm/vFrCTPK7949ImfUW0XnA==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/language-service": { + "version": "7.2.12", + "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-7.2.12.tgz", + "integrity": "sha512-dHHcAtCQ+ECoZa/bkm1diMZuxy/e+x2/qzClfKquO47EPqOIXYKCKZRqgGNHxdbUSRpmIEanfj/li4S7doCHZw==", + "dev": true + }, + "@angular/material": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-7.3.7.tgz", + "integrity": "sha512-Eq+7frkeNGkLOfEtmkmJgR+AgoWajOipXZWWfCSamNfpCcPof82DwvGOpAmgGni9FuN2XFQdqP5MoaffQzIvUA==", + "requires": { + "tslib": "^1.7.1" + } + }, + "@angular/platform-browser": { + "version": "7.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-7.2.12.tgz", + "integrity": "sha512-rhKxUtWM6LfM0cK0kVzQpdnzfGeL3KImk6kNn+RrZiXLk2N/pnwbrzfd6VUtm+zdg54S4BO8ui1NahwIC/PSKw==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/platform-browser-dynamic": { + "version": "7.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-7.2.12.tgz", + "integrity": "sha512-maKmjCTaS+jrXnor9qVJZfkWAKrt6neIlYrjvcr9v2YUqv9vdMcd5WRaODvIXBqwh65gpMxk3hbZ48Yjh8EbBQ==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/router": { + "version": "7.2.12", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-7.2.12.tgz", + "integrity": "sha512-n7EFKuOa6YDDvGZT/t7mXfQMuomkTVPJcWkpfPrViAKi4mcUnaU5IqYiBnv/WJfDDqocVD/Yf9YQD9zAajthEw==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@babel/code-frame": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", + "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", + "dev": true, + "requires": { + "@babel/highlight": "^7.0.0" + } + }, + "@babel/generator": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.4.0.tgz", + "integrity": "sha512-/v5I+a1jhGSKLgZDcmAUZ4K/VePi43eRkUs3yePW1HB1iANOD5tqJXwGSG4BZhSksP8J9ejSlwGeTiiOFZOrXQ==", + "dev": true, + "requires": { + "@babel/types": "^7.4.0", + "jsesc": "^2.5.1", + "lodash": "^4.17.11", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + }, + "dependencies": { + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "@babel/helper-function-name": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz", + "integrity": "sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.0.0", + "@babel/template": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz", + "integrity": "sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.0.tgz", + "integrity": "sha512-7Cuc6JZiYShaZnybDmfwhY4UYHzI6rlqhWjaIqbsJGsIqPimEYy5uh3akSRLMg65LSdSEnJ8a8/bWQN6u2oMGw==", + "dev": true, + "requires": { + "@babel/types": "^7.4.0" + } + }, + "@babel/highlight": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz", + "integrity": "sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + }, + "dependencies": { + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + } + } + }, + "@babel/parser": { + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.3.tgz", + "integrity": "sha512-gxpEUhTS1sGA63EGQGuA+WESPR/6tz6ng7tSHFCmaTJK/cGK8y37cBTspX+U2xCAue2IQVvF6Z0oigmjwD8YGQ==", + "dev": true + }, + "@babel/template": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.4.0.tgz", + "integrity": "sha512-SOWwxxClTTh5NdbbYZ0BmaBVzxzTh2tO/TeLTbF6MO6EzVhHTnff8CdBXx3mEtazFBoysmEM6GU/wF+SuSx4Fw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/parser": "^7.4.0", + "@babel/types": "^7.4.0" + } + }, + "@babel/traverse": { + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.3.tgz", + "integrity": "sha512-HmA01qrtaCwwJWpSKpA948cBvU5BrmviAief/b3AVw936DtcdsTexlbyzNuDnthwhOQ37xshn7hvQaEQk7ISYQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/generator": "^7.4.0", + "@babel/helper-function-name": "^7.1.0", + "@babel/helper-split-export-declaration": "^7.4.0", + "@babel/parser": "^7.4.3", + "@babel/types": "^7.4.0", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.11" + }, + "dependencies": { + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "globals": { + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.11.0.tgz", + "integrity": "sha512-WHq43gS+6ufNOEqlrDBxVEbb8ntfXrfAUU2ZOpCxrBdGKW3gyv8mCxAfIBD0DroPKGrJ2eSsXsLtY9MPntsyTw==", + "dev": true + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "@babel/types": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.4.0.tgz", + "integrity": "sha512-aPvkXyU2SPOnztlgo8n9cEiXW755mgyvueUPcpStqdzoSPm0fjO0vQBjLkt3JKJW7ufikfcnMTTPsN1xaTsBPA==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.11", + "to-fast-properties": "^2.0.0" + }, + "dependencies": { + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } + } + }, + "@ng-bootstrap/ng-bootstrap": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@ng-bootstrap/ng-bootstrap/-/ng-bootstrap-4.1.1.tgz", + "integrity": "sha512-OgbmPVhbDdNpIwogEXsycUJG0caNtb2+wCABfLUClgi9YcfNXhZ9Phu2GQq7Pk/LO66okth6s77RBQnbTJuysg==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@ngtools/webpack": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-7.3.8.tgz", + "integrity": "sha512-gfjSKz+F/2T4tZHpnQ1XqelKP/CIfI87XdoHsOI53ceTUrAkVKsOb3ULmEfkcdsdQZ/HhmCiLivcutHcW8xkhQ==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.3.8", + "enhanced-resolve": "4.1.0", + "rxjs": "6.3.3", + "tree-kill": "1.2.1", + "webpack-sources": "1.3.0" + } + }, + "@schematics/angular": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-7.3.8.tgz", + "integrity": "sha512-7o90bnIxXNpJhWPDY/zCedcG6KMIihz7a4UQe6UdlhEX21MNZLYFiDiR5Vmsx39wjm2EfPh3JTuBIHGmMCXkQQ==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.3.8", + "@angular-devkit/schematics": "7.3.8", + "typescript": "3.2.4" + } + }, + "@schematics/update": { + "version": "0.13.8", + "resolved": "https://registry.npmjs.org/@schematics/update/-/update-0.13.8.tgz", + "integrity": "sha512-2jP9w7Nnn24jOdrJtWjoS9LsNPmO9/Eu/+gDxBAVERCqR71mtNW+DopgWDtxleE9jri/pZWrHwShGFCSS7w23g==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.3.8", + "@angular-devkit/schematics": "7.3.8", + "@yarnpkg/lockfile": "1.1.0", + "ini": "1.3.5", + "pacote": "9.4.0", + "rxjs": "6.3.3", + "semver": "5.6.0", + "semver-intersect": "1.4.0" + } + }, + "@types/file-saver": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/file-saver/-/file-saver-2.0.1.tgz", + "integrity": "sha512-g1QUuhYVVAamfCifK7oB7G3aIl4BbOyzDOqVyUfEr4tfBKrXfeH+M+Tg7HKCXSrbzxYdhyCP7z9WbKo0R2hBCw==", + "dev": true + }, + "@types/jasmine": { + "version": "2.8.16", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-2.8.16.tgz", + "integrity": "sha512-056oRlBBp7MDzr+HoU5su099s/s7wjZ3KcHxLfv+Byqb9MwdLUvsfLgw1VS97hsh3ddxSPyQu+olHMnoVTUY6g==", + "dev": true + }, + "@types/jasminewd2": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/jasminewd2/-/jasminewd2-2.0.7.tgz", + "integrity": "sha512-pKeZFRn4vQyd8Px9FK6ww3frKiAYPgpKzBayWHd9SOzGjty6aXPsuFvxgRr866KLP1h7Cnd1z3XrhGX17WqO2g==", + "dev": true + }, + "@types/node": { + "version": "8.9.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-8.9.5.tgz", + "integrity": "sha512-jRHfWsvyMtXdbhnz5CVHxaBgnV6duZnPlQuRSo/dm/GnmikNcmZhxIES4E9OZjUmQ8C+HCl4KJux+cXN/ErGDQ==", + "dev": true + }, + "@types/q": { + "version": "0.0.32", + "resolved": "https://registry.npmjs.org/@types/q/-/q-0.0.32.tgz", + "integrity": "sha1-vShOV8hPEyXacCur/IKlMoGQwMU=", + "dev": true + }, + "@types/selenium-webdriver": { + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/@types/selenium-webdriver/-/selenium-webdriver-3.0.16.tgz", + "integrity": "sha512-lMC2G0ItF2xv4UCiwbJGbnJlIuUixHrioOhNGHSCsYCJ8l4t9hMCUimCytvFv7qy6AfSzRxhRHoGa+UqaqwyeA==", + "dev": true + }, + "@types/source-list-map": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz", + "integrity": "sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==", + "dev": true + }, + "@types/webpack-sources": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-0.1.5.tgz", + "integrity": "sha512-zfvjpp7jiafSmrzJ2/i3LqOyTYTuJ7u1KOXlKgDlvsj9Rr0x7ZiYu5lZbXwobL7lmsRNtPXlBfmaUD8eU2Hu8w==", + "dev": true, + "requires": { + "@types/node": "*", + "@types/source-list-map": "*", + "source-map": "^0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "@webassemblyjs/ast": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.7.11.tgz", + "integrity": "sha512-ZEzy4vjvTzScC+SH8RBssQUawpaInUdMTYwYYLh54/s8TuT0gBLuyUnppKsVyZEi876VmmStKsUs28UxPgdvrA==", + "dev": true, + "requires": { + "@webassemblyjs/helper-module-context": "1.7.11", + "@webassemblyjs/helper-wasm-bytecode": "1.7.11", + "@webassemblyjs/wast-parser": "1.7.11" + } + }, + "@webassemblyjs/floating-point-hex-parser": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.11.tgz", + "integrity": "sha512-zY8dSNyYcgzNRNT666/zOoAyImshm3ycKdoLsyDw/Bwo6+/uktb7p4xyApuef1dwEBo/U/SYQzbGBvV+nru2Xg==", + "dev": true + }, + "@webassemblyjs/helper-api-error": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.11.tgz", + "integrity": "sha512-7r1qXLmiglC+wPNkGuXCvkmalyEstKVwcueZRP2GNC2PAvxbLYwLLPr14rcdJaE4UtHxQKfFkuDFuv91ipqvXg==", + "dev": true + }, + "@webassemblyjs/helper-buffer": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.11.tgz", + "integrity": "sha512-MynuervdylPPh3ix+mKZloTcL06P8tenNH3sx6s0qE8SLR6DdwnfgA7Hc9NSYeob2jrW5Vql6GVlsQzKQCa13w==", + "dev": true + }, + "@webassemblyjs/helper-code-frame": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.11.tgz", + "integrity": "sha512-T8ESC9KMXFTXA5urJcyor5cn6qWeZ4/zLPyWeEXZ03hj/x9weSokGNkVCdnhSabKGYWxElSdgJ+sFa9G/RdHNw==", + "dev": true, + "requires": { + "@webassemblyjs/wast-printer": "1.7.11" + } + }, + "@webassemblyjs/helper-fsm": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.11.tgz", + "integrity": "sha512-nsAQWNP1+8Z6tkzdYlXT0kxfa2Z1tRTARd8wYnc/e3Zv3VydVVnaeePgqUzFrpkGUyhUUxOl5ML7f1NuT+gC0A==", + "dev": true + }, + "@webassemblyjs/helper-module-context": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.11.tgz", + "integrity": "sha512-JxfD5DX8Ygq4PvXDucq0M+sbUFA7BJAv/GGl9ITovqE+idGX+J3QSzJYz+LwQmL7fC3Rs+utvWoJxDb6pmC0qg==", + "dev": true + }, + "@webassemblyjs/helper-wasm-bytecode": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.11.tgz", + "integrity": "sha512-cMXeVS9rhoXsI9LLL4tJxBgVD/KMOKXuFqYb5oCJ/opScWpkCMEz9EJtkonaNcnLv2R3K5jIeS4TRj/drde1JQ==", + "dev": true + }, + "@webassemblyjs/helper-wasm-section": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.11.tgz", + "integrity": "sha512-8ZRY5iZbZdtNFE5UFunB8mmBEAbSI3guwbrsCl4fWdfRiAcvqQpeqd5KHhSWLL5wuxo53zcaGZDBU64qgn4I4Q==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-buffer": "1.7.11", + "@webassemblyjs/helper-wasm-bytecode": "1.7.11", + "@webassemblyjs/wasm-gen": "1.7.11" + } + }, + "@webassemblyjs/ieee754": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.7.11.tgz", + "integrity": "sha512-Mmqx/cS68K1tSrvRLtaV/Lp3NZWzXtOHUW2IvDvl2sihAwJh4ACE0eL6A8FvMyDG9abes3saB6dMimLOs+HMoQ==", + "dev": true, + "requires": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "@webassemblyjs/leb128": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.7.11.tgz", + "integrity": "sha512-vuGmgZjjp3zjcerQg+JA+tGOncOnJLWVkt8Aze5eWQLwTQGNgVLcyOTqgSCxWTR4J42ijHbBxnuRaL1Rv7XMdw==", + "dev": true, + "requires": { + "@xtuc/long": "4.2.1" + } + }, + "@webassemblyjs/utf8": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.7.11.tgz", + "integrity": "sha512-C6GFkc7aErQIAH+BMrIdVSmW+6HSe20wg57HEC1uqJP8E/xpMjXqQUxkQw07MhNDSDcGpxI9G5JSNOQCqJk4sA==", + "dev": true + }, + "@webassemblyjs/wasm-edit": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.11.tgz", + "integrity": "sha512-FUd97guNGsCZQgeTPKdgxJhBXkUbMTY6hFPf2Y4OedXd48H97J+sOY2Ltaq6WGVpIH8o/TGOVNiVz/SbpEMJGg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-buffer": "1.7.11", + "@webassemblyjs/helper-wasm-bytecode": "1.7.11", + "@webassemblyjs/helper-wasm-section": "1.7.11", + "@webassemblyjs/wasm-gen": "1.7.11", + "@webassemblyjs/wasm-opt": "1.7.11", + "@webassemblyjs/wasm-parser": "1.7.11", + "@webassemblyjs/wast-printer": "1.7.11" + } + }, + "@webassemblyjs/wasm-gen": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.11.tgz", + "integrity": "sha512-U/KDYp7fgAZX5KPfq4NOupK/BmhDc5Kjy2GIqstMhvvdJRcER/kUsMThpWeRP8BMn4LXaKhSTggIJPOeYHwISA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-wasm-bytecode": "1.7.11", + "@webassemblyjs/ieee754": "1.7.11", + "@webassemblyjs/leb128": "1.7.11", + "@webassemblyjs/utf8": "1.7.11" + } + }, + "@webassemblyjs/wasm-opt": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.11.tgz", + "integrity": "sha512-XynkOwQyiRidh0GLua7SkeHvAPXQV/RxsUeERILmAInZegApOUAIJfRuPYe2F7RcjOC9tW3Cb9juPvAC/sCqvg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-buffer": "1.7.11", + "@webassemblyjs/wasm-gen": "1.7.11", + "@webassemblyjs/wasm-parser": "1.7.11" + } + }, + "@webassemblyjs/wasm-parser": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.11.tgz", + "integrity": "sha512-6lmXRTrrZjYD8Ng8xRyvyXQJYUQKYSXhJqXOBLw24rdiXsHAOlvw5PhesjdcaMadU/pyPQOJ5dHreMjBxwnQKg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-api-error": "1.7.11", + "@webassemblyjs/helper-wasm-bytecode": "1.7.11", + "@webassemblyjs/ieee754": "1.7.11", + "@webassemblyjs/leb128": "1.7.11", + "@webassemblyjs/utf8": "1.7.11" + } + }, + "@webassemblyjs/wast-parser": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.7.11.tgz", + "integrity": "sha512-lEyVCg2np15tS+dm7+JJTNhNWq9yTZvi3qEhAIIOaofcYlUp0UR5/tVqOwa/gXYr3gjwSZqw+/lS9dscyLelbQ==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/floating-point-hex-parser": "1.7.11", + "@webassemblyjs/helper-api-error": "1.7.11", + "@webassemblyjs/helper-code-frame": "1.7.11", + "@webassemblyjs/helper-fsm": "1.7.11", + "@xtuc/long": "4.2.1" + } + }, + "@webassemblyjs/wast-printer": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.7.11.tgz", + "integrity": "sha512-m5vkAsuJ32QpkdkDOUPGSltrg8Cuk3KBx4YrmAGQwCZPRdUHXxG4phIOuuycLemHFr74sWL9Wthqss4fzdzSwg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/wast-parser": "1.7.11", + "@xtuc/long": "4.2.1" + } + }, + "@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true + }, + "@xtuc/long": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.1.tgz", + "integrity": "sha512-FZdkNBDqBRHKQ2MEbSC17xnPFOhZxeJ2YGSfr2BKf3sujG49Qe3bB+rGCwQfIaA7WHnGeGkSijX4FuBCdrzW/g==", + "dev": true + }, + "@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true + }, + "JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, + "requires": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + } + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "accepts": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", + "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", + "dev": true, + "requires": { + "mime-types": "~2.1.18", + "negotiator": "0.6.1" + } + }, + "acorn": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", + "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==", + "dev": true + }, + "acorn-dynamic-import": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz", + "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==", + "dev": true + }, + "acorn-walk": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz", + "integrity": "sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA==", + "dev": true + }, + "adm-zip": { + "version": "0.4.13", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.13.tgz", + "integrity": "sha512-fERNJX8sOXfel6qCBCMPvZLzENBEhZTzKqg6vrOW5pvoEaQuJhRU4ndTAh6lHOxn1I6jnz2NHra56ZODM751uw==", + "dev": true + }, + "after": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz", + "integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=", + "dev": true + }, + "agent-base": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.2.1.tgz", + "integrity": "sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg==", + "dev": true, + "requires": { + "es6-promisify": "^5.0.0" + } + }, + "agentkeepalive": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-3.5.2.tgz", + "integrity": "sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ==", + "dev": true, + "requires": { + "humanize-ms": "^1.2.1" + } + }, + "ajv": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.9.1.tgz", + "integrity": "sha512-XDN92U311aINL77ieWHmqCcNlwjoP5cHXDxIxbf2MaPYuCXOHS7gHH8jktxeK5omgd52XbSTX6a4Piwd1pQmzA==", + "dev": true, + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ajv-errors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", + "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", + "dev": true + }, + "ajv-keywords": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz", + "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==", + "dev": true + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true + }, + "ansi-colors": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz", + "integrity": "sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==", + "dev": true + }, + "ansi-escapes": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", + "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", + "dev": true + }, + "ansi-html": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", + "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "requires": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + } + }, + "app-root-path": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-2.2.1.tgz", + "integrity": "sha512-91IFKeKk7FjfmezPKkwtaRvSpnUc4gDwPAjA1YZ9Gn0q0PPeW+vbeUsZuyDwjI7+QTHhcLen2v25fi/AmhvbJA==", + "dev": true + }, + "append-transform": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-1.0.0.tgz", + "integrity": "sha512-P009oYkeHyU742iSZJzZZywj4QRJdnTWffaKuJQLablCZ1uz6/cW4yaRgcDaoQ+uwOxxnt0gRUcwfsNP2ri0gw==", + "dev": true, + "requires": { + "default-require-extensions": "^2.0.0" + } + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true + }, + "array-flatten": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", + "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==", + "dev": true + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "^1.0.1" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "arraybuffer.slice": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz", + "integrity": "sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog==", + "dev": true + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", + "dev": true, + "optional": true + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "asn1.js": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", + "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "assert": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", + "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", + "dev": true, + "requires": { + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "requires": { + "inherits": "2.0.1" + } + } + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.2.tgz", + "integrity": "sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg==", + "dev": true, + "requires": { + "lodash": "^4.17.11" + } + }, + "async-each": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.2.tgz", + "integrity": "sha512-6xrbvN0MOBKSJDdonmSSz2OwFSgxRaVtBDes26mj9KIGtDo+g9xosFRSC+i1gQh2oAN/tQ62AI/pGZGQjVOiRg==", + "dev": true + }, + "async-foreach": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", + "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", + "dev": true + }, + "async-limiter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", + "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "autoprefixer": { + "version": "9.4.6", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.4.6.tgz", + "integrity": "sha512-Yp51mevbOEdxDUy5WjiKtpQaecqYq9OqZSL04rSoCiry7Tc5I9FEyo3bfxiTJc1DfHeKwSFCUYbBAiOQ2VGfiw==", + "dev": true, + "requires": { + "browserslist": "^4.4.1", + "caniuse-lite": "^1.0.30000929", + "normalize-range": "^0.1.2", + "num2fraction": "^1.2.2", + "postcss": "^7.0.13", + "postcss-value-parser": "^3.3.1" + } + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "aws4": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", + "dev": true + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "requires": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "requires": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "base64-arraybuffer": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", + "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=", + "dev": true + }, + "base64-js": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz", + "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==", + "dev": true + }, + "base64id": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-1.0.0.tgz", + "integrity": "sha1-R2iMuZu2gE8OBtPnY7HDLlfY5rY=", + "dev": true + }, + "batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", + "dev": true + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "better-assert": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz", + "integrity": "sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=", + "dev": true, + "requires": { + "callsite": "1.0.0" + } + }, + "bfj": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/bfj/-/bfj-6.1.2.tgz", + "integrity": "sha512-BmBJa4Lip6BPRINSZ0BPEIfB1wUY/9rwbwvIHQA1KjX9om29B6id0wnWXq7m3bn5JrUVjeOTnVuhPT1FiHwPGw==", + "dev": true, + "requires": { + "bluebird": "^3.5.5", + "check-types": "^8.0.3", + "hoopy": "^0.1.4", + "tryer": "^1.0.1" + }, + "dependencies": { + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + } + } + }, + "big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true + }, + "binary-extensions": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", + "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", + "dev": true + }, + "blob": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.5.tgz", + "integrity": "sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig==", + "dev": true + }, + "block-stream": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "dev": true, + "requires": { + "inherits": "~2.0.0" + } + }, + "blocking-proxy": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/blocking-proxy/-/blocking-proxy-1.0.1.tgz", + "integrity": "sha512-KE8NFMZr3mN2E0HcvCgRtX7DjhiIQrwle+nSVJVC/yqFb9+xznHl2ZcoBp2L9qzkI4t4cBFJ1efXF8Dwi132RA==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + }, + "bluebird": { + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.4.tgz", + "integrity": "sha512-FG+nFEZChJrbQ9tIccIfZJBz3J7mLrAhxakAbnrJWn8d7aKOC+LWifa0G+p4ZqKp4y13T7juYvdhq9NzKdsrjw==", + "dev": true + }, + "bn.js": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", + "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==", + "dev": true + }, + "body-parser": { + "version": "1.18.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz", + "integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "~1.6.3", + "iconv-lite": "0.4.23", + "on-finished": "~2.3.0", + "qs": "6.5.2", + "raw-body": "2.3.3", + "type-is": "~1.6.16" + } + }, + "bonjour": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz", + "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=", + "dev": true, + "requires": { + "array-flatten": "^2.1.0", + "deep-equal": "^1.0.1", + "dns-equal": "^1.0.0", + "dns-txt": "^2.0.2", + "multicast-dns": "^6.0.1", + "multicast-dns-service-types": "^1.1.0" + } + }, + "bootstrap": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.3.1.tgz", + "integrity": "sha512-rXqOmH1VilAt2DyPzluTi2blhk17bO7ef+zLLPlWvG494pDxcM234pJ8wTc/6R40UWizAIIMgxjvxZg5kmsbag==" + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", + "dev": true + }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dev": true, + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dev": true, + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", + "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", + "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", + "dev": true, + "requires": { + "bn.js": "^4.1.1", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.2", + "elliptic": "^6.0.0", + "inherits": "^2.0.1", + "parse-asn1": "^5.0.0" + } + }, + "browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dev": true, + "requires": { + "pako": "~1.0.5" + } + }, + "browserslist": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.4.tgz", + "integrity": "sha512-rAjx494LMjqKnMPhFkuLmLp8JWEX0o8ADTGeAbOqaF+XCvYLreZrG5uVjnPBlAQ8REZK4pzXGvp0bWgrFtKaag==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30000955", + "electron-to-chromium": "^1.3.122", + "node-releases": "^1.1.13" + } + }, + "browserstack": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/browserstack/-/browserstack-1.5.2.tgz", + "integrity": "sha512-+6AFt9HzhKykcPF79W6yjEUJcdvZOV0lIXdkORXMJftGrDl0OKWqRF4GHqpDNkxiceDT/uB7Fb/aDwktvXX7dg==", + "dev": true, + "requires": { + "https-proxy-agent": "^2.2.1" + } + }, + "buffer": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", + "dev": true, + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "buffer-alloc": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", + "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", + "dev": true, + "requires": { + "buffer-alloc-unsafe": "^1.1.0", + "buffer-fill": "^1.0.0" + } + }, + "buffer-alloc-unsafe": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", + "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==", + "dev": true + }, + "buffer-fill": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", + "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=", + "dev": true + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "buffer-indexof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz", + "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==", + "dev": true + }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", + "dev": true + }, + "builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", + "dev": true + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "builtins": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", + "integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og=", + "dev": true + }, + "bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", + "dev": true + }, + "cacache": { + "version": "10.0.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", + "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==", + "dev": true, + "requires": { + "bluebird": "^3.5.1", + "chownr": "^1.0.1", + "glob": "^7.1.2", + "graceful-fs": "^4.1.11", + "lru-cache": "^4.1.1", + "mississippi": "^2.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.2", + "ssri": "^5.2.4", + "unique-filename": "^1.1.0", + "y18n": "^4.0.0" + } + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "callsite": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", + "integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA=", + "dev": true + }, + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" + } + }, + "caniuse-lite": { + "version": "1.0.30000957", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000957.tgz", + "integrity": "sha512-8wxNrjAzyiHcLXN/iunskqQnJquQQ6VX8JHfW5kLgAPRSiSuKZiNfmIkP5j7jgyXqAQBSoXyJxfnbCFS0ThSiQ==", + "dev": true + }, + "canonical-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/canonical-path/-/canonical-path-1.0.0.tgz", + "integrity": "sha512-feylzsbDxi1gPZ1IjystzIQZagYYLvfKrSuygUCgf7z6x790VEzze5QEkdSV1U58RA7Hi0+v6fv4K54atOzATg==", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true + }, + "check-types": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/check-types/-/check-types-8.0.3.tgz", + "integrity": "sha512-YpeKZngUmG65rLudJ4taU7VLkOCTMhNl/u4ctNC56LQS/zJTyNH0Lrtwm1tfTsbLlwvlfsA2d1c8vCf/Kh2KwQ==", + "dev": true + }, + "chokidar": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz", + "integrity": "sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ==", + "dev": true, + "requires": { + "anymatch": "^2.0.0", + "async-each": "^1.0.0", + "braces": "^2.3.0", + "fsevents": "^1.2.2", + "glob-parent": "^3.1.0", + "inherits": "^2.0.1", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "lodash.debounce": "^4.0.8", + "normalize-path": "^2.1.1", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.0.0", + "upath": "^1.0.5" + } + }, + "chownr": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz", + "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==", + "dev": true + }, + "chrome-trace-event": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.0.tgz", + "integrity": "sha512-xDbVgyfDTT2piup/h8dK/y4QZfJRSa73bw1WZ8b4XM1o7fsFubUVGYcE+1ANtOzJJELGpYoG2961z0Z6OAld9A==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "circular-dependency-plugin": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/circular-dependency-plugin/-/circular-dependency-plugin-5.0.2.tgz", + "integrity": "sha512-oC7/DVAyfcY3UWKm0sN/oVoDedQDQiw/vIiAnuTWTpE5s0zWf7l3WY417Xw/Fbi/QbAjctAkxgMiS9P0s3zkmA==", + "dev": true + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "clean-css": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz", + "integrity": "sha512-4ZxI6dy4lrY6FHzfiy1aEOXgu4LIsW2MhwG0VBKdcoGoH/XLFgaHSdLTGr4O8Be6A8r3MOphEiI8Gc1n0ecf3g==", + "dev": true, + "requires": { + "source-map": "~0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "dev": true, + "requires": { + "restore-cursor": "^2.0.0" + } + }, + "cli-width": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", + "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "clone": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=", + "dev": true + }, + "clone-deep": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-2.0.2.tgz", + "integrity": "sha512-SZegPTKjCgpQH63E+eN6mVEEPdQBOUzjyJm5Pora4lrwWRFS8I0QAxV/KD6vV/i0WuijHZWQC1fMsPEdxfdVCQ==", + "dev": true, + "requires": { + "for-own": "^1.0.0", + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.0", + "shallow-clone": "^1.0.0" + } + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "codelyzer": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/codelyzer/-/codelyzer-4.5.0.tgz", + "integrity": "sha512-oO6vCkjqsVrEsmh58oNlnJkRXuA30hF8cdNAQV9DytEalDwyOFRvHMnlKFzmOStNerOmPGZU9GAHnBo4tGvtiQ==", + "dev": true, + "requires": { + "app-root-path": "^2.1.0", + "css-selector-tokenizer": "^0.7.0", + "cssauron": "^1.4.0", + "semver-dsl": "^1.0.1", + "source-map": "^0.5.7", + "sprintf-js": "^1.1.1" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, + "sprintf-js": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", + "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==", + "dev": true + } + } + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "colors": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", + "dev": true + }, + "combined-stream": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "dev": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz", + "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "compare-versions": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.4.0.tgz", + "integrity": "sha512-tK69D7oNXXqUW3ZNo/z7NXTEz22TCF0pTE+YF9cxvaAM9XnkLo1fV621xCLrRR6aevJlKxExkss0vWqUCUpqdg==", + "dev": true + }, + "component-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz", + "integrity": "sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=", + "dev": true + }, + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true + }, + "component-inherit": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz", + "integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=", + "dev": true + }, + "compressible": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.16.tgz", + "integrity": "sha512-JQfEOdnI7dASwCuSPWIeVYwc/zMsu/+tRhoUvEfXz2gxOA2DNjmG5vhtFdBlhWPPGo+RdT9S3tgc/uH5qgDiiA==", + "dev": true, + "requires": { + "mime-db": ">= 1.38.0 < 2" + } + }, + "compression": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", + "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", + "dev": true, + "requires": { + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.16", + "debug": "2.6.9", + "on-headers": "~1.0.2", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "connect": { + "version": "3.6.6", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.6.6.tgz", + "integrity": "sha1-Ce/2xVr3I24TcTWnJXSFi2eG9SQ=", + "dev": true, + "requires": { + "debug": "2.6.9", + "finalhandler": "1.1.0", + "parseurl": "~1.3.2", + "utils-merge": "1.0.1" + }, + "dependencies": { + "finalhandler": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", + "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.1", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", + "statuses": "~1.3.1", + "unpipe": "~1.0.0" + } + }, + "statuses": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", + "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", + "dev": true + } + } + }, + "connect-history-api-fallback": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz", + "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==", + "dev": true + }, + "console-browserify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", + "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", + "dev": true, + "requires": { + "date-now": "^0.1.4" + } + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, + "content-disposition": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", + "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=", + "dev": true + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true + }, + "convert-source-map": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", + "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", + "dev": true + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "copy-concurrently": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", + "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", + "dev": true, + "requires": { + "aproba": "^1.1.1", + "fs-write-stream-atomic": "^1.0.8", + "iferr": "^0.1.5", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.0" + } + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, + "copy-webpack-plugin": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.6.0.tgz", + "integrity": "sha512-Y+SQCF+0NoWQryez2zXn5J5knmr9z/9qSQt7fbL78u83rxmigOy8X5+BFn8CFSuX+nKT8gpYwJX68ekqtQt6ZA==", + "dev": true, + "requires": { + "cacache": "^10.0.4", + "find-cache-dir": "^1.0.0", + "globby": "^7.1.1", + "is-glob": "^4.0.0", + "loader-utils": "^1.1.0", + "minimatch": "^3.0.4", + "p-limit": "^1.0.0", + "serialize-javascript": "^1.4.0" + } + }, + "core-js": { + "version": "2.6.5", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.5.tgz", + "integrity": "sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A==" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "cosmiconfig": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-4.0.0.tgz", + "integrity": "sha512-6e5vDdrXZD+t5v0L8CrurPeybg4Fmf+FCSYxXKYVAqLUtyCSbuyqE059d0kDthTNRzKVjL7QMgNpEUlsoYH3iQ==", + "dev": true, + "requires": { + "is-directory": "^0.3.1", + "js-yaml": "^3.9.0", + "parse-json": "^4.0.0", + "require-from-string": "^2.0.1" + }, + "dependencies": { + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + } + } + }, + "create-ecdh": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz", + "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.0.0" + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "cross-spawn": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz", + "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "which": "^1.2.9" + } + }, + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "dev": true, + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "css-parse": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/css-parse/-/css-parse-1.7.0.tgz", + "integrity": "sha1-Mh9s9zeCpv91ERE5D8BeLGV9jJs=", + "dev": true + }, + "css-selector-tokenizer": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.1.tgz", + "integrity": "sha512-xYL0AMZJ4gFzJQsHUKa5jiWWi2vH77WVNg7JYRyewwj6oPh4yb/y6Y9ZCw9dsj/9UauMhtuxR+ogQd//EdEVNA==", + "dev": true, + "requires": { + "cssesc": "^0.1.0", + "fastparse": "^1.1.1", + "regexpu-core": "^1.0.0" + } + }, + "cssauron": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/cssauron/-/cssauron-1.4.0.tgz", + "integrity": "sha1-pmAt/34EqDBtwNuaVR6S6LVmKtg=", + "dev": true, + "requires": { + "through": "X.X.X" + } + }, + "cssesc": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz", + "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=", + "dev": true + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "requires": { + "array-find-index": "^1.0.1" + } + }, + "custom-event": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", + "integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=", + "dev": true + }, + "cyclist": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-0.2.2.tgz", + "integrity": "sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA=", + "dev": true + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "date-format": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/date-format/-/date-format-2.0.0.tgz", + "integrity": "sha512-M6UqVvZVgFYqZL1SfHsRGIQSz3ZL+qgbsV5Lp1Vj61LZVYuEwcMXYay7DRDtYs2HQQBK5hQtQ0fD9aEJ89V0LA==", + "dev": true + }, + "date-now": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", + "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", + "dev": true + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "deep-equal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", + "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=", + "dev": true + }, + "default-gateway": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-2.7.2.tgz", + "integrity": "sha512-lAc4i9QJR0YHSDFdzeBQKfZ1SRDG3hsJNEkrpcZa8QhBfidLAilT60BDEIVUUGqosFp425KOgB3uYqcnQrWafQ==", + "dev": true, + "requires": { + "execa": "^0.10.0", + "ip-regex": "^2.1.0" + } + }, + "default-require-extensions": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-2.0.0.tgz", + "integrity": "sha1-9fj7sYp9bVCyH2QfZJ67Uiz+JPc=", + "dev": true, + "requires": { + "strip-bom": "^3.0.0" + }, + "dependencies": { + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + } + } + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "del": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz", + "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", + "dev": true, + "requires": { + "globby": "^6.1.0", + "is-path-cwd": "^1.0.0", + "is-path-in-cwd": "^1.0.0", + "p-map": "^1.1.1", + "pify": "^3.0.0", + "rimraf": "^2.2.8" + }, + "dependencies": { + "globby": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + } + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, + "dependency-graph": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.7.2.tgz", + "integrity": "sha512-KqtH4/EZdtdfWX0p6MGP9jljvxSY6msy/pRUD4jgNwVpv3v1QmNLlsB3LDSSUg79BRVSn7jI1QPRtArGABovAQ==", + "dev": true + }, + "des.js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", + "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "detect-node": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz", + "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==", + "dev": true + }, + "di": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", + "integrity": "sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw=", + "dev": true + }, + "diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "dev": true + }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "dir-glob": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", + "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", + "dev": true, + "requires": { + "path-type": "^3.0.0" + } + }, + "dns-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", + "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", + "dev": true + }, + "dns-packet": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz", + "integrity": "sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg==", + "dev": true, + "requires": { + "ip": "^1.1.0", + "safe-buffer": "^5.0.1" + } + }, + "dns-txt": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/dns-txt/-/dns-txt-2.0.2.tgz", + "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=", + "dev": true, + "requires": { + "buffer-indexof": "^1.0.0" + } + }, + "dom-serialize": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz", + "integrity": "sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs=", + "dev": true, + "requires": { + "custom-event": "~1.0.0", + "ent": "~2.2.0", + "extend": "^3.0.0", + "void-elements": "^2.0.0" + } + }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true + }, + "duplexer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", + "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", + "dev": true + }, + "duplexify": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", + "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", + "dev": true, + "requires": { + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "ejs": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.7.4.tgz", + "integrity": "sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA==", + "dev": true + }, + "electron-to-chromium": { + "version": "1.3.124", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.124.tgz", + "integrity": "sha512-glecGr/kFdfeXUHOHAWvGcXrxNU+1wSO/t5B23tT1dtlvYB26GY8aHzZSWD7HqhqC800Lr+w/hQul6C5AF542w==", + "dev": true + }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dev": true, + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + } + } + }, + "emojis-list": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", + "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", + "dev": true + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true + }, + "encoding": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", + "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", + "dev": true, + "requires": { + "iconv-lite": "~0.4.13" + } + }, + "end-of-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", + "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "engine.io": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-3.2.1.tgz", + "integrity": "sha512-+VlKzHzMhaU+GsCIg4AoXF1UdDFjHHwMmMKqMJNDNLlUlejz58FCy4LBqB2YVJskHGYl06BatYWKP2TVdVXE5w==", + "dev": true, + "requires": { + "accepts": "~1.3.4", + "base64id": "1.0.0", + "cookie": "0.3.1", + "debug": "~3.1.0", + "engine.io-parser": "~2.1.0", + "ws": "~3.3.1" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "engine.io-client": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.2.1.tgz", + "integrity": "sha512-y5AbkytWeM4jQr7m/koQLc5AxpRKC1hEVUb/s1FUAWEJq5AzJJ4NLvzuKPuxtDi5Mq755WuDvZ6Iv2rXj4PTzw==", + "dev": true, + "requires": { + "component-emitter": "1.2.1", + "component-inherit": "0.0.3", + "debug": "~3.1.0", + "engine.io-parser": "~2.1.1", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "parseqs": "0.0.5", + "parseuri": "0.0.5", + "ws": "~3.3.1", + "xmlhttprequest-ssl": "~1.5.4", + "yeast": "0.1.2" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "engine.io-parser": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.1.3.tgz", + "integrity": "sha512-6HXPre2O4Houl7c4g7Ic/XzPnHBvaEmN90vtRO9uLmwtRqQmTOw0QMevL1TOfL2Cpu1VzsaTmMotQgMdkzGkVA==", + "dev": true, + "requires": { + "after": "0.8.2", + "arraybuffer.slice": "~0.0.7", + "base64-arraybuffer": "0.1.5", + "blob": "0.0.5", + "has-binary2": "~1.0.2" + } + }, + "enhanced-resolve": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz", + "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "memory-fs": "^0.4.0", + "tapable": "^1.0.0" + } + }, + "ent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", + "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=", + "dev": true + }, + "err-code": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz", + "integrity": "sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA=", + "dev": true + }, + "errno": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", + "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", + "dev": true, + "requires": { + "prr": "~1.0.1" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es6-promise": { + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.6.tgz", + "integrity": "sha512-aRVgGdnmW2OiySVPUC9e6m+plolMAJKjZnQlCwNSuK5yQ0JN61DZSO1X1Ufd1foqWRAlig0rhduTCHe7sVtK5Q==", + "dev": true + }, + "es6-promisify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", + "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", + "dev": true, + "requires": { + "es6-promise": "^4.0.3" + } + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "eslint-scope": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", + "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", + "dev": true, + "requires": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "dev": true, + "requires": { + "estraverse": "^4.1.0" + } + }, + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true + }, + "events": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.0.0.tgz", + "integrity": "sha512-Dc381HFWJzEOhQ+d8pkNon++bk9h6cdAoAj4iE6Q4y6xgTzySWXlKn05/TVNpjnfRqi/X0EpJEJohPjNI3zpVA==", + "dev": true + }, + "eventsource": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.0.7.tgz", + "integrity": "sha512-4Ln17+vVT0k8aWq+t/bF5arcS3EpT9gYtW66EPacdj/mAFevznsnyoHLPy2BA8gbIQeIHoPsvwmfBftfcG//BQ==", + "dev": true, + "requires": { + "original": "^1.0.0" + } + }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dev": true, + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "execa": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz", + "integrity": "sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw==", + "dev": true, + "requires": { + "cross-spawn": "^6.0.0", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + } + } + }, + "exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", + "dev": true + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "express": { + "version": "4.16.4", + "resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz", + "integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==", + "dev": true, + "requires": { + "accepts": "~1.3.5", + "array-flatten": "1.1.1", + "body-parser": "1.18.3", + "content-disposition": "0.5.2", + "content-type": "~1.0.4", + "cookie": "0.3.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.1.1", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.4", + "qs": "6.5.2", + "range-parser": "~1.2.0", + "safe-buffer": "5.1.2", + "send": "0.16.2", + "serve-static": "1.13.2", + "setprototypeof": "1.1.0", + "statuses": "~1.4.0", + "type-is": "~1.6.16", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "dependencies": { + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "external-editor": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz", + "integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==", + "dev": true, + "requires": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "dependencies": { + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "dev": true + }, + "fastparse": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", + "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==", + "dev": true + }, + "faye-websocket": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", + "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", + "dev": true, + "requires": { + "websocket-driver": ">=0.5.1" + } + }, + "figgy-pudding": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz", + "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w==", + "dev": true + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5" + } + }, + "file-loader": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-3.0.1.tgz", + "integrity": "sha512-4sNIOXgtH/9WZq4NvlfU3Opn5ynUsqBwSLyM+I7UOwdGigTBYfVVQEwe/msZNX/j4pCJTIM14Fsw66Svo1oVrw==", + "dev": true, + "requires": { + "loader-utils": "^1.0.2", + "schema-utils": "^1.0.0" + } + }, + "file-saver": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.2.tgz", + "integrity": "sha512-Wz3c3XQ5xroCxd1G8b7yL0Ehkf0TC9oYC6buPFkNnU9EnaPlifeAFCyCh+iewXTyFRcg0a6j3J7FmJsIhlhBdw==" + }, + "fileset": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz", + "integrity": "sha1-jnVIqW08wjJ+5eZ0FocjozO7oqA=", + "dev": true, + "requires": { + "glob": "^7.0.3", + "minimatch": "^3.0.3" + } + }, + "filesize": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz", + "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg==", + "dev": true + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "finalhandler": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", + "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", + "statuses": "~1.4.0", + "unpipe": "~1.0.0" + } + }, + "find-cache-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz", + "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^1.0.0", + "pkg-dir": "^2.0.0" + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "flatted": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.0.tgz", + "integrity": "sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg==", + "dev": true + }, + "flush-write-stream": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", + "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "readable-stream": "^2.3.6" + } + }, + "follow-redirects": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.7.0.tgz", + "integrity": "sha512-m/pZQy4Gj287eNy94nivy5wchN3Kp+Q5WgUPNy5lJSZ3sgkVKSYV/ZChMAQVIgx1SqfZ2zBZtPA2YlXIWxxJOQ==", + "dev": true, + "requires": { + "debug": "^3.2.6" + }, + "dependencies": { + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "for-own": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", + "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", + "dev": true, + "requires": { + "for-in": "^1.0.1" + } + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", + "dev": true + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "^0.2.2" + } + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true + }, + "from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, + "fs-access": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fs-access/-/fs-access-1.0.1.tgz", + "integrity": "sha1-1qh/JiJxzv6+wwxVNAf7mV2od3o=", + "dev": true, + "requires": { + "null-check": "^1.0.0" + } + }, + "fs-extra": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs-minipass": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", + "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", + "dev": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "fs-write-stream-atomic": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", + "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "iferr": "^0.1.5", + "imurmurhash": "^0.1.4", + "readable-stream": "1 || 2" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.7.tgz", + "integrity": "sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw==", + "dev": true, + "optional": true, + "requires": { + "nan": "^2.9.2", + "node-pre-gyp": "^0.10.0" + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "aproba": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "deep-extend": { + "version": "0.6.0", + "bundled": true, + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "glob": { + "version": "7.1.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.24", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ignore-walk": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "ini": { + "version": "1.3.5", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true, + "optional": true + }, + "minipass": { + "version": "2.3.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.2.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "needle": { + "version": "2.2.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "^2.1.2", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.10.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.1", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, + "npm-bundled": { + "version": "1.0.5", + "bundled": true, + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "wrappy": "1" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.8", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "rimraf": { + "version": "2.6.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "glob": "^7.1.3" + } + }, + "safe-buffer": { + "version": "5.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "5.6.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "tar": { + "version": "4.4.8", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.3.4", + "minizlib": "^1.1.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "^1.0.2 || 2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "yallist": { + "version": "3.0.3", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "fstream": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", + "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "inherits": "~2.0.0", + "mkdirp": ">=0.5 0", + "rimraf": "2" + } + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "gaze": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", + "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", + "dev": true, + "requires": { + "globule": "^1.0.0" + } + }, + "genfun": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/genfun/-/genfun-5.0.0.tgz", + "integrity": "sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA==", + "dev": true + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "dev": true + }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + } + } + }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true + }, + "globby": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-7.1.1.tgz", + "integrity": "sha1-+yzP+UAfhgCUXfral0QMypcrhoA=", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "dir-glob": "^2.0.0", + "glob": "^7.1.2", + "ignore": "^3.3.5", + "pify": "^3.0.0", + "slash": "^1.0.0" + } + }, + "globule": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.1.tgz", + "integrity": "sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ==", + "dev": true, + "requires": { + "glob": "~7.1.1", + "lodash": "~4.17.10", + "minimatch": "~3.0.2" + } + }, + "graceful-fs": { + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==", + "dev": true + }, + "gzip-size": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.1.1.tgz", + "integrity": "sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA==", + "dev": true, + "requires": { + "duplexer": "^0.1.1", + "pify": "^4.0.1" + }, + "dependencies": { + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true + } + } + }, + "hammerjs": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz", + "integrity": "sha1-BO93hiz/K7edMPdpIJWTAiK/YPE=" + }, + "handle-thing": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.0.tgz", + "integrity": "sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ==", + "dev": true + }, + "handlebars": { + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz", + "integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==", + "dev": true, + "requires": { + "neo-async": "^2.6.0", + "optimist": "^0.6.1", + "source-map": "^0.6.1", + "uglify-js": "^3.1.4" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true + }, + "har-validator": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", + "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", + "dev": true, + "requires": { + "ajv": "^6.5.5", + "har-schema": "^2.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "has-binary2": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-binary2/-/has-binary2-1.0.3.tgz", + "integrity": "sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw==", + "dev": true, + "requires": { + "isarray": "2.0.1" + }, + "dependencies": { + "isarray": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz", + "integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=", + "dev": true + } + } + }, + "has-cors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz", + "integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "hash-base": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz", + "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dev": true, + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "hoopy": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz", + "integrity": "sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ==", + "dev": true + }, + "hosted-git-info": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", + "dev": true + }, + "hpack.js": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", + "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" + } + }, + "html-entities": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz", + "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=", + "dev": true + }, + "http-cache-semantics": { + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz", + "integrity": "sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==", + "dev": true + }, + "http-deceiver": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", + "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=", + "dev": true + }, + "http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + } + }, + "http-parser-js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.0.tgz", + "integrity": "sha512-cZdEF7r4gfRIq7ezX9J0T+kQmJNOub71dWbgAXVHDct80TKP4MCETtZQ31xyv38UwgzkWPYF/Xc0ge55dW9Z9w==", + "dev": true + }, + "http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "requires": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "dependencies": { + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + } + } + }, + "http-proxy-agent": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz", + "integrity": "sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==", + "dev": true, + "requires": { + "agent-base": "4", + "debug": "3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "http-proxy-middleware": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.18.0.tgz", + "integrity": "sha512-Fs25KVMPAIIcgjMZkVHJoKg9VcXcC1C8yb9JUgeDvVXY0S/zgVIhMb+qVswDIgtJe2DfckMSY2d6TuTEutlk6Q==", + "dev": true, + "requires": { + "http-proxy": "^1.16.2", + "is-glob": "^4.0.0", + "lodash": "^4.17.5", + "micromatch": "^3.1.9" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", + "dev": true + }, + "https-proxy-agent": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", + "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", + "dev": true, + "requires": { + "agent-base": "^4.3.0", + "debug": "^3.1.0" + }, + "dependencies": { + "agent-base": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", + "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", + "dev": true, + "requires": { + "es6-promisify": "^5.0.0" + } + }, + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } + }, + "humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=", + "dev": true, + "requires": { + "ms": "^2.0.0" + } + }, + "iconv-lite": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ieee754": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", + "dev": true + }, + "iferr": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", + "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", + "dev": true + }, + "ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true + }, + "ignore-walk": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", + "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", + "dev": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "image-size": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", + "integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=", + "dev": true, + "optional": true + }, + "immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=", + "dev": true + }, + "import-cwd": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz", + "integrity": "sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=", + "dev": true, + "requires": { + "import-from": "^2.1.0" + } + }, + "import-from": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-from/-/import-from-2.1.0.tgz", + "integrity": "sha1-M1238qev/VOqpHHUuAId7ja387E=", + "dev": true, + "requires": { + "resolve-from": "^3.0.0" + } + }, + "import-local": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", + "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", + "dev": true, + "requires": { + "pkg-dir": "^3.0.0", + "resolve-cwd": "^2.0.0" + }, + "dependencies": { + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-limit": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz", + "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + } + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "in-publish": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", + "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=", + "dev": true + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "dev": true + }, + "inquirer": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.2.1.tgz", + "integrity": "sha512-088kl3DRT2dLU5riVMKKr1DlImd6X7smDhpXUCkJDCKvTEJeRiXh0G132HG9u5a+6Ylw9plFRY7RuTnwohYSpg==", + "dev": true, + "requires": { + "ansi-escapes": "^3.0.0", + "chalk": "^2.0.0", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^3.0.0", + "figures": "^2.0.0", + "lodash": "^4.17.10", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rxjs": "^6.1.0", + "string-width": "^2.1.0", + "strip-ansi": "^5.0.0", + "through": "^2.3.6" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + } + } + } + } + }, + "internal-ip": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-3.0.1.tgz", + "integrity": "sha512-NXXgESC2nNVtU+pqmC9e6R8B1GpKxzsAQhffvh5AL79qKnodd+L7tnEQmTiUAVngqLalPbSqRA7XGIEL5nCd0Q==", + "dev": true, + "requires": { + "default-gateway": "^2.6.0", + "ipaddr.js": "^1.5.2" + } + }, + "interpret": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz", + "integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==", + "dev": true + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "requires": { + "loose-envify": "^1.0.0" + } + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "ip": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", + "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", + "dev": true + }, + "ip-regex": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", + "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=", + "dev": true + }, + "ipaddr.js": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz", + "integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4=", + "dev": true + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "requires": { + "binary-extensions": "^1.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-path-cwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", + "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", + "dev": true + }, + "is-path-in-cwd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", + "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", + "dev": true, + "requires": { + "is-path-inside": "^1.0.0" + } + }, + "is-path-inside": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", + "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", + "dev": true, + "requires": { + "path-is-inside": "^1.0.1" + } + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "is-promise": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", + "dev": true + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "is-wsl": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", + "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isbinaryfile": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz", + "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==", + "dev": true, + "requires": { + "buffer-alloc": "^1.2.0" + } + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "istanbul-api": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/istanbul-api/-/istanbul-api-2.1.1.tgz", + "integrity": "sha512-kVmYrehiwyeBAk/wE71tW6emzLiHGjYIiDrc8sfyty4F8M02/lrgXSm+R1kXysmF20zArvmZXjlE/mg24TVPJw==", + "dev": true, + "requires": { + "async": "^2.6.1", + "compare-versions": "^3.2.1", + "fileset": "^2.0.3", + "istanbul-lib-coverage": "^2.0.3", + "istanbul-lib-hook": "^2.0.3", + "istanbul-lib-instrument": "^3.1.0", + "istanbul-lib-report": "^2.0.4", + "istanbul-lib-source-maps": "^3.0.2", + "istanbul-reports": "^2.1.1", + "js-yaml": "^3.12.0", + "make-dir": "^1.3.0", + "minimatch": "^3.0.4", + "once": "^1.4.0" + }, + "dependencies": { + "istanbul-lib-coverage": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz", + "integrity": "sha512-dKWuzRGCs4G+67VfW9pBFFz2Jpi4vSp/k7zBcJ888ofV5Mi1g5CUML5GvMvV6u9Cjybftu+E8Cgp+k0dI1E5lw==", + "dev": true + }, + "istanbul-lib-instrument": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.1.0.tgz", + "integrity": "sha512-ooVllVGT38HIk8MxDj/OIHXSYvH+1tq/Vb38s8ixt9GoJadXska4WkGY+0wkmtYCZNYtaARniH/DixUGGLZ0uA==", + "dev": true, + "requires": { + "@babel/generator": "^7.0.0", + "@babel/parser": "^7.0.0", + "@babel/template": "^7.0.0", + "@babel/traverse": "^7.0.0", + "@babel/types": "^7.0.0", + "istanbul-lib-coverage": "^2.0.3", + "semver": "^5.5.0" + } + } + } + }, + "istanbul-instrumenter-loader": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-instrumenter-loader/-/istanbul-instrumenter-loader-3.0.1.tgz", + "integrity": "sha512-a5SPObZgS0jB/ixaKSMdn6n/gXSrK2S6q/UfRJBT3e6gQmVjwZROTODQsYW5ZNwOu78hG62Y3fWlebaVOL0C+w==", + "dev": true, + "requires": { + "convert-source-map": "^1.5.0", + "istanbul-lib-instrument": "^1.7.3", + "loader-utils": "^1.1.0", + "schema-utils": "^0.3.0" + }, + "dependencies": { + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "dev": true, + "requires": { + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" + } + }, + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", + "dev": true + }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", + "dev": true + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "dev": true, + "requires": { + "ajv": "^5.0.0" + } + } + } + }, + "istanbul-lib-coverage": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz", + "integrity": "sha512-PzITeunAgyGbtY1ibVIUiV679EFChHjoMNRibEIobvmrCRaIgwLxNucOSimtNWUhEib/oO7QY2imD75JVgCJWQ==", + "dev": true + }, + "istanbul-lib-hook": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-2.0.3.tgz", + "integrity": "sha512-CLmEqwEhuCYtGcpNVJjLV1DQyVnIqavMLFHV/DP+np/g3qvdxu3gsPqYoJMXm15sN84xOlckFB3VNvRbf5yEgA==", + "dev": true, + "requires": { + "append-transform": "^1.0.0" + } + }, + "istanbul-lib-instrument": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.2.tgz", + "integrity": "sha512-aWHxfxDqvh/ZlxR8BBaEPVSWDPUkGD63VjGQn3jcw8jCp7sHEMKcrj4xfJn/ABzdMEHiQNyvDQhqm5o8+SQg7A==", + "dev": true, + "requires": { + "babel-generator": "^6.18.0", + "babel-template": "^6.16.0", + "babel-traverse": "^6.18.0", + "babel-types": "^6.18.0", + "babylon": "^6.18.0", + "istanbul-lib-coverage": "^1.2.1", + "semver": "^5.3.0" + } + }, + "istanbul-lib-report": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.4.tgz", + "integrity": "sha512-sOiLZLAWpA0+3b5w5/dq0cjm2rrNdAfHWaGhmn7XEFW6X++IV9Ohn+pnELAl9K3rfpaeBfbmH9JU5sejacdLeA==", + "dev": true, + "requires": { + "istanbul-lib-coverage": "^2.0.3", + "make-dir": "^1.3.0", + "supports-color": "^6.0.0" + }, + "dependencies": { + "istanbul-lib-coverage": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz", + "integrity": "sha512-dKWuzRGCs4G+67VfW9pBFFz2Jpi4vSp/k7zBcJ888ofV5Mi1g5CUML5GvMvV6u9Cjybftu+E8Cgp+k0dI1E5lw==", + "dev": true + } + } + }, + "istanbul-lib-source-maps": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.2.tgz", + "integrity": "sha512-JX4v0CiKTGp9fZPmoxpu9YEkPbEqCqBbO3403VabKjH+NRXo72HafD5UgnjTEqHL2SAjaZK1XDuDOkn6I5QVfQ==", + "dev": true, + "requires": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^2.0.3", + "make-dir": "^1.3.0", + "rimraf": "^2.6.2", + "source-map": "^0.6.1" + }, + "dependencies": { + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "istanbul-lib-coverage": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz", + "integrity": "sha512-dKWuzRGCs4G+67VfW9pBFFz2Jpi4vSp/k7zBcJ888ofV5Mi1g5CUML5GvMvV6u9Cjybftu+E8Cgp+k0dI1E5lw==", + "dev": true + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "istanbul-reports": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.1.1.tgz", + "integrity": "sha512-FzNahnidyEPBCI0HcufJoSEoKykesRlFcSzQqjH9x0+LC8tnnE/p/90PBLu8iZTxr8yYZNyTtiAujUqyN+CIxw==", + "dev": true, + "requires": { + "handlebars": "^4.1.0" + } + }, + "jasmine": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-2.8.0.tgz", + "integrity": "sha1-awicChFXax8W3xG4AUbZHU6Lij4=", + "dev": true, + "requires": { + "exit": "^0.1.2", + "glob": "^7.0.6", + "jasmine-core": "~2.8.0" + }, + "dependencies": { + "jasmine-core": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-2.8.0.tgz", + "integrity": "sha1-vMl5rh+f0FcB5F5S5l06XWPxok4=", + "dev": true + } + } + }, + "jasmine-core": { + "version": "2.99.1", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-2.99.1.tgz", + "integrity": "sha1-5kAN8ea1bhMLYcS80JPap/boyhU=", + "dev": true + }, + "jasmine-spec-reporter": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-4.2.1.tgz", + "integrity": "sha512-FZBoZu7VE5nR7Nilzy+Np8KuVIOxF4oXDPDknehCYBDE080EnlPu0afdZNmpGDBRCUBv3mj5qgqCRmk6W/K8vg==", + "dev": true, + "requires": { + "colors": "1.1.2" + } + }, + "jasminewd2": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/jasminewd2/-/jasminewd2-2.2.0.tgz", + "integrity": "sha1-43zwsX8ZnM4jvqcbIDk5Uka07E4=", + "dev": true + }, + "jquery": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.5.0.tgz", + "integrity": "sha512-Xb7SVYMvygPxbFMpTFQiHh1J7HClEaThguL15N/Gg37Lri/qKyhRGZYzHRyLH8Stq3Aow0LsHO2O2ci86fCrNQ==" + }, + "js-base64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.1.tgz", + "integrity": "sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw==", + "dev": true + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "js-yaml": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "json3": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", + "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=", + "dev": true + }, + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", + "dev": true + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "jszip": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.2.1.tgz", + "integrity": "sha512-iCMBbo4eE5rb1VCpm5qXOAaUiRKRUKiItn8ah2YQQx9qymmSAY98eyQfioChEYcVQLh0zxJ3wS4A0mh90AVPvw==", + "dev": true, + "requires": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "set-immediate-shim": "~1.0.1" + } + }, + "karma": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/karma/-/karma-4.0.1.tgz", + "integrity": "sha512-ind+4s03BqIXas7ZmraV3/kc5+mnqwCd+VDX1FndS6jxbt03kQKX2vXrWxNLuCjVYmhMwOZosAEKMM0a2q7w7A==", + "dev": true, + "requires": { + "bluebird": "^3.3.0", + "body-parser": "^1.16.1", + "braces": "^2.3.2", + "chokidar": "^2.0.3", + "colors": "^1.1.0", + "connect": "^3.6.0", + "core-js": "^2.2.0", + "di": "^0.0.1", + "dom-serialize": "^2.2.0", + "flatted": "^2.0.0", + "glob": "^7.1.1", + "graceful-fs": "^4.1.2", + "http-proxy": "^1.13.0", + "isbinaryfile": "^3.0.0", + "lodash": "^4.17.11", + "log4js": "^4.0.0", + "mime": "^2.3.1", + "minimatch": "^3.0.2", + "optimist": "^0.6.1", + "qjobs": "^1.1.4", + "range-parser": "^1.2.0", + "rimraf": "^2.6.0", + "safe-buffer": "^5.0.1", + "socket.io": "2.1.1", + "source-map": "^0.6.1", + "tmp": "0.0.33", + "useragent": "2.3.0" + }, + "dependencies": { + "mime": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.2.tgz", + "integrity": "sha512-zJBfZDkwRu+j3Pdd2aHsR5GfH2jIWhmL1ZzBoc+X+3JEti2hbArWcyJ+1laC1D2/U/W1a/+Cegj0/OnEU2ybjg==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "karma-chrome-launcher": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-2.2.0.tgz", + "integrity": "sha512-uf/ZVpAabDBPvdPdveyk1EPgbnloPvFFGgmRhYLTDH7gEB4nZdSBk8yTU47w1g/drLSx5uMOkjKk7IWKfWg/+w==", + "dev": true, + "requires": { + "fs-access": "^1.0.0", + "which": "^1.2.1" + } + }, + "karma-coverage-istanbul-reporter": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/karma-coverage-istanbul-reporter/-/karma-coverage-istanbul-reporter-2.0.5.tgz", + "integrity": "sha512-yPvAlKtY3y+rKKWbOo0CzBMVTvJEeMOgbMXuVv3yWvS8YtYKC98AU9vFF0mVBZ2RP1E9SgS90+PT6Kf14P3S4w==", + "dev": true, + "requires": { + "istanbul-api": "^2.1.1", + "minimatch": "^3.0.4" + } + }, + "karma-jasmine": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-1.1.2.tgz", + "integrity": "sha1-OU8rJf+0pkS5rabyLUQ+L9CIhsM=", + "dev": true + }, + "karma-jasmine-html-reporter": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-0.2.2.tgz", + "integrity": "sha1-SKjl7xiAdhfuK14zwRlMNbQ5Ukw=", + "dev": true, + "requires": { + "karma-jasmine": "^1.0.2" + } + }, + "karma-source-map-support": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/karma-source-map-support/-/karma-source-map-support-1.3.0.tgz", + "integrity": "sha512-HcPqdAusNez/ywa+biN4EphGz62MmQyPggUsDfsHqa7tSe4jdsxgvTKuDfIazjL+IOxpVWyT7Pr4dhAV+sxX5Q==", + "dev": true, + "requires": { + "source-map-support": "^0.5.5" + } + }, + "killable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/killable/-/killable-1.0.1.tgz", + "integrity": "sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg==", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "^1.0.0" + } + }, + "less": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/less/-/less-3.9.0.tgz", + "integrity": "sha512-31CmtPEZraNUtuUREYjSqRkeETFdyEHSEPAGq4erDlUXtda7pzNmctdljdIagSb589d/qXGWiiP31R5JVf+v0w==", + "dev": true, + "requires": { + "clone": "^2.1.2", + "errno": "^0.1.1", + "graceful-fs": "^4.1.2", + "image-size": "~0.5.0", + "mime": "^1.4.1", + "mkdirp": "^0.5.0", + "promise": "^7.1.1", + "request": "^2.83.0", + "source-map": "~0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true + } + } + }, + "less-loader": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-4.1.0.tgz", + "integrity": "sha512-KNTsgCE9tMOM70+ddxp9yyt9iHqgmSs0yTZc5XH5Wo+g80RWRIYNqE58QJKm/yMud5wZEvz50ugRDuzVIkyahg==", + "dev": true, + "requires": { + "clone": "^2.1.1", + "loader-utils": "^1.1.0", + "pify": "^3.0.0" + } + }, + "license-webpack-plugin": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-2.1.0.tgz", + "integrity": "sha512-vDiBeMWxjE9n6TabQ9J4FH8urFdsRK0Nvxn1cit9biCiR9aq1zBR0X2BlAkEiIG6qPamLeU0GzvIgLkrFc398A==", + "dev": true, + "requires": { + "@types/webpack-sources": "^0.1.5", + "webpack-sources": "^1.2.0" + } + }, + "lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "dev": true, + "requires": { + "immediate": "~3.0.5" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "loader-runner": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", + "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", + "dev": true + }, + "loader-utils": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz", + "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==", + "dev": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^2.0.0", + "json5": "^1.0.1" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "lodash": { + "version": "4.17.19", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", + "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", + "dev": true + }, + "lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=", + "dev": true, + "optional": true + }, + "lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", + "dev": true + }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "dev": true + }, + "lodash.mergewith": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", + "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", + "dev": true, + "optional": true + }, + "lodash.tail": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.tail/-/lodash.tail-4.1.1.tgz", + "integrity": "sha1-0jM6NtnncXyK0vfKyv7HwytERmQ=", + "dev": true + }, + "log4js": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log4js/-/log4js-4.1.0.tgz", + "integrity": "sha512-eDa+zZPeVEeK6QGJAePyXM6pg4P3n3TO5rX9iZMVY48JshsTyLJZLIL5HipI1kQ2qLsSyOpUqNND/C5H4WhhiA==", + "dev": true, + "requires": { + "date-format": "^2.0.0", + "debug": "^4.1.1", + "flatted": "^2.0.0", + "rfdc": "^1.1.2", + "streamroller": "^1.0.4" + }, + "dependencies": { + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "loglevel": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.1.tgz", + "integrity": "sha1-4PyVEztu8nbNyIh82vJKpvFW+Po=", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "requires": { + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" + } + }, + "lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "magic-string": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.2.tgz", + "integrity": "sha512-iLs9mPjh9IuTtRsqqhNGYcZXGei0Nh/A4xirrsqW7c+QhKVFL2vm7U09ru6cHRD22azaP/wMDgI+HCqbETMTtg==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.4" + } + }, + "make-dir": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", + "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + }, + "make-error": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz", + "integrity": "sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==", + "dev": true + }, + "make-fetch-happen": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-4.0.1.tgz", + "integrity": "sha512-7R5ivfy9ilRJ1EMKIOziwrns9fGeAD4bAha8EB7BIiBBLHm2KeTUGCrICFt2rbHfzheTLynv50GnNTK1zDTrcQ==", + "dev": true, + "requires": { + "agentkeepalive": "^3.4.1", + "cacache": "^11.0.1", + "http-cache-semantics": "^3.8.1", + "http-proxy-agent": "^2.1.0", + "https-proxy-agent": "^2.2.1", + "lru-cache": "^4.1.2", + "mississippi": "^3.0.0", + "node-fetch-npm": "^2.0.2", + "promise-retry": "^1.1.1", + "socks-proxy-agent": "^4.0.0", + "ssri": "^6.0.0" + }, + "dependencies": { + "cacache": { + "version": "11.3.2", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.2.tgz", + "integrity": "sha512-E0zP4EPGDOaT2chM08Als91eYnf8Z+eH1awwwVsngUmgppfM5jjJ8l3z5vO5p5w/I3LsiXawb1sW0VY65pQABg==", + "dev": true, + "requires": { + "bluebird": "^3.5.3", + "chownr": "^1.1.1", + "figgy-pudding": "^3.5.1", + "glob": "^7.1.3", + "graceful-fs": "^4.1.15", + "lru-cache": "^5.1.1", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.2", + "ssri": "^6.0.1", + "unique-filename": "^1.1.1", + "y18n": "^4.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "requires": { + "yallist": "^3.0.2" + } + } + } + }, + "mississippi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", + "dev": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "ssri": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", + "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "dev": true, + "requires": { + "figgy-pudding": "^3.5.1" + } + }, + "yallist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", + "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", + "dev": true + } + } + }, + "map-age-cleaner": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz", + "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==", + "dev": true, + "requires": { + "p-defer": "^1.0.0" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "^1.0.0" + } + }, + "material-community-components": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/material-community-components/-/material-community-components-3.4.0.tgz", + "integrity": "sha512-YgYew8MIw3Teo1VTfQfiANX+LjdFqzuKRdcSytyKh3dslUAald/5J+0C17vgs/EGzQ6xuG60OVM9sJuHuJSNJA==", + "requires": { + "tslib": "^1.9.0" + } + }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true + }, + "mem": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz", + "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==", + "dev": true, + "requires": { + "map-age-cleaner": "^0.1.1", + "mimic-fn": "^2.0.0", + "p-is-promise": "^2.0.0" + } + }, + "memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "requires": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" + } + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + } + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "optional": true + }, + "mime-db": { + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz", + "integrity": "sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg==", + "dev": true + }, + "mime-types": { + "version": "2.1.22", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz", + "integrity": "sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==", + "dev": true, + "requires": { + "mime-db": "~1.38.0" + } + }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true + }, + "mini-css-extract-plugin": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-0.5.0.tgz", + "integrity": "sha512-IuaLjruM0vMKhUUT51fQdQzBYTX49dLj8w68ALEAe2A4iYNpIC4eMac67mt3NzycvjOlf07/kYxJDc0RTl1Wqw==", + "dev": true, + "requires": { + "loader-utils": "^1.1.0", + "schema-utils": "^1.0.0", + "webpack-sources": "^1.1.0" + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "minipass": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz", + "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + }, + "dependencies": { + "yallist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", + "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", + "dev": true + } + } + }, + "minizlib": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz", + "integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==", + "dev": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "mississippi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz", + "integrity": "sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw==", + "dev": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^2.0.1", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, + "mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "mixin-object": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mixin-object/-/mixin-object-2.0.1.tgz", + "integrity": "sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4=", + "dev": true, + "requires": { + "for-in": "^0.1.3", + "is-extendable": "^0.1.1" + }, + "dependencies": { + "for-in": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-0.1.8.tgz", + "integrity": "sha1-2Hc5COMSVhCZUrH9ubP6hn0ndeE=", + "dev": true + } + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "dev": true, + "requires": { + "minimist": "0.0.8" + }, + "dependencies": { + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true + } + } + }, + "move-concurrently": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", + "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", + "dev": true, + "requires": { + "aproba": "^1.1.1", + "copy-concurrently": "^1.0.0", + "fs-write-stream-atomic": "^1.0.8", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.3" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "multicast-dns": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", + "integrity": "sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g==", + "dev": true, + "requires": { + "dns-packet": "^1.3.1", + "thunky": "^1.0.2" + } + }, + "multicast-dns-service-types": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz", + "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=", + "dev": true + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "dev": true + }, + "mxgraph": { + "version": "3.9.12", + "resolved": "https://registry.npmjs.org/mxgraph/-/mxgraph-3.9.12.tgz", + "integrity": "sha512-fm15Ro1bc/d3T/qvrkOIPjdAgyaKuaE6+olMpu9QZOm3aHWimu+W+dGAusW8VGVmaF4VYII11a5sVNdLekRoEw==" + }, + "nan": { + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.13.2.tgz", + "integrity": "sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw==", + "dev": true + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + } + }, + "negotiator": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", + "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", + "dev": true + }, + "neo-async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.0.tgz", + "integrity": "sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==", + "dev": true + }, + "ng-sidebar": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/ng-sidebar/-/ng-sidebar-8.0.0.tgz", + "integrity": "sha512-+uCduUkcsOerb8MjecrPcP1KY8gKyd8XVBB+8jRao/JCz/qBwD9E2GPRGLL+NzwU72coYhL8L4UvhZwwIpl1rA==" + }, + "ngx-bootstrap": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/ngx-bootstrap/-/ngx-bootstrap-4.0.0.tgz", + "integrity": "sha512-xSCurp1pmv7GkictBow53VFmeEoSvobJ/+Js8f2lYbOPSRjmkkBazZsUC52MKWZ/3Dl81LSvrRTsXPFTuvu6Jw==" + }, + "nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node-fetch-npm": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz", + "integrity": "sha512-nJIxm1QmAj4v3nfCvEeCrYSoVwXyxLnaPBK5W1W5DGEJwjlKuC2VEUycGw5oxk+4zZahRrB84PUJJgEmhFTDFw==", + "dev": true, + "requires": { + "encoding": "^0.1.11", + "json-parse-better-errors": "^1.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node-forge": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", + "integrity": "sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ==", + "dev": true + }, + "node-gyp": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", + "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==", + "dev": true, + "requires": { + "fstream": "^1.0.0", + "glob": "^7.0.3", + "graceful-fs": "^4.1.2", + "mkdirp": "^0.5.0", + "nopt": "2 || 3", + "npmlog": "0 || 1 || 2 || 3 || 4", + "osenv": "0", + "request": "^2.87.0", + "rimraf": "2", + "semver": "~5.3.0", + "tar": "^2.0.0", + "which": "1" + }, + "dependencies": { + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true + } + } + }, + "node-libs-browser": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.0.tgz", + "integrity": "sha512-5MQunG/oyOaBdttrL40dA7bUfPORLRWMUJLQtMg7nluxUvk5XwnLdL9twQHFAjRx/y7mIMkLKT9++qPbbk6BZA==", + "dev": true, + "requires": { + "assert": "^1.1.1", + "browserify-zlib": "^0.2.0", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^3.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "0.0.0", + "process": "^0.11.10", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.3.3", + "stream-browserify": "^2.0.1", + "stream-http": "^2.7.2", + "string_decoder": "^1.0.0", + "timers-browserify": "^2.0.4", + "tty-browserify": "0.0.0", + "url": "^0.11.0", + "util": "^0.11.0", + "vm-browserify": "0.0.4" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + } + } + }, + "node-releases": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.13.tgz", + "integrity": "sha512-fKZGviSXR6YvVPyc011NHuJDSD8gFQvLPmc2d2V3BS4gr52ycyQ1Xzs7a8B+Ax3Ni/W+5h1h4SqmzeoA8WZRmA==", + "dev": true, + "requires": { + "semver": "^5.3.0" + } + }, + "node-sass": { + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.13.1.tgz", + "integrity": "sha512-TTWFx+ZhyDx1Biiez2nB0L3YrCZ/8oHagaDalbuBSlqXgUPsdkUSzJsVxeDO9LtPB49+Fh3WQl3slABo6AotNw==", + "dev": true, + "requires": { + "async-foreach": "^0.1.3", + "chalk": "^1.1.1", + "cross-spawn": "^3.0.0", + "gaze": "^1.0.0", + "get-stdin": "^4.0.1", + "glob": "^7.0.3", + "in-publish": "^2.0.0", + "lodash": "^4.17.15", + "meow": "^3.7.0", + "mkdirp": "^0.5.1", + "nan": "^2.13.2", + "node-gyp": "^3.8.0", + "npmlog": "^4.0.0", + "request": "^2.88.0", + "sass-graph": "^2.2.4", + "stdout-stream": "^1.4.0", + "true-case-path": "^1.0.2" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "dev": true, + "requires": { + "abbrev": "1" + } + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } + }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "dev": true + }, + "npm-bundled": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz", + "integrity": "sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g==", + "dev": true + }, + "npm-package-arg": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.0.tgz", + "integrity": "sha512-zYbhP2k9DbJhA0Z3HKUePUgdB1x7MfIfKssC+WLPFMKTBZKpZh5m13PgexJjCq6KW7j17r0jHWcCpxEqnnncSA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.6.0", + "osenv": "^0.1.5", + "semver": "^5.5.0", + "validate-npm-package-name": "^3.0.0" + } + }, + "npm-packlist": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.1.tgz", + "integrity": "sha512-+TcdO7HJJ8peiiYhvPxsEDhF3PJFGUGRcFsGve3vxvxdcpO2Z4Z7rkosRM0kWj6LfbK/P0gu3dzk5RU1ffvFcw==", + "dev": true, + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" + } + }, + "npm-pick-manifest": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-2.2.3.tgz", + "integrity": "sha512-+IluBC5K201+gRU85vFlUwX3PFShZAbAgDNp2ewJdWMVSppdo/Zih0ul2Ecky/X7b51J7LrrUAP+XOmOCvYZqA==", + "dev": true, + "requires": { + "figgy-pudding": "^3.5.1", + "npm-package-arg": "^6.0.0", + "semver": "^5.4.1" + } + }, + "npm-registry-fetch": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.9.0.tgz", + "integrity": "sha512-srwmt8YhNajAoSAaDWndmZgx89lJwIZ1GWxOuckH4Coek4uHv5S+o/l9FLQe/awA+JwTnj4FJHldxhlXdZEBmw==", + "dev": true, + "requires": { + "JSONStream": "^1.3.4", + "bluebird": "^3.5.1", + "figgy-pudding": "^3.4.1", + "lru-cache": "^4.1.3", + "make-fetch-happen": "^4.0.1", + "npm-package-arg": "^6.1.0" + } + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dev": true, + "requires": { + "path-key": "^2.0.0" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "null-check": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/null-check/-/null-check-1.0.0.tgz", + "integrity": "sha1-l33/1xdgErnsMNKjnbXPcqBDnt0=", + "dev": true + }, + "num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", + "dev": true + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true + }, + "object-component": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz", + "integrity": "sha1-8MaapQ78lbhmwYb0AKM3acsvEpE=", + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "^3.0.0" + } + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "obuf": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", + "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", + "dev": true + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "on-headers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + }, + "dependencies": { + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true + } + } + }, + "open": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/open/-/open-6.0.0.tgz", + "integrity": "sha512-/yb5mVZBz7mHLySMiSj2DcLtMBbFPJk5JBKEkHVZFxZAPzeg3L026O0T+lbdz1B2nyDnkClRSwRQJdeVUIF7zw==", + "dev": true, + "requires": { + "is-wsl": "^1.1.0" + } + }, + "opener": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.1.tgz", + "integrity": "sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA==", + "dev": true + }, + "opn": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz", + "integrity": "sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA==", + "dev": true, + "requires": { + "is-wsl": "^1.1.0" + } + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "dev": true, + "requires": { + "minimist": "~0.0.1", + "wordwrap": "~0.0.2" + }, + "dependencies": { + "minimist": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", + "dev": true + } + } + }, + "original": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz", + "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==", + "dev": true, + "requires": { + "url-parse": "^1.4.3" + } + }, + "os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", + "dev": true + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true + }, + "os-locale": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "dev": true, + "requires": { + "lcid": "^1.0.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true + }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "p-defer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", + "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", + "dev": true + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + }, + "p-is-promise": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz", + "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-map": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", + "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==", + "dev": true + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "pacote": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-9.4.0.tgz", + "integrity": "sha512-WQ1KL/phGMkedYEQx9ODsjj7xvwLSpdFJJdEXrLyw5SILMxcTNt5DTxT2Z93fXuLFYJBlZJdnwdalrQdB/rX5w==", + "dev": true, + "requires": { + "bluebird": "^3.5.3", + "cacache": "^11.3.2", + "figgy-pudding": "^3.5.1", + "get-stream": "^4.1.0", + "glob": "^7.1.3", + "lru-cache": "^5.1.1", + "make-fetch-happen": "^4.0.1", + "minimatch": "^3.0.4", + "minipass": "^2.3.5", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "normalize-package-data": "^2.4.0", + "npm-package-arg": "^6.1.0", + "npm-packlist": "^1.1.12", + "npm-pick-manifest": "^2.2.3", + "npm-registry-fetch": "^3.8.0", + "osenv": "^0.1.5", + "promise-inflight": "^1.0.1", + "promise-retry": "^1.1.1", + "protoduck": "^5.0.1", + "rimraf": "^2.6.2", + "safe-buffer": "^5.1.2", + "semver": "^5.6.0", + "ssri": "^6.0.1", + "tar": "^4.4.8", + "unique-filename": "^1.1.1", + "which": "^1.3.1" + }, + "dependencies": { + "cacache": { + "version": "11.3.2", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.2.tgz", + "integrity": "sha512-E0zP4EPGDOaT2chM08Als91eYnf8Z+eH1awwwVsngUmgppfM5jjJ8l3z5vO5p5w/I3LsiXawb1sW0VY65pQABg==", + "dev": true, + "requires": { + "bluebird": "^3.5.3", + "chownr": "^1.1.1", + "figgy-pudding": "^3.5.1", + "glob": "^7.1.3", + "graceful-fs": "^4.1.15", + "lru-cache": "^5.1.1", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.2", + "ssri": "^6.0.1", + "unique-filename": "^1.1.1", + "y18n": "^4.0.0" + } + }, + "get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + }, + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "requires": { + "yallist": "^3.0.2" + } + }, + "mississippi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", + "dev": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "ssri": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", + "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "dev": true, + "requires": { + "figgy-pudding": "^3.5.1" + } + }, + "tar": { + "version": "4.4.8", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz", + "integrity": "sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ==", + "dev": true, + "requires": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.3.4", + "minizlib": "^1.1.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.2" + } + }, + "yallist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", + "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", + "dev": true + } + } + }, + "pako": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.10.tgz", + "integrity": "sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==", + "dev": true + }, + "parallel-transform": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz", + "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=", + "dev": true, + "requires": { + "cyclist": "~0.2.2", + "inherits": "^2.0.3", + "readable-stream": "^2.1.5" + } + }, + "parse-asn1": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.4.tgz", + "integrity": "sha512-Qs5duJcuvNExRfFZ99HDD3z4mAi3r9Wl/FOjEOijlxwCZs7E7mW2vjTpgQ4J8LpTF8x5v+1Vn5UQFejmWT11aw==", + "dev": true, + "requires": { + "asn1.js": "^4.0.0", + "browserify-aes": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "parse5": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz", + "integrity": "sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==", + "dev": true + }, + "parseqs": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.5.tgz", + "integrity": "sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0=", + "dev": true, + "requires": { + "better-assert": "~1.0.0" + } + }, + "parseuri": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.5.tgz", + "integrity": "sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo=", + "dev": true, + "requires": { + "better-assert": "~1.0.0" + } + }, + "parseurl": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", + "dev": true + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true + }, + "path-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", + "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", + "dev": true + }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + }, + "pbkdf2": { + "version": "3.0.17", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", + "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", + "dev": true, + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, + "pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "requires": { + "find-up": "^2.1.0" + } + }, + "popper.js": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.15.0.tgz", + "integrity": "sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA==" + }, + "portfinder": { + "version": "1.0.20", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.20.tgz", + "integrity": "sha512-Yxe4mTyDzTd59PZJY4ojZR8F+E5e97iq2ZOHPz3HDgSvYC5siNad2tLooQ5y5QHyQhc3xVqvyk/eNA3wuoa7Sw==", + "dev": true, + "requires": { + "async": "^1.5.2", + "debug": "^2.2.0", + "mkdirp": "0.5.x" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + } + } + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true + }, + "postcss": { + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.14.tgz", + "integrity": "sha512-NsbD6XUUMZvBxtQAJuWDJeeC4QFsmWsfozWxCJPWf3M55K9iu2iMDaKqyoOdTJ1R4usBXuxlVFAIo8rZPQD4Bg==", + "dev": true, + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "postcss-import": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-12.0.1.tgz", + "integrity": "sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw==", + "dev": true, + "requires": { + "postcss": "^7.0.1", + "postcss-value-parser": "^3.2.3", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + } + }, + "postcss-load-config": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.0.0.tgz", + "integrity": "sha512-V5JBLzw406BB8UIfsAWSK2KSwIJ5yoEIVFb4gVkXci0QdKgA24jLmHZ/ghe/GgX0lJ0/D1uUK1ejhzEY94MChQ==", + "dev": true, + "requires": { + "cosmiconfig": "^4.0.0", + "import-cwd": "^2.0.0" + } + }, + "postcss-loader": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-3.0.0.tgz", + "integrity": "sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA==", + "dev": true, + "requires": { + "loader-utils": "^1.1.0", + "postcss": "^7.0.0", + "postcss-load-config": "^2.0.0", + "schema-utils": "^1.0.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true + }, + "promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "dev": true, + "optional": true, + "requires": { + "asap": "~2.0.3" + } + }, + "promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", + "dev": true + }, + "promise-retry": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-1.1.1.tgz", + "integrity": "sha1-ZznpaOMFHaIM5kl/srUPaRHfPW0=", + "dev": true, + "requires": { + "err-code": "^1.0.0", + "retry": "^0.10.0" + } + }, + "protoduck": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/protoduck/-/protoduck-5.0.1.tgz", + "integrity": "sha512-WxoCeDCoCBY55BMvj4cAEjdVUFGRWed9ZxPlqTKYyw1nDDTQ4pqmnIMAGfJlg7Dx35uB/M+PHJPTmGOvaCaPTg==", + "dev": true, + "requires": { + "genfun": "^5.0.0" + } + }, + "protractor": { + "version": "5.4.2", + "resolved": "https://registry.npmjs.org/protractor/-/protractor-5.4.2.tgz", + "integrity": "sha512-zlIj64Cr6IOWP7RwxVeD8O4UskLYPoyIcg0HboWJL9T79F1F0VWtKkGTr/9GN6BKL+/Q/GmM7C9kFVCfDbP5sA==", + "dev": true, + "requires": { + "@types/q": "^0.0.32", + "@types/selenium-webdriver": "^3.0.0", + "blocking-proxy": "^1.0.0", + "browserstack": "^1.5.1", + "chalk": "^1.1.3", + "glob": "^7.0.3", + "jasmine": "2.8.0", + "jasminewd2": "^2.1.0", + "optimist": "~0.6.0", + "q": "1.4.1", + "saucelabs": "^1.5.0", + "selenium-webdriver": "3.6.0", + "source-map-support": "~0.4.0", + "webdriver-js-extender": "2.1.0", + "webdriver-manager": "^12.0.6" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "del": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", + "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", + "dev": true, + "requires": { + "globby": "^5.0.0", + "is-path-cwd": "^1.0.0", + "is-path-in-cwd": "^1.0.0", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "rimraf": "^2.2.8" + } + }, + "globby": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", + "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "arrify": "^1.0.0", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "requires": { + "source-map": "^0.5.6" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + }, + "webdriver-manager": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/webdriver-manager/-/webdriver-manager-12.1.1.tgz", + "integrity": "sha512-L9TEQmZs6JbMMRQI1w60mfps265/NCr0toYJl7p/R2OAk6oXAfwI6jqYP7EWae+d7Ad2S2Aj4+rzxoSjqk3ZuA==", + "dev": true, + "requires": { + "adm-zip": "^0.4.9", + "chalk": "^1.1.1", + "del": "^2.2.0", + "glob": "^7.0.3", + "ini": "^1.3.4", + "minimist": "^1.2.0", + "q": "^1.4.1", + "request": "^2.87.0", + "rimraf": "^2.5.2", + "semver": "^5.3.0", + "xml2js": "^0.4.17" + } + } + } + }, + "proxy-addr": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz", + "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==", + "dev": true, + "requires": { + "forwarded": "~0.1.2", + "ipaddr.js": "1.8.0" + } + }, + "prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", + "dev": true + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "psl": { + "version": "1.1.31", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz", + "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==", + "dev": true + }, + "public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "pumpify": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", + "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", + "dev": true, + "requires": { + "duplexify": "^3.6.0", + "inherits": "^2.0.3", + "pump": "^2.0.0" + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + }, + "q": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", + "integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4=", + "dev": true + }, + "qjobs": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", + "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==", + "dev": true + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true + }, + "querystringify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.1.1.tgz", + "integrity": "sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA==", + "dev": true + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dev": true, + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "range-parser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", + "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=", + "dev": true + }, + "raw-body": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz", + "integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==", + "dev": true, + "requires": { + "bytes": "3.0.0", + "http-errors": "1.6.3", + "iconv-lite": "0.4.23", + "unpipe": "1.0.0" + } + }, + "raw-loader": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-1.0.0.tgz", + "integrity": "sha512-Uqy5AqELpytJTRxYT4fhltcKPj0TyaEpzJDcGz7DFJi+pQOOi3GjR/DOdxTkTsF+NzhnldIoG6TORaBlInUuqA==", + "dev": true, + "requires": { + "loader-utils": "^1.1.0", + "schema-utils": "^1.0.0" + } + }, + "read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", + "dev": true, + "requires": { + "pify": "^2.3.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "dependencies": { + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "^2.0.0" + } + } + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + } + }, + "rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "dev": true, + "requires": { + "resolve": "^1.1.6" + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + } + }, + "reflect-metadata": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", + "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==", + "dev": true + }, + "regenerate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", + "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==", + "dev": true + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + } + }, + "regexpu-core": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz", + "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=", + "dev": true, + "requires": { + "regenerate": "^1.2.1", + "regjsgen": "^0.2.0", + "regjsparser": "^0.1.4" + } + }, + "regjsgen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", + "dev": true + }, + "regjsparser": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", + "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", + "dev": true, + "requires": { + "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } + } + }, + "remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "requires": { + "is-finite": "^1.0.0" + } + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "resolve": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", + "integrity": "sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + }, + "resolve-cwd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", + "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", + "dev": true, + "requires": { + "resolve-from": "^3.0.0" + } + }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "dev": true, + "requires": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + } + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, + "retry": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz", + "integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=", + "dev": true + }, + "rfdc": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.1.2.tgz", + "integrity": "sha512-92ktAgvZhBzYTIK0Mja9uen5q5J3NRVMoDkJL2VMwq6SXjVCgqvQeVP2XAaUY6HT+XpQYeLSjb3UoitBryKmdA==", + "dev": true + }, + "rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "run-async": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", + "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "dev": true, + "requires": { + "is-promise": "^2.1.0" + } + }, + "run-queue": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", + "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", + "dev": true, + "requires": { + "aproba": "^1.1.1" + } + }, + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "requires": { + "tslib": "^1.9.0" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "~0.1.10" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "sass-graph": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz", + "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=", + "dev": true, + "requires": { + "glob": "^7.0.0", + "lodash": "^4.0.0", + "scss-tokenizer": "^0.2.3", + "yargs": "^7.0.0" + } + }, + "sass-loader": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-7.1.0.tgz", + "integrity": "sha512-+G+BKGglmZM2GUSfT9TLuEp6tzehHPjAMoRRItOojWIqIGPloVCMhNIQuG639eJ+y033PaGTSjLaTHts8Kw79w==", + "dev": true, + "requires": { + "clone-deep": "^2.0.1", + "loader-utils": "^1.0.1", + "lodash.tail": "^4.1.1", + "neo-async": "^2.5.0", + "pify": "^3.0.0", + "semver": "^5.5.0" + } + }, + "saucelabs": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/saucelabs/-/saucelabs-1.5.0.tgz", + "integrity": "sha512-jlX3FGdWvYf4Q3LFfFWS1QvPg3IGCGWxIc8QBFdPTbpTJnt/v17FHXYVAn7C8sHf1yUXo2c7yIM0isDryfYtHQ==", + "dev": true, + "requires": { + "https-proxy-agent": "^2.2.1" + } + }, + "sax": { + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/sax/-/sax-0.5.8.tgz", + "integrity": "sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE=", + "dev": true + }, + "schema-utils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" + } + }, + "scss-tokenizer": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", + "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", + "dev": true, + "requires": { + "js-base64": "^2.1.8", + "source-map": "^0.4.2" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "select-hose": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", + "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", + "dev": true + }, + "selenium-webdriver": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-3.6.0.tgz", + "integrity": "sha512-WH7Aldse+2P5bbFBO4Gle/nuQOdVwpHMTL6raL3uuBj/vPG07k6uzt3aiahu352ONBr5xXh0hDlM3LhtXPOC4Q==", + "dev": true, + "requires": { + "jszip": "^3.1.3", + "rimraf": "^2.5.4", + "tmp": "0.0.30", + "xml2js": "^0.4.17" + }, + "dependencies": { + "tmp": { + "version": "0.0.30", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.30.tgz", + "integrity": "sha1-ckGdSovn1s51FI/YsyTlk6cRwu0=", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.1" + } + } + } + }, + "selfsigned": { + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.4.tgz", + "integrity": "sha512-9AukTiDmHXGXWtWjembZ5NDmVvP2695EtpgbCsxCa68w3c88B+alqbmZ4O3hZ4VWGXeGWzEVdvqgAJD8DQPCDw==", + "dev": true, + "requires": { + "node-forge": "0.7.5" + } + }, + "semver": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", + "dev": true + }, + "semver-dsl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/semver-dsl/-/semver-dsl-1.0.1.tgz", + "integrity": "sha1-02eN5VVeimH2Ke7QJTZq5fJzQKA=", + "dev": true, + "requires": { + "semver": "^5.3.0" + } + }, + "semver-intersect": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/semver-intersect/-/semver-intersect-1.4.0.tgz", + "integrity": "sha512-d8fvGg5ycKAq0+I6nfWeCx6ffaWJCsBYU0H2Rq56+/zFePYfT8mXkB3tWBSjR5BerkHNZ5eTPIk1/LBYas35xQ==", + "dev": true, + "requires": { + "semver": "^5.0.0" + } + }, + "send": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz", + "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.6.2", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "~2.3.0", + "range-parser": "~1.2.0", + "statuses": "~1.4.0" + }, + "dependencies": { + "mime": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", + "dev": true + } + } + }, + "serialize-javascript": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.6.1.tgz", + "integrity": "sha512-A5MOagrPFga4YaKQSWHryl7AXvbQkEqpw4NNYMTNYUNV51bA8ABHgYFpqKx+YFFrw59xMV1qGH1R4AgoNIVgCw==", + "dev": true + }, + "serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", + "dev": true, + "requires": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + } + }, + "serve-static": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", + "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", + "dev": true, + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.2", + "send": "0.16.2" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "set-immediate-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", + "dev": true + }, + "set-value": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", + "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", + "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "shallow-clone": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-1.0.0.tgz", + "integrity": "sha512-oeXreoKR/SyNJtRJMAKPDSvd28OqEwG4eR/xc856cRGBII7gX9lvAqDxusPm0846z/w/hWYjI1NpKwJ00NHzRA==", + "dev": true, + "requires": { + "is-extendable": "^0.1.1", + "kind-of": "^5.0.0", + "mixin-object": "^2.0.1" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "shelljs": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.3.tgz", + "integrity": "sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==", + "dev": true, + "requires": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + } + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true + }, + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", + "dev": true + }, + "smart-buffer": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.2.tgz", + "integrity": "sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw==", + "dev": true + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "requires": { + "kind-of": "^3.2.0" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "socket.io": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-2.1.1.tgz", + "integrity": "sha512-rORqq9c+7W0DAK3cleWNSyfv/qKXV99hV4tZe+gGLfBECw3XEhBy7x85F3wypA9688LKjtwO9pX9L33/xQI8yA==", + "dev": true, + "requires": { + "debug": "~3.1.0", + "engine.io": "~3.2.0", + "has-binary2": "~1.0.2", + "socket.io-adapter": "~1.1.0", + "socket.io-client": "2.1.1", + "socket.io-parser": "~3.2.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "socket.io-adapter": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-1.1.1.tgz", + "integrity": "sha1-KoBeihTWNyEk3ZFZrUUC+MsH8Gs=", + "dev": true + }, + "socket.io-client": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.1.1.tgz", + "integrity": "sha512-jxnFyhAuFxYfjqIgduQlhzqTcOEQSn+OHKVfAxWaNWa7ecP7xSNk2Dx/3UEsDcY7NcFafxvNvKPmmO7HTwTxGQ==", + "dev": true, + "requires": { + "backo2": "1.0.2", + "base64-arraybuffer": "0.1.5", + "component-bind": "1.0.0", + "component-emitter": "1.2.1", + "debug": "~3.1.0", + "engine.io-client": "~3.2.0", + "has-binary2": "~1.0.2", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "object-component": "0.0.3", + "parseqs": "0.0.5", + "parseuri": "0.0.5", + "socket.io-parser": "~3.2.0", + "to-array": "0.1.4" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "socket.io-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.2.0.tgz", + "integrity": "sha512-FYiBx7rc/KORMJlgsXysflWx/RIvtqZbyGLlHZvjfmPTPeuD/I8MaW7cfFrj5tRltICJdgwflhfZ3NVVbVLFQA==", + "dev": true, + "requires": { + "component-emitter": "1.2.1", + "debug": "~3.1.0", + "isarray": "2.0.1" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "isarray": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz", + "integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=", + "dev": true + } + } + }, + "sockjs": { + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz", + "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==", + "dev": true, + "requires": { + "faye-websocket": "^0.10.0", + "uuid": "^3.0.1" + } + }, + "sockjs-client": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.3.0.tgz", + "integrity": "sha512-R9jxEzhnnrdxLCNln0xg5uGHqMnkhPSTzUZH2eXcR03S/On9Yvoq2wyUZILRUhZCNVu2PmwWVoyuiPz8th8zbg==", + "dev": true, + "requires": { + "debug": "^3.2.5", + "eventsource": "^1.0.7", + "faye-websocket": "~0.11.1", + "inherits": "^2.0.3", + "json3": "^3.3.2", + "url-parse": "^1.4.3" + }, + "dependencies": { + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "faye-websocket": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.1.tgz", + "integrity": "sha1-8O/hjE9W5PQK/H4Gxxn9XuYYjzg=", + "dev": true, + "requires": { + "websocket-driver": ">=0.5.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "socks": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.3.2.tgz", + "integrity": "sha512-pCpjxQgOByDHLlNqlnh/mNSAxIUkyBBuwwhTcV+enZGbDaClPvHdvm6uvOwZfFJkam7cGhBNbb4JxiP8UZkRvQ==", + "dev": true, + "requires": { + "ip": "^1.1.5", + "smart-buffer": "4.0.2" + } + }, + "socks-proxy-agent": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz", + "integrity": "sha512-NT6syHhI9LmuEMSK6Kd2V7gNv5KFZoLE7V5udWmn0de+3Mkj3UMA/AJPLyeNUVmElCurSHtUdM3ETpR3z770Wg==", + "dev": true, + "requires": { + "agent-base": "~4.2.1", + "socks": "~2.3.2" + } + }, + "source-list-map": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", + "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", + "dev": true + }, + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + }, + "source-map-loader": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-0.2.4.tgz", + "integrity": "sha512-OU6UJUty+i2JDpTItnizPrlpOIBLmQbWMuBg9q5bVtnHACqw1tn9nNwqJLbv0/00JjnJb/Ee5g5WS5vrRv7zIQ==", + "dev": true, + "requires": { + "async": "^2.5.0", + "loader-utils": "^1.1.0" + } + }, + "source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "dev": true, + "requires": { + "atob": "^2.1.1", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-support": { + "version": "0.5.10", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.10.tgz", + "integrity": "sha512-YfQ3tQFTK/yzlGJuX8pTwa4tifQj4QS2Mj7UegOu8jAz59MqIiMGPXxQhVQiIMNzayuUSF/jEuVnfFF5JqybmQ==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, + "sourcemap-codec": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz", + "integrity": "sha512-CYAPYdBu34781kLHkaW3m6b/uUSyMOC2R61gcYMWooeuaGtjof86ZA/8T+qVPPt7np1085CR9hmMGrySwEc8Xg==", + "dev": true + }, + "spdx-correct": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", + "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.4.tgz", + "integrity": "sha512-7j8LYJLeY/Yb6ACbQ7F76qy5jHkp0U6jgBfJsk97bwWlVUnUWsAgpyaCvo17h0/RQGnQ036tVDomiwoI4pDkQA==", + "dev": true + }, + "spdy": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.0.tgz", + "integrity": "sha512-ot0oEGT/PGUpzf/6uk4AWLqkq+irlqHXkrdbk51oWONh3bxQmBuljxPNl66zlRRcIJStWq0QkLUCPOPjgjvU0Q==", + "dev": true, + "requires": { + "debug": "^4.1.0", + "handle-thing": "^2.0.0", + "http-deceiver": "^1.2.7", + "select-hose": "^2.0.0", + "spdy-transport": "^3.0.0" + }, + "dependencies": { + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "spdy-transport": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", + "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", + "dev": true, + "requires": { + "debug": "^4.1.0", + "detect-node": "^2.0.4", + "hpack.js": "^2.1.6", + "obuf": "^1.1.2", + "readable-stream": "^3.0.6", + "wbuf": "^1.7.3" + }, + "dependencies": { + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + }, + "readable-stream": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.3.0.tgz", + "integrity": "sha512-EsI+s3k3XsW+fU8fQACLN59ky34AZ14LoeVZpYwmZvldCFo0r0gnelwF2TcMjLor/BTL5aDJVBMkss0dthToPw==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "speed-measure-webpack-plugin": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.3.1.tgz", + "integrity": "sha512-qVIkJvbtS9j/UeZumbdfz0vg+QfG/zxonAjzefZrqzkr7xOncLVXkeGbTpzd1gjCBM4PmVNkWlkeTVhgskAGSQ==", + "dev": true, + "requires": { + "chalk": "^2.0.1" + } + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "dev": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "ssri": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz", + "integrity": "sha512-XRSIPqLij52MtgoQavH/x/dU1qVKtWUAAZeOHsR9c2Ddi4XerFy3mc1alf+dLJKl9EUIm/Ht+EowFkTUOA6GAQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.1" + } + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "stats-webpack-plugin": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/stats-webpack-plugin/-/stats-webpack-plugin-0.7.0.tgz", + "integrity": "sha512-NT0YGhwuQ0EOX+uPhhUcI6/+1Sq/pMzNuSCBVT4GbFl/ac6I/JZefBcjlECNfAb1t3GOx5dEj1Z7x0cAxeeVLQ==", + "dev": true, + "requires": { + "lodash": "^4.17.4" + } + }, + "statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true + }, + "stdout-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", + "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", + "dev": true, + "requires": { + "readable-stream": "^2.0.1" + } + }, + "stream-browserify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", + "dev": true, + "requires": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "stream-each": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", + "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "stream-shift": "^1.0.0" + } + }, + "stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dev": true, + "requires": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "stream-shift": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz", + "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=", + "dev": true + }, + "streamroller": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-1.0.4.tgz", + "integrity": "sha512-Wc2Gm5ygjSX8ZpW9J7Y9FwiSzTlKSvcl0FTTMd3rn7RoxDXpBW+xD9TY5sWL2n0UR61COB0LG1BQvN6nTUQbLQ==", + "dev": true, + "requires": { + "async": "^2.6.1", + "date-format": "^2.0.0", + "debug": "^3.1.0", + "fs-extra": "^7.0.0", + "lodash": "^4.17.10" + }, + "dependencies": { + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "dev": true + }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "^4.0.1" + } + }, + "style-loader": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.23.1.tgz", + "integrity": "sha512-XK+uv9kWwhZMZ1y7mysB+zoihsEj4wneFWAS5qoiLwzW0WzSqMrrsIy+a3zkQJq0ipFtBpX5W3MqyRIBF/WFGg==", + "dev": true, + "requires": { + "loader-utils": "^1.1.0", + "schema-utils": "^1.0.0" + } + }, + "stylus": { + "version": "0.54.5", + "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.54.5.tgz", + "integrity": "sha1-QrlWCTHKcJDOhRWnmLqeaqPW3Hk=", + "dev": true, + "requires": { + "css-parse": "1.7.x", + "debug": "*", + "glob": "7.0.x", + "mkdirp": "0.5.x", + "sax": "0.5.x", + "source-map": "0.1.x" + }, + "dependencies": { + "glob": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.6.tgz", + "integrity": "sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.2", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "source-map": { + "version": "0.1.43", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "stylus-loader": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/stylus-loader/-/stylus-loader-3.0.2.tgz", + "integrity": "sha512-+VomPdZ6a0razP+zinir61yZgpw2NfljeSsdUF5kJuEzlo3khXhY19Fn6l8QQz1GRJGtMCo8nG5C04ePyV7SUA==", + "dev": true, + "requires": { + "loader-utils": "^1.0.2", + "lodash.clonedeep": "^4.5.0", + "when": "~3.6.x" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "symbol-observable": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", + "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==", + "dev": true + }, + "tapable": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.1.tgz", + "integrity": "sha512-9I2ydhj8Z9veORCw5PRm4u9uebCn0mcCa6scWoNcbZ6dAtoo2618u9UUzxgmsCOreJpqDDuv61LvwofW7hLcBA==", + "dev": true + }, + "tar": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz", + "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==", + "dev": true, + "requires": { + "block-stream": "*", + "fstream": "^1.0.12", + "inherits": "2" + } + }, + "terser": { + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-3.17.0.tgz", + "integrity": "sha512-/FQzzPJmCpjAH9Xvk2paiWrFq+5M6aVOf+2KRbwhByISDX/EujxsK+BAvrhb6H+2rtrLCHK9N01wO014vrIwVQ==", + "dev": true, + "requires": { + "commander": "^2.19.0", + "source-map": "~0.6.1", + "source-map-support": "~0.5.10" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "terser-webpack-plugin": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.2.2.tgz", + "integrity": "sha512-1DMkTk286BzmfylAvLXwpJrI7dWa5BnFmscV/2dCr8+c56egFcbaeFAl7+sujAjdmpLam21XRdhA4oifLyiWWg==", + "dev": true, + "requires": { + "cacache": "^11.0.2", + "find-cache-dir": "^2.0.0", + "schema-utils": "^1.0.0", + "serialize-javascript": "^1.4.0", + "source-map": "^0.6.1", + "terser": "^3.16.1", + "webpack-sources": "^1.1.0", + "worker-farm": "^1.5.2" + }, + "dependencies": { + "cacache": { + "version": "11.3.2", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.2.tgz", + "integrity": "sha512-E0zP4EPGDOaT2chM08Als91eYnf8Z+eH1awwwVsngUmgppfM5jjJ8l3z5vO5p5w/I3LsiXawb1sW0VY65pQABg==", + "dev": true, + "requires": { + "bluebird": "^3.5.3", + "chownr": "^1.1.1", + "figgy-pudding": "^3.5.1", + "glob": "^7.1.3", + "graceful-fs": "^4.1.15", + "lru-cache": "^5.1.1", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.2", + "ssri": "^6.0.1", + "unique-filename": "^1.1.1", + "y18n": "^4.0.0" + } + }, + "find-cache-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", + "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^2.0.0", + "pkg-dir": "^3.0.0" + } + }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "requires": { + "yallist": "^3.0.2" + } + }, + "make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "dev": true, + "requires": { + "pify": "^4.0.1", + "semver": "^5.6.0" + } + }, + "mississippi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", + "dev": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, + "p-limit": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz", + "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true + }, + "pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "ssri": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", + "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "dev": true, + "requires": { + "figgy-pudding": "^3.5.1" + } + }, + "yallist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", + "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", + "dev": true + } + } + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "thunky": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.0.3.tgz", + "integrity": "sha512-YwT8pjmNcAXBZqrubu22P4FYsh2D4dxRmnWBOL8Jk8bUcRUtc5326kx32tuTmFDAZtLOGEVNl8POAR8j896Iow==", + "dev": true + }, + "timers-browserify": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz", + "integrity": "sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg==", + "dev": true, + "requires": { + "setimmediate": "^1.0.4" + } + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-array": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz", + "integrity": "sha1-F+bBH3PdTz10zaek/zI46a2b+JA=", + "dev": true + }, + "to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + }, + "tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "dev": true, + "requires": { + "psl": "^1.1.24", + "punycode": "^1.4.1" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + } + } + }, + "tree-kill": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.1.tgz", + "integrity": "sha512-4hjqbObwlh2dLyW4tcz0Ymw0ggoaVDMveUB9w8kFSQScdRLo0gxO9J7WFcUBo+W3C1TLdFIEwNOWebgZZ0RH9Q==", + "dev": true + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true + }, + "true-case-path": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", + "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", + "dev": true, + "requires": { + "glob": "^7.1.2" + } + }, + "tryer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz", + "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==", + "dev": true + }, + "ts-node": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-7.0.1.tgz", + "integrity": "sha512-BVwVbPJRspzNh2yfslyT1PSbl5uIk03EZlb493RKHN4qej/D06n1cEhjlOJG69oFsE7OT8XjpTUcYf6pKTLMhw==", + "dev": true, + "requires": { + "arrify": "^1.0.0", + "buffer-from": "^1.1.0", + "diff": "^3.1.0", + "make-error": "^1.1.1", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "source-map-support": "^0.5.6", + "yn": "^2.0.0" + } + }, + "tslib": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz", + "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==" + }, + "tslint": { + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.11.0.tgz", + "integrity": "sha1-mPMMAurjzecAYgHkwzywi0hYHu0=", + "dev": true, + "requires": { + "babel-code-frame": "^6.22.0", + "builtin-modules": "^1.1.1", + "chalk": "^2.3.0", + "commander": "^2.12.1", + "diff": "^3.2.0", + "glob": "^7.1.1", + "js-yaml": "^3.7.0", + "minimatch": "^3.0.4", + "resolve": "^1.3.2", + "semver": "^5.3.0", + "tslib": "^1.8.0", + "tsutils": "^2.27.2" + } + }, + "tsutils": { + "version": "2.29.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", + "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", + "dev": true, + "requires": { + "tslib": "^1.8.1" + } + }, + "tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "type-is": { + "version": "1.6.16", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", + "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.18" + } + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "typescript": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.2.4.tgz", + "integrity": "sha512-0RNDbSdEokBeEAkgNbxJ+BLwSManFy9TeXz8uW+48j/xhEXv1ePME60olyzw2XzUqUBNAYFeJadIqAgNqIACwg==", + "dev": true + }, + "uglify-js": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.5.3.tgz", + "integrity": "sha512-rIQPT2UMDnk4jRX+w4WO84/pebU2jiLsjgIyrCktYgSvx28enOE3iYQMr+BD1rHiitWnDmpu0cY/LfIEpKcjcw==", + "dev": true, + "optional": true, + "requires": { + "commander": "~2.19.0", + "source-map": "~0.6.1" + }, + "dependencies": { + "commander": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", + "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==", + "dev": true, + "optional": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true + } + } + }, + "ultron": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz", + "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==", + "dev": true + }, + "union-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", + "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^0.4.3" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "set-value": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", + "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.1", + "to-object-path": "^0.3.0" + } + } + } + }, + "unique-filename": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "dev": true, + "requires": { + "unique-slug": "^2.0.0" + } + }, + "unique-slug": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.1.tgz", + "integrity": "sha512-n9cU6+gITaVu7VGj1Z8feKMmfAjEAQGhwD9fE3zvpRRa0wEIx8ODYkVGfSc94M2OX00tUFV8wH3zYbm1I8mxFg==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "requires": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "requires": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + } + } + }, + "upath": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/upath/-/upath-1.1.2.tgz", + "integrity": "sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q==", + "dev": true + }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } + } + }, + "url-parse": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.4.tgz", + "integrity": "sha512-/92DTTorg4JjktLNLe6GPS2/RvAd/RGr6LuktmWSMLEOa6rjnlrFXNgSbSmkNvCoL2T028A0a1JaJLzRMlFoHg==", + "dev": true, + "requires": { + "querystringify": "^2.0.0", + "requires-port": "^1.0.0" + } + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true + }, + "useragent": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz", + "integrity": "sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==", + "dev": true, + "requires": { + "lru-cache": "4.1.x", + "tmp": "0.0.x" + } + }, + "util": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", + "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "validate-npm-package-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", + "integrity": "sha1-X6kS2B630MdK/BQN5zF/DKffQ34=", + "dev": true, + "requires": { + "builtins": "^1.0.3" + } + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "vm-browserify": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", + "integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=", + "dev": true, + "requires": { + "indexof": "0.0.1" + } + }, + "void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", + "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=", + "dev": true + }, + "watchpack": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz", + "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==", + "dev": true, + "requires": { + "chokidar": "^2.0.2", + "graceful-fs": "^4.1.2", + "neo-async": "^2.5.0" + } + }, + "wbuf": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", + "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", + "dev": true, + "requires": { + "minimalistic-assert": "^1.0.0" + } + }, + "webdriver-js-extender": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz", + "integrity": "sha512-lcUKrjbBfCK6MNsh7xaY2UAUmZwe+/ib03AjVOpFobX4O7+83BUveSrLfU0Qsyb1DaKJdQRbuU+kM9aZ6QUhiQ==", + "dev": true, + "requires": { + "@types/selenium-webdriver": "^3.0.0", + "selenium-webdriver": "^3.0.1" + } + }, + "webpack": { + "version": "4.29.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.29.0.tgz", + "integrity": "sha512-pxdGG0keDBtamE1mNvT5zyBdx+7wkh6mh7uzMOo/uRQ/fhsdj5FXkh/j5mapzs060forql1oXqXN9HJGju+y7w==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-module-context": "1.7.11", + "@webassemblyjs/wasm-edit": "1.7.11", + "@webassemblyjs/wasm-parser": "1.7.11", + "acorn": "^6.0.5", + "acorn-dynamic-import": "^4.0.0", + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0", + "chrome-trace-event": "^1.0.0", + "enhanced-resolve": "^4.1.0", + "eslint-scope": "^4.0.0", + "json-parse-better-errors": "^1.0.2", + "loader-runner": "^2.3.0", + "loader-utils": "^1.1.0", + "memory-fs": "~0.4.1", + "micromatch": "^3.1.8", + "mkdirp": "~0.5.0", + "neo-async": "^2.5.0", + "node-libs-browser": "^2.0.0", + "schema-utils": "^0.4.4", + "tapable": "^1.1.0", + "terser-webpack-plugin": "^1.1.0", + "watchpack": "^1.5.0", + "webpack-sources": "^1.3.0" + }, + "dependencies": { + "schema-utils": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", + "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0" + } + } + } + }, + "webpack-bundle-analyzer": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.6.0.tgz", + "integrity": "sha512-orUfvVYEfBMDXgEKAKVvab5iQ2wXneIEorGNsyuOyVYpjYrI7CUOhhXNDd3huMwQ3vNNWWlGP+hzflMFYNzi2g==", + "dev": true, + "requires": { + "acorn": "^6.0.7", + "acorn-walk": "^6.1.1", + "bfj": "^6.1.1", + "chalk": "^2.4.1", + "commander": "^2.18.0", + "ejs": "^2.6.1", + "express": "^4.16.3", + "filesize": "^3.6.1", + "gzip-size": "^5.0.0", + "lodash": "^4.17.15", + "mkdirp": "^0.5.1", + "opener": "^1.5.1", + "ws": "^6.0.0" + }, + "dependencies": { + "ws": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", + "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "dev": true, + "requires": { + "async-limiter": "~1.0.0" + } + } + } + }, + "webpack-core": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/webpack-core/-/webpack-core-0.6.9.tgz", + "integrity": "sha1-/FcViMhVjad76e+23r3Fo7FyvcI=", + "dev": true, + "requires": { + "source-list-map": "~0.1.7", + "source-map": "~0.4.1" + }, + "dependencies": { + "source-list-map": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz", + "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=", + "dev": true + }, + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "webpack-dev-middleware": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.5.1.tgz", + "integrity": "sha512-4dwCh/AyMOYAybggUr8fiCkRnjVDp+Cqlr9c+aaNB3GJYgRGYQWJ1YX/WAKUNA9dPNHZ6QSN2lYDKqjKSI8Vqw==", + "dev": true, + "requires": { + "memory-fs": "~0.4.1", + "mime": "^2.3.1", + "range-parser": "^1.0.3", + "webpack-log": "^2.0.0" + }, + "dependencies": { + "mime": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.2.tgz", + "integrity": "sha512-zJBfZDkwRu+j3Pdd2aHsR5GfH2jIWhmL1ZzBoc+X+3JEti2hbArWcyJ+1laC1D2/U/W1a/+Cegj0/OnEU2ybjg==", + "dev": true + } + } + }, + "webpack-dev-server": { + "version": "3.1.14", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-3.1.14.tgz", + "integrity": "sha512-mGXDgz5SlTxcF3hUpfC8hrQ11yhAttuUQWf1Wmb+6zo3x6rb7b9mIfuQvAPLdfDRCGRGvakBWHdHOa0I9p/EVQ==", + "dev": true, + "requires": { + "ansi-html": "0.0.7", + "bonjour": "^3.5.0", + "chokidar": "^2.0.0", + "compression": "^1.5.2", + "connect-history-api-fallback": "^1.3.0", + "debug": "^3.1.0", + "del": "^3.0.0", + "express": "^4.16.2", + "html-entities": "^1.2.0", + "http-proxy-middleware": "~0.18.0", + "import-local": "^2.0.0", + "internal-ip": "^3.0.1", + "ip": "^1.1.5", + "killable": "^1.0.0", + "loglevel": "^1.4.1", + "opn": "^5.1.0", + "portfinder": "^1.0.9", + "schema-utils": "^1.0.0", + "selfsigned": "^1.9.1", + "semver": "^5.6.0", + "serve-index": "^1.7.2", + "sockjs": "0.3.19", + "sockjs-client": "1.3.0", + "spdy": "^4.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^5.1.0", + "url": "^0.11.0", + "webpack-dev-middleware": "3.4.0", + "webpack-log": "^2.0.0", + "yargs": "12.0.2" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "cliui": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", + "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", + "dev": true, + "requires": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0", + "wrap-ansi": "^2.0.0" + }, + "dependencies": { + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "decamelize": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-2.0.0.tgz", + "integrity": "sha512-Ikpp5scV3MSYxY39ymh45ZLEecsTdv/Xj2CaQfI8RLMuwi7XvjX9H/fhraiSuU+C5w5NTDu4ZU72xNiZnurBPg==", + "dev": true, + "requires": { + "xregexp": "4.0.0" + } + }, + "execa": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", + "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "dev": true, + "requires": { + "cross-spawn": "^6.0.0", + "get-stream": "^4.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + } + }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + }, + "invert-kv": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz", + "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "lcid": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz", + "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", + "dev": true, + "requires": { + "invert-kv": "^2.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "mime": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.2.tgz", + "integrity": "sha512-zJBfZDkwRu+j3Pdd2aHsR5GfH2jIWhmL1ZzBoc+X+3JEti2hbArWcyJ+1laC1D2/U/W1a/+Cegj0/OnEU2ybjg==", + "dev": true + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + }, + "os-locale": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz", + "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==", + "dev": true, + "requires": { + "execa": "^1.0.0", + "lcid": "^2.0.0", + "mem": "^4.0.0" + } + }, + "p-limit": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz", + "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "webpack-dev-middleware": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.4.0.tgz", + "integrity": "sha512-Q9Iyc0X9dP9bAsYskAVJ/hmIZZQwf/3Sy4xCAZgL5cUkjZmUZLt4l5HpbST/Pdgjn3u6pE7u5OdGd1apgzRujA==", + "dev": true, + "requires": { + "memory-fs": "~0.4.1", + "mime": "^2.3.1", + "range-parser": "^1.0.3", + "webpack-log": "^2.0.0" + } + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "yargs": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.2.tgz", + "integrity": "sha512-e7SkEx6N6SIZ5c5H22RTZae61qtn3PYUE8JYbBFlK9sYmh3DMQ6E5ygtaG/2BW0JZi4WGgTR2IV5ChqlqrDGVQ==", + "dev": true, + "requires": { + "cliui": "^4.0.0", + "decamelize": "^2.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^1.0.1", + "os-locale": "^3.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1 || ^4.0.0", + "yargs-parser": "^10.1.0" + } + }, + "yargs-parser": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", + "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", + "dev": true, + "requires": { + "camelcase": "^4.1.0" + } + } + } + }, + "webpack-log": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-2.0.0.tgz", + "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==", + "dev": true, + "requires": { + "ansi-colors": "^3.0.0", + "uuid": "^3.3.2" + } + }, + "webpack-merge": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-4.2.1.tgz", + "integrity": "sha512-4p8WQyS98bUJcCvFMbdGZyZmsKuWjWVnVHnAS3FFg0HDaRVrPbkivx2RYCre8UiemD67RsiFFLfn4JhLAin8Vw==", + "dev": true, + "requires": { + "lodash": "^4.17.5" + } + }, + "webpack-sources": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.3.0.tgz", + "integrity": "sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA==", + "dev": true, + "requires": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "webpack-subresource-integrity": { + "version": "1.1.0-rc.6", + "resolved": "https://registry.npmjs.org/webpack-subresource-integrity/-/webpack-subresource-integrity-1.1.0-rc.6.tgz", + "integrity": "sha512-Az7y8xTniNhaA0620AV1KPwWOqawurVVDzQSpPAeR5RwNbL91GoBSJAAo9cfd+GiFHwsS5bbHepBw1e6Hzxy4w==", + "dev": true, + "requires": { + "webpack-core": "^0.6.8" + } + }, + "websocket-driver": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.0.tgz", + "integrity": "sha1-DK+dLXVdk67gSdS90NP+LMoqJOs=", + "dev": true, + "requires": { + "http-parser-js": ">=0.4.0", + "websocket-extensions": ">=0.1.1" + } + }, + "websocket-extensions": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", + "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", + "dev": true + }, + "when": { + "version": "3.6.4", + "resolved": "https://registry.npmjs.org/when/-/when-3.6.4.tgz", + "integrity": "sha1-RztRfsFZ4rhQBUl6E5g/CVQS404=", + "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "requires": { + "string-width": "^1.0.2 || 2" + } + }, + "wordwrap": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", + "dev": true + }, + "worker-farm": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.6.0.tgz", + "integrity": "sha512-6w+3tHbM87WnSWnENBUvA2pxJPLhQUg5LKwUQHq3r+XPhIM+Gh2R5ycbwPCyuGbNg+lPgdcnQUhuC02kJCvffQ==", + "dev": true, + "requires": { + "errno": "~0.1.7" + } + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "ws": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", + "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", + "dev": true, + "requires": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "xml2js": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", + "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", + "dev": true, + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~9.0.1" + }, + "dependencies": { + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true + } + } + }, + "xmlbuilder": { + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", + "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=", + "dev": true + }, + "xmlhttprequest-ssl": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz", + "integrity": "sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4=", + "dev": true + }, + "xregexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.0.0.tgz", + "integrity": "sha512-PHyM+sQouu7xspQQwELlGwwd05mXUFqwFYfqPO0cC7x4fxyHnnuetmQr6CjJiafIDoH4MogHb9dOoJzR/Y4rFg==", + "dev": true + }, + "xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", + "dev": true + }, + "y18n": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", + "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==", + "dev": true + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "yargs": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz", + "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=", + "dev": true, + "requires": { + "camelcase": "^3.0.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.2", + "which-module": "^1.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^5.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + }, + "y18n": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", + "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==", + "dev": true + } + } + }, + "yargs-parser": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.1.tgz", + "integrity": "sha512-wpav5XYiddjXxirPoCTUPbqM0PXvJ9hiBMvuJgInvo4/lAOTZzUprArw17q2O1P2+GHhbBr18/iQwjL5Z9BqfA==", + "dev": true, + "requires": { + "camelcase": "^3.0.0", + "object.assign": "^4.1.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + } + } + }, + "yeast": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz", + "integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk=", + "dev": true + }, + "yn": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz", + "integrity": "sha1-5a2ryKz0CPY4X8dklWhMiOavaJo=", + "dev": true + }, + "zone.js": { + "version": "0.8.29", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.8.29.tgz", + "integrity": "sha512-mla2acNCMkWXBD+c+yeUrBUrzOxYMNFdQ6FGfigGGtEVBPJx07BQeJekjt9DmH1FtZek4E9rE1eRR9qQpxACOQ==" + } + } +} diff --git a/frontend/package.json b/SBOLCanvasFrontend/package.json similarity index 81% rename from frontend/package.json rename to SBOLCanvasFrontend/package.json index 0136f31f..19877e06 100644 --- a/frontend/package.json +++ b/SBOLCanvasFrontend/package.json @@ -3,10 +3,7 @@ "version": "0.0.0", "scripts": { "bundle-report": "ng build --prod --stats-json && webpack-bundle-analyzer dist/SBOLCanvasFrontend/stats.json", - "prebuild": "npm rebuild node-sass && ts-node -O \"{\\\"module\\\":\\\"commonjs\\\"}\" git.version.ts && node assetBundler.js", - "build": "ng build --prod --build-optimizer --vendor-chunk --progress --output-hashing=all --stats-json --source-map=true", - "predev": "npm run prebuild", - "dev": "ng serve -o" + "prebuild.prod": "ts-node -O \"{\\\"module\\\":\\\"commonjs\\\"}\" git.version.ts" }, "private": true, "dependencies": { @@ -29,8 +26,6 @@ "jquery": "^3.5.0", "material-community-components": "^3.4.0", "mxgraph": "^3.9.12", - "nanoid": "^4.0.0", - "nanoid-dictionary": "^4.3.0", "ng-sidebar": "^8.0.0", "ngx-bootstrap": "^4.0.0", "popper.js": "^1.15.0", @@ -61,8 +56,5 @@ "tslint": "~5.11.0", "typescript": "~3.2.2", "webpack-bundle-analyzer": "^3.6.0" - }, - "engines": { - "npm": "<7" } } diff --git a/frontend/src/app/CustomShapes.ts b/SBOLCanvasFrontend/src/app/CustomShapes.ts similarity index 97% rename from frontend/src/app/CustomShapes.ts rename to SBOLCanvasFrontend/src/app/CustomShapes.ts index 0e70cce6..24429c82 100644 --- a/frontend/src/app/CustomShapes.ts +++ b/SBOLCanvasFrontend/src/app/CustomShapes.ts @@ -69,8 +69,7 @@ export class CustomShapes { this.variant.paint(c); } else if (this.error != null && !CustomShapes.graphService.hasSequence(this.state.cell)) { this.error.bounds = this.getErrorBounds(x, y, w, h); - // disabling error painting in favor of problems panel - // this.error.paint(c); + this.error.paint(c); } } SequenceFeatureShape.prototype.getCompositeBounds = function (x, y, w, h) { //mx.mxLabel.prototype.getIndicatorBounds; diff --git a/frontend/src/app/app-routing.module.ts b/SBOLCanvasFrontend/src/app/app-routing.module.ts similarity index 100% rename from frontend/src/app/app-routing.module.ts rename to SBOLCanvasFrontend/src/app/app-routing.module.ts diff --git a/frontend/src/app/app.component.css b/SBOLCanvasFrontend/src/app/app.component.css similarity index 100% rename from frontend/src/app/app.component.css rename to SBOLCanvasFrontend/src/app/app.component.css diff --git a/frontend/src/app/app.component.html b/SBOLCanvasFrontend/src/app/app.component.html similarity index 100% rename from frontend/src/app/app.component.html rename to SBOLCanvasFrontend/src/app/app.component.html diff --git a/frontend/src/app/app.component.spec.ts b/SBOLCanvasFrontend/src/app/app.component.spec.ts similarity index 100% rename from frontend/src/app/app.component.spec.ts rename to SBOLCanvasFrontend/src/app/app.component.spec.ts diff --git a/frontend/src/app/app.component.ts b/SBOLCanvasFrontend/src/app/app.component.ts similarity index 100% rename from frontend/src/app/app.component.ts rename to SBOLCanvasFrontend/src/app/app.component.ts diff --git a/SBOLCanvasFrontend/src/app/app.module.ts b/SBOLCanvasFrontend/src/app/app.module.ts new file mode 100644 index 00000000..f349f295 --- /dev/null +++ b/SBOLCanvasFrontend/src/app/app.module.ts @@ -0,0 +1,109 @@ +import {BrowserModule} from '@angular/platform-browser'; +import {NgModule} from '@angular/core'; +import {FormsModule} from '@angular/forms'; +import {ReactiveFormsModule} from '@angular/forms'; // Added for color picker. + +import { AppComponent } from './app.component'; +import { ToolbarComponent } from './toolbar/toolbar.component'; +import { GlyphMenuComponent } from './glyph-menu/glyph-menu.component'; +import { CanvasComponent } from './canvas/canvas.component'; +import { DesignMenuComponent } from './design-menu/design-menu.component'; +import { InfoEditorComponent } from './info-editor/info-editor.component'; +import { HomeComponent } from './home/home.component'; +import { AppRoutingModule } from './app-routing.module'; +import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; +import { AppHttpInterceptor } from './http.interceptor'; + +// for warning against leaving the page with unsaved changes +import { PendingChangesGuard} from './pending-changes.guard'; + +// Angular Material stuff. This is a different UI library than ng-bootstrap. +import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; +import { MaterialModule } from './material.module'; +import { FlexLayoutModule } from '@angular/flex-layout'; + +import {GraphService} from './graph.service'; + +// Color Picker imports. +import {MccColorPickerModule} from 'material-community-components'; +import {MetadataService} from './metadata.service'; +import { BannerComponent } from './banner/banner.component'; +import { ColorPickerComponent } from './color-picker/color-picker.component'; +import { UploadGraphComponent } from './upload-graph/upload-graph.component'; +import { LoginComponent } from './login/login.component'; +import { DownloadGraphComponent } from './download-graph/download-graph.component'; +import { ErrorComponent } from './error/error.component'; +import { SearchfilterPipe } from './searchfilter.pipe'; +import { ExportImageComponent } from './export-image/export-image.component'; +import { LandingPageComponent } from './landing-page/landing-page.component'; +import { TutorialComponent } from './tutorial/tutorial.component'; +import { ConfirmComponent } from './confirm/confirm.component'; +import { FuncCompSelectorComponent } from './func-comp-selector/func-comp-selector.component'; +import { ExportDesignComponent } from './export-design/export-design.component'; +import { CollectionCreationComponent } from './collection-creation/collection-creation.component'; +import { CombinatorialDesignEditorComponent } from './combinatorial-design-editor/combinatorial-design-editor.component'; +import { LoadGraphComponent } from './load-graph/load-graph.component'; + + +@NgModule({ + declarations: [ + AppComponent, + ToolbarComponent, + GlyphMenuComponent, + CanvasComponent, + DesignMenuComponent, + InfoEditorComponent, + HomeComponent, + BannerComponent, + ColorPickerComponent, + UploadGraphComponent, + DownloadGraphComponent, + LoginComponent, + DownloadGraphComponent, + ErrorComponent, + SearchfilterPipe, + ExportImageComponent, + LandingPageComponent, + TutorialComponent, + ConfirmComponent, + FuncCompSelectorComponent, + ExportDesignComponent, + CollectionCreationComponent, + CombinatorialDesignEditorComponent, + LoadGraphComponent, + ], + imports: [ + BrowserModule, + FormsModule, + AppRoutingModule, + BrowserModule, // BrowserModule must come before all @angular/material modules for some reason. + BrowserAnimationsModule, + HttpClientModule, + MccColorPickerModule.forRoot({ + used_colors: ['#000000', '#123456', '#777666'] + }), + ReactiveFormsModule, + MaterialModule, + FlexLayoutModule + ], + providers: [PendingChangesGuard, GraphService, MetadataService, { + provide: HTTP_INTERCEPTORS, useClass: AppHttpInterceptor, multi: true + }], + bootstrap: [AppComponent], + entryComponents: [ + ToolbarComponent, + UploadGraphComponent, + DownloadGraphComponent, + ExportImageComponent, + ExportDesignComponent, + CollectionCreationComponent, + LoginComponent, + ErrorComponent, + ConfirmComponent, + FuncCompSelectorComponent, + CombinatorialDesignEditorComponent, + ColorPickerComponent, + LoadGraphComponent ] +}) +export class AppModule { +} diff --git a/frontend/src/app/banner/banner.component.css b/SBOLCanvasFrontend/src/app/banner/banner.component.css similarity index 100% rename from frontend/src/app/banner/banner.component.css rename to SBOLCanvasFrontend/src/app/banner/banner.component.css diff --git a/frontend/src/app/banner/banner.component.html b/SBOLCanvasFrontend/src/app/banner/banner.component.html similarity index 100% rename from frontend/src/app/banner/banner.component.html rename to SBOLCanvasFrontend/src/app/banner/banner.component.html diff --git a/frontend/src/app/banner/banner.component.spec.ts b/SBOLCanvasFrontend/src/app/banner/banner.component.spec.ts similarity index 100% rename from frontend/src/app/banner/banner.component.spec.ts rename to SBOLCanvasFrontend/src/app/banner/banner.component.spec.ts diff --git a/frontend/src/app/banner/banner.component.ts b/SBOLCanvasFrontend/src/app/banner/banner.component.ts similarity index 100% rename from frontend/src/app/banner/banner.component.ts rename to SBOLCanvasFrontend/src/app/banner/banner.component.ts diff --git a/frontend/src/app/canvas/canvas.component.css b/SBOLCanvasFrontend/src/app/canvas/canvas.component.css similarity index 100% rename from frontend/src/app/canvas/canvas.component.css rename to SBOLCanvasFrontend/src/app/canvas/canvas.component.css diff --git a/frontend/src/app/canvas/canvas.component.html b/SBOLCanvasFrontend/src/app/canvas/canvas.component.html similarity index 100% rename from frontend/src/app/canvas/canvas.component.html rename to SBOLCanvasFrontend/src/app/canvas/canvas.component.html diff --git a/frontend/src/app/canvas/canvas.component.spec.ts b/SBOLCanvasFrontend/src/app/canvas/canvas.component.spec.ts similarity index 100% rename from frontend/src/app/canvas/canvas.component.spec.ts rename to SBOLCanvasFrontend/src/app/canvas/canvas.component.spec.ts diff --git a/SBOLCanvasFrontend/src/app/canvas/canvas.component.ts b/SBOLCanvasFrontend/src/app/canvas/canvas.component.ts new file mode 100644 index 00000000..11007fed --- /dev/null +++ b/SBOLCanvasFrontend/src/app/canvas/canvas.component.ts @@ -0,0 +1,22 @@ +import {Component, ElementRef, OnInit, ViewChild} from '@angular/core'; +import { GraphService } from '../graph.service'; + +@Component({ + selector: 'app-canvas', + templateUrl: './canvas.component.html', + styleUrls: ['./canvas.component.css'] +}) +export class CanvasComponent implements OnInit { + + constructor( + private graphService: GraphService + ) {} + + @ViewChild('canvasContainer') canvasContainer: ElementRef; + + ngOnInit() { + const canvasContainer = this.canvasContainer.nativeElement; + const svg = this.graphService.getGraphDOM(); + canvasContainer.appendChild(svg); + } +} diff --git a/frontend/src/app/canvasAnnotation.ts b/SBOLCanvasFrontend/src/app/canvasAnnotation.ts similarity index 100% rename from frontend/src/app/canvasAnnotation.ts rename to SBOLCanvasFrontend/src/app/canvasAnnotation.ts diff --git a/frontend/src/app/collection-creation/collection-creation.component.css b/SBOLCanvasFrontend/src/app/collection-creation/collection-creation.component.css similarity index 100% rename from frontend/src/app/collection-creation/collection-creation.component.css rename to SBOLCanvasFrontend/src/app/collection-creation/collection-creation.component.css diff --git a/frontend/src/app/collection-creation/collection-creation.component.html b/SBOLCanvasFrontend/src/app/collection-creation/collection-creation.component.html similarity index 100% rename from frontend/src/app/collection-creation/collection-creation.component.html rename to SBOLCanvasFrontend/src/app/collection-creation/collection-creation.component.html diff --git a/frontend/src/app/collection-creation/collection-creation.component.spec.ts b/SBOLCanvasFrontend/src/app/collection-creation/collection-creation.component.spec.ts similarity index 100% rename from frontend/src/app/collection-creation/collection-creation.component.spec.ts rename to SBOLCanvasFrontend/src/app/collection-creation/collection-creation.component.spec.ts diff --git a/frontend/src/app/collection-creation/collection-creation.component.ts b/SBOLCanvasFrontend/src/app/collection-creation/collection-creation.component.ts similarity index 100% rename from frontend/src/app/collection-creation/collection-creation.component.ts rename to SBOLCanvasFrontend/src/app/collection-creation/collection-creation.component.ts diff --git a/frontend/src/app/color-picker/color-picker.component.css b/SBOLCanvasFrontend/src/app/color-picker/color-picker.component.css similarity index 100% rename from frontend/src/app/color-picker/color-picker.component.css rename to SBOLCanvasFrontend/src/app/color-picker/color-picker.component.css diff --git a/frontend/src/app/color-picker/color-picker.component.html b/SBOLCanvasFrontend/src/app/color-picker/color-picker.component.html similarity index 100% rename from frontend/src/app/color-picker/color-picker.component.html rename to SBOLCanvasFrontend/src/app/color-picker/color-picker.component.html diff --git a/frontend/src/app/color-picker/color-picker.component.spec.ts b/SBOLCanvasFrontend/src/app/color-picker/color-picker.component.spec.ts similarity index 100% rename from frontend/src/app/color-picker/color-picker.component.spec.ts rename to SBOLCanvasFrontend/src/app/color-picker/color-picker.component.spec.ts diff --git a/frontend/src/app/color-picker/color-picker.component.ts b/SBOLCanvasFrontend/src/app/color-picker/color-picker.component.ts similarity index 100% rename from frontend/src/app/color-picker/color-picker.component.ts rename to SBOLCanvasFrontend/src/app/color-picker/color-picker.component.ts diff --git a/frontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.css b/SBOLCanvasFrontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.css similarity index 100% rename from frontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.css rename to SBOLCanvasFrontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.css diff --git a/frontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.html b/SBOLCanvasFrontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.html similarity index 100% rename from frontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.html rename to SBOLCanvasFrontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.html diff --git a/frontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.spec.ts b/SBOLCanvasFrontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.spec.ts similarity index 100% rename from frontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.spec.ts rename to SBOLCanvasFrontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.spec.ts diff --git a/frontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.ts b/SBOLCanvasFrontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.ts similarity index 100% rename from frontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.ts rename to SBOLCanvasFrontend/src/app/combinatorial-design-editor/combinatorial-design-editor.component.ts diff --git a/frontend/src/app/combinatorialInfo.ts b/SBOLCanvasFrontend/src/app/combinatorialInfo.ts similarity index 100% rename from frontend/src/app/combinatorialInfo.ts rename to SBOLCanvasFrontend/src/app/combinatorialInfo.ts diff --git a/frontend/src/app/confirm/confirm.component.css b/SBOLCanvasFrontend/src/app/confirm/confirm.component.css similarity index 100% rename from frontend/src/app/confirm/confirm.component.css rename to SBOLCanvasFrontend/src/app/confirm/confirm.component.css diff --git a/frontend/src/app/confirm/confirm.component.html b/SBOLCanvasFrontend/src/app/confirm/confirm.component.html similarity index 100% rename from frontend/src/app/confirm/confirm.component.html rename to SBOLCanvasFrontend/src/app/confirm/confirm.component.html diff --git a/frontend/src/app/confirm/confirm.component.spec.ts b/SBOLCanvasFrontend/src/app/confirm/confirm.component.spec.ts similarity index 100% rename from frontend/src/app/confirm/confirm.component.spec.ts rename to SBOLCanvasFrontend/src/app/confirm/confirm.component.spec.ts diff --git a/frontend/src/app/confirm/confirm.component.ts b/SBOLCanvasFrontend/src/app/confirm/confirm.component.ts similarity index 100% rename from frontend/src/app/confirm/confirm.component.ts rename to SBOLCanvasFrontend/src/app/confirm/confirm.component.ts diff --git a/frontend/src/app/design-menu/design-menu.component.css b/SBOLCanvasFrontend/src/app/design-menu/design-menu.component.css similarity index 96% rename from frontend/src/app/design-menu/design-menu.component.css rename to SBOLCanvasFrontend/src/app/design-menu/design-menu.component.css index 4be40c17..56ce3f07 100644 --- a/frontend/src/app/design-menu/design-menu.component.css +++ b/SBOLCanvasFrontend/src/app/design-menu/design-menu.component.css @@ -51,6 +51,3 @@ img { vertical-align:middle; } -.design-menu-container h4 { - margin: 0; -} \ No newline at end of file diff --git a/SBOLCanvasFrontend/src/app/design-menu/design-menu.component.html b/SBOLCanvasFrontend/src/app/design-menu/design-menu.component.html new file mode 100644 index 00000000..1a9001a9 --- /dev/null +++ b/SBOLCanvasFrontend/src/app/design-menu/design-menu.component.html @@ -0,0 +1,248 @@ +
+
+ + Stroke + +
+ +
Color:
+
+ +
+ +
+
+
+ +
+ +
Opacity:
+
+ +
+ + + +
+
+
+ +
+ +
Width:
+
+ +
+ + + +
+
+
+ +
+
+
+ +
+ + Fill + +
+ +
Color:
+
+ +
+ +
+
+
+ +
+ +
Opacity:
+
+ +
+ + + +
+
+
+
+ +
+
+
+ + +
+ + Edge + +
+ +
Style:
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+ +
Corner:
+
+ +
+ + Sharp + Rounded + Curved + +
+
+
+ +
+ +
Arrow Size:
+
+ +
+ + + +
+
+
+ +
+ +
Source Margin:
+
+ +
+ + + +
+
+
+
+ +
+ +
Target Margin:
+
+ +
+ + + +
+
+
+
+
+
+
+ + +
+ + Font + +
+ +
Color:
+
+ +
+ +
+
+
+ +
+ +
Opacity:
+
+ +
+ + + +
+
+
+ +
+ +
Size:
+
+ +
+ + + +
+
+
+
+
+
+
diff --git a/frontend/src/app/design-menu/design-menu.component.spec.ts b/SBOLCanvasFrontend/src/app/design-menu/design-menu.component.spec.ts similarity index 100% rename from frontend/src/app/design-menu/design-menu.component.spec.ts rename to SBOLCanvasFrontend/src/app/design-menu/design-menu.component.spec.ts diff --git a/frontend/src/app/design-menu/design-menu.component.ts b/SBOLCanvasFrontend/src/app/design-menu/design-menu.component.ts similarity index 100% rename from frontend/src/app/design-menu/design-menu.component.ts rename to SBOLCanvasFrontend/src/app/design-menu/design-menu.component.ts diff --git a/frontend/src/app/download-graph/download-graph.component.css b/SBOLCanvasFrontend/src/app/download-graph/download-graph.component.css similarity index 100% rename from frontend/src/app/download-graph/download-graph.component.css rename to SBOLCanvasFrontend/src/app/download-graph/download-graph.component.css diff --git a/frontend/src/app/download-graph/download-graph.component.html b/SBOLCanvasFrontend/src/app/download-graph/download-graph.component.html similarity index 98% rename from frontend/src/app/download-graph/download-graph.component.html rename to SBOLCanvasFrontend/src/app/download-graph/download-graph.component.html index b47e381b..6cf5fb1a 100644 --- a/frontend/src/app/download-graph/download-graph.component.html +++ b/SBOLCanvasFrontend/src/app/download-graph/download-graph.component.html @@ -6,7 +6,7 @@

Download

Server + (selectionChange)="setRegistry($event.value)"> {{registry}} diff --git a/frontend/src/app/download-graph/download-graph.component.spec.ts b/SBOLCanvasFrontend/src/app/download-graph/download-graph.component.spec.ts similarity index 100% rename from frontend/src/app/download-graph/download-graph.component.spec.ts rename to SBOLCanvasFrontend/src/app/download-graph/download-graph.component.spec.ts diff --git a/frontend/src/app/download-graph/download-graph.component.ts b/SBOLCanvasFrontend/src/app/download-graph/download-graph.component.ts similarity index 93% rename from frontend/src/app/download-graph/download-graph.component.ts rename to SBOLCanvasFrontend/src/app/download-graph/download-graph.component.ts index 8de6a692..244233b4 100644 --- a/frontend/src/app/download-graph/download-graph.component.ts +++ b/SBOLCanvasFrontend/src/app/download-graph/download-graph.component.ts @@ -63,16 +63,6 @@ export class DownloadGraphComponent implements OnInit { constructor(@Inject(MAT_DIALOG_DATA) public data: any, private dialog: MatDialog, private metadataService: MetadataService, private graphService: GraphService, private filesService: FilesService, private loginService: LoginService, public dialogRef: MatDialogRef) { } ngOnInit() { - // check if there is a saved registry and collection information - if (this.metadataService.getSavedRegistry() !== undefined) this.registry = this.metadataService.getSavedRegistry(); - if (this.metadataService.getSavedCollection() !== undefined) { - this.collection = this.metadataService.getSavedCollection().collection; - this.history = this.metadataService.getSavedCollection().history; - } else { - this.collection = ""; - this.history = []; - } - this.working = true; if (this.data != null) { if (this.data.mode != null) { @@ -118,9 +108,10 @@ export class DownloadGraphComponent implements OnInit { this.working = false; }); } - this.updateParts(); this.parts.sort = this.sort; + this.history = []; + this.collection = ""; } loginDisabled(): boolean { @@ -137,7 +128,6 @@ export class DownloadGraphComponent implements OnInit { setRegistry(registry: string) { this.registry = registry; - this.metadataService.setSavedRegistry(registry); this.updateParts(); } @@ -182,9 +172,7 @@ export class DownloadGraphComponent implements OnInit { // only allowed to get here when there is one item selected, and it's a collection let row = this.selection.selected[0]; this.history.push(row); - this.metadataService.setSavedCollection({ collection: row.uri, history: this.history }); this.selection.clear(); - this.updateParts(); } @@ -234,7 +222,6 @@ export class DownloadGraphComponent implements OnInit { if (row.type === DownloadGraphComponent.collectionType) { this.history.push(row); this.collection = row.uri; - this.metadataService.setSavedCollection({ collection: this.collection, history: this.history }); this.selection.clear(); this.updateParts(); } else if (row.type === DownloadGraphComponent.componentType) { @@ -308,9 +295,7 @@ export class DownloadGraphComponent implements OnInit { } changeCollection(collection: string) { - console.log(collection) this.selection.clear(); - let found = false; for (let i = 0; i < this.history.length; i++) { if (this.history[i] === collection) { @@ -321,9 +306,7 @@ export class DownloadGraphComponent implements OnInit { } if (!found) this.history.length = 0; - this.collection = collection; - this.metadataService.setSavedCollection({ collection: collection, history: this.history }); this.updateParts(); } diff --git a/frontend/src/app/load-graph/load-graph.component.css b/SBOLCanvasFrontend/src/app/error/error.component.css similarity index 100% rename from frontend/src/app/load-graph/load-graph.component.css rename to SBOLCanvasFrontend/src/app/error/error.component.css diff --git a/SBOLCanvasFrontend/src/app/error/error.component.html b/SBOLCanvasFrontend/src/app/error/error.component.html new file mode 100644 index 00000000..e741077c --- /dev/null +++ b/SBOLCanvasFrontend/src/app/error/error.component.html @@ -0,0 +1,9 @@ + +

Error

+
+

{{message}}

+
+
+ +
+
diff --git a/frontend/src/app/error/error.component.spec.ts b/SBOLCanvasFrontend/src/app/error/error.component.spec.ts similarity index 100% rename from frontend/src/app/error/error.component.spec.ts rename to SBOLCanvasFrontend/src/app/error/error.component.spec.ts diff --git a/frontend/src/app/error/error.component.ts b/SBOLCanvasFrontend/src/app/error/error.component.ts similarity index 100% rename from frontend/src/app/error/error.component.ts rename to SBOLCanvasFrontend/src/app/error/error.component.ts diff --git a/frontend/src/app/export-design/export-design.component.css b/SBOLCanvasFrontend/src/app/export-design/export-design.component.css similarity index 100% rename from frontend/src/app/export-design/export-design.component.css rename to SBOLCanvasFrontend/src/app/export-design/export-design.component.css diff --git a/frontend/src/app/export-design/export-design.component.html b/SBOLCanvasFrontend/src/app/export-design/export-design.component.html similarity index 100% rename from frontend/src/app/export-design/export-design.component.html rename to SBOLCanvasFrontend/src/app/export-design/export-design.component.html diff --git a/frontend/src/app/export-design/export-design.component.spec.ts b/SBOLCanvasFrontend/src/app/export-design/export-design.component.spec.ts similarity index 100% rename from frontend/src/app/export-design/export-design.component.spec.ts rename to SBOLCanvasFrontend/src/app/export-design/export-design.component.spec.ts diff --git a/frontend/src/app/export-design/export-design.component.ts b/SBOLCanvasFrontend/src/app/export-design/export-design.component.ts similarity index 100% rename from frontend/src/app/export-design/export-design.component.ts rename to SBOLCanvasFrontend/src/app/export-design/export-design.component.ts diff --git a/frontend/src/app/export-image/export-image.component.css b/SBOLCanvasFrontend/src/app/export-image/export-image.component.css similarity index 100% rename from frontend/src/app/export-image/export-image.component.css rename to SBOLCanvasFrontend/src/app/export-image/export-image.component.css diff --git a/frontend/src/app/export-image/export-image.component.html b/SBOLCanvasFrontend/src/app/export-image/export-image.component.html similarity index 100% rename from frontend/src/app/export-image/export-image.component.html rename to SBOLCanvasFrontend/src/app/export-image/export-image.component.html diff --git a/frontend/src/app/export-image/export-image.component.spec.ts b/SBOLCanvasFrontend/src/app/export-image/export-image.component.spec.ts similarity index 100% rename from frontend/src/app/export-image/export-image.component.spec.ts rename to SBOLCanvasFrontend/src/app/export-image/export-image.component.spec.ts diff --git a/frontend/src/app/export-image/export-image.component.ts b/SBOLCanvasFrontend/src/app/export-image/export-image.component.ts similarity index 100% rename from frontend/src/app/export-image/export-image.component.ts rename to SBOLCanvasFrontend/src/app/export-image/export-image.component.ts diff --git a/frontend/src/app/files.service.spec.ts b/SBOLCanvasFrontend/src/app/files.service.spec.ts similarity index 100% rename from frontend/src/app/files.service.spec.ts rename to SBOLCanvasFrontend/src/app/files.service.spec.ts diff --git a/frontend/src/app/files.service.ts b/SBOLCanvasFrontend/src/app/files.service.ts similarity index 94% rename from frontend/src/app/files.service.ts rename to SBOLCanvasFrontend/src/app/files.service.ts index 0f83f1c7..e355206a 100644 --- a/frontend/src/app/files.service.ts +++ b/SBOLCanvasFrontend/src/app/files.service.ts @@ -93,19 +93,6 @@ export class FilesService { }); } - exportDesignToString(users: {}, format: string, contents: string): Observable { - return new Observable(observer => { - let headers = new HttpHeaders(); - headers = headers.set("Authorization", this.usersToStringArr(users)); - let params = new HttpParams(); - params = params.append("format", format); - - this.http.post(this.exportDesignURL, contents, { headers: headers, responseType: 'text', params: params }).subscribe(result => { - observer.next(result); - }); - }); - } - enumerateDesign(users: {}, filename: string, format: string, contents: string): Observable { return new Observable(observer => { let headers = new HttpHeaders(); diff --git a/frontend/src/app/func-comp-selector/func-comp-selector.component.css b/SBOLCanvasFrontend/src/app/func-comp-selector/func-comp-selector.component.css similarity index 100% rename from frontend/src/app/func-comp-selector/func-comp-selector.component.css rename to SBOLCanvasFrontend/src/app/func-comp-selector/func-comp-selector.component.css diff --git a/frontend/src/app/func-comp-selector/func-comp-selector.component.html b/SBOLCanvasFrontend/src/app/func-comp-selector/func-comp-selector.component.html similarity index 100% rename from frontend/src/app/func-comp-selector/func-comp-selector.component.html rename to SBOLCanvasFrontend/src/app/func-comp-selector/func-comp-selector.component.html diff --git a/frontend/src/app/func-comp-selector/func-comp-selector.component.spec.ts b/SBOLCanvasFrontend/src/app/func-comp-selector/func-comp-selector.component.spec.ts similarity index 100% rename from frontend/src/app/func-comp-selector/func-comp-selector.component.spec.ts rename to SBOLCanvasFrontend/src/app/func-comp-selector/func-comp-selector.component.spec.ts diff --git a/frontend/src/app/func-comp-selector/func-comp-selector.component.ts b/SBOLCanvasFrontend/src/app/func-comp-selector/func-comp-selector.component.ts similarity index 100% rename from frontend/src/app/func-comp-selector/func-comp-selector.component.ts rename to SBOLCanvasFrontend/src/app/func-comp-selector/func-comp-selector.component.ts diff --git a/frontend/src/app/glyph-menu/glyph-menu.component.css b/SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.css similarity index 54% rename from frontend/src/app/glyph-menu/glyph-menu.component.css rename to SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.css index 9a94e7d8..df7c87fb 100644 --- a/frontend/src/app/glyph-menu/glyph-menu.component.css +++ b/SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.css @@ -5,26 +5,8 @@ } .glyphContainer { - /* width: 250px; */ - /* padding: 5px; */ -} - -.flexWrapper { - display: flex; - flex-direction: column; -} - -.searchBar { - margin: 15px 10px -20px 10px; -} - -.glyphMenuSection { - box-shadow: none; - background: transparent; -} - -.glyphGrid { - margin: 0 -10px; + width: 250px; + padding: 5px; } :host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-infix { diff --git a/SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.html b/SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.html new file mode 100644 index 00000000..67b57a2d --- /dev/null +++ b/SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.html @@ -0,0 +1,135 @@ +
+
+ + + + + + + + + + + + + + + + + + + Sequence Features + + + + + + + + + + + + + + + + + + Molecular Species + + + + + + + + + + + + + + + + + Interactions + + + + + + + + + + + + + + + + + Interaction Nodes + + + + + + + + + + + + + + + + + Util + + + + + + + + + + + + + + + + +
+
diff --git a/frontend/src/app/glyph-menu/glyph-menu.component.spec.ts b/SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.spec.ts similarity index 100% rename from frontend/src/app/glyph-menu/glyph-menu.component.spec.ts rename to SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.spec.ts diff --git a/frontend/src/app/glyph-menu/glyph-menu.component.ts b/SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.ts similarity index 98% rename from frontend/src/app/glyph-menu/glyph-menu.component.ts rename to SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.ts index 8c03b17d..4ebad558 100644 --- a/frontend/src/app/glyph-menu/glyph-menu.component.ts +++ b/SBOLCanvasFrontend/src/app/glyph-menu/glyph-menu.component.ts @@ -149,10 +149,6 @@ export class GlyphMenuComponent implements OnInit, AfterViewInit { this.graphService.addBackbone(); } - addCircularPlasmid() { - this.graphService.addCircularPlasmid(); - } - addTextBox() { this.graphService.addTextBox(); } diff --git a/frontend/src/app/glyph.service.spec.ts b/SBOLCanvasFrontend/src/app/glyph.service.spec.ts similarity index 100% rename from frontend/src/app/glyph.service.spec.ts rename to SBOLCanvasFrontend/src/app/glyph.service.spec.ts diff --git a/SBOLCanvasFrontend/src/app/glyph.service.ts b/SBOLCanvasFrontend/src/app/glyph.service.ts new file mode 100644 index 00000000..ed29698a --- /dev/null +++ b/SBOLCanvasFrontend/src/app/glyph.service.ts @@ -0,0 +1,186 @@ +import { Injectable } from '@angular/core'; + +declare var require: any; +const mx = require('mxgraph')({ + mxImageBasePath: 'mxgraph/images', + mxBasePath: 'mxgraph' +}); + +@Injectable({ + providedIn: 'root' +}) +export class GlyphService { + + // TODO load list of xml files from server + private sequenceFeatureXMLs: string[] = [ + // Strand glyphs + 'assets/glyph_stencils/sequence_feature/engineered-region.xml', + 'assets/glyph_stencils/sequence_feature/promoter.xml', + 'assets/glyph_stencils/sequence_feature/ribosome-entry-site.xml', + 'assets/glyph_stencils/sequence_feature/cds.xml', + 'assets/glyph_stencils/sequence_feature/terminator-specification.xml', + 'assets/glyph_stencils/sequence_feature/ncrna.xml', + 'assets/glyph_stencils/sequence_feature/origin-of-replication.xml', + 'assets/glyph_stencils/sequence_feature/origin-of-transfer.xml', + 'assets/glyph_stencils/sequence_feature/primer-binding-site.xml', + 'assets/glyph_stencils/sequence_feature/five-prime-sticky-restriction-site.xml', + 'assets/glyph_stencils/sequence_feature/three-prime-sticky-restriction-site.xml', + 'assets/glyph_stencils/sequence_feature/assembly-scar.xml', + 'assets/glyph_stencils/sequence_feature/operator.xml', + 'assets/glyph_stencils/sequence_feature/insulator.xml', + 'assets/glyph_stencils/sequence_feature/blunt-restriction-site.xml', + 'assets/glyph_stencils/sequence_feature/three-prime-overhang.xml', + 'assets/glyph_stencils/sequence_feature/five-prime-overhang.xml', + 'assets/glyph_stencils/sequence_feature/aptamer.xml', + //'assets/glyph_stencils/sequence_feature/dna-stability-element.xml', + 'assets/glyph_stencils/sequence_feature/polyA.xml', + 'assets/glyph_stencils/sequence_feature/specific-recombination-site.xml', + 'assets/glyph_stencils/sequence_feature/no-glyph-assigned.xml', + 'assets/glyph_stencils/sequence_feature/signature.xml', + 'assets/glyph_stencils/sequence_feature/location-dna.xml', + 'assets/glyph_stencils/sequence_feature/location-rna.xml', + 'assets/glyph_stencils/sequence_feature/location-protein.xml', + 'assets/glyph_stencils/sequence_feature/nuclease-site.xml', + 'assets/glyph_stencils/sequence_feature/protease-site.xml', + 'assets/glyph_stencils/sequence_feature/protein-stability-element.xml', + 'assets/glyph_stencils/sequence_feature/ribonuclease-site.xml', + 'assets/glyph_stencils/sequence_feature/rna-stability-element.xml', + //'assets/glyph_stencils/sequence_feature/chromosomal-locus.xml', + //'assets/glyph_stencils/sequence_feature/circular-plasmid.xml', + 'assets/glyph_stencils/sequence_feature/transcription-end.xml', + 'assets/glyph_stencils/sequence_feature/translation-end.xml', + //'assets/glyph_stencils/sequence_feature/test.xml', + ]; + + private molecularSpeciesXMLs: string[] = [ + // 'molecular species' glyphs aka protein? + 'assets/glyph_stencils/molecular_species/macromolecule.xml', + 'assets/glyph_stencils/molecular_species/dsNA.xml', + 'assets/glyph_stencils/molecular_species/ssNA.xml', + 'assets/glyph_stencils/molecular_species/small-molecule.xml', + 'assets/glyph_stencils/molecular_species/no-glyph-assigned-ms.xml', + 'assets/glyph_stencils/molecular_species/replacement-glyph.xml', + 'assets/glyph_stencils/molecular_species/complex.xml', + ]; + + private interactionXMLs: string[] = [ + 'assets/glyph_stencils/interactions/control.xml', + 'assets/glyph_stencils/interactions/inhibition.xml', + 'assets/glyph_stencils/interactions/stimulation.xml', + 'assets/glyph_stencils/interactions/process.xml', + 'assets/glyph_stencils/interactions/degradation.xml', + ]; + + private interactionNodeXMLs: string[] = [ + 'assets/glyph_stencils/interaction_nodes/association.xml', + 'assets/glyph_stencils/interaction_nodes/dissociation.xml', + 'assets/glyph_stencils/interaction_nodes/process.xml', + 'assets/glyph_stencils/molecular_species/replacement-glyph.xml', + ] + + private indicatorXMLs: string[] = [ + 'assets/glyph_stencils/indicators/composite.xml', + 'assets/glyph_stencils/indicators/variant.xml', + 'assets/glyph_stencils/indicators/error.xml', + ]; + + private utilXMLs: string[] = [ + 'assets/backbone.xml', + 'assets/textBox.xml', + 'assets/module.xml', + ]; + + private sequenceFeatures: any = {}; + private molecularSpecies: any = {}; + private interactions: any = {}; + private interactionNodes: any = {}; + private indicators: any = {}; + private utils: any = {}; + + constructor() { + this.loadXMLs(this.sequenceFeatureXMLs, this.sequenceFeatures); + this.loadXMLs(this.molecularSpeciesXMLs, this.molecularSpecies); + this.loadXMLs(this.interactionNodeXMLs, this.interactionNodes); + this.loadXMLs(this.interactionXMLs, this.interactions); + this.loadXMLs(this.indicatorXMLs, this.indicators); + this.loadXMLs(this.utilXMLs, this.utils); + } + + loadXMLs(xml_list, glyph_list) { + xml_list.forEach((filename) => { + let req = mx.mxUtils.load(filename); + let root = req.getDocumentElement(); + let shape = root.firstChild; + + + while (shape != null) { + if (shape.nodeType == mx.mxConstants.NODETYPE_ELEMENT) { + const name = shape.getAttribute('name'); + const centered = shape.getAttribute('centered'); + + const stencil = new mx.mxStencil(shape); + + glyph_list[name] = [stencil, (centered && centered.toLowerCase() == 'true')]; + } + shape = shape.nextSibling; + } + }); + } + + getElements(glyph_list) { + const svgs = {}; + + for (const name in glyph_list) { + const stencil = glyph_list[name][0]; + + let elt = document.createElement('svg'); + let canvas = new mx.mxSvgCanvas2D(elt); + let shape = new mx.mxShape(stencil); + + canvas.setStrokeColor('#000000'); + canvas.setFillColor('none'); + + stencil.drawShape(canvas, shape, 0, 0, 50, 50); + + svgs[name] = elt; + } + + return svgs; + } + + getSequenceFeatureGlyphs() { + return this.sequenceFeatures; + } + + getMolecularSpeciesGlyphs() { + return this.molecularSpecies; + } + + getIndicatorGlyphs(){ + return this.indicators; + } + + getInteractionNodeGlyphs(){ + return this.interactionNodes; + } + + getUtilElements() { + return this.getElements(this.utils) + } + + getInteractionElements() { + return this.getElements(this.interactions); + } + + getInteractionNodeElements(){ + return this.getElements(this.interactionNodes); + } + + getMolecularSpeciesElements() { + return this.getElements(this.molecularSpecies); + } + + getSequenceFeatureElements() { + return this.getElements(this.sequenceFeatures); + } +} diff --git a/SBOLCanvasFrontend/src/app/glyphInfo.ts b/SBOLCanvasFrontend/src/app/glyphInfo.ts new file mode 100644 index 00000000..8bb9724b --- /dev/null +++ b/SBOLCanvasFrontend/src/app/glyphInfo.ts @@ -0,0 +1,130 @@ +import { ParsedEventType } from '@angular/compiler'; +import { CanvasAnnotation } from './canvasAnnotation'; +import { Info } from './info'; +import { environment } from 'src/environments/environment'; + +export class GlyphInfo extends Info{ + // Remember that when you change this you need to change the encode function in graph service + static counter: number = 0; + partType: string; + otherTypes: string[]; + partRole: string; + otherRoles: string[]; + partRefine: string; + name: string; + description: string; + version: string; + sequence: string; + sequenceURI: string; + annotations: CanvasAnnotation[]; + derivedFroms: string[]; + generatedBys: string[]; + + constructor(partType?: string) { + super(); + this.displayID = 'id' + (GlyphInfo.counter++); + if (partType) { + this.partType = partType; + } else { + this.partType = 'DNA region'; + } + } + + makeCopy() { + const copy: GlyphInfo = new GlyphInfo(); + copy.partType = this.partType; + copy.otherTypes = this.otherTypes ? this.otherTypes.slice() : null; + copy.partRole = this.partRole; + copy.otherRoles = this.otherRoles ? this.otherRoles.slice() : null; + copy.partRefine = this.partRefine; + copy.displayID = this.displayID; + copy.name = this.name; + copy.description = this.description; + copy.version = this.version; + copy.sequence = this.sequence; + copy.sequenceURI = this.sequenceURI; + copy.uriPrefix = this.uriPrefix; + copy.annotations = this.annotations ? this.annotations.slice() : null; + copy.derivedFroms = this.derivedFroms ? this.derivedFroms.slice() : null; + copy.generatedBys = this.generatedBys ? this.generatedBys.slice() : null; + return copy; + } + + copyDataFrom(other: GlyphInfo) { + this.partType = other.partType; + this.otherTypes = other.otherTypes ? other.otherTypes.slice() : null; + this.partRole = other.partRole; + this.otherRoles = other.otherRoles ? other.otherRoles.slice() : null; + this.partRefine = other.partRefine; + this.displayID = other.displayID; + this.name = other.name; + this.description = other.description; + this.version = other.version; + this.sequence = other.sequence; + this.sequenceURI = other.sequenceURI; + this.uriPrefix = other.uriPrefix; + this.annotations = other.annotations ? other.annotations.slice() : null; + this.derivedFroms = other.derivedFroms ? other.derivedFroms.slice() : null; + this.generatedBys = other.generatedBys ? other.generatedBys.slice() : null; + } + + getFullURI(): string { + let fullURI = this.uriPrefix + '/' + this.displayID; + if (this.version && this.version.length > 0) { + fullURI += '/' + this.version; + } + return fullURI; + } + + encode(enc: any) { + let node = enc.document.createElement('GlyphInfo'); + if (this.partType) + node.setAttribute("partType", this.partType); + if (this.otherTypes) { + let otherTypesNode = enc.encode(this.otherTypes); + otherTypesNode.setAttribute("as", "otherTypes"); + node.appendChild(otherTypesNode); + } + if (this.partRole) + node.setAttribute("partRole", this.partRole); + if (this.otherRoles) { + let otherRolesNode = enc.encode(this.otherRoles); + otherRolesNode.setAttribute("as", "otherRoles"); + node.appendChild(otherRolesNode); + } + if (this.partRefine) + node.setAttribute("partRefine", this.partRefine); + if (this.displayID) + node.setAttribute("displayID", this.displayID); + if (this.name && this.name.length > 0) + node.setAttribute("name", this.name); + if (this.description && this.description.length > 0) + node.setAttribute("description", this.description); + if (this.version && this.version.length > 0) + node.setAttribute("version", this.version); + if (this.sequence && this.sequence.length > 0) + node.setAttribute("sequence", this.sequence); + if(this.sequenceURI && this.sequenceURI.length > 0) + node.setAttribute("sequenceURI", this.sequenceURI); + if (this.uriPrefix) + node.setAttribute("uriPrefix", this.uriPrefix); + + if (this.annotations) { + let annotationsNode = enc.encode(this.annotations); + annotationsNode.setAttribute("as", "annotations"); + node.appendChild(annotationsNode); + } + if(this.derivedFroms){ + let derivedFromsNode = enc.encode(this.derivedFroms); + derivedFromsNode.setAttribute("as", "derivedFroms"); + node.appendChild(derivedFromsNode); + } + if(this.generatedBys){ + let generatedBysNode = enc.encode(this.generatedBys); + generatedBysNode.setAttribute("as", "generatedBys"); + node.appendChild(generatedBysNode); + } + + return node; + } +} diff --git a/frontend/src/app/graph-base.spec.ts b/SBOLCanvasFrontend/src/app/graph-base.spec.ts similarity index 100% rename from frontend/src/app/graph-base.spec.ts rename to SBOLCanvasFrontend/src/app/graph-base.spec.ts diff --git a/frontend/src/app/graph-base.ts b/SBOLCanvasFrontend/src/app/graph-base.ts similarity index 93% rename from frontend/src/app/graph-base.ts rename to SBOLCanvasFrontend/src/app/graph-base.ts index 5c912403..bfd23e64 100644 --- a/frontend/src/app/graph-base.ts +++ b/SBOLCanvasFrontend/src/app/graph-base.ts @@ -291,18 +291,18 @@ export class GraphBase { reconstructCellStyle = true; else if (cell.style === GraphBase.STYLE_MOLECULAR_SPECIES || cell.style.includes(GraphBase.STYLE_MOLECULAR_SPECIES + ";")) reconstructCellStyle = true; - else if (cell.style === GraphBase.STYLE_INTERACTION || cell.style.includes(GraphBase.STYLE_INTERACTION + ";")) + else if (cell.style === GraphBase.STYLE_INTERACTION || cell.style.includes(GraphBase.STYLE_INTERACTION+";")) reconstructCellStyle = true; - else if (cell.style === GraphBase.STYLE_INTERACTION_NODE || cell.style.includes(GraphBase.STYLE_INTERACTION_NODE + ";")) + else if (cell.style === GraphBase.STYLE_INTERACTION_NODE || cell.style.includes(GraphBase.STYLE_INTERACTION_NODE+";")) reconstructCellStyle = true; } // reconstruct the cell style if (reconstructCellStyle) { if (glyphDict[cell.value] != null) { - if (glyphDict[cell.value] instanceof ModuleInfo) { + if(glyphDict[cell.value] instanceof ModuleInfo){ // module - if (!cell.style) { + if(!cell.style){ cell.style = GraphBase.STYLE_MODULE; } cell.geometry.width = GraphBase.defaultModuleWidth; @@ -318,7 +318,7 @@ export class GraphBase { cell.geometry.width = GraphBase.sequenceFeatureGlyphWidth; if (cell.geometry.height == 0) cell.geometry.height = GraphBase.sequenceFeatureGlyphHeight; - } else if (glyphDict[cell.value] instanceof GlyphInfo) { + } else if(glyphDict[cell.value] instanceof GlyphInfo){ // molecular species if (!cell.style) cell.style = GraphBase.STYLE_MOLECULAR_SPECIES + "macromolecule"; @@ -329,17 +329,17 @@ export class GraphBase { } } else if (interactionDict[cell.value] != null) { let intInfo = interactionDict[cell.value]; - if (cell.isVertex()) { + if(cell.isVertex()){ // interaction node let name = graphBaseRef.interactionNodeTypeToName(intInfo.interactionType); - if (!cell.style) { - cell.style = GraphBase.STYLE_INTERACTION_NODE + name; - } else { + if(!cell.style){ + cell.style = GraphBase.STYLE_INTERACTION_NODE+name; + }else{ cell.style = cell.style.replace(GraphBase.STYLE_INTERACTION_NODE, GraphBase.STYLE_INTERACTION_NODE + name); } cell.geometry.width = GraphBase.interactionNodeGlyphWidth; cell.geometry.height = GraphBase.interactionNodeGlyphHeight; - } else { + }else{ // interaction let name = intInfo.interactionType; if (name == "Biochemical Reaction" || name == "Non-Covalent Binding" || name == "Genetic Production") { @@ -528,9 +528,8 @@ export class GraphBase { const layout = new mx.mxStackLayout(graph, true); layout.resizeParent = true; layout.isVertexIgnored = function (vertex) { - return vertex.isBackbone(); + return vertex.isBackbone() }; - layout.execute(this); }; @@ -776,14 +775,13 @@ export class GraphBase { // we need this if we intend on creating custom shapes with stencils let sequenceFeatureStencils = this.glyphService.getSequenceFeatureGlyphs(); - let utilStencils = this.glyphService.getUtilGlyphs() mx.mxCellRenderer.prototype.createShape = function (state) { var shape = null; if (state.style != null) { let stencilName = state.style[mx.mxConstants.STYLE_SHAPE]; var stencil = mx.mxStencilRegistry.getStencil(stencilName); - if (sequenceFeatureStencils[stencilName] != null || utilStencils[stencilName] != null) { + if (sequenceFeatureStencils[stencilName] != null) { shape = new CustomShapes.SequenceFeatureShape(stencil); } else if (stencil != null) { shape = new mx.mxShape(stencil); @@ -796,48 +794,47 @@ export class GraphBase { return shape; } - const registerSequenceFeatureShapes = stencils => { - for (const name in stencils) { - // Create a new copy of the stencil for the graph. - const stencil = stencils[name][0]; - const centered = stencils[name][1]; - let customStencil = new mx.mxStencil(stencil.desc); // Makes a deep copy - // Change the copied stencil for mxgraph - let origDrawShape = mx.mxStencil.prototype.drawShape; + // custom stencil setup + let stencils = this.glyphService.getSequenceFeatureGlyphs(); - if (centered) { - customStencil.drawShape = function (canvas, shape, x, y, w, h) { - h /= 2; - y += h / 2; - origDrawShape.apply(this, [canvas, shape, x, y, w, h]); + for (const name in stencils) { + // Create a new copy of the stencil for the graph. + const stencil = stencils[name][0]; + const centered = stencils[name][1]; + let customStencil = new mx.mxStencil(stencil.desc); // Makes a deep copy - shape.paintComposite(canvas, x, y - (h / 2), w, h * 2); - } - } else { - customStencil.drawShape = function (canvas, shape, x, y, w, h) { - h = h / 2; - origDrawShape.apply(this, [canvas, shape, x, y, w, h]); + // Change the copied stencil for mxgraph + let origDrawShape = mx.mxStencil.prototype.drawShape; - shape.paintComposite(canvas, x, y, w, h * 2); - } - } + if (centered) { + customStencil.drawShape = function (canvas, shape, x, y, w, h) { + h /= 2; + y += h / 2; + origDrawShape.apply(this, [canvas, shape, x, y, w, h]); - // Add the stencil to the registry and set its style. - mx.mxStencilRegistry.addStencil(name, customStencil); + shape.paintComposite(canvas, x, y - (h / 2), w, h * 2); + } + } else { + customStencil.drawShape = function (canvas, shape, x, y, w, h) { + h = h / 2; + origDrawShape.apply(this, [canvas, shape, x, y, w, h]); - const newGlyphStyle = mx.mxUtils.clone(this.baseSequenceFeatureGlyphStyle); - newGlyphStyle[mx.mxConstants.STYLE_SHAPE] = name; - this.graph.getStylesheet().putCellStyle(GraphBase.STYLE_SEQUENCE_FEATURE + name, newGlyphStyle); + shape.paintComposite(canvas, x, y, w, h * 2); + } } - } - registerSequenceFeatureShapes(this.glyphService.getSequenceFeatureGlyphs()) - registerSequenceFeatureShapes(this.glyphService.getUtilGlyphs()) + // Add the stencil to the registry and set its style. + mx.mxStencilRegistry.addStencil(name, customStencil); + + const newGlyphStyle = mx.mxUtils.clone(this.baseSequenceFeatureGlyphStyle); + newGlyphStyle[mx.mxConstants.STYLE_SHAPE] = name; + this.graph.getStylesheet().putCellStyle(GraphBase.STYLE_SEQUENCE_FEATURE + name, newGlyphStyle); + } // molecularSpecies glyphs are simpler, since we don't have to morph // them to always be centred on the strand - let stencils = this.glyphService.getMolecularSpeciesGlyphs(); + stencils = this.glyphService.getMolecularSpeciesGlyphs(); for (const name in stencils) { const stencil = stencils[name][0]; let customStencil = new mx.mxStencil(stencil.desc); // Makes of deep copy of the stencil. @@ -990,10 +987,10 @@ export class GraphBase { infoCopy.targetRefinement = {}; // add back refinements relating to ours - if (sourceRefinement) { + if(sourceRefinement){ infoCopy.sourceRefinement[edge.getId()] = sourceRefinement; } - if (targetRefinement) { + if(targetRefinement){ infoCopy.targetRefinement[edge.getId()] = targetRefinement; } @@ -1018,28 +1015,28 @@ export class GraphBase { let oldURI = edge.value; let nodeInfo = this.getFromInteractionDict(terminal.value).makeCopy(); this.graph.getModel().setValue(edge, nodeInfo.getFullURI()); - + // duplicate over the nescessary info // module targets - if (infoCopy.fromURI[edge.getId()]) { + if(infoCopy.fromURI[edge.getId()]){ nodeInfo.fromURI[edge.getId()] = infoCopy.fromURI[edge.getId()]; } - if (infoCopy.toURI[edge.getId()]) { + if(infoCopy.toURI[edge.getId()]){ nodeInfo.toURI[edge.getId()] = infoCopy.toURI[edge.getId()]; } // edge refinements let sourceRefinement = infoCopy.sourceRefinement[edge.getId()]; - if (sourceRefinement) { + if(sourceRefinement){ nodeInfo.sourceRefinement[edge.getId()] = sourceRefinement; } let targetRefinement = infoCopy.targetRefinement[edge.getId()]; - if (targetRefinement) { + if(targetRefinement){ nodeInfo.targetRefinement[edge.getId()] = targetRefinement; } // if the previous wasn't an interaction node, then we need to remove the info from the dictionary - if (!previous || !previous.isInteractionNode()) { + if(!previous || !previous.isInteractionNode()){ this.removeFromInteractionDict(oldURI); } @@ -1071,8 +1068,8 @@ export class GraphBase { // cell movement this.graph.addListener(mx.mxEvent.MOVE_CELLS, mx.mxUtils.bind(this, async function (sender, evt) { // sender is the graph + sender.getModel().beginUpdate(); - let cancelled = false; try { let movedCells = evt.getProperty("cells"); @@ -1080,7 +1077,7 @@ export class GraphBase { // can appear here (even if they were also selected) // sort cells: processing order is important - movedCells = movedCells.sort(function (cellA, cellB) { + movedCells = movedCells.sort(function (cellA, cellB) { if (cellA.getRootId() !== cellB.getRootId()) { // cells are not related: choose arbitrary order (but still group by root) return cellA.getRootId() < cellB.getRootId() ? -1 : 1; @@ -1128,7 +1125,6 @@ export class GraphBase { if (!movedCells[i].isSequenceFeatureGlyph()) { continue; } - // found a sequenceFeature glyph. A streak might be starting... const baseX = movedCells[i].getGeometry().x; const rootId = movedCells[i].getRootId(); @@ -1159,6 +1155,16 @@ export class GraphBase { this.horizontalSortBasedOnPosition(circuitContainer); } + // finallly, another special case: if a circuitContainer only has one sequenceFeatureGlyph, + // moving the glyph should move the circuitContainer + for (const cell of movedCells) { + if (cell.isSequenceFeatureGlyph() && cell.getParent().children.length === 2) { + const x = cell.getParent().getGeometry().x + evt.getProperty("dx"); + const y = cell.getParent().getGeometry().y + evt.getProperty("dy"); + cell.getParent().replaceGeometry(x, y, 'auto', 'auto', sender); + } + } + // sync circuit containers let circuitContainers = new Set(); for (let movedCell of movedCells) { @@ -1170,29 +1176,6 @@ export class GraphBase { this.syncCircuitContainer(circuitContainer); } - for (const cell of movedCells) { - // another special case: if a circuitContainer only has one sequenceFeatureGlyph, - // moving the glyph should move the circuitContainer - if (cell.isSequenceFeatureGlyph() && cell.getParent().children.length === 2) { - const x = cell.getParent().getGeometry().x + evt.getProperty("dx"); - const y = cell.getParent().getGeometry().y + evt.getProperty("dy"); - cell.getParent().replaceGeometry(x, y, "auto", "auto", sender); - } - - // special case where an empty circular backbone's circuit container is moved - // fixes the containers position and the right circular backbones x position - if((cell.circularBackbone && cell.children.length === 3)) { - this.repositionCircularBackbone(cell); - } - } - - // special case where a circular backbone is repositioned within a circuit container - if(movedCells[0].getParent().circularBackbone - && movedCells.filter(cell => cell.stayAtBeginning || cell.stayAtEnd).length > 0 - && movedCells[0].getParent().children.length === 3) { - this.repositionCircularBackbone(movedCells[0].getParent()); - } - // change ownership for (let container of Array.from(containers)) { this.changeOwnership(container); @@ -1227,7 +1210,7 @@ export class GraphBase { } let styleString = edge.style.slice(); - let startIdx = styleString.indexOf(GraphBase.STYLE_INTERACTION) + GraphBase.STYLE_INTERACTION.length; + let startIdx = styleString.indexOf(GraphBase.STYLE_INTERACTION)+GraphBase.STYLE_INTERACTION.length; let endIdx = styleString.indexOf(';', startIdx); endIdx = endIdx > 0 ? endIdx : styleString.length; let interactionType = styleString.slice(startIdx, endIdx); @@ -1241,7 +1224,7 @@ export class GraphBase { protected validateInteraction(interactionType: string, source: mxCell, target: mxCell) { // edges can't connect to edges - if ((source && source.isEdge()) || (target && target.isEdge())) { + if((source && source.isEdge()) || (target && target.isEdge())){ return "Edges are dissallowed to connect to edges."; } diff --git a/frontend/src/app/graph-edits.spec.ts b/SBOLCanvasFrontend/src/app/graph-edits.spec.ts similarity index 100% rename from frontend/src/app/graph-edits.spec.ts rename to SBOLCanvasFrontend/src/app/graph-edits.spec.ts diff --git a/frontend/src/app/graph-edits.ts b/SBOLCanvasFrontend/src/app/graph-edits.ts similarity index 100% rename from frontend/src/app/graph-edits.ts rename to SBOLCanvasFrontend/src/app/graph-edits.ts diff --git a/frontend/src/app/graph-helpers.spec.ts b/SBOLCanvasFrontend/src/app/graph-helpers.spec.ts similarity index 100% rename from frontend/src/app/graph-helpers.spec.ts rename to SBOLCanvasFrontend/src/app/graph-helpers.spec.ts diff --git a/frontend/src/app/graph-helpers.ts b/SBOLCanvasFrontend/src/app/graph-helpers.ts similarity index 95% rename from frontend/src/app/graph-helpers.ts rename to SBOLCanvasFrontend/src/app/graph-helpers.ts index 16bde015..af9ca3b7 100644 --- a/frontend/src/app/graph-helpers.ts +++ b/SBOLCanvasFrontend/src/app/graph-helpers.ts @@ -830,12 +830,12 @@ export class GraphHelpers extends GraphBase { let interactionInfo = this.getFromInteractionDict(interaction.value).makeCopy(); // remove an edge if the new reference is null, and this specific edge had it's old reference if (!newReference) { - if (interactionInfo.fromURI[interaction.getId()] == oldReference) { + if(interactionInfo.fromURI[interaction.getId()] == oldReference){ delete interactionInfo.fromURI[interaction.getId()]; this.updateInteractionDict(interactionInfo); this.graph.getModel().remove(interaction); } - if (interactionInfo.toURI[interaction.getId()] == oldReference) { + if(interactionInfo.toURI[interaction.getId()] == oldReference){ delete interactionInfo.toURI[interaction.getId()]; this.updateInteractionDict(interactionInfo); this.graph.getModel().remove(interaction); @@ -843,13 +843,13 @@ export class GraphHelpers extends GraphBase { continue; } // replace any interaction references that reference the oldReference - for (let key in interactionInfo.fromURI) { - if (interactionInfo.fromURI[key] == oldReference) { + for(let key in interactionInfo.fromURI){ + if(interactionInfo.fromURI[key] == oldReference){ interactionInfo.fromURI[key] = newReference; } } - for (let key in interactionInfo.toURI) { - if (interactionInfo.toURI[key] == oldReference) { + for(let key in interactionInfo.toURI){ + if(interactionInfo.toURI[key] == oldReference){ interactionInfo.toURI[key] = newReference; } } @@ -1090,22 +1090,6 @@ export class GraphHelpers extends GraphBase { var cellsRemoved = evt.getProperty('added'); var cellsAdded = evt.getProperty('removed'); - // checks if either the left or right side of a circular backbone was selected - const cirBackboneFilter = sender.cells.filter(cell => cell.stayAtBeginning || cell.stayAtEnd); - - if(cirBackboneFilter.length > 0) { - const parentCell = cirBackboneFilter[0].parent.children; - const cirBackboneCells = [parentCell[parentCell.length - 1], parentCell[1]]; - - // checks if the circular backbone is already selected - if(this.graph.getSelectionCells()[0] == cirBackboneCells[0] && this.graph.getSelectionCells()[1] == cirBackboneCells[1]) { - return; - } - - //set the selection to the circular backbone cells - this.graph.setSelectionCells(cirBackboneCells); - } - console.debug("----handleSelectionChange-----"); console.debug("cells removed: "); @@ -1136,13 +1120,13 @@ export class GraphHelpers extends GraphBase { } /** - * Updates the data in the metadata service according to the cells properties - */ + * Updates the data in the metadata service according to the cells properties + */ protected updateAngularMetadata(cells) { // start with null data, (re)add it as possible this.nullifyMetadata(); - // if there is no current root it's because we're in the middle of resetting the view + // if there is no current root it's because we're in the middle of reseting the view if (!this.graph.getCurrentRoot()) return; @@ -1153,27 +1137,19 @@ export class GraphHelpers extends GraphBase { } if (cells.length > 1) { - // multiple selections can't display glyph data unless it's a circular backbone - if(cells[1].stayAtBeginning) { - let glyphInfo; - if (!cells[1]) glyphInfo = this.getFromInfoDict(this.graph.getCurrentRoot().getId()); - else glyphInfo = this.getFromInfoDict(cells[1].value); - - this.metadataService.setSelectedGlyphInfo(glyphInfo.makeCopy()); - } - + // multiple selections? can't display glyph data return; } // have to add special check as no selection cell should signify the module/component of the current view let cell; - if (cells && cells.length === 1) { + if (cells && cells.length > 0) { cell = cells[0]; } if ((!cell && this.graph.getCurrentRoot().isModuleView()) || (cell && cell.isModule())) { let moduleInfo; - if (!cell) + if (!cell) moduleInfo = this.getFromInfoDict(this.graph.getCurrentRoot().getId()); else moduleInfo = this.getFromInfoDict(cell.value); @@ -1655,10 +1631,10 @@ export class GraphHelpers extends GraphBase { // edge case, module view, need to check parent circuit container toCheck.add(cell.getParent().getValue()); } - } else if (cell.isCircuitContainer() && cell.getParent().isModuleView()) { + } else if(cell.isCircuitContainer() && cell.getParent().isModuleView()){ // transition state to module views toCheck.add(cell.getParent().getId()); - } else if (cell.isModule()) { + } else if(cell.isModule()){ toCheck.add(cell.getParent().getId()); } } @@ -1858,8 +1834,8 @@ export class GraphHelpers extends GraphBase { return false; } - protected flipInteractionEdge(cell) { - if (!cell.isInteraction()) { + protected flipInteractionEdge(cell){ + if(!cell.isInteraction()){ console.error("flipInteraction attempted on something other than an interaction!"); return; } @@ -1871,10 +1847,10 @@ export class GraphHelpers extends GraphBase { let targetPoint = cell.geometry.getTerminalPoint(false); cell.geometry.setTerminalPoint(null, true); cell.geometry.setTerminalPoint(null, false); - if (sourcePoint) { + if(sourcePoint){ cell.geometry.setTerminalPoint(sourcePoint, false); } - if (targetPoint) { + if(targetPoint){ cell.geometry.setTerminalPoint(targetPoint, true); } // reverse the info to/from @@ -1883,10 +1859,10 @@ export class GraphHelpers extends GraphBase { let oldFrom = newInfo.toURI[cell.id]; delete newInfo.toURI[cell.id]; delete newInfo.fromURI[cell.id]; - if (oldTo) { + if(oldTo){ newInfo.fromURI[cell.id] = oldTo; } - if (oldFrom) { + if(oldFrom){ newInfo.toURI[cell.id] = oldFrom; } // nuke the refinemnets, as source refinements don't match target refinements @@ -2059,51 +2035,18 @@ export class GraphHelpers extends GraphBase { } } - /** - * If a circuit container contains only a circular backbone the container's width is for some - * reason set to 1 and the right side of the circular backbone is moved right next to the left - * side, this method fixes the formatting - * - * @param circuitContainer The circuit container that contains the circular backbone - */ - repositionCircularBackbone(circuitContainer) { - const childrenCopy = circuitContainer.children.slice().filter(cell => cell.stayAtEnd); - const containerCopy = childrenCopy[0].getParent(); - - containerCopy.replaceGeometry("auto", "auto", 52, "auto", this.graph); - childrenCopy[0].replaceGeometry( - childrenCopy[0].getGeometry().x + 49, "auto", "auto", "auto", this.graph); - } - horizontalSortBasedOnPosition(circuitContainer) { - // pull out children that should be sorted - let childrenCopy = circuitContainer.children.slice() - .filter(cell => !cell.stayAtBeginning); - // sort the children - childrenCopy.sort((cellA, cellB) => - cellA.getGeometry().x - cellB.getGeometry().x - ); - + let childrenCopy = circuitContainer.children.slice(); + childrenCopy.sort(function (cellA, cellB) { + return cellA.getGeometry().x - cellB.getGeometry().x; + }); // and have the model reflect the sort in an undoable way - childrenCopy.forEach((child, i) => { + for (let i = 0; i < childrenCopy.length; i++) { + const child = childrenCopy[i]; this.graph.getModel().add(circuitContainer, child, i); - }); - - // add in children that should stay at the beginning - circuitContainer.children - .filter(cell => cell.stayAtBeginning) - .forEach(child => { - this.graph.getModel().add(circuitContainer, child, 0); - }); + } - // add in children that should stay at the end - circuitContainer.children - .filter(cell => cell.stayAtEnd) - .forEach(child => { - this.graph.getModel().add(circuitContainer, child, circuitContainer.children.length); - }); - circuitContainer.refreshCircuitContainer(this.graph); } diff --git a/frontend/src/app/graph.service.spec.ts b/SBOLCanvasFrontend/src/app/graph.service.spec.ts similarity index 100% rename from frontend/src/app/graph.service.spec.ts rename to SBOLCanvasFrontend/src/app/graph.service.spec.ts diff --git a/SBOLCanvasFrontend/src/app/graph.service.ts b/SBOLCanvasFrontend/src/app/graph.service.ts new file mode 100644 index 00000000..b2b9b717 --- /dev/null +++ b/SBOLCanvasFrontend/src/app/graph.service.ts @@ -0,0 +1,1621 @@ +/* +* GraphService +* +* This service controls the main editing canvas +*/ + +///// + +import { Injectable } from '@angular/core'; +import * as mxCell from 'mxgraph'; +import { GlyphInfo } from './glyphInfo'; +import { MetadataService } from './metadata.service'; +import { GlyphService } from './glyph.service'; +import { InteractionInfo } from './interactionInfo'; +import { environment } from 'src/environments/environment'; +import { MatDialog } from '@angular/material'; +import { GraphEdits } from './graph-edits'; +import { GraphBase, mx } from './graph-base'; +import { GraphHelpers } from './graph-helpers'; +import { StyleInfo } from './style-info'; +import { ModuleInfo } from './moduleInfo'; +import { Info } from './info'; +import { CombinatorialInfo } from './combinatorialInfo'; + +@Injectable({ + providedIn: 'root' +}) +export class GraphService extends GraphHelpers { + + constructor(dialog: MatDialog, metadataService: MetadataService, glyphService: GlyphService) { + super(dialog, metadataService, glyphService); + + this.graph.getSelectionModel().addListener(mx.mxEvent.CHANGE, mx.mxUtils.bind(this, this.handleSelectionChange)); + } + + isSelectedAGlyph(): boolean { + let selected = this.graph.getSelectionCells(); + if (selected.length != 1) { + return false; + } + return selected[0].isSequenceFeatureGlyph(); + } + + isRootAComponentView(): boolean { + return this.viewStack[0].isComponentView(); + } + + isComposite(sequenceFeature): boolean { + if (!sequenceFeature || !sequenceFeature.isSequenceFeatureGlyph()) { + return false; + } + return sequenceFeature.getCircuitContainer(this.graph).children.length > 1; + } + + isVariant(sequenceFeature): boolean { + if (!sequenceFeature || !sequenceFeature.isSequenceFeatureGlyph()) { + return false; + } + let combinatorial = this.getCombinatorialWithTemplate(sequenceFeature.getParent().value); + if (!combinatorial) + return false; + return combinatorial.getVariableComponentInfo(sequenceFeature.getId()); + } + + /** + * Given the interaction type, checks the selected cells source and target to see if it's allowed. + * @param interactionType + * @returns + */ + isInteractionTypeAllowed(interactionType: string): boolean { + let selected = this.graph.getSelectionCells(); + if (selected.length > 1 || selected.length == 0 || (!selected[0].isInteraction() && !selected[0].isInteractionNode)) { + return false; + } + + if (selected[0].isInteraction()) { + let result = this.validateInteraction(interactionType, selected[0].source, selected[0].target); + if (result == null || result == '') { + return true; + }else{ + return false; + } + } + + if (selected[0].isInteractionNode()) { + return interactionType == "Biochemical Reaction" || interactionType == "Dissociation" || interactionType == "Genetic Production" || interactionType == "Non-Covalent Binding"; + } + + return false; + } + + isSelectedTargetEdge(): boolean{ + let selected = this.graph.getSelectionCells(); + if(selected.lengh > 1 || selected.length == 0 || !selected[0].isInteraction()){ + return false; + } + + return selected[0].target == null || !selected[0].target.isInteractionNode(); + } + + isSelectedSourceEdge(): boolean{ + let selected = this.graph.getSelectionCells(); + if(selected.lengh > 1 || selected.length == 0 || !selected[0].isInteraction()){ + return false; + } + + return selected[0].source == null || !selected[0].source.isInteractionNode(); + } + + /** + * Recursively checks that all leaf children have sequences + * @param sequenceFeature A cell representing a sequence feature + */ + hasSequence(sequenceFeature): boolean { + if (!sequenceFeature || !sequenceFeature.isSequenceFeatureGlyph()) { + return false; + } + // check if the child view has more than just a backbone + let circuitContainer = sequenceFeature.getCircuitContainer(this.graph); + if (circuitContainer.children.length > 1) { + for (let child of circuitContainer.children) { + if (child.isSequenceFeatureGlyph() && !this.hasSequence(child)) { + return false; + } + } + return true; + } + // no children? we must be a leaf node, check for a sequence + let glyphInfo = (this.getFromInfoDict(sequenceFeature.getValue())); + if (!glyphInfo || !glyphInfo.sequence || glyphInfo.sequence.length <= 0) { + return false; + } + return true; + } + + /** + * Forces the graph to redraw + */ + repaint() { + this.graph.refresh(); + } + + getSelectedCellID(): string { + let selected = this.graph.getSelectionCells(); + if (selected.length != 1) { + return null; + } + return selected[0].getId(); + } + + /** + * This method is called by the UI when the user turns scars on + * or off. + */ + toggleScars() { + // Toggle showing scars + if (this.showingScars) { + this.showingScars = false; + } else { this.showingScars = true; } + + // We hide scar glyphs by setting their widths to 0. + console.debug("showing scars now equals " + this.showingScars); + this.setAllScars(this.showingScars); + } + + /** + * Sets all scars in the current view + * @param isCollapsed + */ + setAllScars(isCollapsed: boolean) { + this.graph.getModel().beginUpdate(); + try { + let allGraphCells = this.graph.getDefaultParent().children; + for (let i = 0; i < allGraphCells.length; i++) { + if (allGraphCells[i].isCircuitContainer()) { + this.setScars(allGraphCells[i], this.showingScars); + } + } + } finally { + this.graph.getModel().endUpdate(); + } + } + + /** + * Changes all scars in a circuit container. + * @param circuitContainer + * @param isCollapsed + */ + setScars(circuitContainer, isCollapsed: boolean) { + let children = circuitContainer.children; + for (let i = 0; i < children.length; i++) { + if (children[i].isScar()) { + console.debug("scar found"); + let child = children[i]; + const geo = new mx.mxGeometry(0, 0, 0, 0); + geo.x = 0; + geo.y = 0; + geo.height = GraphBase.sequenceFeatureGlyphHeight; + + if (this.showingScars) { + geo.width = GraphBase.sequenceFeatureGlyphWidth; + } else { + geo.width = 0; + } + this.graph.getModel().setGeometry(child, geo); + } + } + circuitContainer.refreshCircuitContainer(this.graph) + } + + /** + * This method is called by the UI when the user asks to flip a + * sequence feature glyph. + * It swaps direction east/west. + */ + async flipSequenceFeatureGlyph() { + let selectionCells = this.graph.getSelectionCells(); + + // flip any selected glyphs + let parentInfos = new Set(); + for (let cell of selectionCells) { + if (cell.isSequenceFeatureGlyph()) { + // add the item to check ownership + parentInfos.add(this.getParentInfo(cell)); + } + } + for (let parentInfo of Array.from(parentInfos.values())) { + if (parentInfo.uriPrefix != environment.baseURI && !await this.promptMakeEditableCopy(parentInfo.displayID)) { + return; + } + } + + try { + this.graph.getModel().beginUpdate(); + + for (let cell of selectionCells) { + if (cell.isSequenceFeatureGlyph()) { + + // Make the cell face east/west + let direction = this.graph.getCellStyle(cell)[mx.mxConstants.STYLE_DIRECTION]; + console.debug("current glyph direction setting = " + direction); + + if (direction == undefined) { + console.warn("direction style undefined. Assuming east, and turning to west"); + this.graph.setCellStyles(mx.mxConstants.STYLE_DIRECTION, "west", [cell]); + } else if (direction === "east") { + this.graph.setCellStyles(mx.mxConstants.STYLE_DIRECTION, "west", [cell]); + console.debug("turning west"); + } else if (direction == "west") { + this.graph.setCellStyles(mx.mxConstants.STYLE_DIRECTION, "east", [cell]); + console.debug("turning east"); + } + } else if (cell.isInteraction()) { + this.flipInteractionEdge(cell); + }else if (cell.isInteractionNode()){ + let edges = this.graph.getModel().getEdges(cell); + for(let edge of edges){ + this.flipInteractionEdge(edge); + } + } + } + + // sync circuit containers + let circuitContainers = []; + for (let cell of selectionCells) { + if (cell.isSequenceFeatureGlyph()) { + this.syncCircuitContainer(cell.getParent()); + } + } + + for (let parentInfo of Array.from(parentInfos.values())) { + // change the owner + this.changeOwnership(parentInfo.getFullURI()); + } + + } finally { + this.graph.getModel().endUpdate(); + } + } + + /** + * "Drills in" to replace the canvas with the selected glyph's component/module view + */ + enterGlyph() { + let selection = this.graph.getSelectionCells(); + if (selection.length != 1) { + return; + } + + if (!selection[0].isSequenceFeatureGlyph() && !selection[0].isModule()) { + return; + } + + this.graph.getModel().beginUpdate(); + try { + let viewCell = this.graph.getModel().getCell(selection[0].getValue()); + // doing this in the graph edit breaks things in the undo, so we put it here + viewCell.refreshViewCell(this.graph); + let zoomEdit = new GraphEdits.zoomEdit(this.graph.getView(), selection[0], this); + this.graph.getModel().execute(zoomEdit); + } finally { + this.graph.getModel().endUpdate(); + } + } + + /** + * Moves up the drilling hierarchy, restoring the canvas to how it was before "Drilling in" + * (If "enterGlyph" has not been called, ie the canvas is already + * at the top of the drilling hierarchy, does nothing) + */ + exitGlyph() { + // the root view should always be left on the viewStack + if (this.viewStack.length > 1) { + let zoomEdit = new GraphEdits.zoomEdit(this.graph.getView(), null, this); + this.graph.getModel().execute(zoomEdit); + } + } + + /** + * Turns the given element into a dragsource for creating empty DNA strands + */ + makeBackboneDragsource(element) { + const insertGlyph = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { + this.addBackboneAt(x - GraphBase.sequenceFeatureGlyphWidth / 2, y - GraphBase.sequenceFeatureGlyphHeight / 2); + }); + + this.makeGeneralDragsource(element, insertGlyph); + } + + /** + * Creates an empty DNA strand at the center of the current view + */ + addBackbone() { + const pt = this.getDefaultNewCellCoords(); + this.addBackboneAt(pt.x, pt.y); + } + + /** + * Creates an empty DNA strand at the given coordinates + */ + addBackboneAt(x, y) { + this.graph.getModel().beginUpdate(); + try { + let glyphInfo; + if (this.graph.getCurrentRoot().isModuleView()) { + glyphInfo = new GlyphInfo(); + super.addToInfoDict(glyphInfo); + } else { + glyphInfo = this.getFromInfoDict(this.graph.getCurrentRoot().getId()); + } + const circuitContainer = this.graph.insertVertex(this.graph.getDefaultParent(), null, glyphInfo.getFullURI(), x, y, GraphBase.sequenceFeatureGlyphWidth, GraphBase.sequenceFeatureGlyphHeight, GraphBase.STYLE_CIRCUIT_CONTAINER); + const backbone = this.graph.insertVertex(circuitContainer, null, '', 0, GraphBase.sequenceFeatureGlyphHeight / 2, GraphBase.sequenceFeatureGlyphWidth, 1, GraphBase.STYLE_BACKBONE); + + backbone.refreshBackbone(this.graph); + + circuitContainer.setConnectable(false); + backbone.setConnectable(false); + + // The new circuit should be selected + this.graph.clearSelection(); + this.graph.setSelectionCell(circuitContainer); + } finally { + this.graph.getModel().endUpdate(); + } + } + + /** + * Returns the
that this graph displays to + */ + getGraphDOM() { + return this.graphContainer; + } + + /** + * Deletes the currently selected cell + */ + async delete() { + const selectedCells = this.graph.getSelectionCells(); + if (selectedCells == null) { + return; + } + + // check for ownership prompt + let containers = new Set(); + if (this.graph.getCurrentRoot()) { + let ownershipPrompt = false; + for (let cell of selectedCells) { + if (cell.isSequenceFeatureGlyph()) { + ownershipPrompt = true; + containers.add(cell.getParent().getValue()); + } + } + for (let container of Array.from(containers.values())) { + let glyphInfo; + if (this.graph.getCurrentRoot().isComponentView()) { + glyphInfo = this.getFromInfoDict(this.graph.getCurrentRoot().getId()); + } else { + glyphInfo = this.getFromInfoDict(container); + } + if (ownershipPrompt && glyphInfo.uriPrefix != environment.baseURI && !await this.promptMakeEditableCopy(glyphInfo.displayID)) { + return; + } + } + } + + this.graph.getModel().beginUpdate(); + try { + let circuitContainers = []; + for (let cell of selectedCells) { + if (cell.isSequenceFeatureGlyph()) { + circuitContainers.push(cell.getParent()); + + // if it's a sequence feature and it has a combinatorial, remove the variable component + if (cell.isSequenceFeatureGlyph()) { + let combinatorial = this.getCombinatorialWithTemplate(cell.getParent().getValue()); + // TODO make this undoable + if (combinatorial) + combinatorial.removeVariableComponentInfo(cell.getId()); + } + } else if (cell.isCircuitContainer() && this.graph.getCurrentRoot() && this.graph.getCurrentRoot().isComponentView()) + circuitContainers.push(cell); + } + + // If we are not at the top level, we need to check + // for a corner case where we can't allow the backbone + // to be deleted + if (this.graph.getCurrentRoot() != null && this.graph.getCurrentRoot().isComponentView()) { + let newSelection = []; + for (let cell of selectedCells) { + // Anything other than the backbone gets added to + // the revised selection + if (!(cell.isBackbone() || cell.isCircuitContainer())) { + newSelection.push(cell); + } else { + let circuitContainer; + if (cell.isBackbone()) { + circuitContainer = cell.getParent(); + } else if (cell.isCircuitContainer()) { + circuitContainer = cell; + } + + // If we find a backbone is selected, add all it's children + if (circuitContainer.children) { + for (let child of circuitContainer.children) { + if (!child.isBackbone()) { + newSelection.push(child); + } + } + } + } + } + this.graph.setSelectionCells(newSelection); + } + + + + // remove interactions with modules if the item it connects to is being removed + for (let selectedCell of selectedCells) { + if (selectedCell.isCircuitContainer() || selectedCell.isMolecularSpeciesGlyph()) { + this.updateInteractions(selectedCell.getValue() + "_" + selectedCell.getId(), null); + } + } + + this.editor.execute('delete'); + + this.trimUnreferencedCells(); + this.trimUnreferencedCombinatorials(); + this.trimUnreferencedInfos(); + + // sync circuit containers + for (let circuitContainer of circuitContainers) { + this.syncCircuitContainer(circuitContainer); + } + + // obtain ownership + for (let container of Array.from(containers)) { + this.changeOwnership(container); + } + + for (let cell of circuitContainers) { + cell.refreshCircuitContainer(this.graph); + } + } finally { + this.graph.getModel().endUpdate(); + } + } + + /** + * Undoes the most recent changes + */ + undo() { + // (un/re)doing is managed by the editor; it only works + // if all changes are encapsulated by graphModel.(begin/end)Update + + // clearing the selection avoids a lot of exceptions from mxgraph code for some reason. + this.graph.clearSelection(); + this.editor.execute('undo'); + + //console.log(this.editor.undoManager); + + // If the undo caused scars to become visible, we should update + this.showingScars = this.getScarsVisible(); + + // refresh to update cell labels + if (this.graph.getCurrentRoot()) { + this.graph.refresh(this.graph.getCurrentRoot()); + } + + // selections after an undo break things if annother undo/redo happens + this.filterSelectionCells(); + } + + /** + * Redoes the most recent changes + */ + redo() { + //console.log(this.editor.undoManager); + + this.graph.clearSelection(); + this.editor.execute('redo'); + + // If the undo caused scars to become visible, we should update + this.showingScars = this.getScarsVisible(); + + // refresh to update cell labels + if (this.graph.getCurrentRoot()) { + this.graph.refresh(this.graph.getCurrentRoot()); + } + + // selections after an undo break things if annother undo/redo happens + this.filterSelectionCells(); + } + + zoomIn() { + this.graph.zoomIn(); + } + + zoomOut() { + this.graph.zoomOut(); + } + + setZoom(scale: number) { + this.graph.zoomTo(scale); + } + + getZoom(): number { + return this.graph.getView().getScale(); + } + + sendSelectionToFront() { + this.graph.orderCells(false) + } + + sendSelectionToBack() { + this.graph.orderCells(true) + } + + fitCamera() { + // graph.fit() does most of the work. however by default it will zoom in far too much. + // Instead, it makes sense to stay at the user's zoom level unless it is too small to + // contain everything. + let currentScale = this.graph.getView().getScale(); + this.graph.maxFitScale = currentScale; + this.graph.fit(); + + // if the user had it widely zoomed out, however, stupidly graph.fit() + // doesn't center the view on cells. It puts them in the top left. + this.graph.center(); + } + + + + /** + * Turns the given element into a dragsource for creating + * sequenceFeatureGlyphs of the type specified by 'stylename.' + */ + makeSequenceFeatureDragsource(element, stylename) { + const insertGlyph = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { + this.addSequenceFeatureAt(stylename, x - GraphBase.sequenceFeatureGlyphWidth / 2, y - GraphBase.sequenceFeatureGlyphHeight / 2); + }); + this.makeGeneralDragsource(element, insertGlyph); + } + + /** + * Adds a sequenceFeatureGlyph. + * The new glyph's location is based off the user's selection. + */ + addSequenceFeature(name) { + this.graph.getModel().beginUpdate(); + try { + if (!this.atLeastOneCircuitContainerInGraph()) { + // if there is no strand, quietly make one + // stupid user + this.addBackbone(); + // this changes the selection, so the rest of this method works fine + } + + // let the graph choose an arbitrary cell from the selection, + // we'll pretend it's the only one selected + const selection = this.graph.getSelectionCell(); + + // if selection is nonexistent, or is not part of a strand, there is no suitable place. + if (!selection || !(selection.isSequenceFeatureGlyph() || selection.isCircuitContainer())) { + return; + } + + const circuitContainer = selection.isCircuitContainer() ? selection : selection.getParent(); + + // use y coord of the strand + let y = circuitContainer.getGeometry().y; + + // x depends on the exact selection + let x; + if (selection.isCircuitContainer()) { + x = selection.getGeometry().x + selection.getGeometry().width; + } else { + x = circuitContainer.getGeometry().x + selection.getGeometry().x + 1; + } + + // Add it + this.addSequenceFeatureAt(name, x, y, circuitContainer); + } finally { + this.graph.getModel().endUpdate(); + } + } + + /** + * Adds a sequenceFeatureGlyph. + * + * circuitContainer (optional) specifies the strand to add to. + * If not specified, it is inferred by x,y. + * + * x,y are also used to determine where on the strand the new + * glyph is added (first, second, etc) + */ + async addSequenceFeatureAt(name, x, y, circuitContainer?) { + + // ownership change check + if (this.graph.getCurrentRoot()) { + let glyphInfo; + if (this.graph.getCurrentRoot().isComponentView()) { + // normal case + glyphInfo = this.getFromInfoDict(this.graph.getCurrentRoot().getId()); + } else if (this.atLeastOneCircuitContainerInGraph()) { + // edge case that we're adding to a container in a module view + if (!circuitContainer) { + circuitContainer = this.getClosestCircuitContainerToPoint(x, y); + } + glyphInfo = this.getFromInfoDict(circuitContainer.getValue()); + } + if (glyphInfo && glyphInfo.uriPrefix != environment.baseURI && !await this.promptMakeEditableCopy(glyphInfo.displayID)) { + return; + } + } + + this.graph.getModel().beginUpdate(); + try { + // Make sure scars are/become visible if we're adding one + if (name.includes(GraphBase.STYLE_SCAR) && !this.showingScars) { + this.toggleScars(); + } + + if (!this.atLeastOneCircuitContainerInGraph()) { + // if there is no strand, quietly make one + this.addBackboneAt(x, y); + } + + if (!circuitContainer) { + circuitContainer = this.getClosestCircuitContainerToPoint(x, y); + } + + // transform coords to be relative to parent + x = x - circuitContainer.getGeometry().x; + y = y - circuitContainer.getGeometry().y; + + // create the glyph info and add it to the dictionary + const glyphInfo = new GlyphInfo(); + glyphInfo.partRole = name; + this.addToInfoDict(glyphInfo); + + // Insert new glyph and its components + const sequenceFeatureCell = this.graph.insertVertex(circuitContainer, null, glyphInfo.getFullURI(), x, y, GraphBase.sequenceFeatureGlyphWidth, GraphBase.sequenceFeatureGlyphHeight, GraphBase.STYLE_SEQUENCE_FEATURE + name); + + this.createViewCell(glyphInfo.getFullURI()); + sequenceFeatureCell.setConnectable(true); + + // Sorts the new SequenceFeature into the correct position in parent's array + this.horizontalSortBasedOnPosition(circuitContainer); + + // The new glyph should be selected + this.graph.clearSelection(); + this.graph.setSelectionCell(sequenceFeatureCell); + + // perform the ownership change + if (this.graph.getCurrentRoot()) { + let glyphInfo; + if (this.graph.getCurrentRoot().isComponentView()) { + // normal case + glyphInfo = this.getFromInfoDict(this.graph.getCurrentRoot().getId()); + } else { + // edge case that we're adding to a container in a module view + glyphInfo = this.getFromInfoDict(circuitContainer.getValue()); + } + if (glyphInfo.uriPrefix != environment.baseURI) { + this.changeOwnership(glyphInfo.getFullURI()); + } + } + + // synchronize circuit containers + this.syncCircuitContainer(circuitContainer); + } finally { + this.graph.getModel().endUpdate(); + } + } + + /** + * Turns the given element into a dragsource for creating molecular species glyphs + */ + makeMolecularSpeciesDragsource(element, stylename) { + const insertGlyph = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { + this.addMolecularSpeciesAt(stylename, x - GraphBase.molecularSpeciesGlyphWidth / 2, y - GraphBase.molecularSpeciesGlyphHeight / 2); + }); + this.makeGeneralDragsource(element, insertGlyph); + } + + /** + * Creates a molecular species glyph of the given type at the center of the current view + */ + addMolecularSpecies(name) { + const pt = this.getDefaultNewCellCoords(); + this.addMolecularSpeciesAt(name, pt.x, pt.y); + } + + /** + * Creates a molecular species glyph of the given type at the given location + */ + addMolecularSpeciesAt(name, x, y) { + this.graph.getModel().beginUpdate(); + try { + + //TODO partRoles for proteins + let proteinInfo = new GlyphInfo(); + proteinInfo.partType = this.moleculeNameToType(name); + this.addToInfoDict(proteinInfo); + + const molecularSpeciesGlyph = this.graph.insertVertex(this.graph.getDefaultParent(), null, proteinInfo.getFullURI(), x, y, + GraphBase.molecularSpeciesGlyphWidth, GraphBase.molecularSpeciesGlyphHeight, GraphBase.STYLE_MOLECULAR_SPECIES + name); + molecularSpeciesGlyph.setConnectable(true); + + // The new glyph should be selected + this.graph.clearSelection(); + this.graph.setSelectionCell(molecularSpeciesGlyph); + } finally { + this.graph.getModel().endUpdate(); + } + + console.log(this.graph.getModel().cells); + } + + makeInteractionNodeDragsource(element, stylename) { + const insertGlyph = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { + this.addInteractionNodeAt(stylename, x - GraphBase.interactionNodeGlyphWidth / 2, y - GraphBase.interactionNodeGlyphHeight / 2); + }); + this.makeGeneralDragsource(element, insertGlyph); + } + + addInteractionNode(name) { + const pt = this.getDefaultNewCellCoords(); + this.addInteractionNodeAt(name, pt.x, pt.y); + } + + addInteractionNodeAt(name: string, x, y) { + this.graph.getModel().beginUpdate(); + try { + let interactionInfo = new InteractionInfo(); + const interactionNodeGlyph = this.graph.insertVertex(this.graph.getDefaultParent(), null, interactionInfo.getFullURI(), x, y, + GraphBase.interactionNodeGlyphWidth, GraphBase.interactionNodeGlyphHeight, GraphBase.STYLE_INTERACTION_NODE + name); + interactionInfo.interactionType = this.interactionNodeNametoType(name); + this.addToInteractionDict(interactionInfo); + interactionNodeGlyph.setConnectable(true); + + // The new glyph should be selected + this.graph.clearSelection(); + this.graph.setSelectionCell(interactionNodeGlyph); + } finally { + this.graph.getModel().endUpdate(); + } + } + + /** + * Turns the given HTML element into a dragsource for creating interaction glyphs + */ + makeInteractionDragsource(element, stylename) { + const insertGlyph = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { + this.addInteractionAt(stylename, x - GraphBase.defaultInteractionSize / 2, y - GraphBase.defaultInteractionSize / 2); + }); + this.makeGeneralDragsource(element, insertGlyph); + } + + /** + * Creates an interaction edge of the given type at the center of the current view + */ + addInteraction(name) { + const selectionCells = this.graph.getSelectionCells(); + if (selectionCells.length > 0 && selectionCells.length < 3) { + let selectedCell = selectionCells[0]; + const selectedParent = selectedCell.getParent(); + if (selectedParent.geometry && !selectedParent.isViewCell()) { + this.addInteractionAt(name, selectedParent.geometry.x + selectedCell.geometry.x + (selectedCell.geometry.width / 2), + selectedParent.geometry.y); + } else { + this.addInteractionAt(name, selectedCell.geometry.x + (selectedCell.geometry.width / 2), + selectedCell.geometry.y); + } + } else { + const pt = this.getDefaultNewCellCoords(); + this.addInteractionAt(name, pt.x, pt.y); + } + } + + /** + * Creates an interaction edge of the given type at the given coordiantes + * @param name The name identifying the type of interaction this should be. + * @param x The x coordinate that the interaction should appear at + * @param y The y coordinate that the interaction should appear at + */ + async addInteractionAt(name: string, x, y) { + let cell; + + this.graph.getModel().beginUpdate(); + try { + let addToDictionary = true; + let interactionInfo = new InteractionInfo(); + cell = new mx.mxCell(interactionInfo.getFullURI(), new mx.mxGeometry(x, y, 0, 0), GraphBase.STYLE_INTERACTION + name); + + const selectionCells = this.graph.getSelectionCells(); + if (selectionCells.length == 1) { + + // one cell is selected, set the edges source + const selectedCell = this.graph.getSelectionCell(); + // check for any restrictions on valid edges + let error = this.graph.getEdgeValidationError(cell, selectedCell, null); + if (error) { + this.showError(error); + return; + } + if (selectedCell.isModule()) { + // if the cell is a module, we need to prompt what subpart we want to connect to + let result = await this.promptChooseFunctionalComponent(selectedCell, true); + if (!result) + return; + interactionInfo.fromURI[this.graph.getModel().nextId] = result; + } else if (selectedCell.isInteractionNode()) { + // if the source is a interaction node, we want to inherit it's information + cell.value = selectedCell.value; + addToDictionary = false; + interactionInfo = this.getFromInteractionDict(selectedCell.value).makeCopy() + } + cell.geometry.setTerminalPoint(new mx.mxPoint(x, y - GraphBase.defaultInteractionSize), false); + cell.edge = true; + this.graph.addEdge(cell, this.graph.getCurrentRoot(), selectedCell, null); + + } else if (selectionCells.length == 2) { + + // two cells were selected, set the first one as the source, and the second as the target + const sourceCell = selectionCells[0]; + const destCell = selectionCells[1]; + // check for restrictions on the edge + let error = this.graph.getEdgeValidationError(cell, sourceCell, destCell); + if (error) { + this.showError(error); + return; + } + // check source or target are interaction nodes to couple with them before making modifications to the interaction + // don't worry, edge validation rules prevent both from being interaction nodes. + if(sourceCell.isInteractionNode()){ + // inherit the information + cell.value = sourceCell.value; + addToDictionary = false; + interactionInfo = this.getFromInteractionDict(sourceCell.value).makeCopy(); + } + if(destCell.isInteractionNode()){ + // inherit the information + cell.value = destCell.value; + addToDictionary = false; + interactionInfo = this.getFromInteractionDict(destCell.value).makeCopy(); + } + + if (sourceCell.isModule()) { + // prompt for the subpart to keep track of + let result = await this.promptChooseFunctionalComponent(sourceCell, true); + if (!result) + return; + interactionInfo.fromURI[this.graph.getModel().nextId] = result; + } + if (destCell.isModule()) { + // prompt for the subpart to keep track of + let result = await this.promptChooseFunctionalComponent(destCell, false); + if (!result) + return; + interactionInfo.toURI[this.graph.getModel().nextId] = result; + } + cell.edge = true; + this.graph.addEdge(cell, this.graph.getCurrentRoot(), sourceCell, destCell); + + } else { + cell.geometry.setTerminalPoint(new mx.mxPoint(x, y + GraphBase.defaultInteractionSize), true); + cell.geometry.setTerminalPoint(new mx.mxPoint(x + GraphBase.defaultInteractionSize, y), false); + cell.edge = true; + this.graph.addEdge(cell, this.graph.getCurrentRoot(), null, null); + } + + + // Default name for a process interaction + if (name == "Process") { + name = "Genetic Production" + } + + if (addToDictionary) { + interactionInfo.interactionType = name; + this.addToInteractionDict(interactionInfo); + } else { + this.updateInteractionDict(interactionInfo); + this.mutateInteractionGlyph(interactionInfo.interactionType, cell); + } + + // The new glyph should be selected + this.graph.clearSelection(); + this.graph.setSelectionCell(cell); + } finally { + this.graph.getModel().endUpdate(); + } + + return cell; + } + + /** + * Turns the given HTML element into a dragsource for creating textboxes + */ + makeTextboxDragsource(element) { + const insert = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { + this.addTextBoxAt(x - GraphBase.defaultTextWidth / 2, y - GraphBase.defaultTextHeight / 2); + }); + this.makeGeneralDragsource(element, insert); + } + + /** + * Creates a textbox at the center of the current view + */ + addTextBox() { + const pt = this.getDefaultNewCellCoords(); + this.addTextBoxAt(pt.x, pt.y); + } + + /** + * Creates a textbox at the given location + */ + addTextBoxAt(x, y) { + this.graph.getModel().beginUpdate(); + try { + const cell = this.graph.insertVertex(this.graph.getDefaultParent(), null, 'Sample Text', x, y, GraphBase.defaultTextWidth, GraphBase.defaultTextHeight, GraphBase.STYLE_TEXTBOX); + cell.setConnectable(false); + + // The new cell should be selected + this.graph.clearSelection(); + this.graph.setSelectionCell(cell); + } finally { + this.graph.getModel().endUpdate(); + } + } + + makeModuleDragsource(element) { + const insert = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { + this.addModuleAt(x - GraphBase.defaultModuleWidth / 2, y - GraphBase.defaultModuleHeight / 2); + }); + this.makeGeneralDragsource(element, insert); + } + + addModule() { + const pt = this.getDefaultNewCellCoords(); + this.addModuleAt(pt.x, pt.y); + } + + addModuleAt(x, y) { + this.graph.getModel().beginUpdate(); + try { + let moduleInfo = new ModuleInfo(); + this.addToInfoDict(moduleInfo); + + const moduleCell = this.graph.insertVertex(this.graph.getDefaultParent(), null, moduleInfo.getFullURI(), x, y, GraphBase.defaultModuleWidth, GraphBase.defaultModuleHeight, GraphBase.STYLE_MODULE); + moduleCell.setConnectable(true); + + this.createViewCell(moduleInfo.getFullURI(), true); + + this.graph.clearSelection(); + this.graph.setSelectionCell(moduleCell); + } finally { + this.graph.getModel().endUpdate(); + } + } + + /** + * Find the selected cell, and if there is a glyph selected, update its metadata. + */ + async setSelectedCellInfo(info: Info) { + const selectedCell = this.graph.getSelectionCell(); + + this.graph.getModel().beginUpdate(); + try { + // figure out which type of info object it is + if (info instanceof ModuleInfo && (!selectedCell || selectedCell.isModule())) { + this.updateSelectedModuleInfo(info); + return; + } + + if (info instanceof GlyphInfo && (!selectedCell || selectedCell.isSequenceFeatureGlyph() || selectedCell.isCircuitContainer() || selectedCell.isMolecularSpeciesGlyph())) { + if (!selectedCell || !selectedCell.isMolecularSpeciesGlyph()) { + // The logic for updating the glyphs was getting a bit big, so I moved it into it's own method + this.updateSelectedGlyphInfo(info); + } else { + this.updateSelectedMolecularSpecies(info); + } + return; + } + + if (info instanceof InteractionInfo && (selectedCell.isInteraction() || selectedCell.isInteractionNode())) { + this.updateSelectedInteractionInfo(info); + } + + } finally { + this.graph.getModel().endUpdate(); + this.graph.refresh(selectedCell); + //this.updateAngularMetadata(this.graph.getSelectionCells()); + } + } + + /** + * Sets the combinatorial info associated to the selected cell + * @param info + * @param prevURI + */ + setSelectedCombinatorialInfo(info: CombinatorialInfo, prevURI?: string) { + const selectedCell = this.graph.getSelectionCell(); + + this.graph.getModel().beginUpdate(); + try { + if (info instanceof CombinatorialInfo && selectedCell.isSequenceFeatureGlyph()) { + if (!prevURI) { + prevURI = info.getFullURI(); + } + this.updateSelectedCombinatorialInfo(info, prevURI); + } + } finally { + this.graph.getModel().endUpdate(); + } + } + + setSelectedCellStyle(styleInfo: StyleInfo) { + this.graph.getModel().beginUpdate(); + try { + let selectedCells = this.graph.getSelectionCells().slice(); + // filter out the circuit containers + for (let i = 0; i < selectedCells.length; i++) { + if (selectedCells[i].isCircuitContainer()) { + selectedCells[i] = selectedCells[i].getBackbone(); + } + } + for (let key in styleInfo.styles) { + this.graph.setCellStyles(key, styleInfo.styles[key], selectedCells); + } + + // sync circuit containers + let circuitContainers = new Set(); + for (let cell of selectedCells) { + if (cell.isSequenceFeatureGlyph() || cell.isBackbone()) { + circuitContainers.add(cell.getParent()); + } + } + for (let circuitContainer of Array.from(circuitContainers.values())) { + this.syncCircuitContainer(circuitContainer); + } + + } finally { + this.graph.getModel().endUpdate(); + } + } + + exportSVG(filename: string) { + var background = '#ffffff'; + var scale = 1; + var border = 1; + + var imgExport = new mx.mxImageExport(); + var bounds = this.graph.getGraphBounds(); + var vs = this.graph.view.scale; + + // Prepares SVG document that holds the output + var svgDoc = mx.mxUtils.createXmlDocument(); + var root = (svgDoc.createElementNS != null) ? + svgDoc.createElementNS(mx.mxConstants.NS_SVG, 'svg') : svgDoc.createElement('svg'); + + if (background != null) { + if (root.style != null) { + root.style.backgroundColor = background; + } else { + root.setAttribute('style', 'background-color:' + background); + } + } + + if (svgDoc.createElementNS == null) { + root.setAttribute('xmlns', mx.mxConstants.NS_SVG); + root.setAttribute('xmlns:xlink', mx.mxConstants.NS_XLINK); + } else { + // KNOWN: Ignored in IE9-11, adds namespace for each image element instead. No workaround. + root.setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:xlink', mx.mxConstants.NS_XLINK); + } + + root.setAttribute('width', (Math.ceil(bounds.width * scale / vs) + 2 * border) + 'px'); + root.setAttribute('height', (Math.ceil(bounds.height * scale / vs) + 2 * border) + 'px'); + root.setAttribute('version', '1.1'); + + // Adds group for anti-aliasing via transform + var group = (svgDoc.createElementNS != null) ? svgDoc.createElementNS(mx.mxConstants.NS_SVG, 'g') : svgDoc.createElement('g'); + group.setAttribute('transform', 'translate(0.5,0.5)'); + root.appendChild(group); + svgDoc.appendChild(root); + + // Renders graph. Offset will be multiplied with state's scale when painting state. + var svgCanvas = new mx.mxSvgCanvas2D(group); + svgCanvas.translate(Math.floor((border / scale - bounds.x) / vs), Math.floor((border / scale - bounds.y) / vs)); + svgCanvas.scale(scale / vs); + + // Displayed if a viewer does not support foreignObjects (which is needed to HTML output) + svgCanvas.foAltText = '[Not supported by viewer]'; + imgExport.drawState(this.graph.getView().getState(this.graph.getCurrentRoot()), svgCanvas); + + var xml = encodeURIComponent(mx.mxUtils.getXml(root)); + new mx.mxXmlRequest(environment.backendURL + '/echo', 'filename=' + filename + '.svg&format=svg' + '&xml=' + xml).simulate(document, '_blank'); + } + + exportImage(filename: string, format: string) { + let bg = '#ffffff'; + let scale = 1; + let b = 1; + + let imgExport = new mx.mxImageExport(); + let bounds = this.graph.getGraphBounds(); + let vs = this.graph.view.scale; + + let xmlDoc = mx.mxUtils.createXmlDocument(); + let root = xmlDoc.createElement('output'); + xmlDoc.appendChild(root); + + let xmlCanvas = new mx.mxXmlCanvas2D(root); + xmlCanvas.translate(Math.floor((b / scale - bounds.x) / vs), Math.floor((b / scale - bounds.y) / vs)); + xmlCanvas.scale(1 / vs); + + imgExport.drawState(this.graph.getView().getState(this.graph.getCurrentRoot()), xmlCanvas); + + let w = Math.ceil(bounds.width * scale / vs + 2 * b); + let h = Math.ceil(bounds.height * scale / vs + 2 * b); + + let xml = mx.mxUtils.getXml(root); + + if (bg != null) { + bg = '&bg=' + bg; + } + + new mx.mxXmlRequest(environment.backendURL + '/export', 'filename=' + filename + '.' + format + '&format=' + format + bg + '&w=' + w + '&h=' + h + '&xml=' + encodeURIComponent(xml)).simulate(document, '_blank'); + } + + /** + * Encodes the current graph to a string (xml) representation + */ + getGraphXML(): string { + const encoder = new mx.mxCodec(); + const result = encoder.encode(this.graph.getModel()); + return mx.mxUtils.getXml(result); + } + + /** + * Decodes the given string (xml) representation of a graph + * and uses it to replace the current graph + */ + setGraphToXML(graphString: string) { + GraphBase.unFormatedCells.clear(); + this.graph.home(); + this.graph.getModel().clear(); + + const doc = mx.mxUtils.parseXml(graphString); + const codec = new mx.mxCodec(doc); + codec.decode(doc.documentElement, this.graph.getModel()); + + // The child of cell 1 that isn't a view cell points to the root view + const cell1 = this.graph.getModel().getCell("1"); + let viewCells = this.graph.getModel().getChildren(cell1); + let rootViewCell; + for (let child of viewCells) { + if (!child.isViewCell()) { + rootViewCell = this.graph.getModel().getCell(child.getValue()); + this.graph.getModel().remove(child); + break; + } + } + this.graph.enterGroup(rootViewCell); + this.viewStack = []; + this.viewStack.push(rootViewCell); + this.selectionStack = []; + + let children = this.graph.getModel().getChildren(this.graph.getDefaultParent()); + if (children) { + children.forEach(element => { + if (element.isCircuitContainer()) + element.refreshCircuitContainer(this.graph); + }); + } + + if (GraphBase.unFormatedCells.size > 0) { + console.log("FORMATTING !!!!!!!!!!!!!!!!"); + this.autoFormat(GraphBase.unFormatedCells); + GraphBase.unFormatedCells.clear(); + } + + this.fitCamera(); + + this.metadataService.setComponentDefinitionMode(this.graph.getCurrentRoot().isComponentView()); + + // top level compDefs may not have cells referencing them, but they still end up with view cells for other reasons + this.trimUnreferencedCells(); + + this.editor.undoManager.clear(); + + this.graph.refresh(); // for some reason unformatted edges don't render correctly the first time without this + } + + /** + * Decodes the given string (xml) representation of a cell + * and uses it ot replace the currently selected cell + * @param cellString + */ + async setSelectedToXML(cellString: string) { + const selectionCells = this.graph.getSelectionCells(); + + if (selectionCells.length == 0 || (selectionCells.length == 1 && (selectionCells[0].isSequenceFeatureGlyph() || selectionCells[0].isCircuitContainer() || selectionCells[0].isModule()))) { + // We're making a new cell to replace the selected one + let selectedCell; + if (selectionCells.length > 0) { + selectedCell = selectionCells[0]; + } else { + // nothing selected means we're replacing the view cell + selectedCell = this.graph.getCurrentRoot(); + } + + this.graph.getModel().beginUpdate(); + try { + let inModuleView = this.graph.getCurrentRoot().isModuleView(); + + // prompt ownership change + let parentInfo = this.getParentInfo(selectedCell); + if (parentInfo && parentInfo.uriPrefix != environment.baseURI && !await this.promptMakeEditableCopy(parentInfo.displayID)) { + return; + } + + // change ownership + if (parentInfo) { + if (selectedCell.isViewCell()) { + this.changeOwnership(parentInfo.getFullURI()); + selectedCell = this.graph.getCurrentRoot(); + } else if (selectedCell.isCircuitContainer() || selectedCell.isModule()) { + let selectedIndex = selectedCell.getParent().getIndex(selectedCell); + this.changeOwnership(parentInfo.getFullURI()); + selectedCell = this.graph.getCurrentRoot().children[selectedIndex]; + } else { + let parentIndex = this.graph.getCurrentRoot().getIndex(selectedCell.getParent()); + let selectedIndex = selectedCell.getParent().getIndex(selectedCell); + this.changeOwnership(parentInfo.getFullURI()); + selectedCell = this.graph.getCurrentRoot().children[parentIndex].children[selectedIndex]; + } + } + + // if we're in a non top level circuit container, module, or view cell zoom out to make things easier + let zoomOut = false; + if (((selectedCell.isCircuitContainer() || selectedCell.isComponentView()) && this.graph.getCurrentRoot().isComponentView() && this.viewStack.length > 1) || + ((selectedCell.isModule() || selectedCell.isModuleView()) && this.viewStack.length > 1)) { + zoomOut = true; + selectedCell = this.selectionStack[this.selectionStack.length - 1]; + this.graph.getModel().execute(new GraphEdits.zoomEdit(this.graph.getView(), null, this)); + } + + // setup the decoding info + const doc = mx.mxUtils.parseXml(cellString); + const codec = new mx.mxCodec(doc); + + // store the information in a temp graph for easy access + const subGraph = new mx.mxGraph(); + codec.decode(doc.documentElement, subGraph.getModel()); + + // get the new cell + let newCell = subGraph.getModel().cloneCell(subGraph.getModel().getCell("1").children[0]); + + // not part of a module or a top level component definition + let origParent; + if (selectedCell.isSequenceFeatureGlyph()) { + // store old cell's parent + origParent = selectedCell.getParent(); + + // generated cells don't have a proper geometry + newCell.setStyle(selectedCell.getStyle()); + this.graph.getModel().setGeometry(newCell, selectedCell.geometry); + + // add new cell to the graph + this.graph.getModel().add(origParent, newCell, origParent.getIndex(selectedCell)); + + // remove the old cell's view cell if it doesn't have any references + if (this.getCoupledGlyphs(selectedCell.value).length < 2) { + this.removeViewCell(this.graph.getModel().getCell(selectedCell.value)); + } + + // remove the old cell + this.graph.getModel().remove(selectedCell); + + // move any edges from selectedCell to newCell + if (selectedCell.edges != null) { + let edgeCache = []; + selectedCell.edges.forEach(edge => { + edgeCache.push(edge); + }); + + edgeCache.forEach(edge => { + if (edge.source == selectedCell) { + this.graph.getModel().setTerminal(edge, newCell, true); + } + if (edge.target == selectedCell) { + this.graph.getModel().setTerminal(edge, newCell, false); + } + }); + } + } else if (selectedCell.isModule()) { + // store old cell's parent + origParent = selectedCell.getParent(); + + // generated cells don't have a proper geometry + newCell.setStyle(selectedCell.getStyle()); + this.graph.getModel().setGeometry(newCell, selectedCell.geometry); + + // add new cell to the graph + this.graph.getModel().add(origParent, newCell, origParent.getIndex(selectedCell)); + + // remove the old cell's view cell if it doesn't have any references + if (this.getCoupledModules(selectedCell.value).length < 2) { + this.removeViewCell(this.graph.getModel().getCell(selectedCell.value)); + } + + // remove the old cell + this.graph.getModel().remove(selectedCell); + } + + // Now create all children of the new cell + let viewCells = subGraph.getModel().getCell("1").children; + let subGlyphDict = subGraph.getModel().getCell("0").getValue(); + let cell1 = this.graph.getModel().getCell("1"); + for (let i = 1; i < viewCells.length; i++) { // start at cell 1 because the glyph is at 0 + // If we already have it skip it + if (this.graph.getModel().getCell(viewCells[i].getId())) { + continue; + } + + // clone the cell otherwise viewCells get's messed up + let viewClone = subGraph.getModel().cloneCell(viewCells[i]); + // cloning doesn't keep the id for some reason + viewClone.id = viewCells[i].id; + + // add the cell to the graph + this.graph.addCell(viewClone, cell1); + + // add the info to the dictionary + if (this.getFromInfoDict(viewCells[i].getId()) != null) { + this.removeFromInfoDict(viewCells[i].getId()); + } + this.addToInfoDict(subGlyphDict[GraphBase.INFO_DICT_INDEX][viewCells[i].getId()]); + + // add any molecular species or interactions to the info dict + for(let child of viewClone.children){ + if(child.isMolecularSpeciesGlyph()){ + if(this.getFromInfoDict(child.value) != null){ + this.removeFromInfoDict(child.value); + } + this.addToInfoDict(subGlyphDict[GraphBase.INFO_DICT_INDEX][child.value]); + }else if(child.isInteractionNode()){ + if(this.getFromInteractionDict(child.value) != null){ + this.removeFromInteractionDict(child.value); + } + this.addToInteractionDict(subGlyphDict[GraphBase.INTERACTION_DICT_INDEX][child.value]); + }else if(child.isInteraction()){ + // if either end is an interaction node, we don't need to bother + if((child.source && child.source.isInteractionNode()) || (child.target && child.target.isInteractionNode())){ + continue; + } + if(this.getFromInteractionDict(child.value) != null){ + this.removeFromInteractionDict(child.value); + } + this.addToInteractionDict(subGlyphDict[GraphBase.INTERACTION_DICT_INDEX][child.value]); + } + } + } + + // relink the interactions now that their ID's have likely changed + for(let i = 1; i < viewCells.length; i++){ + let viewClone = this.graph.getModel().getCell(viewCells[i].getId()); + for(let j = 0; j < viewClone.children.length; j++){ + // for now it seems that cloning the cell keeps the child order in tact + let child = viewClone.children[j]; + let originalChild = viewCells[i].children[j]; + if(child.isInteractionNode()){ + // copy to new dict as new id's may conflict with old + let newTo = [] + let newFrom = [] + let newSource = [] + let newTarget = [] + let infoCopy = this.getFromInteractionDict(child.value).makeCopy(); + for(let k = 0; k < child.edges.length; k++){ + let edge = child.edges[k]; + let originalEdge = originalChild.edges[k]; + if(infoCopy.toURI[originalEdge.getId()]){ + // find the original cell + let cellRef = infoCopy.toURI[originalEdge.getId()]; + let oldCell = subGraph.getModel().getCell(cellRef.substring(cellRef.lastIndexOf("_")+1)); + let oldParentView = oldCell.getParent(); + let newParentView = this.graph.getModel().getCell(oldParentView.getId()); + // replace with the new id + newTo[edge.getId()] = cellRef.substring(0,cellRef.lastIndexOf("_")+1)+newParentView.children[oldParentView.getIndex(oldCell)].getId(); + } + if(infoCopy.fromURI[originalEdge.getId()]){ + // find the original cell + let cellRef = infoCopy.fromURI[originalEdge.getId()]; + let oldCell = subGraph.getModel().getCell(cellRef.substring(cellRef.lastIndexOf("_")+1)); + let oldParentView = oldCell.getParent(); + let newParentView = this.graph.getModel().getCell(oldParentView.getId()); + // replace with the new id + newFrom[edge.getId()] = cellRef.substring(0,cellRef.lastIndexOf("_")+1)+newParentView.children[oldParentView.getIndex(oldCell)].getId(); + } + if(infoCopy.sourceRefinement[originalEdge.getId()]){ + newSource[edge.getId()] = infoCopy.sourceRefinement[originalEdge.getId()]; + } + if(infoCopy.targetRefinement[originalEdge.getId()]){ + newTarget[edge.getId()] = infoCopy.targetRefinement[originalEdge.getId()]; + } + } + infoCopy.toURI = newTo; + infoCopy.fromURI = newFrom; + infoCopy.sourceRefinement = newSource; + infoCopy.targetRefinement = newTarget; + this.updateInteractionDict(infoCopy); + } + if(child.isInteraction()){ + // skip edges connected to interaction nodes + if((child.source && child.source.isInteractionNode()) || (child.target && child.target.isInteractionNode())){ + continue; + } + let infoCopy = this.getFromInteractionDict(child.value).makeCopy(); + if(infoCopy.fromURI[originalChild.getId()]){ + let cellRef = infoCopy.fromURI[originalChild.getId()]; + delete infoCopy.fromURI[originalChild.getId()]; + let oldCell = subGraph.getModel().getCell(cellRef.substring(cellRef.lastIndexOf("_")+1)); + let oldParentView = oldCell.getParent(); + let newParentView = this.graph.getModel().getCell(oldParentView.getId()); + infoCopy.fromURI[child.getId()] = cellRef.substring(0,cellRef.lastIndexOf("_")+1)+newParentView.children[oldParentView.getIndex(oldCell)].getId();; + } + if(infoCopy.toURI[originalChild.getId()]){ + let cellRef = infoCopy.toURI[originalChild.getId()]; + delete infoCopy.toURI[originalChild.getId()]; + let oldCell = subGraph.getModel().getCell(cellRef.substring(cellRef.lastIndexOf("_")+1)); + let oldParentView = oldCell.getParent(); + let newParentView = this.graph.getModel().getCell(oldParentView.getId()); + infoCopy.toURI[child.getId()] = cellRef.substring(0,cellRef.lastIndexOf("_")+1)+newParentView.children[oldParentView.getIndex(oldCell)].getId();; + } + if(infoCopy.sourceRefinement[originalChild.getId()]){ + let value = infoCopy.sourceRefinement[originalChild.getId()]; + delete infoCopy.sourceRefinement[originalChild.getId()]; + infoCopy.sourceRefinement[child.getId()] = value; + } + if(infoCopy.targetRefinement[originalChild.getId()]){ + let value = infoCopy.targetRefinement[originalChild.getId()]; + delete infoCopy.targetRefinement[originalChild.getId()]; + infoCopy.targetRefinement[child.getId()] = value; + } + this.updateInteractionDict(infoCopy); + } + } + } + + if (selectedCell.isSequenceFeatureGlyph()) { + origParent.refreshCircuitContainer(this.graph); + this.graph.setSelectionCell(newCell); + this.mutateSequenceFeatureGlyph((this.getFromInfoDict(newCell.value)).partRole); + } + + // if we zoomed out zoom back in + if (zoomOut) { + if (selectedCell.isSequenceFeatureGlyph()) { + // if the selected cell is a sequenceFeature that means we came from a sub view + this.graph.getModel().execute(new GraphEdits.zoomEdit(this.graph.getView(), newCell, this)); + } else { + // if it isn't, that means we are in a module, or at the root + let newRootView = this.graph.getModel().getCell(newCell.getValue()); + let circuitContainer = this.graph.getModel().filterCells(newRootView.children, cell => cell.isCircuitContainer())[0]; + if (inModuleView) { + // get the circuit container so we can replace our current one + this.graph.getModel().setGeometry(circuitContainer, selectedCell.geometry); + if (this.getCoupledGlyphs(newRootView.getId()).length < 1) + // we don't need the root view if nothing references it, we only need it's circuit container + this.graph.getModel().remove(newRootView); + circuitContainer = this.graph.getModel().add(selectedCell.getParent(), circuitContainer); + this.graph.getModel().remove(selectedCell); + circuitContainer.refreshCircuitContainer(this.graph); + } else { + // at the root, just zoom back in + this.graph.getModel().execute(new GraphEdits.zoomEdit(this.graph.getView(), newRootView, this)); + circuitContainer.refreshCircuitContainer(this.graph); + } + } + } + + // root cells won't be zoomed out, so just zoom into the correct one, and remove the old one + if (selectedCell.isViewCell()) { + let newViewId = newCell.getValue(); + const newView = this.graph.getModel().getCell(newViewId); + this.graph.getModel().execute(new GraphEdits.zoomEdit(this.graph.getView(), null, this)); + this.graph.getModel().execute(new GraphEdits.zoomEdit(this.graph.getView(), newView, this)); + this.removeViewCell(selectedCell); + } + + // top level circuit containers need to be synced to get the changes before the trim + if (selectedCell.isCircuitContainer()) { + let previousReference = selectedCell.getValue() + "_" + selectedCell.getId(); + let selectedParent = selectedCell.getParent(); + let selectedIndex = selectedParent.getIndex(selectedCell); + this.graph.getModel().setValue(selectedCell, newCell.getValue()); + const viewCell = this.graph.getModel().getCell(newCell.getValue()); + if (viewCell.children) { + for (let viewChild of viewCell.children) { + if (viewChild.isCircuitContainer()) { + this.syncCircuitContainer(viewChild); + break; + } + } + } + selectedCell = selectedParent.children[selectedIndex]; + this.updateInteractions(previousReference, newCell.getValue() + "_" + selectedCell.getId()); + } + + if (GraphBase.unFormatedCells.size > 0) { + console.log("FORMATTING !!!!!!!!!!!!!!!!"); + this.autoFormat(GraphBase.unFormatedCells); + GraphBase.unFormatedCells.clear(); + } + + // sync circuit containers + if (origParent) { + this.syncCircuitContainer(origParent); + } + + this.trimUnreferencedCells(); + } finally { + this.graph.getModel().endUpdate(); + } + } + } + + resetGraph(moduleMode: boolean = true) { + this.graph.home(); + this.graph.getModel().clear(); + + this.viewStack = []; + this.selectionStack = []; + + // initalize the GlyphInfoDictionary + const cell0 = this.graph.getModel().getCell(0); + const infoDict = []; + const combinatorialDict = []; + var dataContainer = []; + dataContainer[GraphBase.INFO_DICT_INDEX] = infoDict; + dataContainer[GraphBase.COMBINATORIAL_DICT_INDEX] = combinatorialDict; + this.graph.getModel().setValue(cell0, dataContainer); + + const cell1 = this.graph.getModel().getCell(1); + let rootViewCell; + + // initalize the root view cell of the graph + if (moduleMode) { + let rootModuleInfo = new ModuleInfo(); + this.addToInfoDict(rootModuleInfo); + rootViewCell = this.graph.insertVertex(cell1, rootModuleInfo.getFullURI(), "", 0, 0, 0, 0, GraphBase.STYLE_MODULE_VIEW); + this.graph.enterGroup(rootViewCell); + this.viewStack.push(rootViewCell); + } else { + let info = new GlyphInfo(); + this.addToInfoDict(info); + rootViewCell = this.graph.insertVertex(cell1, info.getFullURI(), "", 0, 0, 0, 0, GraphBase.STYLE_COMPONENT_VIEW); + this.graph.enterGroup(rootViewCell); + this.viewStack.push(rootViewCell); + this.addBackbone(); + } + + this.metadataService.setComponentDefinitionMode(!moduleMode); + + this.updateAngularMetadata(this.graph.getSelectionCells()); + + this.editor.undoManager.clear(); + } + + /** + * Sets the graph to component definition mode or module mode. + * wrapper for metadataService.setComponentDefinitionMode. + * @param componentMode True if you want to be in component mode, false if module mode. + */ + public setComponentDefinitionMode(componentMode: boolean) { + this.metadataService.setComponentDefinitionMode(componentMode); + } + +} diff --git a/frontend/src/app/home/home.component.css b/SBOLCanvasFrontend/src/app/home/home.component.css similarity index 73% rename from frontend/src/app/home/home.component.css rename to SBOLCanvasFrontend/src/app/home/home.component.css index 0cb35284..afdad6d2 100644 --- a/frontend/src/app/home/home.component.css +++ b/SBOLCanvasFrontend/src/app/home/home.component.css @@ -7,10 +7,6 @@ } -/deep/ .mat-tab-body-wrapper { - padding: 20px; -} - /deep/ .mat-tab-label { min-width: 130px!important; } diff --git a/frontend/src/app/home/home.component.html b/SBOLCanvasFrontend/src/app/home/home.component.html similarity index 85% rename from frontend/src/app/home/home.component.html rename to SBOLCanvasFrontend/src/app/home/home.component.html index 6225f4fb..81c35cb9 100644 --- a/frontend/src/app/home/home.component.html +++ b/SBOLCanvasFrontend/src/app/home/home.component.html @@ -17,7 +17,7 @@ - + @@ -30,9 +30,6 @@
- - -
diff --git a/frontend/src/app/home/home.component.spec.ts b/SBOLCanvasFrontend/src/app/home/home.component.spec.ts similarity index 100% rename from frontend/src/app/home/home.component.spec.ts rename to SBOLCanvasFrontend/src/app/home/home.component.spec.ts diff --git a/frontend/src/app/home/home.component.ts b/SBOLCanvasFrontend/src/app/home/home.component.ts similarity index 93% rename from frontend/src/app/home/home.component.ts rename to SBOLCanvasFrontend/src/app/home/home.component.ts index eae0113a..ef7b1641 100644 --- a/frontend/src/app/home/home.component.ts +++ b/SBOLCanvasFrontend/src/app/home/home.component.ts @@ -5,7 +5,6 @@ import { ToolbarComponent } from "../toolbar/toolbar.component"; import {ComponentCanDeactivate} from '../pending-changes.guard'; import {Observable} from 'rxjs'; import {Title} from "@angular/platform-browser"; -import { EmbeddedService } from '../embedded.service'; export enum KEY_CODE { DELETE = "Delete", @@ -26,7 +25,7 @@ export class HomeComponent implements OnInit, ComponentCanDeactivate { rightBarOpened = true; leftBarOpened = true; - constructor(private graphService: GraphService, private titleService: Title, private embeddedService: EmbeddedService) { + constructor(private graphService: GraphService, private titleService: Title) { this.titleService.setTitle('SBOL Canvas'); } @@ -78,6 +77,6 @@ export class HomeComponent implements OnInit, ComponentCanDeactivate { // insert logic to check if there are pending changes here; // returning true will navigate without confirmation // returning false will show a confirm dialog before navigating away - return this.embeddedService.isAppEmbedded(); + return false; } } diff --git a/frontend/src/app/http.interceptor.ts b/SBOLCanvasFrontend/src/app/http.interceptor.ts similarity index 69% rename from frontend/src/app/http.interceptor.ts rename to SBOLCanvasFrontend/src/app/http.interceptor.ts index 82549454..10f8b07f 100644 --- a/frontend/src/app/http.interceptor.ts +++ b/SBOLCanvasFrontend/src/app/http.interceptor.ts @@ -4,19 +4,10 @@ import { Observable, of, throwError } from "rxjs"; import { tap, catchError } from "rxjs/operators"; import { MatDialog } from '@angular/material'; import { ErrorComponent } from './error/error.component'; -import { ActivatedRoute } from '@angular/router' - @Injectable() export class AppHttpInterceptor implements HttpInterceptor { - - ignoreHTTPErrors: boolean - - constructor(public dialog: MatDialog, private route: ActivatedRoute) { - this.route.queryParams.subscribe(params => { - this.ignoreHTTPErrors = !!params.ignoreHTTPErrors - }) - } + constructor(public dialog: MatDialog) {} intercept( req: HttpRequest, next: HttpHandler @@ -28,7 +19,7 @@ intercept( }), catchError((err: any) => { if(err instanceof HttpErrorResponse && err.status === 500) { - !this.ignoreHTTPErrors && this.dialog.open(ErrorComponent, {data: err.error}); + this.dialog.open(ErrorComponent, {data: err.error}); } return throwError(err); })); diff --git a/frontend/src/app/identifiedInfo.ts b/SBOLCanvasFrontend/src/app/identifiedInfo.ts similarity index 100% rename from frontend/src/app/identifiedInfo.ts rename to SBOLCanvasFrontend/src/app/identifiedInfo.ts diff --git a/frontend/src/app/info-editor/info-editor.component.css b/SBOLCanvasFrontend/src/app/info-editor/info-editor.component.css similarity index 100% rename from frontend/src/app/info-editor/info-editor.component.css rename to SBOLCanvasFrontend/src/app/info-editor/info-editor.component.css diff --git a/frontend/src/app/info-editor/info-editor.component.html b/SBOLCanvasFrontend/src/app/info-editor/info-editor.component.html similarity index 100% rename from frontend/src/app/info-editor/info-editor.component.html rename to SBOLCanvasFrontend/src/app/info-editor/info-editor.component.html diff --git a/frontend/src/app/info-editor/info-editor.component.spec.ts b/SBOLCanvasFrontend/src/app/info-editor/info-editor.component.spec.ts similarity index 100% rename from frontend/src/app/info-editor/info-editor.component.spec.ts rename to SBOLCanvasFrontend/src/app/info-editor/info-editor.component.spec.ts diff --git a/frontend/src/app/info-editor/info-editor.component.ts b/SBOLCanvasFrontend/src/app/info-editor/info-editor.component.ts similarity index 94% rename from frontend/src/app/info-editor/info-editor.component.ts rename to SBOLCanvasFrontend/src/app/info-editor/info-editor.component.ts index 6121880f..e57741fc 100644 --- a/frontend/src/app/info-editor/info-editor.component.ts +++ b/SBOLCanvasFrontend/src/app/info-editor/info-editor.component.ts @@ -89,8 +89,6 @@ export class InfoEditorComponent implements OnInit { break; } case 'partRole': { - if(event.value.includes("Cir (Circular Backbone")) break; - this.glyphInfo.partRole = event.value; this.glyphInfo.partRefine = ''; if (event.value !== '') { @@ -170,7 +168,6 @@ export class InfoEditorComponent implements OnInit { } case 'sequence': { this.glyphInfo.sequence = event.target.value; - break; } default: { console.log('Unexpected id encountered in info menu input = ' + id); @@ -243,8 +240,8 @@ export class InfoEditorComponent implements OnInit { this.interactionInfo = interactionInfo; if (interactionInfo != null) { if (interactionInfo.interactionType != null) { - this.getInteractionSourceRefinements(this.getSourceInteractionRole()); - this.getInteractionTargetRefinements(this.getTargetInteractionRole()); + this.getInteractionSourceRefinements(this.interactionRoles[interactionInfo.interactionType][0]); + this.getInteractionTargetRefinements(this.interactionRoles[interactionInfo.interactionType][1]); } else { this.interactionSourceRefinements = []; this.interactionTargetRefinements = []; @@ -287,15 +284,13 @@ export class InfoEditorComponent implements OnInit { } getSourceInteractionRole() { - const interactionRole = this.interactionRoles[this.interactionInfo.interactionType] - const NA = "NA" - return interactionRole ? interactionRole[0] || NA : NA; + let sourceRole = this.interactionRoles[this.interactionInfo.interactionType][0]; + return sourceRole ? sourceRole : "NA"; } getTargetInteractionRole() { - const interactionRole = this.interactionRoles[this.interactionInfo.interactionType] - const NA = "NA" - return interactionRole ? interactionRole[1] || NA : NA; + let targetRole = this.interactionRoles[this.interactionInfo.interactionType][1]; + return targetRole ? targetRole : "NA"; } hasSourceRefinements(): boolean { diff --git a/frontend/src/app/info.ts b/SBOLCanvasFrontend/src/app/info.ts similarity index 100% rename from frontend/src/app/info.ts rename to SBOLCanvasFrontend/src/app/info.ts diff --git a/frontend/src/app/interactionInfo.ts b/SBOLCanvasFrontend/src/app/interactionInfo.ts similarity index 100% rename from frontend/src/app/interactionInfo.ts rename to SBOLCanvasFrontend/src/app/interactionInfo.ts diff --git a/frontend/src/app/landing-page/landing-page.component.css b/SBOLCanvasFrontend/src/app/landing-page/landing-page.component.css similarity index 100% rename from frontend/src/app/landing-page/landing-page.component.css rename to SBOLCanvasFrontend/src/app/landing-page/landing-page.component.css diff --git a/frontend/src/app/landing-page/landing-page.component.html b/SBOLCanvasFrontend/src/app/landing-page/landing-page.component.html similarity index 100% rename from frontend/src/app/landing-page/landing-page.component.html rename to SBOLCanvasFrontend/src/app/landing-page/landing-page.component.html diff --git a/frontend/src/app/landing-page/landing-page.component.spec.ts b/SBOLCanvasFrontend/src/app/landing-page/landing-page.component.spec.ts similarity index 100% rename from frontend/src/app/landing-page/landing-page.component.spec.ts rename to SBOLCanvasFrontend/src/app/landing-page/landing-page.component.spec.ts diff --git a/frontend/src/app/landing-page/landing-page.component.ts b/SBOLCanvasFrontend/src/app/landing-page/landing-page.component.ts similarity index 100% rename from frontend/src/app/landing-page/landing-page.component.ts rename to SBOLCanvasFrontend/src/app/landing-page/landing-page.component.ts diff --git a/frontend/src/assets/.gitkeep b/SBOLCanvasFrontend/src/app/load-graph/load-graph.component.css similarity index 100% rename from frontend/src/assets/.gitkeep rename to SBOLCanvasFrontend/src/app/load-graph/load-graph.component.css diff --git a/frontend/src/app/load-graph/load-graph.component.html b/SBOLCanvasFrontend/src/app/load-graph/load-graph.component.html similarity index 100% rename from frontend/src/app/load-graph/load-graph.component.html rename to SBOLCanvasFrontend/src/app/load-graph/load-graph.component.html diff --git a/frontend/src/app/load-graph/load-graph.component.spec.ts b/SBOLCanvasFrontend/src/app/load-graph/load-graph.component.spec.ts similarity index 100% rename from frontend/src/app/load-graph/load-graph.component.spec.ts rename to SBOLCanvasFrontend/src/app/load-graph/load-graph.component.spec.ts diff --git a/frontend/src/app/load-graph/load-graph.component.ts b/SBOLCanvasFrontend/src/app/load-graph/load-graph.component.ts similarity index 100% rename from frontend/src/app/load-graph/load-graph.component.ts rename to SBOLCanvasFrontend/src/app/load-graph/load-graph.component.ts diff --git a/frontend/src/app/login.service.spec.ts b/SBOLCanvasFrontend/src/app/login.service.spec.ts similarity index 100% rename from frontend/src/app/login.service.spec.ts rename to SBOLCanvasFrontend/src/app/login.service.spec.ts diff --git a/frontend/src/app/login.service.ts b/SBOLCanvasFrontend/src/app/login.service.ts similarity index 100% rename from frontend/src/app/login.service.ts rename to SBOLCanvasFrontend/src/app/login.service.ts diff --git a/frontend/src/app/login/login.component.css b/SBOLCanvasFrontend/src/app/login/login.component.css similarity index 100% rename from frontend/src/app/login/login.component.css rename to SBOLCanvasFrontend/src/app/login/login.component.css diff --git a/frontend/src/app/login/login.component.html b/SBOLCanvasFrontend/src/app/login/login.component.html similarity index 100% rename from frontend/src/app/login/login.component.html rename to SBOLCanvasFrontend/src/app/login/login.component.html diff --git a/frontend/src/app/login/login.component.spec.ts b/SBOLCanvasFrontend/src/app/login/login.component.spec.ts similarity index 100% rename from frontend/src/app/login/login.component.spec.ts rename to SBOLCanvasFrontend/src/app/login/login.component.spec.ts diff --git a/frontend/src/app/login/login.component.ts b/SBOLCanvasFrontend/src/app/login/login.component.ts similarity index 95% rename from frontend/src/app/login/login.component.ts rename to SBOLCanvasFrontend/src/app/login/login.component.ts index 73babc88..17bf4e8f 100644 --- a/frontend/src/app/login/login.component.ts +++ b/SBOLCanvasFrontend/src/app/login/login.component.ts @@ -32,7 +32,7 @@ export class LoginComponent implements OnInit { this.working = true; this.badLogin = false; this.loginService.login(this.email, this.password, this.data.server).subscribe(result => { - this.loginService.users[this.data.server] = JSON.parse(result); + this.loginService.users[this.data.server] = result; this.working = false; this.dialogRef.close(true); }, diff --git a/frontend/src/app/material.module.ts b/SBOLCanvasFrontend/src/app/material.module.ts similarity index 100% rename from frontend/src/app/material.module.ts rename to SBOLCanvasFrontend/src/app/material.module.ts diff --git a/frontend/src/app/metadata.service.spec.ts b/SBOLCanvasFrontend/src/app/metadata.service.spec.ts similarity index 100% rename from frontend/src/app/metadata.service.spec.ts rename to SBOLCanvasFrontend/src/app/metadata.service.spec.ts diff --git a/frontend/src/app/metadata.service.ts b/SBOLCanvasFrontend/src/app/metadata.service.ts similarity index 89% rename from frontend/src/app/metadata.service.ts rename to SBOLCanvasFrontend/src/app/metadata.service.ts index d5f42d92..6c4f9c73 100644 --- a/frontend/src/app/metadata.service.ts +++ b/SBOLCanvasFrontend/src/app/metadata.service.ts @@ -66,32 +66,10 @@ export class MetadataService { private componentDefinitionModeSource = new BehaviorSubject(null); componentDefinitionMode = this.componentDefinitionModeSource.asObservable(); - private savedRegistry: string; - private savedCollection: { collection: string, history: Array }; - // TODO: DNA strand info constructor(private http: HttpClient) { } - getSavedRegistry() { - return this.savedRegistry; - } - - getSavedCollection() { - return this.savedCollection; - } - - setSavedRegistry(registry: string) { - this.savedRegistry = registry; - } - - setSavedCollection(collectionInfo: { collection: string, history: Array }) { - this.savedCollection = { - collection: collectionInfo.collection, - history: collectionInfo.history - } - } - loadTypes(): Observable { return this.http.get(this.typesURL); } diff --git a/frontend/src/app/moduleInfo.ts b/SBOLCanvasFrontend/src/app/moduleInfo.ts similarity index 100% rename from frontend/src/app/moduleInfo.ts rename to SBOLCanvasFrontend/src/app/moduleInfo.ts diff --git a/frontend/src/app/pending-changes.guard.spec.ts b/SBOLCanvasFrontend/src/app/pending-changes.guard.spec.ts similarity index 100% rename from frontend/src/app/pending-changes.guard.spec.ts rename to SBOLCanvasFrontend/src/app/pending-changes.guard.spec.ts diff --git a/SBOLCanvasFrontend/src/app/pending-changes.guard.ts b/SBOLCanvasFrontend/src/app/pending-changes.guard.ts new file mode 100644 index 00000000..79fedb23 --- /dev/null +++ b/SBOLCanvasFrontend/src/app/pending-changes.guard.ts @@ -0,0 +1,24 @@ +import { CanDeactivate } from '@angular/router'; +import { Injectable } from '@angular/core'; +import {Observable} from 'rxjs'; + +export interface ComponentCanDeactivate { + canDeactivate: () => boolean | Observable; +} + +@Injectable() +export class PendingChangesGuard implements CanDeactivate { + canDeactivate(component: ComponentCanDeactivate): boolean | Observable { + + // if there are no pending changes, just allow deactivation; else confirm first + console.log("NOpe\n"); + if (component.canDeactivate()) { + return true; + } else { + // NOTE: this warning message will only be shown when navigating elsewhere within your angular app; + // when navigating away from your angular app, the browser will show a generic warning message + // see http://stackoverflow.com/a/42207299/7307355 + return confirm('WARNING: You have unsaved changes. Press Cancel to go back and save these changes, or OK to lose these changes.'); + } + } +} diff --git a/frontend/src/app/searchfilter.pipe.spec.ts b/SBOLCanvasFrontend/src/app/searchfilter.pipe.spec.ts similarity index 100% rename from frontend/src/app/searchfilter.pipe.spec.ts rename to SBOLCanvasFrontend/src/app/searchfilter.pipe.spec.ts diff --git a/frontend/src/app/searchfilter.pipe.ts b/SBOLCanvasFrontend/src/app/searchfilter.pipe.ts similarity index 100% rename from frontend/src/app/searchfilter.pipe.ts rename to SBOLCanvasFrontend/src/app/searchfilter.pipe.ts diff --git a/frontend/src/app/style-info.spec.ts b/SBOLCanvasFrontend/src/app/style-info.spec.ts similarity index 100% rename from frontend/src/app/style-info.spec.ts rename to SBOLCanvasFrontend/src/app/style-info.spec.ts diff --git a/frontend/src/app/style-info.ts b/SBOLCanvasFrontend/src/app/style-info.ts similarity index 100% rename from frontend/src/app/style-info.ts rename to SBOLCanvasFrontend/src/app/style-info.ts diff --git a/SBOLCanvasFrontend/src/app/toolbar/toolbar.component.css b/SBOLCanvasFrontend/src/app/toolbar/toolbar.component.css new file mode 100644 index 00000000..6906574e --- /dev/null +++ b/SBOLCanvasFrontend/src/app/toolbar/toolbar.component.css @@ -0,0 +1,39 @@ +/* This sets the space between sets of buttons */ +.toolbar-spacer { + flex: 1 1 auto; +} + +/* Not sure exactly how this works but it makes the menu + bigger so that it can fit the buttons. */ +::ng-deep .mat-menu-panel { + padding: 0 10px!important; + width: 100%!important; +} + +/* This sets the css for the buttons on the row */ +.toolbar-row-button { + margin-right: 8px; + margin-left: 8px; +} + +.zoom-input { + text-align: right; + padding-left: 10px; + padding-right: 10px; + max-width: 50px; + font-size: .8em; +} + +/* There is a bug with vertical dividers in + toolbar rows so you have to manually fix + the styling for the divider. + */ +mat-divider.toolbar-divider-style-fix { + height: 40px; + margin-left: 8px; + margin-right: 8px; +} + +.toolbar-row { + padding: 8px; +} diff --git a/SBOLCanvasFrontend/src/app/toolbar/toolbar.component.html b/SBOLCanvasFrontend/src/app/toolbar/toolbar.component.html new file mode 100644 index 00000000..ff72c8eb --- /dev/null +++ b/SBOLCanvasFrontend/src/app/toolbar/toolbar.component.html @@ -0,0 +1,155 @@ + + + + + + + + + SynBioHub + + + + + + Local Device + + + + + + + + + + + + New + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/src/app/toolbar/toolbar.component.spec.ts b/SBOLCanvasFrontend/src/app/toolbar/toolbar.component.spec.ts similarity index 100% rename from frontend/src/app/toolbar/toolbar.component.spec.ts rename to SBOLCanvasFrontend/src/app/toolbar/toolbar.component.spec.ts diff --git a/frontend/src/app/toolbar/toolbar.component.ts b/SBOLCanvasFrontend/src/app/toolbar/toolbar.component.ts similarity index 96% rename from frontend/src/app/toolbar/toolbar.component.ts rename to SBOLCanvasFrontend/src/app/toolbar/toolbar.component.ts index afafb41f..be078b04 100644 --- a/frontend/src/app/toolbar/toolbar.component.ts +++ b/SBOLCanvasFrontend/src/app/toolbar/toolbar.component.ts @@ -8,7 +8,6 @@ import { ExportImageComponent } from '../export-image/export-image.component'; import { ExportDesignComponent } from '../export-design/export-design.component'; import { ConfirmComponent } from '../confirm/confirm.component'; import { LoadGraphComponent } from '../load-graph/load-graph.component'; -import { EmbeddedService } from '../embedded.service'; export interface SaveDialogData { filename: string; @@ -31,7 +30,7 @@ export class ToolbarComponent implements OnInit, AfterViewInit { users: {}; constructor(public graphService: GraphService, private filesService: FilesService, - public dialog: MatDialog, public embeddedService: EmbeddedService) { + public dialog: MatDialog) { } ngOnInit() { diff --git a/frontend/src/app/tutorial/tutorial.component.css b/SBOLCanvasFrontend/src/app/tutorial/tutorial.component.css similarity index 100% rename from frontend/src/app/tutorial/tutorial.component.css rename to SBOLCanvasFrontend/src/app/tutorial/tutorial.component.css diff --git a/frontend/src/app/tutorial/tutorial.component.html b/SBOLCanvasFrontend/src/app/tutorial/tutorial.component.html similarity index 100% rename from frontend/src/app/tutorial/tutorial.component.html rename to SBOLCanvasFrontend/src/app/tutorial/tutorial.component.html diff --git a/frontend/src/app/tutorial/tutorial.component.spec.ts b/SBOLCanvasFrontend/src/app/tutorial/tutorial.component.spec.ts similarity index 100% rename from frontend/src/app/tutorial/tutorial.component.spec.ts rename to SBOLCanvasFrontend/src/app/tutorial/tutorial.component.spec.ts diff --git a/frontend/src/app/tutorial/tutorial.component.ts b/SBOLCanvasFrontend/src/app/tutorial/tutorial.component.ts similarity index 100% rename from frontend/src/app/tutorial/tutorial.component.ts rename to SBOLCanvasFrontend/src/app/tutorial/tutorial.component.ts diff --git a/frontend/src/app/upload-graph/upload-graph.component.css b/SBOLCanvasFrontend/src/app/upload-graph/upload-graph.component.css similarity index 100% rename from frontend/src/app/upload-graph/upload-graph.component.css rename to SBOLCanvasFrontend/src/app/upload-graph/upload-graph.component.css diff --git a/frontend/src/app/upload-graph/upload-graph.component.html b/SBOLCanvasFrontend/src/app/upload-graph/upload-graph.component.html similarity index 100% rename from frontend/src/app/upload-graph/upload-graph.component.html rename to SBOLCanvasFrontend/src/app/upload-graph/upload-graph.component.html diff --git a/frontend/src/app/upload-graph/upload-graph.component.spec.ts b/SBOLCanvasFrontend/src/app/upload-graph/upload-graph.component.spec.ts similarity index 100% rename from frontend/src/app/upload-graph/upload-graph.component.spec.ts rename to SBOLCanvasFrontend/src/app/upload-graph/upload-graph.component.spec.ts diff --git a/frontend/src/app/upload-graph/upload-graph.component.ts b/SBOLCanvasFrontend/src/app/upload-graph/upload-graph.component.ts similarity index 100% rename from frontend/src/app/upload-graph/upload-graph.component.ts rename to SBOLCanvasFrontend/src/app/upload-graph/upload-graph.component.ts diff --git a/frontend/src/app/useful_code_snippets.txt b/SBOLCanvasFrontend/src/app/useful_code_snippets.txt similarity index 100% rename from frontend/src/app/useful_code_snippets.txt rename to SBOLCanvasFrontend/src/app/useful_code_snippets.txt diff --git a/frontend/src/app/variableComponentInfo.ts b/SBOLCanvasFrontend/src/app/variableComponentInfo.ts similarity index 100% rename from frontend/src/app/variableComponentInfo.ts rename to SBOLCanvasFrontend/src/app/variableComponentInfo.ts diff --git a/frontend/src/app/window-ref.service.ts b/SBOLCanvasFrontend/src/app/window-ref.service.ts similarity index 100% rename from frontend/src/app/window-ref.service.ts rename to SBOLCanvasFrontend/src/app/window-ref.service.ts diff --git a/SBOLCanvasFrontend/src/assets/.gitkeep b/SBOLCanvasFrontend/src/assets/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/frontend/src/assets/glyph_stencils/utils/backbone.xml b/SBOLCanvasFrontend/src/assets/backbone.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/utils/backbone.xml rename to SBOLCanvasFrontend/src/assets/backbone.xml diff --git a/frontend/src/assets/banner.png b/SBOLCanvasFrontend/src/assets/banner.png similarity index 100% rename from frontend/src/assets/banner.png rename to SBOLCanvasFrontend/src/assets/banner.png diff --git a/frontend/src/assets/glyph_stencils/indicators/composite.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/indicators/composite.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/indicators/composite.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/indicators/composite.xml diff --git a/frontend/src/assets/glyph_stencils/indicators/error.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/indicators/error.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/indicators/error.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/indicators/error.xml diff --git a/frontend/src/assets/glyph_stencils/indicators/variant.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/indicators/variant.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/indicators/variant.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/indicators/variant.xml diff --git a/frontend/src/assets/glyph_stencils/interactionNodes/association.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/interaction_nodes/association.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/interactionNodes/association.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/interaction_nodes/association.xml diff --git a/frontend/src/assets/glyph_stencils/interactionNodes/dissociation.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/interaction_nodes/dissociation.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/interactionNodes/dissociation.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/interaction_nodes/dissociation.xml diff --git a/frontend/src/assets/glyph_stencils/interactionNodes/process.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/interaction_nodes/process.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/interactionNodes/process.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/interaction_nodes/process.xml diff --git a/frontend/src/assets/glyph_stencils/interactionNodes/replacement-glyph.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/interaction_nodes/replacement-glyph.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/interactionNodes/replacement-glyph.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/interaction_nodes/replacement-glyph.xml diff --git a/frontend/src/assets/glyph_stencils/interactions/control.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/interactions/control.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/interactions/control.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/interactions/control.xml diff --git a/frontend/src/assets/glyph_stencils/interactions/degradation.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/interactions/degradation.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/interactions/degradation.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/interactions/degradation.xml diff --git a/frontend/src/assets/glyph_stencils/interactions/inhibition.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/interactions/inhibition.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/interactions/inhibition.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/interactions/inhibition.xml diff --git a/frontend/src/assets/glyph_stencils/interactions/process.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/interactions/process.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/interactions/process.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/interactions/process.xml diff --git a/frontend/src/assets/glyph_stencils/interactions/stimulation.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/interactions/stimulation.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/interactions/stimulation.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/interactions/stimulation.xml diff --git a/frontend/src/assets/glyph_stencils/molecularSpecies/complex.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/complex.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/molecularSpecies/complex.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/complex.xml diff --git a/frontend/src/assets/glyph_stencils/molecularSpecies/dsNA.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/dsNA.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/molecularSpecies/dsNA.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/dsNA.xml diff --git a/frontend/src/assets/glyph_stencils/molecularSpecies/macromolecule.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/macromolecule.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/molecularSpecies/macromolecule.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/macromolecule.xml diff --git a/frontend/src/assets/glyph_stencils/molecularSpecies/no-glyph-assigned-ms.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/no-glyph-assigned-ms.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/molecularSpecies/no-glyph-assigned-ms.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/no-glyph-assigned-ms.xml diff --git a/frontend/src/assets/glyph_stencils/molecularSpecies/replacement-glyph.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/replacement-glyph.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/molecularSpecies/replacement-glyph.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/replacement-glyph.xml diff --git a/frontend/src/assets/glyph_stencils/molecularSpecies/small-molecule.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/small-molecule.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/molecularSpecies/small-molecule.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/small-molecule.xml diff --git a/frontend/src/assets/glyph_stencils/molecularSpecies/ssNA.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/ssNA.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/molecularSpecies/ssNA.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/molecular_species/ssNA.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/aptamer.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/aptamer.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/aptamer.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/aptamer.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/assembly-scar.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/assembly-scar.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/assembly-scar.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/assembly-scar.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/blunt-restriction-site.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/blunt-restriction-site.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/blunt-restriction-site.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/blunt-restriction-site.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/cds.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/cds.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/cds.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/cds.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/chromosomal-locus.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/chromosomal-locus.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/chromosomal-locus.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/chromosomal-locus.xml diff --git a/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/circular-plasmid.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/circular-plasmid.xml new file mode 100644 index 00000000..9e1af997 --- /dev/null +++ b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/circular-plasmid.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/dna-stability-element.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/dna-stability-element.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/dna-stability-element.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/dna-stability-element.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/engineered-region.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/engineered-region.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/engineered-region.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/engineered-region.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/five-prime-overhang.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/five-prime-overhang.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/five-prime-overhang.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/five-prime-overhang.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/five-prime-sticky-restriction-site.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/five-prime-sticky-restriction-site.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/five-prime-sticky-restriction-site.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/five-prime-sticky-restriction-site.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/insulator.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/insulator.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/insulator.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/insulator.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/location-dna.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/location-dna.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/location-dna.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/location-dna.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/location-protein.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/location-protein.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/location-protein.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/location-protein.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/location-rna.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/location-rna.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/location-rna.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/location-rna.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/ncrna.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/ncrna.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/ncrna.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/ncrna.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/no-glyph-assigned.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/no-glyph-assigned.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/no-glyph-assigned.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/no-glyph-assigned.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/nuclease-site.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/nuclease-site.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/nuclease-site.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/nuclease-site.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/operator.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/operator.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/operator.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/operator.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/origin-of-replication.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/origin-of-replication.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/origin-of-replication.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/origin-of-replication.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/origin-of-transfer.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/origin-of-transfer.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/origin-of-transfer.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/origin-of-transfer.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/polyA.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/polyA.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/polyA.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/polyA.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/primer-binding-site.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/primer-binding-site.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/primer-binding-site.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/primer-binding-site.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/promoter.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/promoter.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/promoter.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/promoter.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/protease-site.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/protease-site.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/protease-site.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/protease-site.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/protein-stability-element.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/protein-stability-element.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/protein-stability-element.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/protein-stability-element.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/ribonuclease-site.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/ribonuclease-site.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/ribonuclease-site.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/ribonuclease-site.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/ribosome-entry-site.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/ribosome-entry-site.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/ribosome-entry-site.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/ribosome-entry-site.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/rna-stability-element.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/rna-stability-element.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/rna-stability-element.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/rna-stability-element.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/signature.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/signature.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/signature.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/signature.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/specific-recombination-site.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/specific-recombination-site.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/specific-recombination-site.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/specific-recombination-site.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/terminator-specification.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/terminator-specification.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/terminator-specification.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/terminator-specification.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/test.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/test.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/test.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/test.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/three-prime-overhang.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/three-prime-overhang.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/three-prime-overhang.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/three-prime-overhang.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/three-prime-sticky-restriction-site.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/three-prime-sticky-restriction-site.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/three-prime-sticky-restriction-site.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/three-prime-sticky-restriction-site.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/transcription-end.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/transcription-end.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/transcription-end.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/transcription-end.xml diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/translation-end.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/translation-end.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/sequenceFeatures/translation-end.xml rename to SBOLCanvasFrontend/src/assets/glyph_stencils/sequence_feature/translation-end.xml diff --git a/frontend/src/assets/grid.png b/SBOLCanvasFrontend/src/assets/grid.png similarity index 100% rename from frontend/src/assets/grid.png rename to SBOLCanvasFrontend/src/assets/grid.png diff --git a/frontend/src/assets/icons/diagonalEdgeStyle.png b/SBOLCanvasFrontend/src/assets/icons/diagonalEdgeStyle.png similarity index 100% rename from frontend/src/assets/icons/diagonalEdgeStyle.png rename to SBOLCanvasFrontend/src/assets/icons/diagonalEdgeStyle.png diff --git a/frontend/src/assets/icons/entityRelationEdgeStyle.png b/SBOLCanvasFrontend/src/assets/icons/entityRelationEdgeStyle.png similarity index 100% rename from frontend/src/assets/icons/entityRelationEdgeStyle.png rename to SBOLCanvasFrontend/src/assets/icons/entityRelationEdgeStyle.png diff --git a/frontend/src/assets/icons/orthogonalEdgeStyle.png b/SBOLCanvasFrontend/src/assets/icons/orthogonalEdgeStyle.png similarity index 100% rename from frontend/src/assets/icons/orthogonalEdgeStyle.png rename to SBOLCanvasFrontend/src/assets/icons/orthogonalEdgeStyle.png diff --git a/frontend/src/assets/icons/sideToSideEdgeStyle.png b/SBOLCanvasFrontend/src/assets/icons/sideToSideEdgeStyle.png similarity index 100% rename from frontend/src/assets/icons/sideToSideEdgeStyle.png rename to SBOLCanvasFrontend/src/assets/icons/sideToSideEdgeStyle.png diff --git a/frontend/src/assets/icons/topToBottomEdgeStyle.png b/SBOLCanvasFrontend/src/assets/icons/topToBottomEdgeStyle.png similarity index 100% rename from frontend/src/assets/icons/topToBottomEdgeStyle.png rename to SBOLCanvasFrontend/src/assets/icons/topToBottomEdgeStyle.png diff --git a/frontend/src/assets/glyph_stencils/utils/module.xml b/SBOLCanvasFrontend/src/assets/module.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/utils/module.xml rename to SBOLCanvasFrontend/src/assets/module.xml diff --git a/frontend/src/assets/profile_jared.jpeg b/SBOLCanvasFrontend/src/assets/profile_jared.jpeg similarity index 100% rename from frontend/src/assets/profile_jared.jpeg rename to SBOLCanvasFrontend/src/assets/profile_jared.jpeg diff --git a/frontend/src/assets/profile_logan.jpg b/SBOLCanvasFrontend/src/assets/profile_logan.jpg similarity index 100% rename from frontend/src/assets/profile_logan.jpg rename to SBOLCanvasFrontend/src/assets/profile_logan.jpg diff --git a/frontend/src/assets/profile_sam.jpg b/SBOLCanvasFrontend/src/assets/profile_sam.jpg similarity index 100% rename from frontend/src/assets/profile_sam.jpg rename to SBOLCanvasFrontend/src/assets/profile_sam.jpg diff --git a/frontend/src/assets/glyph_stencils/utils/textBox.xml b/SBOLCanvasFrontend/src/assets/textBox.xml similarity index 100% rename from frontend/src/assets/glyph_stencils/utils/textBox.xml rename to SBOLCanvasFrontend/src/assets/textBox.xml diff --git a/frontend/src/assets/textBoxSource.png b/SBOLCanvasFrontend/src/assets/textBoxSource.png similarity index 100% rename from frontend/src/assets/textBoxSource.png rename to SBOLCanvasFrontend/src/assets/textBoxSource.png diff --git a/frontend/src/assets/tutorial_pics/AddingInteractions/freeFloatingInteraction.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/AddingInteractions/freeFloatingInteraction.png similarity index 100% rename from frontend/src/assets/tutorial_pics/AddingInteractions/freeFloatingInteraction.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/AddingInteractions/freeFloatingInteraction.png diff --git a/frontend/src/assets/tutorial_pics/AddingInteractions/moduleInteraction.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/AddingInteractions/moduleInteraction.png similarity index 100% rename from frontend/src/assets/tutorial_pics/AddingInteractions/moduleInteraction.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/AddingInteractions/moduleInteraction.png diff --git a/frontend/src/assets/tutorial_pics/AddingInteractions/selectionAfter.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/AddingInteractions/selectionAfter.png similarity index 100% rename from frontend/src/assets/tutorial_pics/AddingInteractions/selectionAfter.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/AddingInteractions/selectionAfter.png diff --git a/frontend/src/assets/tutorial_pics/AddingInteractions/selectionBefore.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/AddingInteractions/selectionBefore.png similarity index 100% rename from frontend/src/assets/tutorial_pics/AddingInteractions/selectionBefore.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/AddingInteractions/selectionBefore.png diff --git a/frontend/src/assets/tutorial_pics/CombinatorialDerivation/circuit.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/circuit.png similarity index 100% rename from frontend/src/assets/tutorial_pics/CombinatorialDerivation/circuit.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/circuit.png diff --git a/frontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialButton.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialButton.png similarity index 100% rename from frontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialButton.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialButton.png diff --git a/frontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialEditor.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialEditor.png similarity index 100% rename from frontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialEditor.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialEditor.png diff --git a/frontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialIndicator.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialIndicator.png similarity index 100% rename from frontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialIndicator.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/combinatorialIndicator.png diff --git a/frontend/src/assets/tutorial_pics/CombinatorialDerivation/enumerateButton.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/enumerateButton.png similarity index 100% rename from frontend/src/assets/tutorial_pics/CombinatorialDerivation/enumerateButton.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/enumerateButton.png diff --git a/frontend/src/assets/tutorial_pics/CombinatorialDerivation/enumerationMenu.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/enumerationMenu.png similarity index 100% rename from frontend/src/assets/tutorial_pics/CombinatorialDerivation/enumerationMenu.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/CombinatorialDerivation/enumerationMenu.png diff --git a/frontend/src/assets/tutorial_pics/EditingParts/colorEditor.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/colorEditor.png similarity index 100% rename from frontend/src/assets/tutorial_pics/EditingParts/colorEditor.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/colorEditor.png diff --git a/frontend/src/assets/tutorial_pics/EditingParts/designMenu.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/designMenu.png similarity index 100% rename from frontend/src/assets/tutorial_pics/EditingParts/designMenu.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/designMenu.png diff --git a/frontend/src/assets/tutorial_pics/EditingParts/importComponentMenu.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/importComponentMenu.png similarity index 100% rename from frontend/src/assets/tutorial_pics/EditingParts/importComponentMenu.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/importComponentMenu.png diff --git a/frontend/src/assets/tutorial_pics/EditingParts/infoMenu.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/infoMenu.png similarity index 100% rename from frontend/src/assets/tutorial_pics/EditingParts/infoMenu.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/infoMenu.png diff --git a/frontend/src/assets/tutorial_pics/EditingParts/selection_glyph_vs_strand.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/selection_glyph_vs_strand.png similarity index 100% rename from frontend/src/assets/tutorial_pics/EditingParts/selection_glyph_vs_strand.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/selection_glyph_vs_strand.png diff --git a/frontend/src/assets/tutorial_pics/EditingParts/simple_toolbar_options.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/simple_toolbar_options.png similarity index 100% rename from frontend/src/assets/tutorial_pics/EditingParts/simple_toolbar_options.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/EditingParts/simple_toolbar_options.png diff --git a/frontend/src/assets/tutorial_pics/GettingStarted/backbone.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/GettingStarted/backbone.png similarity index 100% rename from frontend/src/assets/tutorial_pics/GettingStarted/backbone.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/GettingStarted/backbone.png diff --git a/frontend/src/assets/tutorial_pics/GettingStarted/backbone_menu.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/GettingStarted/backbone_menu.png similarity index 100% rename from frontend/src/assets/tutorial_pics/GettingStarted/backbone_menu.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/GettingStarted/backbone_menu.png diff --git a/frontend/src/assets/tutorial_pics/GettingStarted/circuit.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/GettingStarted/circuit.png similarity index 100% rename from frontend/src/assets/tutorial_pics/GettingStarted/circuit.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/GettingStarted/circuit.png diff --git a/frontend/src/assets/tutorial_pics/SavingAndLoading/downloadButton.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/downloadButton.png similarity index 100% rename from frontend/src/assets/tutorial_pics/SavingAndLoading/downloadButton.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/downloadButton.png diff --git a/frontend/src/assets/tutorial_pics/SavingAndLoading/downloadMenu.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/downloadMenu.png similarity index 100% rename from frontend/src/assets/tutorial_pics/SavingAndLoading/downloadMenu.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/downloadMenu.png diff --git a/frontend/src/assets/tutorial_pics/SavingAndLoading/exportButton.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/exportButton.png similarity index 100% rename from frontend/src/assets/tutorial_pics/SavingAndLoading/exportButton.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/exportButton.png diff --git a/frontend/src/assets/tutorial_pics/SavingAndLoading/exportMenu.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/exportMenu.png similarity index 100% rename from frontend/src/assets/tutorial_pics/SavingAndLoading/exportMenu.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/exportMenu.png diff --git a/frontend/src/assets/tutorial_pics/SavingAndLoading/uploadButton.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/uploadButton.png similarity index 100% rename from frontend/src/assets/tutorial_pics/SavingAndLoading/uploadButton.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/uploadButton.png diff --git a/frontend/src/assets/tutorial_pics/SavingAndLoading/uploadMenu.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/uploadMenu.png similarity index 100% rename from frontend/src/assets/tutorial_pics/SavingAndLoading/uploadMenu.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/SavingAndLoading/uploadMenu.png diff --git a/frontend/src/assets/tutorial_pics/Substructure/enterPart.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/enterPart.png similarity index 100% rename from frontend/src/assets/tutorial_pics/Substructure/enterPart.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/enterPart.png diff --git a/frontend/src/assets/tutorial_pics/Substructure/module.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/module.png similarity index 100% rename from frontend/src/assets/tutorial_pics/Substructure/module.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/module.png diff --git a/frontend/src/assets/tutorial_pics/Substructure/moduleSubstructure.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/moduleSubstructure.png similarity index 100% rename from frontend/src/assets/tutorial_pics/Substructure/moduleSubstructure.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/moduleSubstructure.png diff --git a/frontend/src/assets/tutorial_pics/Substructure/terminator.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/terminator.png similarity index 100% rename from frontend/src/assets/tutorial_pics/Substructure/terminator.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/terminator.png diff --git a/frontend/src/assets/tutorial_pics/Substructure/terminatorComposite.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/terminatorComposite.png similarity index 100% rename from frontend/src/assets/tutorial_pics/Substructure/terminatorComposite.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/terminatorComposite.png diff --git a/frontend/src/assets/tutorial_pics/Substructure/terminatorSubParts.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/terminatorSubParts.png similarity index 100% rename from frontend/src/assets/tutorial_pics/Substructure/terminatorSubParts.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/Substructure/terminatorSubParts.png diff --git a/frontend/src/assets/tutorial_pics/front_and_back.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/front_and_back.png similarity index 100% rename from frontend/src/assets/tutorial_pics/front_and_back.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/front_and_back.png diff --git a/frontend/src/assets/tutorial_pics/glyph_flip.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/glyph_flip.png similarity index 100% rename from frontend/src/assets/tutorial_pics/glyph_flip.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/glyph_flip.png diff --git a/frontend/src/assets/tutorial_pics/search_bar.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/search_bar.png similarity index 100% rename from frontend/src/assets/tutorial_pics/search_bar.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/search_bar.png diff --git a/frontend/src/assets/tutorial_pics/side_menu_top.png b/SBOLCanvasFrontend/src/assets/tutorial_pics/side_menu_top.png similarity index 100% rename from frontend/src/assets/tutorial_pics/side_menu_top.png rename to SBOLCanvasFrontend/src/assets/tutorial_pics/side_menu_top.png diff --git a/frontend/src/browserslist b/SBOLCanvasFrontend/src/browserslist similarity index 100% rename from frontend/src/browserslist rename to SBOLCanvasFrontend/src/browserslist diff --git a/SBOLCanvasFrontend/src/environments/environment.prod.ts b/SBOLCanvasFrontend/src/environments/environment.prod.ts new file mode 100644 index 00000000..37ec29aa --- /dev/null +++ b/SBOLCanvasFrontend/src/environments/environment.prod.ts @@ -0,0 +1,5 @@ +export const environment = { + production: true, + backendURL: '../api', + baseURI: "https://sbolcanvas.org" +}; diff --git a/frontend/src/environments/environment.ts b/SBOLCanvasFrontend/src/environments/environment.ts similarity index 92% rename from frontend/src/environments/environment.ts rename to SBOLCanvasFrontend/src/environments/environment.ts index 937471b7..c77a7fa0 100644 --- a/frontend/src/environments/environment.ts +++ b/SBOLCanvasFrontend/src/environments/environment.ts @@ -4,7 +4,7 @@ export const environment = { production: false, - backendURL: 'http://localhost:8080/api', + backendURL: 'http://localhost:8080/SBOLCanvasBackend', baseURI: "https://sbolcanvas.org" }; diff --git a/SBOLCanvasFrontend/src/environments/versions.ts b/SBOLCanvasFrontend/src/environments/versions.ts new file mode 100644 index 00000000..c7a84ff9 --- /dev/null +++ b/SBOLCanvasFrontend/src/environments/versions.ts @@ -0,0 +1,7 @@ + +// this file is automatically generated by git.version.ts script +export const versions = { + revision: 'dev', + branch: 'AboutPageFix', + version: 'Development' +}; \ No newline at end of file diff --git a/frontend/src/favicon.ico b/SBOLCanvasFrontend/src/favicon.ico similarity index 100% rename from frontend/src/favicon.ico rename to SBOLCanvasFrontend/src/favicon.ico diff --git a/frontend/src/index.html b/SBOLCanvasFrontend/src/index.html similarity index 100% rename from frontend/src/index.html rename to SBOLCanvasFrontend/src/index.html diff --git a/frontend/src/karma.conf.js b/SBOLCanvasFrontend/src/karma.conf.js similarity index 100% rename from frontend/src/karma.conf.js rename to SBOLCanvasFrontend/src/karma.conf.js diff --git a/frontend/src/main.ts b/SBOLCanvasFrontend/src/main.ts similarity index 100% rename from frontend/src/main.ts rename to SBOLCanvasFrontend/src/main.ts diff --git a/frontend/src/mxgraph.d.ts b/SBOLCanvasFrontend/src/mxgraph.d.ts similarity index 100% rename from frontend/src/mxgraph.d.ts rename to SBOLCanvasFrontend/src/mxgraph.d.ts diff --git a/frontend/src/polyfills.ts b/SBOLCanvasFrontend/src/polyfills.ts similarity index 100% rename from frontend/src/polyfills.ts rename to SBOLCanvasFrontend/src/polyfills.ts diff --git a/frontend/src/scrap_html.html b/SBOLCanvasFrontend/src/scrap_html.html similarity index 100% rename from frontend/src/scrap_html.html rename to SBOLCanvasFrontend/src/scrap_html.html diff --git a/frontend/src/styles.scss b/SBOLCanvasFrontend/src/styles.scss similarity index 100% rename from frontend/src/styles.scss rename to SBOLCanvasFrontend/src/styles.scss diff --git a/frontend/src/test.ts b/SBOLCanvasFrontend/src/test.ts similarity index 100% rename from frontend/src/test.ts rename to SBOLCanvasFrontend/src/test.ts diff --git a/frontend/src/tsconfig.app.json b/SBOLCanvasFrontend/src/tsconfig.app.json similarity index 100% rename from frontend/src/tsconfig.app.json rename to SBOLCanvasFrontend/src/tsconfig.app.json diff --git a/frontend/src/tsconfig.spec.json b/SBOLCanvasFrontend/src/tsconfig.spec.json similarity index 100% rename from frontend/src/tsconfig.spec.json rename to SBOLCanvasFrontend/src/tsconfig.spec.json diff --git a/frontend/src/tslint.json b/SBOLCanvasFrontend/src/tslint.json similarity index 100% rename from frontend/src/tslint.json rename to SBOLCanvasFrontend/src/tslint.json diff --git a/frontend/tsconfig.json b/SBOLCanvasFrontend/tsconfig.json similarity index 96% rename from frontend/tsconfig.json rename to SBOLCanvasFrontend/tsconfig.json index 7e0b410b..b271fd9f 100644 --- a/frontend/tsconfig.json +++ b/SBOLCanvasFrontend/tsconfig.json @@ -15,7 +15,7 @@ "node_modules/@types" ], "lib": [ - "esnext", + "es2018", "dom" ] } diff --git a/frontend/tslint.json b/SBOLCanvasFrontend/tslint.json similarity index 100% rename from frontend/tslint.json rename to SBOLCanvasFrontend/tslint.json diff --git a/backend/Dockerfile b/backend/Dockerfile deleted file mode 100644 index db7ae07f..00000000 --- a/backend/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM tomcat:9.0-jdk8-openjdk - -# Set up working directory -WORKDIR /opt/backend - -# Variables to make building easier -ARG web_content_dir=WEB-INF -ARG compile_source_dir=src -ARG compile_dest_dir=${web_content_dir}/classes -ARG dependencies_dir=${web_content_dir}/lib -ARG tomcat_dependencies=/usr/local/tomcat/lib - -# Set up build directory -RUN mkdir -p ${compile_dest_dir} - -# Copy source, dependencies, and web.xml -COPY src src -COPY lib ${web_content_dir}/lib -COPY web.xml ${web_content_dir} - -# Compile java files into the backend/WebContent/WEB-INF/classes directory -RUN javac -source 1.8 -target 1.8 -sourcepath ${compile_source_dir} -d ${compile_dest_dir} -cp ".:${dependencies_dir}/*:${tomcat_dependencies}/*" ${compile_source_dir}/**/*.java - -# Build .war file -RUN jar -cf /usr/local/tomcat/webapps/api.war ${web_content_dir}/* diff --git a/backend/nodemon.json b/backend/nodemon.json deleted file mode 100644 index b2ff50c2..00000000 --- a/backend/nodemon.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "ext": "java", - "watch": [ "src/" ], - "exec": "docker build -t canvas-api:working . && docker run --rm --name CanvasAPI -p 8080:8080 canvas-api:working", - "events": { - "restart": "docker stop CanvasAPI" - } -} \ No newline at end of file diff --git a/backend/src/servlets/SynBioHub.java b/backend/src/servlets/SynBioHub.java deleted file mode 100644 index ab0b8d85..00000000 --- a/backend/src/servlets/SynBioHub.java +++ /dev/null @@ -1,378 +0,0 @@ -package servlets; - -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.net.URI; -import java.net.URISyntaxException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.LinkedList; -import java.util.List; -import java.util.TreeSet; - -import javax.servlet.ServletOutputStream; -import javax.servlet.annotation.WebServlet; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import javax.xml.parsers.ParserConfigurationException; -import javax.xml.transform.TransformerException; -import javax.xml.transform.TransformerFactoryConfigurationError; - -import org.apache.commons.io.IOUtils; -import org.apache.http.HttpStatus; -import org.sbolstandard.core2.SBOLConversionException; -import org.sbolstandard.core2.SBOLDocument; -import org.sbolstandard.core2.SBOLReader; -import org.sbolstandard.core2.SBOLValidationException; -import org.sbolstandard.core2.SBOLWriter; -import org.synbiohub.frontend.IdentifiedMetadata; -import org.synbiohub.frontend.SearchCriteria; -import org.synbiohub.frontend.SearchQuery; -import org.synbiohub.frontend.SynBioHubException; -import org.synbiohub.frontend.SynBioHubFrontend; -import org.synbiohub.frontend.WebOfRegistriesData; -import org.xml.sax.SAXException; - -import com.google.gson.Gson; - -import utils.MxToSBOL; -import utils.SBOLData; -import utils.SBOLToMx; - -@SuppressWarnings("serial") -@WebServlet(urlPatterns = { "/SynBioHub/*" }) -public class SynBioHub extends HttpServlet { - - protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException { - try { - - // parse auth header - String authorization = request.getHeader("Authorization"); - String email = null; - String password = null; - String user = null; - if (authorization != null && authorization.split(":").length > 1) { - String[] tokens = authorization.split(":"); - email = tokens[0]; - password = tokens[1]; - } else { - user = authorization; - } - - // setup SBH server - String server = request.getParameter("server"); - SynBioHubFrontend sbhf = null; - if(server != null) { - sbhf = new SynBioHubFrontend(server); - if(user != null) - sbhf.setUser(user); - } - - // handle routes - // NOTE: using nested scopes in each case to prevent naming collisions - switch(request.getPathInfo()) { - - case "/registries": { - LinkedList registryURLs = new LinkedList(); - for (WebOfRegistriesData registry : SynBioHubFrontend.getRegistries()) { - registryURLs.add(registry.getInstanceUrl()); - } - writeJSONBody(response, registryURLs); - cacheResponse(response); - } - break; - - case "/login": { - if (sbhf == null || email == null || password == null || email.isEmpty() || password.isEmpty() - || server.isEmpty()) { - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - - try { - sbhf.login(email, password); - } catch (SynBioHubException e) { - if (e.getMessage().equals("org.synbiohub.frontend.PermissionException")) { - response.setStatus(HttpStatus.SC_UNAUTHORIZED); - return; - } - throw e; - } - writeJSONBody(response, sbhf.getUser()); - } - break; - - case "/logout": { - if(sbhf == null || user == null) { - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - - sbhf.logout(); - } - break; - - case "/listMyCollections": { - if (sbhf == null || user == null) { - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - - List collections = sbhf.getRootCollectionMetadata(); - collections.removeIf(collection -> (collection.getUri().contains("/public/"))); - writeJSONBody(response, collections); - } - break; - - case "/listRegistryParts": { - String collection = request.getParameter("collection"); - String type = request.getParameter("type"); - String role = request.getParameter("role"); - String mode = request.getParameter("mode"); - - if (sbhf == null || mode == null) { - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - - TreeSet roles = null; - TreeSet types = null; - TreeSet collections = null; - if (role != null && role.length() > 0) { - roles = new TreeSet(); - if (SBOLData.roles.ContainsKey(role)) - roles.add(SBOLData.roles.getValue(role)); - else - roles.add(SBOLData.refinements.getValue(role)); - } - if (type != null && type.length() > 0) { - types = new TreeSet(); - types.add(SBOLData.types.getValue(type)); - } - if (collection != null) { - collections = new TreeSet(); - collections.add(URI.create(collection)); - } - - ArrayList results = new ArrayList(); - if (mode.equals("collections")) { - if (collections == null) { - results.addAll(sbhf.getRootCollectionMetadata()); - } else { - for (URI collectionURI : collections) { - results.addAll(sbhf.getSubCollectionMetadata(collectionURI)); - } - } - } else if (mode.equals("components") && collections != null) { - results.addAll( - sbhf.getMatchingComponentDefinitionMetadata(null, roles, types, collections, null, null)); - } else if (mode.equals("modules") && collections != null) { - // SynbioHubFrontend doesn't have anything easy for modules - SearchQuery query = new SearchQuery(); - - SearchCriteria objectCriteria = new SearchCriteria(); - objectCriteria.setKey("objectType"); - objectCriteria.setValue("ModuleDefinition"); - query.addCriteria(objectCriteria); - - if (collections != null) { - for (URI uri : collections) { - SearchCriteria collectionCriteria = new SearchCriteria(); - collectionCriteria.setKey("collection"); - collectionCriteria.setValue(uri.toString()); - query.getCriteria().add(collectionCriteria); - } - } - - results.addAll(sbhf.search(query)); - } - - writeJSONBody(response, results.toArray(new IdentifiedMetadata[0])); - } - break; - - case "/listLayouts": - // TO DO: implement - break; - - case "/listCombinatorials": { - if(sbhf == null) { - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - - String template = request.getParameter("template"); - - ArrayList results = new ArrayList(); - - SearchQuery query = new SearchQuery(); - - SearchCriteria objectTypeCriteria = new SearchCriteria(); - objectTypeCriteria.setKey("objectType"); - objectTypeCriteria.setValue("CombinatorialDerivation"); - query.addCriteria(objectTypeCriteria); - - SearchCriteria sbolTagCriteria = new SearchCriteria(); - sbolTagCriteria.setKey("template"); - sbolTagCriteria.setValue(template); - query.addCriteria(sbolTagCriteria); - - results.addAll(sbhf.search(query)); - - writeJSONBody(response, results.toArray(new IdentifiedMetadata[0])); - } - break; - - case "/getRegistryPart": { - String uri = request.getParameter("uri"); - if (uri == null || sbhf == null) { - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - - String combinatorial = request.getParameter("combinatorial"); - SBOLToMx converter = new SBOLToMx(); - String layoutURI = uri.substring(0,uri.lastIndexOf("/"))+"_Layout"+uri.substring(uri.lastIndexOf("/"), uri.length()); - SBOLDocument document; - try { - document = sbhf.getSBOL(URI.create(layoutURI), true); - }catch(SynBioHubException e) { - document = sbhf.getSBOL(URI.create(uri), true); - } - if(document == null) { - document = sbhf.getSBOL(URI.create(uri), true); - } - - SBOLDocument combDocument = null; - if(combinatorial != null) { - combDocument = sbhf.getSBOL(URI.create(combinatorial), true); - } - - converter.toGraph(document, combDocument, response.getOutputStream()); - } - break; - - case "/importRegistryPart": { - String uri = request.getParameter("uri"); - if(uri == null || sbhf == null) { - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - - SBOLToMx converter = new SBOLToMx(); - - String layoutURI = uri.substring(0,uri.lastIndexOf("/"))+"_Layout"+uri.substring(uri.lastIndexOf("/"), uri.length()); - SBOLDocument document; - try { - document = sbhf.getSBOL(URI.create(layoutURI), true); - if(document == null) { - document = sbhf.getSBOL(URI.create(uri), true); - } - }catch(SynBioHubException e) { - document = sbhf.getSBOL(URI.create(uri), true); - } - - converter.toGraph(document, response.getOutputStream()); - } - break; - - default: - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - - // if it made it out, status is OK - response.setStatus(HttpStatus.SC_OK); - - } catch (SynBioHubException | IOException | ParserConfigurationException | TransformerException | SBOLValidationException | SAXException | URISyntaxException e) { - ServletOutputStream outputStream = response.getOutputStream(); - InputStream inputStream = new ByteArrayInputStream(e.getMessage().getBytes()); - IOUtils.copy(inputStream, outputStream); - - response.setStatus(HttpStatus.SC_INTERNAL_SERVER_ERROR); - - e.printStackTrace(); - } - } - - protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException { - try { - String server = request.getParameter("server"); - String user = request.getHeader("Authorization"); - String uri = request.getParameter("uri"); - - if (request.getPathInfo().equals("/addToCollection")) { - - if (server == null || user == null || uri == null) { - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - HashMap userTokens = new HashMap(); - String[] servers = user.split(","); - for(String serverInf : servers) { - String[] tokens = serverInf.split(" "); - userTokens.put(tokens[0], tokens[1]); - } - - SynBioHubFrontend sbhf = new SynBioHubFrontend(server); - sbhf.setUser(userTokens.get(server)); - MxToSBOL converter = new MxToSBOL(userTokens); - ByteArrayOutputStream out = new ByteArrayOutputStream(); - converter.toSBOL(request.getInputStream(), out); - sbhf.addToCollection(URI.create(uri), true, new ByteArrayInputStream(out.toByteArray())); - response.setStatus(HttpStatus.SC_CREATED); - } else if(request.getPathInfo().contentEquals("/importToCollection")) { - if(server == null || user == null || uri == null) { - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - SynBioHubFrontend sbhf = new SynBioHubFrontend(server); - sbhf.setUser(user); - SBOLDocument document = SBOLReader.read(request.getInputStream()); - ByteArrayOutputStream out = new ByteArrayOutputStream(); - SBOLWriter.setKeepGoing(true); - SBOLWriter.write(document, out); - sbhf.addToCollection(URI.create(uri), true, new ByteArrayInputStream(out.toByteArray())); - response.setStatus(HttpStatus.SC_CREATED); - } else if(request.getPathInfo().contentEquals("/createCollection")) { - String id = request.getParameter("id"); - String version = request.getParameter("version"); - String name = request.getParameter("name"); - String description = request.getParameter("description"); - String citations = request.getParameter("citations"); - String overwrite = request.getParameter("overwrite"); - - if(server == null || user == null || id == null || version == null || name == null || description == null || overwrite == null) { - response.setStatus(HttpStatus.SC_BAD_REQUEST); - return; - } - SynBioHubFrontend sbhf = new SynBioHubFrontend(server); - sbhf.setUser(user); - sbhf.createCollection(id, version, name, description, citations, overwrite.equals("true")); - response.setStatus(HttpStatus.SC_CREATED); - } - - } catch (SynBioHubException | IOException | SBOLValidationException | SBOLConversionException | TransformerFactoryConfigurationError | TransformerException | URISyntaxException e) { - ServletOutputStream outputStream = response.getOutputStream(); - InputStream inputStream = new ByteArrayInputStream(e.getMessage().getBytes()); - IOUtils.copy(inputStream, outputStream); - - response.setStatus(HttpStatus.SC_INTERNAL_SERVER_ERROR); - } - - } - - private void writeJSONBody(HttpServletResponse response, Object data) throws IOException { - Gson gson = new Gson(); - InputStream bodyStream = new ByteArrayInputStream(gson.toJson(data).getBytes()); - IOUtils.copy(bodyStream, response.getOutputStream()); - response.setContentType("application/json"); - } - - private void cacheResponse(HttpServletResponse response) { - response.setHeader("Cache-Control", "max-age=3600"); - } -} diff --git a/frontend/assetBundler.js b/frontend/assetBundler.js deleted file mode 100644 index 0a7dca82..00000000 --- a/frontend/assetBundler.js +++ /dev/null @@ -1,100 +0,0 @@ -const fs = require("fs").promises -const path = require("path") - -const BUNDLE_DIRS = [ - "src/assets/glyph_stencils/sequenceFeatures", - "src/assets/glyph_stencils/molecularSpecies", - "src/assets/glyph_stencils/interactions", - "src/assets/glyph_stencils/interactionNodes", - "src/assets/glyph_stencils/indicators", - "src/assets/glyph_stencils/utils", -] - -const BUNDLE_FILENAME = "bundle.xml" -const BUNDLE_ORDER_FILENAME = ".bundle_order" -const OUTPUT_DIR = "src/assets/glyph_stencils" - - -async function bundle() { - // create bundle for each directory - // using for loop instead of map so logs are in order - const bundles = [] - for (const dir of BUNDLE_DIRS) - bundles.push(await bundleDir(dir)) - - // join them all together into one string - const entireBundle = ` - ${bundles.join("\n")} -` - - // write bundle out - const bundlePath = path.join(OUTPUT_DIR, BUNDLE_FILENAME) - await fs.writeFile(bundlePath, entireBundle) - console.log("\nWrote final bundle:", bundlePath) -} - - -async function bundleDir(dir) { - console.log("\nBundling assets in", dir) - - // read in all files in directory - const files = await fs.readdir(dir) - console.log("\tFound", files.length, "files.") - - // try to sort files according to .bundle_order file - try { - // read in file - const bundleOrderContent = (await fs.readFile(path.join(dir, BUNDLE_ORDER_FILENAME), "utf8")) - .split(/\r?\n/) // split by line - .filter(item => !!item.trim()) // remove blanks - const bundleOrder = bundleOrderContent.filter(item => !item.startsWith("!")) - console.log("\tUsing bundle order.") - - // find exclusions - const exclude = bundleOrderContent - .filter(item => item.startsWith("!")) - .map(item => item.replace("!", "")) - - // sort files array - const findOrderIndex = fileName => { - const index = bundleOrder.findIndex(item => fileName.includes(item)) - return index == -1 ? bundleOrder.length + 1 : index - } - files.sort( - (a, b) => findOrderIndex(a) - findOrderIndex(b) - ) - - // filter out files that are in the exclusions - const filesExcluded = [] - exclude.forEach(exclusion => { - const index = files.findIndex(file => file.includes(exclusion)) - index != -1 && filesExcluded.push(files.splice(index, 1)) - }) - console.log("\tExcluding", filesExcluded.length, "files.") - } - catch (err) { console.error(err) } - - // await all file content to be loaded in - const filesContents = await Promise.all( - files - // grab only XMLs - .filter(fileName => fileName.endsWith('.xml')) - // make sure we don't grab a preexisting bundle - .filter(fileName => fileName != BUNDLE_FILENAME) - // read in file content - .map(fileName => fs.readFile(path.join(dir, fileName), "utf8")) - ) - - // combine content - const joinedContent = filesContents - // remove tag - .map(content => content.replace(/\<[\/]*shapes\>/g, "")) - // add subdir attribute to tag - .map(content => content.replace(/\ -
- -

Stroke

- -
- -
Color:
-
- -
- -
-
-
- -
- -
Opacity:
-
- -
- - - -
-
-
- -
- -
Width:
-
- -
- - - -
-
-
- -
-
- -
- -

Fill

- -
- -
Color:
-
- -
- -
-
-
- -
- -
Opacity:
-
- -
- - - -
-
-
-
- -
- -
- -
- -

Edge

- -
- -
Style:
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- -
- -
Corner:
-
- -
- - Sharp - Rounded - Curved - -
-
-
- -
- -
Arrow Size:
-
- -
- - - -
-
-
- -
- -
Source Margin:
-
- -
- - - -
-
-
-
- -
- -
Target Margin:
-
- -
- - - -
-
-
-
-
- -
- -
- -

Font

- -
- -
Color:
-
- -
- -
-
-
- -
- -
Opacity:
-
- -
- - - -
-
-
- -
- -
Size:
-
- -
- - - -
-
-
-
- -
- \ No newline at end of file diff --git a/frontend/src/app/embedded.service.ts b/frontend/src/app/embedded.service.ts deleted file mode 100644 index f01a49f8..00000000 --- a/frontend/src/app/embedded.service.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Injectable } from '@angular/core' -import { GraphService } from './graph.service' -import { ActivatedRoute } from '@angular/router' -import { Observable } from 'rxjs' - - -@Injectable({ - providedIn: 'root' -}) - -export class EmbeddedService { - - private parent: any - public sbol: Observable - - constructor(private route: ActivatedRoute) { - - // create observable that watches for messages - this.sbol = new Observable(observer => { - window.addEventListener('message', ({data, source}) => { - // check that message is coming from external window - if(source != window) { - this.parent = source - - // check if message includes SBOL - if(data && data.sbol) { - console.debug('[Embedded] Received SBOL from up above:', data.sbol.substring(0, 20) + '...') - observer.next(data.sbol) - } - } - }) - }) - } - - public isAppEmbedded(): boolean { - return !!this.parent - } - - public postMessage(message: any): void { - this.parent && this.parent.postMessage(message, '*') - } -} \ No newline at end of file diff --git a/frontend/src/app/error/error.component.css b/frontend/src/app/error/error.component.css deleted file mode 100644 index 525d55f1..00000000 --- a/frontend/src/app/error/error.component.css +++ /dev/null @@ -1,10 +0,0 @@ - -#error-frame { - width: 100%; - height: 400px; - border: none; -} - -#error-content-size { - width: 900px; -} \ No newline at end of file diff --git a/frontend/src/app/error/error.component.html b/frontend/src/app/error/error.component.html deleted file mode 100644 index 2c5685d3..00000000 --- a/frontend/src/app/error/error.component.html +++ /dev/null @@ -1,18 +0,0 @@ -

An error has occurred.

- - - - - Click to view more details. - - - -
- - - -
- -
- -
\ No newline at end of file diff --git a/frontend/src/app/glyph-menu/glyph-menu.component.html b/frontend/src/app/glyph-menu/glyph-menu.component.html deleted file mode 100644 index 83e1a8eb..00000000 --- a/frontend/src/app/glyph-menu/glyph-menu.component.html +++ /dev/null @@ -1,153 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - - - - - Sequence Features - - - - - - - - - - - - - - - - - - Molecular Species - - - - - - - - - - - - - - - - - Interactions - - - - - - - - - - - - - - - - - Interaction Nodes - - - - - - - - - - - - - - - - - Util - - - - - - - - - - - - - - - - - - - -
-
\ No newline at end of file diff --git a/frontend/src/app/glyph.service.ts b/frontend/src/app/glyph.service.ts deleted file mode 100644 index 2200d99f..00000000 --- a/frontend/src/app/glyph.service.ts +++ /dev/null @@ -1,213 +0,0 @@ -import { Injectable } from '@angular/core'; - -declare var require: any; -const mx = require('mxgraph')({ - mxImageBasePath: 'mxgraph/images', - mxBasePath: 'mxgraph' -}); - -@Injectable({ - providedIn: 'root' -}) -export class GlyphService { - - private sequenceFeatureXMLBundle: string = "assets/glyph_stencils/sequence_feature/bundle.xml"; - private sequenceFeatureXMLs: string[] = [ - // Strand glyphs - 'assets/glyph_stencils/sequence_feature/engineered-region.xml', - 'assets/glyph_stencils/sequence_feature/promoter.xml', - 'assets/glyph_stencils/sequence_feature/ribosome-entry-site.xml', - 'assets/glyph_stencils/sequence_feature/cds.xml', - 'assets/glyph_stencils/sequence_feature/terminator-specification.xml', - 'assets/glyph_stencils/sequence_feature/ncrna.xml', - 'assets/glyph_stencils/sequence_feature/origin-of-replication.xml', - 'assets/glyph_stencils/sequence_feature/origin-of-transfer.xml', - 'assets/glyph_stencils/sequence_feature/primer-binding-site.xml', - 'assets/glyph_stencils/sequence_feature/five-prime-sticky-restriction-site.xml', - 'assets/glyph_stencils/sequence_feature/three-prime-sticky-restriction-site.xml', - 'assets/glyph_stencils/sequence_feature/assembly-scar.xml', - 'assets/glyph_stencils/sequence_feature/operator.xml', - 'assets/glyph_stencils/sequence_feature/insulator.xml', - 'assets/glyph_stencils/sequence_feature/blunt-restriction-site.xml', - 'assets/glyph_stencils/sequence_feature/three-prime-overhang.xml', - 'assets/glyph_stencils/sequence_feature/five-prime-overhang.xml', - 'assets/glyph_stencils/sequence_feature/aptamer.xml', - //'assets/glyph_stencils/sequence_feature/dna-stability-element.xml', - 'assets/glyph_stencils/sequence_feature/polyA.xml', - 'assets/glyph_stencils/sequence_feature/specific-recombination-site.xml', - 'assets/glyph_stencils/sequence_feature/no-glyph-assigned.xml', - 'assets/glyph_stencils/sequence_feature/signature.xml', - 'assets/glyph_stencils/sequence_feature/location-dna.xml', - 'assets/glyph_stencils/sequence_feature/location-rna.xml', - 'assets/glyph_stencils/sequence_feature/location-protein.xml', - 'assets/glyph_stencils/sequence_feature/nuclease-site.xml', - 'assets/glyph_stencils/sequence_feature/protease-site.xml', - 'assets/glyph_stencils/sequence_feature/protein-stability-element.xml', - 'assets/glyph_stencils/sequence_feature/ribonuclease-site.xml', - 'assets/glyph_stencils/sequence_feature/rna-stability-element.xml', - //'assets/glyph_stencils/sequence_feature/chromosomal-locus.xml', - //'assets/glyph_stencils/sequence_feature/circular-plasmid.xml', - 'assets/glyph_stencils/sequence_feature/transcription-end.xml', - 'assets/glyph_stencils/sequence_feature/translation-end.xml', - //'assets/glyph_stencils/sequence_feature/test.xml', - ]; - - private molecularSpeciesXMLBundle: string = "assets/glyph_stencils/molecular_species/bundle.xml"; - private molecularSpeciesXMLs: string[] = [ - // 'molecular species' glyphs aka protein? - 'assets/glyph_stencils/molecular_species/macromolecule.xml', - 'assets/glyph_stencils/molecular_species/dsNA.xml', - 'assets/glyph_stencils/molecular_species/ssNA.xml', - 'assets/glyph_stencils/molecular_species/small-molecule.xml', - 'assets/glyph_stencils/molecular_species/no-glyph-assigned-ms.xml', - 'assets/glyph_stencils/molecular_species/replacement-glyph.xml', - 'assets/glyph_stencils/molecular_species/complex.xml', - ]; - - private interactionXMLBundle: string = "assets/glyph_stencils/interactions/bundle.xml"; - private interactionXMLs: string[] = [ - 'assets/glyph_stencils/interactions/control.xml', - 'assets/glyph_stencils/interactions/inhibition.xml', - 'assets/glyph_stencils/interactions/stimulation.xml', - 'assets/glyph_stencils/interactions/process.xml', - 'assets/glyph_stencils/interactions/degradation.xml', - ]; - - private interactionNodeXMLBundle: string = "assets/glyph_stencils/interaction_nodes/bundle.xml"; - private interactionNodeXMLs: string[] = [ - 'assets/glyph_stencils/interaction_nodes/association.xml', - 'assets/glyph_stencils/interaction_nodes/dissociation.xml', - 'assets/glyph_stencils/interaction_nodes/process.xml', - 'assets/glyph_stencils/molecular_species/replacement-glyph.xml', - ]; - - private indicatorXMLBundle: string = "assets/glyph_stencils/indicators/bundle.xml"; - private indicatorXMLs: string[] = [ - 'assets/glyph_stencils/indicators/composite.xml', - 'assets/glyph_stencils/indicators/variant.xml', - 'assets/glyph_stencils/indicators/error.xml', - ]; - - private utilXMLBundle: string = "assets/glyph_stencils/util/bundle.xml"; - private utilXMLs: string[] = [ - 'assets/backbone.xml', - 'assets/textBox.xml', - 'assets/module.xml', - ]; - - private sequenceFeatures: any = {}; - private molecularSpecies: any = {}; - private interactions: any = {}; - private interactionNodes: any = {}; - private indicators: any = {}; - private utils: any = {}; - - private xmlBundle: string = "assets/glyph_stencils/bundle.xml" - - constructor() { - this.loadXMLBundle(this.xmlBundle) - } - - loadXMLBundle(bundleFile) { - let req = mx.mxUtils.load(bundleFile); - let root = req.getDocumentElement(); - let shape = root.firstChild; - - while (shape != null) { - if (shape.nodeType == mx.mxConstants.NODETYPE_ELEMENT) { - const name = shape.getAttribute('name'); - const subDir = shape.getAttribute('subdir'); - const centered = shape.getAttribute('centered'); - - const stencil = new mx.mxStencil(shape); - this[subDir][name] = [stencil, (centered && centered.toLowerCase() == 'true')]; - } - shape = shape.nextSibling; - } - } - - // unused now - loadXMLs(xml_list, glyph_list) { - xml_list.forEach((filename) => this.loadXML(filename, glyph_list)); - } - - // unused now - loadXML(xmlFile, glyph_list) { - let req = mx.mxUtils.load(xmlFile); - let root = req.getDocumentElement(); - let shape = root.firstChild; - - while (shape != null) { - if (shape.nodeType == mx.mxConstants.NODETYPE_ELEMENT) { - const name = shape.getAttribute('name'); - const centered = shape.getAttribute('centered'); - - const stencil = new mx.mxStencil(shape); - - glyph_list[name] = [stencil, (centered && centered.toLowerCase() == 'true')]; - } - shape = shape.nextSibling; - } - } - - getElements(glyph_list) { - const svgs = {}; - - for (const name in glyph_list) { - const stencil = glyph_list[name][0]; - - let elt = document.createElement('svg'); - let canvas = new mx.mxSvgCanvas2D(elt); - let shape = new mx.mxShape(stencil); - - canvas.setStrokeColor('#000000'); - canvas.setFillColor('none'); - - stencil.drawShape(canvas, shape, 0, 0, 50, 50); - - svgs[name] = elt; - } - - return svgs; - } - - getSequenceFeatureGlyphs() { - return this.sequenceFeatures; - } - - getMolecularSpeciesGlyphs() { - return this.molecularSpecies; - } - - getIndicatorGlyphs() { - return this.indicators; - } - - getInteractionNodeGlyphs() { - return this.interactionNodes; - } - - getUtilGlyphs() { - return this.utils; - } - - getUtilElements() { - return this.getElements(this.utils) - } - - getInteractionElements() { - return this.getElements(this.interactions); - } - - getInteractionNodeElements() { - return this.getElements(this.interactionNodes); - } - - getMolecularSpeciesElements() { - return this.getElements(this.molecularSpecies); - } - - getSequenceFeatureElements() { - return this.getElements(this.sequenceFeatures); - } -} diff --git a/frontend/src/app/glyphInfo.ts b/frontend/src/app/glyphInfo.ts deleted file mode 100644 index 2eed4b19..00000000 --- a/frontend/src/app/glyphInfo.ts +++ /dev/null @@ -1,141 +0,0 @@ -import { ParsedEventType } from '@angular/compiler'; -import { CanvasAnnotation } from './canvasAnnotation'; -import { Info } from './info'; -import { environment } from 'src/environments/environment'; -import { customAlphabet } from 'nanoid'; -import { alphanumeric } from 'nanoid-dictionary'; - -export class GlyphInfo extends Info { - // Remember that when you change this you need to change the encode function in graph service - static counter: number = 0; - partType: string; - otherTypes: string[]; - partRole: string; - otherRoles: string[]; - partRefine: string; - name: string; - description: string; - version: string; - sequence: string; - sequenceURI: string; - annotations: CanvasAnnotation[]; - derivedFroms: string[]; - generatedBys: string[]; - - constructor(partType?: string, id?: string) { - super(); - - this.version = "1" - - if (id) { - this.displayID = id - // this.displayID = 'id_' + (customAlphabet(alphanumeric, 5)()); - } - else - this.displayID = 'id' + (GlyphInfo.counter++); - - if (partType) { - this.partType = partType; - } else { - this.partType = 'DNA region'; - } - } - - makeCopy() { - const copy: GlyphInfo = new GlyphInfo(); - copy.partType = this.partType; - copy.otherTypes = this.otherTypes ? this.otherTypes.slice() : null; - copy.partRole = this.partRole; - copy.otherRoles = this.otherRoles ? this.otherRoles.slice() : null; - copy.partRefine = this.partRefine; - copy.displayID = this.displayID; - copy.name = this.name; - copy.description = this.description; - copy.version = this.version; - copy.sequence = this.sequence; - copy.sequenceURI = this.sequenceURI; - copy.uriPrefix = this.uriPrefix; - copy.annotations = this.annotations ? this.annotations.slice() : null; - copy.derivedFroms = this.derivedFroms ? this.derivedFroms.slice() : null; - copy.generatedBys = this.generatedBys ? this.generatedBys.slice() : null; - return copy; - } - - copyDataFrom(other: GlyphInfo) { - this.partType = other.partType; - this.otherTypes = other.otherTypes ? other.otherTypes.slice() : null; - this.partRole = other.partRole; - this.otherRoles = other.otherRoles ? other.otherRoles.slice() : null; - this.partRefine = other.partRefine; - this.displayID = other.displayID; - this.name = other.name; - this.description = other.description; - this.version = other.version; - this.sequence = other.sequence; - this.sequenceURI = other.sequenceURI; - this.uriPrefix = other.uriPrefix; - this.annotations = other.annotations ? other.annotations.slice() : null; - this.derivedFroms = other.derivedFroms ? other.derivedFroms.slice() : null; - this.generatedBys = other.generatedBys ? other.generatedBys.slice() : null; - } - - getFullURI(): string { - let fullURI = this.uriPrefix + '/' + this.displayID; - if (this.version && this.version.length > 0) { - fullURI += '/' + this.version; - } - return fullURI; - } - - encode(enc: any) { - let node = enc.document.createElement('GlyphInfo'); - if (this.partType) - node.setAttribute("partType", this.partType); - if (this.otherTypes) { - let otherTypesNode = enc.encode(this.otherTypes); - otherTypesNode.setAttribute("as", "otherTypes"); - node.appendChild(otherTypesNode); - } - if (this.partRole) - node.setAttribute("partRole", this.partRole); - if (this.otherRoles) { - let otherRolesNode = enc.encode(this.otherRoles); - otherRolesNode.setAttribute("as", "otherRoles"); - node.appendChild(otherRolesNode); - } - if (this.partRefine) - node.setAttribute("partRefine", this.partRefine); - if (this.displayID) - node.setAttribute("displayID", this.displayID); - if (this.name && this.name.length > 0) - node.setAttribute("name", this.name); - if (this.description && this.description.length > 0) - node.setAttribute("description", this.description); - if (this.version && this.version.length > 0) - node.setAttribute("version", this.version); - if (this.sequence && this.sequence.length > 0) - node.setAttribute("sequence", this.sequence); - if (this.sequenceURI && this.sequenceURI.length > 0) - node.setAttribute("sequenceURI", this.sequenceURI); - if (this.uriPrefix) - node.setAttribute("uriPrefix", this.uriPrefix); - - if (this.annotations) { - let annotationsNode = enc.encode(this.annotations); - annotationsNode.setAttribute("as", "annotations"); - node.appendChild(annotationsNode); - } - if (this.derivedFroms) { - let derivedFromsNode = enc.encode(this.derivedFroms); - derivedFromsNode.setAttribute("as", "derivedFroms"); - node.appendChild(derivedFromsNode); - } - if (this.generatedBys) { - let generatedBysNode = enc.encode(this.generatedBys); - generatedBysNode.setAttribute("as", "generatedBys"); - node.appendChild(generatedBysNode); - } - - return node; - } -} diff --git a/frontend/src/app/graph.service.ts b/frontend/src/app/graph.service.ts deleted file mode 100644 index c61e852f..00000000 --- a/frontend/src/app/graph.service.ts +++ /dev/null @@ -1,1770 +0,0 @@ -/* -* GraphService -* -* This service controls the main editing canvas -*/ - -///// - -import { Injectable } from '@angular/core'; -import * as mxCell from 'mxgraph'; -import { GlyphInfo } from './glyphInfo'; -import { MetadataService } from './metadata.service'; -import { GlyphService } from './glyph.service'; -import { InteractionInfo } from './interactionInfo'; -import { environment } from 'src/environments/environment'; -import { MatDialog } from '@angular/material'; -import { GraphEdits } from './graph-edits'; -import { GraphBase, mx } from './graph-base'; -import { GraphHelpers } from './graph-helpers'; -import { StyleInfo } from './style-info'; -import { ModuleInfo } from './moduleInfo'; -import { Info } from './info'; -import { CombinatorialInfo } from './combinatorialInfo'; -import { EmbeddedService } from './embedded.service'; -import { FilesService } from './files.service'; -import { Observable } from 'rxjs'; -import { debounceTime } from 'rxjs/operators'; - -@Injectable({ - providedIn: 'root' -}) -export class GraphService extends GraphHelpers { - - constructor(dialog: MatDialog, metadataService: MetadataService, glyphService: GlyphService, embeddedService: EmbeddedService, fileService: FilesService) { - super(dialog, metadataService, glyphService); - - // handle selection changes - this.graph.getSelectionModel().addListener(mx.mxEvent.CHANGE, mx.mxUtils.bind(this, this.handleSelectionChange)); - - // handle double click on glyph to enter it - this.graph.addListener(mx.mxEvent.DOUBLE_CLICK, mx.mxUtils.bind(this, this.enterGlyph)); - - - // --- For when SBOLCanvas is embedded in another app --- - - // send changes in mxgraph model to parent - // doing this via an Observable so we can debounce - new Observable(observer => { - this.graph.getModel().addListener(mx.mxEvent.CHANGE, mx.mxUtils.bind(this, () => { - observer.next(this.getGraphXML()) - })) - }) - .pipe(debounceTime(100)) - .subscribe(graphXml => { - if (embeddedService.isAppEmbedded()) { - console.debug('[GraphService] Model changed. Sending to parent.') - fileService.exportDesignToString({}, 'SBOL2', graphXml).subscribe(sbol => { - embeddedService.postMessage({ sbol }) - }) - } - }) - - // observe changes in parent SBOL - embeddedService.sbol.subscribe(sbolContent => { - console.debug('[GraphService] Loading SBOL from external message...') - fileService.convertToMxGraph(sbolContent).subscribe(result => { - this.setGraphToXML(result) - console.debug('[GraphService] Done.') - - // post message back letting parent know it loaded - embeddedService.postMessage('graphServiceLoadedSBOL') - }) - }) - } - - isSelectedAGlyph(): boolean { - let selected = this.graph.getSelectionCells(); - if (selected.length != 1) { - return false; - } - return selected[0].isSequenceFeatureGlyph(); - } - - isRootAComponentView(): boolean { - return this.viewStack[0].isComponentView(); - } - - isComposite(sequenceFeature): boolean { - if (!sequenceFeature || !sequenceFeature.isSequenceFeatureGlyph()) { - return false; - } - return sequenceFeature.getCircuitContainer(this.graph).children.length > 1; - } - - isVariant(sequenceFeature): boolean { - if (!sequenceFeature || !sequenceFeature.isSequenceFeatureGlyph()) { - return false; - } - let combinatorial = this.getCombinatorialWithTemplate(sequenceFeature.getParent().value); - if (!combinatorial) - return false; - return combinatorial.getVariableComponentInfo(sequenceFeature.getId()); - } - - /** - * Given the interaction type, checks the selected cells source and target to see if it's allowed. - * @param interactionType - * @returns - */ - isInteractionTypeAllowed(interactionType: string): boolean { - let selected = this.graph.getSelectionCells(); - if (selected.length > 1 || selected.length == 0 || (!selected[0].isInteraction() && !selected[0].isInteractionNode)) { - return false; - } - - if (selected[0].isInteraction()) { - let result = this.validateInteraction(interactionType, selected[0].source, selected[0].target); - if (result == null || result == '') { - return true; - } else { - return false; - } - } - - if (selected[0].isInteractionNode()) { - return interactionType == "Biochemical Reaction" || interactionType == "Dissociation" || interactionType == "Genetic Production" || interactionType == "Non-Covalent Binding"; - } - - return false; - } - - isSelectedTargetEdge(): boolean { - let selected = this.graph.getSelectionCells(); - if (selected.lengh > 1 || selected.length == 0 || !selected[0].isInteraction()) { - return false; - } - - return selected[0].target == null || !selected[0].target.isInteractionNode(); - } - - isSelectedSourceEdge(): boolean { - let selected = this.graph.getSelectionCells(); - if (selected.lengh > 1 || selected.length == 0 || !selected[0].isInteraction()) { - return false; - } - - return selected[0].source == null || !selected[0].source.isInteractionNode(); - } - - /** - * Recursively checks that all leaf children have sequences - * @param sequenceFeature A cell representing a sequence feature - */ - hasSequence(sequenceFeature): boolean { - if (!sequenceFeature || !sequenceFeature.isSequenceFeatureGlyph()) { - return false; - } - // check if the child view has more than just a backbone - let circuitContainer = sequenceFeature.getCircuitContainer(this.graph); - if (circuitContainer.children.length > 1) { - for (let child of circuitContainer.children) { - if (child.isSequenceFeatureGlyph() && !this.hasSequence(child)) { - return false; - } - } - return true; - } - // no children? we must be a leaf node, check for a sequence - let glyphInfo = (this.getFromInfoDict(sequenceFeature.getValue())); - if (!glyphInfo || !glyphInfo.sequence || glyphInfo.sequence.length <= 0) { - return false; - } - return true; - } - - /** - * Forces the graph to redraw - */ - repaint() { - this.graph.refresh(); - } - - getSelectedCellID(): string { - let selected = this.graph.getSelectionCells(); - if (selected.length != 1) { - return null; - } - return selected[0].getId(); - } - - /** - * This method is called by the UI when the user turns scars on - * or off. - */ - toggleScars() { - // Toggle showing scars - if (this.showingScars) { - this.showingScars = false; - } else { this.showingScars = true; } - - // We hide scar glyphs by setting their widths to 0. - console.debug("showing scars now equals " + this.showingScars); - this.setAllScars(this.showingScars); - } - - /** - * Sets all scars in the current view - * @param isCollapsed - */ - setAllScars(isCollapsed: boolean) { - this.graph.getModel().beginUpdate(); - try { - let allGraphCells = this.graph.getDefaultParent().children; - for (let i = 0; i < allGraphCells.length; i++) { - if (allGraphCells[i].isCircuitContainer()) { - this.setScars(allGraphCells[i], this.showingScars); - } - } - } finally { - this.graph.getModel().endUpdate(); - } - } - - /** - * Changes all scars in a circuit container. - * @param circuitContainer - * @param isCollapsed - */ - setScars(circuitContainer, isCollapsed: boolean) { - let children = circuitContainer.children; - for (let i = 0; i < children.length; i++) { - if (children[i].isScar()) { - console.debug("scar found"); - let child = children[i]; - const geo = new mx.mxGeometry(0, 0, 0, 0); - geo.x = 0; - geo.y = 0; - geo.height = GraphBase.sequenceFeatureGlyphHeight; - - if (this.showingScars) { - geo.width = GraphBase.sequenceFeatureGlyphWidth; - } else { - geo.width = 0; - } - this.graph.getModel().setGeometry(child, geo); - } - } - circuitContainer.refreshCircuitContainer(this.graph) - } - - /** - * This method is called by the UI when the user asks to flip a - * sequence feature glyph. - * It swaps direction east/west. - */ - async flipSequenceFeatureGlyph() { - let selectionCells = this.graph.getSelectionCells(); - - // a circular backbone cannot be flipped - if(selectionCells.filter(cell => cell.stayAtBeginning || cell.stayAtEnd).length > 0) { - this.showError("A circular backbone cannot be flipped."); - return; - } - - // flip any selected glyphs - let parentInfos = new Set(); - for (let cell of selectionCells) { - if (cell.isSequenceFeatureGlyph()) { - // add the item to check ownership - parentInfos.add(this.getParentInfo(cell)); - } - } - for (let parentInfo of Array.from(parentInfos.values())) { - if (parentInfo.uriPrefix != environment.baseURI && !await this.promptMakeEditableCopy(parentInfo.displayID)) { - return; - } - } - - try { - this.graph.getModel().beginUpdate(); - - for (let cell of selectionCells) { - if (cell.isSequenceFeatureGlyph()) { - - // Make the cell face east/west - let direction = this.graph.getCellStyle(cell)[mx.mxConstants.STYLE_DIRECTION]; - console.debug("current glyph direction setting = " + direction); - - if (direction == undefined) { - console.warn("direction style undefined. Assuming east, and turning to west"); - this.graph.setCellStyles(mx.mxConstants.STYLE_DIRECTION, "west", [cell]); - } else if (direction === "east") { - this.graph.setCellStyles(mx.mxConstants.STYLE_DIRECTION, "west", [cell]); - console.debug("turning west"); - } else if (direction == "west") { - this.graph.setCellStyles(mx.mxConstants.STYLE_DIRECTION, "east", [cell]); - console.debug("turning east"); - } - } else if (cell.isInteraction()) { - this.flipInteractionEdge(cell); - } else if (cell.isInteractionNode()) { - let edges = this.graph.getModel().getEdges(cell); - for (let edge of edges) { - this.flipInteractionEdge(edge); - } - } - } - - // sync circuit containers - let circuitContainers = []; - for (let cell of selectionCells) { - if (cell.isSequenceFeatureGlyph()) { - this.syncCircuitContainer(cell.getParent()); - } - } - - for (let parentInfo of Array.from(parentInfos.values())) { - // change the owner - this.changeOwnership(parentInfo.getFullURI()); - } - - } finally { - this.graph.getModel().endUpdate(); - } - } - - /** - * "Drills in" to replace the canvas with the selected glyph's component/module view - */ - enterGlyph() { - let selection = this.graph.getSelectionCells(); - if (selection.length != 1) { - return; - } - - if (!selection[0].isSequenceFeatureGlyph() && !selection[0].isModule()) { - return; - } - - this.graph.getModel().beginUpdate(); - try { - let viewCell = this.graph.getModel().getCell(selection[0].getValue()); - // doing this in the graph edit breaks things in the undo, so we put it here - viewCell.refreshViewCell(this.graph); - let zoomEdit = new GraphEdits.zoomEdit(this.graph.getView(), selection[0], this); - this.graph.getModel().execute(zoomEdit); - } finally { - this.graph.getModel().endUpdate(); - } - } - - /** - * Moves up the drilling hierarchy, restoring the canvas to how it was before "Drilling in" - * (If "enterGlyph" has not been called, ie the canvas is already - * at the top of the drilling hierarchy, does nothing) - */ - exitGlyph() { - // the root view should always be left on the viewStack - if (this.viewStack.length > 1) { - let zoomEdit = new GraphEdits.zoomEdit(this.graph.getView(), null, this); - this.graph.getModel().execute(zoomEdit); - } - } - - /** - * Turns the given element into a dragsource for creating empty DNA strands - */ - makeBackboneDragsource(element) { - const insertGlyph = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { - this.addBackboneAt(x - GraphBase.sequenceFeatureGlyphWidth / 2, y - GraphBase.sequenceFeatureGlyphHeight / 2); - }); - - this.makeGeneralDragsource(element, insertGlyph); - } - - /** - * Creates an empty DNA strand at the center of the current view - */ - addBackbone() { - const pt = this.getDefaultNewCellCoords(); - this.addBackboneAt(pt.x, pt.y); - } - - /** - * Creates an empty DNA strand at the given coordinates - */ - addBackboneAt(x, y) { - this.graph.getModel().beginUpdate(); - try { - let glyphInfo; - if (this.graph.getCurrentRoot().isModuleView()) { - glyphInfo = new GlyphInfo(); - super.addToInfoDict(glyphInfo); - } else { - glyphInfo = this.getFromInfoDict(this.graph.getCurrentRoot().getId()); - } - const circuitContainer = this.graph.insertVertex(this.graph.getDefaultParent(), null, glyphInfo.getFullURI(), x, y, GraphBase.sequenceFeatureGlyphWidth, GraphBase.sequenceFeatureGlyphHeight, GraphBase.STYLE_CIRCUIT_CONTAINER); - const backbone = this.graph.insertVertex(circuitContainer, null, '', 0, GraphBase.sequenceFeatureGlyphHeight / 2, GraphBase.sequenceFeatureGlyphWidth, 1, GraphBase.STYLE_BACKBONE); - - backbone.refreshBackbone(this.graph); - - circuitContainer.setConnectable(false); - backbone.setConnectable(false); - - // The new circuit should be selected - this.graph.clearSelection(); - this.graph.setSelectionCell(circuitContainer); - } finally { - this.graph.getModel().endUpdate(); - } - } - - /** - * Returns the
that this graph displays to - */ - getGraphDOM() { - return this.graphContainer; - } - - /** - * Deletes the currently selected cell - */ - async delete() { - const selectedCells = this.graph.getSelectionCells(); - if (selectedCells == null) { - return; - } - - // check for ownership prompt - let containers = new Set(); - if (this.graph.getCurrentRoot()) { - let ownershipPrompt = false; - for (let cell of selectedCells) { - if (cell.isSequenceFeatureGlyph()) { - ownershipPrompt = true; - containers.add(cell.getParent().getValue()); - } - } - for (let container of Array.from(containers.values())) { - let glyphInfo; - if (this.graph.getCurrentRoot().isComponentView()) { - glyphInfo = this.getFromInfoDict(this.graph.getCurrentRoot().getId()); - } else { - glyphInfo = this.getFromInfoDict(container); - } - if (ownershipPrompt && glyphInfo.uriPrefix != environment.baseURI && !await this.promptMakeEditableCopy(glyphInfo.displayID)) { - return; - } - } - } - - this.graph.getModel().beginUpdate(); - try { - let circuitContainers = []; - for (let cell of selectedCells) { - if (cell.isSequenceFeatureGlyph()) { - // if it's a sequence feature and it has a combinatorial, remove the variable component - if (cell.isSequenceFeatureGlyph()) { - let combinatorial = this.getCombinatorialWithTemplate(cell.getParent().getValue()); - // TODO make this undoable - if (combinatorial) - combinatorial.removeVariableComponentInfo(cell.getId()); - - if(cell.stayAtBeginning || cell.stayAtEnd) cell.getParent().circularBackbone = false; - - circuitContainers.push(cell.getParent()); - } - } else if (cell.isCircuitContainer() && this.graph.getCurrentRoot() && this.graph.getCurrentRoot().isComponentView()) - circuitContainers.push(cell); - } - - // If we are not at the top level, we need to check - // for a corner case where we can't allow the backbone - // to be deleted - if (this.graph.getCurrentRoot() != null && this.graph.getCurrentRoot().isComponentView()) { - let newSelection = []; - for (let cell of selectedCells) { - // Anything other than the backbone gets added to - // the revised selection - if (!(cell.isBackbone() || cell.isCircuitContainer())) { - newSelection.push(cell); - } else { - let circuitContainer; - if (cell.isBackbone()) { - circuitContainer = cell.getParent(); - } else if (cell.isCircuitContainer()) { - circuitContainer = cell; - } - - // If we find a backbone is selected, add all it's children - if (circuitContainer.children) { - for (let child of circuitContainer.children) { - if (!child.isBackbone()) { - newSelection.push(child); - } - } - } - } - } - this.graph.setSelectionCells(newSelection); - } - - // remove interactions with modules if the item it connects to is being removed - for (let selectedCell of selectedCells) { - if (selectedCell.isCircuitContainer() || selectedCell.isMolecularSpeciesGlyph()) { - this.updateInteractions(selectedCell.getValue() + "_" + selectedCell.getId(), null); - } - } - - this.editor.execute('delete'); - - this.trimUnreferencedCells(); - this.trimUnreferencedCombinatorials(); - this.trimUnreferencedInfos(); - - // sync circuit containers - for (let circuitContainer of circuitContainers) { - this.syncCircuitContainer(circuitContainer); - } - - // obtain ownership - for (let container of Array.from(containers)) { - this.changeOwnership(container); - } - - for (let cell of circuitContainers) { - cell.refreshCircuitContainer(this.graph); - } - - // repositions the circular backbone if the circular backbone is now empty - if(circuitContainers.length > 0 && circuitContainers[0].children.length === 3 - && circuitContainers[0].circularBackbone) { - this.repositionCircularBackbone(circuitContainers[0]); - } - } finally { - this.graph.getModel().endUpdate(); - } - } - - /** - * Undoes the most recent changes - */ - undo() { - // (un/re)doing is managed by the editor; it only works - // if all changes are encapsulated by graphModel.(begin/end)Update - - // clearing the selection avoids a lot of exceptions from mxgraph code for some reason. - this.graph.clearSelection(); - this.editor.execute('undo'); - - //console.log(this.editor.undoManager); - - // If the undo caused scars to become visible, we should update - this.showingScars = this.getScarsVisible(); - - // refresh to update cell labels - if (this.graph.getCurrentRoot()) { - this.graph.refresh(this.graph.getCurrentRoot()); - } - - // selections after an undo break things if annother undo/redo happens - this.filterSelectionCells(); - } - - /** - * Redoes the most recent changes - */ - redo() { - //console.log(this.editor.undoManager); - - this.graph.clearSelection(); - this.editor.execute('redo'); - - // If the undo caused scars to become visible, we should update - this.showingScars = this.getScarsVisible(); - - // refresh to update cell labels - if (this.graph.getCurrentRoot()) { - this.graph.refresh(this.graph.getCurrentRoot()); - } - - // selections after an undo break things if annother undo/redo happens - this.filterSelectionCells(); - } - - zoomIn() { - this.graph.zoomIn(); - } - - zoomOut() { - this.graph.zoomOut(); - } - - setZoom(scale: number) { - this.graph.zoomTo(scale); - } - - getZoom(): number { - return this.graph.getView().getScale(); - } - - sendSelectionToFront() { - this.graph.orderCells(false) - } - - sendSelectionToBack() { - this.graph.orderCells(true) - } - - fitCamera() { - // graph.fit() does most of the work. however by default it will zoom in far too much. - // Instead, it makes sense to stay at the user's zoom level unless it is too small to - // contain everything. - let currentScale = this.graph.getView().getScale(); - this.graph.maxFitScale = currentScale; - this.graph.fit(); - - // if the user had it widely zoomed out, however, stupidly graph.fit() - // doesn't center the view on cells. It puts them in the top left. - this.graph.center(); - } - - /** - * Turns the given element into a dragsource for creating - * sequenceFeatureGlyphs of the type specified by 'stylename.' - */ - makeSequenceFeatureDragsource(element, stylename) { - const insertGlyph = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { - this.addSequenceFeatureAt(stylename, x - GraphBase.sequenceFeatureGlyphWidth / 2, y - GraphBase.sequenceFeatureGlyphHeight / 2); - }); - this.makeGeneralDragsource(element, insertGlyph); - } - - /** - * Adds a sequenceFeatureGlyph. - * The new glyph's location is based off the user's selection. - */ - async addSequenceFeature(name) { - this.graph.getModel().beginUpdate(); - try { - if (!this.atLeastOneCircuitContainerInGraph()) { - // if there is no strand, quietly make one - // stupid user - this.addBackbone(); - // this changes the selection, so the rest of this method works fine - } - - // let the graph choose an arbitrary cell from the selection, - // we'll pretend it's the only one selected - const selection = this.graph.getSelectionCell(); - - // if selection is nonexistent, or is not part of a strand, there is no suitable place. - if (!selection || !(selection.isSequenceFeatureGlyph() || selection.isCircuitContainer())) { - return; - } - - const circuitContainer = selection.isCircuitContainer() ? selection : selection.getParent(); - - // use y coord of the strand - let y = circuitContainer.getGeometry().y; - - // x depends on the exact selection - let x; - if (selection.isCircuitContainer()) { - x = selection.getGeometry().x + selection.getGeometry().width; - } else { - x = circuitContainer.getGeometry().x + selection.getGeometry().x + 1; - } - - // Add it - await this.addSequenceFeatureAt(name, x, y, circuitContainer); - } finally { - this.graph.getModel().endUpdate(); - } - } - - async addCircularPlasmid() { - this.graph.getModel().beginUpdate(); - try { - if (!this.atLeastOneCircuitContainerInGraph()) { - // if there is no strand, quietly make one - // stupid user - this.addBackbone(); - // this changes the selection, so the rest of this method works fine - } - - // let the graph choose an arbitrary cell from the selection, - // we'll pretend it's the only one selected - const selection = this.graph.getSelectionCell(); - - // if selection is nonexistent, or is not part of a strand, there is no suitable place. - if (!selection || !(selection.isSequenceFeatureGlyph() || selection.isCircuitContainer())) { - return; - } - - const circuitContainer = selection.isCircuitContainer() ? selection : selection.getParent(); - - // there cannot be more than one circular backbone on a circuit container - if(circuitContainer.circularBackbone) return; - - circuitContainer.circularBackbone = true; - - // x is at the beginning of the circuit container - let x = circuitContainer.getGeometry().x; - - // use y coord of the strand - let y = circuitContainer.getGeometry().y; - - // add the left side of the circular cell - const circCellLeft = await this.addSequenceFeatureAt("Cir (Circular Backbone Left)", - x, y, circuitContainer, { - connectable: false, - glyphWidth: 1, - }); - circCellLeft.stayAtBeginning = true; - - // add the right side of the circular cell - const circCellRight = await this.addSequenceFeatureAt("Cir (Circular Backbone Right)", - x + circuitContainer.getGeometry().width, y, - circuitContainer, { - connectable: false, - glyphWidth: 1, - }); - circCellRight.stayAtEnd = true; - - // if the only cells are the backbone and the circular backbone the right circular backbone needs - // to be repositioned and the size of the circuit container needs to reflect that - if(circuitContainer.getGeometry().width == 2) { - this.repositionCircularBackbone(circuitContainer); - } - } finally { - this.graph.getModel().endUpdate(); - } - } - - /** - * Adds a sequenceFeatureGlyph. - * - * circuitContainer (optional) specifies the strand to add to. - * If not specified, it is inferred by x,y. - * - * x,y are also used to determine where on the strand the new - * glyph is added (first, second, etc) - */ - async addSequenceFeatureAt(name, x, y, circuitContainer?, { - connectable = true, - glyphWidth = GraphBase.sequenceFeatureGlyphWidth, - glyphStyle = undefined, - cellValue = undefined, - } = {}) { - let sequenceFeatureCell; - let cirBackboneLeftCell; - - // ownership change check - if (this.graph.getCurrentRoot()) { - let glyphInfo; - if (this.graph.getCurrentRoot().isComponentView()) { - // normal case - glyphInfo = this.getFromInfoDict(this.graph.getCurrentRoot().getId()); - } else if (this.atLeastOneCircuitContainerInGraph()) { - // edge case that we're adding to a container in a module view - if (!circuitContainer) { - circuitContainer = this.getClosestCircuitContainerToPoint(x, y); - } - glyphInfo = this.getFromInfoDict(circuitContainer.getValue()); - } - if (glyphInfo && glyphInfo.uriPrefix != environment.baseURI && !await this.promptMakeEditableCopy(glyphInfo.displayID)) { - return; - } - } - - this.graph.getModel().beginUpdate(); - try { - // Make sure scars are/become visible if we're adding one - if (name.includes(GraphBase.STYLE_SCAR) && !this.showingScars) { - this.toggleScars(); - } - - if (!this.atLeastOneCircuitContainerInGraph()) { - // if there is no strand, quietly make one - this.addBackboneAt(x, y); - } - - if (!circuitContainer) { - circuitContainer = this.getClosestCircuitContainerToPoint(x, y); - } - - // transform coords to be relative to parent - x = x - circuitContainer.getGeometry().x; - y = y - circuitContainer.getGeometry().y; - - let glyphInfo = new GlyphInfo(); - - // if the container is a circular backbone then both sides should have the same cellValue - if (glyphWidth == 1) { - circuitContainer.children - .filter(cell => cell.stayAtBeginning) - .forEach(child => { - cellValue = child.value; - cirBackboneLeftCell = child; - }); - } - - if(cellValue == null) { - // create the glyph info and add it to the dictionary - glyphInfo.partRole = name; - this.addToInfoDict(glyphInfo); - } - - // Insert new glyph and its components - sequenceFeatureCell = this.graph.insertVertex( - circuitContainer, - null, - cellValue == null ? glyphInfo.getFullURI() : cellValue, - x, y, glyphWidth, GraphBase.sequenceFeatureGlyphHeight, - glyphStyle || GraphBase.STYLE_SEQUENCE_FEATURE + name - ); - - this.createViewCell(glyphInfo.getFullURI()); - sequenceFeatureCell.setConnectable(connectable); - - // Sorts the new SequenceFeature into the correct position in parent's array - this.horizontalSortBasedOnPosition(circuitContainer); - - // The new glyph should be selected - this.graph.clearSelection(); - - // if the new sequence feature is a circular backbone both circular backbones should be selected - if(cirBackboneLeftCell !== undefined) this.graph.setSelectionCells([cirBackboneLeftCell, sequenceFeatureCell]); - else if(glyphWidth !== 1) this.graph.setSelectionCell(sequenceFeatureCell); - - // perform the ownership change - if (this.graph.getCurrentRoot()) { - let glyphInfo; - if (this.graph.getCurrentRoot().isComponentView()) { - // normal case - glyphInfo = this.getFromInfoDict(this.graph.getCurrentRoot().getId()); - } else { - // edge case that we're adding to a container in a module view - glyphInfo = this.getFromInfoDict(circuitContainer.getValue()); - } - if (glyphInfo.uriPrefix != environment.baseURI) { - this.changeOwnership(glyphInfo.getFullURI()); - } - } - - // synchronize circuit containers - this.syncCircuitContainer(circuitContainer); - } finally { - this.graph.getModel().endUpdate(); - } - - return sequenceFeatureCell; - } - - /** - * Turns the given element into a dragsource for creating molecular species glyphs - */ - makeMolecularSpeciesDragsource(element, stylename) { - const insertGlyph = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { - this.addMolecularSpeciesAt(stylename, x - GraphBase.molecularSpeciesGlyphWidth / 2, y - GraphBase.molecularSpeciesGlyphHeight / 2); - }); - this.makeGeneralDragsource(element, insertGlyph); - } - - /** - * Creates a molecular species glyph of the given type at the center of the current view - */ - addMolecularSpecies(name) { - const pt = this.getDefaultNewCellCoords(); - this.addMolecularSpeciesAt(name, pt.x, pt.y); - } - - /** - * Creates a molecular species glyph of the given type at the given location - */ - addMolecularSpeciesAt(name, x, y) { - this.graph.getModel().beginUpdate(); - try { - - //TODO partRoles for proteins - let proteinInfo = new GlyphInfo(); - proteinInfo.partType = this.moleculeNameToType(name); - this.addToInfoDict(proteinInfo); - - const molecularSpeciesGlyph = this.graph.insertVertex(this.graph.getDefaultParent(), null, proteinInfo.getFullURI(), x, y, - GraphBase.molecularSpeciesGlyphWidth, GraphBase.molecularSpeciesGlyphHeight, GraphBase.STYLE_MOLECULAR_SPECIES + name); - molecularSpeciesGlyph.setConnectable(true); - - // The new glyph should be selected - this.graph.clearSelection(); - this.graph.setSelectionCell(molecularSpeciesGlyph); - } finally { - this.graph.getModel().endUpdate(); - } - - console.log(this.graph.getModel().cells); - } - - makeInteractionNodeDragsource(element, stylename) { - const insertGlyph = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { - this.addInteractionNodeAt(stylename, x - GraphBase.interactionNodeGlyphWidth / 2, y - GraphBase.interactionNodeGlyphHeight / 2); - }); - this.makeGeneralDragsource(element, insertGlyph); - } - - addInteractionNode(name) { - const pt = this.getDefaultNewCellCoords(); - this.addInteractionNodeAt(name, pt.x, pt.y); - } - - addInteractionNodeAt(name: string, x, y) { - this.graph.getModel().beginUpdate(); - try { - let interactionInfo = new InteractionInfo(); - const interactionNodeGlyph = this.graph.insertVertex(this.graph.getDefaultParent(), null, interactionInfo.getFullURI(), x, y, - GraphBase.interactionNodeGlyphWidth, GraphBase.interactionNodeGlyphHeight, GraphBase.STYLE_INTERACTION_NODE + name); - interactionInfo.interactionType = this.interactionNodeNametoType(name); - this.addToInteractionDict(interactionInfo); - interactionNodeGlyph.setConnectable(true); - - // The new glyph should be selected - this.graph.clearSelection(); - this.graph.setSelectionCell(interactionNodeGlyph); - } finally { - this.graph.getModel().endUpdate(); - } - } - - /** - * Turns the given HTML element into a dragsource for creating interaction glyphs - */ - makeInteractionDragsource(element, stylename) { - const insertGlyph = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { - this.addInteractionAt(stylename, x - GraphBase.defaultInteractionSize / 2, y - GraphBase.defaultInteractionSize / 2); - }); - this.makeGeneralDragsource(element, insertGlyph); - } - - /** - * Creates an interaction edge of the given type at the center of the current view - */ - addInteraction(name) { - const selectionCells = this.graph.getSelectionCells(); - if (selectionCells.length > 0 && selectionCells.length < 3) { - let selectedCell = selectionCells[0]; - const selectedParent = selectedCell.getParent(); - if (selectedParent.geometry && !selectedParent.isViewCell()) { - this.addInteractionAt(name, selectedParent.geometry.x + selectedCell.geometry.x + (selectedCell.geometry.width / 2), - selectedParent.geometry.y); - } else { - this.addInteractionAt(name, selectedCell.geometry.x + (selectedCell.geometry.width / 2), - selectedCell.geometry.y); - } - } else { - const pt = this.getDefaultNewCellCoords(); - this.addInteractionAt(name, pt.x, pt.y); - } - } - - /** - * Creates an interaction edge of the given type at the given coordiantes - * @param name The name identifying the type of interaction this should be. - * @param x The x coordinate that the interaction should appear at - * @param y The y coordinate that the interaction should appear at - */ - async addInteractionAt(name: string, x, y) { - let cell; - - this.graph.getModel().beginUpdate(); - try { - let addToDictionary = true; - let interactionInfo = new InteractionInfo(); - cell = new mx.mxCell(interactionInfo.getFullURI(), new mx.mxGeometry(x, y, 0, 0), GraphBase.STYLE_INTERACTION + name); - - const selectionCells = this.graph.getSelectionCells(); - if (selectionCells.length == 1) { - - // one cell is selected, set the edges source - const selectedCell = this.graph.getSelectionCell(); - // check for any restrictions on valid edges - let error = this.graph.getEdgeValidationError(cell, selectedCell, null); - if (error) { - this.showError(error); - return; - } - if (selectedCell.isModule()) { - // if the cell is a module, we need to prompt what subpart we want to connect to - let result = await this.promptChooseFunctionalComponent(selectedCell, true); - if (!result) - return; - interactionInfo.fromURI[this.graph.getModel().nextId] = result; - } else if (selectedCell.isInteractionNode()) { - // if the source is a interaction node, we want to inherit it's information - cell.value = selectedCell.value; - addToDictionary = false; - interactionInfo = this.getFromInteractionDict(selectedCell.value).makeCopy() - } - cell.geometry.setTerminalPoint(new mx.mxPoint(x, y - GraphBase.defaultInteractionSize), false); - cell.edge = true; - this.graph.addEdge(cell, this.graph.getCurrentRoot(), selectedCell, null); - - } else if (selectionCells.length == 2) { - - // two cells were selected, set the first one as the source, and the second as the target - const sourceCell = selectionCells[0]; - const destCell = selectionCells[1]; - // check for restrictions on the edge - let error = this.graph.getEdgeValidationError(cell, sourceCell, destCell); - if (error) { - this.showError(error); - return; - } - // check source or target are interaction nodes to couple with them before making modifications to the interaction - // don't worry, edge validation rules prevent both from being interaction nodes. - if (sourceCell.isInteractionNode()) { - // inherit the information - cell.value = sourceCell.value; - addToDictionary = false; - interactionInfo = this.getFromInteractionDict(sourceCell.value).makeCopy(); - } - if (destCell.isInteractionNode()) { - // inherit the information - cell.value = destCell.value; - addToDictionary = false; - interactionInfo = this.getFromInteractionDict(destCell.value).makeCopy(); - } - - if (sourceCell.isModule()) { - // prompt for the subpart to keep track of - let result = await this.promptChooseFunctionalComponent(sourceCell, true); - if (!result) - return; - interactionInfo.fromURI[this.graph.getModel().nextId] = result; - } - if (destCell.isModule()) { - // prompt for the subpart to keep track of - let result = await this.promptChooseFunctionalComponent(destCell, false); - if (!result) - return; - interactionInfo.toURI[this.graph.getModel().nextId] = result; - } - cell.edge = true; - this.graph.addEdge(cell, this.graph.getCurrentRoot(), sourceCell, destCell); - - } else { - cell.geometry.setTerminalPoint(new mx.mxPoint(x, y + GraphBase.defaultInteractionSize), true); - cell.geometry.setTerminalPoint(new mx.mxPoint(x + GraphBase.defaultInteractionSize, y), false); - cell.edge = true; - this.graph.addEdge(cell, this.graph.getCurrentRoot(), null, null); - } - - - // Default name for a process interaction - if (name == "Process") { - name = "Genetic Production" - } - - if (addToDictionary) { - interactionInfo.interactionType = name; - this.addToInteractionDict(interactionInfo); - } else { - this.updateInteractionDict(interactionInfo); - this.mutateInteractionGlyph(interactionInfo.interactionType, cell); - } - - // The new glyph should be selected - this.graph.clearSelection(); - this.graph.setSelectionCell(cell); - } finally { - this.graph.getModel().endUpdate(); - } - - return cell; - } - - /** - * Turns the given HTML element into a dragsource for creating textboxes - */ - makeTextboxDragsource(element) { - const insert = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { - this.addTextBoxAt(x - GraphBase.defaultTextWidth / 2, y - GraphBase.defaultTextHeight / 2); - }); - this.makeGeneralDragsource(element, insert); - } - - /** - * Creates a textbox at the center of the current view - */ - addTextBox() { - const pt = this.getDefaultNewCellCoords(); - this.addTextBoxAt(pt.x, pt.y); - } - - /** - * Creates a textbox at the given location - */ - addTextBoxAt(x, y) { - this.graph.getModel().beginUpdate(); - try { - const cell = this.graph.insertVertex(this.graph.getDefaultParent(), null, 'Sample Text', x, y, GraphBase.defaultTextWidth, GraphBase.defaultTextHeight, GraphBase.STYLE_TEXTBOX); - cell.setConnectable(false); - - // The new cell should be selected - this.graph.clearSelection(); - this.graph.setSelectionCell(cell); - } finally { - this.graph.getModel().endUpdate(); - } - } - - makeModuleDragsource(element) { - const insert = mx.mxUtils.bind(this, function (graph, evt, target, x, y) { - this.addModuleAt(x - GraphBase.defaultModuleWidth / 2, y - GraphBase.defaultModuleHeight / 2); - }); - this.makeGeneralDragsource(element, insert); - } - - addModule() { - const pt = this.getDefaultNewCellCoords(); - this.addModuleAt(pt.x, pt.y); - } - - addModuleAt(x, y) { - this.graph.getModel().beginUpdate(); - try { - let moduleInfo = new ModuleInfo(); - this.addToInfoDict(moduleInfo); - - const moduleCell = this.graph.insertVertex(this.graph.getDefaultParent(), null, moduleInfo.getFullURI(), x, y, GraphBase.defaultModuleWidth, GraphBase.defaultModuleHeight, GraphBase.STYLE_MODULE); - moduleCell.setConnectable(true); - - this.createViewCell(moduleInfo.getFullURI(), true); - - this.graph.clearSelection(); - this.graph.setSelectionCell(moduleCell); - } finally { - this.graph.getModel().endUpdate(); - } - } -x - /** - * Find the selected cell, and if there is a glyph selected, update its metadata. - */ - async setSelectedCellInfo(info: Info) { - const selectedCell = this.graph.getSelectionCell(); - - this.graph.getModel().beginUpdate(); - try { - // figure out which type of info object it is - if (info instanceof ModuleInfo && (!selectedCell || selectedCell.isModule())) { - this.updateSelectedModuleInfo(info); - return; - } - - if (info instanceof GlyphInfo && (!selectedCell || selectedCell.isSequenceFeatureGlyph() || selectedCell.isCircuitContainer() || selectedCell.isMolecularSpeciesGlyph())) { - if (!selectedCell || !selectedCell.isMolecularSpeciesGlyph()) { - // The logic for updating the glyphs was getting a bit big, so I moved it into it's own method - this.updateSelectedGlyphInfo(info); - } else { - this.updateSelectedMolecularSpecies(info); - } - return; - } - - if (info instanceof InteractionInfo && (selectedCell.isInteraction() || selectedCell.isInteractionNode())) { - this.updateSelectedInteractionInfo(info); - } - - } finally { - this.graph.getModel().endUpdate(); - this.graph.refresh(selectedCell); - //this.updateAngularMetadata(this.graph.getSelectionCells()); - } - } - - /** - * Sets the combinatorial info associated to the selected cell - * @param info - * @param prevURI - */ - setSelectedCombinatorialInfo(info: CombinatorialInfo, prevURI?: string) { - const selectedCell = this.graph.getSelectionCell(); - - this.graph.getModel().beginUpdate(); - try { - if (info instanceof CombinatorialInfo && selectedCell.isSequenceFeatureGlyph()) { - if (!prevURI) { - prevURI = info.getFullURI(); - } - this.updateSelectedCombinatorialInfo(info, prevURI); - } - } finally { - this.graph.getModel().endUpdate(); - } - } - - setSelectedCellStyle(styleInfo: StyleInfo) { - this.graph.getModel().beginUpdate(); - try { - let selectedCells = this.graph.getSelectionCells().slice(); - // filter out the circuit containers - for (let i = 0; i < selectedCells.length; i++) { - if (selectedCells[i].isCircuitContainer()) { - selectedCells[i] = selectedCells[i].getBackbone(); - } - } - for (let key in styleInfo.styles) { - this.graph.setCellStyles(key, styleInfo.styles[key], selectedCells); - } - - // sync circuit containers - let circuitContainers = new Set(); - for (let cell of selectedCells) { - if (cell.isSequenceFeatureGlyph() || cell.isBackbone()) { - circuitContainers.add(cell.getParent()); - } - } - for (let circuitContainer of Array.from(circuitContainers.values())) { - this.syncCircuitContainer(circuitContainer); - } - - } finally { - this.graph.getModel().endUpdate(); - } - } - - exportSVG(filename: string) { - var background = '#ffffff'; - var scale = 1; - var border = 1; - - var imgExport = new mx.mxImageExport(); - var bounds = this.graph.getGraphBounds(); - var vs = this.graph.view.scale; - - // Prepares SVG document that holds the output - var svgDoc = mx.mxUtils.createXmlDocument(); - var root = (svgDoc.createElementNS != null) ? - svgDoc.createElementNS(mx.mxConstants.NS_SVG, 'svg') : svgDoc.createElement('svg'); - - if (background != null) { - if (root.style != null) { - root.style.backgroundColor = background; - } else { - root.setAttribute('style', 'background-color:' + background); - } - } - - if (svgDoc.createElementNS == null) { - root.setAttribute('xmlns', mx.mxConstants.NS_SVG); - root.setAttribute('xmlns:xlink', mx.mxConstants.NS_XLINK); - } else { - // KNOWN: Ignored in IE9-11, adds namespace for each image element instead. No workaround. - root.setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:xlink', mx.mxConstants.NS_XLINK); - } - - root.setAttribute('width', (Math.ceil(bounds.width * scale / vs) + 2 * border) + 'px'); - root.setAttribute('height', (Math.ceil(bounds.height * scale / vs) + 2 * border) + 'px'); - root.setAttribute('version', '1.1'); - - // Adds group for anti-aliasing via transform - var group = (svgDoc.createElementNS != null) ? svgDoc.createElementNS(mx.mxConstants.NS_SVG, 'g') : svgDoc.createElement('g'); - group.setAttribute('transform', 'translate(0.5,0.5)'); - root.appendChild(group); - svgDoc.appendChild(root); - - // Renders graph. Offset will be multiplied with state's scale when painting state. - var svgCanvas = new mx.mxSvgCanvas2D(group); - svgCanvas.translate(Math.floor((border / scale - bounds.x) / vs), Math.floor((border / scale - bounds.y) / vs)); - svgCanvas.scale(scale / vs); - - // Displayed if a viewer does not support foreignObjects (which is needed to HTML output) - svgCanvas.foAltText = '[Not supported by viewer]'; - imgExport.drawState(this.graph.getView().getState(this.graph.getCurrentRoot()), svgCanvas); - - var xml = encodeURIComponent(mx.mxUtils.getXml(root)); - new mx.mxXmlRequest(environment.backendURL + '/echo', 'filename=' + filename + '.svg&format=svg' + '&xml=' + xml).simulate(document, '_blank'); - } - - exportImage(filename: string, format: string) { - let bg = '#ffffff'; - let scale = 1; - let b = 1; - - let imgExport = new mx.mxImageExport(); - let bounds = this.graph.getGraphBounds(); - let vs = this.graph.view.scale; - - let xmlDoc = mx.mxUtils.createXmlDocument(); - let root = xmlDoc.createElement('output'); - xmlDoc.appendChild(root); - - let xmlCanvas = new mx.mxXmlCanvas2D(root); - xmlCanvas.translate(Math.floor((b / scale - bounds.x) / vs), Math.floor((b / scale - bounds.y) / vs)); - xmlCanvas.scale(1 / vs); - - imgExport.drawState(this.graph.getView().getState(this.graph.getCurrentRoot()), xmlCanvas); - - let w = Math.ceil(bounds.width * scale / vs + 2 * b); - let h = Math.ceil(bounds.height * scale / vs + 2 * b); - - let xml = mx.mxUtils.getXml(root); - - if (bg != null) { - bg = '&bg=' + bg; - } - - new mx.mxXmlRequest(environment.backendURL + '/export', 'filename=' + filename + '.' + format + '&format=' + format + bg + '&w=' + w + '&h=' + h + '&xml=' + encodeURIComponent(xml)).simulate(document, '_blank'); - } - - /** - * Encodes the current graph to a string (xml) representation - */ - getGraphXML(): string { - const encoder = new mx.mxCodec(); - const result = encoder.encode(this.graph.getModel()); - return mx.mxUtils.getXml(result); - } - - /** - * Decodes the given string (xml) representation of a graph - * and uses it to replace the current graph - */ - setGraphToXML(graphString: string) { - GraphBase.unFormatedCells.clear(); - this.graph.home(); - this.graph.getModel().clear(); - - const doc = mx.mxUtils.parseXml(graphString); - const codec = new mx.mxCodec(doc); - codec.decode(doc.documentElement, this.graph.getModel()); - - // The child of cell 1 that isn't a view cell points to the root view - const cell1 = this.graph.getModel().getCell("1"); - let viewCells = this.graph.getModel().getChildren(cell1); - let rootViewCell; - for (let child of viewCells) { - if (!child.isViewCell()) { - rootViewCell = this.graph.getModel().getCell(child.getValue()); - this.graph.getModel().remove(child); - break; - } - } - this.graph.enterGroup(rootViewCell); - this.viewStack = []; - this.viewStack.push(rootViewCell); - this.selectionStack = []; - - let children = this.graph.getModel().getChildren(this.graph.getDefaultParent()); - if (children) { - children.forEach(element => { - if (element.isCircuitContainer()) - element.refreshCircuitContainer(this.graph); - }); - } - - if (GraphBase.unFormatedCells.size > 0) { - console.log("FORMATTING !!!!!!!!!!!!!!!!"); - this.autoFormat(GraphBase.unFormatedCells); - GraphBase.unFormatedCells.clear(); - } - - this.fitCamera(); - - this.metadataService.setComponentDefinitionMode(this.graph.getCurrentRoot().isComponentView()); - - // top level compDefs may not have cells referencing them, but they still end up with view cells for other reasons - this.trimUnreferencedCells(); - - this.editor.undoManager.clear(); - - this.graph.refresh(); // for some reason unformatted edges don't render correctly the first time without this - } - - /** - * Decodes the given string (xml) representation of a cell - * and uses it to replace the currently selected cell - * @param cellString - */ - async setSelectedToXML(cellString: string) { - const selectionCells = this.graph.getSelectionCells(); - - if (selectionCells.length == 0 || (selectionCells.length == 1 && (selectionCells[0].isSequenceFeatureGlyph() || selectionCells[0].isCircuitContainer() || selectionCells[0].isModule()))) { - // We're making a new cell to replace the selected one - let selectedCell; - if (selectionCells.length > 0) { - selectedCell = selectionCells[0]; - } else { - // nothing selected means we're replacing the view cell - selectedCell = this.graph.getCurrentRoot(); - } - - this.graph.getModel().beginUpdate(); - try { - let inModuleView = this.graph.getCurrentRoot().isModuleView(); - - // prompt ownership change - let parentInfo = this.getParentInfo(selectedCell); - if (parentInfo && parentInfo.uriPrefix != environment.baseURI && !await this.promptMakeEditableCopy(parentInfo.displayID)) { - return; - } - - // change ownership - if (parentInfo) { - if (selectedCell.isViewCell()) { - this.changeOwnership(parentInfo.getFullURI()); - selectedCell = this.graph.getCurrentRoot(); - } else if (selectedCell.isCircuitContainer() || selectedCell.isModule()) { - let selectedIndex = selectedCell.getParent().getIndex(selectedCell); - this.changeOwnership(parentInfo.getFullURI()); - selectedCell = this.graph.getCurrentRoot().children[selectedIndex]; - } else { - let parentIndex = this.graph.getCurrentRoot().getIndex(selectedCell.getParent()); - let selectedIndex = selectedCell.getParent().getIndex(selectedCell); - this.changeOwnership(parentInfo.getFullURI()); - selectedCell = this.graph.getCurrentRoot().children[parentIndex].children[selectedIndex]; - } - } - - // if we're in a non top level circuit container, module, or view cell zoom out to make things easier - let zoomOut = false; - if (((selectedCell.isCircuitContainer() || selectedCell.isComponentView()) && this.graph.getCurrentRoot().isComponentView() && this.viewStack.length > 1) || - ((selectedCell.isModule() || selectedCell.isModuleView()) && this.viewStack.length > 1)) { - zoomOut = true; - selectedCell = this.selectionStack[this.selectionStack.length - 1]; - this.graph.getModel().execute(new GraphEdits.zoomEdit(this.graph.getView(), null, this)); - } - - // setup the decoding info - const doc = mx.mxUtils.parseXml(cellString); - const codec = new mx.mxCodec(doc); - - // store the information in a temp graph for easy access - const subGraph = new mx.mxGraph(); - codec.decode(doc.documentElement, subGraph.getModel()); - - // get the new cell - let newCell = subGraph.getModel().cloneCell(subGraph.getModel().getCell("1").children[0]); - - // not part of a module or a top level component definition - let origParent; - if (selectedCell.isSequenceFeatureGlyph()) { - // store old cell's parent - origParent = selectedCell.getParent(); - - // generated cells don't have a proper geometry - newCell.setStyle(selectedCell.getStyle()); - this.graph.getModel().setGeometry(newCell, selectedCell.geometry); - - // add new cell to the graph - this.graph.getModel().add(origParent, newCell, origParent.getIndex(selectedCell)); - - // remove the old cell's view cell if it doesn't have any references - if (this.getCoupledGlyphs(selectedCell.value).length < 2) { - this.removeViewCell(this.graph.getModel().getCell(selectedCell.value)); - } - - // remove the old cell - this.graph.getModel().remove(selectedCell); - - // move any edges from selectedCell to newCell - if (selectedCell.edges != null) { - let edgeCache = []; - selectedCell.edges.forEach(edge => { - edgeCache.push(edge); - }); - - edgeCache.forEach(edge => { - if (edge.source == selectedCell) { - this.graph.getModel().setTerminal(edge, newCell, true); - } - if (edge.target == selectedCell) { - this.graph.getModel().setTerminal(edge, newCell, false); - } - }); - } - } else if (selectedCell.isModule()) { - // store old cell's parent - origParent = selectedCell.getParent(); - - // generated cells don't have a proper geometry - newCell.setStyle(selectedCell.getStyle()); - this.graph.getModel().setGeometry(newCell, selectedCell.geometry); - - // add new cell to the graph - this.graph.getModel().add(origParent, newCell, origParent.getIndex(selectedCell)); - - // remove the old cell's view cell if it doesn't have any references - if (this.getCoupledModules(selectedCell.value).length < 2) { - this.removeViewCell(this.graph.getModel().getCell(selectedCell.value)); - } - - // remove the old cell - this.graph.getModel().remove(selectedCell); - } - - // Now create all children of the new cell - let viewCells = subGraph.getModel().getCell("1").children; - let subGlyphDict = subGraph.getModel().getCell("0").getValue(); - let cell1 = this.graph.getModel().getCell("1"); - for (let i = 1; i < viewCells.length; i++) { // start at cell 1 because the glyph is at 0 - // If we already have it skip it - if (this.graph.getModel().getCell(viewCells[i].getId())) { - continue; - } - - // clone the cell otherwise viewCells get's messed up - let viewClone = subGraph.getModel().cloneCell(viewCells[i]); - // cloning doesn't keep the id for some reason - viewClone.id = viewCells[i].id; - - // add the cell to the graph - this.graph.addCell(viewClone, cell1); - - // add the info to the dictionary - if (this.getFromInfoDict(viewCells[i].getId()) != null) { - this.removeFromInfoDict(viewCells[i].getId()); - } - this.addToInfoDict(subGlyphDict[GraphBase.INFO_DICT_INDEX][viewCells[i].getId()]); - - // add any molecular species or interactions to the info dict - for (let child of viewClone.children) { - if (child.isMolecularSpeciesGlyph()) { - if (this.getFromInfoDict(child.value) != null) { - this.removeFromInfoDict(child.value); - } - this.addToInfoDict(subGlyphDict[GraphBase.INFO_DICT_INDEX][child.value]); - } else if (child.isInteractionNode()) { - if (this.getFromInteractionDict(child.value) != null) { - this.removeFromInteractionDict(child.value); - } - this.addToInteractionDict(subGlyphDict[GraphBase.INTERACTION_DICT_INDEX][child.value]); - } else if (child.isInteraction()) { - // if either end is an interaction node, we don't need to bother - if ((child.source && child.source.isInteractionNode()) || (child.target && child.target.isInteractionNode())) { - continue; - } - if (this.getFromInteractionDict(child.value) != null) { - this.removeFromInteractionDict(child.value); - } - this.addToInteractionDict(subGlyphDict[GraphBase.INTERACTION_DICT_INDEX][child.value]); - } - } - } - - // relink the interactions now that their ID's have likely changed - for (let i = 1; i < viewCells.length; i++) { - let viewClone = this.graph.getModel().getCell(viewCells[i].getId()); - for (let j = 0; j < viewClone.children.length; j++) { - // for now it seems that cloning the cell keeps the child order in tact - let child = viewClone.children[j]; - let originalChild = viewCells[i].children[j]; - if (child.isInteractionNode()) { - // copy to new dict as new id's may conflict with old - let newTo = [] - let newFrom = [] - let newSource = [] - let newTarget = [] - let infoCopy = this.getFromInteractionDict(child.value).makeCopy(); - for (let k = 0; k < child.edges.length; k++) { - let edge = child.edges[k]; - let originalEdge = originalChild.edges[k]; - if (infoCopy.toURI[originalEdge.getId()]) { - // find the original cell - let cellRef = infoCopy.toURI[originalEdge.getId()]; - let oldCell = subGraph.getModel().getCell(cellRef.substring(cellRef.lastIndexOf("_") + 1)); - let oldParentView = oldCell.getParent(); - let newParentView = this.graph.getModel().getCell(oldParentView.getId()); - // replace with the new id - newTo[edge.getId()] = cellRef.substring(0, cellRef.lastIndexOf("_") + 1) + newParentView.children[oldParentView.getIndex(oldCell)].getId(); - } - if (infoCopy.fromURI[originalEdge.getId()]) { - // find the original cell - let cellRef = infoCopy.fromURI[originalEdge.getId()]; - let oldCell = subGraph.getModel().getCell(cellRef.substring(cellRef.lastIndexOf("_") + 1)); - let oldParentView = oldCell.getParent(); - let newParentView = this.graph.getModel().getCell(oldParentView.getId()); - // replace with the new id - newFrom[edge.getId()] = cellRef.substring(0, cellRef.lastIndexOf("_") + 1) + newParentView.children[oldParentView.getIndex(oldCell)].getId(); - } - if (infoCopy.sourceRefinement[originalEdge.getId()]) { - newSource[edge.getId()] = infoCopy.sourceRefinement[originalEdge.getId()]; - } - if (infoCopy.targetRefinement[originalEdge.getId()]) { - newTarget[edge.getId()] = infoCopy.targetRefinement[originalEdge.getId()]; - } - } - infoCopy.toURI = newTo; - infoCopy.fromURI = newFrom; - infoCopy.sourceRefinement = newSource; - infoCopy.targetRefinement = newTarget; - this.updateInteractionDict(infoCopy); - } - if (child.isInteraction()) { - // skip edges connected to interaction nodes - if ((child.source && child.source.isInteractionNode()) || (child.target && child.target.isInteractionNode())) { - continue; - } - let infoCopy = this.getFromInteractionDict(child.value).makeCopy(); - if (infoCopy.fromURI[originalChild.getId()]) { - let cellRef = infoCopy.fromURI[originalChild.getId()]; - delete infoCopy.fromURI[originalChild.getId()]; - let oldCell = subGraph.getModel().getCell(cellRef.substring(cellRef.lastIndexOf("_") + 1)); - let oldParentView = oldCell.getParent(); - let newParentView = this.graph.getModel().getCell(oldParentView.getId()); - infoCopy.fromURI[child.getId()] = cellRef.substring(0, cellRef.lastIndexOf("_") + 1) + newParentView.children[oldParentView.getIndex(oldCell)].getId();; - } - if (infoCopy.toURI[originalChild.getId()]) { - let cellRef = infoCopy.toURI[originalChild.getId()]; - delete infoCopy.toURI[originalChild.getId()]; - let oldCell = subGraph.getModel().getCell(cellRef.substring(cellRef.lastIndexOf("_") + 1)); - let oldParentView = oldCell.getParent(); - let newParentView = this.graph.getModel().getCell(oldParentView.getId()); - infoCopy.toURI[child.getId()] = cellRef.substring(0, cellRef.lastIndexOf("_") + 1) + newParentView.children[oldParentView.getIndex(oldCell)].getId();; - } - if (infoCopy.sourceRefinement[originalChild.getId()]) { - let value = infoCopy.sourceRefinement[originalChild.getId()]; - delete infoCopy.sourceRefinement[originalChild.getId()]; - infoCopy.sourceRefinement[child.getId()] = value; - } - if (infoCopy.targetRefinement[originalChild.getId()]) { - let value = infoCopy.targetRefinement[originalChild.getId()]; - delete infoCopy.targetRefinement[originalChild.getId()]; - infoCopy.targetRefinement[child.getId()] = value; - } - this.updateInteractionDict(infoCopy); - } - } - } - - if (selectedCell.isSequenceFeatureGlyph()) { - origParent.refreshCircuitContainer(this.graph); - this.graph.setSelectionCell(newCell); - this.mutateSequenceFeatureGlyph((this.getFromInfoDict(newCell.value)).partRole); - } - - // if we zoomed out zoom back in - if (zoomOut) { - if (selectedCell.isSequenceFeatureGlyph()) { - // if the selected cell is a sequenceFeature that means we came from a sub view - this.graph.getModel().execute(new GraphEdits.zoomEdit(this.graph.getView(), newCell, this)); - } else { - // if it isn't, that means we are in a module, or at the root - let newRootView = this.graph.getModel().getCell(newCell.getValue()); - let circuitContainer = this.graph.getModel().filterCells(newRootView.children, cell => cell.isCircuitContainer())[0]; - if (inModuleView) { - // get the circuit container so we can replace our current one - this.graph.getModel().setGeometry(circuitContainer, selectedCell.geometry); - if (this.getCoupledGlyphs(newRootView.getId()).length < 1) - // we don't need the root view if nothing references it, we only need it's circuit container - this.graph.getModel().remove(newRootView); - circuitContainer = this.graph.getModel().add(selectedCell.getParent(), circuitContainer); - this.graph.getModel().remove(selectedCell); - circuitContainer.refreshCircuitContainer(this.graph); - } else { - // at the root, just zoom back in - this.graph.getModel().execute(new GraphEdits.zoomEdit(this.graph.getView(), newRootView, this)); - circuitContainer.refreshCircuitContainer(this.graph); - } - } - } - - // root cells won't be zoomed out, so just zoom into the correct one, and remove the old one - if (selectedCell.isViewCell()) { - let newViewId = newCell.getValue(); - const newView = this.graph.getModel().getCell(newViewId); - this.graph.getModel().execute(new GraphEdits.zoomEdit(this.graph.getView(), null, this)); - this.graph.getModel().execute(new GraphEdits.zoomEdit(this.graph.getView(), newView, this)); - this.removeViewCell(selectedCell); - } - - // top level circuit containers need to be synced to get the changes before the trim - if (selectedCell.isCircuitContainer()) { - let previousReference = selectedCell.getValue() + "_" + selectedCell.getId(); - let selectedParent = selectedCell.getParent(); - let selectedIndex = selectedParent.getIndex(selectedCell); - this.graph.getModel().setValue(selectedCell, newCell.getValue()); - const viewCell = this.graph.getModel().getCell(newCell.getValue()); - if (viewCell.children) { - for (let viewChild of viewCell.children) { - if (viewChild.isCircuitContainer()) { - this.syncCircuitContainer(viewChild); - break; - } - } - } - selectedCell = selectedParent.children[selectedIndex]; - this.updateInteractions(previousReference, newCell.getValue() + "_" + selectedCell.getId()); - } - - if (GraphBase.unFormatedCells.size > 0) { - console.log("FORMATTING !!!!!!!!!!!!!!!!"); - this.autoFormat(GraphBase.unFormatedCells); - GraphBase.unFormatedCells.clear(); - } - - // sync circuit containers - if (origParent) { - this.syncCircuitContainer(origParent); - } - - this.trimUnreferencedCells(); - } finally { - this.graph.getModel().endUpdate(); - } - } - } - - resetGraph(moduleMode: boolean = true) { - this.graph.home(); - this.graph.getModel().clear(); - - this.viewStack = []; - this.selectionStack = []; - - // initalize the GlyphInfoDictionary - const cell0 = this.graph.getModel().getCell(0); - const infoDict = []; - const combinatorialDict = []; - var dataContainer = []; - dataContainer[GraphBase.INFO_DICT_INDEX] = infoDict; - dataContainer[GraphBase.COMBINATORIAL_DICT_INDEX] = combinatorialDict; - this.graph.getModel().setValue(cell0, dataContainer); - - const cell1 = this.graph.getModel().getCell(1); - let rootViewCell; - - // initalize the root view cell of the graph - if (moduleMode) { - let rootModuleInfo = new ModuleInfo(); - this.addToInfoDict(rootModuleInfo); - rootViewCell = this.graph.insertVertex(cell1, rootModuleInfo.getFullURI(), "", 0, 0, 0, 0, GraphBase.STYLE_MODULE_VIEW); - this.graph.enterGroup(rootViewCell); - this.viewStack.push(rootViewCell); - } else { - let info = new GlyphInfo(); - this.addToInfoDict(info); - rootViewCell = this.graph.insertVertex(cell1, info.getFullURI(), "", 0, 0, 0, 0, GraphBase.STYLE_COMPONENT_VIEW); - this.graph.enterGroup(rootViewCell); - this.viewStack.push(rootViewCell); - this.addBackbone(); - } - - this.metadataService.setComponentDefinitionMode(!moduleMode); - - this.updateAngularMetadata(this.graph.getSelectionCells()); - - this.editor.undoManager.clear(); - } - - /** - * Sets the graph to component definition mode or module mode. - * wrapper for metadataService.setComponentDefinitionMode. - * @param componentMode True if you want to be in component mode, false if module mode. - */ - public setComponentDefinitionMode(componentMode: boolean) { - this.metadataService.setComponentDefinitionMode(componentMode); - } - - - public lookupInfo(glyphURI: string) { - return this.getFromInfoDict(glyphURI) as GlyphInfo - } - - public getCurrentRoot() { - return this.graph.getCurrentRoot() - } - -} diff --git a/frontend/src/app/hierarchy-preview/hierarchy-preview.component.css b/frontend/src/app/hierarchy-preview/hierarchy-preview.component.css deleted file mode 100644 index 3640918c..00000000 --- a/frontend/src/app/hierarchy-preview/hierarchy-preview.component.css +++ /dev/null @@ -1,31 +0,0 @@ -.hierarchy-controls { - position: absolute; - bottom: 0; - right: 0; - display: flex; - flex-direction: column; - align-items: center; - padding: 8px; - max-height: 500px; -} - -.hierarchy-controls .level { - width: 4em; - height: 3em; - margin: 8px; - font-family: 'Roboto'; - cursor: pointer; - border-radius: 8px; - - border: 3px solid #ddd; - color: grey; - - display: flex; - align-items: center; - justify-content: center; -} - -.hierarchy-controls .level:last-child { - border-color: black; - color: black; -} \ No newline at end of file diff --git a/frontend/src/app/hierarchy-preview/hierarchy-preview.component.html b/frontend/src/app/hierarchy-preview/hierarchy-preview.component.html deleted file mode 100644 index a38b2eb9..00000000 --- a/frontend/src/app/hierarchy-preview/hierarchy-preview.component.html +++ /dev/null @@ -1,8 +0,0 @@ -
-
- - {{i == 0 && "Top" || i}} - - -
-
\ No newline at end of file diff --git a/frontend/src/app/hierarchy-preview/hierarchy-preview.component.ts b/frontend/src/app/hierarchy-preview/hierarchy-preview.component.ts deleted file mode 100644 index f9eef3aa..00000000 --- a/frontend/src/app/hierarchy-preview/hierarchy-preview.component.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Component } from '@angular/core' -import { GraphService } from '../graph.service' - - -@Component({ - selector: 'app-hierarchy-preview', - templateUrl: './hierarchy-preview.component.html', - styleUrls: ['./hierarchy-preview.component.css'] -}) - -export class HierarchyPreviewComponent { - - constructor(private graphService: GraphService) { } - - getViewStack() { - // console.log(this.glyphMenu.sequenceFeatureDict) - return this.graphService.viewStack - } - - switchView(depth) { - let levels = this.graphService.viewStack.length - depth - 1 - - for (let i = 0; i < levels; i++) - this.graphService.exitGlyph() - } -} diff --git a/frontend/src/app/pending-changes.guard.ts b/frontend/src/app/pending-changes.guard.ts deleted file mode 100644 index b614e7bd..00000000 --- a/frontend/src/app/pending-changes.guard.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { CanDeactivate } from '@angular/router'; -import { Injectable } from '@angular/core'; -import { Observable } from 'rxjs'; -import { EmbeddedService } from './embedded.service'; - -export interface ComponentCanDeactivate { - canDeactivate: () => boolean | Observable; -} - -@Injectable() -export class PendingChangesGuard implements CanDeactivate { - - constructor(private embeddedService: EmbeddedService) { } - - canDeactivate(component: ComponentCanDeactivate): boolean | Observable { - - // if there are no pending changes, just allow deactivation; else confirm first - console.log("NOpe\n"); - if (component.canDeactivate() || this.embeddedService.isAppEmbedded()) { - return true; - } else { - // NOTE: this warning message will only be shown when navigating elsewhere within your angular app; - // when navigating away from your angular app, the browser will show a generic warning message - // see http://stackoverflow.com/a/42207299/7307355 - return confirm('WARNING: You have unsaved changes. Press Cancel to go back and save these changes, or OK to lose these changes.'); - } - } -} diff --git a/frontend/src/app/problems/problems.component.css b/frontend/src/app/problems/problems.component.css deleted file mode 100644 index adbfc20a..00000000 --- a/frontend/src/app/problems/problems.component.css +++ /dev/null @@ -1,48 +0,0 @@ - -.problem-icon { - color: lightgray; -} - -.warning { - color: #ffca28; -} - -.warning span, span.warning { - color: #c79a00; -} - -.error { - color: #f44336; -} - -.problem-qty { - font-weight: bolder; - display: inline-block; - padding: 0 6px 0 10px; -} - -.success { - color: #4caf50; -} - -/* .error span, span.error { - color: #ba000d; -} */ - -#problems-expand { - width: 100px; - border-radius: 20px; - margin: 10px; - margin-right: 20px; - position: absolute; - right: 0; -} - -.problem-item { - /* width: 300px; */ - line-height: 28px; - height: 2.5em; -} -/deep/ .problems-panel { - max-width: 500px !important; -} \ No newline at end of file diff --git a/frontend/src/app/problems/problems.component.html b/frontend/src/app/problems/problems.component.html deleted file mode 100644 index 2c29028a..00000000 --- a/frontend/src/app/problems/problems.component.html +++ /dev/null @@ -1,36 +0,0 @@ - - -
- -
-
- -
-
\ No newline at end of file diff --git a/frontend/src/app/problems/problems.component.ts b/frontend/src/app/problems/problems.component.ts deleted file mode 100644 index f3846a56..00000000 --- a/frontend/src/app/problems/problems.component.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { Component } from '@angular/core' -import { GraphService } from '../graph.service' - - -@Component({ - selector: 'app-problems', - templateUrl: './problems.component.html', - styleUrls: ['./problems.component.css'] -}) - -export class ProblemsComponent { - - warnings: string[] - errors: string[] - - constructor(private graphService: GraphService) { } - - ngOnInit() { - this.warnings = [] - this.errors = [] - - setInterval(this.validate.bind(this), 750) - } - - validate() { - const warnings = [] - const errors = [] - - // Validation functions - this.validateCurrentView(warnings, errors) - this.validateComponents(warnings, errors) - // more here... - - // Transpose to separate errors and warnings - this.warnings = warnings - this.errors = errors - } - - validateCurrentView(warnings: string[], errors: string[]) { - - const currentView = this.graphService.getCurrentRoot() - const children = currentView.children || [] - - // Warning: No children in current view - if (!children.length) { - const cellType = currentView.isModuleView() ? 'Module' : currentView.isComponentView() ? 'Component' : 'Current view' - warnings.push(`${cellType} does not contain any children.`) - } - - // TO DO: other validations - } - - validateComponents(warnings: string[], errors: string[]) { - const currentView = this.graphService.getCurrentRoot() - const circuitContainers = currentView.children || [] - const components = circuitContainers - .map(container => container.children || []) - .flat() - .filter(comp => comp.value) - - components.forEach(comp => this.validateComponent(comp, warnings, errors)) - } - - validateComponent(component, warnings: string[], errors: string[]) { - const info = this.graphService.lookupInfo(component.value) - const sequence = (info.sequence || '').toUpperCase() - const version = (info.version || '') - - // Error: No ID - !info.displayID && errors.push(`${info.partRole} is missing an ID.`) - - // Error: Non-IUPAC compliant sequence - const negativeIUPACSequenceRegex = /[^ACGTURYSWKMBDHVN\.\-]/g - var compliant = !sequence.match(negativeIUPACSequenceRegex) - const sequencePreview = sequence.substring(0, 10) - !compliant && errors.push(`Component '${info.displayID}' has illegal sequence: ${sequencePreview}...`) - - // Warning: No sequence - !sequence && warnings.push(`Component '${info.displayID}' does not have a sequence.`) - - // Warning: No version - !version && warnings.push(`Component '${info.displayID}' does not have a version.`) - - // Warning: Non-Semver compliant version - // Got Regex from https://ihateregex.io/expr/semver/# - // const semverVersionRegex = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/gm - - // using less strict expression now -- SBOL interpreted Semver improperly and actually intended - // to allow versions like 1 or 1.3 - const versionRegex = /^[0-9]+[\\p{L}0-9_\\.-]*$/ - compliant = !!version.match(versionRegex) - version && !compliant && - warnings.push(`Component '${info.displayID}' has incompliant version: ${version}`) - } -} diff --git a/frontend/src/app/toolbar/toolbar.component.css b/frontend/src/app/toolbar/toolbar.component.css deleted file mode 100644 index 88fe0fa5..00000000 --- a/frontend/src/app/toolbar/toolbar.component.css +++ /dev/null @@ -1,31 +0,0 @@ -/* This sets the space between sets of buttons */ -.toolbar-spacer { - flex: 1 1 auto; -} - -/* Not sure exactly how this works but it makes the menu - bigger so that it can fit the buttons. */ -::ng-deep .mat-menu-panel { - padding: 0 10px !important; - width: 100% !important; -} - -/* This sets the css for the buttons on the row */ -.toolbar-row-button { - margin: 0 3px; - border: none; -} - -.mat-toolbar { - min-height: 0; -} - -.toolbar-row { - height: 44px; - padding-bottom: 2px; - gap: 40px; -} - -.toolbar-row-section.grow { - flex-grow: 1; -} \ No newline at end of file diff --git a/frontend/src/app/toolbar/toolbar.component.html b/frontend/src/app/toolbar/toolbar.component.html deleted file mode 100644 index 754d8875..00000000 --- a/frontend/src/app/toolbar/toolbar.component.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -
- - - - - SynBioHub - - - - - - Local Device - - - - - - - - - - - - New - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - - - - - - -
- - -
- - - - - -
- - -
- - - - - - - -
- -
-
\ No newline at end of file diff --git a/frontend/src/app/zoom-controls/zoom-controls.component.css b/frontend/src/app/zoom-controls/zoom-controls.component.css deleted file mode 100644 index c667125e..00000000 --- a/frontend/src/app/zoom-controls/zoom-controls.component.css +++ /dev/null @@ -1,16 +0,0 @@ -.zoom-controls { - position: absolute; - top: -8px; - left: 4px; - display: flex; - flex-direction: column; - align-items: center; - padding: 8px; - - transform: scale(0.9); -} - -.zoom-controls .zoom-input { - width: 6ch; - text-align: center; -} \ No newline at end of file diff --git a/frontend/src/app/zoom-controls/zoom-controls.component.html b/frontend/src/app/zoom-controls/zoom-controls.component.html deleted file mode 100644 index fe7c6392..00000000 --- a/frontend/src/app/zoom-controls/zoom-controls.component.html +++ /dev/null @@ -1,16 +0,0 @@ -
- - - - - - - - - -
\ No newline at end of file diff --git a/frontend/src/app/zoom-controls/zoom-controls.component.ts b/frontend/src/app/zoom-controls/zoom-controls.component.ts deleted file mode 100644 index 25956166..00000000 --- a/frontend/src/app/zoom-controls/zoom-controls.component.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Component } from '@angular/core' -import { GraphService } from '../graph.service' - - -@Component({ - selector: 'app-zoom-controls', - templateUrl: './zoom-controls.component.html', - styleUrls: ['./zoom-controls.component.css'] -}) - -export class ZoomControlsComponent { - - constructor(public graphService: GraphService) { } - - zoomSliderChanged($event) { - this.graphService.setZoom($event.value / 100); - } - - zoomInputChanged($event) { - let number = parseInt($event.target.value); - if (!isNaN(number)) { - const percent = number / 100; - this.graphService.setZoom(percent); - } - - // if they entered nonsense the zoom doesn't change, which - // means angular won't refresh the input box on its own - $event.target.value = this.getZoomDisplayValue(); - } - - getZoomSliderValue() { - return this.graphService.getZoom() * 100; - } - - getZoomDisplayValue() { - let percent = this.graphService.getZoom() * 100; - let string = percent.toFixed(0); - return string.toString() + '%'; - } -} diff --git a/frontend/src/assets/glyph_stencils/indicators/.bundle_order b/frontend/src/assets/glyph_stencils/indicators/.bundle_order deleted file mode 100644 index 906d53af..00000000 --- a/frontend/src/assets/glyph_stencils/indicators/.bundle_order +++ /dev/null @@ -1,3 +0,0 @@ -composite -variant -error \ No newline at end of file diff --git a/frontend/src/assets/glyph_stencils/interactionNodes/.bundle_order b/frontend/src/assets/glyph_stencils/interactionNodes/.bundle_order deleted file mode 100644 index 0ba51741..00000000 --- a/frontend/src/assets/glyph_stencils/interactionNodes/.bundle_order +++ /dev/null @@ -1,4 +0,0 @@ -association -dissociation -process -replacement-glyph \ No newline at end of file diff --git a/frontend/src/assets/glyph_stencils/interactions/.bundle_order b/frontend/src/assets/glyph_stencils/interactions/.bundle_order deleted file mode 100644 index 5157227a..00000000 --- a/frontend/src/assets/glyph_stencils/interactions/.bundle_order +++ /dev/null @@ -1,5 +0,0 @@ -control -inhibition -stimulation -process -degradation \ No newline at end of file diff --git a/frontend/src/assets/glyph_stencils/molecularSpecies/.bundle_order b/frontend/src/assets/glyph_stencils/molecularSpecies/.bundle_order deleted file mode 100644 index fcb7d43a..00000000 --- a/frontend/src/assets/glyph_stencils/molecularSpecies/.bundle_order +++ /dev/null @@ -1,7 +0,0 @@ -macromolecule -dsNA -ssNA -small-molecule -no-glyph-assigned-ms -replacement-glyph -complex \ No newline at end of file diff --git a/frontend/src/assets/glyph_stencils/sequenceFeatures/.bundle_order b/frontend/src/assets/glyph_stencils/sequenceFeatures/.bundle_order deleted file mode 100644 index 9b7f7aa2..00000000 --- a/frontend/src/assets/glyph_stencils/sequenceFeatures/.bundle_order +++ /dev/null @@ -1,36 +0,0 @@ -engineered-region -promoter -ribosome-entry-site -cds -terminator-specification -ncrna -origin-of-replication -origin-of-transfer -primer-binding-site -five-prime-sticky-restriction-site -three-prime-sticky-restriction-site -assembly-scar -operator -insulator -blunt-restriction-site -three-prime-overhang -five-prime-overhang -aptamer -polyA -specific-recombination-site -no-glyph-assigned -signature -location-dna -location-rna -location-protein -nuclease-site -protease-site -protein-stability-element -ribonuclease-site -rna-stability-element -transcription-end -translation-end - -!test -!chromosomal-locus -!dna-stability-element \ No newline at end of file diff --git a/frontend/src/assets/glyph_stencils/utils/.bundle_order b/frontend/src/assets/glyph_stencils/utils/.bundle_order deleted file mode 100644 index 72634336..00000000 --- a/frontend/src/assets/glyph_stencils/utils/.bundle_order +++ /dev/null @@ -1,5 +0,0 @@ -backbone -circular-plasmid-left -circular-plasmid-right -textBox -module \ No newline at end of file diff --git a/frontend/src/assets/glyph_stencils/utils/circular-plasmid-left.xml b/frontend/src/assets/glyph_stencils/utils/circular-plasmid-left.xml deleted file mode 100644 index 9802d91f..00000000 --- a/frontend/src/assets/glyph_stencils/utils/circular-plasmid-left.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/src/assets/glyph_stencils/utils/circular-plasmid-right.xml b/frontend/src/assets/glyph_stencils/utils/circular-plasmid-right.xml deleted file mode 100644 index 59cfb579..00000000 --- a/frontend/src/assets/glyph_stencils/utils/circular-plasmid-right.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/frontend/src/environments/environment.prod.ts b/frontend/src/environments/environment.prod.ts deleted file mode 100644 index 330366be..00000000 --- a/frontend/src/environments/environment.prod.ts +++ /dev/null @@ -1,5 +0,0 @@ -export const environment = { - production: true, - backendURL: 'https://canvas-api.greensky-6cc75ee4.westus.azurecontainerapps.io/api', - baseURI: "https://sbolcanvas.org" -}; diff --git a/frontend/staticwebapp.config.json b/frontend/staticwebapp.config.json deleted file mode 100644 index 7b94283d..00000000 --- a/frontend/staticwebapp.config.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "routes": [ - { - "route": "/about", - "rewrite": "/index.html" - }, - { - "route": "/tutorial", - "rewrite": "/index.html" - } - ] -} \ No newline at end of file diff --git a/resources/build_automation/build_backend.sh b/resources/build_automation/build_backend.sh new file mode 100755 index 00000000..40045ac4 --- /dev/null +++ b/resources/build_automation/build_backend.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +BACKEND_DIR=$(pwd)/SBOLCanvasBackend +compile_dest_dir=${BACKEND_DIR}/WebContent/WEB-INF/classes +compile_source_dir=${BACKEND_DIR}/src +tomcat_dependencies=$(pwd)/resources/server_automation/tomcat/apache-tomcat-9.0.26/lib +other_dependencies=${BACKEND_DIR}/WebContent/WEB-INF/lib +war_filename=api.war +cur_dir=$(pwd) + +# Compile java files into the SBOLCanvasBackend/WebContent/WEB-INF/classes directory +[[ -d ${compile_dest_dir} ]] && rm -rf ${compile_dest_dir} # Make sure we have a clean slate +mkdir ${compile_dest_dir} + +javac -source 1.8 -target 1.8 -sourcepath ${compile_source_dir} -d ${compile_dest_dir} -cp ".:${other_dependencies}/*:${tomcat_dependencies}/*" ${compile_source_dir}/**/*.java\ + +# Build .war file and deploy +cd ${BACKEND_DIR}/WebContent +jar -cf ${war_filename} * +echo "$PWD" +echo $(ls)