diff --git a/.gitignore b/.gitignore index f296e55077..13926d8674 100755 --- a/.gitignore +++ b/.gitignore @@ -30,4 +30,5 @@ sparse_test.php INFO.md /web/env.php sync_staging.sh -*.swp \ No newline at end of file +*.swp +_vieux/ \ No newline at end of file diff --git a/QtClient/JoplinQtClient/AddButton.qml b/QtClient/JoplinQtClient/AddButton.qml deleted file mode 100755 index 11c939daa2..0000000000 --- a/QtClient/JoplinQtClient/AddButton.qml +++ /dev/null @@ -1,42 +0,0 @@ -import QtQuick 2.7 -import QtQuick.Controls 2.0 -import QtQuick.Layouts 1.1 - -Item { - - id: root - width: 120 - height: 100 - signal addNoteButtonClicked - signal addFolderButtonClicked - - ColumnLayout { - - anchors.fill: parent - spacing: 2 - - Button { - id: addNoteButton - text: "Add note" - Layout.fillWidth: true - Layout.fillHeight: true - onClicked: root.addNoteButtonClicked() - } - - Button { - id: addFolderButton - text: "Add folder" - Layout.fillWidth: true - Layout.fillHeight: true - onClicked: root.addFolderButtonClicked() - } - - Button { - text: "ADD" - Layout.fillWidth: true - Layout.fillHeight: true - } - - } - -} diff --git a/QtClient/JoplinQtClient/AndroidManifest.xml b/QtClient/JoplinQtClient/AndroidManifest.xml deleted file mode 100755 index 0c1f801603..0000000000 --- a/QtClient/JoplinQtClient/AndroidManifest.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/QtClient/JoplinQtClient/EditableListDelegate.qml b/QtClient/JoplinQtClient/EditableListDelegate.qml deleted file mode 100755 index 077de4ef94..0000000000 --- a/QtClient/JoplinQtClient/EditableListDelegate.qml +++ /dev/null @@ -1,39 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -Component { - Item { - width: parent.width - height: 25 - Text { - id: label - text: display - anchors.fill: parent - MouseArea { - anchors.fill: parent - onClicked: { - listView.currentIndex = index - } - onDoubleClicked: { - label.visible = false - textField.visible = true - textField.focus = true - } - } - } - TextField { - id: textField - text: display - visible: false - width: parent.width - height: parent.height - onAccepted: { - - } - onEditingFinished: { - label.visible = true - textField.visible = false - } - } - } -} diff --git a/QtClient/JoplinQtClient/EditableListItem.qml b/QtClient/JoplinQtClient/EditableListItem.qml deleted file mode 100755 index a4dd012b69..0000000000 --- a/QtClient/JoplinQtClient/EditableListItem.qml +++ /dev/null @@ -1,84 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -Item { - id: root - width: parent.width - height: 25 - property int mouseAreaDefaultWidth - property Menu contextMenu - - signal startedEditing; - signal stoppedEditing; - signal editingAccepted(int index, string text); - - function makeEditable(editable) { - if (typeof editable === 'undefined') editable = true; - - if (editable === isEditable()) return; // Nothing to do - - if (editable) { - label.visible = false - mouseArea.anchors.rightMargin = 10000; // Hack because `mouseArea.visible = false` makes the MouseArea ignore the next click event - textField.visible = true - textField.focus = true - textField.text = display - root.ListView.view.focus = true; - textField.selectAll() - root.startedEditing(); - } else { - mouseArea.anchors.rightMargin = 0; - label.visible = true - textField.visible = false - root.stoppedEditing(); - } - } - - function startEditing() { - makeEditable(true); - } - - function stopEditing() { - makeEditable(false); - } - - function isEditable() { - return textField.visible; - } - - Text { - id: label - text: display - anchors.fill: parent - verticalAlignment: Text.AlignVCenter - } - - TextField { - id: textField - visible: false - width: parent.width - height: parent.height - onAccepted: { - root.editingAccepted(index, text); - } - onEditingFinished: { - stopEditing(); - } - } - - MouseArea { - id: mouseArea - anchors.fill: parent - acceptedButtons: Qt.LeftButton | Qt.RightButton - onClicked: { - root.ListView.view.currentIndex = index - if (mouse.button === Qt.RightButton) { - contextMenu.open(); - } - } - onDoubleClicked: { - startEditing(); - } - } - -} diff --git a/QtClient/JoplinQtClient/EditableListViewItem.qml b/QtClient/JoplinQtClient/EditableListViewItem.qml deleted file mode 100755 index 190109bb10..0000000000 --- a/QtClient/JoplinQtClient/EditableListViewItem.qml +++ /dev/null @@ -1,38 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -Item { - id: folderDelegateRoot - width: 100//parent.width - height: 25 - Text { - id: label - text: display - anchors.fill: parent - MouseArea { - anchors.fill: parent - onClicked: { - listView.currentIndex = index - } - onDoubleClicked: { - label.visible = false - textField.visible = true - textField.focus = true - } - } - } - TextField { - id: textField - text: display - visible: false - width: parent.width - height: parent.height - onAccepted: { - - } - onEditingFinished: { - label.visible = true - textField.visible = false - } - } -} diff --git a/QtClient/JoplinQtClient/ItemList.qml b/QtClient/JoplinQtClient/ItemList.qml deleted file mode 100755 index 284542dfee..0000000000 --- a/QtClient/JoplinQtClient/ItemList.qml +++ /dev/null @@ -1,104 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -Item { - id: root - property alias model: listView.model - property alias currentIndex: listView.currentIndex - property alias currentItem: listView.currentItem - property string currentItemId - - signal startedEditing; - signal stoppedEditing; - signal editingAccepted(int index, string text); - signal deleteButtonClicked(int index); - - // While an item is being edited, this property hold the item ID. - // It is then used, once the model is updated, to restore the selection. - property string editedItemId; - - function startEditing(index) { - root.editedItemId = listView.model.indexToId(index); - currentIndex = model.rowCount() - 1; - currentItem.startEditing(); - print("Start editing", root.editedItemId); - } - - function stopEditing() { - currentItem.stopEditing(); - print("Stop editing", root.editedItemId); - //print(root.editedItemId, listView.model.idToIndex(root.editedItemId)); - //currentIndex = listView.model.idToIndex(root.editedItemId); - } - - function selectItemById(id) { - print("selectItemBy()", id); - currentItemId = id - var newIndex = listView.model.idToIndex(currentItemId); - print("newIndex", newIndex); - currentIndex = newIndex - if (newIndex < 0) currentItemId = ""; - print("currentItemId", currentItemId); - } - - Rectangle { - color: "#eeeeff" - border.color: "#ff0000" - anchors.fill: parent - } - - ListView { - - Connections { - target: model - onDataChanged: { - print("Connection.onDataChanged", root.editedItemId); - if (root.editedItemId !== "") { - selectItemById(root.editedItemId); - root.editedItemId = ""; - } - } - } - -// onCurrentItemChanged: { -// print("onCurrentItemChanged avant", currentItemId); -// currentItemId = model.indexToId(currentIndex); -// print("onCurrentItemChanged apres", currentItemId); -// } - - id: listView - highlightMoveVelocity: -1 - highlightMoveDuration: 100 - anchors.fill: parent - delegate: itemListDelegate - ScrollBar.vertical: ScrollBar { } - highlight: Rectangle { color: "lightsteelblue"; radius: 5 } - focus: true - } - - Component { - id: itemListDelegate - EditableListItem { - contextMenu: - Menu { - MenuItem { - text: "Delete" - onTriggered: deleteButtonClicked(currentIndex); - } - } - onStartedEditing: { - print("onStartedEditing()"); - root.editedItemId = listView.model.indexToId(index); - root.startedEditing(); - } - onStoppedEditing: { - print("onStoppedEditing()"); - root.stoppedEditing(); - } - onEditingAccepted: function(index, text) { - print("onEditingAccepted()"); - root.editingAccepted(index, text); - } - } - } -} diff --git a/QtClient/JoplinQtClient/ItemList2.qml b/QtClient/JoplinQtClient/ItemList2.qml deleted file mode 100755 index 17a660dc8c..0000000000 --- a/QtClient/JoplinQtClient/ItemList2.qml +++ /dev/null @@ -1,142 +0,0 @@ -import QtQuick 2.0 - -Item { - - id: root - signal rowsRequested(int fromRowIndex, int toRowIndex) - - property variant items: []; - property int itemCount_: 0; - property int itemHeight_: 0; - property bool needToRequestRows_: false; - - function itemHeight() { - if (root.itemHeight_) return root.itemHeight_; - var item = itemComponent.createObject(root) - item.content = { title: "dummy", id: "" }; - item.updateDisplay(); - item.visible = false; - root.itemHeight_ = item.height; - return root.itemHeight_; - } - - function itemCount() { - return itemCount_; - } - - function setItem(index, itemContent) { - if (index < 0 || index >= itemCount) { - console.error("ItemList::setItem: index out of bounds:", index); - return; - } - - var contentTitle = itemContent.title; - - var item = itemComponent.createObject(scrollArea.contentItem) - item.content = { - id: itemContent.id, - title: itemContent.title - }; - item.invalidateDisplay(); - - items[index] = item; - - root.invalidateDisplay(); - } - - function setItems(fromIndex, itemContents) { - for (var i = 0; i < itemContents.length; i++) { - setItem(fromIndex + i, itemContents[i]); - } - } - - function addItem(title) { - var item = itemComponent.createObject(scrollArea.contentItem) - item.title = title; - item.updateDisplay(); - - items.push(item); - if (!itemHeight) itemHeight = item.height; - - root.invalidateDisplay(); - } - - function setItemCount(count) { - if (count === root.itemCount_) return; - root.itemCount_ = count; - root.needToRequestRows_ = true; - root.invalidateDisplay(); - } - - function invalidateDisplay() { - root.updateDisplay(); - } - - function updateDisplay() { - var itemY = 0; - for (var i = 0; i < items.length; i++) { - var item = items[i]; - if (item) item.y = itemY; - itemY += itemHeight() - } - - scrollArea.contentHeight = itemCount() * itemHeight(); - - if (root.needToRequestRows_) { - root.needToRequestRows_ = false; - var indexes = itemIndexesInView(); - root.rowsRequested(indexes[0], indexes[1]); - } - } - - function itemIndexesInView() { - var maxVisibleItems = Math.ceil(scrollArea.height / itemHeight()); - - var fromIndex = Math.max(0, Math.floor(scrollArea.contentY / itemHeight())); - var toIndex = fromIndex + maxVisibleItems; - var maxIndex = itemCount() - 1; - - return [Math.min(fromIndex, maxIndex), Math.min(toIndex, maxIndex)]; - } - - Component { - id: itemComponent - Item { - id: container - //property alias title: label.text - property variant content; - - function invalidateDisplay() { - container.updateDisplay(); - } - - function updateDisplay() { - label.text = content.title; - container.height = label.height - } - - Text { - id: label - anchors.left: parent.left - anchors.right: parent.right - verticalAlignment: Text.AlignVCenter - } - } - } - - Flickable { - id: scrollArea - anchors.fill: parent - contentWidth: 800 - contentHeight: 5000 - -// Rectangle { -// id: background -// color: "#ffffff" -// border.color: "#0000ff" -// width: 800 -// height: 500 -// } - } - -} diff --git a/QtClient/JoplinQtClient/JoplinQtClient.pro b/QtClient/JoplinQtClient/JoplinQtClient.pro deleted file mode 100755 index 9acd0d989f..0000000000 --- a/QtClient/JoplinQtClient/JoplinQtClient.pro +++ /dev/null @@ -1,106 +0,0 @@ -# To enable CLI or GUI, add either of these: -# "JOP_FRONT_END_CLI=1" -# "JOP_FRONT_END_GUI=1" -# to the qmake command. So that it looks like this: -# qmake JoplinQtClient.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug "JOP_FRONT_END_CLI=1" && /usr/bin/make qmake_all - -QT += qml quick sql quickcontrols2 network - -CONFIG += c++11 - -defined(JOP_FRONT_END_CLI, var) { - message(Building CLI client) - DEFINES += "JOP_FRONT_END_CLI=$$JOP_FRONT_END_CLI" -} - -defined(JOP_FRONT_END_GUI, var) { - message(Building GUI client) - DEFINES += "JOP_FRONT_END_GUI=$$JOP_FRONT_END_GUI" -} - -defined(JOP_FRONT_END_CLI, var) { - QT -= gui - CONFIG += console - CONFIG -= app_bundle -} - -SOURCES += \ - main.cpp \ - models/item.cpp \ - models/folder.cpp \ - database.cpp \ - models/foldermodel.cpp \ - models/notemodel.cpp \ - models/note.cpp \ - webapi.cpp \ - synchronizer.cpp \ - settings.cpp \ - uuid.cpp \ - dispatcher.cpp \ - models/change.cpp \ - models/basemodel.cpp \ - models/setting.cpp \ - paths.cpp \ - window.cpp \ - filters.cpp \ - models/abstractlistmodel.cpp \ - cliapplication.cpp \ - command.cpp \ - qmlutils.cpp \ - baseitemlistcontroller.cpp \ - folderlistcontroller.cpp - -RESOURCES += qml.qrc \ - database.qrc - -# Additional import path used to resolve QML modules in Qt Creator's code model -QML_IMPORT_PATH = - -# Default rules for deployment. -qnx: target.path = /tmp/$${TARGET}/bin -else: unix:!android: target.path = /opt/$${TARGET}/bin -!isEmpty(target.path): INSTALLS += target - -HEADERS += \ - stable.h \ - models/folder.h \ - models/item.h \ - database.h \ - models/foldermodel.h \ - models/notemodel.h \ - models/note.h \ - sparsevector.hpp \ - webapi.h \ - synchronizer.h \ - settings.h \ - simpletypes.h \ - uuid.h \ - dispatcher.h \ - models/change.h \ - models/basemodel.h \ - enum.h \ - models/setting.h \ - paths.h \ - constants.h \ - window.h \ - filters.h \ - models/abstractlistmodel.h \ - cliapplication.h \ - command.h \ - qmlutils.h \ - baseitemlistcontroller.h \ - folderlistcontroller.h - -defined(JOP_FRONT_END_GUI, var) { - SOURCES += application.cpp - HEADERS += application.h -} - -DISTFILES += \ - AndroidManifest.xml - -PRECOMPILED_HEADER = stable.h - -# INCLUDEPATH += "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10240.0/ucrt" - -# LIBS += -L"C:/Program Files (x86)/Windows Kits/10/Lib/10.0.10240.0/ucrt/x86" diff --git a/QtClient/JoplinQtClient/JoplinQtClient.pro.user.13661a9 b/QtClient/JoplinQtClient/JoplinQtClient.pro.user.13661a9 deleted file mode 100644 index 0cc2f29be3..0000000000 --- a/QtClient/JoplinQtClient/JoplinQtClient.pro.user.13661a9 +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - EnvironmentId - {13661a96-7123-4040-a8b0-364538c1219d} - - - ProjectExplorer.Project.ActiveTarget - 0 - - - ProjectExplorer.Project.EditorSettings - - true - false - true - - Cpp - - CppGlobal - - - - QmlJS - - QmlJSGlobal - - - 2 - UTF-8 - false - 4 - false - 80 - true - true - 1 - true - false - 0 - true - true - 0 - 8 - true - 1 - true - true - true - false - - - - ProjectExplorer.Project.PluginSettings - - - - ProjectExplorer.Project.Target.0 - - Desktop Qt 5.7.1 GCC 64bit - Desktop Qt 5.7.1 GCC 64bit - qt.57.gcc_64_kit - 0 - 0 - 0 - - /home/laurent/src/notes/QtClient/build-JoplinQtClient-Desktop_Qt_5_7_1_GCC_64bit-Debug - - - true - qmake - - QtProjectManager.QMakeBuildStep - true - "JOP_FRONT_END_CLI=1" - false - false - false - - - true - Make - - Qt4ProjectManager.MakeStep - - -w - -r - - false - - - - 2 - Build - - ProjectExplorer.BuildSteps.Build - - - - true - Make - - Qt4ProjectManager.MakeStep - - -w - -r - - true - clean - - - 1 - Clean - - ProjectExplorer.BuildSteps.Clean - - 2 - false - - Debug - - Qt4ProjectManager.Qt4BuildConfiguration - 2 - true - - - /home/laurent/src/notes/QtClient/build-JoplinQtClient-Desktop_Qt_5_7_1_GCC_64bit-Release - - - true - qmake - - QtProjectManager.QMakeBuildStep - false - - false - false - false - - - true - Make - - Qt4ProjectManager.MakeStep - - -w - -r - - false - - - - 2 - Build - - ProjectExplorer.BuildSteps.Build - - - - true - Make - - Qt4ProjectManager.MakeStep - - -w - -r - - true - clean - - - 1 - Clean - - ProjectExplorer.BuildSteps.Clean - - 2 - false - - Release - - Qt4ProjectManager.Qt4BuildConfiguration - 0 - true - - - /home/laurent/src/notes/QtClient/build-JoplinQtClient-Desktop_Qt_5_7_1_GCC_64bit-Profile - - - true - qmake - - QtProjectManager.QMakeBuildStep - true - - false - true - false - - - true - Make - - Qt4ProjectManager.MakeStep - - -w - -r - - false - - - - 2 - Build - - ProjectExplorer.BuildSteps.Build - - - - true - Make - - Qt4ProjectManager.MakeStep - - -w - -r - - true - clean - - - 1 - Clean - - ProjectExplorer.BuildSteps.Clean - - 2 - false - - Profile - - Qt4ProjectManager.Qt4BuildConfiguration - 0 - true - - 3 - - - 0 - Deploy - - ProjectExplorer.BuildSteps.Deploy - - 1 - Deploy locally - - ProjectExplorer.DefaultDeployConfiguration - - 1 - - - false - false - 1000 - - true - - false - false - false - false - true - 0.01 - 10 - true - 1 - 25 - - 1 - true - false - true - valgrind - - 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - - 2 - - JoplinQtClient - - Qt4ProjectManager.Qt4RunConfiguration:/home/laurent/src/notes/QtClient/JoplinQtClient/JoplinQtClient.pro - true - - JoplinQtClient.pro - false - - - 3768 - false - true - false - false - true - - 1 - - - - ProjectExplorer.Project.TargetCount - 1 - - - ProjectExplorer.Project.Updater.FileVersion - 18 - - - Version - 18 - - diff --git a/QtClient/JoplinQtClient/LoginPage.qml b/QtClient/JoplinQtClient/LoginPage.qml deleted file mode 100755 index d0ec887cf8..0000000000 --- a/QtClient/JoplinQtClient/LoginPage.qml +++ /dev/null @@ -1,35 +0,0 @@ -import QtQuick 2.4 - -LoginPageForm { - - property Item appRoot - - id: root - - function onShown() { - root.apiBaseUrl = settings.valueString("api.baseUrl"); - root.email = settings.valueString("user.email"); - root.password = ""; - } - - Connections { - target: root - onLoginButtonClicked: { - appRoot.emitLoginClicked(root.apiBaseUrl, root.email, root.password); - } - } - - Connections { - target: appRoot - onLoginStarted: { - root.enabled = false; - } - onLoginFailed: { - root.enabled = true; - } - onLoginSuccess: { - root.enabled = true; - } - } - -} diff --git a/QtClient/JoplinQtClient/LoginPageForm.ui.qml b/QtClient/JoplinQtClient/LoginPageForm.ui.qml deleted file mode 100755 index 6a095ad553..0000000000 --- a/QtClient/JoplinQtClient/LoginPageForm.ui.qml +++ /dev/null @@ -1,103 +0,0 @@ -import QtQuick 2.4 -import QtQuick.Controls 2.0 -import QtQuick.Layouts 1.3 - -Item { - id: root - width: 400 - height: 400 - signal loginButtonClicked() - property alias apiBaseUrl: apiBaseUrlTF.text - property alias email: emailTF.text - property alias password: passwordTF.text - - Rectangle { - id: rectangle2 - color: "#ffffff" - anchors.fill: parent - } - - GridLayout { - id: gridLayout1 - flow: GridLayout.LeftToRight - rows: 6 - columns: 2 - anchors.fill: parent - - Label { - id: label1 - text: qsTr("API base URL") - } - - TextField { - id: apiBaseUrlTF - text: "http://joplin.local" - Layout.fillWidth: true - } - - Label { - id: label2 - text: qsTr("Email") - } - - TextField { - id: emailTF - text: "laurent@cozic.net" - Layout.fillWidth: true - } - - Label { - id: label3 - text: qsTr("Password") - } - - TextField { - id: passwordTF - text: "12345678" - Layout.fillWidth: true - } - - Button { - id: loginButton - text: qsTr("Login") - Layout.fillWidth: true - Layout.columnSpan: 2 - } - - Rectangle { - id: rectangle1 - width: 200 - height: 200 - color: "#ffffff" - Layout.columnSpan: 2 - Layout.rowSpan: 1 - Layout.fillHeight: true - Layout.fillWidth: true - } - - - - - } - - Connections { - target: loginButton - onClicked: root.loginButtonClicked() - } - - Connections { - target: apiBaseUrlTF - onAccepted: root.loginButtonClicked() - } - - Connections { - target: emailTF - onAccepted: root.loginButtonClicked() - } - - Connections { - target: passwordTF - onAccepted: root.loginButtonClicked() - } - -} diff --git a/QtClient/JoplinQtClient/MainPage.qml b/QtClient/JoplinQtClient/MainPage.qml deleted file mode 100755 index 54b6884e4a..0000000000 --- a/QtClient/JoplinQtClient/MainPage.qml +++ /dev/null @@ -1,264 +0,0 @@ -import QtQuick 2.7 -import QtQuick.Controls 2.0 -import QtQuick.Layouts 1.0 - -Item { - - property Item appRoot - property alias itemList: itemList - -// Component { -// id: rectangleComponent -// Rectangle { width: 80; height: 50; color: "red" } -// } - - -// function createRectangle() { -// var rect = rectangleComponent.createObject(parent); -// rect.x = 200; -// //console.info("aAAAAAAAAAAAAAAAAAAAAAAAA"); -// } - - ItemList2 { - id: itemList - width: 800 - height: 500 - } - - - -// RowLayout { -// id: layout -// anchors.fill: parent -// spacing: 0 - -// ItemList { -// id: folderList -// model: folderListModel -// Layout.fillWidth: true -// Layout.fillHeight: true -// Layout.minimumWidth: 50 -// Layout.preferredWidth: 100 -// Layout.maximumWidth: 200 -// Layout.minimumHeight: 150 - -// onCurrentItemChanged: { -// appRoot.currentFolderChanged() -// } - -// onEditingAccepted: function(index, text) { -// handleItemListEditingAccepted(folderList, index, text); -// } - -// onStoppedEditing: { -// handleItemListStoppedEditing(folderList); -// } - -// onDeleteButtonClicked: { -// handleItemListAction(folderList, "delete"); -// } -// } - -// ItemList { -// id: noteList -// model: noteListModel -// Layout.fillWidth: true -// Layout.fillHeight: true -// Layout.minimumWidth: 100 -// Layout.maximumWidth: 200 -// Layout.preferredWidth: 200 -// Layout.preferredHeight: 100 - -// onCurrentItemChanged: { -// appRoot.currentNoteChanged() -// } - -// onEditingAccepted: function(index, text) { -// handleItemListEditingAccepted(noteList, index, text); -// } - -// onStoppedEditing: { -// handleItemListStoppedEditing(noteList); -// } - -// onDeleteButtonClicked: { -// handleItemListAction(noteList, "delete"); -// } -// } - -// NoteEditor { -// id: noteEditor -// model: noteModel -// Layout.fillWidth: true -// Layout.fillHeight: true -// Layout.minimumWidth: 100 -// Layout.preferredHeight: 100 -// } - -// } - -// AddButton { -// id: addButton -// anchors.right: parent.right -// anchors.bottom: parent.bottom -// onAddFolderButtonClicked: handleAddItem(folderList) -// onAddNoteButtonClicked: handleAddItem(noteList) -// } - -// Button { -// id: syncButton -// text: "Sync" -// anchors.right: parent.right -// anchors.top: parent.top -// onClicked: appRoot.syncButtonClicked() -// } - -// Button { -// id: logoutButton -// text: "Logout" -// anchors.right: syncButton.left -// anchors.top: parent.top -// onClicked: appRoot.logoutClicked() -// } - -} - - - - -//import QtQuick 2.7 -//import QtQuick.Controls 2.0 -//import QtQuick.Layouts 1.0 - -//Item { - -// property Item appRoot -// property alias currentFolderIndex: folderList.currentIndex -// property alias currentNoteIndex: noteList.currentIndex - -// function onShown() {} - -// function handleAddItem(list) { -// list.model.showVirtualItem(); -// list.startEditing(list.model.rowCount() - 1); -// } - -// function handleItemListEditingAccepted(list, index, text) { -// if (list.model.virtualItemShown()) { -// list.model.hideVirtualItem(); -// list.model.addData(text) -// print("handleItemListEditingAccepted"); -// list.selectItemById(list.model.lastInsertId()); -// } else { -// list.model.setData(index, text, "title") -// } -// } - -// function handleItemListStoppedEditing(list) { -// if (list.model.virtualItemShown()) { -// list.model.hideVirtualItem(); -// } -// } - -// function handleItemListAction(list, action) { -// if (action === "delete") { -// if (list.currentIndex === undefined) return; -// list.model.deleteData(list.currentIndex) -// } -// } - -// RowLayout { -// id: layout -// anchors.fill: parent -// spacing: 0 - -// ItemList { -// id: folderList -// model: folderListModel -// Layout.fillWidth: true -// Layout.fillHeight: true -// Layout.minimumWidth: 50 -// Layout.preferredWidth: 100 -// Layout.maximumWidth: 200 -// Layout.minimumHeight: 150 - -// onCurrentItemChanged: { -// appRoot.currentFolderChanged() -// } - -// onEditingAccepted: function(index, text) { -// handleItemListEditingAccepted(folderList, index, text); -// } - -// onStoppedEditing: { -// handleItemListStoppedEditing(folderList); -// } - -// onDeleteButtonClicked: { -// handleItemListAction(folderList, "delete"); -// } -// } - -// ItemList { -// id: noteList -// model: noteListModel -// Layout.fillWidth: true -// Layout.fillHeight: true -// Layout.minimumWidth: 100 -// Layout.maximumWidth: 200 -// Layout.preferredWidth: 200 -// Layout.preferredHeight: 100 - -// onCurrentItemChanged: { -// appRoot.currentNoteChanged() -// } - -// onEditingAccepted: function(index, text) { -// handleItemListEditingAccepted(noteList, index, text); -// } - -// onStoppedEditing: { -// handleItemListStoppedEditing(noteList); -// } - -// onDeleteButtonClicked: { -// handleItemListAction(noteList, "delete"); -// } -// } - -// NoteEditor { -// id: noteEditor -// model: noteModel -// Layout.fillWidth: true -// Layout.fillHeight: true -// Layout.minimumWidth: 100 -// Layout.preferredHeight: 100 -// } - -// } - -// AddButton { -// id: addButton -// anchors.right: parent.right -// anchors.bottom: parent.bottom -// onAddFolderButtonClicked: handleAddItem(folderList) -// onAddNoteButtonClicked: handleAddItem(noteList) -// } - -// Button { -// id: syncButton -// text: "Sync" -// anchors.right: parent.right -// anchors.top: parent.top -// onClicked: appRoot.syncButtonClicked() -// } - -// Button { -// id: logoutButton -// text: "Logout" -// anchors.right: syncButton.left -// anchors.top: parent.top -// onClicked: appRoot.logoutClicked() -// } - -//} diff --git a/QtClient/JoplinQtClient/NoteEditor.qml b/QtClient/JoplinQtClient/NoteEditor.qml deleted file mode 100755 index c6fb39c37f..0000000000 --- a/QtClient/JoplinQtClient/NoteEditor.qml +++ /dev/null @@ -1,51 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 -import QtQuick.Layouts 1.1 - -Item { - - property QtObject model - - Connections { - target: model - onChanged: { - if (!model) { - titleField.text = "" - bodyField.text = "" - } else { - titleField.text = model.title - bodyField.text = model.body - } - } - } - - Rectangle { - color: "#eeeeee" - border.color: "#0000ff" - anchors.fill: parent - } - - ColumnLayout { - - anchors.fill: parent - spacing: 2 - - TextField { - id: titleField - Layout.fillWidth: true - Layout.minimumWidth: 50 - Layout.preferredWidth: 100 - } - - TextArea { - id: bodyField - Layout.fillWidth: true - Layout.fillHeight: true - Layout.minimumWidth: 50 - Layout.preferredWidth: 100 - Layout.minimumHeight: 150 - } - - } - -} diff --git a/QtClient/JoplinQtClient/NoteList.qml b/QtClient/JoplinQtClient/NoteList.qml deleted file mode 100755 index b3a7b110da..0000000000 --- a/QtClient/JoplinQtClient/NoteList.qml +++ /dev/null @@ -1,46 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -Item { - id: root - property alias model: listView.model - property alias currentIndex: listView.currentIndex - property alias currentItem: listView.currentItem - - Rectangle { - color: "#ffeeee" - border.color: "#00ff00" - anchors.fill: parent - } - - Component { - id: noteDelegate - Item { - width: parent.width - height: 25 - Text { - text: display - } - MouseArea { - anchors.fill: parent - onClicked: { - listView.currentIndex = index - } - } - } - } - - ListView { - id: listView - anchors.fill: parent - delegate: noteDelegate - highlightMoveVelocity: -1 - highlightMoveDuration: 100 - ScrollBar.vertical: ScrollBar { } - highlight: Rectangle { color: "lightsteelblue"; radius: 5 } - focus: true - onCurrentItemChanged: { - root.currentItemChanged() - } - } -} diff --git a/QtClient/JoplinQtClient/Page1.qml b/QtClient/JoplinQtClient/Page1.qml deleted file mode 100755 index 02ac22eefa..0000000000 --- a/QtClient/JoplinQtClient/Page1.qml +++ /dev/null @@ -1,7 +0,0 @@ -import QtQuick 2.7 - -Page1Form { - button1.onClicked: { - console.log("Button Pressed. Entered text: " + textField1.text); - } -} diff --git a/QtClient/JoplinQtClient/Page1Form.ui.qml b/QtClient/JoplinQtClient/Page1Form.ui.qml deleted file mode 100755 index a4918a2062..0000000000 --- a/QtClient/JoplinQtClient/Page1Form.ui.qml +++ /dev/null @@ -1,73 +0,0 @@ -import QtQuick 2.7 -import QtQuick.Controls 2.0 -import QtQuick.Layouts 1.0 - -Item { - property alias textField1: textField1 - property alias button1: button1 - - RowLayout { - anchors.horizontalCenter: parent.horizontalCenter - anchors.topMargin: 20 - anchors.top: parent.top - - TextField { - id: textField1 - placeholderText: qsTr("Text Field") - } - - Button { - id: button1 - text: qsTr("Press Me") - } - } - - ListView { - id: listView1 - x: 62 - y: 143 - width: 410 - height: 199 - model: ListModel { - ListElement { - name: "Grey" - colorCode: "grey" - } - - ListElement { - name: "Red" - colorCode: "red" - } - - ListElement { - name: "Blue" - colorCode: "blue" - } - - ListElement { - name: "Green" - colorCode: "green" - } - } - delegate: Item { - x: 5 - width: 80 - height: 40 - Row { - id: row1 - Rectangle { - width: 40 - height: 40 - color: colorCode - } - - Text { - text: name - font.bold: true - anchors.verticalCenter: parent.verticalCenter - } - spacing: 10 - } - } - } -} diff --git a/QtClient/JoplinQtClient/Test.qml b/QtClient/JoplinQtClient/Test.qml deleted file mode 100755 index 9121c080d9..0000000000 --- a/QtClient/JoplinQtClient/Test.qml +++ /dev/null @@ -1,4 +0,0 @@ -import QtQuick 2.4 - -TestForm { -} diff --git a/QtClient/JoplinQtClient/TestForm.ui.qml b/QtClient/JoplinQtClient/TestForm.ui.qml deleted file mode 100755 index c1bd78d764..0000000000 --- a/QtClient/JoplinQtClient/TestForm.ui.qml +++ /dev/null @@ -1,26 +0,0 @@ -import QtQuick 2.4 - -Item { - id: item1 - width: 400 - height: 400 - - AddButton { - id: addButton1 - x: 232 - y: 294 - width: 100 - height: 50 - anchors.rightMargin: 0 - anchors.bottom: parent.bottom - anchors.right: parent.right - } - - FolderList { - id: folderList1 - width: 107 - anchors.bottom: parent.bottom - anchors.top: parent.top - anchors.left: parent.left - } -} diff --git a/QtClient/JoplinQtClient/TestUnQuatre.qml b/QtClient/JoplinQtClient/TestUnQuatre.qml deleted file mode 100755 index aa9d1024be..0000000000 --- a/QtClient/JoplinQtClient/TestUnQuatre.qml +++ /dev/null @@ -1,15 +0,0 @@ -import QtQuick.Controls 1.4 - -TreeView { - TableViewColumn { - title: "Name" - role: "fileName" - width: 300 - } - TableViewColumn { - title: "Permissions" - role: "filePermissions" - width: 100 - } - model: fileSystemModel -} diff --git a/QtClient/JoplinQtClient/app.qml b/QtClient/JoplinQtClient/app.qml deleted file mode 100755 index c52d0e5a45..0000000000 --- a/QtClient/JoplinQtClient/app.qml +++ /dev/null @@ -1,128 +0,0 @@ -import QtQuick 2.7 -import QtQuick.Controls 2.0 -import QtQuick.Controls 1.4 -import QtQuick.Layouts 1.0 - -Item { - id: root - width: 800 - height: 600 - - property alias itemList : mainPage.itemList - - function testing() { - var itemList = mainPage.itemList; - itemList.setItemCount(100); - - var items = []; - for (var i = 0; i < 100; i++) { - items.push({ title: "Item " + i }); - } - - itemList.setItems(0, items); - } - - MainPage { - id: mainPage - anchors.fill: parent - appRoot: root - } - -} - - -//import QtQuick 2.7 -//import QtQuick.Controls 2.0 -//import QtQuick.Controls 1.4 -//import QtQuick.Layouts 1.0 - -//Item { -// id: root -// width: 800 -// height: 600 -// signal currentFolderChanged() -// signal currentNoteChanged() -// signal addNoteButtonClicked() -// signal addFolderButtonClicked() -// signal syncButtonClicked() -// signal loginButtonClicked() -// signal loginClicked(string apiBaseUrl, string email, string password) -// signal loginStarted() -// signal loginFailed() -// signal loginSuccess() -// signal logoutClicked() -// property alias currentFolderIndex: mainPage.currentFolderIndex -// property alias currentNoteIndex: mainPage.currentNoteIndex - -// property var pages : ({}) - -// function pageByName(pageName) { -// if (root.pages[pageName]) return root.pages[pageName]; - -// var page = null; -// if (pageName === "main") { -// page = mainPage -// } else if (pageName === "login") { -// var s = ' -// LoginPage { -// id: loginPage -// anchors.fill: parent -// visible: false -// appRoot: root -// }'; -// page = Qt.createQmlObject(s, root); -// } - -// root.pages[pageName] = page; - -// return page; -// } - -// function showPage(pageName) { -// for (var n in root.pages) { -// root.pages[n].visible = false; -// } - -// print("Switching to page: " + pageName); -// var page = pageByName(pageName); -// page.visible = true; - -// page.onShown(); -// } - -// function selectFolderbyId(id) { -// mainPage.folderList.selectItemById(id); -// } - -// function selectNoteById(id) { -// mainPage.noteList.selectItemById(id); -// } - -// function emitLoginStarted() { -// root.loginStarted(); -// } - -// function emitLoginFailed() { -// root.loginFailed(); -// } - -// function emitLoginSuccess() { -// root.loginSuccess(); -// } - -// function emitLoginClicked(apiBaseUrl, email, password) { -// root.loginClicked(apiBaseUrl, email, password); -// } - -// function emitLogoutClicked() { -// root.logoutClicked(); -// } - -// MainPage { -// id: mainPage -// anchors.fill: parent -// appRoot: root -// visible: false -// } - -//} diff --git a/QtClient/JoplinQtClient/application.cpp b/QtClient/JoplinQtClient/application.cpp deleted file mode 100755 index f526aa9b7a..0000000000 --- a/QtClient/JoplinQtClient/application.cpp +++ /dev/null @@ -1,244 +0,0 @@ -#include "application.h" - -#include "models/folder.h" -#include "database.h" -#include "models/foldermodel.h" -#include "models/change.h" -#include "services/folderservice.h" -#include "settings.h" -#include "uuid.h" -#include "dispatcher.h" -#include "paths.h" -#include "constants.h" -#include "filters.h" - - - -#include "qmlutils.h" - -using namespace jop; - -Application::Application(int &argc, char **argv) : - QGuiApplication(argc, argv) - - { - - // This is linked to where the QSettings will be saved. In other words, - // if these values are changed, the settings will be reset and saved - // somewhere else. - QCoreApplication::setOrganizationName(jop::ORG_NAME); - QCoreApplication::setOrganizationDomain(jop::ORG_DOMAIN); - QCoreApplication::setApplicationName(jop::APP_NAME); - - qInfo() << "Config dir:" << paths::configDir(); - qInfo() << "Database file:" << paths::databaseFile(); - qInfo() << "SSL:" << QSslSocket::sslLibraryBuildVersionString() << QSslSocket::sslLibraryVersionNumber(); - - jop::db().initialize(paths::databaseFile()); - - Settings::initialize(); - - Settings settings; - - if (!settings.contains("clientId")) { - // Client ID should be unique per instance of a program - settings.setValue("clientId", uuid::createUuid()); - } - - Settings* qmlSettings = new Settings(); - - view_.setResizeMode(QQuickView::SizeRootObjectToView); - QQmlContext *ctxt = view_.rootContext(); - ctxt->setContextProperty("folderListModel", &folderModel_); - ctxt->setContextProperty("noteListModel", ¬eModel_); - //ctxt->setContextProperty("noteModel", &selectedQmlNote_); - ctxt->setContextProperty("settings", qmlSettings); - - view_.setSource(QUrl("qrc:/app.qml")); - - QObject* rootObject = (QObject*)view_.rootObject(); - - QObject* itemList = qmlUtils::childFromProperty(rootObject, "itemList"); - - itemListController_.setItemList(itemList); - itemListController_.setParentId(QString("")); - - - //qmlUtils::callQml(itemList, "testing"); - - - - //qDebug() << itemList; - - -// QObject* itemList = rootObject->findChild("itemList"); -// qDebug() << "WWWWWWWWWW" << itemList; - - //view_.callQml("testing"); - - - -// connect(rootObject, SIGNAL(currentFolderChanged()), this, SLOT(view_currentFolderChanged())); -// connect(rootObject, SIGNAL(currentNoteChanged()), this, SLOT(view_currentNoteChanged())); -// connect(rootObject, SIGNAL(addFolderButtonClicked()), this, SLOT(view_addFolderButtonClicked())); -// connect(rootObject, SIGNAL(addNoteButtonClicked()), this, SLOT(view_addNoteButtonClicked())); -// connect(rootObject, SIGNAL(syncButtonClicked()), this, SLOT(view_syncButtonClicked())); -// connect(rootObject, SIGNAL(loginClicked(QString,QString,QString)), this, SLOT(dispatcher_loginClicked(QString,QString,QString))); -// connect(rootObject, SIGNAL(logoutClicked()), this, SLOT(dispatcher_logoutClicked())); - - view_.show(); - - synchronizerTimer_.setInterval(1000 * 120); - synchronizerTimer_.start(); - - connect(&synchronizerTimer_, SIGNAL(timeout()), this, SLOT(synchronizerTimer_timeout())); - - connect(&api_, SIGNAL(requestDone(const QJsonObject&, const QString&)), this, SLOT(api_requestDone(const QJsonObject&, const QString&))); - - if (!settings.contains("user.email") || !settings.contains("session.id") || !settings.contains("api.baseUrl")) { - synchronizer_.freeze(); - view_.showPage("login"); - } else { - afterSessionInitialization(); - view_.showPage("main"); - view_currentFolderChanged(); // Make sure the note list shows the right notes - } -} - -Application::~Application() { - jop::db().close(); -} - -void Application::login(const QString &email, const QString &password) { - Settings settings; - QUrlQuery postData; - postData.addQueryItem("email", email); - postData.addQueryItem("password", password); - postData.addQueryItem("client_id", settings.value("clientId").toString()); - api_.post("sessions", QUrlQuery(), postData, "getSession"); -} - -void Application::api_requestDone(const QJsonObject& response, const QString& tag) { - // TODO: handle errors - // Handle expired sessions - - if (tag == "getSession") { - if (response.contains("error")) { - qWarning() << "Could not get session:" << response.value("error").toString(); - view_.emitSignal("loginFailed"); - view_.showPage("login"); - } else { - QString sessionId = response.value("id").toString(); - qInfo() << "Got session" << sessionId; - Settings settings; - settings.setValue("session.id", sessionId); - afterSessionInitialization(); - view_.emitSignal("loginSuccess"); - view_.showPage("main"); - } - return; - } -} - -void Application::dispatcher_loginClicked(const QString &apiBaseUrl, const QString &email, const QString &password) { - view_.emitSignal("loginStarted"); - - QString newBaseUrl = filters::apiBaseUrl(apiBaseUrl); - - Settings settings; - - if (newBaseUrl != settings.value("api.baseUrl").toString()) { - // TODO: add confirmation dialog - qDebug() << "Base URL has changed from" << settings.value("api.baseUrl").toString() << "to" << newBaseUrl; - BaseModel::deleteAll(jop::FoldersTable); - BaseModel::deleteAll(jop::ChangesTable); - settings.remove("lastRevId"); - settings.setValue("clientId", uuid::createUuid()); - } - - settings.setValue("user.email", filters::email(email)); - settings.setValue("api.baseUrl", newBaseUrl); - - api_.setBaseUrl(apiBaseUrl); - - login(email, password); -} - -void Application::dispatcher_logoutClicked() { - api_.abortAll(); - synchronizer_.abort(); - synchronizer_.freeze(); - - Settings settings; - settings.remove("session.id"); - api_.setSessionId(""); - synchronizer_.setSessionId(""); - - view_.showPage("login"); -} - -void Application::synchronizerTimer_timeout() { - //synchronizerTimer_.start(1000 * 10); - synchronizer_.start(); -} - -QString Application::selectedFolderId() const { - QObject* rootObject = (QObject*)view_.rootObject(); - if (!rootObject) { - qCritical() << "Calling selectedFolderId() when root is null"; - return ""; - } - - int index = rootObject->property("currentFolderIndex").toInt(); - QModelIndex modelIndex = folderModel_.index(index); - return folderModel_.data(modelIndex, FolderModel::IdRole).toString(); -} - -QString Application::selectedNoteId() const { - QObject* rootObject = (QObject*)view_.rootObject(); - - int index = rootObject->property("currentNoteIndex").toInt(); - QModelIndex modelIndex = noteModel_.index(index); - return noteModel_.data(modelIndex, NoteModel::IdRole).toString(); -} - -void Application::afterSessionInitialization() { - Settings settings; - QString sessionId = settings.value("session.id").toString(); - api_.setBaseUrl(settings.value("api.baseUrl").toString()); - api_.setSessionId(sessionId); - synchronizer_.api().setBaseUrl(settings.value("api.baseUrl").toString()); - synchronizer_.setSessionId(sessionId); - synchronizer_.unfreeze(); - synchronizer_.start(); -} - -void Application::view_currentFolderChanged() { - QString folderId = selectedFolderId(); - noteModel_.setFolderId(folderId); -} - -void Application::view_currentNoteChanged() { -// QString noteId = selectedNoteId(); -// Note note = noteCollection_.byId(noteId); -// selectedQmlNote_.setNote(note); -} - -void Application::view_addNoteButtonClicked() { - qDebug() <<"ADDNOTE"; -} - -void Application::view_addFolderButtonClicked() { -// QStringList fields; -// fields << "id"; -// VariantVector values; -// values << uuid::createUuid(); -// QSqlQuery q = db_.buildSqlQuery(Database::Insert, "folders", fields, values); -// q.exec(); - -// emit jop::dispatcher().folderCreated("test"); -} - -void Application::view_syncButtonClicked() { - synchronizer_.start(); -} diff --git a/QtClient/JoplinQtClient/application.h b/QtClient/JoplinQtClient/application.h deleted file mode 100755 index 68ce4fe5b5..0000000000 --- a/QtClient/JoplinQtClient/application.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef APPLICATION_H -#define APPLICATION_H - -#include - -#include "database.h" -#include "models/foldermodel.h" -#include "models/notemodel.h" -#include "webapi.h" -#include "synchronizer.h" -#include "window.h" -#include "folderlistcontroller.h" - -namespace jop { - -class Application : public QGuiApplication { - - Q_OBJECT - -public: - - Application(int &argc, char **argv); - ~Application(); - void login(const QString& email, const QString& password); - -private: - - Window view_; - FolderModel folderModel_; - NoteModel noteModel_; - QString selectedFolderId() const; - QString selectedNoteId() const; - WebApi api_; - Synchronizer synchronizer_; - QTimer synchronizerTimer_; - FolderListController itemListController_; - - void afterSessionInitialization(); - -public slots: - - void view_currentFolderChanged(); - void view_currentNoteChanged(); - void view_addNoteButtonClicked(); - void view_addFolderButtonClicked(); - void view_syncButtonClicked(); - - void api_requestDone(const QJsonObject& response, const QString& tag); - - void dispatcher_loginClicked(const QString &domain, const QString &email, const QString &password); - void dispatcher_logoutClicked(); - - void synchronizerTimer_timeout(); - -}; - -} - -#endif // APPLICATION_H diff --git a/QtClient/JoplinQtClient/baseitemlistcontroller.cpp b/QtClient/JoplinQtClient/baseitemlistcontroller.cpp deleted file mode 100755 index 95ff34b687..0000000000 --- a/QtClient/JoplinQtClient/baseitemlistcontroller.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include "baseitemlistcontroller.h" - -namespace jop { - -BaseItemListController::BaseItemListController() : - parentId_(QString("")), - itemList_(NULL), - orderBy_("title") { -} - -void BaseItemListController::setItemList(QObject *itemList) { - if (itemList_) { - qFatal("Cannot reset itemList - create a new ItemListController instead"); - return; - } - - itemList_ = itemList; - - connect(itemList, SIGNAL(rowsRequested(int,int)), this, SLOT(itemList_rowsRequested(int,int))); -} - -void BaseItemListController::setParentId(const QString &parentId) { - parentId_= parentId; - updateItemCount(); -} - -QString BaseItemListController::parentId() const { - return parentId_; -} - -QObject *BaseItemListController::itemList() const { - return itemList_; -} - -void BaseItemListController::setOrderBy(const QString &v) { - orderBy_ = v; -} - -QString BaseItemListController::orderBy() const { - return orderBy_; -} - -void BaseItemListController::updateItemCount() { - qFatal("BaseItemListController::updateItemCount() must be implemented by child class"); -} - -void BaseItemListController::itemList_rowsRequested(int fromIndex, int toIndex) { - Q_UNUSED(fromIndex); Q_UNUSED(toIndex); - qFatal("BaseItemListController::itemList_rowsRequested() must be implemented by child class"); -} - -const BaseModel *BaseItemListController::cacheGet(int index) const { - Q_UNUSED(index); - qFatal("BaseItemListController::cacheGet() not implemented"); - return NULL; -} - -void BaseItemListController::cacheSet(int index, BaseModel* baseModel) const { - Q_UNUSED(index); Q_UNUSED(baseModel); - qFatal("BaseItemListController::cacheSet() not implemented"); -} - -bool BaseItemListController::cacheIsset(int index) const { - Q_UNUSED(index); - qFatal("BaseItemListController::cacheIsset() not implemented"); - return false; -} - -void BaseItemListController::cacheClear() const { - qFatal("BaseItemListController::cacheClear() not implemented"); -} - -} diff --git a/QtClient/JoplinQtClient/baseitemlistcontroller.h b/QtClient/JoplinQtClient/baseitemlistcontroller.h deleted file mode 100755 index 8d5cef9269..0000000000 --- a/QtClient/JoplinQtClient/baseitemlistcontroller.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef BASEITEMLISTCONTROLLER_H -#define BASEITEMLISTCONTROLLER_H - -#include -#include "models/basemodel.h" - -namespace jop { - -class BaseItemListController : public QObject { - - Q_OBJECT - -public: - - BaseItemListController(); - void setItemList(QObject* itemList); - void setParentId(const QString& parentId); - QString parentId() const; - QObject* itemList() const; - void setOrderBy(const QString& v); - QString orderBy() const; - -private: - - QString parentId_; - QObject* itemList_; - QString orderBy_; - -protected: - - virtual void updateItemCount(); - - // All these methods are const because we want to be able to clear the - // cache or set values from any method including const ones. - // http://stackoverflow.com/a/4248661/561309 - virtual const BaseModel* cacheGet(int index) const; - virtual void cacheSet(int index, BaseModel* baseModel) const; - virtual bool cacheIsset(int index) const; - virtual void cacheClear() const; - -public slots: - - virtual void itemList_rowsRequested(int fromIndex, int toIndex); - -}; - -} - -#endif // BASEITEMLISTCONTROLLER_H diff --git a/QtClient/JoplinQtClient/build.bat b/QtClient/JoplinQtClient/build.bat deleted file mode 100755 index c90101dd33..0000000000 --- a/QtClient/JoplinQtClient/build.bat +++ /dev/null @@ -1,11 +0,0 @@ -@echo off -D: -mkdir "D:\Web\www\joplin\QtClient\build-JoplinQtClient-Visual_C_32_bits-Debug\" -cd "D:\Web\www\joplin\QtClient\build-JoplinQtClient-Visual_C_32_bits-Debug\" -"C:\Qt\5.7\msvc2015\bin\qmake.exe" D:\Web\www\joplin\QtClient\JoplinQtClient\JoplinQtClient.pro -spec win32-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug" "JOP_FRONT_END_GUI=1" -"C:\Qt\Tools\QtCreator\bin\jom.exe" qmake_all -"C:\Qt\Tools\QtCreator\bin\jom.exe" - -rem "C:\Qt\5.7\msvc2015\bin\qmake.exe" D:\Web\www\joplin\QtClient\JoplinQtClient\JoplinQtClient.pro -spec win32-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug" -rem "C:\Qt\Tools\QtCreator\bin\jom.exe" qmake_all -rem "C:\Qt\Tools\QtCreator\bin\jom.exe" \ No newline at end of file diff --git a/QtClient/JoplinQtClient/build.sh b/QtClient/JoplinQtClient/build.sh deleted file mode 100755 index 1f0267c180..0000000000 --- a/QtClient/JoplinQtClient/build.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -set -e - -# mkdir -p /cygdrive/d/Web/www/joplin/QtClient/build-JoplinQtClient-Visual_C_32_bits-Debug -# cd /cygdrive/d/Web/www/joplin/QtClient/build-JoplinQtClient-Visual_C_32_bits-Debug -# rm -rf debug/ release/ Makefile* -# export PATH="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin":$PATH -# export PATH=$PATH:"/cygdrive/c/Program Files (x86)/Windows Kits/8.1/bin/x86" -# export PATH=$PATH:"/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include" -# "/cygdrive/c/Qt/5.7/msvc2015/bin/qmake.exe" D:\\Web\\www\\joplin\\QtClient\\JoplinQtClient\\JoplinQtClient.pro -spec win32-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug" "JOP_FRONT_END_GUI=1" -# "/cygdrive/c/Qt/Tools/QtCreator/bin/jom.exe" qmake_all -# "/cygdrive/c/Qt/Tools/QtCreator/bin/jom.exe" -# rsync -a /cygdrive/d/Web/www/joplin/QtClient/dependencies/dll-debug/ /cygdrive/d/Web/www/joplin/QtClient/build-JoplinQtClient-Visual_C_32_bits-Debug/debug -# cd - - - - -BUILD_DIR=/home/laurent/src/notes/QtClient/build-JoplinQtClient-Desktop_Qt_5_7_1_GCC_64bit-Debug -mkdir -p "$BUILD_DIR" -cd "$BUILD_DIR" -/opt/Qt/5.7/gcc_64/bin/qmake /home/laurent/src/notes/QtClient/JoplinQtClient/JoplinQtClient.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug JOP_FRONT_END_CLI=1 -/usr/bin/make qmake_all -/usr/bin/make \ No newline at end of file diff --git a/QtClient/JoplinQtClient/cliapplication.cpp b/QtClient/JoplinQtClient/cliapplication.cpp deleted file mode 100755 index 01ab85b014..0000000000 --- a/QtClient/JoplinQtClient/cliapplication.cpp +++ /dev/null @@ -1,486 +0,0 @@ -#include - -#include "cliapplication.h" -#include "constants.h" -#include "database.h" -#include "paths.h" -#include "uuid.h" -#include "settings.h" -#include "models/folder.h" - - - - - - - - - -#include - - - -namespace jop { - -StdoutHandler::StdoutHandler() : QTextStream(stdout) {} -StderrHandler::StderrHandler() : QTextStream(stderr) {} - -CliApplication::CliApplication(int &argc, char **argv) : QCoreApplication(argc, argv) { - // This is linked to where the QSettings will be saved. In other words, - // if these values are changed, the settings will be reset and saved - // somewhere else. - QCoreApplication::setOrganizationName(jop::ORG_NAME); - QCoreApplication::setOrganizationDomain(jop::ORG_DOMAIN); - QCoreApplication::setApplicationName(jop::APP_NAME); - - qInfo() << "Config dir:" << paths::configDir(); - qInfo() << "Database file:" << paths::databaseFile(); - qInfo() << "SSL:" << QSslSocket::sslLibraryBuildVersionString() << QSslSocket::sslLibraryVersionNumber(); - - jop::db().initialize(paths::databaseFile()); - - Settings::initialize(); - - Settings settings; - - if (!settings.contains("clientId")) { - // Client ID should be unique per instance of a program - settings.setValue("clientId", uuid::createUuid()); - } - - connect(&api_, SIGNAL(requestDone(const QJsonObject&, const QString&)), this, SLOT(api_requestDone(const QJsonObject&, const QString&))); - connect(&synchronizer_, SIGNAL(started()), this, SLOT(synchronizer_started())); - connect(&synchronizer_, SIGNAL(finished()), this, SLOT(synchronizer_finished())); -} - -CliApplication::~CliApplication() { - jop::db().close(); -} - -void CliApplication::api_requestDone(const QJsonObject& response, const QString& tag) { - // TODO: handle errors - // Handle expired sessions - - if (tag == "getSession") { - if (response.contains("error")) { - qStderr() << "Could not login: " << response.value("error").toString() << endl; - emit synchronizationDone(); - } else { - QString sessionId = response.value("id").toString(); - Settings settings; - settings.setValue("session.id", sessionId); - startSynchronization(); - } - } -} - -// Call this only once the API base URL has been defined and the session has been set. -void CliApplication::startSynchronization() { - Settings settings; - synchronizer_.api().setBaseUrl(api_.baseUrl()); - synchronizer_.setSessionId(settings.value("session.id").toString()); - synchronizer_.unfreeze(); - synchronizer_.start(); -} - -void CliApplication::synchronizer_started() { - qDebug() << "Synchronization started..."; -} - -void CliApplication::synchronizer_finished() { - qDebug() << "Synchronization finished..."; - emit synchronizationDone(); -} - -bool CliApplication::filePutContents(const QString& filePath, const QString& content) const { - QFile file(filePath); - if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) return false; - - QTextStream out(&file); - out << content; - out.flush(); - return true; -} - -QString CliApplication::fileGetContents(const QString& filePath) const { - QFile file(filePath); - if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) return QString(""); - - QTextStream in(&file); - return in.readAll(); -} - -void CliApplication::saveNoteIfFileChanged(Note& note, const QDateTime& originalLastModified, const QString& noteFilePath) { - if (originalLastModified == QFileInfo(noteFilePath).lastModified()) return; - - QString content = fileGetContents(noteFilePath); - if (content.isEmpty()) return; - - note.patchFriendlyString(content); - note.save(); -} - -// int CliApplication::execCommandConfig(QCommandLineParser& parser) { -// parser.addPositionalArgument("key", "Key of the config property."); -// parser.addPositionalArgument("value", "Value of the config property."); - -// QCommandLineOption unsetOption(QStringList() << "unset", "Unset the given .", "key"); -// parser.addOption(unsetOption); - -// QStringList args = parser.positionalArguments(); -// Settings settings; - -// QString propKey = args.size() >= 1 ? args[0] : ""; -// QString propValue = args.size() >= 2 ? args[1] : ""; -// if (propKey.isEmpty()) { -// QStringList propKeys = settings.allKeys(); -// for (int i = 0; i < propKeys.size(); i++) { -// qStdout() << settings.keyValueserialize(propKeys[i]) << endl; -// } -// return 0; -// } - -// if (propValue.isEmpty()) { -// qStdout() << settings.keyValueserialize(propKey) << endl; -// return 0; -// } - -// settings.setValue(propKey, propValue); - -// return 0; -// } - -QStringList CliApplication::parseCommandLinePath(const QString& commandLine) const { - QStringList output; - int state = 0; // 0 = "outside quotes", 1 = "inside quotes" - QString current(""); - for (int i = 0; i < commandLine.length(); i++) { - QChar c = commandLine[i]; - - // End quote - if (c == '"' && state == 1) { - output << current; - current = ""; - state = 0; - continue; - } - - // Start quote - if (c == '"' && state == 0) { - state = 1; - current = current.trimmed(); - if (current != "") output << current; - current = ""; - state = 1; - continue; - } - - // A space when not inside a quoted string - if (c == ' ' && state == 0) { - current = current.trimmed(); - if (current != "") output << current; - current = ""; - continue; - } - - current += c; - } - - if (state == 0) current = current.trimmed(); - if (current != "") output << current; - - return output; -} - -QString CliApplication::commandLineArgsToString(const QStringList& args) const { - QString output; - for (int i = 0; i < args.size(); i++) { - if (output != "") output += " "; - QString arg = args[i]; - if (arg.contains(' ')) { - output += QString("\"%1\"").arg(arg); - } else { - output += arg; - } - } - return output; -} - -int CliApplication::exec() { - qDebug() << "==========================================="; - - Settings settings; - - QString command = "help"; - QStringList args = arguments(); - - if (args.size() >= 2) { - command = args[1]; - args.erase(args.begin() + 1); - } - - QCommandLineParser parser; - QCommandLineOption helpOption(QStringList() << "h" << "help", "Display usage information."); - parser.addOption(helpOption); - parser.addVersionOption(); - - // mkdir "new_folder" - // rm "new_folder" - // ls - // ls new_folder - // touch new_folder/new_note - // edit new_folder/new_note - // config editor "subl -w %1" - // sync - - // TODO: implement mv "new_folder" - - if (command == "mkdir") { - parser.addPositionalArgument("path", "Folder path."); - } else if (command == "rm") { - parser.addPositionalArgument("path", "Folder path."); - } else if (command == "ls") { - parser.addPositionalArgument("path", "Folder path."); - } else if (command == "touch") { - parser.addPositionalArgument("path", "Note path."); - } else if (command == "edit") { - parser.addPositionalArgument("path", "Note path."); - } else if (command == "config") { - parser.addPositionalArgument("key", "Key of the config property."); - parser.addPositionalArgument("value", "Value of the config property."); - parser.addOption(QCommandLineOption(QStringList() << "unset", "Unset the given .", "key")); - } else if (command == "sync") { - - } else if (command == "help") { - - } else { - qStderr() << parser.helpText() << endl; - return 1; - } - - parser.process(args); - - if (parser.isSet(helpOption) || command == "help") { - qStdout() << parser.helpText(); - return 0; - } - - args = parser.positionalArguments(); - - int errorCode = 0; - - if (command == "mkdir") { - QString path = args.size() ? args[0] : QString(); - - if (path.isEmpty()) { - qStderr() << "Please provide a path or name for the folder."; - return 1; - } - - std::vector> folders = Folder::pathToFolders(path, false, errorCode); - if (errorCode) { - qStderr() << "Invalid path: " << path << endl; - return 1; - } - - Folder folder; - folder.setValue("parent_id", folders.size() ? folders[folders.size() - 1]->idString() : ""); - folder.setValue("title", Folder::pathBaseName(path)); - folder.save(); - } - - if (command == "rm") { - QString path = args.size() ? args[0] : QString(); - - if (path.isEmpty()) { - qStderr() << "Please provide a path or name for the folder."; - return 1; - } - - std::vector> folders = Folder::pathToFolders(path, true, errorCode); - if (errorCode || !folders.size()) { - qStderr() << "Invalid path: " << path << endl; - return 1; - } - - folders[folders.size() - 1]->dispose(); - } - - if (command == "ls") { - QString path = args.size() ? args[0] : QString(); - std::vector> folders = Folder::pathToFolders(path, true, errorCode); - - if (errorCode) { - qStderr() << "Invalid path: " << path << endl; - return 1; - } - - std::vector> children; - if (folders.size()) { - children = folders[folders.size() - 1]->children(); - } else { - std::unique_ptr root = Folder::root(); - children = root->children(); - } - - qStdout() << QString("Total: %1 items").arg(children.size()) << endl; - for (size_t i = 0; i < children.size(); i++) { - qStdout() << children[i]->displayTitle() << endl; - } - } - - if (command == "touch") { - QString path = args.size() ? args[0] : QString(); - - if (path.isEmpty()) { - qStderr() << "Please provide a path or name for the note."; - return 1; - } - - std::vector> folders = Folder::pathToFolders(path, false, errorCode); - - if (errorCode) { - qStderr() << "Invalid path: " << path << endl; - } else { - QString noteTitle = Folder::pathBaseName(path); - - Note note; - note.setValue("parent_id", folders.size() ? folders[folders.size() - 1]->idString() : ""); - note.setValue("title", noteTitle); - note.save(); - } - } - - if (command == "edit") { - QString path = args.size() ? args[0] : QString(); - - if (path.isEmpty()) { - qStderr() << "Please provide a path or name for the note."; - return 1; - } - - std::vector> folders = Folder::pathToFolders(path, false, errorCode); - - if (errorCode) { - qStderr() << "Invalid path: " << path << endl; - } else { - // TODO: handle case where two notes with the same title exist - - QString editorCommandString = settings.value("editor").toString().trimmed(); - if (editorCommandString.isEmpty()) { - qStderr() << "No editor is defined. Please define one using the \"config editor\" command." << endl; - return 1; - } - - QStringList editorCommand = parseCommandLinePath(editorCommandString); - - QString parentId = folders.size() ? folders[folders.size() - 1]->idString() : QString(""); - QString noteTitle = Folder::pathBaseName(path); - Note note; - if (!note.loadByField(parentId, QString("title"), noteTitle)) { - note.setValue("parent_id", folders.size() ? folders[folders.size() - 1]->idString() : ""); - note.setValue("title", noteTitle); - note.save(); - note.reload(); // To ensure that all fields are populated with the default values - } - - QString noteFilePath = QString("%1/%2.txt").arg(paths::noteDraftsDir()).arg(note.idString()); - - if (!filePutContents(noteFilePath, note.serialize())) { - qStderr() << QString("Cannot open %1 for writing").arg(noteFilePath) << endl; - return 1; - } - - QFileInfo fileInfo(noteFilePath); - QDateTime originalLastModified = fileInfo.lastModified(); - - qStdout() << QString("Editing note \"%1\" (Either close the editor or press Ctrl+C when done)").arg(path) << endl; - qDebug() << "File:" << noteFilePath; - QProcess* process = new QProcess(); - qint64 processId = 0; - - QString editorCommandPath = editorCommand.takeFirst(); - editorCommand << noteFilePath; - if (!process->startDetached(editorCommandPath, editorCommand, QString(), &processId)) { - qStderr() << QString("Could not start command: %1").arg(editorCommandPath + " " + commandLineArgsToString(editorCommand)) << endl; - return 1; - } - - while (kill(processId, 0) == 0) { // While the process still exist - QThread::sleep(2); - saveNoteIfFileChanged(note, originalLastModified, noteFilePath); - } - - saveNoteIfFileChanged(note, originalLastModified, noteFilePath); - - delete process; process = NULL; - - QFile::remove(noteFilePath); - } - } - - if (command == "config") { - if (parser.isSet("unset")) { - QString key = parser.value("unset").trimmed(); - settings.remove(key); - return 0; - } - - QString propKey = args.size() >= 1 ? args[0] : ""; - QString propValue = args.size() >= 2 ? args[1] : ""; - if (propKey.isEmpty()) { - QStringList propKeys = settings.allKeys(); - for (int i = 0; i < propKeys.size(); i++) { - qStdout() << settings.keyValueserialize(propKeys[i]) << endl; - } - return 0; - } - - if (propValue.isEmpty()) { - qStdout() << settings.keyValueserialize(propKey) << endl; - return 0; - } - - settings.setValue(propKey, propValue); - } - - if (command == "sync") { - QString sessionId = settings.value("session.id").toString(); - qDebug() << "Session ID:" << sessionId; - - // TODO: ask user - api_.setBaseUrl("http://127.0.0.1:8000"); - - QEventLoop loop; - connect(this, SIGNAL(synchronizationDone()), &loop, SLOT(quit())); - - if (sessionId == "") { - QTextStream qtin(stdin); - qStdout() << "Enter email:" << endl; - QString email = qtin.readLine(); - qStdout() << "Enter password:" << endl; - QString password = qtin.readLine(); - - qDebug() << email << password; - - Settings settings; - QUrlQuery postData; - postData.addQueryItem("email", email); - postData.addQueryItem("password", password); - postData.addQueryItem("client_id", settings.value("clientId").toString()); - api_.post("sessions", QUrlQuery(), postData, "getSession"); - } else { - startSynchronization(); - } - - loop.exec(); - - qDebug() << "Synchronization done"; - } - - qDebug() << "=========================================== END"; - - return 0; -} - -} diff --git a/QtClient/JoplinQtClient/cliapplication.h b/QtClient/JoplinQtClient/cliapplication.h deleted file mode 100644 index 6db9af0b66..0000000000 --- a/QtClient/JoplinQtClient/cliapplication.h +++ /dev/null @@ -1,75 +0,0 @@ -#ifndef CLIAPPLICATION_H -#define CLIAPPLICATION_H - -#include - -#include "command.h" -#include "models/note.h" -#include "webapi.h" -#include "synchronizer.h" - -namespace jop { - -class StdoutHandler : public QTextStream { - -public: - - StdoutHandler(); - -}; - -class StderrHandler : public QTextStream { - -public: - - StderrHandler(); - -}; - -inline StdoutHandler& qStdout() { - static StdoutHandler r; - return r; -} - -inline StderrHandler& qStderr() { - static StderrHandler r; - return r; -} - -class CliApplication : public QCoreApplication { - - Q_OBJECT - -public: - - CliApplication(int &argc, char **argv); - ~CliApplication(); - void processCommand(const Command &command); - int exec(); - -public slots: - - void api_requestDone(const QJsonObject& response, const QString& tag); - void synchronizer_started(); - void synchronizer_finished(); - -signals: - - void synchronizationDone(); - -private: - - bool filePutContents(const QString& filePath, const QString& content) const; - void startSynchronization(); - QString fileGetContents(const QString& filePath) const; - void saveNoteIfFileChanged(Note& note, const QDateTime& originalLastModified, const QString& noteFilePath); - QStringList parseCommandLinePath(const QString& commandLine) const; - QString commandLineArgsToString(const QStringList& args) const; - WebApi api_; - Synchronizer synchronizer_; - -}; - -} - -#endif // CLIAPPLICATION_H diff --git a/QtClient/JoplinQtClient/command.cpp b/QtClient/JoplinQtClient/command.cpp deleted file mode 100644 index 372dd1d6d8..0000000000 --- a/QtClient/JoplinQtClient/command.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "command.h" - -namespace jop { - -Command::Command(const QStringList &arguments) : name_("help"), args_(arguments) { - args_.removeFirst(); - if (args_.size() >= 1) { - name_ = args_.takeFirst(); - } -} - -QString Command::name() const { - return name_; -} - -std::map Command::flags() const { - return flags_; -} - -QStringList Command::args() const { - return args_; -} - -} diff --git a/QtClient/JoplinQtClient/command.h b/QtClient/JoplinQtClient/command.h deleted file mode 100644 index 378a7340eb..0000000000 --- a/QtClient/JoplinQtClient/command.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef COMMAND_H -#define COMMAND_H - -#include - -namespace jop { - -class Command { - -public: - - Command(const QStringList& arguments); - QString name() const; - std::map flags() const; - QStringList args() const; - -private: - - QString name_; - std::map flags_; - QStringList args_; - -}; - -} - -#endif // COMMAND_H diff --git a/QtClient/JoplinQtClient/constants.h b/QtClient/JoplinQtClient/constants.h deleted file mode 100755 index 09ea2100f4..0000000000 --- a/QtClient/JoplinQtClient/constants.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef CONSTANTS_H -#define CONSTANTS_H - -#include - -namespace jop { - -const QString ORG_NAME = "Cozic"; -const QString ORG_DOMAIN = "cozic.net"; -const QString APP_NAME = "Joplin"; - -#ifdef Q_WS_WIN -const QString NEW_LINE = "\r\n"; -#else // Q_WS_WIN -const QString NEW_LINE = "\n"; -#endif // Q_WS_WIN - -#if defined(JOP_FRONT_END_CLI) -const QString FRONT_END = "cli"; -#elif defined(JOP_FRONT_END_GUI) -const QString FRONT_END = "gui"; -#endif // JOP_FRONT_END_GUI - -} - -#endif // CONSTANTS_H diff --git a/QtClient/JoplinQtClient/database.cpp b/QtClient/JoplinQtClient/database.cpp deleted file mode 100755 index 5e853a9bcd..0000000000 --- a/QtClient/JoplinQtClient/database.cpp +++ /dev/null @@ -1,270 +0,0 @@ -#include "database.h" - -using namespace jop; - -Database::Database() : db_(NULL), isClosed_(true) {} - -Database::~Database() { - if (!isClosed()) qWarning() << "Database::close() should be called explicitely"; -} - -void Database::initialize(const QString &path) { - version_ = -1; - transactionCount_ = 0; - logQueries_ = true; - - // QFile::remove(path); - - db_ = new QSqlDatabase(QSqlDatabase::addDatabase("QSQLITE")); - db_->setDatabaseName(path); - - if (!db_->open()) { - qFatal("Error: connection with database fail"); - } else { - qInfo() << "Database: connection ok"; - isClosed_ = false; - } - - upgrade(); -} - -// See https://bugreports.qt.io/browse/QTBUG-35977 for the reason why it's necessary -// to manually destroy the QSqlDatabase instance (i.e. it cannot be done in the -// Database::~Database). -void Database::close() { - if (db_ && db_->open()) db_->close(); - delete db_; - db_ = NULL; - isClosed_ = true; -} - -bool Database::isClosed() const { - return isClosed_; -} - -QSqlDatabase* Database::database() const { - if (isClosed_) qFatal("Database::database: Database is closed"); - return db_; -} - -QSqlQuery Database::buildSqlQuery(Database::QueryType type, const QString &tableName, const QStringList &fields, const VariantVector &values, const QString &whereCondition) { - QString sql; - - if (type == Insert) { - QString fieldString = ""; - QString valueString = ""; - for (int i = 0; i < fields.length(); i++) { - QString f = fields[i]; - if (fieldString != "") fieldString += ", "; - if (valueString != "") valueString += ", "; - fieldString += QString("`%1`").arg(f); - valueString += ":" + f; - } - - sql = QString("INSERT INTO `%1` (%2) VALUES (%3)").arg(tableName).arg(fieldString).arg(valueString); - } else if (type == Update) { - QString fieldString = ""; - for (int i = 0; i < fields.length(); i++) { - QString f = fields[i]; - if (fieldString != "") fieldString += ", "; - fieldString += QString("`%1`=:%1").arg(f); - } - - sql = QString("UPDATE `%1` SET %2").arg(tableName).arg(fieldString); - if (whereCondition != "") sql += " WHERE " + whereCondition; - } - - QSqlQuery query(*db_); - bool ok = query.prepare(sql); - if (!ok) { - printError(query); - return query; - } - - for (int i = 0; i < values.size(); i++) { - QVariant v = values[i]; - QString fieldName = ":" + fields[i]; - if (v.type() == QVariant::String) { - query.bindValue(fieldName, v.toString()); - } else if (v.type() == QVariant::Int) { - query.bindValue(fieldName, v.toInt()); - } else if (v.isNull()) { - query.bindValue(fieldName, (int)NULL); - } else if (v.type() == QVariant::Double) { - query.bindValue(fieldName, v.toDouble()); - } else if (v.type() == (QVariant::Type)QMetaType::Float) { - query.bindValue(fieldName, v.toFloat()); - } else if (v.type() == QVariant::LongLong) { - query.bindValue(fieldName, v.toLongLong()); - } else if (v.type() == QVariant::UInt) { - query.bindValue(fieldName, v.toUInt()); - } else if (v.type() == QVariant::Char) { - query.bindValue(fieldName, v.toChar()); - } else { - qWarning() << Q_FUNC_INFO << "Unsupported variant type:" << v.type(); - } - } - - return query; -} - -QSqlQuery Database::buildSqlQuery(Database::QueryType type, const QString &tableName, const QMap &values, const QString &whereCondition) { - QStringList fields; - VariantVector fieldValues; - for (QMap::const_iterator it = values.begin(); it != values.end(); ++it) { - fields.push_back(it.key()); - fieldValues.push_back(it.value()); - } - return buildSqlQuery(type, tableName, fields, fieldValues, whereCondition); -} - -void Database::printError(const QSqlQuery& query) const { - if (query.lastError().isValid()) { - qCritical().noquote() << "SQL error: " << query.lastError().text().trimmed() << ". Query was: " << query.lastQuery(); - QMapIterator i(query.boundValues()); - while (i.hasNext()) { - i.next(); - qCritical() << i.key() << "=" << i.value().toString(); - } - } -} - -bool Database::errorCheck(const QSqlQuery& query) { - if (query.lastError().isValid()) { - printError(query); - return false; - } - return true; -} - -bool Database::transaction() { - transactionCount_++; - if (transactionCount_ > 1) return true; - return db_->transaction(); -} - -bool Database::commit() { - transactionCount_--; - - if (transactionCount_ < 0) { - transactionCount_ = 0; - qCritical() << "Attempting commit on a database that is not in transaction mode"; - return false; - } - - if (transactionCount_ <= 0) { - return db_->commit(); - } - - return true; -} - -bool Database::execQuery(QSqlQuery &query) { - if (logQueries_) { - QString sql = query.lastQuery(); - qDebug().noquote() << "SQL:" << sql; - - QMapIterator i(query.boundValues()); - while (i.hasNext()) { - i.next(); - qDebug().noquote() << "SQL:" << i.key() << "=" << i.value().toString(); - } - } - - return query.exec(); -} - -bool Database::execQuery(const QString &sql) { - QSqlQuery query(sql, *db_); - return execQuery(query); -} - -QSqlQuery Database::prepare(const QString &sql) { - QSqlQuery query(*db_); - query.prepare(sql); - return query; -} - -int Database::version() const { - if (version_ >= 0) return version_; - - QSqlQuery query = db_->exec("SELECT * FROM version"); - bool result = query.next(); - if (!result) return 0; - - QSqlRecord r = query.record(); - int i_version = r.indexOf("version"); - - version_ = query.value(i_version).toInt(); - return version_; -} - -QStringList Database::sqlStringToLines(const QString& sql) { - QStringList statements; - QStringList lines = sql.split("\n"); - QString statement; - foreach (QString line, lines) { - line = line.trimmed(); - if (line == "") continue; - if (line.left(2) == "--") continue; - statement += line; - if (line[line.length() - 1] == ';') { - statements.append(statement); - statement = ""; - } - } - return statements; -} - -void Database::upgrade() { - // INSTRUCTIONS TO UPGRADE THE DATABASE: - // - // 1. Add the new version number to the existingDatabaseVersions array - // 2. Add the upgrade logic to the "switch (targetVersion)" statement below - - QList existingVersions; - existingVersions << 1; - - int versionIndex = existingVersions.indexOf(version()); - if (versionIndex == existingVersions.length() - 1) return; - - while (versionIndex < existingVersions.length() - 1) { - int targetVersion = existingVersions[versionIndex + 1]; - - qDebug() << "Upgrading database to version " << targetVersion; - - db_->transaction(); - - switch (targetVersion) { - - case 1: - - QFile f(":/schema.sql"); - if (!f.open(QFile::ReadOnly | QFile::Text)) { - qFatal("Cannot open database schema file"); - return; - } - QTextStream in(&f); - QString schemaSql = in.readAll(); - - QStringList lines = sqlStringToLines(schemaSql); - foreach (const QString& line, lines) { - db_->exec(line); - } - - break; - - } - - db_->exec(QString("UPDATE version SET version = %1").arg(targetVersion)); - db_->commit(); - - versionIndex++; - } -} - -Database databaseInstance_; - -Database& jop::db() { - return databaseInstance_; -} diff --git a/QtClient/JoplinQtClient/database.h b/QtClient/JoplinQtClient/database.h deleted file mode 100755 index 85fb07b017..0000000000 --- a/QtClient/JoplinQtClient/database.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef DATABASE_H -#define DATABASE_H - -#include -#include "enum.h" -#include "simpletypes.h" - -namespace jop { - -class Database { - -public: - - enum QueryType { Select, Insert, Update, Delete }; - - Database(); - ~Database(); - void initialize(const QString& path); - void close(); - bool isClosed() const; - QSqlDatabase* database() const; - QSqlQuery buildSqlQuery(Database::QueryType type, const QString& tableName, const QStringList& fields, const VariantVector& values, const QString& whereCondition = ""); - QSqlQuery buildSqlQuery(Database::QueryType type, const QString& tableName, const QMap& values, const QString& whereCondition = ""); - bool errorCheck(const QSqlQuery& query); - bool transaction(); - bool commit(); - bool execQuery(QSqlQuery &query); - bool execQuery(const QString &query); - QSqlQuery prepare(const QString& sql); - -private: - - QSqlDatabase* db_; - void upgrade(); - int version() const; - mutable int version_; - QStringList sqlStringToLines(const QString& sql); - void printError(const QSqlQuery& query) const; - int transactionCount_; - bool logQueries_; - bool isClosed_; - -}; - - -Database& db(); - -} - -#endif // DATABASE_H diff --git a/QtClient/JoplinQtClient/database.qrc b/QtClient/JoplinQtClient/database.qrc deleted file mode 100755 index b601fdcb03..0000000000 --- a/QtClient/JoplinQtClient/database.qrc +++ /dev/null @@ -1,5 +0,0 @@ - - - schema.sql - - diff --git a/QtClient/JoplinQtClient/databaseutils.cpp b/QtClient/JoplinQtClient/databaseutils.cpp deleted file mode 100755 index c51e352c73..0000000000 --- a/QtClient/JoplinQtClient/databaseutils.cpp +++ /dev/null @@ -1,69 +0,0 @@ -#include - -#include "databaseutils.h" - -using namespace jop; - -QSqlQuery dbUtils::buildSqlQuery(QSqlDatabase* db, const QString& type, const QString& tableName, const QStringList& fields, const VariantVector& values, const QString& whereCondition) { - QString sql; - - if (type.toLower() == "insert") { - QString fieldString = ""; - QString valueString = ""; - for (int i = 0; i < fields.length(); i++) { - QString f = fields[i]; - if (fieldString != "") fieldString += ", "; - if (valueString != "") valueString += ", "; - fieldString += f; - valueString += ":" + f; - } - - sql = QString("INSERT INTO %1 (%2) VALUES (%3)").arg(tableName).arg(fieldString).arg(valueString); - } else if (type.toLower() == "update") { - QString fieldString = ""; - for (int i = 0; i < fields.length(); i++) { - QString f = fields[i]; - if (fieldString != "") fieldString += ", "; - fieldString += f + " = :" + f; - } - - sql = QString("UPDATE %1 SET %2").arg(tableName).arg(fieldString); - if (whereCondition != "") sql += " WHERE " + whereCondition; - } - - QSqlQuery query(*db); - query.prepare(sql); - for (int i = 0; i < values.size(); i++) { - QVariant v = values[i]; - QString fieldName = ":" + fields[i]; - if (v.type() == QVariant::String) { - query.bindValue(fieldName, v.toString()); - } else if (v.type() == QVariant::Int) { - query.bindValue(fieldName, v.toInt()); - } else if (v.isNull()) { - query.bindValue(fieldName, (int)NULL); - } else if (v.type() == QVariant::Double) { - query.bindValue(fieldName, v.toDouble()); - } else if (v.type() == (QVariant::Type)QMetaType::Float) { - query.bindValue(fieldName, v.toFloat()); - } else if (v.type() == QVariant::LongLong) { - query.bindValue(fieldName, v.toLongLong()); - } else if (v.type() == QVariant::UInt) { - query.bindValue(fieldName, v.toUInt()); - } else if (v.type() == QVariant::Char) { - query.bindValue(fieldName, v.toChar()); - } else { - qWarning() << Q_FUNC_INFO << "Unsupported variant type:" << v.type(); - } - } - - qDebug() <<"SQL:"< i(query.boundValues()); - while (i.hasNext()) { - i.next(); - qDebug() << i.key() << ":" << i.value().toString(); - } - - return query; -} diff --git a/QtClient/JoplinQtClient/databaseutils.h b/QtClient/JoplinQtClient/databaseutils.h deleted file mode 100755 index 1e8835dba0..0000000000 --- a/QtClient/JoplinQtClient/databaseutils.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef DATABASEUTILS_H -#define DATABASEUTILS_H - -#include -#include "simpletypes.h" - -namespace jop { -namespace dbUtils { - -QSqlQuery buildSqlQuery(QSqlDatabase* db, const QString& type, const QString& tableName, const QStringList& fields, const VariantVector& values, const QString& whereCondition = ""); - -} -} - -#endif // DATABASEUTILS_H diff --git a/QtClient/JoplinQtClient/dispatcher.cpp b/QtClient/JoplinQtClient/dispatcher.cpp deleted file mode 100755 index d84591866e..0000000000 --- a/QtClient/JoplinQtClient/dispatcher.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include "dispatcher.h" - -using namespace jop; - -Dispatcher::Dispatcher() {} - -void Dispatcher::emitFolderCreated(const QString &folderId) { - emit folderCreated(folderId); -} - -void Dispatcher::emitFolderUpdated(const QString &folderId) { - emit folderUpdated(folderId); -} - -void Dispatcher::emitFolderDeleted(const QString &folderId) { - emit folderDeleted(folderId); -} - -void Dispatcher::emitAllFoldersDeleted() { - emit allFoldersDeleted(); -} - -void Dispatcher::emitNoteCreated(const QString ¬eId) { - emit noteCreated(noteId); -} - -void Dispatcher::emitNoteUpdated(const QString ¬eId) { - emit noteUpdated(noteId); -} - -void Dispatcher::emitNoteDeleted(const QString ¬eId) { - emit noteDeleted(noteId); -} - -void Dispatcher::emitLoginClicked(const QString &apiBaseUrl, const QString &email, const QString &password) { - emit loginClicked(apiBaseUrl, email, password); -} - -void Dispatcher::emitLogoutClicked() { - emit logoutClicked(); -} - -void Dispatcher::emitLoginStarted() { - emit loginStarted(); -} - -void Dispatcher::emitLoginFailed() { - emit loginFailed(); -} - -void Dispatcher::emitLoginSuccess() { - emit loginSuccess(); -} - -Dispatcher dispatcherInstance_; - -Dispatcher& jop::dispatcher() { - return dispatcherInstance_; -} diff --git a/QtClient/JoplinQtClient/dispatcher.h b/QtClient/JoplinQtClient/dispatcher.h deleted file mode 100755 index bc7d6550dc..0000000000 --- a/QtClient/JoplinQtClient/dispatcher.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef DISPATCHER_H -#define DISPATCHER_H - -#include - -namespace jop { - -class Dispatcher : public QObject { - - Q_OBJECT - -public: - - Dispatcher(); - -public slots: - - void emitFolderCreated(const QString& folderId); - void emitFolderUpdated(const QString& folderId); - void emitFolderDeleted(const QString& folderId); - void emitAllFoldersDeleted(); - void emitNoteCreated(const QString& noteId); - void emitNoteUpdated(const QString& noteId); - void emitNoteDeleted(const QString& noteId); - void emitLoginClicked(const QString& domain, const QString& email, const QString &password); - void emitLogoutClicked(); - void emitLoginStarted(); - void emitLoginFailed(); - void emitLoginSuccess(); - -signals: - - void folderCreated(const QString& folderId); - void folderUpdated(const QString& folderId); - void folderDeleted(const QString& folderId); - void allFoldersDeleted(); - void noteCreated(const QString& noteId); - void noteUpdated(const QString& noteId); - void noteDeleted(const QString& noteId); - void loginClicked(const QString& domain, const QString& email, const QString& password); - void logoutClicked(); - void loginStarted(); - void loginFailed(); - void loginSuccess(); - -}; - -Dispatcher& dispatcher(); - -} - -#endif // DISPATCHER_H diff --git a/QtClient/JoplinQtClient/enum.cpp b/QtClient/JoplinQtClient/enum.cpp deleted file mode 100755 index 6ecac7120f..0000000000 --- a/QtClient/JoplinQtClient/enum.cpp +++ /dev/null @@ -1,6 +0,0 @@ -#include "enum.h" - -enum::enum() -{ - -} diff --git a/QtClient/JoplinQtClient/enum.h b/QtClient/JoplinQtClient/enum.h deleted file mode 100755 index 4a1ae7c77f..0000000000 --- a/QtClient/JoplinQtClient/enum.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef ENUM_H -#define ENUM_H - -#include - -namespace jop { - -enum Table { UndefinedTable, FoldersTable, NotesTable, ChangesTable }; - -// Note "DELETE" is a reserved keyword so we need to use "DEL" -enum HttpMethod { UndefinedMethod, HEAD, GET, PUT, POST, DEL, PATCH }; - -} - -#endif // ENUM_H diff --git a/QtClient/JoplinQtClient/filters.cpp b/QtClient/JoplinQtClient/filters.cpp deleted file mode 100755 index 2446a3404c..0000000000 --- a/QtClient/JoplinQtClient/filters.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "filters.h" - -using namespace jop; - -QString filters::apiBaseUrl(const QString &baseUrl) { - QString output(baseUrl.trimmed()); - if (!output.startsWith("http://") && !output.startsWith("https://")) { - output = "http://" + output; - } - while (output.endsWith("/")) { - output = output.left(output.length() - 1); - } - return output; -} - -QString filters::email(const QString &email) { - QString output(email.trimmed()); - return output; -} diff --git a/QtClient/JoplinQtClient/filters.h b/QtClient/JoplinQtClient/filters.h deleted file mode 100755 index a00d7a6384..0000000000 --- a/QtClient/JoplinQtClient/filters.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef FILTERS_H -#define FILTERS_H - -#include - -namespace jop { -namespace filters { - -QString apiBaseUrl(const QString& apiBaseUrl); -QString email(const QString& email); - -} -} - -#endif // FILTERS_H diff --git a/QtClient/JoplinQtClient/folderlistcontroller.cpp b/QtClient/JoplinQtClient/folderlistcontroller.cpp deleted file mode 100755 index 9b18a1234e..0000000000 --- a/QtClient/JoplinQtClient/folderlistcontroller.cpp +++ /dev/null @@ -1,62 +0,0 @@ -#include "folderlistcontroller.h" -#include "qmlutils.h" - -#include "models/folder.h" - -namespace jop { - -FolderListController::FolderListController() : BaseItemListController() {} - -void FolderListController::updateItemCount() { - int itemCount = Folder::count(parentId()); - qmlUtils::callQml(itemList(), "setItemCount", QVariantList() << itemCount); -} - -const BaseModel *FolderListController::cacheGet(int index) const { - return cache_[index].get(); -} - -void FolderListController::cacheSet(int index, BaseModel *baseModel) const { - Folder* folder = static_cast(baseModel); - cache_[index] = std::unique_ptr(folder); -} - -bool FolderListController::cacheIsset(int index) const { - return index > 0 && cache_.size() > (size_t)index; -} - -void FolderListController::cacheClear() const { - cache_.clear(); -} - -void FolderListController::itemList_rowsRequested(int fromIndex, int toIndex) { - if (!cache_.size()) { - qFatal("TODO: replace with root::children()"); - //cache_ = Folder::all(parentId(), orderBy()); - } - - //qDebug() << cache_.size(); - - if (fromIndex < 0 || (size_t)toIndex >= cache_.size() || !cache_.size()) { - qWarning() << "Invalid folder indexes" << fromIndex << toIndex; - return; - } - - QVariantList output; - for (int i = fromIndex; i <= toIndex; i++) { - const BaseModel* model = cacheGet(i); - //qDebug() << model; - //QVariant v(cacheGet(i)); - QVariant v = QVariant::fromValue((QObject*)model); - //qDebug() << v; - output.push_back(v); - } - - QVariantList args; - args.push_back(fromIndex); - args.push_back(output); - - qmlUtils::callQml(itemList(), "setItems", args); -} - -} diff --git a/QtClient/JoplinQtClient/folderlistcontroller.h b/QtClient/JoplinQtClient/folderlistcontroller.h deleted file mode 100755 index e044b6b06a..0000000000 --- a/QtClient/JoplinQtClient/folderlistcontroller.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef ITEMLISTCONTROLLER_H -#define ITEMLISTCONTROLLER_H - -#include - -#include "models/folder.h" -#include "baseitemlistcontroller.h" - -namespace jop { - -class FolderListController : public BaseItemListController { - - Q_OBJECT - -public: - - FolderListController(); - -protected: - - void updateItemCount(); - const BaseModel* cacheGet(int index) const; - void cacheSet(int index, BaseModel* baseModel) const; - bool cacheIsset(int index) const; - void cacheClear() const; - -private: - - mutable std::vector> cache_; - -public slots: - - void itemList_rowsRequested(int fromIndex, int toIndex); - -}; - -} - -#endif // ITEMLISTCONTROLLER_H diff --git a/QtClient/JoplinQtClient/itemlist2.cpp b/QtClient/JoplinQtClient/itemlist2.cpp deleted file mode 100755 index 34159d58f8..0000000000 --- a/QtClient/JoplinQtClient/itemlist2.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "itemlist2.h" - -ItemList2::ItemList2(QObject *parent) - : QAbstractItemModel(parent) -{ -} - -QVariant ItemList2::headerData(int section, Qt::Orientation orientation, int role) const -{ - // FIXME: Implement me! -} - -QModelIndex ItemList2::index(int row, int column, const QModelIndex &parent) const -{ - // FIXME: Implement me! -} - -QModelIndex ItemList2::parent(const QModelIndex &index) const -{ - // FIXME: Implement me! -} - -int ItemList2::rowCount(const QModelIndex &parent) const -{ - if (!parent.isValid()) - return 0; - - // FIXME: Implement me! -} - -int ItemList2::columnCount(const QModelIndex &parent) const -{ - if (!parent.isValid()) - return 0; - - // FIXME: Implement me! -} - -QVariant ItemList2::data(const QModelIndex &index, int role) const -{ - if (!index.isValid()) - return QVariant(); - - // FIXME: Implement me! - return QVariant(); -} diff --git a/QtClient/JoplinQtClient/itemlist2.h b/QtClient/JoplinQtClient/itemlist2.h deleted file mode 100755 index 6be51d2917..0000000000 --- a/QtClient/JoplinQtClient/itemlist2.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef ITEMLIST2_H -#define ITEMLIST2_H - -#include - -class ItemList2 : public QAbstractItemModel -{ - Q_OBJECT - -public: - explicit ItemList2(QObject *parent = 0); - - // Header: - QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; - - // Basic functionality: - QModelIndex index(int row, int column, - const QModelIndex &parent = QModelIndex()) const override; - QModelIndex parent(const QModelIndex &index) const override; - - int rowCount(const QModelIndex &parent = QModelIndex()) const override; - int columnCount(const QModelIndex &parent = QModelIndex()) const override; - - QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; - -private: -}; - -#endif // ITEMLIST2_H \ No newline at end of file diff --git a/QtClient/JoplinQtClient/main.cpp b/QtClient/JoplinQtClient/main.cpp deleted file mode 100755 index 5123ccdd4f..0000000000 --- a/QtClient/JoplinQtClient/main.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include - -#if defined(JOP_FRONT_END_CLI) -#include "cliapplication.h" -#elif defined(JOP_FRONT_END_GUI) -#include "application.h" -#endif - -#include "models/folder.h" -#include "database.h" -#include "models/foldermodel.h" -#include "services/folderservice.h" - -int main(int argc, char *argv[]) { - -#if (!defined(JOP_FRONT_END_GUI) && !defined(JOP_FRONT_END_CLI)) - qFatal("Either JOP_FRONT_END_GUI or JOP_FRONT_END_CLI must be defined!"); - return 1; -#endif - -#if (defined(JOP_FRONT_END_GUI) && defined(JOP_FRONT_END_CLI)) - qFatal("JOP_FRONT_END_GUI and JOP_FRONT_END_CLI cannot both be defined!"); - return 1; -#endif - -#ifdef JOP_FRONT_END_GUI - qDebug() << "Front end: GUI"; - QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); - jop::Application* app = new jop::Application(argc, argv); -#endif - -#ifdef JOP_FRONT_END_CLI - qDebug() << "Front end: CLI"; - jop::CliApplication* app = new jop::CliApplication(argc, argv); -#endif - - int errorCode = app->exec(); - - delete app; - app = NULL; - - return errorCode; -} \ No newline at end of file diff --git a/QtClient/JoplinQtClient/make.bat b/QtClient/JoplinQtClient/make.bat deleted file mode 100755 index 5b66b7af97..0000000000 --- a/QtClient/JoplinQtClient/make.bat +++ /dev/null @@ -1,17 +0,0 @@ -SET PATH=%PATH%;"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin" - -cd "D:\Web\www\joplin\QtClient\build-evernote-import-qt-Visual_C_32_bites-Debug" -if %errorlevel% neq 0 exit /b %errorlevel% - -"C:\Qt\5.7\msvc2015\bin\qmake.exe" D:\Web\www\joplin\QtClient\evernote-import\evernote-import-qt.pro -spec win32-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug" -if %errorlevel% neq 0 exit /b %errorlevel% - -"C:\Qt\Tools\QtCreator\bin\jom.exe" qmake_all -if %errorlevel% neq 0 exit /b %errorlevel% - -"C:\Qt\Tools\QtCreator\bin\jom.exe" -if %errorlevel% neq 0 exit /b %errorlevel% - - - -/cygdrive/c/Qt/Tools/QtCreator/bin/jom.exe \ No newline at end of file diff --git a/QtClient/JoplinQtClient/models/abstractlistmodel.cpp b/QtClient/JoplinQtClient/models/abstractlistmodel.cpp deleted file mode 100755 index 6387f975b5..0000000000 --- a/QtClient/JoplinQtClient/models/abstractlistmodel.cpp +++ /dev/null @@ -1,140 +0,0 @@ -#include "abstractlistmodel.h" - -using namespace jop; - -AbstractListModel::AbstractListModel() : QAbstractListModel() { - virtualItemShown_ = false; -} - -int AbstractListModel::rowCount(const QModelIndex & parent) const { Q_UNUSED(parent); - return baseModelCount() + (virtualItemShown() ? 1 : 0); -} - -QVariant AbstractListModel::data(const QModelIndex & index, int role) const { - const BaseModel* model = NULL; - - if (virtualItemShown() && index.row() == rowCount() - 1) { - if (role == Qt::DisplayRole) return "Untitled"; - return ""; - } else { - model = atIndex(index.row()); - } - - if (role == Qt::DisplayRole) { - return model->value("title").toQVariant(); - } - - if (role == IdRole) { - return model->id().toQVariant(); - } - - return QVariant(); -} - -const BaseModel *AbstractListModel::atIndex(int index) const { - Q_UNUSED(index); - qFatal("AbstractListModel::atIndex() not implemented"); - return NULL; -} - -const BaseModel* AbstractListModel::atIndex(const QModelIndex &index) const { - return atIndex(index.row()); -} - -bool AbstractListModel::setData(const QModelIndex &index, const QVariant &value, int role) { - const BaseModel* model = atIndex(index.row()); - if (!model) return false; - - if (role == TitleRole) { - BaseModel temp; - temp.clone(*model); - temp.setValue("title", value.toString()); - if (!temp.save()) return false; - cacheClear(); - return true; - -// model->setValue("title", value.toString()); -// if (!model->save()) return false; -// cacheClear(); -// return true; - } - - qWarning() << "Unsupported role" << role; - return false; -} - -bool AbstractListModel::setData(int index, const QVariant &value, const QString& role) { - return setData(this->index(index), value, roleNameToId(role)); -} - -int AbstractListModel::baseModelCount() const { - qFatal("AbstractListModel::baseModelCount() not implemented"); - return 0; -} - -const BaseModel *AbstractListModel::cacheGet(int index) const { - Q_UNUSED(index); - qFatal("AbstractListModel::cacheGet() not implemented"); - return NULL; -} - -void AbstractListModel::cacheSet(int index, BaseModel* baseModel) const { - Q_UNUSED(index); Q_UNUSED(baseModel); - qFatal("AbstractListModel::cacheSet() not implemented"); -} - -bool AbstractListModel::cacheIsset(int index) const { - Q_UNUSED(index); - qFatal("AbstractListModel::cacheIsset() not implemented"); - return false; -} - -void AbstractListModel::cacheClear() const { - qFatal("AbstractListModel::cacheClear() not implemented"); -} - -void AbstractListModel::showVirtualItem() { - virtualItemShown_ = true; - beginInsertRows(QModelIndex(), this->rowCount() - 1, this->rowCount() - 1); - endInsertRows(); -} - -void AbstractListModel::hideVirtualItem() { - beginRemoveRows(QModelIndex(), this->rowCount() - 1, this->rowCount() - 1); - virtualItemShown_ = false; - endRemoveRows(); -} - -bool AbstractListModel::virtualItemShown() const { - return virtualItemShown_; -} - -QHash AbstractListModel::roleNames() const { - QHash roles = QAbstractItemModel::roleNames(); - roles[TitleRole] = "title"; - roles[IdRole] = "id"; - return roles; -} - -int AbstractListModel::roleNameToId(const QString &name) const { - QHash roles = roleNames(); - for (QHash::const_iterator it = roles.begin(); it != roles.end(); ++it) { - if (it.value() == name) return it.key(); - } - qCritical() << "Unknown role" << name; - return 0; -} - -QString AbstractListModel::indexToId(int index) const { - return data(this->index(index), IdRole).toString(); -} - -int AbstractListModel::idToIndex(const QString &id) const { - Q_UNUSED(id); - qFatal("AbstractListModel::idToIndex() not implemented"); - return -1; -} - -QString AbstractListModel::lastInsertId() const { - return lastInsertId_; -} diff --git a/QtClient/JoplinQtClient/models/abstractlistmodel.h b/QtClient/JoplinQtClient/models/abstractlistmodel.h deleted file mode 100755 index b3d474c671..0000000000 --- a/QtClient/JoplinQtClient/models/abstractlistmodel.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef ABSTRACTLISTMODEL_H -#define ABSTRACTLISTMODEL_H - -#include -#include "models/basemodel.h" - -namespace jop { - -class AbstractListModel : public QAbstractListModel { - - Q_OBJECT - -public: - - enum ModelRoles { - IdRole = Qt::UserRole + 1, - TitleRole - }; - - AbstractListModel(); - int rowCount(const QModelIndex & parent = QModelIndex()) const; - QVariant data(const QModelIndex & index, int role = Qt::DisplayRole) const; - virtual const BaseModel* atIndex(int index) const; - const BaseModel* atIndex(const QModelIndex &index) const; - bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); - -protected: - - QString lastInsertId_; - - virtual int baseModelCount() const; - - // All these methods are const because we want to be able to clear the - // cache or set values from any method including const ones. - // http://stackoverflow.com/a/4248661/561309 - virtual const BaseModel* cacheGet(int index) const; - virtual void cacheSet(int index, BaseModel* baseModel) const; - virtual bool cacheIsset(int index) const; - virtual void cacheClear() const; - -private: - - bool virtualItemShown_; - -public slots: - - void showVirtualItem(); - bool virtualItemShown() const; - void hideVirtualItem(); - QHash roleNames() const; - int roleNameToId(const QString& name) const; - QString indexToId(int index) const; - virtual int idToIndex(const QString& id) const; - QString lastInsertId() const; - bool setData(int index, const QVariant &value, const QString& role = "edit"); - -}; - -} - -#endif // ABSTRACTLISTMODEL_H diff --git a/QtClient/JoplinQtClient/models/basemodel.cpp b/QtClient/JoplinQtClient/models/basemodel.cpp deleted file mode 100755 index 3fe3f793fc..0000000000 --- a/QtClient/JoplinQtClient/models/basemodel.cpp +++ /dev/null @@ -1,538 +0,0 @@ -#include "basemodel.h" - -#include "dispatcher.h" -#include "models/change.h" -#include "database.h" -#include "uuid.h" - -using namespace jop; - -QMap> BaseModel::tableFields_; -QHash BaseModel::cache_; - -BaseModel::BaseModel() : isNew_(-1), table_(jop::UndefinedTable) {} - -QStringList BaseModel::changedFields() const { - QStringList output; - for (QHash::const_iterator it = changedFields_.begin(); it != changedFields_.end(); ++it) { - output.push_back(it.key()); - } - return output; -} - -int BaseModel::count(Table table, const QString &parentId) { - QString t = BaseModel::tableName(table); - QString k = QString("%1:count").arg(t); - QVariant r = BaseModel::cacheGet(k); - if (r.isValid()) return r.toInt(); - - QSqlQuery q = jop::db().prepare("SELECT count(*) AS row_count FROM " + t + " WHERE parent_id = :parent_id"); - q.bindValue(":parent_id", parentId); - jop::db().execQuery(q); - q.next(); - if (!jop::db().errorCheck(q)) return 0; - int output = q.value(0).toInt(); - BaseModel::cacheSet(k, QVariant(output)); - return output; -} - -bool BaseModel::load(const QString &id) { - QSqlQuery q(*jop::db().database()); - q.prepare("SELECT " + BaseModel::sqlTableFields(table()) + " FROM " + BaseModel::tableName(table()) + " WHERE id = :id"); - q.bindValue(":id", id); - jop::db().execQuery(q); - q.next(); - if (!jop::db().errorCheck(q)) return false; - if (!q.isValid()) return false; - - loadSqlQuery(q); - return true; -} - -bool BaseModel::reload() { - return load(idString()); -} - -bool BaseModel::loadByField(const QString& parentId, const QString& field, const QString& fieldValue) { - QSqlQuery q(*jop::db().database()); - QString sql = QString("SELECT %1 FROM %2 WHERE `%3` = :field_value AND parent_id = :parent_id LIMIT 1") - .arg(BaseModel::sqlTableFields(table())) - .arg(BaseModel::tableName(table())) - .arg(field); - q.prepare(sql); - q.bindValue(":parent_id", parentId); - q.bindValue(":field_value", fieldValue); - jop::db().execQuery(q); - q.next(); - if (!jop::db().errorCheck(q)) return false; - if (!q.isValid()) return false; - - loadSqlQuery(q); - return true; -} - -bool BaseModel::save(bool trackChanges) { - bool isNew = this->isNew(); - - if (!changedFields_.size() && !isNew) return true; - - QStringList fields = changedFields(); - - QMap values; - - foreach (QString field, fields) { - values[field] = value(field).toQVariant(); - } - - // If it's a new entry and the ID is a UUID, we need to create this - // ID now. If the ID is an INT, it will be automatically set by - // SQLite. - if (isNew && primaryKeyIsUuid() && !valueIsSet(primaryKey())) { - values[primaryKey()] = uuid::createUuid(); - } - - // Update created_time and updated_time if needed. If updated_time - // has already been updated (maybe manually by the user), don't - // automatically update it. - if (isNew) { - if (BaseModel::hasField(table(), "created_time")) { - values["created_time"] = (int)(QDateTime::currentMSecsSinceEpoch() / 1000); - } - } else { - if (!values.contains("updated_time")) { - if (BaseModel::hasField(table(), "updated_time")) { - values["updated_time"] = (int)(QDateTime::currentMSecsSinceEpoch() / 1000); - } - } - } - - changedFields_.clear(); - - const QString& tableName = BaseModel::tableName(table()); - - if (isNew) { - cacheDelete(QString("%1:count").arg(tableName)); - } - - bool isSaved = false; - - jop::db().transaction(); - - if (isNew) { - QSqlQuery q = jop::db().buildSqlQuery(Database::Insert, tableName, values); - jop::db().execQuery(q); - isSaved = jop::db().errorCheck(q); - if (isSaved) setValue("id", values["id"]); - } else { - QSqlQuery q = jop::db().buildSqlQuery(Database::Update, tableName, values, QString("%1 = '%2'").arg(primaryKey()).arg(value("id").toString())); - jop::db().execQuery(q); - isSaved = jop::db().errorCheck(q); - } - - if (isSaved && this->trackChanges() && trackChanges) { - if (isNew) { - Change change; - change.setValue("item_id", id()); - change.setValue("item_type", table()); - change.setValue("type", Change::Create); - change.save(); - } else { - for (QMap::const_iterator it = values.begin(); it != values.end(); ++it) { - Change change; - change.setValue("item_id", id()); - change.setValue("item_type", table()); - change.setValue("type", Change::Update); - change.setValue("item_field", it.key()); - change.save(); - } - } - } - - jop::db().commit(); - - if (isSaved) { - if (table() == jop::FoldersTable) { - if (isNew) { - dispatcher().emitFolderCreated(idString()); - } else { - dispatcher().emitFolderUpdated(idString()); - } - } - if (table() == jop::NotesTable) { - if (isNew) { - dispatcher().emitNoteCreated(idString()); - } else { - dispatcher().emitNoteUpdated(idString()); - } - } - } - - isNew_ = -1; - - return isSaved; -} - -bool BaseModel::dispose() { - const QString& tableName = BaseModel::tableName(table()); - QSqlQuery q(*jop::db().database()); - q.prepare("DELETE FROM " + tableName + " WHERE " + primaryKey() + " = :id"); - q.bindValue(":id", id().toString()); - jop::db().execQuery(q); - - bool isDeleted = jop::db().errorCheck(q); - - if (isDeleted) cacheDelete(QString("%1:count").arg(tableName)); - - if (isDeleted && trackChanges()) { - Change change; - change.setValue("item_id", id()); - change.setValue("item_type", table()); - change.setValue("type", Change::Delete); - change.save(); - } - - if (isDeleted) { - if (table() == jop::FoldersTable) dispatcher().emitFolderDeleted(idString()); - if (table() == jop::NotesTable) dispatcher().emitNoteDeleted(idString()); - } - - return isDeleted; -} - -Table BaseModel::table() const { - return table_; -} - -QString BaseModel::primaryKey() const { - return "id"; -} - -bool BaseModel::primaryKeyIsUuid() const { - return false; -} - -bool BaseModel::trackChanges() const { - return false; -} - -QString BaseModel::displayTitle() const { - return value("title").toString(); -} - -bool BaseModel::isNew() const { - if (isNew_ == 0) return false; - if (isNew_ == 1) return true; - return !valueIsSet(primaryKey()); -} - -BaseModel::Field createField(const QString& name, QMetaType::Type type) { - BaseModel::Field c; - c.name = name; - c.type = type; - return c; -} - -QVector BaseModel::tableFields(jop::Table table) { - if (BaseModel::tableFields_.contains(table)) return BaseModel::tableFields_[table]; - - QVector output; - - // TODO: ideally that should be auto-generated based on schema.sql - - if (table == jop::FoldersTable) { - output.push_back(createField("id", QMetaType::QString )); - output.push_back(createField("title", QMetaType::QString )); - output.push_back(createField("created_time", QMetaType::Int )); - output.push_back(createField("updated_time", QMetaType::Int )); - } else if (table == jop::NotesTable) { - output.push_back(createField("id", QMetaType::QString )); - output.push_back(createField("title", QMetaType::QString )); - output.push_back(createField("body", QMetaType::QString )); - output.push_back(createField("parent_id", QMetaType::QString )); - output.push_back(createField("created_time", QMetaType::Int )); - output.push_back(createField("updated_time", QMetaType::Int )); - output.push_back(createField("latitude", QMetaType::QString )); - output.push_back(createField("longitude", QMetaType::QString )); - output.push_back(createField("altitude", QMetaType::QString )); - output.push_back(createField("source", QMetaType::QString )); - output.push_back(createField("author", QMetaType::QString )); - output.push_back(createField("source_url", QMetaType::QString )); - output.push_back(createField("is_todo", QMetaType::Int )); - output.push_back(createField("todo_due", QMetaType::Int )); - output.push_back(createField("todo_completed", QMetaType::Int )); - output.push_back(createField("source_application", QMetaType::QString )); - output.push_back(createField("application_data", QMetaType::QString )); - output.push_back(createField("order", QMetaType::Int )); - } else if (table == jop::ChangesTable) { - output.push_back(createField("id", QMetaType::Int )); - output.push_back(createField("type", QMetaType::Int )); - output.push_back(createField("item_id", QMetaType::QString )); - output.push_back(createField("item_type", QMetaType::Int )); - output.push_back(createField("item_field", QMetaType::QString )); - } else { - qFatal("Field not defined for table %d", table); - } - - BaseModel::tableFields_[table] = output; - return output; -} - -bool BaseModel::hasField(jop::Table table, const QString &name) { - QVector fields = tableFields(table); - foreach (Field field, fields) { - if (field.name == name) return true; - } - return false; -} - -QStringList BaseModel::tableFieldNames(Table table) { - QVector fields = BaseModel::tableFields(table); - QStringList output; - foreach (BaseModel::Field field, fields) { - output.push_back(field.name); - } - return output; -} - -QString BaseModel::sqlTableFields(Table table) { - QString output = ""; - QStringList fields = BaseModel::tableFieldNames(table); - for (int i = 0; i < fields.size(); i++) { - if (output != "") output += ","; - output += QString("`%1`").arg(fields[i]); - } - return output; -} - -bool BaseModel::isValidFieldName(Table table, const QString &name) { - QVector fields = BaseModel::tableFields(table); - foreach (BaseModel::Field col, fields) { - if (col.name == name) return true; - } - return false; -} - -void BaseModel::deleteAll(Table table) { - QString tableName = BaseModel::tableName(table); - jop::db().execQuery("DELETE FROM " + tableName); - BaseModel::cache_.clear(); - - if (table == jop::FoldersTable) { - dispatcher().emitAllFoldersDeleted(); - } -} - -// When loading a QSqlQuery, all the values are cleared and replaced by those -// from the QSqlQuery. All the fields are marked as NOT changed as it's assumed -// the object is already in the database (since loaded from there). -void BaseModel::loadSqlQuery(const QSqlQuery &query) { - values_.clear(); - QSqlRecord record = query.record(); - QVector fields = BaseModel::tableFields(table()); - - foreach (BaseModel::Field field, fields) { - int idx = record.indexOf(field.name); - if (idx < 0) { - qCritical() << "Cannot find field" << field.name; - continue; - } - - if (field.type == QMetaType::QString) { - setValue(field.name, query.value(idx).toString()); - } else if (field.type == QMetaType::Int) { - setValue(field.name, query.value(idx).toInt()); - } else { - qCritical() << "Unsupported value type" << field.name; - } - } - - isNew_ = -1; - - changedFields_.clear(); -} - -// When loading a QJsonObject, all the values are cleared and replaced by those -// from the QJsonObject. All the fields are marked as changed since it's -// assumed that the object comes from the web service. -void BaseModel::loadJsonObject(const QJsonObject &jsonObject) { - values_.clear(); - changedFields_.clear(); - - QVector fields = BaseModel::tableFields(table()); - - foreach (BaseModel::Field field, fields) { - setValue(field.name, jsonObject[field.name], field.type); - } - - isNew_ = 1; -} - -void BaseModel::patchJsonObject(const QJsonObject &jsonObject) { - QVector fields = BaseModel::tableFields(table()); - - foreach (BaseModel::Field field, fields) { - if (!jsonObject.contains(field.name)) continue; - setValue(field.name, jsonObject[field.name], field.type); - } -} - -QHash BaseModel::values() const { - return values_; -} - -BaseModel::Value BaseModel::value(const QString &name) const { - if (!valueIsSet(name)) { - qCritical() << "Value does not exist" << name; - return Value(); - } - return values_[name]; -} - -bool BaseModel::valueIsSet(const QString &name) const { - return values_.contains(name); -} - -void BaseModel::setValue(const QString &name, const BaseModel::Value &value) { - if (!values_.contains(name)) { - values_.insert(name, value); - changedFields_.insert(name, true); - } else { - Value& v = values_[name]; - if (v.isEqual(value)) return; - values_.insert(name, value); - changedFields_.insert(name, true); - } -} - -void BaseModel::setValue(const QString &name, int value) { - setValue(name, Value(value)); -} - -void BaseModel::setValue(const QString &name, const QJsonValue &value, QMetaType::Type type) { - if (type == QMetaType::QString) { - setValue(name, value.toString()); - } else if (type == QMetaType::Int) { - setValue(name, value.toInt()); - } else { - qFatal("Unsupported value type %s %d", name.toStdString().c_str(), type); - } -} - -//void BaseModel::setValues(const QHash values) { -// values_ = values; -//} - -BaseModel::Value BaseModel::id() const { - if (!valueIsSet(primaryKey())) return QVariant(); - return value(primaryKey()); -} - -QString BaseModel::idString() const { - return id().toString(); -} - -QString BaseModel::valuesToString() const { - QString s; - for (QHash::const_iterator it = values_.begin(); it != values_.end(); ++it) { - if (s != "") s += "\n"; - s += it.key() + " = " + it.value().toString(); - } - return s; -} - -void BaseModel::clone(const BaseModel &baseModel) { - values_ = baseModel.values_; - changedFields_.clear(); - isNew_ = false; - table_ = baseModel.table_; -} - -QString BaseModel::tableName(Table t) { - if (t == jop::FoldersTable) return "folders"; - if (t == jop::NotesTable) return "notes"; - if (t == jop::ChangesTable) return "changes"; - qFatal("Unknown table %d", t); -} - -QVariant BaseModel::cacheGet(const QString &key) { - if (!BaseModel::cache_.contains(key)) return QVariant(); - return cache_[key]; -} - -void BaseModel::cacheSet(const QString &key, const QVariant &value) { - BaseModel::cache_[key] = value; -} - -void BaseModel::cacheDelete(const QString &key) { - BaseModel::cache_.remove(key); -} - -QString BaseModel::title() const { - return value("title").toString(); -} - -void BaseModel::setValue(const QString &name, const QString &value) { - setValue(name, Value(value)); -} - -void BaseModel::setValue(const QString& name, const QVariant& value) { - setValue(name, Value(value)); -} - -BaseModel::Value::Value() {} - -BaseModel::Value::Value(const QString &v) { - type_ = QMetaType::QString; - stringValue_ = v; -} - -BaseModel::Value::Value(int v) { - type_ = QMetaType::Int; - intValue_ = v; -} - -BaseModel::Value::Value(const QVariant &v) { - type_ = (QMetaType::Type)v.type(); - if (type_ == QMetaType::QString) { - stringValue_ = v.toString(); - } else if (type_ == QMetaType::Int) { - intValue_ = v.toInt(); - } else { - // Creates an invalid Value, which is what we want - } -} - -int BaseModel::Value::toInt() const { - return intValue_; -} - -QString BaseModel::Value::toString() const { - if (type_ == QMetaType::QString) return stringValue_; - if (type_ == QMetaType::Int) return QString::number(intValue_); - return QString(""); -} - -QVariant BaseModel::Value::toQVariant() const { - QMetaType::Type t = type(); - if (t == QMetaType::QString) return QVariant(toString()); - if (t == QMetaType::Int) return QVariant(toInt()); - return QVariant(); -} - -QMetaType::Type BaseModel::Value::type() const { - return type_; -} - -bool BaseModel::Value::isValid() const { - return type_ > 0; -} - -bool BaseModel::Value::isEqual(const BaseModel::Value &v) const { - QMetaType::Type type = v.type(); - if (this->type() != type) return false; - if (type == QMetaType::QString) return toString() == v.toString(); - if (type == QMetaType::Int) return toInt() == v.toInt(); - - qCritical() << "Unreachable"; - return false; -} diff --git a/QtClient/JoplinQtClient/models/basemodel.h b/QtClient/JoplinQtClient/models/basemodel.h deleted file mode 100755 index ed3af0b733..0000000000 --- a/QtClient/JoplinQtClient/models/basemodel.h +++ /dev/null @@ -1,112 +0,0 @@ -#ifndef BASEMODEL_H -#define BASEMODEL_H - -#include - -#include "enum.h" - -namespace jop { - -class BaseModel : public QObject { - - Q_OBJECT - - Q_PROPERTY(QString title READ title) - Q_PROPERTY(QString id READ idString) - -public: - - struct Field { - QString name; - QMetaType::Type type; - }; - - class Value { - - public: - - Value(); - Value(const QString& v); - Value(int v); - Value(const QVariant& v); - int toInt() const; - QString toString() const; - QVariant toQVariant() const; - QMetaType::Type type() const; - bool isValid() const; - bool isEqual(const Value& v) const; - - private: - - QMetaType::Type type_; - QString stringValue_; - int intValue_; - - }; - - BaseModel(); - QStringList changedFields() const; - static int count(jop::Table table, const QString &parentId); - bool load(const QString& id); - bool loadByField(const QString& parentId, const QString& field, const QString& fieldValue); - bool reload(); - virtual bool save(bool trackChanges = true); - virtual bool dispose(); - - Table table() const; - virtual QString primaryKey() const; - virtual bool primaryKeyIsUuid() const; - virtual bool trackChanges() const; - virtual QString displayTitle() const; - - bool isNew() const; - - static QVector tableFields(Table table); - static bool hasField(jop::Table table, const QString& name); - static QStringList tableFieldNames(Table table); - static QString sqlTableFields(Table table); - static bool isValidFieldName(Table table, const QString& name); - static void deleteAll(Table table); - - void loadSqlQuery(const QSqlQuery& query); - void loadJsonObject(const QJsonObject& jsonObject); - void patchJsonObject(const QJsonObject& jsonObject); - QHash values() const; - Value value(const QString& name) const; - bool valueIsSet(const QString& name) const; - void setValue(const QString& name, const Value& value); - void setValue(const QString& name, const QVariant& value); - void setValue(const QString& name, const QString& value); - void setValue(const QString& name, int value); - void setValue(const QString& name, const QJsonValue& value, QMetaType::Type type); - //void setValues(const QHash values); - Value id() const; - QString valuesToString() const; - void clone(const BaseModel& baseModel); - - static QString tableName(Table t); - -protected: - - QHash changedFields_; - QHash values_; - int isNew_; - jop::Table table_; - - static QVariant cacheGet(const QString& key); - static void cacheSet(const QString& key, const QVariant& value); - static void cacheDelete(const QString& key); - static QMap> tableFields_; - static QHash cache_; - - -public slots: - - QString title() const; - QString idString() const; - -}; - -} - -#endif // BASEMODEL_H diff --git a/QtClient/JoplinQtClient/models/change.cpp b/QtClient/JoplinQtClient/models/change.cpp deleted file mode 100755 index 6c378d456b..0000000000 --- a/QtClient/JoplinQtClient/models/change.cpp +++ /dev/null @@ -1,120 +0,0 @@ -#include "change.h" -#include "database.h" - -using namespace jop; - -//Table Change::table() const { -// return jop::ChangesTable; -//} - -Change::Change() : BaseModel() { - table_ = jop::ChangesTable; -} - -std::vector Change::all(int limit) { - QString sql = QString("SELECT %1 FROM %2 ORDER BY id ASC LIMIT %3") - .arg(BaseModel::tableFieldNames(jop::ChangesTable).join(",")) - .arg(BaseModel::tableName(jop::ChangesTable)) - .arg(QString::number(limit)); - - QSqlQuery q(sql); - jop::db().execQuery(q); - - std::vector output; - - while (q.next()) { - Change* change(new Change()); - change->loadSqlQuery(q); - output.push_back(change); - } - - return output; -} - -void Change::mergedChanges(std::vector& changes) { - QStringList createdItems; - QStringList deletedItems; - QHash itemChanges; - - for (size_t i = 0; i < changes.size(); i++) { - Change* change = changes[i]; - - QString itemId = change->value("item_id").toString(); - Change::Type type = (Change::Type)change->value("type").toInt(); - - if (type == Change::Create) { - createdItems.push_back(itemId); - } else if (type == Change::Delete) { - deletedItems.push_back(itemId); - } - - if (itemChanges.contains(itemId) && type == Change::Update) { - // Merge all the "Update" event into one. - Change* existingChange = itemChanges[itemId]; - existingChange->addMergedField(change->value("item_field").toString()); - } else { - itemChanges[itemId] = change; - } - } - - std::vector output; - - for (QHash::iterator it = itemChanges.begin(); it != itemChanges.end(); ++it) { - QString itemId = it.key(); - Change* change = it.value(); - - if (createdItems.contains(itemId) && deletedItems.contains(itemId)) { - // Item both created then deleted - skip - continue; - } - - if (deletedItems.contains(itemId)) { - // Item was deleted at some point - just return one 'delete' event - change->setValue("type", Change::Delete); - } else if (createdItems.contains(itemId)) { - // Item was created then updated - just return one 'create' event with the latest changes - change->setValue("type", Change::Create); - } - - output.push_back(change); - } - - // Delete the changes that are now longer needed (have been merged) - for (size_t i = 0; i < changes.size(); i++) { - Change* c1 = changes[i]; - bool found = false; - for (size_t j = 0; j < output.size(); j++) { - Change* c2 = output[i]; - if (c1 == c2) { - found = true; - break; - } - } - if (!found) { - delete c1; c1 = NULL; - } - } - - changes = output; -} - -void Change::addMergedField(const QString &name) { - if (mergedFields_.contains(name)) return; - mergedFields_.push_back(name); -} - -QStringList Change::mergedFields() const { - QStringList output(mergedFields_); - QString itemField = value("item_field").toString(); - if (!mergedFields_.contains(itemField)) { - output.push_back(itemField); - } - return output; -} - -void Change::disposeByItemId(const QString &itemId) { - QString sql = QString("DELETE FROM %1 WHERE item_id = :item_id").arg(BaseModel::tableName(jop::ChangesTable)); - QSqlQuery q = jop::db().prepare(sql); - q.bindValue(":item_id", itemId); - jop::db().execQuery(q); -} diff --git a/QtClient/JoplinQtClient/models/change.h b/QtClient/JoplinQtClient/models/change.h deleted file mode 100755 index 63bd48030b..0000000000 --- a/QtClient/JoplinQtClient/models/change.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef CHANGE_H -#define CHANGE_H - -#include - -#include "models/basemodel.h" - -namespace jop { - -class Change : public BaseModel { - -public: - - enum Type { Undefined, Create, Update, Delete }; - - Change(); - static std::vector all(int limit = 100); - static void mergedChanges(std::vector &changes); - static void disposeByItemId(const QString& itemId); - - void addMergedField(const QString& name); - QStringList mergedFields() const; - -private: - - QStringList mergedFields_; - -}; - -} - -#endif // CHANGE_H diff --git a/QtClient/JoplinQtClient/models/folder.cpp b/QtClient/JoplinQtClient/models/folder.cpp deleted file mode 100755 index b8233ebe6d..0000000000 --- a/QtClient/JoplinQtClient/models/folder.cpp +++ /dev/null @@ -1,171 +0,0 @@ -#include "models/folder.h" -#include "database.h" - -namespace jop { - -Folder::Folder() : Item() { - table_ = jop::FoldersTable; -} - -//Table Folder::table() const { -// return jop::FoldersTable; -//} - -bool Folder::primaryKeyIsUuid() const { - return true; -} - -bool Folder::trackChanges() const { - return true; -} - -int Folder::noteCount() const { - QSqlQuery q = jop::db().prepare(QString("SELECT count(*) AS row_count FROM %1 WHERE parent_id = :parent_id").arg(BaseModel::tableName(jop::NotesTable))); - q.bindValue(":parent_id", id().toString()); - jop::db().execQuery(q); - q.next(); - return q.value(0).toInt(); -} - -std::unique_ptr Folder::root() { - std::unique_ptr folder(new Folder()); - return std::move(folder); -} - -std::vector> Folder::children(const QString &orderBy, int limit, int offset) const { - std::vector> output; - - std::vector tables; - tables.push_back(jop::FoldersTable); - tables.push_back(jop::NotesTable); - for (size_t tableIndex = 0; tableIndex < tables.size(); tableIndex++) { - jop::Table table = tables[tableIndex]; - - QString sql = QString("SELECT %1 FROM %2 WHERE parent_id = :parent_id ORDER BY %3 %4 %5") - .arg(BaseModel::sqlTableFields(table)) - .arg(BaseModel::tableName(table)) - .arg(orderBy) - .arg(limit ? QString("LIMIT %1").arg(limit) : "") - .arg(limit && offset ? QString("OFFSET %1").arg(offset) : ""); - - QSqlQuery q = jop::db().prepare(sql); - - q.bindValue(":parent_id", idString()); - jop::db().execQuery(q); - if (!jop::db().errorCheck(q)) return output; - - while (q.next()) { - if (table == jop::FoldersTable) { - std::unique_ptr folder(new Folder()); - folder->loadSqlQuery(q); - output.push_back(std::move(folder)); - } else if (table == jop::NotesTable) { - std::unique_ptr note(new Note()); - note->loadSqlQuery(q); - output.push_back(std::move(note)); - } - } - } - - return output; -} - -std::vector> Folder::notes(const QString &orderBy, int limit, int offset) const { - std::vector> output; - - QSqlQuery q = jop::db().prepare(QString("SELECT %1 FROM %2 WHERE parent_id = :parent_id ORDER BY %3 LIMIT %4 OFFSET %5") - .arg(BaseModel::sqlTableFields(jop::NotesTable)) - .arg(BaseModel::tableName(jop::NotesTable)) - .arg(orderBy) - .arg(limit) - .arg(offset)); - q.bindValue(":parent_id", id().toString()); - jop::db().execQuery(q); - if (!jop::db().errorCheck(q)) return output; - - while (q.next()) { - std::unique_ptr note(new Note()); - note->loadSqlQuery(q); - output.push_back(std::move(note)); - } - - return output; -} - -std::vector> Folder::pathToFolders(const QString& path, bool returnLast, int& errorCode) { - std::vector> output; - if (!path.length()) return output; - - QStringList parts = path.split('/'); - QString parentId(""); - int toIndex = returnLast ? parts.size() : parts.size() - 1; - for (int i = 0; i < toIndex; i++) { - std::unique_ptr folder(new Folder()); - bool ok = folder->loadByField(parentId, "title", parts[i]); - if (!ok) { - // qWarning() << "Folder does not exist" << parts[i]; - errorCode = 1; - return output; - } - output.push_back(std::move(folder)); - } - return output; -} - -QString Folder::pathBaseName(const QString& path) { - QStringList parts = path.split('/'); - return parts[parts.size() - 1]; -} - -int Folder::noteIndexById(const QString &orderBy, const QString& id) const { - qDebug() << "Folder::noteIndexById" << orderBy << id; - - QSqlQuery q = jop::db().prepare(QString("SELECT id, %2 FROM %1 WHERE parent_id = :parent_id ORDER BY %2") - .arg(BaseModel::tableName(jop::NotesTable)) - .arg(orderBy)); - q.bindValue(":parent_id", idString()); - jop::db().execQuery(q); - if (!jop::db().errorCheck(q)) return -1; - - int index = 0; - while (q.next()) { - QString qId = q.value(0).toString(); - QString qTitle = q.value(1).toString(); - qDebug() << "CURRENT" << qId << qTitle; - if (qId == id) return index; - index++; - } - - return -1; -} - -int Folder::count(const QString &parentId) { - return BaseModel::count(jop::FoldersTable, parentId); -} - -// std::vector> Folder::all(const QString& parentId, const QString &orderBy) { -// QSqlQuery q = jop::db().prepare(QString("SELECT %1 FROM %2 WHERE parent_id = :parent_id ORDER BY %3") -// .arg(BaseModel::tableFieldNames(jop::FoldersTable).join(",")) -// .arg(BaseModel::tableName(jop::FoldersTable)) -// .arg(orderBy)); -// q.bindValue(":parent_id", parentId); -// jop::db().execQuery(q); - -// std::vector> output; - -// //if (!jop::db().errorCheck(q)) return output; - -// while (q.next()) { -// std::unique_ptr folder(new Folder()); -// folder->loadSqlQuery(q); -// output.push_back(std::move(folder)); -// } - -// return output; -// } - -QString Folder::displayTitle() const { - return QString("%1/").arg(value("title").toString()); -} - -} diff --git a/QtClient/JoplinQtClient/models/folder.h b/QtClient/JoplinQtClient/models/folder.h deleted file mode 100755 index 7ed76ad8e0..0000000000 --- a/QtClient/JoplinQtClient/models/folder.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef FOLDER_H -#define FOLDER_H - -#include -#include "models/item.h" -#include "models/note.h" - -namespace jop { - -class Folder : public Item { - - Q_OBJECT - -public: - - Folder(); - - static int count(const QString& parentId); - static std::vector> pathToFolders(const QString& path, bool returnLast, int& errorCode); - static QString pathBaseName(const QString& path); - static std::unique_ptr root(); - - bool primaryKeyIsUuid() const; - bool trackChanges() const; - int noteCount() const; - std::vector> notes(const QString& orderBy, int limit, int offset = 0) const; - std::vector> children(const QString &orderBy = QString("title"), int limit = 0, int offset = 0) const; - int noteIndexById(const QString& orderBy, const QString &id) const; - QString displayTitle() const; - -}; - -} - -#endif // FOLDER_H diff --git a/QtClient/JoplinQtClient/models/foldercollection.cpp b/QtClient/JoplinQtClient/models/foldercollection.cpp deleted file mode 100755 index 41a02bf1a7..0000000000 --- a/QtClient/JoplinQtClient/models/foldercollection.cpp +++ /dev/null @@ -1,106 +0,0 @@ -#include "foldercollection.h" -#include "databaseutils.h" -#include "dispatcher.h" -#include "uuid.h" - -using namespace jop; - -// Note: although parentId is supplied, it is currently not being used. -FolderCollection::FolderCollection(Database& db, const QString& parentId, const QString& orderBy) { - db_ = db; - parentId_ = parentId; - orderBy_ = orderBy; - - connect(&jop::dispatcher(), SIGNAL(folderCreated(const QString&)), this, SLOT(dispatcher_folderCreated(QString))); -} - -Folder FolderCollection::at(int index) const { - if (cache_.size()) { - if (index < 0 || index >= cache_.size()) { - qWarning() << "Invalid folder index:" << index; - return Folder(); - } - - return cache_[index]; - } - - QSqlQuery q = db_.query("SELECT " + Folder::dbFields().join(",") + " FROM folders ORDER BY " + orderBy_); - q.exec(); - - while (q.next()) { - Folder folder; - folder.fromSqlQuery(q); - cache_.push_back(folder); - } - - if (!cache_.size()) { - qWarning() << "Invalid folder index:" << index; - return Folder(); - } else { - return at(index); - } -} - -// TODO: cache result -int FolderCollection::count() const { - QSqlQuery q = db_.query("SELECT count(*) as row_count FROM folders"); - q.exec(); - q.next(); - return q.value(0).toInt(); -} - -Folder FolderCollection::byId(const QString& id) const { - int index = idToIndex(id); - return at(index); -} - -int FolderCollection::idToIndex(const QString &id) const { - int count = this->count(); - for (int i = 0; i < count; i++) { - Folder folder = at(i); - if (folder.id() == id) return i; - } - return -1; -} - -QString FolderCollection::indexToId(int index) const { - Folder folder = at(index); - return folder.id(); -} - -void FolderCollection::update(const QString &id, QStringList fields, VariantVector values) { - if (!fields.contains("synced")) { - fields.push_back("synced"); - values.push_back(QVariant(0)); - } - QSqlQuery q = db_.buildSqlQuery(Database::Update, "folders", fields, values, "id = \"" + id + "\""); - q.exec(); - cache_.clear(); - emit changed(0, count() - 1, fields); -} - -void FolderCollection::add(QStringList fields, VariantVector values) { - fields.push_back("synced"); - values.push_back(QVariant(0)); - - fields.push_back("id"); - values.push_back(uuid::createUuid()); - - QSqlQuery q = db_.buildSqlQuery(Database::Insert, "folders", fields, values); - q.exec(); - cache_.clear(); - emit changed(0, count() - 1, fields); -} - -void FolderCollection::remove(const QString& id) { - QSqlQuery q(db_.database()); - q.prepare("DELETE FROM folders WHERE id = :id"); - q.bindValue(":id", id); - q.exec(); - cache_.clear(); - emit changed(0, count(), QStringList()); -} - -void FolderCollection::dispatcher_folderCreated(const QString &id) { - -} diff --git a/QtClient/JoplinQtClient/models/foldercollection.h b/QtClient/JoplinQtClient/models/foldercollection.h deleted file mode 100755 index e8aeac2887..0000000000 --- a/QtClient/JoplinQtClient/models/foldercollection.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef FOLDERCOLLECTION_H -#define FOLDERCOLLECTION_H - -#include - -#include "database.h" -#include "models/note.h" -#include "models/folder.h" -#include "sparsevector.hpp" -#include "simpletypes.h" - -namespace jop { - -class FolderCollection : public QObject { - - Q_OBJECT - -public: - - //FolderCollection(); - FolderCollection(Database& db, const QString &parentId, const QString& orderBy); - Folder at(int index) const; - int count() const; - Folder byId(const QString &id) const; - int idToIndex(const QString& id) const; - QString indexToId(int index) const; - void update(const QString& id, QStringList fields, VariantVector values); - void add(QStringList fields, VariantVector values); - void remove(const QString &id); - -private: - - QString parentId_; - QString orderBy_; - Database db_; - mutable QVector cache_; - -signals: - - void changed(int from, int to, const QStringList& fields); - -public slots: - - void dispatcher_folderCreated(const QString& id); - -}; - -} - -#endif // FOLDERCOLLECTION_H diff --git a/QtClient/JoplinQtClient/models/foldermodel.cpp b/QtClient/JoplinQtClient/models/foldermodel.cpp deleted file mode 100755 index d25c97d28a..0000000000 --- a/QtClient/JoplinQtClient/models/foldermodel.cpp +++ /dev/null @@ -1,139 +0,0 @@ -#include "foldermodel.h" -#include "uuid.h" -#include "dispatcher.h" - -using namespace jop; - -FolderModel::FolderModel() : AbstractListModel(), orderBy_("title") { - connect(&dispatcher(), SIGNAL(folderCreated(QString)), this, SLOT(dispatcher_folderCreated(QString))); - connect(&dispatcher(), SIGNAL(folderUpdated(QString)), this, SLOT(dispatcher_folderUpdated(QString))); - connect(&dispatcher(), SIGNAL(folderDeleted(QString)), this, SLOT(dispatcher_folderDeleted(QString))); - connect(&dispatcher(), SIGNAL(allFoldersDeleted()), this, SLOT(dispatcher_allFoldersDeleted())); -} - -const BaseModel *FolderModel::atIndex(int index) const { - if (cache_.size()) { - if (index < 0 || index >= (int)cache_.size()) { - qWarning() << "Invalid folder index:" << index; - return NULL; - } - - return cacheGet(index); - } - - cacheClear(); - - qFatal("TODO: replace with root::children()"); - //cache_ = Folder::all(orderBy_); - - if (!cache_.size()) { - qWarning() << "Invalid folder index:" << index; - return NULL; - } else { - return atIndex(index); - } -} - -int FolderModel::idToIndex(const QString &id) const { - int count = this->rowCount(); - for (int i = 0; i < count; i++) { - Folder* folder = (Folder*)atIndex(i); - if (!folder) return -1; - if (folder->idString() == id) return i; - } - return -1; -} - -//bool FolderModel::setTitle(int index, const QVariant &value, int role) { -// return setData(this->index(index), value, role); -//} - -//bool FolderModel::setData(int index, const QVariant &value, int role) { -// return BaseModel::setData(this->index(index), value, role); -//} - -void FolderModel::addData(const QString &title) { - Folder folder; - folder.setValue("title", title); - if (!folder.save()) return; - - lastInsertId_ = folder.id().toString(); -} - -void FolderModel::deleteData(const int index) { - Folder* folder = (Folder*)atIndex(index); - if (!folder) return; - folder->dispose(); -} - -int FolderModel::baseModelCount() const { - return Folder::count(""); -} - -const BaseModel *FolderModel::cacheGet(int index) const { - return cache_[index].get(); -} - -void FolderModel::cacheSet(int index, BaseModel* baseModel) const { - Folder* folder = static_cast(baseModel); - cache_[index] = std::unique_ptr(folder); -} - -bool FolderModel::cacheIsset(int index) const { - return index > 0 && (int)cache_.size() > index; -} - -void FolderModel::cacheClear() const { - cache_.clear(); -} - -// TODO: instead of clearing the whole cache every time, the individual items -// could be created/updated/deleted - -void FolderModel::dispatcher_folderCreated(const QString &folderId) { - qDebug() << "FolderModel Folder created" << folderId; - - cacheClear(); - - int from = 0; - int to = rowCount() - 1; - - QVector roles; - roles << Qt::DisplayRole; - - // Necessary to make sure a new item is added to the view, even - // though it might not be positioned there due to sorting - beginInsertRows(QModelIndex(), to, to); - endInsertRows(); - - emit dataChanged(this->index(from), this->index(to), roles); -} - -void FolderModel::dispatcher_folderUpdated(const QString &folderId) { - qDebug() << "FolderModel Folder udpated" << folderId; - - cacheClear(); - - QVector roles; - roles << Qt::DisplayRole; - emit dataChanged(this->index(0), this->index(rowCount() - 1), roles); -} - -void FolderModel::dispatcher_folderDeleted(const QString &folderId) { - qDebug() << "FolderModel Folder deleted" << folderId; - - int index = idToIndex(folderId); - if (index < 0) return; - - cacheClear(); - - beginRemoveRows(QModelIndex(), index, index); - endRemoveRows(); -} - -void FolderModel::dispatcher_allFoldersDeleted() { - qDebug() << "FolderModel All folders deleted"; - cacheClear(); - beginResetModel(); - endResetModel(); -} diff --git a/QtClient/JoplinQtClient/models/foldermodel.h b/QtClient/JoplinQtClient/models/foldermodel.h deleted file mode 100755 index 217b4dd73c..0000000000 --- a/QtClient/JoplinQtClient/models/foldermodel.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef FOLDERMODEL_H -#define FOLDERMODEL_H - -#include - -#include "models/folder.h" -#include "models/abstractlistmodel.h" -#include "database.h" - -namespace jop { - -class FolderModel : public AbstractListModel { - - Q_OBJECT - -public: - - FolderModel(); - void addFolder(Folder* folder); - const BaseModel* atIndex(int index) const; - -protected: - - int baseModelCount() const; - const BaseModel *cacheGet(int index) const; - void cacheSet(int index, BaseModel *baseModel) const; - bool cacheIsset(int index) const; - void cacheClear() const; - int cacheSize() const; - -private: - - QList folders_; - QString orderBy_; - mutable std::vector> cache_; - -public slots: - - void addData(const QString& title); - void deleteData(const int index); - int idToIndex(const QString& id) const; - - void dispatcher_folderCreated(const QString& folderId); - void dispatcher_folderUpdated(const QString& folderId); - void dispatcher_folderDeleted(const QString& folderId); - void dispatcher_allFoldersDeleted(); - -}; - -} - -#endif // FOLDERMODEL_H diff --git a/QtClient/JoplinQtClient/models/item.cpp b/QtClient/JoplinQtClient/models/item.cpp deleted file mode 100755 index 1e58ed0529..0000000000 --- a/QtClient/JoplinQtClient/models/item.cpp +++ /dev/null @@ -1,61 +0,0 @@ -#include "models/item.h" -#include "constants.h" - -namespace jop { - -Item::Item() {} - -QString Item::serialize() const { - QStringList shownKeys; - shownKeys << "author" << "longitude" << "latitude" << "is_todo" << "todo_due" << "todo_completed"; - - QStringList output; - output << value("title").toString(); - output << ""; - output << value("body").toString(); - output << "================================================================================"; - QHash values = this->values(); - for (int i = 0; i < shownKeys.size(); i++) { - QString key = shownKeys[i]; - if (!values.contains(key)) continue; - output << QString("%1: %2").arg(key).arg(values[key].toString()); - } - return output.join(NEW_LINE); -} - -void Item::patchFriendlyString(const QString& patch) { - QStringList lines = patch.split(jop::NEW_LINE); - - QString title(""); - if (lines.size() >= 1) { - title = lines[0]; - } - - bool foundDelimiter = false; - QString body(""); - for (int i = 1; i < lines.size(); i++) { - QString line = lines[i]; - - if (line.indexOf("================================================================================") == 0) { - foundDelimiter = true; - continue; - } - - if (!foundDelimiter && line.trimmed() == "" && i == 1) continue; // Skip the first \n - - if (!foundDelimiter) { - if (!body.isEmpty()) body += "\n"; - body += line; - } else { - int colonIndex = line.indexOf(':'); - QString propName = line.left(colonIndex).trimmed(); - QString propValue = line.right(line.length() - colonIndex - 1).trimmed(); - setValue(propName, propValue); - } - } - - setValue("title", title); - setValue("body", body); -} - -} \ No newline at end of file diff --git a/QtClient/JoplinQtClient/models/item.h b/QtClient/JoplinQtClient/models/item.h deleted file mode 100755 index 8eb262d8f2..0000000000 --- a/QtClient/JoplinQtClient/models/item.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef ITEM_H -#define ITEM_H - -#include - -#include "models/basemodel.h" - -namespace jop { - -class Item : public BaseModel { - - Q_OBJECT - -public: - - Item(); - QString serialize() const; - void patchFriendlyString(const QString& patch); - -}; - -} - -#endif // ITEM_H diff --git a/QtClient/JoplinQtClient/models/note.cpp b/QtClient/JoplinQtClient/models/note.cpp deleted file mode 100755 index 08284f4040..0000000000 --- a/QtClient/JoplinQtClient/models/note.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "note.h" - -using namespace jop; - -Note::Note() : Item() { - table_ = jop::NotesTable; -} - -//Table Note::table() const { -// return jop::NotesTable; -//} - -bool Note::primaryKeyIsUuid() const { - return true; -} - -bool Note::trackChanges() const { - return true; -} diff --git a/QtClient/JoplinQtClient/models/note.h b/QtClient/JoplinQtClient/models/note.h deleted file mode 100755 index 3e0e391f0e..0000000000 --- a/QtClient/JoplinQtClient/models/note.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef NOTE_H -#define NOTE_H - -#include -#include "models/item.h" - -namespace jop { - -class Note : public Item { - -public: - - Note(); - bool primaryKeyIsUuid() const; - bool trackChanges() const; - -}; - -} - -#endif // NOTE_H diff --git a/QtClient/JoplinQtClient/models/notecollection.cpp b/QtClient/JoplinQtClient/models/notecollection.cpp deleted file mode 100755 index c4dbcb4bc5..0000000000 --- a/QtClient/JoplinQtClient/models/notecollection.cpp +++ /dev/null @@ -1,83 +0,0 @@ -#include "notecollection.h" - -using namespace jop; - -NoteCollection::NoteCollection() {} - -NoteCollection::NoteCollection(Database& db, const QString& parentId, const QString& orderBy) { - db_ = db; - parentId_ = parentId; - orderBy_ = orderBy; -} - -Note NoteCollection::at(int index) const { - return Note(); -// if (parentId_ == "") return Note(); - -// if (cache_.isset(index)) return cache_.get(index); - -// std::vector indexes = cache_.availableBufferAround(index, 32); -// if (!indexes.size()) { -// qWarning() << "Couldn't acquire buffer"; // "Cannot happen" -// return Note(); -// } - -// int from = indexes[0]; -// int to = indexes[indexes.size() - 1]; - -// QSqlQuery q = db_.query("SELECT id, title, body FROM notes WHERE parent_id = :parent_id ORDER BY " + orderBy_ + " LIMIT " + QString::number(to - from + 1) + " OFFSET " + QString::number(from)); -// q.bindValue(":parent_id", parentId_); -// q.exec(); - -// int noteIndex = from; -// while (q.next()) { -// Note note; -// note.setId(q.value(0).toString()); -// note.setTitle(q.value(1).toString()); -// note.setBody(q.value(2).toString()); - -// cache_.set(noteIndex, note); - -// noteIndex++; -// } - -// return cache_.get(index); -} - -// TODO: cache result -int NoteCollection::count() const { - return 0; -// if (parentId_ == "") return 0; - -// QSqlQuery q = db_.query("SELECT count(*) as row_count FROM notes WHERE parent_id = :parent_id"); -// q.bindValue(":parent_id", parentId_); -// q.exec(); -// q.next(); -// return q.value(0).toInt(); -} - -Note NoteCollection::byId(const QString& id) const { - return Note(); -// std::vector indexes = cache_.indexes(); -// for (size_t i = 0; i < indexes.size(); i++) { -// Note note = cache_.get(indexes[i]); -// if (note.id() == id) return note; -// } - -// QSqlQuery q = db_.query("SELECT id, title, body FROM notes WHERE id = :id"); -// q.bindValue(":id", id); -// q.exec(); -// q.next(); -// if (!q.isValid()) { -// qWarning() << "Invalid note ID:" << id; -// return Note(); -// } - -// // TODO: refactor creation of note from SQL query object -// Note note; -// note.setId(q.value(0).toString()); -// note.setTitle(q.value(1).toString()); -// note.setBody(q.value(2).toString()); - // return note; -} - diff --git a/QtClient/JoplinQtClient/models/notecollection.h b/QtClient/JoplinQtClient/models/notecollection.h deleted file mode 100755 index 29dd9cdd49..0000000000 --- a/QtClient/JoplinQtClient/models/notecollection.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef NOTECOLLECTION_H -#define NOTECOLLECTION_H - -#include - -#include "database.h" -#include "models/note.h" -#include "sparsevector.hpp" - -namespace jop { - -class NoteCollection { - -public: - - NoteCollection(); - NoteCollection(Database& db, const QString &parentId, const QString& orderBy); - Note at(int index) const; - int count() const; - Note byId(const QString &id) const; - -private: - - QString parentId_; - QString orderBy_; - Database db_; - mutable SparseVector cache_; - -}; - -} - -#endif // NOTECOLLECTION_H diff --git a/QtClient/JoplinQtClient/models/notemodel.cpp b/QtClient/JoplinQtClient/models/notemodel.cpp deleted file mode 100755 index 56a63f9e67..0000000000 --- a/QtClient/JoplinQtClient/models/notemodel.cpp +++ /dev/null @@ -1,149 +0,0 @@ -#include "notemodel.h" -#include "dispatcher.h" - -namespace jop { - -NoteModel::NoteModel() : AbstractListModel() { - folderId_ = ""; - orderBy_ = "title"; - - connect(&dispatcher(), SIGNAL(noteCreated(QString)), this, SLOT(dispatcher_noteCreated(QString)), Qt::QueuedConnection); - connect(&dispatcher(), SIGNAL(noteUpdated(QString)), this, SLOT(dispatcher_noteUpdated(QString)), Qt::QueuedConnection); - connect(&dispatcher(), SIGNAL(noteDeleted(QString)), this, SLOT(dispatcher_noteDeleted(QString)), Qt::QueuedConnection); -} - -const Note *NoteModel::atIndex(int index) const { - if (folderId_ == "") return NULL; - if (index < 0 || index >= rowCount()) return NULL; - if (cache_.isset(index)) return cache_.get(index); - - std::vector indexes = cache_.availableBufferAround(index, 32); - if (!indexes.size()) { - qCritical() << "Couldn't acquire buffer"; // "Cannot happen" - return NULL; - } - - int from = indexes[0]; - int to = indexes[indexes.size() - 1]; - -// Folder folder = this->folder(); - -// qDebug() << "NoteModel: cache recreated"; -// std::vector> notes = folder.notes(orderBy_, to - from + 1, from); -// int noteIndex = from; -// for (int i = 0; i < notes.size(); i++) { -// cache_.set(noteIndex, notes[i].release()); -// noteIndex++; -// } - - return cache_.get(index); -} - -void NoteModel::setFolderId(const QString &v) { - if (v == folderId_) return; - beginResetModel(); - cache_.clear(); - folderId_ = v; - endResetModel(); -} - -//Folder NoteModel::folder() const { -// Folder folder; -// //if (folderId_ == "") return folder; -// folder.load(folderId_); -// return folder; -//} - -int NoteModel::idToIndex(const QString &id) const { - std::vector indexes = cache_.indexes(); - for (size_t i = 0; i < indexes.size(); i++) { - Note* note = cache_.get(indexes[i]); - if (note->idString() == id) return indexes[i]; - } - - return 0; - - //Folder f = this->folder(); - //return f.noteIndexById(orderBy_, id); -} - -void NoteModel::addData(const QString &title) { - Note note; - note.setValue("title", title); - note.setValue("parent_id", folderId_); - if (!note.save()) return; - - lastInsertId_ = note.idString(); -} - -void NoteModel::deleteData(int index) { - Note* note = (Note*)atIndex(index); - if (!note) return; - note->dispose(); -} - -int NoteModel::baseModelCount() const { - return 0; - //return folder().noteCount(); -} - -const BaseModel *NoteModel::cacheGet(int index) const { - return static_cast(cache_.get(index)); -} - -void NoteModel::cacheSet(int index, BaseModel *baseModel) const { - cache_.set(index, static_cast(baseModel)); -} - -bool NoteModel::cacheIsset(int index) const { - return cache_.isset(index); -} - -void NoteModel::cacheClear() const { - qDebug() << "NoteModel::cacheClear()"; - cache_.clear(); -} - -void NoteModel::dispatcher_noteCreated(const QString ¬eId) { - qDebug() << "NoteModel note created" << noteId; - - cacheClear(); - - int from = 0; - int to = rowCount() - 1; - - QVector roles; - roles << Qt::DisplayRole; - - // Necessary to make sure a new item is added to the view, even - // though it might not be positioned there due to sorting - beginInsertRows(QModelIndex(), to, to); - endInsertRows(); - - emit dataChanged(this->index(from), this->index(to), roles); -} - -void NoteModel::dispatcher_noteUpdated(const QString ¬eId) { - qDebug() << "NoteModel note udpated" << noteId; - - cacheClear(); - - QVector roles; - roles << Qt::DisplayRole; - emit dataChanged(this->index(0), this->index(rowCount() - 1), roles); -} - -void NoteModel::dispatcher_noteDeleted(const QString ¬eId) { - qDebug() << "NoteModel note deleted" << noteId; - - int index = idToIndex(noteId); - qDebug() << "index" << index; - if (index < 0) return; - - cacheClear(); - - beginRemoveRows(QModelIndex(), index, index); - endRemoveRows(); -} - -} diff --git a/QtClient/JoplinQtClient/models/notemodel.h b/QtClient/JoplinQtClient/models/notemodel.h deleted file mode 100755 index 7c617f59ac..0000000000 --- a/QtClient/JoplinQtClient/models/notemodel.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef NOTEMODEL_H -#define NOTEMODEL_H - -#include - -#include "models/folder.h" -#include "sparsevector.hpp" -#include "models/abstractlistmodel.h" - -namespace jop { - -class NoteModel : public AbstractListModel { - - Q_OBJECT - -public: - - NoteModel(); - const Note* atIndex(int index) const; - void setFolderId(const QString& v); - //Folder folder() const; - -public slots: - - int idToIndex(const QString& id) const; - void addData(const QString& title); - void deleteData(int index); - void dispatcher_noteCreated(const QString& noteId); - void dispatcher_noteUpdated(const QString& noteId); - void dispatcher_noteDeleted(const QString& noteId); - -protected: - - int baseModelCount() const; - const BaseModel* cacheGet(int index) const; - void cacheSet(int index, BaseModel *baseModel) const; - bool cacheIsset(int index) const; - void cacheClear() const; - -private: - - QList notes_; - QString folderId_; - QString orderBy_; - mutable SparseVector cache_; - -}; - -} - -#endif // NOTEMODEL_H diff --git a/QtClient/JoplinQtClient/models/setting.cpp b/QtClient/JoplinQtClient/models/setting.cpp deleted file mode 100755 index fefa5b94c3..0000000000 --- a/QtClient/JoplinQtClient/models/setting.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "setting.h" - -#include "database.h" - -using namespace jop; - -void Setting::setSettings(const QSettings::SettingsMap &map) { - jop::db().transaction(); - jop::db().execQuery("DELETE FROM settings"); - QString sql = "INSERT INTO settings (`key`, `value`, `type`) VALUES (:key, :value, :type)"; - QSqlQuery query = jop::db().prepare(sql); - for (QSettings::SettingsMap::const_iterator it = map.begin(); it != map.end(); ++it) { - query.bindValue(":key", it.key()); - query.bindValue(":value", it.value()); - query.bindValue(":type", (int)it.value().type()); - jop::db().execQuery(query); - } - jop::db().commit(); -} - -QSettings::SettingsMap Setting::settings() { - QSettings::SettingsMap output; - QSqlQuery query("SELECT key, value, type FROM settings"); - jop::db().execQuery(query); - while (query.next()) { - QString key = query.value(0).toString(); - QVariant val = query.value(1); - QMetaType::Type type = (QMetaType::Type)query.value(2).toInt(); - if (type == QMetaType::Int) { - output[key] = QVariant(val.toInt()); - } else if (type == QMetaType::QString) { - output[key] = QVariant(val.toString()); - } else { - qCritical() << "Unsupported setting type" << key << val << type; - } - } - return output; -} diff --git a/QtClient/JoplinQtClient/models/setting.h b/QtClient/JoplinQtClient/models/setting.h deleted file mode 100755 index 6748dee78a..0000000000 --- a/QtClient/JoplinQtClient/models/setting.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef SETTING_H -#define SETTING_H - -#include - -#include "models/basemodel.h" - -namespace jop { - -class Setting : public BaseModel { - -public: - - static void setSettings(const QSettings::SettingsMap &map); - static QSettings::SettingsMap settings(); - -}; - -} - -#endif // SETTING_H diff --git a/QtClient/JoplinQtClient/paths.cpp b/QtClient/JoplinQtClient/paths.cpp deleted file mode 100755 index 322b88d2a6..0000000000 --- a/QtClient/JoplinQtClient/paths.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include "paths.h" - -using namespace jop; - -QString configDir_ = ""; - -QString paths::configDir() { - if (configDir_ != "") return configDir_; - - configDir_ = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/" + QCoreApplication::applicationName(); - QDir d(configDir_); - if (!d.exists()) { - bool dirCreated = d.mkpath("."); - if (!dirCreated) qFatal("Cannot create config directory: %s", configDir_.toStdString().c_str()); - } - return configDir_; -} - -QString paths::databaseFile() { - return QString("%1/%2.sqlite").arg(configDir()).arg(QCoreApplication::applicationName()); -} - -QString paths::noteDraftsDir() { - QString output = QString("%1/note_drafts").arg(paths::configDir()); - QDir d(output); - if (!d.exists()) { - bool dirCreated = d.mkpath("."); - if (!dirCreated) qFatal("Cannot create note draft directory: %s", output.toStdString().c_str()); - } - return output; -} \ No newline at end of file diff --git a/QtClient/JoplinQtClient/paths.h b/QtClient/JoplinQtClient/paths.h deleted file mode 100755 index 1bbe5066ed..0000000000 --- a/QtClient/JoplinQtClient/paths.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef PATHS_H -#define PATHS_H - -#include - -namespace jop { -namespace paths { - -QString configDir(); -QString databaseFile(); -QString noteDraftsDir(); - -} -} - -#endif // PATHS_H diff --git a/QtClient/JoplinQtClient/qml.qrc b/QtClient/JoplinQtClient/qml.qrc deleted file mode 100755 index 7b0d6df51e..0000000000 --- a/QtClient/JoplinQtClient/qml.qrc +++ /dev/null @@ -1,13 +0,0 @@ - - - app.qml - ItemList.qml - NoteEditor.qml - AddButton.qml - EditableListItem.qml - LoginPage.qml - LoginPageForm.ui.qml - MainPage.qml - ItemList2.qml - - diff --git a/QtClient/JoplinQtClient/qmlutils.cpp b/QtClient/JoplinQtClient/qmlutils.cpp deleted file mode 100755 index 3020d2f390..0000000000 --- a/QtClient/JoplinQtClient/qmlutils.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "qmlutils.h" - -namespace jop { -namespace qmlUtils { - -QVariant callQml(QObject* o, const QString &name, const QVariantList &args) { - QVariant returnedValue; - //qDebug() << "Going to call QML:" << name << args; - if (args.size() == 0) { - QMetaObject::invokeMethod(o, name.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue)); - } else if (args.size() == 1) { - QMetaObject::invokeMethod(o, name.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, args[0])); - } else if (args.size() == 2) { - QMetaObject::invokeMethod(o, name.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, args[0]), Q_ARG(QVariant, args[1])); - } else if (args.size() == 3) { - QMetaObject::invokeMethod(o, name.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, args[0]), Q_ARG(QVariant, args[1]), Q_ARG(QVariant, args[2])); - } else { - qFatal("qmlUtils::callQml: add support for more args!"); - } - return returnedValue; -} - -QObject* childFromProperty(QObject *o, const QString &propertyName) { - QVariant p = QQmlProperty(o, propertyName).read(); - if (!p.isValid()) { - qCritical() << "Invalid QML property" << propertyName; - return NULL; - } - return qvariant_cast(p); -} - -} -} diff --git a/QtClient/JoplinQtClient/qmlutils.h b/QtClient/JoplinQtClient/qmlutils.h deleted file mode 100755 index 79df7a2f2e..0000000000 --- a/QtClient/JoplinQtClient/qmlutils.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef QMLUTILS_H -#define QMLUTILS_H - -#include - -namespace jop { -namespace qmlUtils { - -QVariant callQml(QObject* o, const QString &name, const QVariantList &args = QVariantList()); -QObject* childFromProperty(QObject* o, const QString& propertyName); - -} -} - -#endif // QMLUTILS_H diff --git a/QtClient/JoplinQtClient/schema.sql b/QtClient/JoplinQtClient/schema.sql deleted file mode 100755 index c92f368c4a..0000000000 --- a/QtClient/JoplinQtClient/schema.sql +++ /dev/null @@ -1,87 +0,0 @@ -CREATE TABLE folders ( - id TEXT PRIMARY KEY, - parent_id TEXT NOT NULL DEFAULT "", - title TEXT NOT NULL DEFAULT "", - created_time INT NOT NULL DEFAULT 0, - updated_time INT NOT NULL DEFAULT 0 -); - -CREATE TABLE notes ( - id TEXT PRIMARY KEY, - parent_id TEXT NOT NULL DEFAULT "", - title TEXT NOT NULL DEFAULT "", - body TEXT NOT NULL DEFAULT "", - created_time INT NOT NULL DEFAULT 0, - updated_time INT NOT NULL DEFAULT 0, - latitude NUMERIC NOT NULL DEFAULT 0, - longitude NUMERIC NOT NULL DEFAULT 0, - altitude NUMERIC NOT NULL DEFAULT 0, - source TEXT NOT NULL DEFAULT "", - author TEXT NOT NULL DEFAULT "", - source_url TEXT NOT NULL DEFAULT "", - is_todo BOOLEAN NOT NULL DEFAULT 0, - todo_due INT NOT NULL DEFAULT "", - todo_completed INT NOT NULL DEFAULT "", - source_application TEXT NOT NULL DEFAULT "", - application_data TEXT NOT NULL DEFAULT "", - `order` INT NOT NULL DEFAULT 0 -); - -CREATE TABLE tags ( - id TEXT PRIMARY KEY, - title TEXT, - created_time INT, - updated_time INT -); - -CREATE TABLE note_tags ( - id INTEGER PRIMARY KEY, - note_id TEXT, - tag_id TEXT -); - -CREATE TABLE resources ( - id TEXT PRIMARY KEY, - title TEXT, - mime TEXT, - filename TEXT, - created_time INT, - updated_time INT -); - -CREATE TABLE note_resources ( - id INTEGER PRIMARY KEY, - note_id TEXT, - resource_id TEXT -); - -CREATE TABLE version ( - version INT -); - -CREATE TABLE changes ( - id INTEGER PRIMARY KEY, - `type` INT, - item_id TEXT, - item_type INT, - item_field TEXT -); - -CREATE TABLE settings ( - `key` TEXT PRIMARY KEY, - `value` TEXT, - `type` INT -); - ---CREATE TABLE mimetypes ( --- id INT, --- mime TEXT ---); - ---CREATE TABLE mimetype_extensions ( --- id INTEGER PRIMARY KEY, --- mimetype_id, --- extension TEXT ---); - -INSERT INTO version (version) VALUES (1); diff --git a/QtClient/JoplinQtClient/services/folderservice.cpp b/QtClient/JoplinQtClient/services/folderservice.cpp deleted file mode 100755 index dc5611369e..0000000000 --- a/QtClient/JoplinQtClient/services/folderservice.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include "folderservice.h" -#include "uuid.h" - -using namespace jop; - -FolderService::FolderService() {} - -FolderService::FolderService(Database &database) { - database_ = database; -} - -int FolderService::count() const { - QSqlQuery q = database_.query("SELECT count(*) as row_count FROM folders"); - q.exec(); - q.next(); - return q.value(0).toInt(); -} - -Folder FolderService::byId(const QString& id) const { - QSqlQuery q = database_.query("SELECT title, created_time FROM folders WHERE id = :id"); - q.bindValue(":id", id); - q.exec(); - q.next(); - - Folder output; - output.setId(id); - output.setTitle(q.value(0).toString()); - output.setCreatedTime(q.value(1).toInt()); - return output; -} - -const QList FolderService::overviewList() const { - if (cache_.size()) return cache_; - - QList output; - QSqlQuery q = database_.query("SELECT id, title FROM folders ORDER BY created_time DESC"); - q.exec(); - while (q.next()) { - Folder f; - f.setId(q.value(0).toString()); - f.setTitle(q.value(1).toString()); - f.setIsPartial(true); - output << f; - } - - cache_ = output; - - return cache_; -} - -void FolderService::clearCache() { - cache_.clear(); -} diff --git a/QtClient/JoplinQtClient/services/folderservice.h b/QtClient/JoplinQtClient/services/folderservice.h deleted file mode 100755 index 9f2ae50b14..0000000000 --- a/QtClient/JoplinQtClient/services/folderservice.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef FOLDERSERVICE_H -#define FOLDERSERVICE_H - -#include -#include "database.h" -#include "models/folder.h" - -namespace jop { - -class FolderService { - -public: - - FolderService(); - FolderService(Database& database); - int count() const; - Folder byId(const QString &id) const; - //Folder partialAt(int index) const; - const QList overviewList() const; - void clearCache(); - -private: - - Database database_; - mutable QList cache_; - -}; - -} - -#endif // FOLDERSERVICE_H diff --git a/QtClient/JoplinQtClient/services/notecache.cpp b/QtClient/JoplinQtClient/services/notecache.cpp deleted file mode 100755 index d609d5b2c1..0000000000 --- a/QtClient/JoplinQtClient/services/notecache.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "notecache.h" - -using namespace jop; - -NoteCache::NoteCache() { - -} - -void NoteCache::add(QList notes) { - foreach (Note note, notes) { - //cache_[note.id()] = note; - } -} - -std::pair NoteCache::get(int id) const { - if (cache_.contains(id)) return std::make_pair(cache_[id], true); - return std::make_pair(Note(), true); -} diff --git a/QtClient/JoplinQtClient/services/notecache.h b/QtClient/JoplinQtClient/services/notecache.h deleted file mode 100755 index 9b7161560a..0000000000 --- a/QtClient/JoplinQtClient/services/notecache.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef NOTECACHE_H -#define NOTECACHE_H - -#include -#include "models/note.h" - -namespace jop { - -class NoteCache { - -public: - - NoteCache(); - void add(QList notes); - std::pair get(int id) const; - -private: - - QMap cache_; - -}; - -} - -#endif // NOTECACHE_H diff --git a/QtClient/JoplinQtClient/services/noteservice.cpp b/QtClient/JoplinQtClient/services/noteservice.cpp deleted file mode 100755 index 86b7200fc3..0000000000 --- a/QtClient/JoplinQtClient/services/noteservice.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "noteservice.h" - -using namespace jop; - -NoteService::NoteService() {} - -NoteService::NoteService(jop::Database &database) { - database_ = database; -} - -int NoteService::count(const QString &parentFolderId) const { - QSqlQuery q = database_.query("SELECT count(*) as row_count FROM notes WHERE parent_id = :parent_id"); - q.bindValue(":parent_id", parentFolderId); - q.exec(); - q.next(); - return q.value(0).toInt(); -} - -Note NoteService::byId(const QString &id) const { - Note n; - return n; -} - -const QList NoteService::overviewList(const QString& folderId, int from, int to, const QString &orderBy) const { - QList output; - QSqlQuery q = database_.query("SELECT id, title FROM notes WHERE parent_id = :parent_id ORDER BY " + orderBy + " LIMIT " + QString::number(to - from) + " OFFSET " + QString::number(from)); - q.bindValue(":parent_id", folderId); - q.exec(); - - while (q.next()) { - Note f; - f.setId(q.value(0).toString()); - f.setTitle(q.value(1).toString()); - f.setIsPartial(true); - output << f; - } - - return output; -} - -std::pair NoteService::overviewAt(const QString &folderId, int index, const QString &orderBy) const { - QSqlQuery q = database_.query("SELECT id, title FROM notes WHERE parent_id = :parent_id ORDER BY " + orderBy + " LIMIT 1 OFFSET " + QString::number(index)); - q.bindValue(":parent_id", folderId); - q.exec(); - q.next(); - if (!q.isValid()) return std::make_pair(Note(), false); - - Note f; - f.setId(q.value(0).toString()); - f.setTitle(q.value(1).toString()); - f.setIsPartial(true); - - return std::make_pair(f, true); -} diff --git a/QtClient/JoplinQtClient/services/noteservice.h b/QtClient/JoplinQtClient/services/noteservice.h deleted file mode 100755 index e7c3cbe33a..0000000000 --- a/QtClient/JoplinQtClient/services/noteservice.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef NOTESERVICE_H -#define NOTESERVICE_H - -#include -#include "database.h" -#include "models/note.h" - -namespace jop { - -class NoteService { - -public: - - NoteService(); - NoteService(Database& database); - int count(const QString& parentFolderId) const; - Note byId(const QString& id) const; - const QList overviewList(const QString &folderId, int from, int to, const QString& orderBy) const; - std::pair overviewAt(const QString& folderId, int index, const QString& orderBy) const; - -private: - - Database database_; - mutable QList cache_; - -}; - -} - -#endif // NOTESERVICE_H diff --git a/QtClient/JoplinQtClient/settings.cpp b/QtClient/JoplinQtClient/settings.cpp deleted file mode 100755 index 2801682250..0000000000 --- a/QtClient/JoplinQtClient/settings.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "settings.h" -#include "models/setting.h" - -using namespace jop; - -Settings::Settings() : QSettings() {} - -bool readSqlite(QIODevice &device, QSettings::SettingsMap &map) { - Q_UNUSED(device); - map = Setting::settings(); - return true; -} - -bool writeSqlite(QIODevice &device, const QSettings::SettingsMap &map) { - // HACK: QSettings requires a readable/writable file to be present - // for the custom handler to work. However, we don't need such a - // file since we write to the db. So to simulate it, we write once - // to that file. Without this, readSqlite in particular will never - // get called. - device.write("X", 1); - Setting::setSettings(map); - return true; -} - -void Settings::initialize() { - const QSettings::Format SqliteFormat = QSettings::registerFormat("sqlite", &readSqlite, &writeSqlite); - QSettings::setDefaultFormat(SqliteFormat); -} - -QString Settings::valueString(const QString &name, const QString &defaultValue) { - return value(name, defaultValue).toString(); -} - -int Settings::valueInt(const QString &name, int defaultValue) { - return value(name, defaultValue).toInt(); -} - -QString Settings::keyValueserialize(const QString& key) const { - return QString("%1 = %2").arg(key).arg(value(key).toString()); -} \ No newline at end of file diff --git a/QtClient/JoplinQtClient/settings.h b/QtClient/JoplinQtClient/settings.h deleted file mode 100755 index 4a8e75e544..0000000000 --- a/QtClient/JoplinQtClient/settings.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef SETTINGS_H -#define SETTINGS_H - -#include -#include "database.h" - -namespace jop { - -class Settings : public QSettings { - - Q_OBJECT - -public: - - Settings(); - - static void initialize(); - QString keyValueserialize(const QString& key) const; - -public slots: - - QString valueString(const QString& name, const QString& defaultValue = ""); - int valueInt(const QString& name, int defaultValue = 0); - -}; - -} - -#endif // SETTINGS_H diff --git a/QtClient/JoplinQtClient/simpletypes.h b/QtClient/JoplinQtClient/simpletypes.h deleted file mode 100755 index ee840adacd..0000000000 --- a/QtClient/JoplinQtClient/simpletypes.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef SIMPLETYPES_H -#define SIMPLETYPES_H - -#include - -namespace jop { - -typedef QVector VariantVector; - -} - -#endif // SIMPLETYPES_H diff --git a/QtClient/JoplinQtClient/sparsevector.hpp b/QtClient/JoplinQtClient/sparsevector.hpp deleted file mode 100755 index 378e10ce32..0000000000 --- a/QtClient/JoplinQtClient/sparsevector.hpp +++ /dev/null @@ -1,215 +0,0 @@ -#ifndef SPARSEARRAY_HPP -#define SPARSEARRAY_HPP - -#include -#include -#include -#include -#include -#include - -template class SparseVector { - -public: - - SparseVector() { - counter_ = -1; - count_ = -1; - } - - ClassType* get(int index) const { - if (index > count()) return NULL; - if (!isset(index)) return NULL; - - typename IndexMap::const_iterator pos = indexes_.find(index); - int valueIndex = pos->second.valueIndex; - - typename std::map>::const_iterator pos2 = values_.find(valueIndex); - return pos2->second.get(); - } - - void set(int index, ClassType* value) { - unset(index); - int valueIndex = ++counter_; - std::unique_ptr ptr(value); - values_[valueIndex] = std::move(ptr); - IndexRecord r; - r.valueIndex = valueIndex; - r.time = 0; // Disabled / not needed - //r.time = time(0); - indexes_[index] = r; - count_ = -1; - } - - void push(const ClassType& value) { - set(count(), value); - } - - bool isset(int index) const { - return indexes_.find(index) != indexes_.end(); - } - - std::vector indexes() const { - std::vector output; - for (typename IndexMap::const_iterator it = indexes_.begin(); it != indexes_.end(); ++it) { - output.push_back(it->first); - } - return output; - } - - // Unsets that particular index, but without shifting the following indexes - void unset(int index) { - if (!isset(index)) return; - IndexRecord r = indexes_[index]; - values_.erase(r.valueIndex); - indexes_.erase(index); - } - - void insert(int index, const ClassType& value) { - IndexMap newIndexes; - for (typename IndexMap::const_iterator it = indexes_.begin(); it != indexes_.end(); ++it) { - int key = it->first; - if (key > index) key++; - newIndexes[key] = it->second; - } - indexes_ = newIndexes; - set(index, value); - } - - // Removes the element at that particular index, and shift all the following elements - void remove(int index) { - if (index > count()) return; - - if (isset(index)) { - int valueIndex = indexes_[index].valueIndex; - values_.erase(valueIndex); - } - - IndexMap newIndexes; - for (typename IndexMap::const_iterator it = indexes_.begin(); it != indexes_.end(); ++it) { - int key = it->first; - if (key == index) continue; - if (key > index) key--; - newIndexes[key] = it->second; - } - indexes_ = newIndexes; - count_ = -1; - } - - // Returns a vector containing the indexes that are not currently set around - // the given index, up to bufferSize indexes. - std::vector availableBufferAround(int index, size_t bufferSize) const { - std::vector temp; - - // Doesn't make sense to search for an empty buffer around - // an index that is already set. - if (isset(index)) return temp; - - temp.push_back(index); - - // Probably not the most efficient algorithm but it works: - // First search 1 position to the left, then 1 position to the right, - // then 2 to the left, etc. If encountering an unavailable index on one - // of the side, the path is "blocked" and searching is now done in only - // one direction. If both sides are blocked, the algorithm exit. - - int inc = 1; - int sign = -1; - bool leftBlocked = false; - bool rightBlocked = false; - while (temp.size() < bufferSize) { - int bufferIndex = index + (inc * sign); - - bool blocked = isset(bufferIndex) || bufferIndex < 0; - if (blocked) { - if (sign < 0) { - leftBlocked = true; - } else { - rightBlocked = true; - } - } - - if (leftBlocked && rightBlocked) break; - - if (!blocked) temp.push_back(bufferIndex); - - sign = -sign; - if (sign < 0) inc++; - if (leftBlocked && sign < 0) sign = 1; - if (rightBlocked && sign > 0) sign = -1; - } - - std::sort(temp.begin(), temp.end()); - - return temp; - } - - int count() const { - if (count_ >= 0) return count_; - int maxKey = -1; - for (typename IndexMap::const_iterator it = indexes_.begin(); it != indexes_.end(); ++it) { - const int& key = it->first; - if (key > maxKey) maxKey = key; - } - count_ = maxKey + 1; - return count_; - } - - void clearOlderThan(time_t time) { - IndexMap newIndexes; - for (typename IndexMap::const_iterator it = indexes_.begin(); it != indexes_.end(); ++it) { - const IndexRecord& r = it->second; - if (r.time > time) { - newIndexes[it->first] = r; - } else { - values_.erase(r.valueIndex); - } - } - indexes_ = newIndexes; - count_ = -1; - } - - // Unset all values outside of this interval - void unsetAllButInterval(int intervalFrom, int intervalTo) { - int count = this->count(); - for (int i = 0; i < count; i++) { - if (i >= intervalFrom && i <= intervalTo) continue; - unset(i); - } - } - - void clear() { - indexes_.clear(); - values_.clear(); - counter_ = 0; - count_ = -1; - } - - void print() const { - for (int i = 0; i < count(); i++) { - std::cout << "|"; - std::cout << " " << get(i) << " "; - } - } - -private: - - struct IndexRecord { - int valueIndex; - time_t time; - }; - - typedef std::map IndexMap; - - int counter_; - IndexMap indexes_; - std::map> values_; - - // This is used to cache the result of ::count(). - // Don't forget to set it to -1 whenever the list - // size changes, so that it can be recalculated. - mutable int count_; - -}; - -#endif // SPARSEARRAY_HPP diff --git a/QtClient/JoplinQtClient/stable.h b/QtClient/JoplinQtClient/stable.h deleted file mode 100755 index 08d226ca15..0000000000 --- a/QtClient/JoplinQtClient/stable.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef STABLE_H -#define STABLE_H - -#if defined __cplusplus - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#endif // __cplusplus - -#endif // STABLE_H diff --git a/QtClient/JoplinQtClient/synchronizer.cpp b/QtClient/JoplinQtClient/synchronizer.cpp deleted file mode 100755 index 656b7fdaa7..0000000000 --- a/QtClient/JoplinQtClient/synchronizer.cpp +++ /dev/null @@ -1,321 +0,0 @@ -#include "synchronizer.h" -#include "models/folder.h" -#include "models/note.h" -#include "settings.h" - -using namespace jop; - -Synchronizer::Synchronizer() { - state_ = Idle; - uploadsRemaining_ = 0; - connect(&api_, SIGNAL(requestDone(QJsonObject,QString)), this, SLOT(api_requestDone(QJsonObject,QString))); -} - -void Synchronizer::start() { - if (state_ == Frozen) { - qWarning() << "Cannot start synchronizer while frozen"; - return; - } - - if (state_ != Idle) { - qWarning() << "Cannot start synchronizer because synchronization already in progress. State: " << state_; - return; - } - - emit started(); - - qInfo() << "Starting synchronizer..."; - - switchState(UploadingChanges); -} - -void Synchronizer::setSessionId(const QString &v) { - api_.setSessionId(v); -} - -void Synchronizer::abort() { - switchState(Aborting); -} - -void Synchronizer::freeze() { - switchState(Frozen); -} - -void Synchronizer::unfreeze() { - switchState(Idle); -} - -WebApi &Synchronizer::api() { - return api_; -} - -QUrlQuery Synchronizer::valuesToUrlQuery(const QHash& values) const { - QUrlQuery query; - for (QHash::const_iterator it = values.begin(); it != values.end(); ++it) { - if (it.key() == "id") continue; - query.addQueryItem(it.key(), it.value().toString()); - } - return query; -} - -void Synchronizer::checkNextState() { - qDebug() << "Synchronizer::checkNextState from state" << state_; - - switch (state_) { - - case UploadingChanges: - - if (uploadsRemaining_ < 0) qCritical() << "Mismatch on upload operations done" << uploadsRemaining_; - - if (uploadsRemaining_ <= 0) { - uploadsRemaining_ = 0; - switchState(DownloadingChanges); - } - - break; - - case DownloadingChanges: - - switchState(Idle); - emit finished(); - break; - - case Idle: - - break; - - case Aborting: - - switchState(Idle); - emit finished(); - break; - - case Frozen: - - break; - - default: - - qCritical() << "Synchronizer has invalid state" << state_; - break; - - } -} - -void Synchronizer::switchState(Synchronizer::SynchronizationState state) { - if (state_ == state) { - qCritical() << "Trying to switch synchronizer to its current state" << state; - return; - } - - state_ = state; - - qInfo() << "Switching synchronizer state to" << state; - - if (state == Idle) { - - // ============================================================================================= - // IDLE STATE - // ============================================================================================= - - } else if (state == UploadingChanges) { - - // ============================================================================================= - // UPLOADING STATE - // ============================================================================================= - - std::vector changes = Change::all(); - Change::mergedChanges(changes); - - uploadsRemaining_ = changes.size(); - - for (size_t i = 0; i < changes.size(); i++) { - Change* change = changes[i]; - - jop::Table itemType = (jop::Table)change->value("item_type").toInt(); - QString itemId = change->value("item_id").toString(); - Change::Type type = (Change::Type)change->value("type").toInt(); - - qDebug() << "Change" << change->idString() << itemId << itemType; - - if (itemType == jop::FoldersTable) { - - if (type == Change::Create) { - - Folder folder; - folder.load(itemId); - QUrlQuery data = valuesToUrlQuery(folder.values()); - api_.put("folders/" + folder.idString(), QUrlQuery(), data, "upload:putFolder:" + folder.idString()); - - } else if (type == Change::Update) { - - Folder folder; - folder.load(itemId); - QStringList mergedFields = change->mergedFields(); - QUrlQuery data; - foreach (QString field, mergedFields) { - data.addQueryItem(field, folder.value(field).toString()); - } - api_.patch("folders/" + folder.idString(), QUrlQuery(), data, "upload:patchFolder:" + folder.idString()); - - } else if (type == Change::Delete) { - - api_.del("folders/" + itemId, QUrlQuery(), QUrlQuery(), "upload:deleteFolder:" + itemId); - - } - } else { - - qFatal("Unsupported item type: %d", itemType); - - } - } - - for (size_t i = 0; i < changes.size(); i++) { - delete changes[i]; - } - changes.clear(); - - checkNextState(); - - } else if (state_ == DownloadingChanges) { - - // ============================================================================================= - // DOWNLOADING STATE - // ============================================================================================= - - Settings settings; - QString lastRevId = settings.value("lastRevId", "0").toString(); - - QUrlQuery query; - query.addQueryItem("rev_id", lastRevId); - api_.get("synchronizer", query, QUrlQuery(), "download:getSynchronizer"); - - } else if (state == Aborting) { - - // ============================================================================================= - // ABORTING STATE - // ============================================================================================= - - uploadsRemaining_ = 0; - api_.abortAll(); - checkNextState(); - - } else if (state == Frozen) { - - // ============================================================================================= - // FROZEN STATE - // ============================================================================================= - - } - -} - -void Synchronizer::api_requestDone(const QJsonObject& response, const QString& tag) { - if (state_ == Frozen) { - qWarning() << "Receiving response while synchronizer is frozen"; - return; - } - - QStringList parts = tag.split(':'); - QString category = parts[0]; - QString action = parts[1]; - QString arg1 = ""; - QString arg2 = ""; - - if (parts.size() == 3) arg1 = parts[2]; - if (parts.size() == 4) arg2 = parts[3]; - - qInfo() << "WebApi: done" << category << action << arg1 << arg2; - - QString error = ""; - - if (response.contains("error")) { - error = response.value("error").toString(); - qCritical().noquote() << "Sync error:" << error; - // Each action might handle errors differently so let it proceed below - } - - // ============================================================================================= - // HANDLE UPLOAD RESPONSE - // ============================================================================================= - - if (state_ == UploadingChanges) { - uploadsRemaining_--; - - if (error == "") { - qInfo() << "Synced folder" << arg1; - - if (action == "putFolder") { - Change::disposeByItemId(arg1); - } - - if (action == "patchFolder") { - Change::disposeByItemId(arg1); - } - - if (action == "deleteFolder") { - Change::disposeByItemId(arg1); - } - - if (uploadsRemaining_ < 0) { - qWarning() << "Mismatch on operations done:" << uploadsRemaining_; - } - } - - checkNextState(); - - // ============================================================================================= - // HANDLE DOWNLOAD RESPONSE - // ============================================================================================= - - } else if (state_ == DownloadingChanges) { - if (error != "") { - checkNextState(); - } else { - if (action == "getSynchronizer") { - QJsonArray items = response["items"].toArray(); - QString maxRevId = ""; - foreach (QJsonValue it, items) { - QJsonObject obj = it.toObject(); - QString itemId = obj["item_id"].toString(); - QString itemType = obj["item_type"].toString(); - QString operationType = obj["type"].toString(); - QString revId = obj["id"].toString(); - QJsonObject item = obj["item"].toObject(); - - if (itemType == "folder") { - if (operationType == "create") { - Folder folder; - folder.loadJsonObject(item); - folder.save(false); - } - - if (operationType == "update") { - Folder folder; - folder.load(itemId); - folder.patchJsonObject(item); - folder.save(false); - } - - if (operationType == "delete") { - Folder folder; - folder.load(itemId); - folder.dispose(); - } - } - - if (revId > maxRevId) maxRevId = revId; - } - - if (maxRevId != "") { - Settings settings; - settings.setValue("lastRevId", maxRevId); - } - - checkNextState(); - } - } - } else { - qCritical() << "Invalid category" << category; - } -} diff --git a/QtClient/JoplinQtClient/synchronizer.h b/QtClient/JoplinQtClient/synchronizer.h deleted file mode 100755 index 404419c129..0000000000 --- a/QtClient/JoplinQtClient/synchronizer.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef SYNCHRONIZER_H -#define SYNCHRONIZER_H - -#include -#include "webapi.h" -#include "database.h" -#include "models/change.h" - -namespace jop { - -class Synchronizer : public QObject { - - Q_OBJECT - -public: - - enum SynchronizationState { Idle, UploadingChanges, DownloadingChanges, Aborting, Frozen }; - - Synchronizer(); - void start(); - void setSessionId(const QString& v); - void abort(); - void freeze(); - void unfreeze(); - WebApi& api(); - -private: - - QUrlQuery valuesToUrlQuery(const QHash &values) const; - WebApi api_; - SynchronizationState state_; - int uploadsRemaining_; - void checkNextState(); - void switchState(SynchronizationState state); - -public slots: - - void api_requestDone(const QJsonObject& response, const QString& tag); - -signals: - - void started(); - void finished(); - -}; - -} - -#endif // SYNCHRONIZER_H diff --git a/QtClient/JoplinQtClient/uuid.cpp b/QtClient/JoplinQtClient/uuid.cpp deleted file mode 100755 index 1162b363c2..0000000000 --- a/QtClient/JoplinQtClient/uuid.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include "uuid.h" - -namespace jop { -namespace uuid { - -QString createUuid(QString s) { - if (s == "") s = QString("%1%2").arg(qrand()).arg(QDateTime::currentMSecsSinceEpoch()); - QString hash = QString(QCryptographicHash::hash(s.toUtf8(), QCryptographicHash::Sha256).toHex()); - return hash.left(32); -} - -} -} diff --git a/QtClient/JoplinQtClient/uuid.h b/QtClient/JoplinQtClient/uuid.h deleted file mode 100755 index fa5aba0218..0000000000 --- a/QtClient/JoplinQtClient/uuid.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifndef UUID_H -#define UUID_H - -#include - -namespace jop { -namespace uuid { - -QString createUuid(QString s = ""); - -} -} - -#endif // UUID_H diff --git a/QtClient/JoplinQtClient/uuid_utils.cpp b/QtClient/JoplinQtClient/uuid_utils.cpp deleted file mode 100755 index 2a3eaaaf8d..0000000000 --- a/QtClient/JoplinQtClient/uuid_utils.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "uuid_utils.h" - - -QString testtest() -{ - return "con"; -} diff --git a/QtClient/JoplinQtClient/uuid_utils.h b/QtClient/JoplinQtClient/uuid_utils.h deleted file mode 100755 index cef27ae04b..0000000000 --- a/QtClient/JoplinQtClient/uuid_utils.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef UUID_UTILS_H -#define UUID_UTILS_H - -#include - -QString testtest(); - -#endif // UUID_UTILS_H diff --git a/QtClient/JoplinQtClient/webapi.cpp b/QtClient/JoplinQtClient/webapi.cpp deleted file mode 100755 index 0ce095d1ff..0000000000 --- a/QtClient/JoplinQtClient/webapi.cpp +++ /dev/null @@ -1,171 +0,0 @@ -#include - -#include "webapi.h" - -using namespace jop; - -WebApi::WebApi() { - baseUrl_ = ""; - sessionId_ = ""; - connect(&manager_, SIGNAL(finished(QNetworkReply*)), this, SLOT(request_finished(QNetworkReply*))); -} - -QString WebApi::baseUrl() const { - return baseUrl_; -} - -void WebApi::execRequest(HttpMethod method, const QString &path, const QUrlQuery &query, const QUrlQuery &data, const QString& tag) { - if (baseUrl() == "") { - qCritical() << "Trying to execute request before base URL has been set"; - QJsonObject obj; - obj["error"] = "Trying to execute request before base URL has been set"; - emit requestDone(obj, tag); - return; - } - - QueuedRequest r; - r.method = method; - r.path = path; - r.query = query; - r.data = data; - r.tag = tag; - r.buffer = NULL; - r.reply = NULL; - queuedRequests_ << r; - - processQueue(); -} - -void WebApi::post(const QString& path,const QUrlQuery& query, const QUrlQuery& data, const QString& tag) { execRequest(HttpMethod::POST, path, query, data, tag); } -void WebApi::get(const QString& path,const QUrlQuery& query, const QUrlQuery& data, const QString& tag) { execRequest(HttpMethod::GET, path, query, data, tag); } -void WebApi::put(const QString& path,const QUrlQuery& query, const QUrlQuery& data, const QString& tag) { execRequest(HttpMethod::PUT, path, query, data, tag); } -void WebApi::del(const QString &path, const QUrlQuery &query, const QUrlQuery &data, const QString &tag) { execRequest(HttpMethod::DEL, path, query, data, tag); } -void WebApi::patch(const QString &path, const QUrlQuery &query, const QUrlQuery &data, const QString &tag) { execRequest(HttpMethod::PATCH, path, query, data, tag); } - -void WebApi::setSessionId(const QString &v) { - sessionId_ = v; -} - -void WebApi::abortAll() { - for (int i = 0; i < inProgressRequests_.size(); i++) { - QueuedRequest r = inProgressRequests_[i]; - if (r.reply) { - r.reply->abort(); - // TODO: Delete r.reply? - } - } - - for (int i = 0; i < queuedRequests_.size(); i++) { - QueuedRequest r = queuedRequests_[i]; - if (r.reply) { - r.reply->abort(); - // TODO: Delete r.reply? - } - } - queuedRequests_.size(); -} - -void WebApi::processQueue() { - if (!queuedRequests_.size() || inProgressRequests_.size() >= 50) return; - QueuedRequest r = queuedRequests_.takeFirst(); - - QString url = baseUrl_ + "/" + r.path; - QUrlQuery query = r.query; - - if (sessionId_ != "") { - query.addQueryItem("session", sessionId_); - } - - url += "?" + query.toString(QUrl::FullyEncoded); - - QNetworkRequest* request = new QNetworkRequest(url); - request->setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded"); - - QNetworkReply* reply = NULL; - - if (r.method == jop::PATCH) { - // TODO: Delete buffer when done - QBuffer* buffer = new QBuffer(); - buffer->open(QBuffer::ReadWrite); - buffer->write(r.data.toString(QUrl::FullyEncoded).toUtf8()); - buffer->seek(0); - r.buffer = buffer; - reply = manager_.sendCustomRequest(*request, "PATCH", buffer); - } - - if (r.method == jop::GET) { - reply = manager_.get(*request); - } - - if (r.method == jop::POST) { - reply = manager_.post(*request, r.data.toString(QUrl::FullyEncoded).toUtf8()); - } - - if (r.method == jop::PUT) { - reply = manager_.put(*request, r.data.toString(QUrl::FullyEncoded).toUtf8()); - } - - if (r.method == jop::DEL) { - reply = manager_.deleteResource(*request); - } - - if (!reply) { - qWarning() << "WebApi::processQueue(): reply object was not created - invalid request method"; - return; - } - - r.reply = reply; - r.request = request; - connect(reply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(request_error(QNetworkReply::NetworkError))); - - QStringList cmd; - cmd << "curl"; - if (r.method == jop::PUT) cmd << "-X" << "PUT"; - if (r.method == jop::PATCH) cmd << "-X" << "PATCH"; - if (r.method == jop::DEL) cmd << "-X" << "DELETE"; - - if (r.method != jop::GET && r.method != jop::DEL) { - cmd << "--data" << "'" + r.data.toString(QUrl::FullyEncoded) + "'"; - } - cmd << "'" + url + "'"; - - qDebug().noquote() << cmd.join(" "); - - inProgressRequests_.push_back(r); -} - -void WebApi::request_finished(QNetworkReply *reply) { - QByteArray responseBodyBA = reply->readAll(); - QJsonObject response; - QJsonParseError err; - QJsonDocument doc = QJsonDocument::fromJson(responseBodyBA, &err); - if (err.error != QJsonParseError::NoError) { - QString errorMessage = "Could not parse JSON: " + err.errorString() + "\n" + QString(responseBodyBA); - qWarning().noquote() << errorMessage; - response["error"] = errorMessage; - } else { - response = doc.object(); - if (response.contains("error") && !response["error"].isNull()) { - qWarning().noquote() << "API error:" << QString(responseBodyBA); - } - } - - for (int i = 0; i < inProgressRequests_.size(); i++) { - QueuedRequest r = inProgressRequests_[i]; - if (r.reply == reply) { - inProgressRequests_.erase(inProgressRequests_.begin() + i); - emit requestDone(response, r.tag); - break; - } - } - - processQueue(); -} - -void WebApi::request_error(QNetworkReply::NetworkError e) { - qWarning() << "Network error" << e; -} - -void jop::WebApi::setBaseUrl(const QString &v) { - baseUrl_ = v; -} diff --git a/QtClient/JoplinQtClient/webapi.h b/QtClient/JoplinQtClient/webapi.h deleted file mode 100755 index 380a39b762..0000000000 --- a/QtClient/JoplinQtClient/webapi.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef WEBAPI_H -#define WEBAPI_H - -#include -#include "enum.h" - -namespace jop { - -class WebApi : public QObject { - - Q_OBJECT - -public: - - struct QueuedRequest { - HttpMethod method; - QString path; - QUrlQuery query; - QUrlQuery data; - QNetworkReply* reply; - QNetworkRequest* request; - QString tag; - QBuffer* buffer; - }; - - WebApi(); - void setBaseUrl(const QString& v); - QString baseUrl() const; - void execRequest(HttpMethod method, const QString& path,const QUrlQuery& query = QUrlQuery(), const QUrlQuery& data = QUrlQuery(), const QString& tag = ""); - void post(const QString& path,const QUrlQuery& query = QUrlQuery(), const QUrlQuery& data = QUrlQuery(), const QString& tag = ""); - void get(const QString& path,const QUrlQuery& query = QUrlQuery(), const QUrlQuery& data = QUrlQuery(), const QString& tag = ""); - void put(const QString& path,const QUrlQuery& query = QUrlQuery(), const QUrlQuery& data = QUrlQuery(), const QString& tag = ""); - void del(const QString& path,const QUrlQuery& query = QUrlQuery(), const QUrlQuery& data = QUrlQuery(), const QString& tag = ""); - void patch(const QString& path,const QUrlQuery& query = QUrlQuery(), const QUrlQuery& data = QUrlQuery(), const QString& tag = ""); - void setSessionId(const QString& v); - void abortAll(); - -private: - - QString baseUrl_; - QList queuedRequests_; - QList inProgressRequests_; - void processQueue(); - QString sessionId_; - QNetworkAccessManager manager_; - -public slots: - - void request_finished(QNetworkReply* reply); - void request_error(QNetworkReply::NetworkError e); - -signals: - - void requestDone(const QJsonObject& response, const QString& tag); - -}; - -} - -#endif // WEBAPI_H diff --git a/QtClient/JoplinQtClient/window.cpp b/QtClient/JoplinQtClient/window.cpp deleted file mode 100755 index 99874ce261..0000000000 --- a/QtClient/JoplinQtClient/window.cpp +++ /dev/null @@ -1,52 +0,0 @@ -#include "window.h" - -using namespace jop; - -Window::Window() : QQuickView() {} - -void Window::showPage(const QString &pageName) { - qWarning() << "Window::showPage() disabled"; - return; - - QVariant pageNameV(pageName); - QVariant returnedValue; - QMetaObject::invokeMethod((QObject*)rootObject(), "showPage", Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, pageNameV)); -} - -QVariant Window::callQml(const QString &name, const QVariantList &args) { - QVariant returnedValue; - qDebug() << "Going to call QML:" << name; - QObject* o = (QObject*)rootObject(); - if (args.size() == 0) { - QMetaObject::invokeMethod(o, name.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue)); - } else if (args.size() == 1) { - QMetaObject::invokeMethod(o, name.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, args[0])); - } else if (args.size() == 2) { - QMetaObject::invokeMethod(o, name.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, args[0]), Q_ARG(QVariant, args[1])); - } else if (args.size() == 3) { - QMetaObject::invokeMethod(o, name.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, args[0]), Q_ARG(QVariant, args[1]), Q_ARG(QVariant, args[2])); - } else { - qFatal("Window::emitSignal: add support for more args!"); - } - return returnedValue; -} - -void Window::emitSignal(const QString &name, const QVariantList &args) { - QString nameCopy(name); - nameCopy = nameCopy.left(1).toUpper() + nameCopy.right(nameCopy.length() - 1); - nameCopy = "emit" + nameCopy; - callQml(nameCopy, args); -// qDebug() << "Going to call QML:" << nameCopy; -// QObject* o = (QObject*)rootObject(); -// if (args.size() == 0) { -// QMetaObject::invokeMethod(o, nameCopy.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue)); -// } else if (args.size() == 1) { -// QMetaObject::invokeMethod(o, nameCopy.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, args[0])); -// } else if (args.size() == 2) { -// QMetaObject::invokeMethod(o, nameCopy.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, args[0]), Q_ARG(QVariant, args[1])); -// } else if (args.size() == 3) { -// QMetaObject::invokeMethod(o, nameCopy.toStdString().c_str(), Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, args[0]), Q_ARG(QVariant, args[1]), Q_ARG(QVariant, args[2])); -// } else { -// qFatal("Window::emitSignal: add support for more args!"); -// } -} diff --git a/QtClient/JoplinQtClient/window.h b/QtClient/JoplinQtClient/window.h deleted file mode 100755 index 3396a3c312..0000000000 --- a/QtClient/JoplinQtClient/window.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef WINDOW_H -#define WINDOW_H - -#include - -namespace jop { - -class Window : public QQuickView { - - Q_OBJECT - -public: - - Window(); - void showPage(const QString& pageName); - QVariant callQml(const QString& name, const QVariantList& args = QVariantList()); - void emitSignal(const QString& name, const QVariantList& args = QVariantList()); - -}; - -} - -#endif // WINDOW_H diff --git a/QtClient/database.sql b/QtClient/database.sql deleted file mode 100755 index 7154f4c4cc..0000000000 --- a/QtClient/database.sql +++ /dev/null @@ -1,23 +0,0 @@ -CREATE TABLE folders ( - id INTEGER PRIMARY KEY, - title TEXT, - created_time INT, - updated_time INT, - remote_id TEXT -); - -CREATE TABLE notes ( - id INTEGER PRIMARY KEY, - title TEXT, - body TEXT, - parent_id INT, - created_time INT, - updated_time INT, - remote_id TEXT -); - -CREATE TABLE version ( - version INT -); - -INSERT INTO version (version) VALUES (1); \ No newline at end of file diff --git a/QtClient/dependencies/dll-debug/Qt5Cored.dll b/QtClient/dependencies/dll-debug/Qt5Cored.dll deleted file mode 100755 index 0722daf932..0000000000 Binary files a/QtClient/dependencies/dll-debug/Qt5Cored.dll and /dev/null differ diff --git a/QtClient/dependencies/dll-debug/Qt5Guid.dll b/QtClient/dependencies/dll-debug/Qt5Guid.dll deleted file mode 100755 index 02c451d300..0000000000 Binary files a/QtClient/dependencies/dll-debug/Qt5Guid.dll and /dev/null differ diff --git a/QtClient/dependencies/dll-debug/Qt5Networkd.dll b/QtClient/dependencies/dll-debug/Qt5Networkd.dll deleted file mode 100755 index ec5163d59a..0000000000 Binary files a/QtClient/dependencies/dll-debug/Qt5Networkd.dll and /dev/null differ diff --git a/QtClient/dependencies/dll-debug/Qt5Qmld.dll b/QtClient/dependencies/dll-debug/Qt5Qmld.dll deleted file mode 100755 index a10187e7f5..0000000000 Binary files a/QtClient/dependencies/dll-debug/Qt5Qmld.dll and /dev/null differ diff --git a/QtClient/dependencies/dll-debug/Qt5Quickd.dll b/QtClient/dependencies/dll-debug/Qt5Quickd.dll deleted file mode 100755 index ad0022c577..0000000000 Binary files a/QtClient/dependencies/dll-debug/Qt5Quickd.dll and /dev/null differ diff --git a/QtClient/dependencies/dll-debug/Qt5Sqld.dll b/QtClient/dependencies/dll-debug/Qt5Sqld.dll deleted file mode 100755 index a4862b2c16..0000000000 Binary files a/QtClient/dependencies/dll-debug/Qt5Sqld.dll and /dev/null differ diff --git a/QtClient/dependencies/dll-debug/libeay32.dll b/QtClient/dependencies/dll-debug/libeay32.dll deleted file mode 100755 index 23f92b435e..0000000000 Binary files a/QtClient/dependencies/dll-debug/libeay32.dll and /dev/null differ diff --git a/QtClient/dependencies/dll-debug/ssleay32.dll b/QtClient/dependencies/dll-debug/ssleay32.dll deleted file mode 100755 index 7cb47992a0..0000000000 Binary files a/QtClient/dependencies/dll-debug/ssleay32.dll and /dev/null differ diff --git a/QtClient/dependencies/dll-debug/ucrtbased.dll b/QtClient/dependencies/dll-debug/ucrtbased.dll deleted file mode 100755 index e8e28e0ee0..0000000000 Binary files a/QtClient/dependencies/dll-debug/ucrtbased.dll and /dev/null differ diff --git a/QtClient/evernote-import/build.sh b/QtClient/evernote-import/build.sh deleted file mode 100755 index 6a1fb745a8..0000000000 --- a/QtClient/evernote-import/build.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -set -e - -mkdir -p /cygdrive/d/Web/www/joplin/QtClient/build-evernote-import-qt-Visual_C_32_bits-Debug -cd /cygdrive/d/Web/www/joplin/QtClient/build-evernote-import-qt-Visual_C_32_bits-Debug -rm -rf debug/ release/ Makefile* -export PATH="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin":$PATH -export PATH=$PATH:"/cygdrive/c/Program Files (x86)/Windows Kits/8.1/bin/x86" -export PATH=$PATH:"/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include" -"/cygdrive/c/Qt/5.7/msvc2015/bin/qmake.exe" D:\\Web\\www\\joplin\\QtClient\\evernote-import\\evernote-import-qt.pro -spec win32-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug" -"/cygdrive/c/Qt/Tools/QtCreator/bin/jom.exe" qmake_all -"/cygdrive/c/Qt/Tools/QtCreator/bin/jom.exe" -rsync -a /cygdrive/d/Web/www/joplin/QtClient/dependencies/dll-debug/ /cygdrive/d/Web/www/joplin/QtClient/build-evernote-import-qt-Visual_C_32_bits-Debug/debug -cd - \ No newline at end of file diff --git a/QtClient/evernote-import/evernote-import-qt.pro b/QtClient/evernote-import/evernote-import-qt.pro deleted file mode 100755 index 9d3366bcdf..0000000000 --- a/QtClient/evernote-import/evernote-import-qt.pro +++ /dev/null @@ -1,35 +0,0 @@ -QT += core sql -QT -= gui - -CONFIG += c++11 - -TARGET = evernote-import-qt -CONFIG += console -CONFIG -= app_bundle - -TEMPLATE = app - -SOURCES += main.cpp \ - xmltomd.cpp - -# The following define makes your compiler emit warnings if you use -# any feature of Qt which as been marked deprecated (the exact warnings -# depend on your compiler). Please consult the documentation of the -# deprecated API in order to know how to port your code away from it. -DEFINES += QT_DEPRECATED_WARNINGS - -# You can also make your code fail to compile if you use deprecated APIs. -# In order to do so, uncomment the following line. -# You can also select to disable deprecated APIs only up to a certain version of Qt. -#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 - -HEADERS += \ - xmltomd.h - -INCLUDEPATH += "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include" -INCLUDEPATH += "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10240.0/ucrt" - -LIBS += -L"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/lib" -LIBS += -L"C:/Program Files (x86)/Windows Kits/8.1/Lib/winv6.3/um/x86" -LIBS += -L"C:/Program Files (x86)/Windows Kits/10/Lib/10.0.10240.0/ucrt/x86" - diff --git a/QtClient/evernote-import/main.cpp b/QtClient/evernote-import/main.cpp deleted file mode 100755 index 4a2ac75460..0000000000 --- a/QtClient/evernote-import/main.cpp +++ /dev/null @@ -1,543 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "xmltomd.h" - -struct EnMediaElement { - QString hash; - QString alt; -}; - -struct ContentElements { - QList enMediaElements; -}; - -struct Note { - QString id; - QString title; - QString content; - time_t created; - time_t updated; - QStringList tags; - QString longitude; - QString latitude; - QString altitude; - QString source; - QString author; - QString sourceUrl; - QString reminderOrder; - QString reminderDoneTime; - QString reminderTime; - QString sourceApplication; - QString applicationData; - QList enMediaElements; - std::vector resources; - - Note() : created(0), updated(0) {} -}; - -QString createUuid(const QString& s) { - QString hash = QString(QCryptographicHash::hash(s.toUtf8(), QCryptographicHash::Sha256).toHex()); - return hash.left(32); -} - -time_t dateStringToTimestamp(const QString& s) { - QDateTime d = QDateTime::fromString(s, "yyyyMMddThhmmssZ"); - d.setTimeSpec(Qt::UTC); - if (!d.isValid()) return 0; - return d.toTime_t(); -} - -void parseAttributes(QXmlStreamReader& reader, Note& note) { - while (reader.readNextStartElement()) { - if (reader.name() == "longitude") { - note.longitude = reader.readElementText(); - } else if (reader.name() == "latitude") { - note.latitude = reader.readElementText(); - } else if (reader.name() == "altitude") { - note.altitude = reader.readElementText(); - } else if (reader.name() == "source") { - note.source = reader.readElementText(); - } else if (reader.name() == "author") { - note.author = reader.readElementText(); - } else if (reader.name() == "source-url") { - note.sourceUrl = reader.readElementText(); - } else if (reader.name() == "source-application") { - note.sourceApplication = reader.readElementText(); - } else if (reader.name() == "reminder-order") { - note.reminderOrder = reader.readElementText(); - } else if (reader.name() == "reminder-time") { - note.reminderTime = reader.readElementText(); - } else if (reader.name() == "reminder-done-time") { - note.reminderDoneTime = reader.readElementText(); - } else if (reader.name() == "application-data") { - note.applicationData = reader.readElementText(); - } else { - qWarning() << "Unsupported element:" << reader.name(); - reader.skipCurrentElement(); - } - } -} - -// -// -// ........... -// ........... -// -// image/png -// 500 -// 326 -// -// -// -// ]]> -// -// -// NoeudDeChaise.png -// -// - -void parseResourceAttributes(QXmlStreamReader& reader, xmltomd::Resource& resource) { - while (reader.readNextStartElement()) { - if (reader.name() == "file-name") { - resource.filename = reader.readElementText(); - } else if (reader.name() == "timestamp") { - resource.timestamp = dateStringToTimestamp(reader.readElementText()); - } else if (reader.name() == "camera-make" || reader.name() == "source-url" || reader.name() == "attachment" || reader.name() == "longitude" || reader.name() == "latitude") { - // Ignore it - reader.skipCurrentElement(); - } else { - qWarning() << "Unsupported element:" << reader.name(); - reader.skipCurrentElement(); - } - } -} - -void parseResourceRecognition(QXmlStreamReader& reader, xmltomd::Resource& resource) { - QString recognitionXml = reader.readElementText(); - - QXmlStreamReader r(recognitionXml.toUtf8()); - - if (r.readNextStartElement()) { - if (r.name() == "recoIndex") { - QString objID; - foreach (const QXmlStreamAttribute &attr, r.attributes()) { - if (attr.name().toString() == "objID") { - objID = attr.value().toString(); - break; - } - } - - resource.id = objID; - - r.skipCurrentElement(); - } else { - qWarning() << "Unsupported element:" << r.name(); - r.skipCurrentElement(); - } - } -} - -xmltomd::Resource parseResource(QXmlStreamReader& reader) { - xmltomd::Resource output; - while (reader.readNextStartElement()) { - if (reader.name() == "data") { - QString encoding = ""; - foreach (const QXmlStreamAttribute &attr, reader.attributes()) { - if (attr.name().toString() == "encoding") { - encoding = attr.value().toString(); - break; - } - } - if (encoding != "base64") { - qWarning() << "Unsupported encoding:" << encoding; - return xmltomd::Resource(); - } - - QByteArray ba; - QString s = reader.readElementText(); - s = s.replace("\n", ""); - ba.append(s); - output.data = QByteArray::fromBase64(ba); - - } else if (reader.name() == "mime") { - output.mime = reader.readElementText(); - } else if (reader.name() == "resource-attributes") { - parseResourceAttributes(reader, output); - } else if (reader.name() == "width" || reader.name() == "height") { - // Ignore it - reader.skipCurrentElement(); - } else if (reader.name() == "recognition") { - parseResourceRecognition(reader, output); - } else { - qWarning() << "Unsupported element:" << reader.name(); - reader.skipCurrentElement(); - } - } - - return output; -} - -ContentElements parseContentElements(const QString& content) { - ContentElements output; - QXmlStreamReader reader(content.toUtf8()); - - if (reader.readNextStartElement()) { - while (!reader.atEnd()) { - reader.readNext(); - - QStringRef n = reader.name(); - - if (reader.isStartElement()) { - if (n == "en-media") { - EnMediaElement e; - foreach (const QXmlStreamAttribute &attr, reader.attributes()) { - if (attr.name().toString() == "hash") e.hash = attr.value().toString(); - if (attr.name().toString() == "alt") e.alt = attr.value().toString(); - } - output.enMediaElements << e; - } - } - } - } else { - qWarning() << "Cannot parse XML:" << content; - } - - return output; -} - -Note parseNote(QXmlStreamReader& reader) { - Note note; - - while (reader.readNextStartElement()) { - if (reader.name() == "title") { - note.title = reader.readElementText(); - } else if (reader.name() == "content") { - note.content = reader.readElementText(); - ContentElements contentElements = parseContentElements(note.content); - note.enMediaElements = contentElements.enMediaElements; - } else if (reader.name() == "created") { - note.created = dateStringToTimestamp(reader.readElementText()); - } else if (reader.name() == "updated") { - note.updated = dateStringToTimestamp(reader.readElementText()); - } else if (reader.name() == "tag") { - note.tags.append(reader.readElementText()); - } else if (reader.name() == "resource") { - note.resources.push_back(parseResource(reader)); - } else if (reader.name() == "note-attributes") { - parseAttributes(reader, note); - } else { - qWarning() << "Unsupported element:" << reader.name(); - reader.skipCurrentElement(); - } - } - - note.id = createUuid(QString("%1%2%3%4%5") - .arg(note.title) - .arg(note.content) - .arg(note.created) - .arg(QDateTime::currentMSecsSinceEpoch()) - .arg((qint64)qrand())); - - // This is a bit of a hack. Notes sometime have resources attached to it, but those tags don't contain - // an "objID" tag, making it impossible to reference the resource. However, in this case the content of the note - // will contain a corresponding tag, which has the ID in the "hash" attribute. All this information - // has been collected above so we now set the resource ID to the hash attribute of the en-media tags. Here's an - // example of note that shows this problem: - - // - // - // - // - // Commande Asda - // - // - // - // - // - // - // ]]> - // - // 20160921T203424Z - // 20160921T203438Z - // - // 20160902T140445Z - // 20160924T101120Z - // - // - // ........ - // image/png - // 150 - // 150 - // - // - // - - int mediaHashIndex = 0; - for (size_t i = 0; i < note.resources.size(); i++) { - xmltomd::Resource& r = note.resources[i]; - if (r.id == "") { - if (note.enMediaElements.size() <= mediaHashIndex) { - qWarning() << "Resource without an ID and hash did not appear in note content:" << note.id; - } else { - r.id = note.enMediaElements[mediaHashIndex].hash; - r.alt = note.enMediaElements[mediaHashIndex].alt; - mediaHashIndex++; - } - } - } - - return note; -} - -std::vector parseXmlFile(const QString& filePath) { - std::vector output; - - QFile file(filePath); - if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { - qWarning() << "Cannot open file" << filePath; - return output; - } - - QTextStream in(&file); - in.setCodec("UTF-8"); - - QByteArray fileData = file.readAll(); - - QXmlStreamReader reader(fileData); - - if (reader.readNextStartElement()) { - while (reader.readNextStartElement()) { - if (reader.name() == "note") { - Note note = parseNote(reader); - output.push_back(note); - } else { - qWarning() << "Unsupported element:" << reader.name(); - reader.skipCurrentElement(); - } - } - } - - return output; -} - -void filePutContents(const QString& filePath, const QString& content) { - QFile file(filePath); - if (file.open(QIODevice::WriteOnly | QIODevice::Truncate)) { - QTextStream stream(&file); - stream << content; - } else { - qCritical() << "Cannot write to" << filePath; - } -} - -QString extensionFromMimeType(const QString& mimeType) { - if (mimeType == "image/jpg" || mimeType == "image/jpeg") return ".jpg"; - if (mimeType == "image/png") return ".png"; - if (mimeType == "image/gif") return ".gif"; - return ""; -} - -QString enforceNotNull(const QString& s) { - if (s.isEmpty() || s.isNull()) return QString(""); - return s; -} - -QString enforceZero(const QString& f) { - if (f.isEmpty() || f.isNull()) return QString("0"); - return f; -} - -int main(int argc, char *argv[]) { - QCoreApplication a(argc, argv); - - QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8")); - - qsrand(QTime::currentTime().msec()); - - QString dbPath = "C:/Users/Laurent/AppData/Local/Joplin/Joplin.sqlite"; - QString resourceDir = "C:/Users/Laurent/AppData/Local/Joplin/resources"; - - QDir(resourceDir).mkpath("."); - - QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE"); - db.setDatabaseName(dbPath); - - if (!db.open()) { - qWarning() << "Error: connection with database fail"; - return 1; - } else { - qInfo() << "Database: connection ok"; - } - - // TODO: REMOVE REMOVE REMOVE - db.exec("DELETE FROM folders"); - db.exec("DELETE FROM notes"); - db.exec("DELETE FROM changes"); - db.exec("DELETE FROM resources"); - db.exec("DELETE FROM note_resources"); - db.exec("DELETE FROM tags"); - db.exec("DELETE FROM settings WHERE key = 'lastRevId'"); - // TODO: REMOVE REMOVE REMOVE - - QDir dir("S:/Docs/Textes/Calendrier/EvernoteBackup/Enex20161219"); - dir.setFilter(QDir::Files | QDir::Hidden | QDir::NoSymLinks); - QFileInfoList fileList = dir.entryInfoList(); - QMap> tagNotes; - - for (int i = 0; i < fileList.size(); ++i) { - QFileInfo fileInfo = fileList.at(i); - - db.exec("BEGIN TRANSACTION"); - - QString folderId = createUuid(QString("%1%2%3%4").arg(fileInfo.baseName()).arg(fileInfo.created().toTime_t()).arg((int)qrand()).arg(QDateTime::currentMSecsSinceEpoch())); - - { - QSqlQuery query(db); - query.prepare("INSERT INTO folders (id, title, created_time, updated_time) VALUES (?, ?, ?, ?)"); - query.addBindValue(folderId); - query.addBindValue(fileInfo.baseName()); - query.addBindValue(fileInfo.created().toTime_t()); - query.addBindValue(fileInfo.created().toTime_t()); - query.exec(); - } - - { - QSqlQuery query(db); - query.prepare("INSERT INTO changes (type, item_id, item_type) VALUES (?, ?, ?)"); - query.addBindValue(1); - query.addBindValue(folderId); - query.addBindValue(1); - query.exec(); - } - - std::vector notes = parseXmlFile(fileInfo.absoluteFilePath()); - - for (size_t noteIndex = 0; noteIndex < notes.size(); noteIndex++) { - Note n = notes[noteIndex]; - for (size_t resourceIndex = 0; resourceIndex < n.resources.size(); resourceIndex++) { - xmltomd::Resource resource = n.resources[resourceIndex]; - QSqlQuery query(db); - query.prepare("INSERT INTO resources (id, title, mime, filename, created_time, updated_time) VALUES (?,?,?,?,?,?)"); - query.addBindValue(resource.id); - query.addBindValue(resource.filename); - query.addBindValue(resource.mime); - query.addBindValue(resource.filename); - query.addBindValue(resource.timestamp); - query.addBindValue(resource.timestamp); - query.exec(); - - query = QSqlQuery(db); - query.prepare("INSERT INTO note_resources (resource_id, note_id) VALUES (?,?)"); - query.addBindValue(resource.id); - query.addBindValue(n.id); - query.exec(); - - QString resourceFilePath = resourceDir + "/" + resource.id; //+ extensionFromMimeType(resource.mime); - QFile resourceFile(resourceFilePath); - if (resourceFile.open(QIODevice::WriteOnly | QIODevice::Truncate)) { - QDataStream stream(&resourceFile); - stream << resource.data; - } else { - qWarning() << "Cannot write to" << resourceFilePath; - } - } - } - - for (size_t noteIndex = 0; noteIndex < notes.size(); noteIndex++) { - Note n = notes[noteIndex]; - - // if (i != 8 || noteIndex != 3090) continue; - - time_t reminderOrder = dateStringToTimestamp(n.reminderOrder); - - QString markdown = xmltomd::evernoteXmlToMd(n.content, n.resources); - - // QString html(n.content); - // html.replace("", ""); - // html.replace("", ""); - // html = html.trimmed(); - - // html = "
" + html + "
" + markdown + "
"; - - // QString generatedPath = "D:/Web/www/joplin/tests/generated"; - // filePutContents(QString("%1/%2_%3.html").arg(generatedPath).arg(i).arg(noteIndex), html); - - QSqlQuery query(db); - query.prepare("INSERT INTO notes (id, title, body, parent_id, created_time, updated_time, longitude, latitude, altitude, source, author, source_url, is_todo, todo_due, todo_completed, source_application, application_data, `order`) VALUES (:id, :title,:body, :parent_id, :created_time,:updated_time,:longitude,:latitude,:altitude,:source,:author,:source_url,:is_todo,:todo_due,:todo_completed,:source_application,:application_data,:order)"); - query.bindValue(":id", n.id); - query.bindValue(":title", enforceNotNull(n.title)); - query.bindValue(":body", enforceNotNull(markdown)); - query.bindValue(":parent_id", enforceNotNull(folderId)); - query.bindValue(":created_time", n.created); - query.bindValue(":updated_time", n.updated); - query.bindValue(":longitude", enforceZero(n.longitude)); - query.bindValue(":latitude", enforceZero(n.latitude)); - query.bindValue(":altitude", enforceZero(n.altitude)); - query.bindValue(":source", enforceNotNull(n.source)); - query.bindValue(":author", enforceNotNull(n.author)); - query.bindValue(":source_url", enforceNotNull(n.sourceUrl)); - query.bindValue(":is_todo", reminderOrder ? 1 : 0); - query.bindValue(":todo_due", dateStringToTimestamp(n.reminderTime)); - query.bindValue(":todo_completed", dateStringToTimestamp(n.reminderDoneTime)); - query.bindValue(":source_application", enforceNotNull(n.sourceApplication)); - query.bindValue(":application_data", enforceNotNull(n.applicationData)); - query.bindValue(":order", reminderOrder); - query.exec(); - - for (int tagIndex = 0; tagIndex < n.tags.size(); tagIndex++) { - QString tag = n.tags[tagIndex]; - if (!tagNotes.contains(tag)) { - tagNotes[tag] = QList(); - } - tagNotes[tag] << n; - } - - QSqlError error = query.lastError(); - if (error.isValid()) { - qWarning() << "SQL error:" << error; - db.exec("ROLLBACK"); - break; - } - } - - db.exec("COMMIT"); - } - - db.exec("BEGIN TRANSACTION"); - - for (QMap>::const_iterator it = tagNotes.begin(); it != tagNotes.end(); ++it) { - QString tagId = createUuid(QString("%1%2%3").arg(it.key()).arg((int)qrand()).arg(QDateTime::currentMSecsSinceEpoch())); - - QSqlQuery query(db); - query.prepare("INSERT INTO tags (id, title, created_time, updated_time) VALUES (?,?,?,?)"); - query.addBindValue(tagId); - query.addBindValue(it.key()); - query.addBindValue(QDateTime::currentDateTime().toTime_t()); - query.addBindValue(QDateTime::currentDateTime().toTime_t()); - query.exec(); - - for (int i = 0; i < it.value().size(); i++) { - Note note = it.value()[i]; - QSqlQuery query(db); - query.prepare("INSERT INTO note_tags (note_id, tag_id) VALUES (?,?)"); - query.addBindValue(note.id); - query.addBindValue(tagId); - query.exec(); - } - } - - db.exec("COMMIT"); -} diff --git a/QtClient/evernote-import/xmltomd.cpp b/QtClient/evernote-import/xmltomd.cpp deleted file mode 100755 index 8a8820a872..0000000000 --- a/QtClient/evernote-import/xmltomd.cpp +++ /dev/null @@ -1,644 +0,0 @@ -#include -#include - -#include "xmltomd.h" - -namespace xmltomd { - -QMap htmlEntities; -QStringList imageMimeTypes; - -QString htmlEntityDecode(const QString& htmlEntity) { - if (!htmlEntities.size()) { - // Note:   is replaced by a regular space (and not a non-breaking space, which would normally be \xC2\xA0) - htmlEntities["aelig"] = "Æ"; - htmlEntities["aacute"] = "Ă"; - htmlEntities["acirc"] = "Ă‚"; - htmlEntities["agrave"] = "Ă€"; - htmlEntities["alpha"] = "Α"; - htmlEntities["aring"] = "Ă…"; - htmlEntities["atilde"] = "Ăƒ"; - htmlEntities["auml"] = "Ă„"; - htmlEntities["beta"] = "Î’"; - htmlEntities["ccedil"] = "Ç"; - htmlEntities["chi"] = "Χ"; - htmlEntities["dagger"] = "‡"; - htmlEntities["delta"] = "Δ"; - htmlEntities["eth"] = "Ă"; - htmlEntities["eacute"] = "É"; - htmlEntities["ecirc"] = "Ă"; - htmlEntities["egrave"] = "Ăˆ"; - htmlEntities["epsilon"] = "Ε"; - htmlEntities["eta"] = "Η"; - htmlEntities["euml"] = "Ă‹"; - htmlEntities["gamma"] = "Γ"; - htmlEntities["iacute"] = "Ă"; - htmlEntities["icirc"] = "Ă"; - htmlEntities["igrave"] = "ĂŒ"; - htmlEntities["iota"] = "Ι"; - htmlEntities["iuml"] = "Ă"; - htmlEntities["kappa"] = "Î"; - htmlEntities["lambda"] = "Λ"; - htmlEntities["mu"] = "Μ"; - htmlEntities["ntilde"] = "Ă‘"; - htmlEntities["nu"] = "Î"; - htmlEntities["oelig"] = "Å’"; - htmlEntities["oacute"] = "Ă“"; - htmlEntities["ocirc"] = "Ă”"; - htmlEntities["ograve"] = "Ă’"; - htmlEntities["omega"] = "Ω"; - htmlEntities["omicron"] = "Ο"; - htmlEntities["oslash"] = "Ă˜"; - htmlEntities["otilde"] = "Ă•"; - htmlEntities["ouml"] = "Ă–"; - htmlEntities["phi"] = "Φ"; - htmlEntities["pi"] = "Π"; - htmlEntities["prime"] = "″"; - htmlEntities["psi"] = "Ψ"; - htmlEntities["rho"] = "Ρ"; - htmlEntities["scaron"] = "Å "; - htmlEntities["sigma"] = "Σ"; - htmlEntities["thorn"] = "Ă"; - htmlEntities["tau"] = "Τ"; - htmlEntities["theta"] = "Θ"; - htmlEntities["uacute"] = "Ă"; - htmlEntities["ucirc"] = "Ă›"; - htmlEntities["ugrave"] = "Ă™"; - htmlEntities["upsilon"] = "Î¥"; - htmlEntities["uuml"] = "Ăœ"; - htmlEntities["xi"] = "Î"; - htmlEntities["yacute"] = "Ă"; - htmlEntities["yuml"] = "Ÿ"; - htmlEntities["zeta"] = "Ζ"; - htmlEntities["aacute"] = "Ă¡"; - htmlEntities["acirc"] = "Ă¢"; - htmlEntities["acute"] = "´"; - htmlEntities["aelig"] = "æ"; - htmlEntities["agrave"] = "Ă "; - htmlEntities["alefsym"] = "ℵ"; - htmlEntities["alpha"] = "α"; - htmlEntities["amp"] = "&"; - htmlEntities["and"] = "∧"; - htmlEntities["ang"] = "∠"; - htmlEntities["apos"] = "'"; - htmlEntities["aring"] = "Ă¥"; - htmlEntities["asymp"] = "≈"; - htmlEntities["atilde"] = "Ă£"; - htmlEntities["auml"] = "ä"; - htmlEntities["bdquo"] = "â€"; - htmlEntities["beta"] = "β"; - htmlEntities["brvbar"] = "¦"; - htmlEntities["bull"] = "•"; - htmlEntities["cap"] = "∩"; - htmlEntities["ccedil"] = "ç"; - htmlEntities["cedil"] = "¸"; - htmlEntities["cent"] = "¢"; - htmlEntities["chi"] = "χ"; - htmlEntities["circ"] = "ˆ"; - htmlEntities["clubs"] = "♣"; - htmlEntities["cong"] = "≅"; - htmlEntities["copy"] = "©"; - htmlEntities["crarr"] = "↵"; - htmlEntities["cup"] = "∪"; - htmlEntities["curren"] = "¤"; - htmlEntities["darr"] = "⇓"; - htmlEntities["dagger"] = "†"; - htmlEntities["darr"] = "↓"; - htmlEntities["deg"] = "°"; - htmlEntities["delta"] = "δ"; - htmlEntities["diams"] = "♦"; - htmlEntities["divide"] = "Ă·"; - htmlEntities["eacute"] = "Ă©"; - htmlEntities["ecirc"] = "Ăª"; - htmlEntities["egrave"] = "è"; - htmlEntities["empty"] = "∅"; - htmlEntities["emsp"] = "\xE2\x80\x83"; - htmlEntities["ensp"] = "\xE2\x80\x82"; - htmlEntities["epsilon"] = "ε"; - htmlEntities["equiv"] = "≡"; - htmlEntities["eta"] = "η"; - htmlEntities["eth"] = "ð"; - htmlEntities["euml"] = "Ă«"; - htmlEntities["euro"] = "€"; - htmlEntities["exist"] = "∃"; - htmlEntities["fnof"] = "Æ’"; - htmlEntities["forall"] = "∀"; - htmlEntities["frac12"] = "½"; - htmlEntities["frac14"] = "¼"; - htmlEntities["frac34"] = "¾"; - htmlEntities["frasl"] = "â„"; - htmlEntities["gamma"] = "γ"; - htmlEntities["ge"] = "≥"; - htmlEntities["gt"] = ">"; - htmlEntities["haRr"] = "⇔"; - htmlEntities["harr"] = "↔"; - htmlEntities["hearts"] = "♥"; - htmlEntities["hellip"] = "…"; - htmlEntities["iacute"] = "Ă­"; - htmlEntities["icirc"] = "Ă®"; - htmlEntities["iexcl"] = "¡"; - htmlEntities["igrave"] = "ì"; - htmlEntities["image"] = "â„‘"; - htmlEntities["infin"] = "âˆ"; - htmlEntities["int"] = "∫"; - htmlEntities["iota"] = "ι"; - htmlEntities["iquest"] = "¿"; - htmlEntities["isin"] = "∈"; - htmlEntities["iuml"] = "Ă¯"; - htmlEntities["kappa"] = "κ"; - htmlEntities["laRr"] = "â‡"; - htmlEntities["lambda"] = "λ"; - htmlEntities["lang"] = "ă€ˆ"; - htmlEntities["laquo"] = "«"; - htmlEntities["larr"] = "â†"; - htmlEntities["lceil"] = "⌈"; - htmlEntities["ldquo"] = "“"; - htmlEntities["le"] = "≤"; - htmlEntities["lfloor"] = "âŒ"; - htmlEntities["lowast"] = "∗"; - htmlEntities["loz"] = "â—"; - htmlEntities["lrm"] = "\xE2\x80\x8E"; - htmlEntities["lsaquo"] = "‹"; - htmlEntities["lsquo"] = "‘"; - htmlEntities["lt"] = "<"; - htmlEntities["macr"] = "¯"; - htmlEntities["mdash"] = "—"; - htmlEntities["micro"] = "µ"; - htmlEntities["middot"] = "·"; - htmlEntities["minus"] = "−"; - htmlEntities["mu"] = "μ"; - htmlEntities["nabla"] = "∇"; - htmlEntities["nbsp"] = " "; - htmlEntities["ndash"] = "–"; - htmlEntities["ne"] = "≠"; - htmlEntities["ni"] = "∋"; - htmlEntities["not"] = "¬"; - htmlEntities["notin"] = "∉"; - htmlEntities["nsub"] = "â„"; - htmlEntities["ntilde"] = "ñ"; - htmlEntities["nu"] = "ν"; - htmlEntities["oacute"] = "Ă³"; - htmlEntities["ocirc"] = "Ă´"; - htmlEntities["oelig"] = "Å“"; - htmlEntities["ograve"] = "Ă²"; - htmlEntities["oline"] = "‾"; - htmlEntities["omega"] = "ω"; - htmlEntities["omicron"] = "ο"; - htmlEntities["oplus"] = "â•"; - htmlEntities["or"] = "∨"; - htmlEntities["ordf"] = "ª"; - htmlEntities["ordm"] = "º"; - htmlEntities["oslash"] = "ø"; - htmlEntities["otilde"] = "õ"; - htmlEntities["otimes"] = "â—"; - htmlEntities["ouml"] = "ö"; - htmlEntities["para"] = "¶"; - htmlEntities["part"] = "∂"; - htmlEntities["permil"] = "‰"; - htmlEntities["perp"] = "â¥"; - htmlEntities["phi"] = "φ"; - htmlEntities["pi"] = "Ï€"; - htmlEntities["piv"] = "Ï–"; - htmlEntities["plusmn"] = "±"; - htmlEntities["pound"] = "£"; - htmlEntities["prime"] = "′"; - htmlEntities["prod"] = "âˆ"; - htmlEntities["prop"] = "âˆ"; - htmlEntities["psi"] = "ψ"; - htmlEntities["quot"] = "\""; - htmlEntities["raRr"] = "⇒"; - htmlEntities["radic"] = "âˆ"; - htmlEntities["rang"] = "〉"; - htmlEntities["raquo"] = "»"; - htmlEntities["rarr"] = "→"; - htmlEntities["rceil"] = "⌉"; - htmlEntities["rdquo"] = "â€"; - htmlEntities["real"] = "ℜ"; - htmlEntities["reg"] = "®"; - htmlEntities["rfloor"] = "⌋"; - htmlEntities["rho"] = "Ï"; - htmlEntities["rlm"] = "\xE2\x80\x8F"; - htmlEntities["rsaquo"] = "›"; - htmlEntities["rsquo"] = "’"; - htmlEntities["sbquo"] = "â€"; - htmlEntities["scaron"] = "Å¡"; - htmlEntities["sdot"] = "â‹…"; - htmlEntities["sect"] = "§"; - htmlEntities["shy"] = "\xC2\xAD"; - htmlEntities["sigma"] = "σ"; - htmlEntities["sigmaf"] = "Ï‚"; - htmlEntities["sim"] = "∼"; - htmlEntities["spades"] = "â™ "; - htmlEntities["sub"] = "â‚"; - htmlEntities["sube"] = "â†"; - htmlEntities["sum"] = "∑"; - htmlEntities["sup1"] = "¹"; - htmlEntities["sup2"] = "²"; - htmlEntities["sup3"] = "³"; - htmlEntities["sup"] = "âƒ"; - htmlEntities["supe"] = "â‡"; - htmlEntities["szlig"] = "ĂŸ"; - htmlEntities["tau"] = "Ï„"; - htmlEntities["there4"] = "∴"; - htmlEntities["theta"] = "θ"; - htmlEntities["thetasym"] = "Ï‘"; - htmlEntities["thinsp"] = "\xE2\x80\x89"; - htmlEntities["thorn"] = "Ă¾"; - htmlEntities["tilde"] = "Ëœ"; - htmlEntities["times"] = "Ă—"; - htmlEntities["trade"] = "â„¢"; - htmlEntities["uaRr"] = "⇑"; - htmlEntities["uacute"] = "Ăº"; - htmlEntities["uarr"] = "↑"; - htmlEntities["ucirc"] = "Ă»"; - htmlEntities["ugrave"] = "Ă¹"; - htmlEntities["uml"] = "¨"; - htmlEntities["upsih"] = "Ï’"; - htmlEntities["upsilon"] = "Ï…"; - htmlEntities["uuml"] = "Ă¼"; - htmlEntities["weierp"] = "℘"; - htmlEntities["xi"] = "ξ"; - htmlEntities["yacute"] = "Ă½"; - htmlEntities["yen"] = "Â¥"; - htmlEntities["yuml"] = "Ă¿"; - htmlEntities["zeta"] = "ζ"; - htmlEntities["zwj"] = "\xE2\x80\x8D"; - htmlEntities["zwnj"] = "\xE2\x80\x8C"; - } - - if (htmlEntities.contains(htmlEntity)) return htmlEntities[htmlEntity]; - - QMapIterator i(htmlEntities); - while (i.hasNext()) { - i.next(); - if (i.key().toLower() == htmlEntity.toLower()) return i.value(); - } - - qWarning() << "Could not resolve HTML entity:" << htmlEntity; - - return htmlEntity; -} - -bool isBlockTag(const QStringRef& n) { - return n=="div" || n=="p" || n=="dl" || n=="dd" || n=="center" || n=="table" || n=="tr" || n=="td" || n=="th" || n=="tbody"; -} - -bool isStrongTag(const QStringRef& n) { - return n == "strong" || n == "b"; -} - -bool isEmTag(const QStringRef& n) { - return n == "em" || n == "i" || n == "u"; -} - -bool isAnchor(const QStringRef& n) { - return n == "a"; -} - -bool isIgnoredEndTag(const QStringRef& n) { - return n=="en-note" || n=="en-todo" || n=="span" || n=="body" || n=="html" || n=="font" || n=="br"; -} - -bool isListTag(const QStringRef& n) { - return n == "ol" || n == "ul"; -} - -// Elements that don't require any special treatment beside adding a newline character -bool isNewLineOnlyEndTag(const QStringRef& n) { - return n=="div" || n=="p" || n=="li" || n=="h1" || n=="h2" || n=="h3" || n=="h4" || n=="h5" || n=="dl" || n=="dd" || n=="center" || n=="table" || n=="tr" || n=="td" || n=="th" || n=="tbody"; -} - -bool isCodeTag(const QStringRef& n) { - return n == "pre" || n == "code"; -} - -QMap attributes(QXmlStreamReader& reader) { - QMap output; - foreach (const QXmlStreamAttribute &attr, reader.attributes()) { - output[attr.name().toString().toLower()] = attr.value().toString().toLower(); - } - return output; -} - -bool isWhiteSpace(const QChar& c) { - return c == '\n' || c == '\r' || c == '\v' || c == '\f' || c == '\t' || c == ' '; -} - -// Like QString::simpified(), except that it preserves non-breaking spaces (which -// Evernote uses for identation, etc.) -QString simplifyString(const QString& s) { - QString output; - bool previousWhite = false; - for (int i = 0; i < s.length(); i++) { - QChar c = s[i]; - bool isWhite = isWhiteSpace(c); - if (previousWhite && isWhite) { - // skip - } else { - output += c; - } - previousWhite = isWhite; - } - - while (output.length() && isWhiteSpace(output[0])) output = output.right(output.length() - 1); - while (output.length() && isWhiteSpace(output[output.length() - 1])) output = output.left(output.length() - 1); - - return output; -} - -void collapseWhiteSpaceAndAppend(QStringList& lines, ParsingState& state, QString text) { - if (state.inCode) { - text = "\t" + text; - lines.append(text); - } else { - // Remove all \n and \r from the left and right of the text - while (text.length() && (text[0] == '\n' || text[0] == '\r')) text = text.right(text.length() - 1); - while (text.length() && (text[text.length() - 1] == '\n' || text[text.length() - 1] == '\r')) text = text.left(text.length() - 1); - - // Collapse all white spaces to just one. If there are spaces to the left and right of the string - // also collapse them to just one space. - bool spaceLeft = text.length() && text[0] == ' '; - bool spaceRight = text.length() && text[text.size() - 1] == ' '; - text = simplifyString(text); - - if (!spaceLeft && !spaceRight && text == "") return; - - if (spaceLeft) lines.append(SPACE); - lines.append(text); - if (spaceRight) lines.append(SPACE); - } -} - -bool isNewLineBlock(const QString& s) { - return s == BLOCK_OPEN || s == BLOCK_CLOSE; -} - -QString processMdArrayNewLines(QStringList md) { - while (md.size() && md[0] == BLOCK_OPEN) { - md.erase(md.begin()); - } - - while (md.size() && md[md.size() - 1] == BLOCK_CLOSE) { - md.pop_back(); - } - - QStringList temp; - QString last; - foreach (QString v, md) { - if (isNewLineBlock(last) && isNewLineBlock(v) && last == v) { - // Skip it - } else { - temp.push_back(v); - } - last = v; - } - md = temp; - - - - temp.clear(); - last = ""; - foreach (QString v, md) { - if (last == BLOCK_CLOSE && v == BLOCK_OPEN) { - temp.pop_back(); - temp.push_back(NEWLINE_MERGED); - } else { - temp.push_back(v); - } - last = v; - } - md = temp; - - - - temp.clear(); - last = ""; - foreach (QString v, md) { - if (last == NEWLINE && (v == NEWLINE_MERGED || v == BLOCK_CLOSE)) { - // Skip it - } else { - temp.push_back(v); - } - last = v; - } - md = temp; - - - - // NEW!!! - temp.clear(); - last = ""; - foreach (QString v, md) { - if (last == NEWLINE && (v == NEWLINE_MERGED || v == BLOCK_OPEN)) { - // Skip it - } else { - temp.push_back(v); - } - last = v; - } - md = temp; - - - - - if (md.size() > 2) { - if (md[md.size() - 2] == NEWLINE_MERGED && md[md.size() - 1] == NEWLINE) { - md.pop_back(); - } - } - - QString output; - QString previous; - bool start = true; - foreach (QString v, md) { - QString add; - if (v == BLOCK_CLOSE || v == BLOCK_OPEN || v == NEWLINE || v == NEWLINE_MERGED) { - add = "\n"; - } else if (v == SPACE) { - if (previous == SPACE || previous == "\n" || start) { - continue; // skip - } else { - add = " "; - } - } else { - add = v; - } - start = false; - output += add; - previous = add; - } - - if (!output.trimmed().length()) return QString(); - - return output; -} - -bool isImageMimeType(const QString& m) { - if (!imageMimeTypes.size()) { - imageMimeTypes << "image/cgm" << "image/fits" << "image/g3fax" << "image/gif" << "image/ief" << "image/jp2" << "image/jpeg" << "image/jpm" << "image/jpx" << "image/naplps" << "image/png" << "image/prs.btif" << "image/prs.pti" << "image/t38" << "image/tiff" << "image/tiff-fx" << "image/vnd.adobe.photoshop" << "image/vnd.cns.inf2" << "image/vnd.djvu" << "image/vnd.dwg" << "image/vnd.dxf" << "image/vnd.fastbidsheet" << "image/vnd.fpx" << "image/vnd.fst" << "image/vnd.fujixerox.edmics-mmr" << "image/vnd.fujixerox.edmics-rlc" << "image/vnd.globalgraphics.pgb" << "image/vnd.microsoft.icon" << "image/vnd.mix" << "image/vnd.ms-modi" << "image/vnd.net-fpx" << "image/vnd.sealed.png" << "image/vnd.sealedmedia.softseal.gif" << "image/vnd.sealedmedia.softseal.jpg" << "image/vnd.svf" << "image/vnd.wap.wbmp" << "image/vnd.xiff"; - } - return imageMimeTypes.contains(m, Qt::CaseInsensitive); -} - -void addResourceTag(QStringList& lines, Resource& resource, const QString& alt = "") { - QString tagAlt = alt == "" ? resource.alt : alt; - if (isImageMimeType(resource.mime)) { - lines.append("!["); - lines.append(tagAlt); - lines.append(QString("](:/%1)").arg(resource.id)); - } else { - lines.append("["); - lines.append(tagAlt); - lines.append(QString("](:/%1)").arg(resource.id)); - } -} - -void evernoteXmlToMdArray(QXmlStreamReader& reader, QStringList& lines, ParsingState& state) { - // Attributes are rarely used in Evernote XML code, so they are only loaded as needed - // by the tag using `attrs = attributes(reader);` - QMap attrs; - std::vector> attributesLIFO; - - while (!reader.atEnd()) { - reader.readNext(); - - QStringRef n = reader.name(); - - if (reader.isStartElement()) { - attributesLIFO.push_back(attributes(reader)); - - if (isBlockTag(n)) { - lines.append(BLOCK_OPEN); - evernoteXmlToMdArray(reader, lines, state); - } else if (isStrongTag(n)) { - lines.append("**"); - } else if (isAnchor(n)) { - lines.append("["); - } else if (isEmTag(n)) { - lines.append("*"); - } else if (n == "en-todo") { - attrs = attributesLIFO.back(); - QString checked = attrs["checked"] == "true" ? "X" : " "; - lines.append(QString("- [%1] ").arg(checked)); - } else if (isListTag(n)) { - lines.append(BLOCK_OPEN); - state.lists.push_back(std::make_pair(n.toString(), 1)); - } else if (n == "li") { - lines.append(BLOCK_OPEN); - if (!state.lists.size()) { - qWarning() << "Found
  • tag without being inside a list"; - continue; - } - std::pair& container = state.lists[state.lists.size() - 1]; - if (container.first == "ul") { - lines.append("- "); - } else { - lines.append(QString("%1. ").arg(container.second)); - container.second++; - } - } else if (n == "h1") { - lines.append(BLOCK_OPEN); lines.append("# "); - } else if (n == "h2") { - lines.append(BLOCK_OPEN); lines.append("## "); - } else if (n == "h3") { - lines.append(BLOCK_OPEN); lines.append("### "); - } else if (n == "h4") { - lines.append(BLOCK_OPEN); lines.append("#### "); - } else if (n == "h5") { - lines.append(BLOCK_OPEN); lines.append("##### "); - } else if (n == "h6") { - lines.append(BLOCK_OPEN); lines.append("###### "); - } else if (isCodeTag(n)) { - lines.append(BLOCK_OPEN); - state.inCode = true; - } else if (n == "br") { - lines.append(NEWLINE); - } else if (n == "en-media") { - attrs = attributesLIFO.back(); - QString hash = attrs["hash"]; - Resource resource; - for (int i = 0; i < state.resources.size(); i++) { - Resource r = state.resources[i]; - if (r.id == hash) { - resource = r; - state.resources.erase(state.resources.begin() + i); - break; - } - } - - // select * from notes where body like "%](:/%"; - - // If the resource does not appear among the note's resources, it - // means it's an attachement. It will be appended along with the - // other remaining resources at the bottom of the markdown text. - if (resource.id != "") { - addResourceTag(lines, resource, attrs["alt"]); - } - } else if (n == "span" || n == "font") { - // Ignore - } else { - qWarning() << "Unsupported start tag:" << n; - } - } else if (reader.isEndElement()) { - if (isNewLineOnlyEndTag(n)) { - lines.append(BLOCK_CLOSE); - } else if (isStrongTag(n)) { - lines.append("**"); - } else if (isEmTag(n)) { - lines.append("*"); - } else if (isCodeTag(n)) { - state.inCode = false; - lines.append(BLOCK_CLOSE); - } else if (isAnchor(n)) { - attrs = attributesLIFO.back(); - QString href = attrs.contains("href") ? attrs["href"] : ""; - lines.append(QString("](%1)").arg(href)); - } else if (isListTag(n)) { - lines.append(BLOCK_CLOSE); - state.lists.pop_back(); - } else if (n == "en-media") { - // Skip - } else if (isIgnoredEndTag(n)) { - // Skip - } else { - qWarning() << "Unsupported end tag:" << n; - } - if (attributesLIFO.size()) attributesLIFO.pop_back(); - } else if (reader.isCharacters()) { - collapseWhiteSpaceAndAppend(lines, state, reader.text().toString()); - } else if (reader.isEndDocument()) { - // Ignore - } else if (reader.isEntityReference()) { - lines.append(htmlEntityDecode(reader.name().toString())); - } else { - qWarning() << "Unsupported token type:" << reader.tokenType() << reader.tokenString() << reader.name(); - } - } -} - -QString evernoteXmlToMd(const QString& content, std::vector resources) { - QXmlStreamReader reader(content.toUtf8()); - - if (reader.readNextStartElement()) { - QStringList mdLines; - ParsingState parsingState; - parsingState.inCode = false; - parsingState.resources = resources; - evernoteXmlToMdArray(reader, mdLines, parsingState); - - bool firstAttachment = true; - foreach (Resource r, parsingState.resources) { - if (firstAttachment) mdLines.push_back(NEWLINE); - mdLines.push_back(NEWLINE); - addResourceTag(mdLines, r, r.filename); - firstAttachment = false; - } - - return processMdArrayNewLines(mdLines); - } else { - qWarning() << "Cannot parse XML:" << content; - } - return ""; -} - -} diff --git a/QtClient/evernote-import/xmltomd.h b/QtClient/evernote-import/xmltomd.h deleted file mode 100755 index d4c4a5c1d3..0000000000 --- a/QtClient/evernote-import/xmltomd.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef XMLTOMD_H -#define XMLTOMD_H - -#include -#include -#include - -namespace xmltomd { - - struct Resource { - QString id; - QString mime; - QString filename; - QString alt; - QByteArray data; - time_t timestamp; - - Resource() : timestamp(0) {} - }; - - const QString BLOCK_OPEN = "
    "; - const QString BLOCK_CLOSE = "
    "; - const QString NEWLINE = "
    "; - const QString NEWLINE_MERGED = ""; - const QString SPACE = ""; - - struct ParsingState { - std::vector> lists; - bool inCode; - std::vector resources; - std::vector attachments; - }; - - QString evernoteXmlToMd(const QString &content, std::vector resources); - -} - -#endif // XMLTOMD_H diff --git a/app/.htaccess b/app/.htaccess deleted file mode 100755 index fb1de45bdb..0000000000 --- a/app/.htaccess +++ /dev/null @@ -1,7 +0,0 @@ - - Require all denied - - - Order deny,allow - Deny from all - diff --git a/app/AppCache.php b/app/AppCache.php deleted file mode 100755 index 639ec2cd7e..0000000000 --- a/app/AppCache.php +++ /dev/null @@ -1,7 +0,0 @@ -getEnvironment(), ['dev', 'test'], true)) { - $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle(); - $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); - $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); - $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); - } - - return $bundles; - } - - public function getRootDir() - { - return __DIR__; - } - - public function getCacheDir() - { - return dirname(__DIR__).'/var/cache/'.$this->getEnvironment(); - } - - public function getLogDir() - { - return dirname(__DIR__).'/var/logs'; - } - - public function registerContainerConfiguration(LoaderInterface $loader) - { - $loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml'); - } -} diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig deleted file mode 100755 index bafd28d3bd..0000000000 --- a/app/Resources/views/base.html.twig +++ /dev/null @@ -1,13 +0,0 @@ - - - - - {% block title %}Welcome!{% endblock %} - {% block stylesheets %}{% endblock %} - - - - {% block body %}{% endblock %} - {% block javascripts %}{% endblock %} - - diff --git a/app/Resources/views/default/index.html.twig b/app/Resources/views/default/index.html.twig deleted file mode 100755 index aa88ca9fcf..0000000000 --- a/app/Resources/views/default/index.html.twig +++ /dev/null @@ -1,76 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block body %} -
    -
    -
    -

    Welcome to Symfony {{ constant('Symfony\\Component\\HttpKernel\\Kernel::VERSION') }}

    -
    - -
    -

    - - - Your application is now ready. You can start working on it at: - {{ base_dir }} -

    -
    - - - -
    -
    -{% endblock %} - -{% block stylesheets %} - -{% endblock %} diff --git a/app/autoload.php b/app/autoload.php deleted file mode 100755 index 31321faa58..0000000000 --- a/app/autoload.php +++ /dev/null @@ -1,11 +0,0 @@ -. -# -# MIME type (lowercased) Extensions -# ============================================ ========== -# application/1d-interleaved-parityfec -# application/3gpdash-qoe-report+xml -# application/3gpp-ims+xml -# application/a2l -# application/activemessage -# application/alto-costmap+json -# application/alto-costmapfilter+json -# application/alto-directory+json -# application/alto-endpointcost+json -# application/alto-endpointcostparams+json -# application/alto-endpointprop+json -# application/alto-endpointpropparams+json -# application/alto-error+json -# application/alto-networkmap+json -# application/alto-networkmapfilter+json -# application/aml -application/andrew-inset ez -# application/applefile -application/applixware aw -# application/atf -# application/atfx -application/atom+xml atom -application/atomcat+xml atomcat -# application/atomdeleted+xml -# application/atomicmail -application/atomsvc+xml atomsvc -# application/atxml -# application/auth-policy+xml -# application/bacnet-xdd+zip -# application/batch-smtp -# application/beep+xml -# application/calendar+json -# application/calendar+xml -# application/call-completion -# application/cals-1840 -# application/cbor -# application/ccmp+xml -application/ccxml+xml ccxml -# application/cdfx+xml -application/cdmi-capability cdmia -application/cdmi-container cdmic -application/cdmi-domain cdmid -application/cdmi-object cdmio -application/cdmi-queue cdmiq -# application/cdni -# application/cea -# application/cea-2018+xml -# application/cellml+xml -# application/cfw -# application/cms -# application/cnrp+xml -# application/coap-group+json -# application/commonground -# application/conference-info+xml -# application/cpl+xml -# application/csrattrs -# application/csta+xml -# application/cstadata+xml -# application/csvm+json -application/cu-seeme cu -# application/cybercash -# application/dash+xml -# application/dashdelta -application/davmount+xml davmount -# application/dca-rft -# application/dcd -# application/dec-dx -# application/dialog-info+xml -# application/dicom -# application/dii -# application/dit -# application/dns -application/docbook+xml dbk -# application/dskpp+xml -application/dssc+der dssc -application/dssc+xml xdssc -# application/dvcs -application/ecmascript ecma -# application/edi-consent -# application/edi-x12 -# application/edifact -# application/efi -# application/emergencycalldata.comment+xml -# application/emergencycalldata.deviceinfo+xml -# application/emergencycalldata.providerinfo+xml -# application/emergencycalldata.serviceinfo+xml -# application/emergencycalldata.subscriberinfo+xml -application/emma+xml emma -# application/emotionml+xml -# application/encaprtp -# application/epp+xml -application/epub+zip epub -# application/eshop -# application/example -application/exi exi -# application/fastinfoset -# application/fastsoap -# application/fdt+xml -# application/fits -# application/font-sfnt -application/font-tdpfr pfr -application/font-woff woff -# application/framework-attributes+xml -# application/geo+json -application/gml+xml gml -application/gpx+xml gpx -application/gxf gxf -# application/gzip -# application/h224 -# application/held+xml -# application/http -application/hyperstudio stk -# application/ibe-key-request+xml -# application/ibe-pkg-reply+xml -# application/ibe-pp-data -# application/iges -# application/im-iscomposing+xml -# application/index -# application/index.cmd -# application/index.obj -# application/index.response -# application/index.vnd -application/inkml+xml ink inkml -# application/iotp -application/ipfix ipfix -# application/ipp -# application/isup -# application/its+xml -application/java-archive jar -application/java-serialized-object ser -application/java-vm class -application/javascript js -# application/jose -# application/jose+json -# application/jrd+json -application/json json -# application/json-patch+json -# application/json-seq -application/jsonml+json jsonml -# application/jwk+json -# application/jwk-set+json -# application/jwt -# application/kpml-request+xml -# application/kpml-response+xml -# application/ld+json -# application/lgr+xml -# application/link-format -# application/load-control+xml -application/lost+xml lostxml -# application/lostsync+xml -# application/lxf -application/mac-binhex40 hqx -application/mac-compactpro cpt -# application/macwriteii -application/mads+xml mads -application/marc mrc -application/marcxml+xml mrcx -application/mathematica ma nb mb -application/mathml+xml mathml -# application/mathml-content+xml -# application/mathml-presentation+xml -# application/mbms-associated-procedure-description+xml -# application/mbms-deregister+xml -# application/mbms-envelope+xml -# application/mbms-msk+xml -# application/mbms-msk-response+xml -# application/mbms-protection-description+xml -# application/mbms-reception-report+xml -# application/mbms-register+xml -# application/mbms-register-response+xml -# application/mbms-schedule+xml -# application/mbms-user-service-description+xml -application/mbox mbox -# application/media-policy-dataset+xml -# application/media_control+xml -application/mediaservercontrol+xml mscml -# application/merge-patch+json -application/metalink+xml metalink -application/metalink4+xml meta4 -application/mets+xml mets -# application/mf4 -# application/mikey -application/mods+xml mods -# application/moss-keys -# application/moss-signature -# application/mosskey-data -# application/mosskey-request -application/mp21 m21 mp21 -application/mp4 mp4s -# application/mpeg4-generic -# application/mpeg4-iod -# application/mpeg4-iod-xmt -# application/mrb-consumer+xml -# application/mrb-publish+xml -# application/msc-ivr+xml -# application/msc-mixer+xml -application/msword doc dot -application/mxf mxf -# application/nasdata -# application/news-checkgroups -# application/news-groupinfo -# application/news-transmission -# application/nlsml+xml -# application/nss -# application/ocsp-request -# application/ocsp-response -application/octet-stream bin dms lrf mar so dist distz pkg bpk dump elc deploy -application/oda oda -# application/odx -application/oebps-package+xml opf -application/ogg ogx -application/omdoc+xml omdoc -application/onenote onetoc onetoc2 onetmp onepkg -application/oxps oxps -# application/p2p-overlay+xml -# application/parityfec -application/patch-ops-error+xml xer -application/pdf pdf -# application/pdx -application/pgp-encrypted pgp -# application/pgp-keys -application/pgp-signature asc sig -application/pics-rules prf -# application/pidf+xml -# application/pidf-diff+xml -application/pkcs10 p10 -# application/pkcs12 -application/pkcs7-mime p7m p7c -application/pkcs7-signature p7s -application/pkcs8 p8 -application/pkix-attr-cert ac -application/pkix-cert cer -application/pkix-crl crl -application/pkix-pkipath pkipath -application/pkixcmp pki -application/pls+xml pls -# application/poc-settings+xml -application/postscript ai eps ps -# application/ppsp-tracker+json -# application/problem+json -# application/problem+xml -# application/provenance+xml -# application/prs.alvestrand.titrax-sheet -application/prs.cww cww -# application/prs.hpub+zip -# application/prs.nprend -# application/prs.plucker -# application/prs.rdf-xml-crypt -# application/prs.xsf+xml -application/pskc+xml pskcxml -# application/qsig -# application/raptorfec -# application/rdap+json -application/rdf+xml rdf -application/reginfo+xml rif -application/relax-ng-compact-syntax rnc -# application/remote-printing -# application/reputon+json -application/resource-lists+xml rl -application/resource-lists-diff+xml rld -# application/rfc+xml -# application/riscos -# application/rlmi+xml -application/rls-services+xml rs -application/rpki-ghostbusters gbr -application/rpki-manifest mft -application/rpki-roa roa -# application/rpki-updown -application/rsd+xml rsd -application/rss+xml rss -application/rtf rtf -# application/rtploopback -# application/rtx -# application/samlassertion+xml -# application/samlmetadata+xml -application/sbml+xml sbml -# application/scaip+xml -# application/scim+json -application/scvp-cv-request scq -application/scvp-cv-response scs -application/scvp-vp-request spq -application/scvp-vp-response spp -application/sdp sdp -# application/sep+xml -# application/sep-exi -# application/session-info -# application/set-payment -application/set-payment-initiation setpay -# application/set-registration -application/set-registration-initiation setreg -# application/sgml -# application/sgml-open-catalog -application/shf+xml shf -# application/sieve -# application/simple-filter+xml -# application/simple-message-summary -# application/simplesymbolcontainer -# application/slate -# application/smil -application/smil+xml smi smil -# application/smpte336m -# application/soap+fastinfoset -# application/soap+xml -application/sparql-query rq -application/sparql-results+xml srx -# application/spirits-event+xml -# application/sql -application/srgs gram -application/srgs+xml grxml -application/sru+xml sru -application/ssdl+xml ssdl -application/ssml+xml ssml -# application/tamp-apex-update -# application/tamp-apex-update-confirm -# application/tamp-community-update -# application/tamp-community-update-confirm -# application/tamp-error -# application/tamp-sequence-adjust -# application/tamp-sequence-adjust-confirm -# application/tamp-status-query -# application/tamp-status-response -# application/tamp-update -# application/tamp-update-confirm -application/tei+xml tei teicorpus -application/thraud+xml tfi -# application/timestamp-query -# application/timestamp-reply -application/timestamped-data tsd -# application/ttml+xml -# application/tve-trigger -# application/ulpfec -# application/urc-grpsheet+xml -# application/urc-ressheet+xml -# application/urc-targetdesc+xml -# application/urc-uisocketdesc+xml -# application/vcard+json -# application/vcard+xml -# application/vemmi -# application/vividence.scriptfile -# application/vnd.3gpp-prose+xml -# application/vnd.3gpp-prose-pc3ch+xml -# application/vnd.3gpp.access-transfer-events+xml -# application/vnd.3gpp.bsf+xml -# application/vnd.3gpp.mid-call+xml -application/vnd.3gpp.pic-bw-large plb -application/vnd.3gpp.pic-bw-small psb -application/vnd.3gpp.pic-bw-var pvb -# application/vnd.3gpp.sms -# application/vnd.3gpp.sms+xml -# application/vnd.3gpp.srvcc-ext+xml -# application/vnd.3gpp.srvcc-info+xml -# application/vnd.3gpp.state-and-event-info+xml -# application/vnd.3gpp.ussd+xml -# application/vnd.3gpp2.bcmcsinfo+xml -# application/vnd.3gpp2.sms -application/vnd.3gpp2.tcap tcap -# application/vnd.3lightssoftware.imagescal -application/vnd.3m.post-it-notes pwn -application/vnd.accpac.simply.aso aso -application/vnd.accpac.simply.imp imp -application/vnd.acucobol acu -application/vnd.acucorp atc acutc -application/vnd.adobe.air-application-installer-package+zip air -# application/vnd.adobe.flash.movie -application/vnd.adobe.formscentral.fcdt fcdt -application/vnd.adobe.fxp fxp fxpl -# application/vnd.adobe.partial-upload -application/vnd.adobe.xdp+xml xdp -application/vnd.adobe.xfdf xfdf -# application/vnd.aether.imp -# application/vnd.ah-barcode -application/vnd.ahead.space ahead -application/vnd.airzip.filesecure.azf azf -application/vnd.airzip.filesecure.azs azs -application/vnd.amazon.ebook azw -# application/vnd.amazon.mobi8-ebook -application/vnd.americandynamics.acc acc -application/vnd.amiga.ami ami -# application/vnd.amundsen.maze+xml -application/vnd.android.package-archive apk -# application/vnd.anki -application/vnd.anser-web-certificate-issue-initiation cii -application/vnd.anser-web-funds-transfer-initiation fti -application/vnd.antix.game-component atx -# application/vnd.apache.thrift.binary -# application/vnd.apache.thrift.compact -# application/vnd.apache.thrift.json -# application/vnd.api+json -application/vnd.apple.installer+xml mpkg -application/vnd.apple.mpegurl m3u8 -# application/vnd.arastra.swi -application/vnd.aristanetworks.swi swi -# application/vnd.artsquare -application/vnd.astraea-software.iota iota -application/vnd.audiograph aep -# application/vnd.autopackage -# application/vnd.avistar+xml -# application/vnd.balsamiq.bmml+xml -# application/vnd.balsamiq.bmpr -# application/vnd.bekitzur-stech+json -# application/vnd.biopax.rdf+xml -application/vnd.blueice.multipass mpm -# application/vnd.bluetooth.ep.oob -# application/vnd.bluetooth.le.oob -application/vnd.bmi bmi -application/vnd.businessobjects rep -# application/vnd.cab-jscript -# application/vnd.canon-cpdl -# application/vnd.canon-lips -# application/vnd.cendio.thinlinc.clientconf -# application/vnd.century-systems.tcp_stream -application/vnd.chemdraw+xml cdxml -# application/vnd.chess-pgn -application/vnd.chipnuts.karaoke-mmd mmd -application/vnd.cinderella cdy -# application/vnd.cirpack.isdn-ext -# application/vnd.citationstyles.style+xml -application/vnd.claymore cla -application/vnd.cloanto.rp9 rp9 -application/vnd.clonk.c4group c4g c4d c4f c4p c4u -application/vnd.cluetrust.cartomobile-config c11amc -application/vnd.cluetrust.cartomobile-config-pkg c11amz -# application/vnd.coffeescript -# application/vnd.collection+json -# application/vnd.collection.doc+json -# application/vnd.collection.next+json -# application/vnd.comicbook+zip -# application/vnd.commerce-battelle -application/vnd.commonspace csp -application/vnd.contact.cmsg cdbcmsg -# application/vnd.coreos.ignition+json -application/vnd.cosmocaller cmc -application/vnd.crick.clicker clkx -application/vnd.crick.clicker.keyboard clkk -application/vnd.crick.clicker.palette clkp -application/vnd.crick.clicker.template clkt -application/vnd.crick.clicker.wordbank clkw -application/vnd.criticaltools.wbs+xml wbs -application/vnd.ctc-posml pml -# application/vnd.ctct.ws+xml -# application/vnd.cups-pdf -# application/vnd.cups-postscript -application/vnd.cups-ppd ppd -# application/vnd.cups-raster -# application/vnd.cups-raw -# application/vnd.curl -application/vnd.curl.car car -application/vnd.curl.pcurl pcurl -# application/vnd.cyan.dean.root+xml -# application/vnd.cybank -application/vnd.dart dart -application/vnd.data-vision.rdz rdz -# application/vnd.debian.binary-package -application/vnd.dece.data uvf uvvf uvd uvvd -application/vnd.dece.ttml+xml uvt uvvt -application/vnd.dece.unspecified uvx uvvx -application/vnd.dece.zip uvz uvvz -application/vnd.denovo.fcselayout-link fe_launch -# application/vnd.desmume.movie -# application/vnd.dir-bi.plate-dl-nosuffix -# application/vnd.dm.delegation+xml -application/vnd.dna dna -# application/vnd.document+json -application/vnd.dolby.mlp mlp -# application/vnd.dolby.mobile.1 -# application/vnd.dolby.mobile.2 -# application/vnd.doremir.scorecloud-binary-document -application/vnd.dpgraph dpg -application/vnd.dreamfactory dfac -# application/vnd.drive+json -application/vnd.ds-keypoint kpxx -# application/vnd.dtg.local -# application/vnd.dtg.local.flash -# application/vnd.dtg.local.html -application/vnd.dvb.ait ait -# application/vnd.dvb.dvbj -# application/vnd.dvb.esgcontainer -# application/vnd.dvb.ipdcdftnotifaccess -# application/vnd.dvb.ipdcesgaccess -# application/vnd.dvb.ipdcesgaccess2 -# application/vnd.dvb.ipdcesgpdd -# application/vnd.dvb.ipdcroaming -# application/vnd.dvb.iptv.alfec-base -# application/vnd.dvb.iptv.alfec-enhancement -# application/vnd.dvb.notif-aggregate-root+xml -# application/vnd.dvb.notif-container+xml -# application/vnd.dvb.notif-generic+xml -# application/vnd.dvb.notif-ia-msglist+xml -# application/vnd.dvb.notif-ia-registration-request+xml -# application/vnd.dvb.notif-ia-registration-response+xml -# application/vnd.dvb.notif-init+xml -# application/vnd.dvb.pfr -application/vnd.dvb.service svc -# application/vnd.dxr -application/vnd.dynageo geo -# application/vnd.dzr -# application/vnd.easykaraoke.cdgdownload -# application/vnd.ecdis-update -application/vnd.ecowin.chart mag -# application/vnd.ecowin.filerequest -# application/vnd.ecowin.fileupdate -# application/vnd.ecowin.series -# application/vnd.ecowin.seriesrequest -# application/vnd.ecowin.seriesupdate -# application/vnd.emclient.accessrequest+xml -application/vnd.enliven nml -# application/vnd.enphase.envoy -# application/vnd.eprints.data+xml -application/vnd.epson.esf esf -application/vnd.epson.msf msf -application/vnd.epson.quickanime qam -application/vnd.epson.salt slt -application/vnd.epson.ssf ssf -# application/vnd.ericsson.quickcall -application/vnd.eszigno3+xml es3 et3 -# application/vnd.etsi.aoc+xml -# application/vnd.etsi.asic-e+zip -# application/vnd.etsi.asic-s+zip -# application/vnd.etsi.cug+xml -# application/vnd.etsi.iptvcommand+xml -# application/vnd.etsi.iptvdiscovery+xml -# application/vnd.etsi.iptvprofile+xml -# application/vnd.etsi.iptvsad-bc+xml -# application/vnd.etsi.iptvsad-cod+xml -# application/vnd.etsi.iptvsad-npvr+xml -# application/vnd.etsi.iptvservice+xml -# application/vnd.etsi.iptvsync+xml -# application/vnd.etsi.iptvueprofile+xml -# application/vnd.etsi.mcid+xml -# application/vnd.etsi.mheg5 -# application/vnd.etsi.overload-control-policy-dataset+xml -# application/vnd.etsi.pstn+xml -# application/vnd.etsi.sci+xml -# application/vnd.etsi.simservs+xml -# application/vnd.etsi.timestamp-token -# application/vnd.etsi.tsl+xml -# application/vnd.etsi.tsl.der -# application/vnd.eudora.data -application/vnd.ezpix-album ez2 -application/vnd.ezpix-package ez3 -# application/vnd.f-secure.mobile -# application/vnd.fastcopy-disk-image -application/vnd.fdf fdf -application/vnd.fdsn.mseed mseed -application/vnd.fdsn.seed seed dataless -# application/vnd.ffsns -# application/vnd.filmit.zfc -# application/vnd.fints -# application/vnd.firemonkeys.cloudcell -application/vnd.flographit gph -application/vnd.fluxtime.clip ftc -# application/vnd.font-fontforge-sfd -application/vnd.framemaker fm frame maker book -application/vnd.frogans.fnc fnc -application/vnd.frogans.ltf ltf -application/vnd.fsc.weblaunch fsc -application/vnd.fujitsu.oasys oas -application/vnd.fujitsu.oasys2 oa2 -application/vnd.fujitsu.oasys3 oa3 -application/vnd.fujitsu.oasysgp fg5 -application/vnd.fujitsu.oasysprs bh2 -# application/vnd.fujixerox.art-ex -# application/vnd.fujixerox.art4 -application/vnd.fujixerox.ddd ddd -application/vnd.fujixerox.docuworks xdw -application/vnd.fujixerox.docuworks.binder xbd -# application/vnd.fujixerox.docuworks.container -# application/vnd.fujixerox.hbpl -# application/vnd.fut-misnet -application/vnd.fuzzysheet fzs -application/vnd.genomatix.tuxedo txd -# application/vnd.geo+json -# application/vnd.geocube+xml -application/vnd.geogebra.file ggb -application/vnd.geogebra.tool ggt -application/vnd.geometry-explorer gex gre -application/vnd.geonext gxt -application/vnd.geoplan g2w -application/vnd.geospace g3w -# application/vnd.gerber -# application/vnd.globalplatform.card-content-mgt -# application/vnd.globalplatform.card-content-mgt-response -application/vnd.gmx gmx -application/vnd.google-earth.kml+xml kml -application/vnd.google-earth.kmz kmz -# application/vnd.gov.sk.e-form+xml -# application/vnd.gov.sk.e-form+zip -# application/vnd.gov.sk.xmldatacontainer+xml -application/vnd.grafeq gqf gqs -# application/vnd.gridmp -application/vnd.groove-account gac -application/vnd.groove-help ghf -application/vnd.groove-identity-message gim -application/vnd.groove-injector grv -application/vnd.groove-tool-message gtm -application/vnd.groove-tool-template tpl -application/vnd.groove-vcard vcg -# application/vnd.hal+json -application/vnd.hal+xml hal -application/vnd.handheld-entertainment+xml zmm -application/vnd.hbci hbci -# application/vnd.hcl-bireports -# application/vnd.hdt -# application/vnd.heroku+json -application/vnd.hhe.lesson-player les -application/vnd.hp-hpgl hpgl -application/vnd.hp-hpid hpid -application/vnd.hp-hps hps -application/vnd.hp-jlyt jlt -application/vnd.hp-pcl pcl -application/vnd.hp-pclxl pclxl -# application/vnd.httphone -application/vnd.hydrostatix.sof-data sfd-hdstx -# application/vnd.hyperdrive+json -# application/vnd.hzn-3d-crossword -# application/vnd.ibm.afplinedata -# application/vnd.ibm.electronic-media -application/vnd.ibm.minipay mpy -application/vnd.ibm.modcap afp listafp list3820 -application/vnd.ibm.rights-management irm -application/vnd.ibm.secure-container sc -application/vnd.iccprofile icc icm -# application/vnd.ieee.1905 -application/vnd.igloader igl -application/vnd.immervision-ivp ivp -application/vnd.immervision-ivu ivu -# application/vnd.ims.imsccv1p1 -# application/vnd.ims.imsccv1p2 -# application/vnd.ims.imsccv1p3 -# application/vnd.ims.lis.v2.result+json -# application/vnd.ims.lti.v2.toolconsumerprofile+json -# application/vnd.ims.lti.v2.toolproxy+json -# application/vnd.ims.lti.v2.toolproxy.id+json -# application/vnd.ims.lti.v2.toolsettings+json -# application/vnd.ims.lti.v2.toolsettings.simple+json -# application/vnd.informedcontrol.rms+xml -# application/vnd.informix-visionary -# application/vnd.infotech.project -# application/vnd.infotech.project+xml -# application/vnd.innopath.wamp.notification -application/vnd.insors.igm igm -application/vnd.intercon.formnet xpw xpx -application/vnd.intergeo i2g -# application/vnd.intertrust.digibox -# application/vnd.intertrust.nncp -application/vnd.intu.qbo qbo -application/vnd.intu.qfx qfx -# application/vnd.iptc.g2.catalogitem+xml -# application/vnd.iptc.g2.conceptitem+xml -# application/vnd.iptc.g2.knowledgeitem+xml -# application/vnd.iptc.g2.newsitem+xml -# application/vnd.iptc.g2.newsmessage+xml -# application/vnd.iptc.g2.packageitem+xml -# application/vnd.iptc.g2.planningitem+xml -application/vnd.ipunplugged.rcprofile rcprofile -application/vnd.irepository.package+xml irp -application/vnd.is-xpr xpr -application/vnd.isac.fcs fcs -application/vnd.jam jam -# application/vnd.japannet-directory-service -# application/vnd.japannet-jpnstore-wakeup -# application/vnd.japannet-payment-wakeup -# application/vnd.japannet-registration -# application/vnd.japannet-registration-wakeup -# application/vnd.japannet-setstore-wakeup -# application/vnd.japannet-verification -# application/vnd.japannet-verification-wakeup -application/vnd.jcp.javame.midlet-rms rms -application/vnd.jisp jisp -application/vnd.joost.joda-archive joda -# application/vnd.jsk.isdn-ngn -application/vnd.kahootz ktz ktr -application/vnd.kde.karbon karbon -application/vnd.kde.kchart chrt -application/vnd.kde.kformula kfo -application/vnd.kde.kivio flw -application/vnd.kde.kontour kon -application/vnd.kde.kpresenter kpr kpt -application/vnd.kde.kspread ksp -application/vnd.kde.kword kwd kwt -application/vnd.kenameaapp htke -application/vnd.kidspiration kia -application/vnd.kinar kne knp -application/vnd.koan skp skd skt skm -application/vnd.kodak-descriptor sse -application/vnd.las.las+xml lasxml -# application/vnd.liberty-request+xml -application/vnd.llamagraphics.life-balance.desktop lbd -application/vnd.llamagraphics.life-balance.exchange+xml lbe -application/vnd.lotus-1-2-3 123 -application/vnd.lotus-approach apr -application/vnd.lotus-freelance pre -application/vnd.lotus-notes nsf -application/vnd.lotus-organizer org -application/vnd.lotus-screencam scm -application/vnd.lotus-wordpro lwp -application/vnd.macports.portpkg portpkg -# application/vnd.mapbox-vector-tile -# application/vnd.marlin.drm.actiontoken+xml -# application/vnd.marlin.drm.conftoken+xml -# application/vnd.marlin.drm.license+xml -# application/vnd.marlin.drm.mdcf -# application/vnd.mason+json -# application/vnd.maxmind.maxmind-db -application/vnd.mcd mcd -application/vnd.medcalcdata mc1 -application/vnd.mediastation.cdkey cdkey -# application/vnd.meridian-slingshot -application/vnd.mfer mwf -application/vnd.mfmp mfm -# application/vnd.micro+json -application/vnd.micrografx.flo flo -application/vnd.micrografx.igx igx -# application/vnd.microsoft.portable-executable -# application/vnd.miele+json -application/vnd.mif mif -# application/vnd.minisoft-hp3000-save -# application/vnd.mitsubishi.misty-guard.trustweb -application/vnd.mobius.daf daf -application/vnd.mobius.dis dis -application/vnd.mobius.mbk mbk -application/vnd.mobius.mqy mqy -application/vnd.mobius.msl msl -application/vnd.mobius.plc plc -application/vnd.mobius.txf txf -application/vnd.mophun.application mpn -application/vnd.mophun.certificate mpc -# application/vnd.motorola.flexsuite -# application/vnd.motorola.flexsuite.adsi -# application/vnd.motorola.flexsuite.fis -# application/vnd.motorola.flexsuite.gotap -# application/vnd.motorola.flexsuite.kmr -# application/vnd.motorola.flexsuite.ttc -# application/vnd.motorola.flexsuite.wem -# application/vnd.motorola.iprm -application/vnd.mozilla.xul+xml xul -# application/vnd.ms-3mfdocument -application/vnd.ms-artgalry cil -# application/vnd.ms-asf -application/vnd.ms-cab-compressed cab -# application/vnd.ms-color.iccprofile -application/vnd.ms-excel xls xlm xla xlc xlt xlw -application/vnd.ms-excel.addin.macroenabled.12 xlam -application/vnd.ms-excel.sheet.binary.macroenabled.12 xlsb -application/vnd.ms-excel.sheet.macroenabled.12 xlsm -application/vnd.ms-excel.template.macroenabled.12 xltm -application/vnd.ms-fontobject eot -application/vnd.ms-htmlhelp chm -application/vnd.ms-ims ims -application/vnd.ms-lrm lrm -# application/vnd.ms-office.activex+xml -application/vnd.ms-officetheme thmx -# application/vnd.ms-opentype -# application/vnd.ms-package.obfuscated-opentype -application/vnd.ms-pki.seccat cat -application/vnd.ms-pki.stl stl -# application/vnd.ms-playready.initiator+xml -application/vnd.ms-powerpoint ppt pps pot -application/vnd.ms-powerpoint.addin.macroenabled.12 ppam -application/vnd.ms-powerpoint.presentation.macroenabled.12 pptm -application/vnd.ms-powerpoint.slide.macroenabled.12 sldm -application/vnd.ms-powerpoint.slideshow.macroenabled.12 ppsm -application/vnd.ms-powerpoint.template.macroenabled.12 potm -# application/vnd.ms-printdevicecapabilities+xml -# application/vnd.ms-printing.printticket+xml -# application/vnd.ms-printschematicket+xml -application/vnd.ms-project mpp mpt -# application/vnd.ms-tnef -# application/vnd.ms-windows.devicepairing -# application/vnd.ms-windows.nwprinting.oob -# application/vnd.ms-windows.printerpairing -# application/vnd.ms-windows.wsd.oob -# application/vnd.ms-wmdrm.lic-chlg-req -# application/vnd.ms-wmdrm.lic-resp -# application/vnd.ms-wmdrm.meter-chlg-req -# application/vnd.ms-wmdrm.meter-resp -application/vnd.ms-word.document.macroenabled.12 docm -application/vnd.ms-word.template.macroenabled.12 dotm -application/vnd.ms-works wps wks wcm wdb -application/vnd.ms-wpl wpl -application/vnd.ms-xpsdocument xps -# application/vnd.msa-disk-image -application/vnd.mseq mseq -# application/vnd.msign -# application/vnd.multiad.creator -# application/vnd.multiad.creator.cif -# application/vnd.music-niff -application/vnd.musician mus -application/vnd.muvee.style msty -application/vnd.mynfc taglet -# application/vnd.ncd.control -# application/vnd.ncd.reference -# application/vnd.nervana -# application/vnd.netfpx -application/vnd.neurolanguage.nlu nlu -# application/vnd.nintendo.nitro.rom -# application/vnd.nintendo.snes.rom -application/vnd.nitf ntf nitf -application/vnd.noblenet-directory nnd -application/vnd.noblenet-sealer nns -application/vnd.noblenet-web nnw -# application/vnd.nokia.catalogs -# application/vnd.nokia.conml+wbxml -# application/vnd.nokia.conml+xml -# application/vnd.nokia.iptv.config+xml -# application/vnd.nokia.isds-radio-presets -# application/vnd.nokia.landmark+wbxml -# application/vnd.nokia.landmark+xml -# application/vnd.nokia.landmarkcollection+xml -# application/vnd.nokia.n-gage.ac+xml -application/vnd.nokia.n-gage.data ngdat -application/vnd.nokia.n-gage.symbian.install n-gage -# application/vnd.nokia.ncd -# application/vnd.nokia.pcd+wbxml -# application/vnd.nokia.pcd+xml -application/vnd.nokia.radio-preset rpst -application/vnd.nokia.radio-presets rpss -application/vnd.novadigm.edm edm -application/vnd.novadigm.edx edx -application/vnd.novadigm.ext ext -# application/vnd.ntt-local.content-share -# application/vnd.ntt-local.file-transfer -# application/vnd.ntt-local.ogw_remote-access -# application/vnd.ntt-local.sip-ta_remote -# application/vnd.ntt-local.sip-ta_tcp_stream -application/vnd.oasis.opendocument.chart odc -application/vnd.oasis.opendocument.chart-template otc -application/vnd.oasis.opendocument.database odb -application/vnd.oasis.opendocument.formula odf -application/vnd.oasis.opendocument.formula-template odft -application/vnd.oasis.opendocument.graphics odg -application/vnd.oasis.opendocument.graphics-template otg -application/vnd.oasis.opendocument.image odi -application/vnd.oasis.opendocument.image-template oti -application/vnd.oasis.opendocument.presentation odp -application/vnd.oasis.opendocument.presentation-template otp -application/vnd.oasis.opendocument.spreadsheet ods -application/vnd.oasis.opendocument.spreadsheet-template ots -application/vnd.oasis.opendocument.text odt -application/vnd.oasis.opendocument.text-master odm -application/vnd.oasis.opendocument.text-template ott -application/vnd.oasis.opendocument.text-web oth -# application/vnd.obn -# application/vnd.oftn.l10n+json -# application/vnd.oipf.contentaccessdownload+xml -# application/vnd.oipf.contentaccessstreaming+xml -# application/vnd.oipf.cspg-hexbinary -# application/vnd.oipf.dae.svg+xml -# application/vnd.oipf.dae.xhtml+xml -# application/vnd.oipf.mippvcontrolmessage+xml -# application/vnd.oipf.pae.gem -# application/vnd.oipf.spdiscovery+xml -# application/vnd.oipf.spdlist+xml -# application/vnd.oipf.ueprofile+xml -# application/vnd.oipf.userprofile+xml -application/vnd.olpc-sugar xo -# application/vnd.oma-scws-config -# application/vnd.oma-scws-http-request -# application/vnd.oma-scws-http-response -# application/vnd.oma.bcast.associated-procedure-parameter+xml -# application/vnd.oma.bcast.drm-trigger+xml -# application/vnd.oma.bcast.imd+xml -# application/vnd.oma.bcast.ltkm -# application/vnd.oma.bcast.notification+xml -# application/vnd.oma.bcast.provisioningtrigger -# application/vnd.oma.bcast.sgboot -# application/vnd.oma.bcast.sgdd+xml -# application/vnd.oma.bcast.sgdu -# application/vnd.oma.bcast.simple-symbol-container -# application/vnd.oma.bcast.smartcard-trigger+xml -# application/vnd.oma.bcast.sprov+xml -# application/vnd.oma.bcast.stkm -# application/vnd.oma.cab-address-book+xml -# application/vnd.oma.cab-feature-handler+xml -# application/vnd.oma.cab-pcc+xml -# application/vnd.oma.cab-subs-invite+xml -# application/vnd.oma.cab-user-prefs+xml -# application/vnd.oma.dcd -# application/vnd.oma.dcdc -application/vnd.oma.dd2+xml dd2 -# application/vnd.oma.drm.risd+xml -# application/vnd.oma.group-usage-list+xml -# application/vnd.oma.lwm2m+json -# application/vnd.oma.lwm2m+tlv -# application/vnd.oma.pal+xml -# application/vnd.oma.poc.detailed-progress-report+xml -# application/vnd.oma.poc.final-report+xml -# application/vnd.oma.poc.groups+xml -# application/vnd.oma.poc.invocation-descriptor+xml -# application/vnd.oma.poc.optimized-progress-report+xml -# application/vnd.oma.push -# application/vnd.oma.scidm.messages+xml -# application/vnd.oma.xcap-directory+xml -# application/vnd.omads-email+xml -# application/vnd.omads-file+xml -# application/vnd.omads-folder+xml -# application/vnd.omaloc-supl-init -# application/vnd.onepager -# application/vnd.openblox.game+xml -# application/vnd.openblox.game-binary -# application/vnd.openeye.oeb -application/vnd.openofficeorg.extension oxt -# application/vnd.openxmlformats-officedocument.custom-properties+xml -# application/vnd.openxmlformats-officedocument.customxmlproperties+xml -# application/vnd.openxmlformats-officedocument.drawing+xml -# application/vnd.openxmlformats-officedocument.drawingml.chart+xml -# application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml -# application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml -# application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml -# application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml -# application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml -# application/vnd.openxmlformats-officedocument.extended-properties+xml -# application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml -# application/vnd.openxmlformats-officedocument.presentationml.comments+xml -# application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml -# application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml -# application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml -application/vnd.openxmlformats-officedocument.presentationml.presentation pptx -# application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml -# application/vnd.openxmlformats-officedocument.presentationml.presprops+xml -application/vnd.openxmlformats-officedocument.presentationml.slide sldx -# application/vnd.openxmlformats-officedocument.presentationml.slide+xml -# application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml -# application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml -application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx -# application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml -# application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml -# application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml -# application/vnd.openxmlformats-officedocument.presentationml.tags+xml -application/vnd.openxmlformats-officedocument.presentationml.template potx -# application/vnd.openxmlformats-officedocument.presentationml.template.main+xml -# application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml -application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx -# application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml -application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx -# application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml -# application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml -# application/vnd.openxmlformats-officedocument.theme+xml -# application/vnd.openxmlformats-officedocument.themeoverride+xml -# application/vnd.openxmlformats-officedocument.vmldrawing -# application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml -application/vnd.openxmlformats-officedocument.wordprocessingml.document docx -# application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml -# application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml -# application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml -# application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml -# application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml -# application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml -# application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml -# application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml -# application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml -application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx -# application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml -# application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml -# application/vnd.openxmlformats-package.core-properties+xml -# application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml -# application/vnd.openxmlformats-package.relationships+xml -# application/vnd.oracle.resource+json -# application/vnd.orange.indata -# application/vnd.osa.netdeploy -application/vnd.osgeo.mapguide.package mgp -# application/vnd.osgi.bundle -application/vnd.osgi.dp dp -application/vnd.osgi.subsystem esa -# application/vnd.otps.ct-kip+xml -# application/vnd.oxli.countgraph -# application/vnd.pagerduty+json -application/vnd.palm pdb pqa oprc -# application/vnd.panoply -# application/vnd.paos.xml -application/vnd.pawaafile paw -# application/vnd.pcos -application/vnd.pg.format str -application/vnd.pg.osasli ei6 -# application/vnd.piaccess.application-licence -application/vnd.picsel efif -application/vnd.pmi.widget wg -# application/vnd.poc.group-advertisement+xml -application/vnd.pocketlearn plf -application/vnd.powerbuilder6 pbd -# application/vnd.powerbuilder6-s -# application/vnd.powerbuilder7 -# application/vnd.powerbuilder7-s -# application/vnd.powerbuilder75 -# application/vnd.powerbuilder75-s -# application/vnd.preminet -application/vnd.previewsystems.box box -application/vnd.proteus.magazine mgz -application/vnd.publishare-delta-tree qps -application/vnd.pvi.ptid1 ptid -# application/vnd.pwg-multiplexed -# application/vnd.pwg-xhtml-print+xml -# application/vnd.qualcomm.brew-app-res -# application/vnd.quarantainenet -application/vnd.quark.quarkxpress qxd qxt qwd qwt qxl qxb -# application/vnd.quobject-quoxdocument -# application/vnd.radisys.moml+xml -# application/vnd.radisys.msml+xml -# application/vnd.radisys.msml-audit+xml -# application/vnd.radisys.msml-audit-conf+xml -# application/vnd.radisys.msml-audit-conn+xml -# application/vnd.radisys.msml-audit-dialog+xml -# application/vnd.radisys.msml-audit-stream+xml -# application/vnd.radisys.msml-conf+xml -# application/vnd.radisys.msml-dialog+xml -# application/vnd.radisys.msml-dialog-base+xml -# application/vnd.radisys.msml-dialog-fax-detect+xml -# application/vnd.radisys.msml-dialog-fax-sendrecv+xml -# application/vnd.radisys.msml-dialog-group+xml -# application/vnd.radisys.msml-dialog-speech+xml -# application/vnd.radisys.msml-dialog-transform+xml -# application/vnd.rainstor.data -# application/vnd.rapid -# application/vnd.rar -application/vnd.realvnc.bed bed -application/vnd.recordare.musicxml mxl -application/vnd.recordare.musicxml+xml musicxml -# application/vnd.renlearn.rlprint -application/vnd.rig.cryptonote cryptonote -application/vnd.rim.cod cod -application/vnd.rn-realmedia rm -application/vnd.rn-realmedia-vbr rmvb -application/vnd.route66.link66+xml link66 -# application/vnd.rs-274x -# application/vnd.ruckus.download -# application/vnd.s3sms -application/vnd.sailingtracker.track st -# application/vnd.sbm.cid -# application/vnd.sbm.mid2 -# application/vnd.scribus -# application/vnd.sealed.3df -# application/vnd.sealed.csf -# application/vnd.sealed.doc -# application/vnd.sealed.eml -# application/vnd.sealed.mht -# application/vnd.sealed.net -# application/vnd.sealed.ppt -# application/vnd.sealed.tiff -# application/vnd.sealed.xls -# application/vnd.sealedmedia.softseal.html -# application/vnd.sealedmedia.softseal.pdf -application/vnd.seemail see -application/vnd.sema sema -application/vnd.semd semd -application/vnd.semf semf -application/vnd.shana.informed.formdata ifm -application/vnd.shana.informed.formtemplate itp -application/vnd.shana.informed.interchange iif -application/vnd.shana.informed.package ipk -application/vnd.simtech-mindmapper twd twds -# application/vnd.siren+json -application/vnd.smaf mmf -# application/vnd.smart.notebook -application/vnd.smart.teacher teacher -# application/vnd.software602.filler.form+xml -# application/vnd.software602.filler.form-xml-zip -application/vnd.solent.sdkm+xml sdkm sdkd -application/vnd.spotfire.dxp dxp -application/vnd.spotfire.sfs sfs -# application/vnd.sss-cod -# application/vnd.sss-dtf -# application/vnd.sss-ntf -application/vnd.stardivision.calc sdc -application/vnd.stardivision.draw sda -application/vnd.stardivision.impress sdd -application/vnd.stardivision.math smf -application/vnd.stardivision.writer sdw vor -application/vnd.stardivision.writer-global sgl -application/vnd.stepmania.package smzip -application/vnd.stepmania.stepchart sm -# application/vnd.street-stream -# application/vnd.sun.wadl+xml -application/vnd.sun.xml.calc sxc -application/vnd.sun.xml.calc.template stc -application/vnd.sun.xml.draw sxd -application/vnd.sun.xml.draw.template std -application/vnd.sun.xml.impress sxi -application/vnd.sun.xml.impress.template sti -application/vnd.sun.xml.math sxm -application/vnd.sun.xml.writer sxw -application/vnd.sun.xml.writer.global sxg -application/vnd.sun.xml.writer.template stw -application/vnd.sus-calendar sus susp -application/vnd.svd svd -# application/vnd.swiftview-ics -application/vnd.symbian.install sis sisx -application/vnd.syncml+xml xsm -application/vnd.syncml.dm+wbxml bdm -application/vnd.syncml.dm+xml xdm -# application/vnd.syncml.dm.notification -# application/vnd.syncml.dmddf+wbxml -# application/vnd.syncml.dmddf+xml -# application/vnd.syncml.dmtnds+wbxml -# application/vnd.syncml.dmtnds+xml -# application/vnd.syncml.ds.notification -application/vnd.tao.intent-module-archive tao -application/vnd.tcpdump.pcap pcap cap dmp -# application/vnd.tmd.mediaflex.api+xml -# application/vnd.tml -application/vnd.tmobile-livetv tmo -application/vnd.trid.tpt tpt -application/vnd.triscape.mxs mxs -application/vnd.trueapp tra -# application/vnd.truedoc -# application/vnd.ubisoft.webplayer -application/vnd.ufdl ufd ufdl -application/vnd.uiq.theme utz -application/vnd.umajin umj -application/vnd.unity unityweb -application/vnd.uoml+xml uoml -# application/vnd.uplanet.alert -# application/vnd.uplanet.alert-wbxml -# application/vnd.uplanet.bearer-choice -# application/vnd.uplanet.bearer-choice-wbxml -# application/vnd.uplanet.cacheop -# application/vnd.uplanet.cacheop-wbxml -# application/vnd.uplanet.channel -# application/vnd.uplanet.channel-wbxml -# application/vnd.uplanet.list -# application/vnd.uplanet.list-wbxml -# application/vnd.uplanet.listcmd -# application/vnd.uplanet.listcmd-wbxml -# application/vnd.uplanet.signal -# application/vnd.uri-map -# application/vnd.valve.source.material -application/vnd.vcx vcx -# application/vnd.vd-study -# application/vnd.vectorworks -# application/vnd.vel+json -# application/vnd.verimatrix.vcas -# application/vnd.vidsoft.vidconference -application/vnd.visio vsd vst vss vsw -application/vnd.visionary vis -# application/vnd.vividence.scriptfile -application/vnd.vsf vsf -# application/vnd.wap.sic -# application/vnd.wap.slc -application/vnd.wap.wbxml wbxml -application/vnd.wap.wmlc wmlc -application/vnd.wap.wmlscriptc wmlsc -application/vnd.webturbo wtb -# application/vnd.wfa.p2p -# application/vnd.wfa.wsc -# application/vnd.windows.devicepairing -# application/vnd.wmc -# application/vnd.wmf.bootstrap -# application/vnd.wolfram.mathematica -# application/vnd.wolfram.mathematica.package -application/vnd.wolfram.player nbp -application/vnd.wordperfect wpd -application/vnd.wqd wqd -# application/vnd.wrq-hp3000-labelled -application/vnd.wt.stf stf -# application/vnd.wv.csp+wbxml -# application/vnd.wv.csp+xml -# application/vnd.wv.ssp+xml -# application/vnd.xacml+json -application/vnd.xara xar -application/vnd.xfdl xfdl -# application/vnd.xfdl.webform -# application/vnd.xmi+xml -# application/vnd.xmpie.cpkg -# application/vnd.xmpie.dpkg -# application/vnd.xmpie.plan -# application/vnd.xmpie.ppkg -# application/vnd.xmpie.xlim -application/vnd.yamaha.hv-dic hvd -application/vnd.yamaha.hv-script hvs -application/vnd.yamaha.hv-voice hvp -application/vnd.yamaha.openscoreformat osf -application/vnd.yamaha.openscoreformat.osfpvg+xml osfpvg -# application/vnd.yamaha.remote-setup -application/vnd.yamaha.smaf-audio saf -application/vnd.yamaha.smaf-phrase spf -# application/vnd.yamaha.through-ngn -# application/vnd.yamaha.tunnel-udpencap -# application/vnd.yaoweme -application/vnd.yellowriver-custom-menu cmp -application/vnd.zul zir zirz -application/vnd.zzazz.deck+xml zaz -application/voicexml+xml vxml -# application/vq-rtcpxr -# application/watcherinfo+xml -# application/whoispp-query -# application/whoispp-response -application/widget wgt -application/winhlp hlp -# application/wita -# application/wordperfect5.1 -application/wsdl+xml wsdl -application/wspolicy+xml wspolicy -application/x-7z-compressed 7z -application/x-abiword abw -application/x-ace-compressed ace -# application/x-amf -application/x-apple-diskimage dmg -application/x-authorware-bin aab x32 u32 vox -application/x-authorware-map aam -application/x-authorware-seg aas -application/x-bcpio bcpio -application/x-bittorrent torrent -application/x-blorb blb blorb -application/x-bzip bz -application/x-bzip2 bz2 boz -application/x-cbr cbr cba cbt cbz cb7 -application/x-cdlink vcd -application/x-cfs-compressed cfs -application/x-chat chat -application/x-chess-pgn pgn -# application/x-compress -application/x-conference nsc -application/x-cpio cpio -application/x-csh csh -application/x-debian-package deb udeb -application/x-dgc-compressed dgc -application/x-director dir dcr dxr cst cct cxt w3d fgd swa -application/x-doom wad -application/x-dtbncx+xml ncx -application/x-dtbook+xml dtb -application/x-dtbresource+xml res -application/x-dvi dvi -application/x-envoy evy -application/x-eva eva -application/x-font-bdf bdf -# application/x-font-dos -# application/x-font-framemaker -application/x-font-ghostscript gsf -# application/x-font-libgrx -application/x-font-linux-psf psf -application/x-font-otf otf -application/x-font-pcf pcf -application/x-font-snf snf -# application/x-font-speedo -# application/x-font-sunos-news -application/x-font-ttf ttf ttc -application/x-font-type1 pfa pfb pfm afm -# application/x-font-vfont -application/x-freearc arc -application/x-futuresplash spl -application/x-gca-compressed gca -application/x-glulx ulx -application/x-gnumeric gnumeric -application/x-gramps-xml gramps -application/x-gtar gtar -# application/x-gzip -application/x-hdf hdf -application/x-install-instructions install -application/x-iso9660-image iso -application/x-java-jnlp-file jnlp -application/x-latex latex -application/x-lzh-compressed lzh lha -application/x-mie mie -application/x-mobipocket-ebook prc mobi -application/x-ms-application application -application/x-ms-shortcut lnk -application/x-ms-wmd wmd -application/x-ms-wmz wmz -application/x-ms-xbap xbap -application/x-msaccess mdb -application/x-msbinder obd -application/x-mscardfile crd -application/x-msclip clp -application/x-msdownload exe dll com bat msi -application/x-msmediaview mvb m13 m14 -application/x-msmetafile wmf wmz emf emz -application/x-msmoney mny -application/x-mspublisher pub -application/x-msschedule scd -application/x-msterminal trm -application/x-mswrite wri -application/x-netcdf nc cdf -application/x-nzb nzb -application/x-pkcs12 p12 pfx -application/x-pkcs7-certificates p7b spc -application/x-pkcs7-certreqresp p7r -application/x-rar-compressed rar -application/x-research-info-systems ris -application/x-sh sh -application/x-shar shar -application/x-shockwave-flash swf -application/x-silverlight-app xap -application/x-sql sql -application/x-stuffit sit -application/x-stuffitx sitx -application/x-subrip srt -application/x-sv4cpio sv4cpio -application/x-sv4crc sv4crc -application/x-t3vm-image t3 -application/x-tads gam -application/x-tar tar -application/x-tcl tcl -application/x-tex tex -application/x-tex-tfm tfm -application/x-texinfo texinfo texi -application/x-tgif obj -application/x-ustar ustar -application/x-wais-source src -# application/x-www-form-urlencoded -application/x-x509-ca-cert der crt -application/x-xfig fig -application/x-xliff+xml xlf -application/x-xpinstall xpi -application/x-xz xz -application/x-zmachine z1 z2 z3 z4 z5 z6 z7 z8 -# application/x400-bp -# application/xacml+xml -application/xaml+xml xaml -# application/xcap-att+xml -# application/xcap-caps+xml -application/xcap-diff+xml xdf -# application/xcap-el+xml -# application/xcap-error+xml -# application/xcap-ns+xml -# application/xcon-conference-info+xml -# application/xcon-conference-info-diff+xml -application/xenc+xml xenc -application/xhtml+xml xhtml xht -# application/xhtml-voice+xml -application/xml xml xsl -application/xml-dtd dtd -# application/xml-external-parsed-entity -# application/xml-patch+xml -# application/xmpp+xml -application/xop+xml xop -application/xproc+xml xpl -application/xslt+xml xslt -application/xspf+xml xspf -application/xv+xml mxml xhvml xvml xvm -application/yang yang -application/yin+xml yin -application/zip zip -# application/zlib -# audio/1d-interleaved-parityfec -# audio/32kadpcm -# audio/3gpp -# audio/3gpp2 -# audio/ac3 -audio/adpcm adp -# audio/amr -# audio/amr-wb -# audio/amr-wb+ -# audio/aptx -# audio/asc -# audio/atrac-advanced-lossless -# audio/atrac-x -# audio/atrac3 -audio/basic au snd -# audio/bv16 -# audio/bv32 -# audio/clearmode -# audio/cn -# audio/dat12 -# audio/dls -# audio/dsr-es201108 -# audio/dsr-es202050 -# audio/dsr-es202211 -# audio/dsr-es202212 -# audio/dv -# audio/dvi4 -# audio/eac3 -# audio/encaprtp -# audio/evrc -# audio/evrc-qcp -# audio/evrc0 -# audio/evrc1 -# audio/evrcb -# audio/evrcb0 -# audio/evrcb1 -# audio/evrcnw -# audio/evrcnw0 -# audio/evrcnw1 -# audio/evrcwb -# audio/evrcwb0 -# audio/evrcwb1 -# audio/evs -# audio/example -# audio/fwdred -# audio/g711-0 -# audio/g719 -# audio/g722 -# audio/g7221 -# audio/g723 -# audio/g726-16 -# audio/g726-24 -# audio/g726-32 -# audio/g726-40 -# audio/g728 -# audio/g729 -# audio/g7291 -# audio/g729d -# audio/g729e -# audio/gsm -# audio/gsm-efr -# audio/gsm-hr-08 -# audio/ilbc -# audio/ip-mr_v2.5 -# audio/isac -# audio/l16 -# audio/l20 -# audio/l24 -# audio/l8 -# audio/lpc -audio/midi mid midi kar rmi -# audio/mobile-xmf -audio/mp4 m4a mp4a -# audio/mp4a-latm -# audio/mpa -# audio/mpa-robust -audio/mpeg mpga mp2 mp2a mp3 m2a m3a -# audio/mpeg4-generic -# audio/musepack -audio/ogg oga ogg spx -# audio/opus -# audio/parityfec -# audio/pcma -# audio/pcma-wb -# audio/pcmu -# audio/pcmu-wb -# audio/prs.sid -# audio/qcelp -# audio/raptorfec -# audio/red -# audio/rtp-enc-aescm128 -# audio/rtp-midi -# audio/rtploopback -# audio/rtx -audio/s3m s3m -audio/silk sil -# audio/smv -# audio/smv-qcp -# audio/smv0 -# audio/sp-midi -# audio/speex -# audio/t140c -# audio/t38 -# audio/telephone-event -# audio/tone -# audio/uemclip -# audio/ulpfec -# audio/vdvi -# audio/vmr-wb -# audio/vnd.3gpp.iufp -# audio/vnd.4sb -# audio/vnd.audiokoz -# audio/vnd.celp -# audio/vnd.cisco.nse -# audio/vnd.cmles.radio-events -# audio/vnd.cns.anp1 -# audio/vnd.cns.inf1 -audio/vnd.dece.audio uva uvva -audio/vnd.digital-winds eol -# audio/vnd.dlna.adts -# audio/vnd.dolby.heaac.1 -# audio/vnd.dolby.heaac.2 -# audio/vnd.dolby.mlp -# audio/vnd.dolby.mps -# audio/vnd.dolby.pl2 -# audio/vnd.dolby.pl2x -# audio/vnd.dolby.pl2z -# audio/vnd.dolby.pulse.1 -audio/vnd.dra dra -audio/vnd.dts dts -audio/vnd.dts.hd dtshd -# audio/vnd.dvb.file -# audio/vnd.everad.plj -# audio/vnd.hns.audio -audio/vnd.lucent.voice lvp -audio/vnd.ms-playready.media.pya pya -# audio/vnd.nokia.mobile-xmf -# audio/vnd.nortel.vbk -audio/vnd.nuera.ecelp4800 ecelp4800 -audio/vnd.nuera.ecelp7470 ecelp7470 -audio/vnd.nuera.ecelp9600 ecelp9600 -# audio/vnd.octel.sbc -# audio/vnd.qcelp -# audio/vnd.rhetorex.32kadpcm -audio/vnd.rip rip -# audio/vnd.sealedmedia.softseal.mpeg -# audio/vnd.vmx.cvsd -# audio/vorbis -# audio/vorbis-config -audio/webm weba -audio/x-aac aac -audio/x-aiff aif aiff aifc -audio/x-caf caf -audio/x-flac flac -audio/x-matroska mka -audio/x-mpegurl m3u -audio/x-ms-wax wax -audio/x-ms-wma wma -audio/x-pn-realaudio ram ra -audio/x-pn-realaudio-plugin rmp -# audio/x-tta -audio/x-wav wav -audio/xm xm -chemical/x-cdx cdx -chemical/x-cif cif -chemical/x-cmdf cmdf -chemical/x-cml cml -chemical/x-csml csml -# chemical/x-pdb -chemical/x-xyz xyz -image/bmp bmp -image/cgm cgm -# image/dicom-rle -# image/emf -# image/example -# image/fits -image/g3fax g3 -image/gif gif -image/ief ief -# image/jls -# image/jp2 -image/jpeg jpeg jpg jpe -# image/jpm -# image/jpx -image/ktx ktx -# image/naplps -image/png png -image/prs.btif btif -# image/prs.pti -# image/pwg-raster -image/sgi sgi -image/svg+xml svg svgz -# image/t38 -image/tiff tiff tif -# image/tiff-fx -image/vnd.adobe.photoshop psd -# image/vnd.airzip.accelerator.azv -# image/vnd.cns.inf2 -image/vnd.dece.graphic uvi uvvi uvg uvvg -image/vnd.djvu djvu djv -image/vnd.dvb.subtitle sub -image/vnd.dwg dwg -image/vnd.dxf dxf -image/vnd.fastbidsheet fbs -image/vnd.fpx fpx -image/vnd.fst fst -image/vnd.fujixerox.edmics-mmr mmr -image/vnd.fujixerox.edmics-rlc rlc -# image/vnd.globalgraphics.pgb -# image/vnd.microsoft.icon -# image/vnd.mix -# image/vnd.mozilla.apng -image/vnd.ms-modi mdi -image/vnd.ms-photo wdp -image/vnd.net-fpx npx -# image/vnd.radiance -# image/vnd.sealed.png -# image/vnd.sealedmedia.softseal.gif -# image/vnd.sealedmedia.softseal.jpg -# image/vnd.svf -# image/vnd.tencent.tap -# image/vnd.valve.source.texture -image/vnd.wap.wbmp wbmp -image/vnd.xiff xif -# image/vnd.zbrush.pcx -image/webp webp -# image/wmf -image/x-3ds 3ds -image/x-cmu-raster ras -image/x-cmx cmx -image/x-freehand fh fhc fh4 fh5 fh7 -image/x-icon ico -image/x-mrsid-image sid -image/x-pcx pcx -image/x-pict pic pct -image/x-portable-anymap pnm -image/x-portable-bitmap pbm -image/x-portable-graymap pgm -image/x-portable-pixmap ppm -image/x-rgb rgb -image/x-tga tga -image/x-xbitmap xbm -image/x-xpixmap xpm -image/x-xwindowdump xwd -# message/cpim -# message/delivery-status -# message/disposition-notification -# message/example -# message/external-body -# message/feedback-report -# message/global -# message/global-delivery-status -# message/global-disposition-notification -# message/global-headers -# message/http -# message/imdn+xml -# message/news -# message/partial -message/rfc822 eml mime -# message/s-http -# message/sip -# message/sipfrag -# message/tracking-status -# message/vnd.si.simp -# message/vnd.wfa.wsc -# model/example -# model/gltf+json -model/iges igs iges -model/mesh msh mesh silo -model/vnd.collada+xml dae -model/vnd.dwf dwf -# model/vnd.flatland.3dml -model/vnd.gdl gdl -# model/vnd.gs-gdl -# model/vnd.gs.gdl -model/vnd.gtw gtw -# model/vnd.moml+xml -model/vnd.mts mts -# model/vnd.opengex -# model/vnd.parasolid.transmit.binary -# model/vnd.parasolid.transmit.text -# model/vnd.rosette.annotated-data-model -# model/vnd.valve.source.compiled-map -model/vnd.vtu vtu -model/vrml wrl vrml -model/x3d+binary x3db x3dbz -# model/x3d+fastinfoset -model/x3d+vrml x3dv x3dvz -model/x3d+xml x3d x3dz -# model/x3d-vrml -# multipart/alternative -# multipart/appledouble -# multipart/byteranges -# multipart/digest -# multipart/encrypted -# multipart/example -# multipart/form-data -# multipart/header-set -# multipart/mixed -# multipart/parallel -# multipart/related -# multipart/report -# multipart/signed -# multipart/voice-message -# multipart/x-mixed-replace -# text/1d-interleaved-parityfec -text/cache-manifest appcache -text/calendar ics ifb -text/css css -text/csv csv -# text/csv-schema -# text/directory -# text/dns -# text/ecmascript -# text/encaprtp -# text/enriched -# text/example -# text/fwdred -# text/grammar-ref-list -text/html html htm -# text/javascript -# text/jcr-cnd -# text/markdown -# text/mizar -text/n3 n3 -# text/parameters -# text/parityfec -text/plain txt text conf def list log in -# text/provenance-notation -# text/prs.fallenstein.rst -text/prs.lines.tag dsc -# text/prs.prop.logic -# text/raptorfec -# text/red -# text/rfc822-headers -text/richtext rtx -# text/rtf -# text/rtp-enc-aescm128 -# text/rtploopback -# text/rtx -text/sgml sgml sgm -# text/t140 -text/tab-separated-values tsv -text/troff t tr roff man me ms -text/turtle ttl -# text/ulpfec -text/uri-list uri uris urls -text/vcard vcard -# text/vnd.a -# text/vnd.abc -text/vnd.curl curl -text/vnd.curl.dcurl dcurl -text/vnd.curl.mcurl mcurl -text/vnd.curl.scurl scurl -# text/vnd.debian.copyright -# text/vnd.dmclientscript -text/vnd.dvb.subtitle sub -# text/vnd.esmertec.theme-descriptor -text/vnd.fly fly -text/vnd.fmi.flexstor flx -text/vnd.graphviz gv -text/vnd.in3d.3dml 3dml -text/vnd.in3d.spot spot -# text/vnd.iptc.newsml -# text/vnd.iptc.nitf -# text/vnd.latex-z -# text/vnd.motorola.reflex -# text/vnd.ms-mediapackage -# text/vnd.net2phone.commcenter.command -# text/vnd.radisys.msml-basic-layout -# text/vnd.si.uricatalogue -text/vnd.sun.j2me.app-descriptor jad -# text/vnd.trolltech.linguist -# text/vnd.wap.si -# text/vnd.wap.sl -text/vnd.wap.wml wml -text/vnd.wap.wmlscript wmls -text/x-asm s asm -text/x-c c cc cxx cpp h hh dic -text/x-fortran f for f77 f90 -text/x-java-source java -text/x-nfo nfo -text/x-opml opml -text/x-pascal p pas -text/x-setext etx -text/x-sfv sfv -text/x-uuencode uu -text/x-vcalendar vcs -text/x-vcard vcf -# text/xml -# text/xml-external-parsed-entity -# video/1d-interleaved-parityfec -video/3gpp 3gp -# video/3gpp-tt -video/3gpp2 3g2 -# video/bmpeg -# video/bt656 -# video/celb -# video/dv -# video/encaprtp -# video/example -video/h261 h261 -video/h263 h263 -# video/h263-1998 -# video/h263-2000 -video/h264 h264 -# video/h264-rcdo -# video/h264-svc -# video/h265 -# video/iso.segment -video/jpeg jpgv -# video/jpeg2000 -video/jpm jpm jpgm -video/mj2 mj2 mjp2 -# video/mp1s -# video/mp2p -# video/mp2t -video/mp4 mp4 mp4v mpg4 -# video/mp4v-es -video/mpeg mpeg mpg mpe m1v m2v -# video/mpeg4-generic -# video/mpv -# video/nv -video/ogg ogv -# video/parityfec -# video/pointer -video/quicktime qt mov -# video/raptorfec -# video/raw -# video/rtp-enc-aescm128 -# video/rtploopback -# video/rtx -# video/smpte292m -# video/ulpfec -# video/vc1 -# video/vnd.cctv -video/vnd.dece.hd uvh uvvh -video/vnd.dece.mobile uvm uvvm -# video/vnd.dece.mp4 -video/vnd.dece.pd uvp uvvp -video/vnd.dece.sd uvs uvvs -video/vnd.dece.video uvv uvvv -# video/vnd.directv.mpeg -# video/vnd.directv.mpeg-tts -# video/vnd.dlna.mpeg-tts -video/vnd.dvb.file dvb -video/vnd.fvt fvt -# video/vnd.hns.video -# video/vnd.iptvforum.1dparityfec-1010 -# video/vnd.iptvforum.1dparityfec-2005 -# video/vnd.iptvforum.2dparityfec-1010 -# video/vnd.iptvforum.2dparityfec-2005 -# video/vnd.iptvforum.ttsavc -# video/vnd.iptvforum.ttsmpeg2 -# video/vnd.motorola.video -# video/vnd.motorola.videop -video/vnd.mpegurl mxu m4u -video/vnd.ms-playready.media.pyv pyv -# video/vnd.nokia.interleaved-multimedia -# video/vnd.nokia.videovoip -# video/vnd.objectvideo -# video/vnd.radgamettools.bink -# video/vnd.radgamettools.smacker -# video/vnd.sealed.mpeg1 -# video/vnd.sealed.mpeg4 -# video/vnd.sealed.swf -# video/vnd.sealedmedia.softseal.mov -video/vnd.uvvu.mp4 uvu uvvu -video/vnd.vivo viv -# video/vp8 -video/webm webm -video/x-f4v f4v -video/x-fli fli -video/x-flv flv -video/x-m4v m4v -video/x-matroska mkv mk3d mks -video/x-mng mng -video/x-ms-asf asf asx -video/x-ms-vob vob -video/x-ms-wm wm -video/x-ms-wmv wmv -video/x-ms-wmx wmx -video/x-ms-wvx wvx -video/x-msvideo avi -video/x-sgi-movie movie -video/x-smv smv -x-conference/x-cooltalk ice diff --git a/app/data/mime_types.php b/app/data/mime_types.php deleted file mode 100755 index ca1fa524d1..0000000000 --- a/app/data/mime_types.php +++ /dev/null @@ -1 +0,0 @@ -array('id'=>1,'t'=>'application/andrew-inset','e'=>array(0=>'ez')),2=>array('id'=>2,'t'=>'application/applixware','e'=>array(0=>'aw')),3=>array('id'=>3,'t'=>'application/atom+xml','e'=>array(0=>'atom')),4=>array('id'=>4,'t'=>'application/atomcat+xml','e'=>array(0=>'atomcat')),5=>array('id'=>5,'t'=>'application/atomsvc+xml','e'=>array(0=>'atomsvc')),6=>array('id'=>6,'t'=>'application/ccxml+xml','e'=>array(0=>'ccxml')),7=>array('id'=>7,'t'=>'application/cdmi-capability','e'=>array(0=>'cdmia')),8=>array('id'=>8,'t'=>'application/cdmi-container','e'=>array(0=>'cdmic')),9=>array('id'=>9,'t'=>'application/cdmi-domain','e'=>array(0=>'cdmid')),10=>array('id'=>10,'t'=>'application/cdmi-object','e'=>array(0=>'cdmio')),11=>array('id'=>11,'t'=>'application/cdmi-queue','e'=>array(0=>'cdmiq')),12=>array('id'=>12,'t'=>'application/cu-seeme','e'=>array(0=>'cu')),13=>array('id'=>13,'t'=>'application/davmount+xml','e'=>array(0=>'davmount')),14=>array('id'=>14,'t'=>'application/docbook+xml','e'=>array(0=>'dbk')),15=>array('id'=>15,'t'=>'application/dssc+der','e'=>array(0=>'dssc')),16=>array('id'=>16,'t'=>'application/dssc+xml','e'=>array(0=>'xdssc')),17=>array('id'=>17,'t'=>'application/ecmascript','e'=>array(0=>'ecma')),18=>array('id'=>18,'t'=>'application/emma+xml','e'=>array(0=>'emma')),19=>array('id'=>19,'t'=>'application/epub+zip','e'=>array(0=>'epub')),20=>array('id'=>20,'t'=>'application/exi','e'=>array(0=>'exi')),21=>array('id'=>21,'t'=>'application/font-tdpfr','e'=>array(0=>'pfr')),22=>array('id'=>22,'t'=>'application/font-woff','e'=>array(0=>'woff')),23=>array('id'=>23,'t'=>'application/gml+xml','e'=>array(0=>'gml')),24=>array('id'=>24,'t'=>'application/gpx+xml','e'=>array(0=>'gpx')),25=>array('id'=>25,'t'=>'application/gxf','e'=>array(0=>'gxf')),26=>array('id'=>26,'t'=>'application/hyperstudio','e'=>array(0=>'stk')),27=>array('id'=>27,'t'=>'application/inkml+xml','e'=>array(0=>'ink',1=>'inkml')),28=>array('id'=>28,'t'=>'application/ipfix','e'=>array(0=>'ipfix')),29=>array('id'=>29,'t'=>'application/java-archive','e'=>array(0=>'jar')),30=>array('id'=>30,'t'=>'application/java-serialized-object','e'=>array(0=>'ser')),31=>array('id'=>31,'t'=>'application/java-vm','e'=>array(0=>'class')),32=>array('id'=>32,'t'=>'application/javascript','e'=>array(0=>'js')),33=>array('id'=>33,'t'=>'application/json','e'=>array(0=>'json')),34=>array('id'=>34,'t'=>'application/jsonml+json','e'=>array(0=>'jsonml')),35=>array('id'=>35,'t'=>'application/lost+xml','e'=>array(0=>'lostxml')),36=>array('id'=>36,'t'=>'application/mac-binhex40','e'=>array(0=>'hqx')),37=>array('id'=>37,'t'=>'application/mac-compactpro','e'=>array(0=>'cpt')),38=>array('id'=>38,'t'=>'application/mads+xml','e'=>array(0=>'mads')),39=>array('id'=>39,'t'=>'application/marc','e'=>array(0=>'mrc')),40=>array('id'=>40,'t'=>'application/marcxml+xml','e'=>array(0=>'mrcx')),41=>array('id'=>41,'t'=>'application/mathematica','e'=>array(0=>'ma',1=>'nb',2=>'mb')),42=>array('id'=>42,'t'=>'application/mathml+xml','e'=>array(0=>'mathml')),43=>array('id'=>43,'t'=>'application/mbox','e'=>array(0=>'mbox')),44=>array('id'=>44,'t'=>'application/mediaservercontrol+xml','e'=>array(0=>'mscml')),45=>array('id'=>45,'t'=>'application/metalink+xml','e'=>array(0=>'metalink')),46=>array('id'=>46,'t'=>'application/metalink4+xml','e'=>array(0=>'meta4')),47=>array('id'=>47,'t'=>'application/mets+xml','e'=>array(0=>'mets')),48=>array('id'=>48,'t'=>'application/mods+xml','e'=>array(0=>'mods')),49=>array('id'=>49,'t'=>'application/mp21','e'=>array(0=>'m21',1=>'mp21')),50=>array('id'=>50,'t'=>'application/mp4','e'=>array(0=>'mp4s')),51=>array('id'=>51,'t'=>'application/msword','e'=>array(0=>'doc',1=>'dot')),52=>array('id'=>52,'t'=>'application/mxf','e'=>array(0=>'mxf')),53=>array('id'=>53,'t'=>'application/octet-stream','e'=>array(0=>'bin',1=>'dms',2=>'lrf',3=>'mar',4=>'so',5=>'dist',6=>'distz',7=>'pkg',8=>'bpk',9=>'dump',10=>'elc',11=>'deploy')),54=>array('id'=>54,'t'=>'application/oda','e'=>array(0=>'oda')),55=>array('id'=>55,'t'=>'application/oebps-package+xml','e'=>array(0=>'opf')),56=>array('id'=>56,'t'=>'application/ogg','e'=>array(0=>'ogx')),57=>array('id'=>57,'t'=>'application/omdoc+xml','e'=>array(0=>'omdoc')),58=>array('id'=>58,'t'=>'application/onenote','e'=>array(0=>'onetoc',1=>'onetoc2',2=>'onetmp',3=>'onepkg')),59=>array('id'=>59,'t'=>'application/oxps','e'=>array(0=>'oxps')),60=>array('id'=>60,'t'=>'application/patch-ops-error+xml','e'=>array(0=>'xer')),61=>array('id'=>61,'t'=>'application/pdf','e'=>array(0=>'pdf')),62=>array('id'=>62,'t'=>'application/pgp-encrypted','e'=>array(0=>'pgp')),63=>array('id'=>63,'t'=>'application/pgp-signature','e'=>array(0=>'asc',1=>'sig')),64=>array('id'=>64,'t'=>'application/pics-rules','e'=>array(0=>'prf')),65=>array('id'=>65,'t'=>'application/pkcs10','e'=>array(0=>'p10')),66=>array('id'=>66,'t'=>'application/pkcs7-mime','e'=>array(0=>'p7m',1=>'p7c')),67=>array('id'=>67,'t'=>'application/pkcs7-signature','e'=>array(0=>'p7s')),68=>array('id'=>68,'t'=>'application/pkcs8','e'=>array(0=>'p8')),69=>array('id'=>69,'t'=>'application/pkix-attr-cert','e'=>array(0=>'ac')),70=>array('id'=>70,'t'=>'application/pkix-cert','e'=>array(0=>'cer')),71=>array('id'=>71,'t'=>'application/pkix-crl','e'=>array(0=>'crl')),72=>array('id'=>72,'t'=>'application/pkix-pkipath','e'=>array(0=>'pkipath')),73=>array('id'=>73,'t'=>'application/pkixcmp','e'=>array(0=>'pki')),74=>array('id'=>74,'t'=>'application/pls+xml','e'=>array(0=>'pls')),75=>array('id'=>75,'t'=>'application/postscript','e'=>array(0=>'ai',1=>'eps',2=>'ps')),76=>array('id'=>76,'t'=>'application/prs.cww','e'=>array(0=>'cww')),77=>array('id'=>77,'t'=>'application/pskc+xml','e'=>array(0=>'pskcxml')),78=>array('id'=>78,'t'=>'application/rdf+xml','e'=>array(0=>'rdf')),79=>array('id'=>79,'t'=>'application/reginfo+xml','e'=>array(0=>'rif')),80=>array('id'=>80,'t'=>'application/relax-ng-compact-syntax','e'=>array(0=>'rnc')),81=>array('id'=>81,'t'=>'application/resource-lists+xml','e'=>array(0=>'rl')),82=>array('id'=>82,'t'=>'application/resource-lists-diff+xml','e'=>array(0=>'rld')),83=>array('id'=>83,'t'=>'application/rls-services+xml','e'=>array(0=>'rs')),84=>array('id'=>84,'t'=>'application/rpki-ghostbusters','e'=>array(0=>'gbr')),85=>array('id'=>85,'t'=>'application/rpki-manifest','e'=>array(0=>'mft')),86=>array('id'=>86,'t'=>'application/rpki-roa','e'=>array(0=>'roa')),87=>array('id'=>87,'t'=>'application/rsd+xml','e'=>array(0=>'rsd')),88=>array('id'=>88,'t'=>'application/rss+xml','e'=>array(0=>'rss')),89=>array('id'=>89,'t'=>'application/rtf','e'=>array(0=>'rtf')),90=>array('id'=>90,'t'=>'application/sbml+xml','e'=>array(0=>'sbml')),91=>array('id'=>91,'t'=>'application/scvp-cv-request','e'=>array(0=>'scq')),92=>array('id'=>92,'t'=>'application/scvp-cv-response','e'=>array(0=>'scs')),93=>array('id'=>93,'t'=>'application/scvp-vp-request','e'=>array(0=>'spq')),94=>array('id'=>94,'t'=>'application/scvp-vp-response','e'=>array(0=>'spp')),95=>array('id'=>95,'t'=>'application/sdp','e'=>array(0=>'sdp')),96=>array('id'=>96,'t'=>'application/set-payment-initiation','e'=>array(0=>'setpay')),97=>array('id'=>97,'t'=>'application/set-registration-initiation','e'=>array(0=>'setreg')),98=>array('id'=>98,'t'=>'application/shf+xml','e'=>array(0=>'shf')),99=>array('id'=>99,'t'=>'application/smil+xml','e'=>array(0=>'smi',1=>'smil')),100=>array('id'=>100,'t'=>'application/sparql-query','e'=>array(0=>'rq')),101=>array('id'=>101,'t'=>'application/sparql-results+xml','e'=>array(0=>'srx')),102=>array('id'=>102,'t'=>'application/srgs','e'=>array(0=>'gram')),103=>array('id'=>103,'t'=>'application/srgs+xml','e'=>array(0=>'grxml')),104=>array('id'=>104,'t'=>'application/sru+xml','e'=>array(0=>'sru')),105=>array('id'=>105,'t'=>'application/ssdl+xml','e'=>array(0=>'ssdl')),106=>array('id'=>106,'t'=>'application/ssml+xml','e'=>array(0=>'ssml')),107=>array('id'=>107,'t'=>'application/tei+xml','e'=>array(0=>'tei',1=>'teicorpus')),108=>array('id'=>108,'t'=>'application/thraud+xml','e'=>array(0=>'tfi')),109=>array('id'=>109,'t'=>'application/timestamped-data','e'=>array(0=>'tsd')),110=>array('id'=>110,'t'=>'application/vnd.3gpp.pic-bw-large','e'=>array(0=>'plb')),111=>array('id'=>111,'t'=>'application/vnd.3gpp.pic-bw-small','e'=>array(0=>'psb')),112=>array('id'=>112,'t'=>'application/vnd.3gpp.pic-bw-var','e'=>array(0=>'pvb')),113=>array('id'=>113,'t'=>'application/vnd.3gpp2.tcap','e'=>array(0=>'tcap')),114=>array('id'=>114,'t'=>'application/vnd.3m.post-it-notes','e'=>array(0=>'pwn')),115=>array('id'=>115,'t'=>'application/vnd.accpac.simply.aso','e'=>array(0=>'aso')),116=>array('id'=>116,'t'=>'application/vnd.accpac.simply.imp','e'=>array(0=>'imp')),117=>array('id'=>117,'t'=>'application/vnd.acucobol','e'=>array(0=>'acu')),118=>array('id'=>118,'t'=>'application/vnd.acucorp','e'=>array(0=>'atc',1=>'acutc')),119=>array('id'=>119,'t'=>'application/vnd.adobe.air-application-installer-package+zip','e'=>array(0=>'air')),120=>array('id'=>120,'t'=>'application/vnd.adobe.formscentral.fcdt','e'=>array(0=>'fcdt')),121=>array('id'=>121,'t'=>'application/vnd.adobe.fxp','e'=>array(0=>'fxp',1=>'fxpl')),122=>array('id'=>122,'t'=>'application/vnd.adobe.xdp+xml','e'=>array(0=>'xdp')),123=>array('id'=>123,'t'=>'application/vnd.adobe.xfdf','e'=>array(0=>'xfdf')),124=>array('id'=>124,'t'=>'application/vnd.ahead.space','e'=>array(0=>'ahead')),125=>array('id'=>125,'t'=>'application/vnd.airzip.filesecure.azf','e'=>array(0=>'azf')),126=>array('id'=>126,'t'=>'application/vnd.airzip.filesecure.azs','e'=>array(0=>'azs')),127=>array('id'=>127,'t'=>'application/vnd.amazon.ebook','e'=>array(0=>'azw')),128=>array('id'=>128,'t'=>'application/vnd.americandynamics.acc','e'=>array(0=>'acc')),129=>array('id'=>129,'t'=>'application/vnd.amiga.ami','e'=>array(0=>'ami')),130=>array('id'=>130,'t'=>'application/vnd.android.package-archive','e'=>array(0=>'apk')),131=>array('id'=>131,'t'=>'application/vnd.anser-web-certificate-issue-initiation','e'=>array(0=>'cii')),132=>array('id'=>132,'t'=>'application/vnd.anser-web-funds-transfer-initiation','e'=>array(0=>'fti')),133=>array('id'=>133,'t'=>'application/vnd.antix.game-component','e'=>array(0=>'atx')),134=>array('id'=>134,'t'=>'application/vnd.apple.installer+xml','e'=>array(0=>'mpkg')),135=>array('id'=>135,'t'=>'application/vnd.apple.mpegurl','e'=>array(0=>'m3u8')),136=>array('id'=>136,'t'=>'application/vnd.aristanetworks.swi','e'=>array(0=>'swi')),137=>array('id'=>137,'t'=>'application/vnd.astraea-software.iota','e'=>array(0=>'iota')),138=>array('id'=>138,'t'=>'application/vnd.audiograph','e'=>array(0=>'aep')),139=>array('id'=>139,'t'=>'application/vnd.blueice.multipass','e'=>array(0=>'mpm')),140=>array('id'=>140,'t'=>'application/vnd.bmi','e'=>array(0=>'bmi')),141=>array('id'=>141,'t'=>'application/vnd.businessobjects','e'=>array(0=>'rep')),142=>array('id'=>142,'t'=>'application/vnd.chemdraw+xml','e'=>array(0=>'cdxml')),143=>array('id'=>143,'t'=>'application/vnd.chipnuts.karaoke-mmd','e'=>array(0=>'mmd')),144=>array('id'=>144,'t'=>'application/vnd.cinderella','e'=>array(0=>'cdy')),145=>array('id'=>145,'t'=>'application/vnd.claymore','e'=>array(0=>'cla')),146=>array('id'=>146,'t'=>'application/vnd.cloanto.rp9','e'=>array(0=>'rp9')),147=>array('id'=>147,'t'=>'application/vnd.clonk.c4group','e'=>array(0=>'c4g',1=>'c4d',2=>'c4f',3=>'c4p',4=>'c4u')),148=>array('id'=>148,'t'=>'application/vnd.cluetrust.cartomobile-config','e'=>array(0=>'c11amc')),149=>array('id'=>149,'t'=>'application/vnd.cluetrust.cartomobile-config-pkg','e'=>array(0=>'c11amz')),150=>array('id'=>150,'t'=>'application/vnd.commonspace','e'=>array(0=>'csp')),151=>array('id'=>151,'t'=>'application/vnd.contact.cmsg','e'=>array(0=>'cdbcmsg')),152=>array('id'=>152,'t'=>'application/vnd.cosmocaller','e'=>array(0=>'cmc')),153=>array('id'=>153,'t'=>'application/vnd.crick.clicker','e'=>array(0=>'clkx')),154=>array('id'=>154,'t'=>'application/vnd.crick.clicker.keyboard','e'=>array(0=>'clkk')),155=>array('id'=>155,'t'=>'application/vnd.crick.clicker.palette','e'=>array(0=>'clkp')),156=>array('id'=>156,'t'=>'application/vnd.crick.clicker.template','e'=>array(0=>'clkt')),157=>array('id'=>157,'t'=>'application/vnd.crick.clicker.wordbank','e'=>array(0=>'clkw')),158=>array('id'=>158,'t'=>'application/vnd.criticaltools.wbs+xml','e'=>array(0=>'wbs')),159=>array('id'=>159,'t'=>'application/vnd.ctc-posml','e'=>array(0=>'pml')),160=>array('id'=>160,'t'=>'application/vnd.cups-ppd','e'=>array(0=>'ppd')),161=>array('id'=>161,'t'=>'application/vnd.curl.car','e'=>array(0=>'car')),162=>array('id'=>162,'t'=>'application/vnd.curl.pcurl','e'=>array(0=>'pcurl')),163=>array('id'=>163,'t'=>'application/vnd.dart','e'=>array(0=>'dart')),164=>array('id'=>164,'t'=>'application/vnd.data-vision.rdz','e'=>array(0=>'rdz')),165=>array('id'=>165,'t'=>'application/vnd.dece.data','e'=>array(0=>'uvf',1=>'uvvf',2=>'uvd',3=>'uvvd')),166=>array('id'=>166,'t'=>'application/vnd.dece.ttml+xml','e'=>array(0=>'uvt',1=>'uvvt')),167=>array('id'=>167,'t'=>'application/vnd.dece.unspecified','e'=>array(0=>'uvx',1=>'uvvx')),168=>array('id'=>168,'t'=>'application/vnd.dece.zip','e'=>array(0=>'uvz',1=>'uvvz')),169=>array('id'=>169,'t'=>'application/vnd.denovo.fcselayout-link','e'=>array(0=>'fe_launch')),170=>array('id'=>170,'t'=>'application/vnd.dna','e'=>array(0=>'dna')),171=>array('id'=>171,'t'=>'application/vnd.dolby.mlp','e'=>array(0=>'mlp')),172=>array('id'=>172,'t'=>'application/vnd.dpgraph','e'=>array(0=>'dpg')),173=>array('id'=>173,'t'=>'application/vnd.dreamfactory','e'=>array(0=>'dfac')),174=>array('id'=>174,'t'=>'application/vnd.ds-keypoint','e'=>array(0=>'kpxx')),175=>array('id'=>175,'t'=>'application/vnd.dvb.ait','e'=>array(0=>'ait')),176=>array('id'=>176,'t'=>'application/vnd.dvb.service','e'=>array(0=>'svc')),177=>array('id'=>177,'t'=>'application/vnd.dynageo','e'=>array(0=>'geo')),178=>array('id'=>178,'t'=>'application/vnd.ecowin.chart','e'=>array(0=>'mag')),179=>array('id'=>179,'t'=>'application/vnd.enliven','e'=>array(0=>'nml')),180=>array('id'=>180,'t'=>'application/vnd.epson.esf','e'=>array(0=>'esf')),181=>array('id'=>181,'t'=>'application/vnd.epson.msf','e'=>array(0=>'msf')),182=>array('id'=>182,'t'=>'application/vnd.epson.quickanime','e'=>array(0=>'qam')),183=>array('id'=>183,'t'=>'application/vnd.epson.salt','e'=>array(0=>'slt')),184=>array('id'=>184,'t'=>'application/vnd.epson.ssf','e'=>array(0=>'ssf')),185=>array('id'=>185,'t'=>'application/vnd.eszigno3+xml','e'=>array(0=>'es3',1=>'et3')),186=>array('id'=>186,'t'=>'application/vnd.ezpix-album','e'=>array(0=>'ez2')),187=>array('id'=>187,'t'=>'application/vnd.ezpix-package','e'=>array(0=>'ez3')),188=>array('id'=>188,'t'=>'application/vnd.fdf','e'=>array(0=>'fdf')),189=>array('id'=>189,'t'=>'application/vnd.fdsn.mseed','e'=>array(0=>'mseed')),190=>array('id'=>190,'t'=>'application/vnd.fdsn.seed','e'=>array(0=>'seed',1=>'dataless')),191=>array('id'=>191,'t'=>'application/vnd.flographit','e'=>array(0=>'gph')),192=>array('id'=>192,'t'=>'application/vnd.fluxtime.clip','e'=>array(0=>'ftc')),193=>array('id'=>193,'t'=>'application/vnd.framemaker','e'=>array(0=>'fm',1=>'frame',2=>'maker',3=>'book')),194=>array('id'=>194,'t'=>'application/vnd.frogans.fnc','e'=>array(0=>'fnc')),195=>array('id'=>195,'t'=>'application/vnd.frogans.ltf','e'=>array(0=>'ltf')),196=>array('id'=>196,'t'=>'application/vnd.fsc.weblaunch','e'=>array(0=>'fsc')),197=>array('id'=>197,'t'=>'application/vnd.fujitsu.oasys','e'=>array(0=>'oas')),198=>array('id'=>198,'t'=>'application/vnd.fujitsu.oasys2','e'=>array(0=>'oa2')),199=>array('id'=>199,'t'=>'application/vnd.fujitsu.oasys3','e'=>array(0=>'oa3')),200=>array('id'=>200,'t'=>'application/vnd.fujitsu.oasysgp','e'=>array(0=>'fg5')),201=>array('id'=>201,'t'=>'application/vnd.fujitsu.oasysprs','e'=>array(0=>'bh2')),202=>array('id'=>202,'t'=>'application/vnd.fujixerox.ddd','e'=>array(0=>'ddd')),203=>array('id'=>203,'t'=>'application/vnd.fujixerox.docuworks','e'=>array(0=>'xdw')),204=>array('id'=>204,'t'=>'application/vnd.fujixerox.docuworks.binder','e'=>array(0=>'xbd')),205=>array('id'=>205,'t'=>'application/vnd.fuzzysheet','e'=>array(0=>'fzs')),206=>array('id'=>206,'t'=>'application/vnd.genomatix.tuxedo','e'=>array(0=>'txd')),207=>array('id'=>207,'t'=>'application/vnd.geogebra.file','e'=>array(0=>'ggb')),208=>array('id'=>208,'t'=>'application/vnd.geogebra.tool','e'=>array(0=>'ggt')),209=>array('id'=>209,'t'=>'application/vnd.geometry-explorer','e'=>array(0=>'gex',1=>'gre')),210=>array('id'=>210,'t'=>'application/vnd.geonext','e'=>array(0=>'gxt')),211=>array('id'=>211,'t'=>'application/vnd.geoplan','e'=>array(0=>'g2w')),212=>array('id'=>212,'t'=>'application/vnd.geospace','e'=>array(0=>'g3w')),213=>array('id'=>213,'t'=>'application/vnd.gmx','e'=>array(0=>'gmx')),214=>array('id'=>214,'t'=>'application/vnd.google-earth.kml+xml','e'=>array(0=>'kml')),215=>array('id'=>215,'t'=>'application/vnd.google-earth.kmz','e'=>array(0=>'kmz')),216=>array('id'=>216,'t'=>'application/vnd.grafeq','e'=>array(0=>'gqf',1=>'gqs')),217=>array('id'=>217,'t'=>'application/vnd.groove-account','e'=>array(0=>'gac')),218=>array('id'=>218,'t'=>'application/vnd.groove-help','e'=>array(0=>'ghf')),219=>array('id'=>219,'t'=>'application/vnd.groove-identity-message','e'=>array(0=>'gim')),220=>array('id'=>220,'t'=>'application/vnd.groove-injector','e'=>array(0=>'grv')),221=>array('id'=>221,'t'=>'application/vnd.groove-tool-message','e'=>array(0=>'gtm')),222=>array('id'=>222,'t'=>'application/vnd.groove-tool-template','e'=>array(0=>'tpl')),223=>array('id'=>223,'t'=>'application/vnd.groove-vcard','e'=>array(0=>'vcg')),224=>array('id'=>224,'t'=>'application/vnd.hal+xml','e'=>array(0=>'hal')),225=>array('id'=>225,'t'=>'application/vnd.handheld-entertainment+xml','e'=>array(0=>'zmm')),226=>array('id'=>226,'t'=>'application/vnd.hbci','e'=>array(0=>'hbci')),227=>array('id'=>227,'t'=>'application/vnd.hhe.lesson-player','e'=>array(0=>'les')),228=>array('id'=>228,'t'=>'application/vnd.hp-hpgl','e'=>array(0=>'hpgl')),229=>array('id'=>229,'t'=>'application/vnd.hp-hpid','e'=>array(0=>'hpid')),230=>array('id'=>230,'t'=>'application/vnd.hp-hps','e'=>array(0=>'hps')),231=>array('id'=>231,'t'=>'application/vnd.hp-jlyt','e'=>array(0=>'jlt')),232=>array('id'=>232,'t'=>'application/vnd.hp-pcl','e'=>array(0=>'pcl')),233=>array('id'=>233,'t'=>'application/vnd.hp-pclxl','e'=>array(0=>'pclxl')),234=>array('id'=>234,'t'=>'application/vnd.hydrostatix.sof-data','e'=>array(0=>'sfd-hdstx')),235=>array('id'=>235,'t'=>'application/vnd.ibm.minipay','e'=>array(0=>'mpy')),236=>array('id'=>236,'t'=>'application/vnd.ibm.modcap','e'=>array(0=>'afp',1=>'listafp',2=>'list3820')),237=>array('id'=>237,'t'=>'application/vnd.ibm.rights-management','e'=>array(0=>'irm')),238=>array('id'=>238,'t'=>'application/vnd.ibm.secure-container','e'=>array(0=>'sc')),239=>array('id'=>239,'t'=>'application/vnd.iccprofile','e'=>array(0=>'icc',1=>'icm')),240=>array('id'=>240,'t'=>'application/vnd.igloader','e'=>array(0=>'igl')),241=>array('id'=>241,'t'=>'application/vnd.immervision-ivp','e'=>array(0=>'ivp')),242=>array('id'=>242,'t'=>'application/vnd.immervision-ivu','e'=>array(0=>'ivu')),243=>array('id'=>243,'t'=>'application/vnd.insors.igm','e'=>array(0=>'igm')),244=>array('id'=>244,'t'=>'application/vnd.intercon.formnet','e'=>array(0=>'xpw',1=>'xpx')),245=>array('id'=>245,'t'=>'application/vnd.intergeo','e'=>array(0=>'i2g')),246=>array('id'=>246,'t'=>'application/vnd.intu.qbo','e'=>array(0=>'qbo')),247=>array('id'=>247,'t'=>'application/vnd.intu.qfx','e'=>array(0=>'qfx')),248=>array('id'=>248,'t'=>'application/vnd.ipunplugged.rcprofile','e'=>array(0=>'rcprofile')),249=>array('id'=>249,'t'=>'application/vnd.irepository.package+xml','e'=>array(0=>'irp')),250=>array('id'=>250,'t'=>'application/vnd.is-xpr','e'=>array(0=>'xpr')),251=>array('id'=>251,'t'=>'application/vnd.isac.fcs','e'=>array(0=>'fcs')),252=>array('id'=>252,'t'=>'application/vnd.jam','e'=>array(0=>'jam')),253=>array('id'=>253,'t'=>'application/vnd.jcp.javame.midlet-rms','e'=>array(0=>'rms')),254=>array('id'=>254,'t'=>'application/vnd.jisp','e'=>array(0=>'jisp')),255=>array('id'=>255,'t'=>'application/vnd.joost.joda-archive','e'=>array(0=>'joda')),256=>array('id'=>256,'t'=>'application/vnd.kahootz','e'=>array(0=>'ktz',1=>'ktr')),257=>array('id'=>257,'t'=>'application/vnd.kde.karbon','e'=>array(0=>'karbon')),258=>array('id'=>258,'t'=>'application/vnd.kde.kchart','e'=>array(0=>'chrt')),259=>array('id'=>259,'t'=>'application/vnd.kde.kformula','e'=>array(0=>'kfo')),260=>array('id'=>260,'t'=>'application/vnd.kde.kivio','e'=>array(0=>'flw')),261=>array('id'=>261,'t'=>'application/vnd.kde.kontour','e'=>array(0=>'kon')),262=>array('id'=>262,'t'=>'application/vnd.kde.kpresenter','e'=>array(0=>'kpr',1=>'kpt')),263=>array('id'=>263,'t'=>'application/vnd.kde.kspread','e'=>array(0=>'ksp')),264=>array('id'=>264,'t'=>'application/vnd.kde.kword','e'=>array(0=>'kwd',1=>'kwt')),265=>array('id'=>265,'t'=>'application/vnd.kenameaapp','e'=>array(0=>'htke')),266=>array('id'=>266,'t'=>'application/vnd.kidspiration','e'=>array(0=>'kia')),267=>array('id'=>267,'t'=>'application/vnd.kinar','e'=>array(0=>'kne',1=>'knp')),268=>array('id'=>268,'t'=>'application/vnd.koan','e'=>array(0=>'skp',1=>'skd',2=>'skt',3=>'skm')),269=>array('id'=>269,'t'=>'application/vnd.kodak-descriptor','e'=>array(0=>'sse')),270=>array('id'=>270,'t'=>'application/vnd.las.las+xml','e'=>array(0=>'lasxml')),271=>array('id'=>271,'t'=>'application/vnd.llamagraphics.life-balance.desktop','e'=>array(0=>'lbd')),272=>array('id'=>272,'t'=>'application/vnd.llamagraphics.life-balance.exchange+xml','e'=>array(0=>'lbe')),273=>array('id'=>273,'t'=>'application/vnd.lotus-1-2-3','e'=>array(0=>'123')),274=>array('id'=>274,'t'=>'application/vnd.lotus-approach','e'=>array(0=>'apr')),275=>array('id'=>275,'t'=>'application/vnd.lotus-freelance','e'=>array(0=>'pre')),276=>array('id'=>276,'t'=>'application/vnd.lotus-notes','e'=>array(0=>'nsf')),277=>array('id'=>277,'t'=>'application/vnd.lotus-organizer','e'=>array(0=>'org')),278=>array('id'=>278,'t'=>'application/vnd.lotus-screencam','e'=>array(0=>'scm')),279=>array('id'=>279,'t'=>'application/vnd.lotus-wordpro','e'=>array(0=>'lwp')),280=>array('id'=>280,'t'=>'application/vnd.macports.portpkg','e'=>array(0=>'portpkg')),281=>array('id'=>281,'t'=>'application/vnd.mcd','e'=>array(0=>'mcd')),282=>array('id'=>282,'t'=>'application/vnd.medcalcdata','e'=>array(0=>'mc1')),283=>array('id'=>283,'t'=>'application/vnd.mediastation.cdkey','e'=>array(0=>'cdkey')),284=>array('id'=>284,'t'=>'application/vnd.mfer','e'=>array(0=>'mwf')),285=>array('id'=>285,'t'=>'application/vnd.mfmp','e'=>array(0=>'mfm')),286=>array('id'=>286,'t'=>'application/vnd.micrografx.flo','e'=>array(0=>'flo')),287=>array('id'=>287,'t'=>'application/vnd.micrografx.igx','e'=>array(0=>'igx')),288=>array('id'=>288,'t'=>'application/vnd.mif','e'=>array(0=>'mif')),289=>array('id'=>289,'t'=>'application/vnd.mobius.daf','e'=>array(0=>'daf')),290=>array('id'=>290,'t'=>'application/vnd.mobius.dis','e'=>array(0=>'dis')),291=>array('id'=>291,'t'=>'application/vnd.mobius.mbk','e'=>array(0=>'mbk')),292=>array('id'=>292,'t'=>'application/vnd.mobius.mqy','e'=>array(0=>'mqy')),293=>array('id'=>293,'t'=>'application/vnd.mobius.msl','e'=>array(0=>'msl')),294=>array('id'=>294,'t'=>'application/vnd.mobius.plc','e'=>array(0=>'plc')),295=>array('id'=>295,'t'=>'application/vnd.mobius.txf','e'=>array(0=>'txf')),296=>array('id'=>296,'t'=>'application/vnd.mophun.application','e'=>array(0=>'mpn')),297=>array('id'=>297,'t'=>'application/vnd.mophun.certificate','e'=>array(0=>'mpc')),298=>array('id'=>298,'t'=>'application/vnd.mozilla.xul+xml','e'=>array(0=>'xul')),299=>array('id'=>299,'t'=>'application/vnd.ms-artgalry','e'=>array(0=>'cil')),300=>array('id'=>300,'t'=>'application/vnd.ms-cab-compressed','e'=>array(0=>'cab')),301=>array('id'=>301,'t'=>'application/vnd.ms-excel','e'=>array(0=>'xls',1=>'xlm',2=>'xla',3=>'xlc',4=>'xlt',5=>'xlw')),302=>array('id'=>302,'t'=>'application/vnd.ms-excel.addin.macroenabled.12','e'=>array(0=>'xlam')),303=>array('id'=>303,'t'=>'application/vnd.ms-excel.sheet.binary.macroenabled.12','e'=>array(0=>'xlsb')),304=>array('id'=>304,'t'=>'application/vnd.ms-excel.sheet.macroenabled.12','e'=>array(0=>'xlsm')),305=>array('id'=>305,'t'=>'application/vnd.ms-excel.template.macroenabled.12','e'=>array(0=>'xltm')),306=>array('id'=>306,'t'=>'application/vnd.ms-fontobject','e'=>array(0=>'eot')),307=>array('id'=>307,'t'=>'application/vnd.ms-htmlhelp','e'=>array(0=>'chm')),308=>array('id'=>308,'t'=>'application/vnd.ms-ims','e'=>array(0=>'ims')),309=>array('id'=>309,'t'=>'application/vnd.ms-lrm','e'=>array(0=>'lrm')),310=>array('id'=>310,'t'=>'application/vnd.ms-officetheme','e'=>array(0=>'thmx')),311=>array('id'=>311,'t'=>'application/vnd.ms-pki.seccat','e'=>array(0=>'cat')),312=>array('id'=>312,'t'=>'application/vnd.ms-pki.stl','e'=>array(0=>'stl')),313=>array('id'=>313,'t'=>'application/vnd.ms-powerpoint','e'=>array(0=>'ppt',1=>'pps',2=>'pot')),314=>array('id'=>314,'t'=>'application/vnd.ms-powerpoint.addin.macroenabled.12','e'=>array(0=>'ppam')),315=>array('id'=>315,'t'=>'application/vnd.ms-powerpoint.presentation.macroenabled.12','e'=>array(0=>'pptm')),316=>array('id'=>316,'t'=>'application/vnd.ms-powerpoint.slide.macroenabled.12','e'=>array(0=>'sldm')),317=>array('id'=>317,'t'=>'application/vnd.ms-powerpoint.slideshow.macroenabled.12','e'=>array(0=>'ppsm')),318=>array('id'=>318,'t'=>'application/vnd.ms-powerpoint.template.macroenabled.12','e'=>array(0=>'potm')),319=>array('id'=>319,'t'=>'application/vnd.ms-project','e'=>array(0=>'mpp',1=>'mpt')),320=>array('id'=>320,'t'=>'application/vnd.ms-word.document.macroenabled.12','e'=>array(0=>'docm')),321=>array('id'=>321,'t'=>'application/vnd.ms-word.template.macroenabled.12','e'=>array(0=>'dotm')),322=>array('id'=>322,'t'=>'application/vnd.ms-works','e'=>array(0=>'wps',1=>'wks',2=>'wcm',3=>'wdb')),323=>array('id'=>323,'t'=>'application/vnd.ms-wpl','e'=>array(0=>'wpl')),324=>array('id'=>324,'t'=>'application/vnd.ms-xpsdocument','e'=>array(0=>'xps')),325=>array('id'=>325,'t'=>'application/vnd.mseq','e'=>array(0=>'mseq')),326=>array('id'=>326,'t'=>'application/vnd.musician','e'=>array(0=>'mus')),327=>array('id'=>327,'t'=>'application/vnd.muvee.style','e'=>array(0=>'msty')),328=>array('id'=>328,'t'=>'application/vnd.mynfc','e'=>array(0=>'taglet')),329=>array('id'=>329,'t'=>'application/vnd.neurolanguage.nlu','e'=>array(0=>'nlu')),330=>array('id'=>330,'t'=>'application/vnd.nitf','e'=>array(0=>'ntf',1=>'nitf')),331=>array('id'=>331,'t'=>'application/vnd.noblenet-directory','e'=>array(0=>'nnd')),332=>array('id'=>332,'t'=>'application/vnd.noblenet-sealer','e'=>array(0=>'nns')),333=>array('id'=>333,'t'=>'application/vnd.noblenet-web','e'=>array(0=>'nnw')),334=>array('id'=>334,'t'=>'application/vnd.nokia.n-gage.data','e'=>array(0=>'ngdat')),335=>array('id'=>335,'t'=>'application/vnd.nokia.n-gage.symbian.install','e'=>array(0=>'n-gage')),336=>array('id'=>336,'t'=>'application/vnd.nokia.radio-preset','e'=>array(0=>'rpst')),337=>array('id'=>337,'t'=>'application/vnd.nokia.radio-presets','e'=>array(0=>'rpss')),338=>array('id'=>338,'t'=>'application/vnd.novadigm.edm','e'=>array(0=>'edm')),339=>array('id'=>339,'t'=>'application/vnd.novadigm.edx','e'=>array(0=>'edx')),340=>array('id'=>340,'t'=>'application/vnd.novadigm.ext','e'=>array(0=>'ext')),341=>array('id'=>341,'t'=>'application/vnd.oasis.opendocument.chart','e'=>array(0=>'odc')),342=>array('id'=>342,'t'=>'application/vnd.oasis.opendocument.chart-template','e'=>array(0=>'otc')),343=>array('id'=>343,'t'=>'application/vnd.oasis.opendocument.database','e'=>array(0=>'odb')),344=>array('id'=>344,'t'=>'application/vnd.oasis.opendocument.formula','e'=>array(0=>'odf')),345=>array('id'=>345,'t'=>'application/vnd.oasis.opendocument.formula-template','e'=>array(0=>'odft')),346=>array('id'=>346,'t'=>'application/vnd.oasis.opendocument.graphics','e'=>array(0=>'odg')),347=>array('id'=>347,'t'=>'application/vnd.oasis.opendocument.graphics-template','e'=>array(0=>'otg')),348=>array('id'=>348,'t'=>'application/vnd.oasis.opendocument.image','e'=>array(0=>'odi')),349=>array('id'=>349,'t'=>'application/vnd.oasis.opendocument.image-template','e'=>array(0=>'oti')),350=>array('id'=>350,'t'=>'application/vnd.oasis.opendocument.presentation','e'=>array(0=>'odp')),351=>array('id'=>351,'t'=>'application/vnd.oasis.opendocument.presentation-template','e'=>array(0=>'otp')),352=>array('id'=>352,'t'=>'application/vnd.oasis.opendocument.spreadsheet','e'=>array(0=>'ods')),353=>array('id'=>353,'t'=>'application/vnd.oasis.opendocument.spreadsheet-template','e'=>array(0=>'ots')),354=>array('id'=>354,'t'=>'application/vnd.oasis.opendocument.text','e'=>array(0=>'odt')),355=>array('id'=>355,'t'=>'application/vnd.oasis.opendocument.text-master','e'=>array(0=>'odm')),356=>array('id'=>356,'t'=>'application/vnd.oasis.opendocument.text-template','e'=>array(0=>'ott')),357=>array('id'=>357,'t'=>'application/vnd.oasis.opendocument.text-web','e'=>array(0=>'oth')),358=>array('id'=>358,'t'=>'application/vnd.olpc-sugar','e'=>array(0=>'xo')),359=>array('id'=>359,'t'=>'application/vnd.oma.dd2+xml','e'=>array(0=>'dd2')),360=>array('id'=>360,'t'=>'application/vnd.openofficeorg.extension','e'=>array(0=>'oxt')),361=>array('id'=>361,'t'=>'application/vnd.openxmlformats-officedocument.presentationml.presentation','e'=>array(0=>'pptx')),362=>array('id'=>362,'t'=>'application/vnd.openxmlformats-officedocument.presentationml.slide','e'=>array(0=>'sldx')),363=>array('id'=>363,'t'=>'application/vnd.openxmlformats-officedocument.presentationml.slideshow','e'=>array(0=>'ppsx')),364=>array('id'=>364,'t'=>'application/vnd.openxmlformats-officedocument.presentationml.template','e'=>array(0=>'potx')),365=>array('id'=>365,'t'=>'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','e'=>array(0=>'xlsx')),366=>array('id'=>366,'t'=>'application/vnd.openxmlformats-officedocument.spreadsheetml.template','e'=>array(0=>'xltx')),367=>array('id'=>367,'t'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.document','e'=>array(0=>'docx')),368=>array('id'=>368,'t'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.template','e'=>array(0=>'dotx')),369=>array('id'=>369,'t'=>'application/vnd.osgeo.mapguide.package','e'=>array(0=>'mgp')),370=>array('id'=>370,'t'=>'application/vnd.osgi.dp','e'=>array(0=>'dp')),371=>array('id'=>371,'t'=>'application/vnd.osgi.subsystem','e'=>array(0=>'esa')),372=>array('id'=>372,'t'=>'application/vnd.palm','e'=>array(0=>'pdb',1=>'pqa',2=>'oprc')),373=>array('id'=>373,'t'=>'application/vnd.pawaafile','e'=>array(0=>'paw')),374=>array('id'=>374,'t'=>'application/vnd.pg.format','e'=>array(0=>'str')),375=>array('id'=>375,'t'=>'application/vnd.pg.osasli','e'=>array(0=>'ei6')),376=>array('id'=>376,'t'=>'application/vnd.picsel','e'=>array(0=>'efif')),377=>array('id'=>377,'t'=>'application/vnd.pmi.widget','e'=>array(0=>'wg')),378=>array('id'=>378,'t'=>'application/vnd.pocketlearn','e'=>array(0=>'plf')),379=>array('id'=>379,'t'=>'application/vnd.powerbuilder6','e'=>array(0=>'pbd')),380=>array('id'=>380,'t'=>'application/vnd.previewsystems.box','e'=>array(0=>'box')),381=>array('id'=>381,'t'=>'application/vnd.proteus.magazine','e'=>array(0=>'mgz')),382=>array('id'=>382,'t'=>'application/vnd.publishare-delta-tree','e'=>array(0=>'qps')),383=>array('id'=>383,'t'=>'application/vnd.pvi.ptid1','e'=>array(0=>'ptid')),384=>array('id'=>384,'t'=>'application/vnd.quark.quarkxpress','e'=>array(0=>'qxd',1=>'qxt',2=>'qwd',3=>'qwt',4=>'qxl',5=>'qxb')),385=>array('id'=>385,'t'=>'application/vnd.realvnc.bed','e'=>array(0=>'bed')),386=>array('id'=>386,'t'=>'application/vnd.recordare.musicxml','e'=>array(0=>'mxl')),387=>array('id'=>387,'t'=>'application/vnd.recordare.musicxml+xml','e'=>array(0=>'musicxml')),388=>array('id'=>388,'t'=>'application/vnd.rig.cryptonote','e'=>array(0=>'cryptonote')),389=>array('id'=>389,'t'=>'application/vnd.rim.cod','e'=>array(0=>'cod')),390=>array('id'=>390,'t'=>'application/vnd.rn-realmedia','e'=>array(0=>'rm')),391=>array('id'=>391,'t'=>'application/vnd.rn-realmedia-vbr','e'=>array(0=>'rmvb')),392=>array('id'=>392,'t'=>'application/vnd.route66.link66+xml','e'=>array(0=>'link66')),393=>array('id'=>393,'t'=>'application/vnd.sailingtracker.track','e'=>array(0=>'st')),394=>array('id'=>394,'t'=>'application/vnd.seemail','e'=>array(0=>'see')),395=>array('id'=>395,'t'=>'application/vnd.sema','e'=>array(0=>'sema')),396=>array('id'=>396,'t'=>'application/vnd.semd','e'=>array(0=>'semd')),397=>array('id'=>397,'t'=>'application/vnd.semf','e'=>array(0=>'semf')),398=>array('id'=>398,'t'=>'application/vnd.shana.informed.formdata','e'=>array(0=>'ifm')),399=>array('id'=>399,'t'=>'application/vnd.shana.informed.formtemplate','e'=>array(0=>'itp')),400=>array('id'=>400,'t'=>'application/vnd.shana.informed.interchange','e'=>array(0=>'iif')),401=>array('id'=>401,'t'=>'application/vnd.shana.informed.package','e'=>array(0=>'ipk')),402=>array('id'=>402,'t'=>'application/vnd.simtech-mindmapper','e'=>array(0=>'twd',1=>'twds')),403=>array('id'=>403,'t'=>'application/vnd.smaf','e'=>array(0=>'mmf')),404=>array('id'=>404,'t'=>'application/vnd.smart.teacher','e'=>array(0=>'teacher')),405=>array('id'=>405,'t'=>'application/vnd.solent.sdkm+xml','e'=>array(0=>'sdkm',1=>'sdkd')),406=>array('id'=>406,'t'=>'application/vnd.spotfire.dxp','e'=>array(0=>'dxp')),407=>array('id'=>407,'t'=>'application/vnd.spotfire.sfs','e'=>array(0=>'sfs')),408=>array('id'=>408,'t'=>'application/vnd.stardivision.calc','e'=>array(0=>'sdc')),409=>array('id'=>409,'t'=>'application/vnd.stardivision.draw','e'=>array(0=>'sda')),410=>array('id'=>410,'t'=>'application/vnd.stardivision.impress','e'=>array(0=>'sdd')),411=>array('id'=>411,'t'=>'application/vnd.stardivision.math','e'=>array(0=>'smf')),412=>array('id'=>412,'t'=>'application/vnd.stardivision.writer','e'=>array(0=>'sdw',1=>'vor')),413=>array('id'=>413,'t'=>'application/vnd.stardivision.writer-global','e'=>array(0=>'sgl')),414=>array('id'=>414,'t'=>'application/vnd.stepmania.package','e'=>array(0=>'smzip')),415=>array('id'=>415,'t'=>'application/vnd.stepmania.stepchart','e'=>array(0=>'sm')),416=>array('id'=>416,'t'=>'application/vnd.sun.xml.calc','e'=>array(0=>'sxc')),417=>array('id'=>417,'t'=>'application/vnd.sun.xml.calc.template','e'=>array(0=>'stc')),418=>array('id'=>418,'t'=>'application/vnd.sun.xml.draw','e'=>array(0=>'sxd')),419=>array('id'=>419,'t'=>'application/vnd.sun.xml.draw.template','e'=>array(0=>'std')),420=>array('id'=>420,'t'=>'application/vnd.sun.xml.impress','e'=>array(0=>'sxi')),421=>array('id'=>421,'t'=>'application/vnd.sun.xml.impress.template','e'=>array(0=>'sti')),422=>array('id'=>422,'t'=>'application/vnd.sun.xml.math','e'=>array(0=>'sxm')),423=>array('id'=>423,'t'=>'application/vnd.sun.xml.writer','e'=>array(0=>'sxw')),424=>array('id'=>424,'t'=>'application/vnd.sun.xml.writer.global','e'=>array(0=>'sxg')),425=>array('id'=>425,'t'=>'application/vnd.sun.xml.writer.template','e'=>array(0=>'stw')),426=>array('id'=>426,'t'=>'application/vnd.sus-calendar','e'=>array(0=>'sus',1=>'susp')),427=>array('id'=>427,'t'=>'application/vnd.svd','e'=>array(0=>'svd')),428=>array('id'=>428,'t'=>'application/vnd.symbian.install','e'=>array(0=>'sis',1=>'sisx')),429=>array('id'=>429,'t'=>'application/vnd.syncml+xml','e'=>array(0=>'xsm')),430=>array('id'=>430,'t'=>'application/vnd.syncml.dm+wbxml','e'=>array(0=>'bdm')),431=>array('id'=>431,'t'=>'application/vnd.syncml.dm+xml','e'=>array(0=>'xdm')),432=>array('id'=>432,'t'=>'application/vnd.tao.intent-module-archive','e'=>array(0=>'tao')),433=>array('id'=>433,'t'=>'application/vnd.tcpdump.pcap','e'=>array(0=>'pcap',1=>'cap',2=>'dmp')),434=>array('id'=>434,'t'=>'application/vnd.tmobile-livetv','e'=>array(0=>'tmo')),435=>array('id'=>435,'t'=>'application/vnd.trid.tpt','e'=>array(0=>'tpt')),436=>array('id'=>436,'t'=>'application/vnd.triscape.mxs','e'=>array(0=>'mxs')),437=>array('id'=>437,'t'=>'application/vnd.trueapp','e'=>array(0=>'tra')),438=>array('id'=>438,'t'=>'application/vnd.ufdl','e'=>array(0=>'ufd',1=>'ufdl')),439=>array('id'=>439,'t'=>'application/vnd.uiq.theme','e'=>array(0=>'utz')),440=>array('id'=>440,'t'=>'application/vnd.umajin','e'=>array(0=>'umj')),441=>array('id'=>441,'t'=>'application/vnd.unity','e'=>array(0=>'unityweb')),442=>array('id'=>442,'t'=>'application/vnd.uoml+xml','e'=>array(0=>'uoml')),443=>array('id'=>443,'t'=>'application/vnd.vcx','e'=>array(0=>'vcx')),444=>array('id'=>444,'t'=>'application/vnd.visio','e'=>array(0=>'vsd',1=>'vst',2=>'vss',3=>'vsw')),445=>array('id'=>445,'t'=>'application/vnd.visionary','e'=>array(0=>'vis')),446=>array('id'=>446,'t'=>'application/vnd.vsf','e'=>array(0=>'vsf')),447=>array('id'=>447,'t'=>'application/vnd.wap.wbxml','e'=>array(0=>'wbxml')),448=>array('id'=>448,'t'=>'application/vnd.wap.wmlc','e'=>array(0=>'wmlc')),449=>array('id'=>449,'t'=>'application/vnd.wap.wmlscriptc','e'=>array(0=>'wmlsc')),450=>array('id'=>450,'t'=>'application/vnd.webturbo','e'=>array(0=>'wtb')),451=>array('id'=>451,'t'=>'application/vnd.wolfram.player','e'=>array(0=>'nbp')),452=>array('id'=>452,'t'=>'application/vnd.wordperfect','e'=>array(0=>'wpd')),453=>array('id'=>453,'t'=>'application/vnd.wqd','e'=>array(0=>'wqd')),454=>array('id'=>454,'t'=>'application/vnd.wt.stf','e'=>array(0=>'stf')),455=>array('id'=>455,'t'=>'application/vnd.xara','e'=>array(0=>'xar')),456=>array('id'=>456,'t'=>'application/vnd.xfdl','e'=>array(0=>'xfdl')),457=>array('id'=>457,'t'=>'application/vnd.yamaha.hv-dic','e'=>array(0=>'hvd')),458=>array('id'=>458,'t'=>'application/vnd.yamaha.hv-script','e'=>array(0=>'hvs')),459=>array('id'=>459,'t'=>'application/vnd.yamaha.hv-voice','e'=>array(0=>'hvp')),460=>array('id'=>460,'t'=>'application/vnd.yamaha.openscoreformat','e'=>array(0=>'osf')),461=>array('id'=>461,'t'=>'application/vnd.yamaha.openscoreformat.osfpvg+xml','e'=>array(0=>'osfpvg')),462=>array('id'=>462,'t'=>'application/vnd.yamaha.smaf-audio','e'=>array(0=>'saf')),463=>array('id'=>463,'t'=>'application/vnd.yamaha.smaf-phrase','e'=>array(0=>'spf')),464=>array('id'=>464,'t'=>'application/vnd.yellowriver-custom-menu','e'=>array(0=>'cmp')),465=>array('id'=>465,'t'=>'application/vnd.zul','e'=>array(0=>'zir',1=>'zirz')),466=>array('id'=>466,'t'=>'application/vnd.zzazz.deck+xml','e'=>array(0=>'zaz')),467=>array('id'=>467,'t'=>'application/voicexml+xml','e'=>array(0=>'vxml')),468=>array('id'=>468,'t'=>'application/widget','e'=>array(0=>'wgt')),469=>array('id'=>469,'t'=>'application/winhlp','e'=>array(0=>'hlp')),470=>array('id'=>470,'t'=>'application/wsdl+xml','e'=>array(0=>'wsdl')),471=>array('id'=>471,'t'=>'application/wspolicy+xml','e'=>array(0=>'wspolicy')),472=>array('id'=>472,'t'=>'application/x-7z-compressed','e'=>array(0=>'7z')),473=>array('id'=>473,'t'=>'application/x-abiword','e'=>array(0=>'abw')),474=>array('id'=>474,'t'=>'application/x-ace-compressed','e'=>array(0=>'ace')),475=>array('id'=>475,'t'=>'application/x-apple-diskimage','e'=>array(0=>'dmg')),476=>array('id'=>476,'t'=>'application/x-authorware-bin','e'=>array(0=>'aab',1=>'x32',2=>'u32',3=>'vox')),477=>array('id'=>477,'t'=>'application/x-authorware-map','e'=>array(0=>'aam')),478=>array('id'=>478,'t'=>'application/x-authorware-seg','e'=>array(0=>'aas')),479=>array('id'=>479,'t'=>'application/x-bcpio','e'=>array(0=>'bcpio')),480=>array('id'=>480,'t'=>'application/x-bittorrent','e'=>array(0=>'torrent')),481=>array('id'=>481,'t'=>'application/x-blorb','e'=>array(0=>'blb',1=>'blorb')),482=>array('id'=>482,'t'=>'application/x-bzip','e'=>array(0=>'bz')),483=>array('id'=>483,'t'=>'application/x-bzip2','e'=>array(0=>'bz2',1=>'boz')),484=>array('id'=>484,'t'=>'application/x-cbr','e'=>array(0=>'cbr',1=>'cba',2=>'cbt',3=>'cbz',4=>'cb7')),485=>array('id'=>485,'t'=>'application/x-cdlink','e'=>array(0=>'vcd')),486=>array('id'=>486,'t'=>'application/x-cfs-compressed','e'=>array(0=>'cfs')),487=>array('id'=>487,'t'=>'application/x-chat','e'=>array(0=>'chat')),488=>array('id'=>488,'t'=>'application/x-chess-pgn','e'=>array(0=>'pgn')),489=>array('id'=>489,'t'=>'application/x-conference','e'=>array(0=>'nsc')),490=>array('id'=>490,'t'=>'application/x-cpio','e'=>array(0=>'cpio')),491=>array('id'=>491,'t'=>'application/x-csh','e'=>array(0=>'csh')),492=>array('id'=>492,'t'=>'application/x-debian-package','e'=>array(0=>'deb',1=>'udeb')),493=>array('id'=>493,'t'=>'application/x-dgc-compressed','e'=>array(0=>'dgc')),494=>array('id'=>494,'t'=>'application/x-director','e'=>array(0=>'dir',1=>'dcr',2=>'dxr',3=>'cst',4=>'cct',5=>'cxt',6=>'w3d',7=>'fgd',8=>'swa')),495=>array('id'=>495,'t'=>'application/x-doom','e'=>array(0=>'wad')),496=>array('id'=>496,'t'=>'application/x-dtbncx+xml','e'=>array(0=>'ncx')),497=>array('id'=>497,'t'=>'application/x-dtbook+xml','e'=>array(0=>'dtb')),498=>array('id'=>498,'t'=>'application/x-dtbresource+xml','e'=>array(0=>'res')),499=>array('id'=>499,'t'=>'application/x-dvi','e'=>array(0=>'dvi')),500=>array('id'=>500,'t'=>'application/x-envoy','e'=>array(0=>'evy')),501=>array('id'=>501,'t'=>'application/x-eva','e'=>array(0=>'eva')),502=>array('id'=>502,'t'=>'application/x-font-bdf','e'=>array(0=>'bdf')),503=>array('id'=>503,'t'=>'application/x-font-ghostscript','e'=>array(0=>'gsf')),504=>array('id'=>504,'t'=>'application/x-font-linux-psf','e'=>array(0=>'psf')),505=>array('id'=>505,'t'=>'application/x-font-otf','e'=>array(0=>'otf')),506=>array('id'=>506,'t'=>'application/x-font-pcf','e'=>array(0=>'pcf')),507=>array('id'=>507,'t'=>'application/x-font-snf','e'=>array(0=>'snf')),508=>array('id'=>508,'t'=>'application/x-font-ttf','e'=>array(0=>'ttf',1=>'ttc')),509=>array('id'=>509,'t'=>'application/x-font-type1','e'=>array(0=>'pfa',1=>'pfb',2=>'pfm',3=>'afm')),510=>array('id'=>510,'t'=>'application/x-freearc','e'=>array(0=>'arc')),511=>array('id'=>511,'t'=>'application/x-futuresplash','e'=>array(0=>'spl')),512=>array('id'=>512,'t'=>'application/x-gca-compressed','e'=>array(0=>'gca')),513=>array('id'=>513,'t'=>'application/x-glulx','e'=>array(0=>'ulx')),514=>array('id'=>514,'t'=>'application/x-gnumeric','e'=>array(0=>'gnumeric')),515=>array('id'=>515,'t'=>'application/x-gramps-xml','e'=>array(0=>'gramps')),516=>array('id'=>516,'t'=>'application/x-gtar','e'=>array(0=>'gtar')),517=>array('id'=>517,'t'=>'application/x-hdf','e'=>array(0=>'hdf')),518=>array('id'=>518,'t'=>'application/x-install-instructions','e'=>array(0=>'install')),519=>array('id'=>519,'t'=>'application/x-iso9660-image','e'=>array(0=>'iso')),520=>array('id'=>520,'t'=>'application/x-java-jnlp-file','e'=>array(0=>'jnlp')),521=>array('id'=>521,'t'=>'application/x-latex','e'=>array(0=>'latex')),522=>array('id'=>522,'t'=>'application/x-lzh-compressed','e'=>array(0=>'lzh',1=>'lha')),523=>array('id'=>523,'t'=>'application/x-mie','e'=>array(0=>'mie')),524=>array('id'=>524,'t'=>'application/x-mobipocket-ebook','e'=>array(0=>'prc',1=>'mobi')),525=>array('id'=>525,'t'=>'application/x-ms-application','e'=>array(0=>'application')),526=>array('id'=>526,'t'=>'application/x-ms-shortcut','e'=>array(0=>'lnk')),527=>array('id'=>527,'t'=>'application/x-ms-wmd','e'=>array(0=>'wmd')),528=>array('id'=>528,'t'=>'application/x-ms-wmz','e'=>array(0=>'wmz')),529=>array('id'=>529,'t'=>'application/x-ms-xbap','e'=>array(0=>'xbap')),530=>array('id'=>530,'t'=>'application/x-msaccess','e'=>array(0=>'mdb')),531=>array('id'=>531,'t'=>'application/x-msbinder','e'=>array(0=>'obd')),532=>array('id'=>532,'t'=>'application/x-mscardfile','e'=>array(0=>'crd')),533=>array('id'=>533,'t'=>'application/x-msclip','e'=>array(0=>'clp')),534=>array('id'=>534,'t'=>'application/x-msdownload','e'=>array(0=>'exe',1=>'dll',2=>'com',3=>'bat',4=>'msi')),535=>array('id'=>535,'t'=>'application/x-msmediaview','e'=>array(0=>'mvb',1=>'m13',2=>'m14')),536=>array('id'=>536,'t'=>'application/x-msmetafile','e'=>array(0=>'wmf',1=>'wmz',2=>'emf',3=>'emz')),537=>array('id'=>537,'t'=>'application/x-msmoney','e'=>array(0=>'mny')),538=>array('id'=>538,'t'=>'application/x-mspublisher','e'=>array(0=>'pub')),539=>array('id'=>539,'t'=>'application/x-msschedule','e'=>array(0=>'scd')),540=>array('id'=>540,'t'=>'application/x-msterminal','e'=>array(0=>'trm')),541=>array('id'=>541,'t'=>'application/x-mswrite','e'=>array(0=>'wri')),542=>array('id'=>542,'t'=>'application/x-netcdf','e'=>array(0=>'nc',1=>'cdf')),543=>array('id'=>543,'t'=>'application/x-nzb','e'=>array(0=>'nzb')),544=>array('id'=>544,'t'=>'application/x-pkcs12','e'=>array(0=>'p12',1=>'pfx')),545=>array('id'=>545,'t'=>'application/x-pkcs7-certificates','e'=>array(0=>'p7b',1=>'spc')),546=>array('id'=>546,'t'=>'application/x-pkcs7-certreqresp','e'=>array(0=>'p7r')),547=>array('id'=>547,'t'=>'application/x-rar-compressed','e'=>array(0=>'rar')),548=>array('id'=>548,'t'=>'application/x-research-info-systems','e'=>array(0=>'ris')),549=>array('id'=>549,'t'=>'application/x-sh','e'=>array(0=>'sh')),550=>array('id'=>550,'t'=>'application/x-shar','e'=>array(0=>'shar')),551=>array('id'=>551,'t'=>'application/x-shockwave-flash','e'=>array(0=>'swf')),552=>array('id'=>552,'t'=>'application/x-silverlight-app','e'=>array(0=>'xap')),553=>array('id'=>553,'t'=>'application/x-sql','e'=>array(0=>'sql')),554=>array('id'=>554,'t'=>'application/x-stuffit','e'=>array(0=>'sit')),555=>array('id'=>555,'t'=>'application/x-stuffitx','e'=>array(0=>'sitx')),556=>array('id'=>556,'t'=>'application/x-subrip','e'=>array(0=>'srt')),557=>array('id'=>557,'t'=>'application/x-sv4cpio','e'=>array(0=>'sv4cpio')),558=>array('id'=>558,'t'=>'application/x-sv4crc','e'=>array(0=>'sv4crc')),559=>array('id'=>559,'t'=>'application/x-t3vm-image','e'=>array(0=>'t3')),560=>array('id'=>560,'t'=>'application/x-tads','e'=>array(0=>'gam')),561=>array('id'=>561,'t'=>'application/x-tar','e'=>array(0=>'tar')),562=>array('id'=>562,'t'=>'application/x-tcl','e'=>array(0=>'tcl')),563=>array('id'=>563,'t'=>'application/x-tex','e'=>array(0=>'tex')),564=>array('id'=>564,'t'=>'application/x-tex-tfm','e'=>array(0=>'tfm')),565=>array('id'=>565,'t'=>'application/x-texinfo','e'=>array(0=>'texinfo',1=>'texi')),566=>array('id'=>566,'t'=>'application/x-tgif','e'=>array(0=>'obj')),567=>array('id'=>567,'t'=>'application/x-ustar','e'=>array(0=>'ustar')),568=>array('id'=>568,'t'=>'application/x-wais-source','e'=>array(0=>'src')),569=>array('id'=>569,'t'=>'application/x-x509-ca-cert','e'=>array(0=>'der',1=>'crt')),570=>array('id'=>570,'t'=>'application/x-xfig','e'=>array(0=>'fig')),571=>array('id'=>571,'t'=>'application/x-xliff+xml','e'=>array(0=>'xlf')),572=>array('id'=>572,'t'=>'application/x-xpinstall','e'=>array(0=>'xpi')),573=>array('id'=>573,'t'=>'application/x-xz','e'=>array(0=>'xz')),574=>array('id'=>574,'t'=>'application/x-zmachine','e'=>array(0=>'z1',1=>'z2',2=>'z3',3=>'z4',4=>'z5',5=>'z6',6=>'z7',7=>'z8')),575=>array('id'=>575,'t'=>'application/xaml+xml','e'=>array(0=>'xaml')),576=>array('id'=>576,'t'=>'application/xcap-diff+xml','e'=>array(0=>'xdf')),577=>array('id'=>577,'t'=>'application/xenc+xml','e'=>array(0=>'xenc')),578=>array('id'=>578,'t'=>'application/xhtml+xml','e'=>array(0=>'xhtml',1=>'xht')),579=>array('id'=>579,'t'=>'application/xml','e'=>array(0=>'xml',1=>'xsl')),580=>array('id'=>580,'t'=>'application/xml-dtd','e'=>array(0=>'dtd')),581=>array('id'=>581,'t'=>'application/xop+xml','e'=>array(0=>'xop')),582=>array('id'=>582,'t'=>'application/xproc+xml','e'=>array(0=>'xpl')),583=>array('id'=>583,'t'=>'application/xslt+xml','e'=>array(0=>'xslt')),584=>array('id'=>584,'t'=>'application/xspf+xml','e'=>array(0=>'xspf')),585=>array('id'=>585,'t'=>'application/xv+xml','e'=>array(0=>'mxml',1=>'xhvml',2=>'xvml',3=>'xvm')),586=>array('id'=>586,'t'=>'application/yang','e'=>array(0=>'yang')),587=>array('id'=>587,'t'=>'application/yin+xml','e'=>array(0=>'yin')),588=>array('id'=>588,'t'=>'application/zip','e'=>array(0=>'zip')),589=>array('id'=>589,'t'=>'audio/adpcm','e'=>array(0=>'adp')),590=>array('id'=>590,'t'=>'audio/basic','e'=>array(0=>'au',1=>'snd')),591=>array('id'=>591,'t'=>'audio/midi','e'=>array(0=>'mid',1=>'midi',2=>'kar',3=>'rmi')),592=>array('id'=>592,'t'=>'audio/mp4','e'=>array(0=>'m4a',1=>'mp4a')),593=>array('id'=>593,'t'=>'audio/mpeg','e'=>array(0=>'mpga',1=>'mp2',2=>'mp2a',3=>'mp3',4=>'m2a',5=>'m3a')),594=>array('id'=>594,'t'=>'audio/ogg','e'=>array(0=>'oga',1=>'ogg',2=>'spx')),595=>array('id'=>595,'t'=>'audio/s3m','e'=>array(0=>'s3m')),596=>array('id'=>596,'t'=>'audio/silk','e'=>array(0=>'sil')),597=>array('id'=>597,'t'=>'audio/vnd.dece.audio','e'=>array(0=>'uva',1=>'uvva')),598=>array('id'=>598,'t'=>'audio/vnd.digital-winds','e'=>array(0=>'eol')),599=>array('id'=>599,'t'=>'audio/vnd.dra','e'=>array(0=>'dra')),600=>array('id'=>600,'t'=>'audio/vnd.dts','e'=>array(0=>'dts')),601=>array('id'=>601,'t'=>'audio/vnd.dts.hd','e'=>array(0=>'dtshd')),602=>array('id'=>602,'t'=>'audio/vnd.lucent.voice','e'=>array(0=>'lvp')),603=>array('id'=>603,'t'=>'audio/vnd.ms-playready.media.pya','e'=>array(0=>'pya')),604=>array('id'=>604,'t'=>'audio/vnd.nuera.ecelp4800','e'=>array(0=>'ecelp4800')),605=>array('id'=>605,'t'=>'audio/vnd.nuera.ecelp7470','e'=>array(0=>'ecelp7470')),606=>array('id'=>606,'t'=>'audio/vnd.nuera.ecelp9600','e'=>array(0=>'ecelp9600')),607=>array('id'=>607,'t'=>'audio/vnd.rip','e'=>array(0=>'rip')),608=>array('id'=>608,'t'=>'audio/webm','e'=>array(0=>'weba')),609=>array('id'=>609,'t'=>'audio/x-aac','e'=>array(0=>'aac')),610=>array('id'=>610,'t'=>'audio/x-aiff','e'=>array(0=>'aif',1=>'aiff',2=>'aifc')),611=>array('id'=>611,'t'=>'audio/x-caf','e'=>array(0=>'caf')),612=>array('id'=>612,'t'=>'audio/x-flac','e'=>array(0=>'flac')),613=>array('id'=>613,'t'=>'audio/x-matroska','e'=>array(0=>'mka')),614=>array('id'=>614,'t'=>'audio/x-mpegurl','e'=>array(0=>'m3u')),615=>array('id'=>615,'t'=>'audio/x-ms-wax','e'=>array(0=>'wax')),616=>array('id'=>616,'t'=>'audio/x-ms-wma','e'=>array(0=>'wma')),617=>array('id'=>617,'t'=>'audio/x-pn-realaudio','e'=>array(0=>'ram',1=>'ra')),618=>array('id'=>618,'t'=>'audio/x-pn-realaudio-plugin','e'=>array(0=>'rmp')),619=>array('id'=>619,'t'=>'audio/x-wav','e'=>array(0=>'wav')),620=>array('id'=>620,'t'=>'audio/xm','e'=>array(0=>'xm')),621=>array('id'=>621,'t'=>'chemical/x-cdx','e'=>array(0=>'cdx')),622=>array('id'=>622,'t'=>'chemical/x-cif','e'=>array(0=>'cif')),623=>array('id'=>623,'t'=>'chemical/x-cmdf','e'=>array(0=>'cmdf')),624=>array('id'=>624,'t'=>'chemical/x-cml','e'=>array(0=>'cml')),625=>array('id'=>625,'t'=>'chemical/x-csml','e'=>array(0=>'csml')),626=>array('id'=>626,'t'=>'chemical/x-xyz','e'=>array(0=>'xyz')),627=>array('id'=>627,'t'=>'image/bmp','e'=>array(0=>'bmp')),628=>array('id'=>628,'t'=>'image/cgm','e'=>array(0=>'cgm')),629=>array('id'=>629,'t'=>'image/g3fax','e'=>array(0=>'g3')),630=>array('id'=>630,'t'=>'image/gif','e'=>array(0=>'gif')),631=>array('id'=>631,'t'=>'image/ief','e'=>array(0=>'ief')),632=>array('id'=>632,'t'=>'image/jpeg','e'=>array(0=>'jpeg',1=>'jpg',2=>'jpe')),633=>array('id'=>633,'t'=>'image/ktx','e'=>array(0=>'ktx')),634=>array('id'=>634,'t'=>'image/png','e'=>array(0=>'png')),635=>array('id'=>635,'t'=>'image/prs.btif','e'=>array(0=>'btif')),636=>array('id'=>636,'t'=>'image/sgi','e'=>array(0=>'sgi')),637=>array('id'=>637,'t'=>'image/svg+xml','e'=>array(0=>'svg',1=>'svgz')),638=>array('id'=>638,'t'=>'image/tiff','e'=>array(0=>'tiff',1=>'tif')),639=>array('id'=>639,'t'=>'image/vnd.adobe.photoshop','e'=>array(0=>'psd')),640=>array('id'=>640,'t'=>'image/vnd.dece.graphic','e'=>array(0=>'uvi',1=>'uvvi',2=>'uvg',3=>'uvvg')),641=>array('id'=>641,'t'=>'image/vnd.djvu','e'=>array(0=>'djvu',1=>'djv')),642=>array('id'=>642,'t'=>'image/vnd.dvb.subtitle','e'=>array(0=>'sub')),643=>array('id'=>643,'t'=>'image/vnd.dwg','e'=>array(0=>'dwg')),644=>array('id'=>644,'t'=>'image/vnd.dxf','e'=>array(0=>'dxf')),645=>array('id'=>645,'t'=>'image/vnd.fastbidsheet','e'=>array(0=>'fbs')),646=>array('id'=>646,'t'=>'image/vnd.fpx','e'=>array(0=>'fpx')),647=>array('id'=>647,'t'=>'image/vnd.fst','e'=>array(0=>'fst')),648=>array('id'=>648,'t'=>'image/vnd.fujixerox.edmics-mmr','e'=>array(0=>'mmr')),649=>array('id'=>649,'t'=>'image/vnd.fujixerox.edmics-rlc','e'=>array(0=>'rlc')),650=>array('id'=>650,'t'=>'image/vnd.ms-modi','e'=>array(0=>'mdi')),651=>array('id'=>651,'t'=>'image/vnd.ms-photo','e'=>array(0=>'wdp')),652=>array('id'=>652,'t'=>'image/vnd.net-fpx','e'=>array(0=>'npx')),653=>array('id'=>653,'t'=>'image/vnd.wap.wbmp','e'=>array(0=>'wbmp')),654=>array('id'=>654,'t'=>'image/vnd.xiff','e'=>array(0=>'xif')),655=>array('id'=>655,'t'=>'image/webp','e'=>array(0=>'webp')),656=>array('id'=>656,'t'=>'image/x-3ds','e'=>array(0=>'3ds')),657=>array('id'=>657,'t'=>'image/x-cmu-raster','e'=>array(0=>'ras')),658=>array('id'=>658,'t'=>'image/x-cmx','e'=>array(0=>'cmx')),659=>array('id'=>659,'t'=>'image/x-freehand','e'=>array(0=>'fh',1=>'fhc',2=>'fh4',3=>'fh5',4=>'fh7')),660=>array('id'=>660,'t'=>'image/x-icon','e'=>array(0=>'ico')),661=>array('id'=>661,'t'=>'image/x-mrsid-image','e'=>array(0=>'sid')),662=>array('id'=>662,'t'=>'image/x-pcx','e'=>array(0=>'pcx')),663=>array('id'=>663,'t'=>'image/x-pict','e'=>array(0=>'pic',1=>'pct')),664=>array('id'=>664,'t'=>'image/x-portable-anymap','e'=>array(0=>'pnm')),665=>array('id'=>665,'t'=>'image/x-portable-bitmap','e'=>array(0=>'pbm')),666=>array('id'=>666,'t'=>'image/x-portable-graymap','e'=>array(0=>'pgm')),667=>array('id'=>667,'t'=>'image/x-portable-pixmap','e'=>array(0=>'ppm')),668=>array('id'=>668,'t'=>'image/x-rgb','e'=>array(0=>'rgb')),669=>array('id'=>669,'t'=>'image/x-tga','e'=>array(0=>'tga')),670=>array('id'=>670,'t'=>'image/x-xbitmap','e'=>array(0=>'xbm')),671=>array('id'=>671,'t'=>'image/x-xpixmap','e'=>array(0=>'xpm')),672=>array('id'=>672,'t'=>'image/x-xwindowdump','e'=>array(0=>'xwd')),673=>array('id'=>673,'t'=>'message/rfc822','e'=>array(0=>'eml',1=>'mime')),674=>array('id'=>674,'t'=>'model/iges','e'=>array(0=>'igs',1=>'iges')),675=>array('id'=>675,'t'=>'model/mesh','e'=>array(0=>'msh',1=>'mesh',2=>'silo')),676=>array('id'=>676,'t'=>'model/vnd.collada+xml','e'=>array(0=>'dae')),677=>array('id'=>677,'t'=>'model/vnd.dwf','e'=>array(0=>'dwf')),678=>array('id'=>678,'t'=>'model/vnd.gdl','e'=>array(0=>'gdl')),679=>array('id'=>679,'t'=>'model/vnd.gtw','e'=>array(0=>'gtw')),680=>array('id'=>680,'t'=>'model/vnd.mts','e'=>array(0=>'mts')),681=>array('id'=>681,'t'=>'model/vnd.vtu','e'=>array(0=>'vtu')),682=>array('id'=>682,'t'=>'model/vrml','e'=>array(0=>'wrl',1=>'vrml')),683=>array('id'=>683,'t'=>'model/x3d+binary','e'=>array(0=>'x3db',1=>'x3dbz')),684=>array('id'=>684,'t'=>'model/x3d+vrml','e'=>array(0=>'x3dv',1=>'x3dvz')),685=>array('id'=>685,'t'=>'model/x3d+xml','e'=>array(0=>'x3d',1=>'x3dz')),686=>array('id'=>686,'t'=>'text/cache-manifest','e'=>array(0=>'appcache')),687=>array('id'=>687,'t'=>'text/calendar','e'=>array(0=>'ics',1=>'ifb')),688=>array('id'=>688,'t'=>'text/css','e'=>array(0=>'css')),689=>array('id'=>689,'t'=>'text/csv','e'=>array(0=>'csv')),690=>array('id'=>690,'t'=>'text/html','e'=>array(0=>'html',1=>'htm')),691=>array('id'=>691,'t'=>'text/n3','e'=>array(0=>'n3')),692=>array('id'=>692,'t'=>'text/plain','e'=>array(0=>'txt',1=>'text',2=>'conf',3=>'def',4=>'list',5=>'log',6=>'in')),693=>array('id'=>693,'t'=>'text/prs.lines.tag','e'=>array(0=>'dsc')),694=>array('id'=>694,'t'=>'text/richtext','e'=>array(0=>'rtx')),695=>array('id'=>695,'t'=>'text/sgml','e'=>array(0=>'sgml',1=>'sgm')),696=>array('id'=>696,'t'=>'text/tab-separated-values','e'=>array(0=>'tsv')),697=>array('id'=>697,'t'=>'text/troff','e'=>array(0=>'t',1=>'tr',2=>'roff',3=>'man',4=>'me',5=>'ms')),698=>array('id'=>698,'t'=>'text/turtle','e'=>array(0=>'ttl')),699=>array('id'=>699,'t'=>'text/uri-list','e'=>array(0=>'uri',1=>'uris',2=>'urls')),700=>array('id'=>700,'t'=>'text/vcard','e'=>array(0=>'vcard')),701=>array('id'=>701,'t'=>'text/vnd.curl','e'=>array(0=>'curl')),702=>array('id'=>702,'t'=>'text/vnd.curl.dcurl','e'=>array(0=>'dcurl')),703=>array('id'=>703,'t'=>'text/vnd.curl.mcurl','e'=>array(0=>'mcurl')),704=>array('id'=>704,'t'=>'text/vnd.curl.scurl','e'=>array(0=>'scurl')),705=>array('id'=>705,'t'=>'text/vnd.dvb.subtitle','e'=>array(0=>'sub')),706=>array('id'=>706,'t'=>'text/vnd.fly','e'=>array(0=>'fly')),707=>array('id'=>707,'t'=>'text/vnd.fmi.flexstor','e'=>array(0=>'flx')),708=>array('id'=>708,'t'=>'text/vnd.graphviz','e'=>array(0=>'gv')),709=>array('id'=>709,'t'=>'text/vnd.in3d.3dml','e'=>array(0=>'3dml')),710=>array('id'=>710,'t'=>'text/vnd.in3d.spot','e'=>array(0=>'spot')),711=>array('id'=>711,'t'=>'text/vnd.sun.j2me.app-descriptor','e'=>array(0=>'jad')),712=>array('id'=>712,'t'=>'text/vnd.wap.wml','e'=>array(0=>'wml')),713=>array('id'=>713,'t'=>'text/vnd.wap.wmlscript','e'=>array(0=>'wmls')),714=>array('id'=>714,'t'=>'text/x-asm','e'=>array(0=>'s',1=>'asm')),715=>array('id'=>715,'t'=>'text/x-c','e'=>array(0=>'c',1=>'cc',2=>'cxx',3=>'cpp',4=>'h',5=>'hh',6=>'dic')),716=>array('id'=>716,'t'=>'text/x-fortran','e'=>array(0=>'f',1=>'for',2=>'f77',3=>'f90')),717=>array('id'=>717,'t'=>'text/x-java-source','e'=>array(0=>'java')),718=>array('id'=>718,'t'=>'text/x-nfo','e'=>array(0=>'nfo')),719=>array('id'=>719,'t'=>'text/x-opml','e'=>array(0=>'opml')),720=>array('id'=>720,'t'=>'text/x-pascal','e'=>array(0=>'p',1=>'pas')),721=>array('id'=>721,'t'=>'text/x-setext','e'=>array(0=>'etx')),722=>array('id'=>722,'t'=>'text/x-sfv','e'=>array(0=>'sfv')),723=>array('id'=>723,'t'=>'text/x-uuencode','e'=>array(0=>'uu')),724=>array('id'=>724,'t'=>'text/x-vcalendar','e'=>array(0=>'vcs')),725=>array('id'=>725,'t'=>'text/x-vcard','e'=>array(0=>'vcf')),726=>array('id'=>726,'t'=>'video/3gpp','e'=>array(0=>'3gp')),727=>array('id'=>727,'t'=>'video/3gpp2','e'=>array(0=>'3g2')),728=>array('id'=>728,'t'=>'video/h261','e'=>array(0=>'h261')),729=>array('id'=>729,'t'=>'video/h263','e'=>array(0=>'h263')),730=>array('id'=>730,'t'=>'video/h264','e'=>array(0=>'h264')),731=>array('id'=>731,'t'=>'video/jpeg','e'=>array(0=>'jpgv')),732=>array('id'=>732,'t'=>'video/jpm','e'=>array(0=>'jpm',1=>'jpgm')),733=>array('id'=>733,'t'=>'video/mj2','e'=>array(0=>'mj2',1=>'mjp2')),734=>array('id'=>734,'t'=>'video/mp4','e'=>array(0=>'mp4',1=>'mp4v',2=>'mpg4')),735=>array('id'=>735,'t'=>'video/mpeg','e'=>array(0=>'mpeg',1=>'mpg',2=>'mpe',3=>'m1v',4=>'m2v')),736=>array('id'=>736,'t'=>'video/ogg','e'=>array(0=>'ogv')),737=>array('id'=>737,'t'=>'video/quicktime','e'=>array(0=>'qt',1=>'mov')),738=>array('id'=>738,'t'=>'video/vnd.dece.hd','e'=>array(0=>'uvh',1=>'uvvh')),739=>array('id'=>739,'t'=>'video/vnd.dece.mobile','e'=>array(0=>'uvm',1=>'uvvm')),740=>array('id'=>740,'t'=>'video/vnd.dece.pd','e'=>array(0=>'uvp',1=>'uvvp')),741=>array('id'=>741,'t'=>'video/vnd.dece.sd','e'=>array(0=>'uvs',1=>'uvvs')),742=>array('id'=>742,'t'=>'video/vnd.dece.video','e'=>array(0=>'uvv',1=>'uvvv')),743=>array('id'=>743,'t'=>'video/vnd.dvb.file','e'=>array(0=>'dvb')),744=>array('id'=>744,'t'=>'video/vnd.fvt','e'=>array(0=>'fvt')),745=>array('id'=>745,'t'=>'video/vnd.mpegurl','e'=>array(0=>'mxu',1=>'m4u')),746=>array('id'=>746,'t'=>'video/vnd.ms-playready.media.pyv','e'=>array(0=>'pyv')),747=>array('id'=>747,'t'=>'video/vnd.uvvu.mp4','e'=>array(0=>'uvu',1=>'uvvu')),748=>array('id'=>748,'t'=>'video/vnd.vivo','e'=>array(0=>'viv')),749=>array('id'=>749,'t'=>'video/webm','e'=>array(0=>'webm')),750=>array('id'=>750,'t'=>'video/x-f4v','e'=>array(0=>'f4v')),751=>array('id'=>751,'t'=>'video/x-fli','e'=>array(0=>'fli')),752=>array('id'=>752,'t'=>'video/x-flv','e'=>array(0=>'flv')),753=>array('id'=>753,'t'=>'video/x-m4v','e'=>array(0=>'m4v')),754=>array('id'=>754,'t'=>'video/x-matroska','e'=>array(0=>'mkv',1=>'mk3d',2=>'mks')),755=>array('id'=>755,'t'=>'video/x-mng','e'=>array(0=>'mng')),756=>array('id'=>756,'t'=>'video/x-ms-asf','e'=>array(0=>'asf',1=>'asx')),757=>array('id'=>757,'t'=>'video/x-ms-vob','e'=>array(0=>'vob')),758=>array('id'=>758,'t'=>'video/x-ms-wm','e'=>array(0=>'wm')),759=>array('id'=>759,'t'=>'video/x-ms-wmv','e'=>array(0=>'wmv')),760=>array('id'=>760,'t'=>'video/x-ms-wmx','e'=>array(0=>'wmx')),761=>array('id'=>761,'t'=>'video/x-ms-wvx','e'=>array(0=>'wvx')),762=>array('id'=>762,'t'=>'video/x-msvideo','e'=>array(0=>'avi')),763=>array('id'=>763,'t'=>'video/x-sgi-movie','e'=>array(0=>'movie')),764=>array('id'=>764,'t'=>'video/x-smv','e'=>array(0=>'smv')),765=>array('id'=>765,'t'=>'x-conference/x-cooltalk','e'=>array(0=>'ice'))); \ No newline at end of file diff --git a/app/data/uploads/.gitkeep b/app/data/uploads/.gitkeep deleted file mode 100755 index e69de29bb2..0000000000 diff --git a/bin/console b/bin/console deleted file mode 100755 index 3cb1462417..0000000000 --- a/bin/console +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env php -getParameterOption(['--env', '-e'], getenv('SYMFONY_ENV') ?: 'dev'); -$debug = getenv('SYMFONY_DEBUG') !== '0' && !$input->hasParameterOption(['--no-debug', '']) && $env !== 'prod'; - -if ($debug) { - Debug::enable(); -} - -$kernel = new AppKernel($env, $debug); -$application = new Application($kernel); -$application->run($input); diff --git a/bin/symfony_requirements b/bin/symfony_requirements deleted file mode 100755 index a7bf65a1b8..0000000000 --- a/bin/symfony_requirements +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env php -getPhpIniConfigPath(); - -echo_title('Symfony Requirements Checker'); - -echo '> PHP is using the following php.ini file:'.PHP_EOL; -if ($iniPath) { - echo_style('green', ' '.$iniPath); -} else { - echo_style('yellow', ' WARNING: No configuration file (php.ini) used by PHP!'); -} - -echo PHP_EOL.PHP_EOL; - -echo '> Checking Symfony requirements:'.PHP_EOL.' '; - -$messages = array(); -foreach ($symfonyRequirements->getRequirements() as $req) { - if ($helpText = get_error_message($req, $lineSize)) { - echo_style('red', 'E'); - $messages['error'][] = $helpText; - } else { - echo_style('green', '.'); - } -} - -$checkPassed = empty($messages['error']); - -foreach ($symfonyRequirements->getRecommendations() as $req) { - if ($helpText = get_error_message($req, $lineSize)) { - echo_style('yellow', 'W'); - $messages['warning'][] = $helpText; - } else { - echo_style('green', '.'); - } -} - -if ($checkPassed) { - echo_block('success', 'OK', 'Your system is ready to run Symfony projects'); -} else { - echo_block('error', 'ERROR', 'Your system is not ready to run Symfony projects'); - - echo_title('Fix the following mandatory requirements', 'red'); - - foreach ($messages['error'] as $helpText) { - echo ' * '.$helpText.PHP_EOL; - } -} - -if (!empty($messages['warning'])) { - echo_title('Optional recommendations to improve your setup', 'yellow'); - - foreach ($messages['warning'] as $helpText) { - echo ' * '.$helpText.PHP_EOL; - } -} - -echo PHP_EOL; -echo_style('title', 'Note'); -echo ' The command console could use a different php.ini file'.PHP_EOL; -echo_style('title', '~~~~'); -echo ' than the one used with your web server. To be on the'.PHP_EOL; -echo ' safe side, please check the requirements from your web'.PHP_EOL; -echo ' server using the '; -echo_style('yellow', 'web/config.php'); -echo ' script.'.PHP_EOL; -echo PHP_EOL; - -exit($checkPassed ? 0 : 1); - -function get_error_message(Requirement $requirement, $lineSize) -{ - if ($requirement->isFulfilled()) { - return; - } - - $errorMessage = wordwrap($requirement->getTestMessage(), $lineSize - 3, PHP_EOL.' ').PHP_EOL; - $errorMessage .= ' > '.wordwrap($requirement->getHelpText(), $lineSize - 5, PHP_EOL.' > ').PHP_EOL; - - return $errorMessage; -} - -function echo_title($title, $style = null) -{ - $style = $style ?: 'title'; - - echo PHP_EOL; - echo_style($style, $title.PHP_EOL); - echo_style($style, str_repeat('~', strlen($title)).PHP_EOL); - echo PHP_EOL; -} - -function echo_style($style, $message) -{ - // ANSI color codes - $styles = array( - 'reset' => "\033[0m", - 'red' => "\033[31m", - 'green' => "\033[32m", - 'yellow' => "\033[33m", - 'error' => "\033[37;41m", - 'success' => "\033[37;42m", - 'title' => "\033[34m", - ); - $supports = has_color_support(); - - echo($supports ? $styles[$style] : '').$message.($supports ? $styles['reset'] : ''); -} - -function echo_block($style, $title, $message) -{ - $message = ' '.trim($message).' '; - $width = strlen($message); - - echo PHP_EOL.PHP_EOL; - - echo_style($style, str_repeat(' ', $width)); - echo PHP_EOL; - echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT)); - echo PHP_EOL; - echo_style($style, $message); - echo PHP_EOL; - echo_style($style, str_repeat(' ', $width)); - echo PHP_EOL; -} - -function has_color_support() -{ - static $support; - - if (null === $support) { - if (DIRECTORY_SEPARATOR == '\\') { - $support = false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI'); - } else { - $support = function_exists('posix_isatty') && @posix_isatty(STDOUT); - } - } - - return $support; -} diff --git a/composer.json b/composer.json deleted file mode 100755 index 142239270f..0000000000 --- a/composer.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "name": "laurent/notes", - "license": "proprietary", - "type": "project", - "autoload": { - "psr-4": { - "": "src/" - }, - "classmap": [ - "app/AppKernel.php", - "app/AppCache.php" - ] - }, - "autoload-dev": { - "psr-4": { - "Tests\\": "tests/" - } - }, - "require": { - "php": ">=5.5.9", - "symfony/symfony": "3.1.*", - "doctrine/orm": "^2.5", - "doctrine/doctrine-bundle": "^1.6", - "doctrine/doctrine-cache-bundle": "^1.2", - "symfony/swiftmailer-bundle": "^2.3", - "symfony/monolog-bundle": "^2.8", - "symfony/polyfill-apcu": "^1.0", - "sensio/distribution-bundle": "^5.0", - "sensio/framework-extra-bundle": "^3.0.2", - "incenteev/composer-parameter-handler": "^2.0", - "illuminate/database": "*", - "yetanotherape/diff-match-patch": "*" - }, - "require-dev": { - "sensio/generator-bundle": "^3.0", - "symfony/phpunit-bridge": "^3.0" - }, - "scripts": { - "symfony-scripts": [ - "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", - "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", - "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", - "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", - "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile", - "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget" - ], - "post-install-cmd": [ - "@symfony-scripts" - ], - "post-update-cmd": [ - "@symfony-scripts" - ] - }, - "extra": { - "symfony-app-dir": "app", - "symfony-bin-dir": "bin", - "symfony-var-dir": "var", - "symfony-web-dir": "web", - "symfony-tests-dir": "tests", - "symfony-assets-install": "relative", - "incenteev-parameters": { - "file": "app/config/parameters.yml" - } - } -} diff --git a/composer.lock b/composer.lock deleted file mode 100755 index 9b7c7888d7..0000000000 --- a/composer.lock +++ /dev/null @@ -1,2476 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", - "This file is @generated automatically" - ], - "hash": "eee8ce5d0dacb47864d01d2e948df689", - "content-hash": "b802a93b011d1b9776a3c2f36989e307", - "packages": [ - { - "name": "composer/ca-bundle", - "version": "1.0.7", - "source": { - "type": "git", - "url": "https://github.com/composer/ca-bundle.git", - "reference": "b17e6153cb7f33c7e44eb59578dc12eee5dc8e12" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/b17e6153cb7f33c7e44eb59578dc12eee5dc8e12", - "reference": "b17e6153cb7f33c7e44eb59578dc12eee5dc8e12", - "shasum": "" - }, - "require": { - "ext-openssl": "*", - "ext-pcre": "*", - "php": "^5.3.2 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.5", - "psr/log": "^1.0", - "symfony/process": "^2.5 || ^3.0" - }, - "suggest": { - "symfony/process": "This is necessary to reliably check whether openssl_x509_parse is vulnerable on older php versions, but can be ignored on PHP 5.5.6+" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\CaBundle\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", - "keywords": [ - "cabundle", - "cacert", - "certificate", - "ssl", - "tls" - ], - "time": "2017-03-06 11:59:08" - }, - { - "name": "doctrine/annotations", - "version": "v1.4.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/annotations.git", - "reference": "54cacc9b81758b14e3ce750f205a393d52339e97" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/54cacc9b81758b14e3ce750f205a393d52339e97", - "reference": "54cacc9b81758b14e3ce750f205a393d52339e97", - "shasum": "" - }, - "require": { - "doctrine/lexer": "1.*", - "php": "^5.6 || ^7.0" - }, - "require-dev": { - "doctrine/cache": "1.*", - "phpunit/phpunit": "^5.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Docblock Annotations Parser", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "annotations", - "docblock", - "parser" - ], - "time": "2017-02-24 16:22:25" - }, - { - "name": "doctrine/cache", - "version": "v1.6.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/cache.git", - "reference": "b6f544a20f4807e81f7044d31e679ccbb1866dc3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/b6f544a20f4807e81f7044d31e679ccbb1866dc3", - "reference": "b6f544a20f4807e81f7044d31e679ccbb1866dc3", - "shasum": "" - }, - "require": { - "php": "~5.5|~7.0" - }, - "conflict": { - "doctrine/common": ">2.2,<2.4" - }, - "require-dev": { - "phpunit/phpunit": "~4.8|~5.0", - "predis/predis": "~1.0", - "satooshi/php-coveralls": "~0.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.6.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Caching library offering an object-oriented API for many cache backends", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "cache", - "caching" - ], - "time": "2016-10-29 11:16:17" - }, - { - "name": "doctrine/collections", - "version": "v1.4.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/collections.git", - "reference": "1a4fb7e902202c33cce8c55989b945612943c2ba" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/1a4fb7e902202c33cce8c55989b945612943c2ba", - "reference": "1a4fb7e902202c33cce8c55989b945612943c2ba", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "require-dev": { - "doctrine/coding-standard": "~0.1@dev", - "phpunit/phpunit": "^5.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\Collections\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Collections Abstraction library", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "array", - "collections", - "iterator" - ], - "time": "2017-01-03 10:49:41" - }, - { - "name": "doctrine/common", - "version": "v2.7.2", - "source": { - "type": "git", - "url": "https://github.com/doctrine/common.git", - "reference": "930297026c8009a567ac051fd545bf6124150347" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/common/zipball/930297026c8009a567ac051fd545bf6124150347", - "reference": "930297026c8009a567ac051fd545bf6124150347", - "shasum": "" - }, - "require": { - "doctrine/annotations": "1.*", - "doctrine/cache": "1.*", - "doctrine/collections": "1.*", - "doctrine/inflector": "1.*", - "doctrine/lexer": "1.*", - "php": "~5.6|~7.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.4.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\": "lib/Doctrine/Common" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Common Library for Doctrine projects", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "annotations", - "collections", - "eventmanager", - "persistence", - "spl" - ], - "time": "2017-01-13 14:02:13" - }, - { - "name": "doctrine/dbal", - "version": "v2.5.12", - "source": { - "type": "git", - "url": "https://github.com/doctrine/dbal.git", - "reference": "7b9e911f9d8b30d43b96853dab26898c710d8f44" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/7b9e911f9d8b30d43b96853dab26898c710d8f44", - "reference": "7b9e911f9d8b30d43b96853dab26898c710d8f44", - "shasum": "" - }, - "require": { - "doctrine/common": ">=2.4,<2.8-dev", - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "4.*", - "symfony/console": "2.*||^3.0" - }, - "suggest": { - "symfony/console": "For helpful console commands such as SQL execution and import of files." - }, - "bin": [ - "bin/doctrine-dbal" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\DBAL\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - } - ], - "description": "Database Abstraction Layer", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "database", - "dbal", - "persistence", - "queryobject" - ], - "time": "2017-02-08 12:53:47" - }, - { - "name": "doctrine/doctrine-bundle", - "version": "1.6.7", - "source": { - "type": "git", - "url": "https://github.com/doctrine/DoctrineBundle.git", - "reference": "a01d99bc6c9a6c8a8ace0012690099dd957ce9b9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/a01d99bc6c9a6c8a8ace0012690099dd957ce9b9", - "reference": "a01d99bc6c9a6c8a8ace0012690099dd957ce9b9", - "shasum": "" - }, - "require": { - "doctrine/dbal": "~2.3", - "doctrine/doctrine-cache-bundle": "~1.0", - "jdorn/sql-formatter": "~1.1", - "php": ">=5.5.9", - "symfony/console": "~2.7|~3.0", - "symfony/dependency-injection": "~2.7|~3.0", - "symfony/doctrine-bridge": "~2.7|~3.0", - "symfony/framework-bundle": "~2.7|~3.0" - }, - "require-dev": { - "doctrine/orm": "~2.3", - "phpunit/phpunit": "~4", - "satooshi/php-coveralls": "^1.0", - "symfony/phpunit-bridge": "~2.7|~3.0", - "symfony/property-info": "~2.8|~3.0", - "symfony/validator": "~2.7|~3.0", - "symfony/yaml": "~2.7|~3.0", - "twig/twig": "~1.10|~2.0" - }, - "suggest": { - "doctrine/orm": "The Doctrine ORM integration is optional in the bundle.", - "symfony/web-profiler-bundle": "To use the data collector." - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "1.6.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Bundle\\DoctrineBundle\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Doctrine Project", - "homepage": "http://www.doctrine-project.org/" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Symfony DoctrineBundle", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "database", - "dbal", - "orm", - "persistence" - ], - "time": "2017-01-16 12:01:26" - }, - { - "name": "doctrine/doctrine-cache-bundle", - "version": "1.3.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/DoctrineCacheBundle.git", - "reference": "18c600a9b82f6454d2e81ca4957cdd56a1cf3504" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineCacheBundle/zipball/18c600a9b82f6454d2e81ca4957cdd56a1cf3504", - "reference": "18c600a9b82f6454d2e81ca4957cdd56a1cf3504", - "shasum": "" - }, - "require": { - "doctrine/cache": "^1.4.2", - "doctrine/inflector": "~1.0", - "php": ">=5.3.2", - "symfony/doctrine-bridge": "~2.2|~3.0" - }, - "require-dev": { - "instaclick/coding-standard": "~1.1", - "instaclick/object-calisthenics-sniffs": "dev-master", - "instaclick/symfony2-coding-standard": "dev-remaster", - "phpunit/phpunit": "~4", - "predis/predis": "~0.8", - "satooshi/php-coveralls": "~0.6.1", - "squizlabs/php_codesniffer": "~1.5", - "symfony/console": "~2.2|~3.0", - "symfony/finder": "~2.2|~3.0", - "symfony/framework-bundle": "~2.2|~3.0", - "symfony/phpunit-bridge": "~2.7|~3.0", - "symfony/security-acl": "~2.3|~3.0", - "symfony/validator": "~2.2|~3.0", - "symfony/yaml": "~2.2|~3.0" - }, - "suggest": { - "symfony/security-acl": "For using this bundle to cache ACLs" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Bundle\\DoctrineCacheBundle\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Fabio B. Silva", - "email": "fabio.bat.silva@gmail.com" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@hotmail.com" - }, - { - "name": "Doctrine Project", - "homepage": "http://www.doctrine-project.org/" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Symfony Bundle for Doctrine Cache", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "cache", - "caching" - ], - "time": "2016-01-26 17:28:51" - }, - { - "name": "doctrine/inflector", - "version": "v1.1.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/inflector.git", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/90b2128806bfde671b6952ab8bea493942c1fdae", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "4.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\Inflector\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Common String Manipulations with regard to casing and singular/plural rules.", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "inflection", - "pluralize", - "singularize", - "string" - ], - "time": "2015-11-06 14:35:42" - }, - { - "name": "doctrine/instantiator", - "version": "1.0.5", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", - "shasum": "" - }, - "require": { - "php": ">=5.3,<8.0-DEV" - }, - "require-dev": { - "athletic/athletic": "~0.1.8", - "ext-pdo": "*", - "ext-phar": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://github.com/doctrine/instantiator", - "keywords": [ - "constructor", - "instantiate" - ], - "time": "2015-06-14 21:17:01" - }, - { - "name": "doctrine/lexer", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c", - "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\Lexer\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "lexer", - "parser" - ], - "time": "2014-09-09 13:34:57" - }, - { - "name": "doctrine/orm", - "version": "v2.5.6", - "source": { - "type": "git", - "url": "https://github.com/doctrine/doctrine2.git", - "reference": "e6c434196c8ef058239aaa0724b4aadb0107940b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/doctrine2/zipball/e6c434196c8ef058239aaa0724b4aadb0107940b", - "reference": "e6c434196c8ef058239aaa0724b4aadb0107940b", - "shasum": "" - }, - "require": { - "doctrine/cache": "~1.4", - "doctrine/collections": "~1.2", - "doctrine/common": ">=2.5-dev,<2.8-dev", - "doctrine/dbal": ">=2.5-dev,<2.6-dev", - "doctrine/instantiator": "~1.0.1", - "ext-pdo": "*", - "php": ">=5.4", - "symfony/console": "~2.5|~3.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0", - "symfony/yaml": "~2.3|~3.0" - }, - "suggest": { - "symfony/yaml": "If you want to use YAML Metadata Mapping Driver" - }, - "bin": [ - "bin/doctrine", - "bin/doctrine.php" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.6.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\ORM\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - } - ], - "description": "Object-Relational-Mapper for PHP", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "database", - "orm" - ], - "time": "2016-12-18 15:42:34" - }, - { - "name": "illuminate/container", - "version": "v5.4.19", - "source": { - "type": "git", - "url": "https://github.com/illuminate/container.git", - "reference": "50aa19491d478edd907d1f67e0928944e8b2dcb5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/container/zipball/50aa19491d478edd907d1f67e0928944e8b2dcb5", - "reference": "50aa19491d478edd907d1f67e0928944e8b2dcb5", - "shasum": "" - }, - "require": { - "illuminate/contracts": "5.4.*", - "php": ">=5.6.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.4-dev" - } - }, - "autoload": { - "psr-4": { - "Illuminate\\Container\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - } - ], - "description": "The Illuminate Container package.", - "homepage": "https://laravel.com", - "time": "2017-04-16 13:32:45" - }, - { - "name": "illuminate/contracts", - "version": "v5.4.19", - "source": { - "type": "git", - "url": "https://github.com/illuminate/contracts.git", - "reference": "ab2825726bee46a67c8cc66789852189dbef74a9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/ab2825726bee46a67c8cc66789852189dbef74a9", - "reference": "ab2825726bee46a67c8cc66789852189dbef74a9", - "shasum": "" - }, - "require": { - "php": ">=5.6.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.4-dev" - } - }, - "autoload": { - "psr-4": { - "Illuminate\\Contracts\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - } - ], - "description": "The Illuminate Contracts package.", - "homepage": "https://laravel.com", - "time": "2017-03-29 13:17:47" - }, - { - "name": "illuminate/database", - "version": "v5.4.19", - "source": { - "type": "git", - "url": "https://github.com/illuminate/database.git", - "reference": "890564c6b84bcb2b45d41d3da072fabf422c07f5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/database/zipball/890564c6b84bcb2b45d41d3da072fabf422c07f5", - "reference": "890564c6b84bcb2b45d41d3da072fabf422c07f5", - "shasum": "" - }, - "require": { - "illuminate/container": "5.4.*", - "illuminate/contracts": "5.4.*", - "illuminate/support": "5.4.*", - "nesbot/carbon": "~1.20", - "php": ">=5.6.4" - }, - "suggest": { - "doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.5).", - "fzaninotto/faker": "Required to use the eloquent factory builder (~1.4).", - "illuminate/console": "Required to use the database commands (5.4.*).", - "illuminate/events": "Required to use the observers with Eloquent (5.4.*).", - "illuminate/filesystem": "Required to use the migrations (5.4.*).", - "illuminate/pagination": "Required to paginate the result set (5.4.*)." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.4-dev" - } - }, - "autoload": { - "psr-4": { - "Illuminate\\Database\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - } - ], - "description": "The Illuminate Database package.", - "homepage": "https://laravel.com", - "keywords": [ - "database", - "laravel", - "orm", - "sql" - ], - "time": "2017-04-11 22:53:18" - }, - { - "name": "illuminate/support", - "version": "v5.4.19", - "source": { - "type": "git", - "url": "https://github.com/illuminate/support.git", - "reference": "b8cb37e15331c59da51c8ee5838038baa22d7955" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/b8cb37e15331c59da51c8ee5838038baa22d7955", - "reference": "b8cb37e15331c59da51c8ee5838038baa22d7955", - "shasum": "" - }, - "require": { - "doctrine/inflector": "~1.0", - "ext-mbstring": "*", - "illuminate/contracts": "5.4.*", - "paragonie/random_compat": "~1.4|~2.0", - "php": ">=5.6.4" - }, - "replace": { - "tightenco/collect": "self.version" - }, - "suggest": { - "illuminate/filesystem": "Required to use the composer class (5.2.*).", - "symfony/process": "Required to use the composer class (~3.2).", - "symfony/var-dumper": "Required to use the dd function (~3.2)." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.4-dev" - } - }, - "autoload": { - "psr-4": { - "Illuminate\\Support\\": "" - }, - "files": [ - "helpers.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - } - ], - "description": "The Illuminate Support package.", - "homepage": "https://laravel.com", - "time": "2017-04-09 14:34:57" - }, - { - "name": "incenteev/composer-parameter-handler", - "version": "v2.1.2", - "source": { - "type": "git", - "url": "https://github.com/Incenteev/ParameterHandler.git", - "reference": "d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Incenteev/ParameterHandler/zipball/d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc", - "reference": "d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "symfony/yaml": "~2.3|~3.0" - }, - "require-dev": { - "composer/composer": "1.0.*@dev", - "phpspec/prophecy-phpunit": "~1.0", - "symfony/filesystem": "~2.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Incenteev\\ParameterHandler\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Christophe Coevoet", - "email": "stof@notk.org" - } - ], - "description": "Composer script handling your ignored parameter file", - "homepage": "https://github.com/Incenteev/ParameterHandler", - "keywords": [ - "parameters management" - ], - "time": "2015-11-10 17:04:01" - }, - { - "name": "jdorn/sql-formatter", - "version": "v1.2.17", - "source": { - "type": "git", - "url": "https://github.com/jdorn/sql-formatter.git", - "reference": "64990d96e0959dff8e059dfcdc1af130728d92bc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/jdorn/sql-formatter/zipball/64990d96e0959dff8e059dfcdc1af130728d92bc", - "reference": "64990d96e0959dff8e059dfcdc1af130728d92bc", - "shasum": "" - }, - "require": { - "php": ">=5.2.4" - }, - "require-dev": { - "phpunit/phpunit": "3.7.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3.x-dev" - } - }, - "autoload": { - "classmap": [ - "lib" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jeremy Dorn", - "email": "jeremy@jeremydorn.com", - "homepage": "http://jeremydorn.com/" - } - ], - "description": "a PHP SQL highlighting library", - "homepage": "https://github.com/jdorn/sql-formatter/", - "keywords": [ - "highlight", - "sql" - ], - "time": "2014-01-12 16:20:24" - }, - { - "name": "monolog/monolog", - "version": "1.22.1", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/monolog.git", - "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0", - "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0", - "shasum": "" - }, - "require": { - "php": ">=5.3.0", - "psr/log": "~1.0" - }, - "provide": { - "psr/log-implementation": "1.0.0" - }, - "require-dev": { - "aws/aws-sdk-php": "^2.4.9 || ^3.0", - "doctrine/couchdb": "~1.0@dev", - "graylog2/gelf-php": "~1.0", - "jakub-onderka/php-parallel-lint": "0.9", - "php-amqplib/php-amqplib": "~2.4", - "php-console/php-console": "^3.1.3", - "phpunit/phpunit": "~4.5", - "phpunit/phpunit-mock-objects": "2.3.0", - "ruflin/elastica": ">=0.90 <3.0", - "sentry/sentry": "^0.13", - "swiftmailer/swiftmailer": "~5.3" - }, - "suggest": { - "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", - "doctrine/couchdb": "Allow sending log messages to a CouchDB server", - "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", - "ext-mongo": "Allow sending log messages to a MongoDB server", - "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", - "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", - "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", - "php-console/php-console": "Allow sending log messages to Google Chrome", - "rollbar/rollbar": "Allow sending log messages to Rollbar", - "ruflin/elastica": "Allow sending log messages to an Elastic Search server", - "sentry/sentry": "Allow sending log messages to a Sentry server" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Monolog\\": "src/Monolog" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "Sends your logs to files, sockets, inboxes, databases and various web services", - "homepage": "http://github.com/Seldaek/monolog", - "keywords": [ - "log", - "logging", - "psr-3" - ], - "time": "2017-03-13 07:08:03" - }, - { - "name": "nesbot/carbon", - "version": "1.22.1", - "source": { - "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "7cdf42c0b1cc763ab7e4c33c47a24e27c66bfccc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/7cdf42c0b1cc763ab7e4c33c47a24e27c66bfccc", - "reference": "7cdf42c0b1cc763ab7e4c33c47a24e27c66bfccc", - "shasum": "" - }, - "require": { - "php": ">=5.3.0", - "symfony/translation": "~2.6 || ~3.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "~2", - "phpunit/phpunit": "~4.0 || ~5.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.23-dev" - } - }, - "autoload": { - "psr-4": { - "Carbon\\": "src/Carbon/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Brian Nesbitt", - "email": "brian@nesbot.com", - "homepage": "http://nesbot.com" - } - ], - "description": "A simple API extension for DateTime.", - "homepage": "http://carbon.nesbot.com", - "keywords": [ - "date", - "datetime", - "time" - ], - "time": "2017-01-16 07:55:07" - }, - { - "name": "paragonie/random_compat", - "version": "v2.0.10", - "source": { - "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/634bae8e911eefa89c1abfbf1b66da679ac8f54d", - "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d", - "shasum": "" - }, - "require": { - "php": ">=5.2.0" - }, - "require-dev": { - "phpunit/phpunit": "4.*|5.*" - }, - "suggest": { - "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." - }, - "type": "library", - "autoload": { - "files": [ - "lib/random.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com" - } - ], - "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", - "keywords": [ - "csprng", - "pseudorandom", - "random" - ], - "time": "2017-03-13 16:27:32" - }, - { - "name": "psr/cache", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Cache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for caching libraries", - "keywords": [ - "cache", - "psr", - "psr-6" - ], - "time": "2016-08-06 20:24:11" - }, - { - "name": "psr/log", - "version": "1.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "Psr/Log/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "time": "2016-10-10 12:19:37" - }, - { - "name": "sensio/distribution-bundle", - "version": "v5.0.19", - "source": { - "type": "git", - "url": "https://github.com/sensiolabs/SensioDistributionBundle.git", - "reference": "654c4fa3d11448c8005400a244987896243a990a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/654c4fa3d11448c8005400a244987896243a990a", - "reference": "654c4fa3d11448c8005400a244987896243a990a", - "shasum": "" - }, - "require": { - "php": ">=5.3.9", - "sensiolabs/security-checker": "~3.0|~4.0", - "symfony/class-loader": "~2.3|~3.0", - "symfony/config": "~2.3|~3.0", - "symfony/dependency-injection": "~2.3|~3.0", - "symfony/filesystem": "~2.3|~3.0", - "symfony/http-kernel": "~2.3|~3.0", - "symfony/process": "~2.3|~3.0" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "5.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Sensio\\Bundle\\DistributionBundle\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Base bundle for Symfony Distributions", - "keywords": [ - "configuration", - "distribution" - ], - "time": "2017-04-23 22:28:23" - }, - { - "name": "sensio/framework-extra-bundle", - "version": "v3.0.25", - "source": { - "type": "git", - "url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git", - "reference": "472b339cf0c82f3a033b29f85d9d9cada3cd1a9c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/472b339cf0c82f3a033b29f85d9d9cada3cd1a9c", - "reference": "472b339cf0c82f3a033b29f85d9d9cada3cd1a9c", - "shasum": "" - }, - "require": { - "doctrine/common": "~2.2", - "symfony/dependency-injection": "~2.3|~3.0", - "symfony/framework-bundle": "~2.3|~3.0" - }, - "require-dev": { - "doctrine/doctrine-bundle": "~1.5", - "doctrine/orm": "~2.4,>=2.4.5", - "symfony/asset": "~2.7|~3.0", - "symfony/browser-kit": "~2.3|~3.0", - "symfony/dom-crawler": "~2.3|~3.0", - "symfony/expression-language": "~2.4|~3.0", - "symfony/finder": "~2.3|~3.0", - "symfony/phpunit-bridge": "~3.2", - "symfony/psr-http-message-bridge": "^0.3", - "symfony/security-bundle": "~2.4|~3.0", - "symfony/templating": "~2.3|~3.0", - "symfony/translation": "~2.3|~3.0", - "symfony/twig-bundle": "~2.3|~3.0", - "symfony/yaml": "~2.3|~3.0", - "twig/twig": "~1.12|~2.0", - "zendframework/zend-diactoros": "^1.3" - }, - "suggest": { - "symfony/expression-language": "", - "symfony/psr-http-message-bridge": "To use the PSR-7 converters", - "symfony/security-bundle": "" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Sensio\\Bundle\\FrameworkExtraBundle\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "This bundle provides a way to configure your controllers with annotations", - "keywords": [ - "annotations", - "controllers" - ], - "time": "2017-03-21 23:34:44" - }, - { - "name": "sensiolabs/security-checker", - "version": "v4.0.4", - "source": { - "type": "git", - "url": "https://github.com/sensiolabs/security-checker.git", - "reference": "9e69eddf3bc49d1ee5c7908564da3141796d4bbc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/security-checker/zipball/9e69eddf3bc49d1ee5c7908564da3141796d4bbc", - "reference": "9e69eddf3bc49d1ee5c7908564da3141796d4bbc", - "shasum": "" - }, - "require": { - "composer/ca-bundle": "^1.0", - "symfony/console": "~2.7|~3.0" - }, - "bin": [ - "security-checker" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "psr-0": { - "SensioLabs\\Security": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien.potencier@gmail.com" - } - ], - "description": "A security checker for your composer.lock", - "time": "2017-03-31 14:50:32" - }, - { - "name": "swiftmailer/swiftmailer", - "version": "v5.4.7", - "source": { - "type": "git", - "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "56db4ed32a6d5c9824c3ecc1d2e538f663f47eb4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/56db4ed32a6d5c9824c3ecc1d2e538f663f47eb4", - "reference": "56db4ed32a6d5c9824c3ecc1d2e538f663f47eb4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "mockery/mockery": "~0.9.1", - "symfony/phpunit-bridge": "~3.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.4-dev" - } - }, - "autoload": { - "files": [ - "lib/swift_required.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Chris Corbyn" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Swiftmailer, free feature-rich PHP mailer", - "homepage": "http://swiftmailer.org", - "keywords": [ - "email", - "mail", - "mailer" - ], - "time": "2017-04-20 17:32:18" - }, - { - "name": "symfony/monolog-bundle", - "version": "v2.12.1", - "source": { - "type": "git", - "url": "https://github.com/symfony/monolog-bundle.git", - "reference": "b0146bdca7ba2a65f3bbe7010423c7393b29ec3f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/b0146bdca7ba2a65f3bbe7010423c7393b29ec3f", - "reference": "b0146bdca7ba2a65f3bbe7010423c7393b29ec3f", - "shasum": "" - }, - "require": { - "monolog/monolog": "~1.18", - "php": ">=5.3.2", - "symfony/config": "~2.3|~3.0", - "symfony/dependency-injection": "~2.3|~3.0", - "symfony/http-kernel": "~2.3|~3.0", - "symfony/monolog-bridge": "~2.3|~3.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8", - "symfony/console": "~2.3|~3.0", - "symfony/yaml": "~2.3|~3.0" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Bundle\\MonologBundle\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Symfony MonologBundle", - "homepage": "http://symfony.com", - "keywords": [ - "log", - "logging" - ], - "time": "2017-01-02 19:04:26" - }, - { - "name": "symfony/polyfill-apcu", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-apcu.git", - "reference": "5d4474f447403c3348e37b70acc2b95475b7befa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-apcu/zipball/5d4474f447403c3348e37b70acc2b95475b7befa", - "reference": "5d4474f447403c3348e37b70acc2b95475b7befa", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting apcu_* functions to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "apcu", - "compatibility", - "polyfill", - "portable", - "shim" - ], - "time": "2016-11-14 01:06:16" - }, - { - "name": "symfony/polyfill-intl-icu", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-icu.git", - "reference": "2d6e2b20d457603eefb6e614286c22efca30fdb4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/2d6e2b20d457603eefb6e614286c22efca30fdb4", - "reference": "2d6e2b20d457603eefb6e614286c22efca30fdb4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "symfony/intl": "~2.3|~3.0" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's ICU-related data and classes", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "icu", - "intl", - "polyfill", - "portable", - "shim" - ], - "time": "2016-11-14 01:06:16" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "time": "2016-11-14 01:06:16" - }, - { - "name": "symfony/polyfill-php56", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php56.git", - "reference": "1dd42b9b89556f18092f3d1ada22cb05ac85383c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/1dd42b9b89556f18092f3d1ada22cb05ac85383c", - "reference": "1dd42b9b89556f18092f3d1ada22cb05ac85383c", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "symfony/polyfill-util": "~1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php56\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "time": "2016-11-14 01:06:16" - }, - { - "name": "symfony/polyfill-php70", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "13ce343935f0f91ca89605a2f6ca6f5c2f3faac2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/13ce343935f0f91ca89605a2f6ca6f5c2f3faac2", - "reference": "13ce343935f0f91ca89605a2f6ca6f5c2f3faac2", - "shasum": "" - }, - "require": { - "paragonie/random_compat": "~1.0|~2.0", - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "time": "2016-11-14 01:06:16" - }, - { - "name": "symfony/polyfill-util", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-util.git", - "reference": "746bce0fca664ac0a575e465f65c6643faddf7fb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/746bce0fca664ac0a575e465f65c6643faddf7fb", - "reference": "746bce0fca664ac0a575e465f65c6643faddf7fb", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Util\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony utilities for portability of PHP codes", - "homepage": "https://symfony.com", - "keywords": [ - "compat", - "compatibility", - "polyfill", - "shim" - ], - "time": "2016-11-14 01:06:16" - }, - { - "name": "symfony/swiftmailer-bundle", - "version": "v2.5.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/swiftmailer-bundle.git", - "reference": "8ab32ce31a7156621fb92e0466586186beb89759" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/swiftmailer-bundle/zipball/8ab32ce31a7156621fb92e0466586186beb89759", - "reference": "8ab32ce31a7156621fb92e0466586186beb89759", - "shasum": "" - }, - "require": { - "php": ">=5.3.2", - "swiftmailer/swiftmailer": ">=4.2.0,~5.0", - "symfony/config": "~2.7|~3.0", - "symfony/dependency-injection": "~2.7|~3.0", - "symfony/http-kernel": "~2.7|~3.0" - }, - "require-dev": { - "symfony/console": "~2.7|~3.0", - "symfony/framework-bundle": "~2.7|~3.0", - "symfony/phpunit-bridge": "~2.7|~3.0", - "symfony/yaml": "~2.7|~3.0" - }, - "suggest": { - "psr/log": "Allows logging" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Bundle\\SwiftmailerBundle\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Symfony SwiftmailerBundle", - "homepage": "http://symfony.com", - "time": "2017-03-21 21:47:36" - }, - { - "name": "symfony/symfony", - "version": "v3.1.10", - "source": { - "type": "git", - "url": "https://github.com/symfony/symfony.git", - "reference": "96e7dede3ddc9e3b3392f5cc93e26eca77545a89" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/symfony/zipball/96e7dede3ddc9e3b3392f5cc93e26eca77545a89", - "reference": "96e7dede3ddc9e3b3392f5cc93e26eca77545a89", - "shasum": "" - }, - "require": { - "doctrine/common": "~2.4", - "php": ">=5.5.9", - "psr/cache": "~1.0", - "psr/log": "~1.0", - "symfony/polyfill-intl-icu": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php56": "~1.0", - "symfony/polyfill-php70": "~1.0", - "symfony/polyfill-util": "~1.0", - "twig/twig": "~1.28|~2.0" - }, - "conflict": { - "phpdocumentor/reflection-docblock": "<3.0", - "phpdocumentor/type-resolver": "<0.2.0" - }, - "provide": { - "psr/cache-implementation": "1.0" - }, - "replace": { - "symfony/asset": "self.version", - "symfony/browser-kit": "self.version", - "symfony/cache": "self.version", - "symfony/class-loader": "self.version", - "symfony/config": "self.version", - "symfony/console": "self.version", - "symfony/css-selector": "self.version", - "symfony/debug": "self.version", - "symfony/debug-bundle": "self.version", - "symfony/dependency-injection": "self.version", - "symfony/doctrine-bridge": "self.version", - "symfony/dom-crawler": "self.version", - "symfony/event-dispatcher": "self.version", - "symfony/expression-language": "self.version", - "symfony/filesystem": "self.version", - "symfony/finder": "self.version", - "symfony/form": "self.version", - "symfony/framework-bundle": "self.version", - "symfony/http-foundation": "self.version", - "symfony/http-kernel": "self.version", - "symfony/inflector": "self.version", - "symfony/intl": "self.version", - "symfony/ldap": "self.version", - "symfony/monolog-bridge": "self.version", - "symfony/options-resolver": "self.version", - "symfony/process": "self.version", - "symfony/property-access": "self.version", - "symfony/property-info": "self.version", - "symfony/proxy-manager-bridge": "self.version", - "symfony/routing": "self.version", - "symfony/security": "self.version", - "symfony/security-bundle": "self.version", - "symfony/security-core": "self.version", - "symfony/security-csrf": "self.version", - "symfony/security-guard": "self.version", - "symfony/security-http": "self.version", - "symfony/serializer": "self.version", - "symfony/stopwatch": "self.version", - "symfony/templating": "self.version", - "symfony/translation": "self.version", - "symfony/twig-bridge": "self.version", - "symfony/twig-bundle": "self.version", - "symfony/validator": "self.version", - "symfony/var-dumper": "self.version", - "symfony/web-profiler-bundle": "self.version", - "symfony/yaml": "self.version" - }, - "require-dev": { - "cache/integration-tests": "dev-master", - "doctrine/cache": "~1.6", - "doctrine/data-fixtures": "1.0.*", - "doctrine/dbal": "~2.4", - "doctrine/doctrine-bundle": "~1.4", - "doctrine/orm": "~2.4,>=2.4.5", - "egulias/email-validator": "~1.2,>=1.2.1", - "monolog/monolog": "~1.11", - "ocramius/proxy-manager": "~0.4|~1.0|~2.0", - "phpdocumentor/reflection-docblock": "^3.0", - "predis/predis": "~1.0", - "sensio/framework-extra-bundle": "^3.0.2", - "symfony/phpunit-bridge": "~3.2", - "symfony/polyfill-apcu": "~1.1", - "symfony/security-acl": "~2.8|~3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Bridge\\Doctrine\\": "src/Symfony/Bridge/Doctrine/", - "Symfony\\Bridge\\Monolog\\": "src/Symfony/Bridge/Monolog/", - "Symfony\\Bridge\\ProxyManager\\": "src/Symfony/Bridge/ProxyManager/", - "Symfony\\Bridge\\Swiftmailer\\": "src/Symfony/Bridge/Swiftmailer/", - "Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/", - "Symfony\\Bundle\\": "src/Symfony/Bundle/", - "Symfony\\Component\\": "src/Symfony/Component/" - }, - "classmap": [ - "src/Symfony/Component/Intl/Resources/stubs" - ], - "exclude-from-classmap": [ - "**/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "The Symfony PHP framework", - "homepage": "https://symfony.com", - "keywords": [ - "framework" - ], - "time": "2017-01-28 02:53:38" - }, - { - "name": "twig/twig", - "version": "v2.3.2", - "source": { - "type": "git", - "url": "https://github.com/twigphp/Twig.git", - "reference": "85e8372c451510165c04bf781295f9d922fa524b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/85e8372c451510165c04bf781295f9d922fa524b", - "reference": "85e8372c451510165c04bf781295f9d922fa524b", - "shasum": "" - }, - "require": { - "php": "^7.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "require-dev": { - "psr/container": "^1.0", - "symfony/debug": "~2.7", - "symfony/phpunit-bridge": "~3.3@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev" - } - }, - "autoload": { - "psr-0": { - "Twig_": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com", - "homepage": "http://fabien.potencier.org", - "role": "Lead Developer" - }, - { - "name": "Armin Ronacher", - "email": "armin.ronacher@active-4.com", - "role": "Project Founder" - }, - { - "name": "Twig Team", - "homepage": "http://twig.sensiolabs.org/contributors", - "role": "Contributors" - } - ], - "description": "Twig, the flexible, fast, and secure template language for PHP", - "homepage": "http://twig.sensiolabs.org", - "keywords": [ - "templating" - ], - "time": "2017-04-21 00:13:02" - }, - { - "name": "yetanotherape/diff-match-patch", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/yetanotherape/diff-match-patch.git", - "reference": "b00d838a320a20f98aeda69b15086ee3d0eeaba0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/yetanotherape/diff-match-patch/zipball/b00d838a320a20f98aeda69b15086ee3d0eeaba0", - "reference": "b00d838a320a20f98aeda69b15086ee3d0eeaba0", - "shasum": "" - }, - "require": { - "ext-mbstring": "*", - "lib-iconv": "*", - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": "4.*" - }, - "type": "library", - "autoload": { - "psr-4": { - "DiffMatchPatch\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Daniil Skrobov", - "email": "yetanotherape@gmail.com" - }, - { - "name": "Neil Fraser", - "email": "fraser@google.com", - "homepage": "http://neil.fraser.name/" - } - ], - "description": "Port of the google-diff-match-patch (https://code.google.com/p/google-diff-match-patch/) lib to PHP", - "homepage": "https://code.google.com/p/google-diff-match-patch/", - "keywords": [ - "Fuzzy search", - "Match", - "diff", - "patch" - ], - "time": "2017-02-11 19:39:59" - } - ], - "packages-dev": [ - { - "name": "sensio/generator-bundle", - "version": "v3.1.4", - "source": { - "type": "git", - "url": "https://github.com/sensiolabs/SensioGeneratorBundle.git", - "reference": "37f9f4e165b033fb76cc2320838321cc57140e65" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioGeneratorBundle/zipball/37f9f4e165b033fb76cc2320838321cc57140e65", - "reference": "37f9f4e165b033fb76cc2320838321cc57140e65", - "shasum": "" - }, - "require": { - "symfony/console": "~2.7|~3.0", - "symfony/framework-bundle": "~2.7|~3.0", - "symfony/process": "~2.7|~3.0", - "symfony/yaml": "~2.7|~3.0", - "twig/twig": "^1.28.2|^2.0" - }, - "require-dev": { - "doctrine/orm": "~2.4", - "symfony/doctrine-bridge": "~2.7|~3.0", - "symfony/filesystem": "~2.7|~3.0", - "symfony/phpunit-bridge": "^3.3" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "3.1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Sensio\\Bundle\\GeneratorBundle\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "This bundle generates code for you", - "time": "2017-03-15 01:02:10" - }, - { - "name": "symfony/phpunit-bridge", - "version": "v3.2.8", - "source": { - "type": "git", - "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "00916603c524b8048906de460b7ea0dfa1651281" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/00916603c524b8048906de460b7ea0dfa1651281", - "reference": "00916603c524b8048906de460b7ea0dfa1651281", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "conflict": { - "phpunit/phpunit": ">=6.0" - }, - "suggest": { - "ext-zip": "Zip support is required when using bin/simple-phpunit", - "symfony/debug": "For tracking deprecated interfaces usages at runtime with DebugClassLoader" - }, - "bin": [ - "bin/simple-phpunit" - ], - "type": "symfony-bridge", - "extra": { - "branch-alias": { - "dev-master": "3.2-dev" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Bridge\\PhpUnit\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony PHPUnit Bridge", - "homepage": "https://symfony.com", - "time": "2017-04-12 14:13:17" - } - ], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "php": ">=5.5.9" - }, - "platform-dev": [] -} diff --git a/debug_client/css/style.css b/debug_client/css/style.css deleted file mode 100755 index 7b757f2a59..0000000000 --- a/debug_client/css/style.css +++ /dev/null @@ -1,86 +0,0 @@ -/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ -html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%} -body{margin:0} -article,aside,footer,header,nav,section{display:block} -h1{font-size:2em;margin:.67em 0} -figcaption,figure,main{display:block} -figure{margin:1em 40px} -hr{box-sizing:content-box;height:0;overflow:visible} -pre{font-family:monospace,monospace;font-size:1em} -a{background-color:transparent;-webkit-text-decoration-skip:objects} -a:active,a:hover{outline-width:0} -abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted} -b,strong{font-weight:inherit;font-weight:bolder} -code,kbd,samp{font-family:monospace,monospace;font-size:1em} -dfn{font-style:italic} -mark{background-color:#ff0;color:#000} -small{font-size:80%} -sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline} -sub{bottom:-.25em} -sup{top:-.5em} -audio,video{display:inline-block} -audio:not([controls]){display:none;height:0} -img{border-style:none} -svg:not(:root){overflow:hidden} -button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0} -button,input{overflow:visible} -button,select{text-transform:none} -button,html [type="button"],/* 1 */ -[type="reset"],[type="submit"]{-webkit-appearance:button} -button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0} -button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText} -fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em} -legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal} -progress{display:inline-block;vertical-align:baseline} -textarea{overflow:auto} -[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0} -[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto} -[type="search"]{-webkit-appearance:textfield;outline-offset:-2px} -[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none} -::-webkit-file-upload-button{-webkit-appearance:button;font:inherit} -details,/* 1 */ -menu{display:block} -summary{display:list-item} -canvas{display:inline-block} -template{display:none} -[hidden]{display:none} -/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ - -body { - padding: 1em; -} - -table { - border-spacing: 0; - border-collapse: collapse; -} - -td { - border: 1px #ccc solid; - padding: .3em; -} - -.form-group { - margin-bottom: 0.5em; -} - -.form-group label { - width: 200px; - display: inline-block; - vertical-align: top; -} - -.form-group input { - width: 600px; - display: inline-block; -} - -.form-group textarea { - width: 600px; - height: 400px; -} - -.debug { - color: #777; - font-family: monospace; -} \ No newline at end of file diff --git a/debug_client/index.php b/debug_client/index.php deleted file mode 100755 index ba650dc2e3..0000000000 --- a/debug_client/index.php +++ /dev/null @@ -1,263 +0,0 @@ - $host, - 'baseUrl' => $baseUrl, - 'clientId' => 'E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3', - 'email' => 'laurent@cozic.net', - 'password' => '12345678', - ); - if (isset($config[$name])) return $config[$name]; - throw new Exception('Unknown config: ' . $name); -} - -function curlCmd($method, $url, $data) { - $cmd = array(); - $cmd[] = 'curl'; - if ($method != 'GET' && $method != 'POST') { - $cmd[] = '-X ' . $method; - } - if ($method != 'GET' && $method != 'DELETE') { - $cmd[] = "--data '" . http_build_query($data) . "'"; - } - $cmd[] = "'" . $url . "'"; - - return implode(' ', $cmd); -} - -function saveCurlCmd($cmd) { - $cmds = array(); - if (isset($_SESSION['curlCommands'])) $cmds = $_SESSION['curlCommands']; - $cmds[] = $cmd; - while (count($cmds) > 100) { - array_splice($cmds, 0, 1); - } - $_SESSION['curlCommands'] = $cmds; -} - -function execRequest($method, $path, $query = array(), $data = null) { - $url = config('baseUrl') . '/' . $path; - if (!empty($_SESSION['sessionId']) && !isset($query['session'])) { - $query['session'] = $_SESSION['sessionId']; - } - if (count($query)) $url .= '?' . http_build_query($query); - - $ch = curl_init(); - curl_setopt($ch, CURLOPT_URL, $url); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); - if ($method != 'GET' && $method != 'POST') { - curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method); - } - if ($method == 'PUT' || $method == 'PATCH') { - curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded')); - } - if ($data) { - curl_setopt($ch, CURLOPT_POSTFIELDS, $method == 'POST' ? $data : http_build_query($data)); - } - $response = curl_exec($ch); - curl_close($ch); - - $curlCmd = curlCmd($method, $url, $data); - saveCurlCmd($curlCmd); - - $output = json_decode($response, true); - if ($output === null) { - throw new Exception('Cannot decode JSON: ' . $response . "\n" . $curlCmd); - } - - if (isset($output['error'])) { - throw new Exception('API error: ' . $response . "\n" . $curlCmd); - } - - return $output; -} - -function renderView($name, $parameters = array()) { - $path = dirname(__FILE__) . '/views/' . $name . '.php'; - if (!file_exists($path)) throw new Exception('View not found: ' . $path); - - extract($parameters); - ob_start(); - include $path; - $content = ob_get_contents(); - ob_end_clean(); - return $content; -} - -function differentProperties($old, $new, $oldPrefix = '') { - $output = array(); - foreach ($old as $k1 => $v1) { - foreach ($new as $k2 => $v2) { - if ($k1 === $k2 && (string)$v1 !== (string)$v2) { - $output[$k1] = $v2; - } - } - } - return $output; -} - -function removePrefix($array, $prefix) { - $output = array(); - foreach ($array as $k => $v) { - if (strpos($k, $prefix) === 0) { - $k = substr($k, strlen($prefix)); - } - $output[$k] = $v; - } - return $output; -} - -function redirect($path) { - header('Location: ' . $path); - die(); -} - -initialize(); - -try { - $session = execRequest('POST', 'sessions', null, array( - 'email' => config('email'), - 'password' => config('password'), - 'client_id' => config('clientId'), - )); -} catch (Exception $e) { - die('Could not login. Please check credentials. ' . $e->getMessage()); -} - -$_SESSION['sessionId'] = $session['id']; - -if (!isset($_GET['action'])) { - $action = 'items'; - $_GET['type'] = 'folder'; -} else { - $action = $_GET['action']; -} - -if (isset($_POST['create_item'])) $action = 'create_item'; -if (isset($_POST['delete_folder'])) $action = 'delete_folder'; -if (isset($_POST['delete_item'])) $action = 'delete_item'; -if (isset($_POST['update_folder'])) $action = 'update_folder'; -if (isset($_POST['update_note'])) $action = 'update_note'; -if (isset($_POST['update_item'])) $action = 'update_item'; - -$pageParams = array( - 'pageTitle' => parse_url(config('baseUrl'), PHP_URL_HOST) . ' - ' . ucfirst($action), - 'headerTitle' => ucfirst($action), - 'contentHtml' => '', - 'baseUrl' => config('baseUrl'), -); - -switch ($action) { - - case 'items': - - $type = $_GET['type']; - $parentId = isset($_GET['parent_id']) ? $_GET['parent_id'] : null; - - if ($type == 'folder') { - $path = 'folders'; - $pageParams['headerTitle'] = 'Folders'; - } else if ($type == 'note') { - $path = 'folders/' . $_GET['parent_id'] . '/notes'; - $folder = execRequest('GET', 'folders/' . $parentId); - $pageParams['headerTitle'] = 'Notes in ' . $folder['title']; - } - - $items = execRequest('GET', $path); - usort($items, function($a, $b) { return strnatcmp($a['title'], $b['title']); }); - $pageParams['contentHtml'] = renderView('items', array('items' => $items, 'type' => $type, 'parentId' => $parentId)); - break; - - case 'item': - - $path = $_GET['type'] . 's'; - $item = execRequest('GET', $path . '/' . $_GET['item_id']); - $pageParams['contentHtml'] = renderView('item', array('item' => $item, 'type' => $_GET['type'])); - break; - - case 'changes': - - // Hack so that all the changes are returned, as if the client requesting them - // was completely new. - $session = execRequest('POST', 'sessions', null, array( - 'email' => config('email'), - 'password' => config('password'), - 'client_id' => 'ABCDABCDABCDABCDABCDABCDABCDABCD', - )); - if (isset($session['error'])) throw new Exception('Could not login. Please check credentials. ' . json_encode($session)); - $changes = execRequest('GET', 'synchronizer', array('session' => $session['id'])); - $pageParams['contentHtml'] = renderView('changes', array('changes' => $changes)); - break; - - case 'create_item': - - $parentId = !empty($_POST['parent_id']) ? $_POST['parent_id'] : null; - $path = $_POST['type'] . 's'; - $data = array( - 'title' => $_POST['item_title'] - ); - if ($parentId) $data['parent_id'] = $parentId; - $item = execRequest('POST', $path, null, $data); - - $query = array( - 'action' => 'items', - 'type' => $_POST['type'], - 'parent_id' => $parentId, - ); - - redirect('/?' . http_build_query($query)); - break; - - case 'delete_item': - - $path = $_POST['type'] . 's'; - $item = execRequest('DELETE', $path . '/' . $_POST['item_id']); - redirect('/'); - break; - - case 'update_item': - - $oldItem = json_decode($_POST['original_item'], true); - $newItem = removePrefix($_POST, 'item_'); - $diff = differentProperties($oldItem, $newItem); - $path = $_POST['type'] . 's'; - if (count($diff)) { - execRequest('PATCH', $path . '/' . $_POST['item_id'], null, $diff); - } - - $query = array( - 'action' => 'item', - 'type' => $_POST['type'], - 'item_id' => $_POST['item_id'], - ); - - redirect('/?' . http_build_query($query)); - break; - -} - -$pageParams['curlCommands'] = isset($_SESSION['curlCommands']) ? $_SESSION['curlCommands'] : array(); - -echo renderView('page', $pageParams); \ No newline at end of file diff --git a/debug_client/views/changes.php b/debug_client/views/changes.php deleted file mode 100755 index 3f0d187bd3..0000000000 --- a/debug_client/views/changes.php +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - = 0; $i--): $it = $changes['items'][$i]; $t = $it['type']; ?> - - - - - - - - -
    IDTypeItem typeItem IDItem
    \ No newline at end of file diff --git a/debug_client/views/item.php b/debug_client/views/item.php deleted file mode 100644 index df7e530da2..0000000000 --- a/debug_client/views/item.php +++ /dev/null @@ -1,15 +0,0 @@ -
    - $v): ?> -
    - - - - - - -
    - - - - -
    \ No newline at end of file diff --git a/debug_client/views/items.php b/debug_client/views/items.php deleted file mode 100644 index 85d158133d..0000000000 --- a/debug_client/views/items.php +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - -
    IDTitle
    - - - - - View notes - -
    - - - -
    -
    - -
    - -
    -
    - - - - -
    - -
    \ No newline at end of file diff --git a/debug_client/views/page.php b/debug_client/views/page.php deleted file mode 100755 index 2dd846d7bd..0000000000 --- a/debug_client/views/page.php +++ /dev/null @@ -1,20 +0,0 @@ - - - -<?php echo htmlentities($pageTitle); ?> - - - - Home - Changes -

    - -
    -
    -

    Base URL:

    - = 0; $i--): $cmd = $curlCommands[$i]; ?> -
    - -
    - - \ No newline at end of file diff --git a/phpunit-5.7.20.phar b/phpunit-5.7.20.phar deleted file mode 100644 index e818814de1..0000000000 --- a/phpunit-5.7.20.phar +++ /dev/null @@ -1,73219 +0,0 @@ -#!/usr/bin/env php -')) { - fwrite( - STDERR, - sprintf( - 'PHPUnit 5.7.20 by Sebastian Bergmann and contributors.' . PHP_EOL . PHP_EOL . - 'This version of PHPUnit is supported on PHP 5.6, PHP 7.0, and PHP 7.1.' . PHP_EOL . - 'You are using PHP %s (%s).' . PHP_EOL, - PHP_VERSION, - PHP_BINARY - ) - ); - - die(1); -} - -if (__FILE__ == realpath($GLOBALS['_SERVER']['SCRIPT_NAME'])) { - $execute = true; -} else { - $execute = false; -} - -define('__PHPUNIT_PHAR__', str_replace(DIRECTORY_SEPARATOR, '/', __FILE__)); -define('__PHPUNIT_PHAR_ROOT__', 'phar://phpunit-5.7.20.phar'); - -Phar::mapPhar('phpunit-5.7.20.phar'); - -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/DeepCopy.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Exception/CloneException.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Filter/Filter.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Filter/KeepFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Filter/ReplaceFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Filter/SetNullFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Matcher/Matcher.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Matcher/PropertyMatcher.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Matcher/PropertyNameMatcher.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Matcher/PropertyTypeMatcher.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/Reflection/ReflectionHelper.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/TypeFilter/TypeFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/TypeFilter/ReplaceFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/TypeFilter/ShallowCopyFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php'; -require 'phar://phpunit-5.7.20.phar' . '/myclabs-deep-copy/DeepCopy/TypeMatcher/TypeMatcher.php'; -require 'phar://phpunit-5.7.20.phar' . '/doctrine-instantiator/Doctrine/Instantiator/Exception/ExceptionInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/doctrine-instantiator/Doctrine/Instantiator/Exception/InvalidArgumentException.php'; -require 'phar://phpunit-5.7.20.phar' . '/doctrine-instantiator/Doctrine/Instantiator/Exception/UnexpectedValueException.php'; -require 'phar://phpunit-5.7.20.phar' . '/doctrine-instantiator/Doctrine/Instantiator/InstantiatorInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/doctrine-instantiator/Doctrine/Instantiator/Instantiator.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-file-iterator/Iterator.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-file-iterator/Facade.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-file-iterator/Factory.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Assert.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/ForwardCompatibility/Assert.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/TestListener.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/BaseTestListener.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/ForwardCompatibility/BaseTestListener.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Test.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/SelfDescribing.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/TestCase.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/ForwardCompatibility/TestCase.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/ForwardCompatibility/TestListener.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/ITester.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/AbstractTester.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Constraint/DataSetIsEqual.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Constraint/TableIsEqual.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Constraint/TableRowCount.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/IDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/AbstractDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/DataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/IDatabaseConnection.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/DefaultDatabaseConnection.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/FilteredDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/IMetaData.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/MetaData.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/MetaData/Dblib.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/MetaData/Firebird.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/MetaData/InformationSchema.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/MetaData/MySQL.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/MetaData/Oci.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/MetaData/PgSQL.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/MetaData/SqlSrv.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/MetaData/Sqlite.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/ITable.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/AbstractTable.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/ResultSetTable.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/Table.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/ITableIterator.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/TableIterator.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/ITableMetaData.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/AbstractTableMetaData.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/DefaultTableMetaData.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DB/TableMetaData.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/AbstractXmlDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/ArrayDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/CompositeDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/CsvDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/DataSetFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/DefaultDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/DefaultTable.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/DefaultTableIterator.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/FlatXmlDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/IPersistable.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/ISpec.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/IYamlParser.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/MysqlXmlDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Persistors/Abstract.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Persistors/Factory.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Persistors/FlatXml.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Persistors/MysqlXml.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Persistors/Xml.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Persistors/Yaml.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/QueryDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/QueryTable.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/ReplacementDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/ReplacementTable.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/ReplacementTableIterator.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Specs/Csv.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/IDatabaseListConsumer.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Specs/DbQuery.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Specs/DbTable.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Specs/IFactory.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Specs/Factory.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Specs/FlatXml.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Specs/Xml.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/Specs/Yaml.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/SymfonyYamlParser.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/TableFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/TableMetaDataFilter.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/XmlDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DataSet/YamlDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/DefaultTester.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/IDatabaseOperation.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/Composite.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/RowBased.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/Delete.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/DeleteAll.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/Factory.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/Insert.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/Null.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/Replace.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/Truncate.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/Operation/Update.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/TestCaseTrait.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/TestCase.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/Command.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/Context.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/IMediumPrinter.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/IMedium.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/IMode.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/IModeFactory.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/InvalidModeException.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/Mediums/Text.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/ModeFactory.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/Modes/ExportDataSet.php'; -require 'phar://phpunit-5.7.20.phar' . '/dbunit/Extensions/Database/UI/Modes/ExportDataSet/Arguments.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/TestSuite.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Extensions/GroupTestSuite.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Extensions/PhptTestCase.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Extensions/PhptTestSuite.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Extensions/TestDecorator.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Extensions/RepeatedTest.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Extensions/TicketListener.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/AssertionFailedError.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/CodeCoverageException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/And.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/ArrayHasKey.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/ArraySubset.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/Composite.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/Attribute.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/Callback.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/ClassHasAttribute.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/ClassHasStaticAttribute.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/Count.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/DirectoryExists.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/ExceptionCode.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/ExceptionMessage.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/ExceptionMessageRegExp.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/FileExists.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/GreaterThan.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsAnything.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsEmpty.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsEqual.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsFalse.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsFinite.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsIdentical.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsInfinite.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsInstanceOf.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsJson.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsNan.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsNull.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsReadable.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsTrue.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsType.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/IsWritable.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/JsonMatches.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/JsonMatches/ErrorMessageProvider.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/LessThan.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/Not.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/ObjectHasAttribute.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/Or.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/PCREMatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/SameSize.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/StringContains.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/StringEndsWith.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/StringMatches.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/StringStartsWith.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/TraversableContains.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/TraversableContainsOnly.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Constraint/Xor.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/RiskyTest.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/RiskyTestError.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/CoveredCodeNotExecutedException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Error.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Error/Deprecated.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Error/Notice.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Error/Warning.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/ExceptionWrapper.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/ExpectationFailedException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/IncompleteTest.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/IncompleteTestCase.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/IncompleteTestError.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/InvalidCoversTargetException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/MissingCoversAnnotationException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Exception/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Exception/BadMethodCallException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Builder/Identity.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Builder/Stub.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Builder/Match.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Builder/ParametersMatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Builder/MethodNameMatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Builder/InvocationMocker.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Builder/Namespace.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Generator.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Invocation.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Stub/MatcherCollection.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Verifiable.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Invokable.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/InvocationMocker.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Invocation/Static.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Invocation/Object.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/Invocation.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/InvokedRecorder.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/AnyInvokedCount.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/StatelessInvocation.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/AnyParameters.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/ConsecutiveParameters.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/InvokedAtIndex.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/InvokedAtLeastCount.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/InvokedAtLeastOnce.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/InvokedAtMostCount.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/InvokedCount.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/MethodName.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Matcher/Parameters.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/MockBuilder.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/MockObject.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Exception/RuntimeException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Stub.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Stub/ConsecutiveCalls.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Stub/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Stub/Return.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Stub/ReturnArgument.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Stub/ReturnCallback.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Stub/ReturnReference.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Stub/ReturnSelf.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit-mock-objects/Framework/MockObject/Stub/ReturnValueMap.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/OutputError.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/SkippedTest.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/SkippedTestCase.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/SkippedTestError.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/SkippedTestSuiteError.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/SyntheticError.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/TestFailure.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/TestResult.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/TestSuite/DataProvider.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/UnintentionallyCoveredCodeError.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/Warning.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Framework/WarningTestCase.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Runner/BaseTestRunner.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Runner/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Runner/Filter/Factory.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Runner/Filter/Group.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Runner/Filter/Group/Exclude.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Runner/Filter/Group/Include.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Runner/Filter/Test.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Runner/TestSuiteLoader.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Runner/StandardTestSuiteLoader.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Runner/Version.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/TextUI/Command.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Printer.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/TextUI/ResultPrinter.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/TextUI/TestRunner.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Blacklist.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Configuration.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/ConfigurationGenerator.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/ErrorHandler.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Fileloader.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Filesystem.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Filter.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Getopt.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/GlobalState.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/InvalidArgumentHelper.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Log/JSON.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Log/JUnit.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Log/TAP.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Log/TeamCity.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/PHP.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/PHP/Default.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/PHP/Windows.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Regex.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/String.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Test.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/TestDox/NamePrettifier.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/TestDox/ResultPrinter.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/TestDox/ResultPrinter/HTML.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/TestDox/ResultPrinter/Text.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/TestDox/ResultPrinter/XML.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/TestSuiteIterator.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/Type.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpunit/Util/XML.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-invoker/Invoker.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-invoker/TimeoutException.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-timer/Timer.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-token-stream/Token.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-token-stream/Token/Stream.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-token-stream/Token/Stream/CachingFactory.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/ArgumentsWildcard.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/TokenInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/AnyValueToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/AnyValuesToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/ApproximateValueToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/ArrayCountToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/ArrayEntryToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/ArrayEveryEntryToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/CallbackToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/ExactValueToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/IdenticalValueToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/LogicalAndToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/LogicalNotToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/ObjectStateToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/StringContainsToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Argument/Token/TypeToken.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Call/Call.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Call/CallCenter.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/Comparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Comparator/ClosureComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/Factory.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Comparator/Factory.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/ArrayComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/ObjectComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Comparator/ProphecyComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/Doubler.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/CachedDoubler.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/ClassPatch/ClassPatchInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/ClassPatch/HhvmExceptionPatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/ClassPatch/KeywordPatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/ClassPatch/MagicCallPatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/ClassPatch/TraversablePatch.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/DoubleInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/Generator/ClassCodeGenerator.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/Generator/ClassCreator.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/Generator/ClassMirror.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/Generator/Node/ArgumentNode.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/Generator/Node/ClassNode.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/Generator/Node/MethodNode.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/Generator/ReflectionInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/LazyDouble.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Doubler/NameGenerator.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Prophecy/ProphecyException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Prophecy/ObjectProphecyException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Call/UnexpectedCallException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Doubler/DoublerException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Doubler/ClassCreatorException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Doubler/ClassMirrorException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Doubler/DoubleException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Doubler/ClassNotFoundException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Doubler/InterfaceNotFoundException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Doubler/MethodNotExtendableException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Doubler/MethodNotFoundException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Doubler/ReturnByReferenceException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/InvalidArgumentException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Prediction/PredictionException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Prediction/AggregateException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Prediction/FailedPredictionException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Prophecy/MethodProphecyException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Prediction/NoCallsException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Prediction/UnexpectedCallsException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/PhpDocumentor/MethodTagRetrieverInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/PhpDocumentor/ClassTagRetriever.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/PhpDocumentor/LegacyClassTagRetriever.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prediction/PredictionInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prediction/CallPrediction.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prediction/CallTimesPrediction.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prediction/CallbackPrediction.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prediction/NoCallsPrediction.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Promise/PromiseInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Promise/CallbackPromise.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Promise/ReturnArgumentPromise.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Promise/ReturnPromise.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Promise/ThrowPromise.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prophecy/MethodProphecy.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prophecy/ProphecyInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prophecy/ObjectProphecy.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prophecy/ProphecySubjectInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prophecy/RevealerInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prophecy/Revealer.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Prophet.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Util/ExportUtil.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpspec-prophecy/Prophecy/Util/StringUtil.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/CodeCoverage.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Exception/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Exception/RuntimeException.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Exception/CoveredCodeNotExecutedException.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Driver/Driver.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Driver/Xdebug.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Driver/HHVM.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Driver/PHPDBG.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Filter.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Exception/InvalidArgumentException.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Exception/MissingCoversAnnotationException.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Node/AbstractNode.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Node/Builder.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Node/Directory.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Node/File.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Node/Iterator.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Clover.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Crap4j.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Html/Renderer.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Html/Renderer/Dashboard.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Html/Renderer/Directory.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Html/Facade.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Html/Renderer/File.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/PHP.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Text.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/Coverage.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/Node.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/Directory.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/Facade.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/File.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/Method.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/Project.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/Report.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/Tests.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/Totals.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Report/Xml/Unit.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Exception/UnintentionallyCoveredCodeException.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-code-coverage/Util.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-code-unit-reverse-lookup/Wizard.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/ComparisonFailure.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/DOMNodeComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/DateTimeComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/ScalarComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/NumericComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/DoubleComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/ExceptionComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/MockObjectComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/ResourceComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/SplObjectStorageComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-comparator/TypeComparator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-diff/Chunk.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-diff/Diff.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-diff/Differ.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-diff/LCS/LongestCommonSubsequence.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-diff/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-diff/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-diff/Line.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-diff/Parser.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-environment/Console.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-environment/Runtime.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-exporter/Exporter.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-global-state/Blacklist.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-global-state/CodeExporter.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-global-state/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-global-state/Restorer.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-global-state/RuntimeException.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-global-state/Snapshot.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-object-enumerator/Enumerator.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-object-enumerator/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-object-enumerator/InvalidArgumentException.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-recursion-context/Context.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-recursion-context/Exception.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-recursion-context/InvalidArgumentException.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-resource-operations/ResourceOperations.php'; -require 'phar://phpunit-5.7.20.phar' . '/sebastian-version/Version.php'; -require 'phar://phpunit-5.7.20.phar' . '/symfony/yaml/Dumper.php'; -require 'phar://phpunit-5.7.20.phar' . '/symfony/yaml/Escaper.php'; -require 'phar://phpunit-5.7.20.phar' . '/symfony/yaml/Exception/ExceptionInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/symfony/yaml/Exception/RuntimeException.php'; -require 'phar://phpunit-5.7.20.phar' . '/symfony/yaml/Exception/DumpException.php'; -require 'phar://phpunit-5.7.20.phar' . '/symfony/yaml/Exception/ParseException.php'; -require 'phar://phpunit-5.7.20.phar' . '/symfony/yaml/Inline.php'; -require 'phar://phpunit-5.7.20.phar' . '/symfony/yaml/Parser.php'; -require 'phar://phpunit-5.7.20.phar' . '/symfony/yaml/Unescaper.php'; -require 'phar://phpunit-5.7.20.phar' . '/symfony/yaml/Yaml.php'; -require 'phar://phpunit-5.7.20.phar' . '/php-text-template/Template.php'; -require 'phar://phpunit-5.7.20.phar' . '/webmozart-assert/Assert.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlockFactoryInterface.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlockFactory.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Description.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/DescriptionFactory.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Serializer.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/TagFactory.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/StandardTagFactory.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tag.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Factory/StaticMethod.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/BaseTag.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Author.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Covers.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Deprecated.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Example.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Factory/Strategy.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Formatter.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Formatter/PassthroughFormatter.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Generic.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Link.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Method.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Param.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Property.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/PropertyRead.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/PropertyWrite.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Return_.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/See.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Since.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Source.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Throws.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Uses.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Var_.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/Tags/Version.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-common/Element.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-docblock/DocBlock/ExampleFinder.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-common/File.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-common/Fqsen.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/FqsenResolver.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-common/Location.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-common/Project.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-reflection-common/ProjectFactory.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Type.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/TypeResolver.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Array_.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Boolean.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Callable_.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Compound.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Context.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/ContextFactory.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Float_.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Integer.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Mixed.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Null_.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Object_.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Resource.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Scalar.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Self_.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Static_.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/String_.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/This.php'; -require 'phar://phpunit-5.7.20.phar' . '/phpdocumentor-type-resolver/Types/Void_.php'; - -if ($execute) { - if (isset($_SERVER['argv'][1]) && $_SERVER['argv'][1] == '--manifest') { - print file_get_contents(__PHPUNIT_PHAR_ROOT__ . '/manifest.txt'); - exit; - } - - PHPUnit_TextUI_Command::main(); -} - -__HALT_COMPILER(); ?> -©·dphpunit-5.7.20.phar manifest.txt,˜–"Y,÷T¾ø¶ca.pemñ˜–"Yñ‹byë¶php-code-coverage/LICENSE˜–"YЉxZ¶"php-code-coverage/CodeCoverage.phpXt˜–"YXtí [f¶#php-code-coverage/Driver/Driver.php˜–"Yî¶!php-code-coverage/Driver/HHVM.phpƒ˜–"YƒƠ†7¶#php-code-coverage/Driver/PHPDBG.php] ˜–"Y] Ó”Ó¶#php-code-coverage/Driver/Xdebug.phpÙ -˜–"YÙ -ỵ̈‡¶?php-code-coverage/Exception/CoveredCodeNotExecutedException.php°˜–"Y°/Ư/ ¶)php-code-coverage/Exception/Exception.php~˜–"Y~›üu¶8php-code-coverage/Exception/InvalidArgumentException.php瘖"Yç—N˶@php-code-coverage/Exception/MissingCoversAnnotationException.php´˜–"Y´¼fM¶0php-code-coverage/Exception/RuntimeException.phpp˜–"Ypw©C¶Cphp-code-coverage/Exception/UnintentionallyCoveredCodeException.php¬˜–"Y¬ưF–+¶php-code-coverage/Filter.phpÛ˜–"YÛÁÖʶ'php-code-coverage/Node/AbstractNode.phpŸ˜–"YŸŒ_Ŷ"php-code-coverage/Node/Builder.phpb˜–"Yb“*Ǜ¶$php-code-coverage/Node/Directory.phpå&˜–"Yå&Ókê¶php-code-coverage/Node/File.phpuL˜–"YuL:›¶#php-code-coverage/Node/Iterator.php¬˜–"Y¬9–ÜQ¶#php-code-coverage/Report/Clover.phpè&˜–"Yè&’$́´¶#php-code-coverage/Report/Crap4j.phpˆ˜–"Yˆqro‚¶(php-code-coverage/Report/Html/Facade.php-˜–"Y-{$H¶*php-code-coverage/Report/Html/Renderer.php¹"˜–"Y¹"d]“™¶4php-code-coverage/Report/Html/Renderer/Dashboard.phpm&˜–"Ym&!mu¶4php-code-coverage/Report/Html/Renderer/Directory.php÷ ˜–"Y÷ ;$­ ¶/php-code-coverage/Report/Html/Renderer/File.phpàJ˜–"YàJ¥̀µ¶Fphp-code-coverage/Report/Html/Renderer/Template/coverage_bar.html.dist1˜–"Y1itŶEphp-code-coverage/Report/Html/Renderer/Template/css/bootstrap.min.csspÙ˜–"YpÙX|F¶Aphp-code-coverage/Report/Html/Renderer/Template/css/nv.d3.min.cssX%˜–"YX%0,¶=php-code-coverage/Report/Html/Renderer/Template/css/style.css+˜–"Y+Y`üg¶Cphp-code-coverage/Report/Html/Renderer/Template/dashboard.html.distŘ–"YÅÙ6 ¶Cphp-code-coverage/Report/Html/Renderer/Template/directory.html.dist!˜–"Y!!_¶Hphp-code-coverage/Report/Html/Renderer/Template/directory_item.html.dist5˜–"Y5ñZˆ]¶>php-code-coverage/Report/Html/Renderer/Template/file.html.distº -˜–"Yº -ô(ï·¶Cphp-code-coverage/Report/Html/Renderer/Template/file_item.html.distg˜–"YgV³ P¶Vphp-code-coverage/Report/Html/Renderer/Template/fonts/glyphicons-halflings-regular.eotŸN˜–"YŸNXDZœ¶Vphp-code-coverage/Report/Html/Renderer/Template/fonts/glyphicons-halflings-regular.svg¨˜–"Y¨|îÆÉ¶Vphp-code-coverage/Report/Html/Renderer/Template/fonts/glyphicons-halflings-regular.ttf\±˜–"Y\±<œ¶Wphp-code-coverage/Report/Html/Renderer/Template/fonts/glyphicons-halflings-regular.woff€[˜–"Y€[ê{ơ¶Xphp-code-coverage/Report/Html/Renderer/Template/fonts/glyphicons-halflings-regular.woff2lF˜–"YlFvèĂa¶Cphp-code-coverage/Report/Html/Renderer/Template/js/bootstrap.min.jsµ˜–"Yµ/£Åj¶<php-code-coverage/Report/Html/Renderer/Template/js/d3.min.js­P˜–"Y­PÅhéb¶@php-code-coverage/Report/Html/Renderer/Template/js/holder.min.js m˜–"Y mJësѶCphp-code-coverage/Report/Html/Renderer/Template/js/html5shiv.min.js[(˜–"Y[( Ă¼,¶@php-code-coverage/Report/Html/Renderer/Template/js/jquery.min.jsµR˜–"YµR~™äï¶?php-code-coverage/Report/Html/Renderer/Template/js/nv.d3.min.jsÚR˜–"YÚR©¶>phpunit-mock-objects/Framework/MockObject/Builder/Identity.phpœ˜–"Yœw[¶Fphpunit-mock-objects/Framework/MockObject/Builder/InvocationMocker.php ˜–"Y ƠƯî϶;phpunit-mock-objects/Framework/MockObject/Builder/Match.php˜–"YjZ›¶Ephpunit-mock-objects/Framework/MockObject/Builder/MethodNameMatch.php‚˜–"Y‚$ˆơư¶?phpunit-mock-objects/Framework/MockObject/Builder/Namespace.php˜–"Y±óAF¶Ephpunit-mock-objects/Framework/MockObject/Builder/ParametersMatch.php˜–"Y w2¶:phpunit-mock-objects/Framework/MockObject/Builder/Stub.phpX˜–"YXÑ•¶Nphpunit-mock-objects/Framework/MockObject/Exception/BadMethodCallException.phpÁ˜–"YÁ¥̉).¶Aphpunit-mock-objects/Framework/MockObject/Exception/Exception.php¦˜–"Y¦]ĂT¶Hphpunit-mock-objects/Framework/MockObject/Exception/RuntimeException.phpµ˜–"YµY·n4¶7phpunit-mock-objects/Framework/MockObject/Generator.phpY®˜–"YY®®ÖÛ¶Hphpunit-mock-objects/Framework/MockObject/Generator/deprecation.tpl.dist;˜–"Y;O5øs¶Iphpunit-mock-objects/Framework/MockObject/Generator/mocked_class.tpl.dist³˜–"Y³ézµQ¶Pphpunit-mock-objects/Framework/MockObject/Generator/mocked_class_method.tpl.dist혖"YíÚ4̃¶Iphpunit-mock-objects/Framework/MockObject/Generator/mocked_clone.tpl.dist„˜–"Y„œaT¶Jphpunit-mock-objects/Framework/MockObject/Generator/mocked_method.tpl.distŘ–"YÅöÆü†¶Ophpunit-mock-objects/Framework/MockObject/Generator/mocked_method_void.tpl.dist¢˜–"Y¢~G'Ú¶Qphpunit-mock-objects/Framework/MockObject/Generator/mocked_static_method.tpl.distô˜–"YôÉN”¶Kphpunit-mock-objects/Framework/MockObject/Generator/proxied_method.tpl.dist˜–"Y—åÉ ¶Pphpunit-mock-objects/Framework/MockObject/Generator/proxied_method_void.tpl.distù˜–"YùÆgEm¶Hphpunit-mock-objects/Framework/MockObject/Generator/trait_class.tpl.dist7˜–"Y7²[$~¶Kphpunit-mock-objects/Framework/MockObject/Generator/unmocked_clone.tpl.distŸ˜–"YŸ8W}ضGphpunit-mock-objects/Framework/MockObject/Generator/wsdl_class.tpl.dist³˜–"Y³w&S¶Hphpunit-mock-objects/Framework/MockObject/Generator/wsdl_method.tpl.dist<˜–"Y<¾Đi‰¶8phpunit-mock-objects/Framework/MockObject/Invocation.php̣˜–"Ỵ9T‚·¶?phpunit-mock-objects/Framework/MockObject/Invocation/Object.phpƯ˜–"YƯ8›ˆ¿¶?phpunit-mock-objects/Framework/MockObject/Invocation/Static.php˜–"Y¼R¶>phpunit-mock-objects/Framework/MockObject/InvocationMocker.phpÚ˜–"YÚ`8 ă¶7phpunit-mock-objects/Framework/MockObject/Invokable.php½˜–"Y½˜ùô¶5phpunit-mock-objects/Framework/MockObject/Matcher.phpi!˜–"Yi!7ZRжEphpunit-mock-objects/Framework/MockObject/Matcher/AnyInvokedCount.phpà˜–"Yà“Ds$¶Cphpunit-mock-objects/Framework/MockObject/Matcher/AnyParameters.phpI˜–"YIUÛƠ@¶Kphpunit-mock-objects/Framework/MockObject/Matcher/ConsecutiveParameters.php•˜–"Y•o"Ä«¶@phpunit-mock-objects/Framework/MockObject/Matcher/Invocation.php˜–"Y@⸩¶Dphpunit-mock-objects/Framework/MockObject/Matcher/InvokedAtIndex.php ˜–"Y 7y·{¶Iphpunit-mock-objects/Framework/MockObject/Matcher/InvokedAtLeastCount.phpư˜–"Yư0¸8 ¶Hphpunit-mock-objects/Framework/MockObject/Matcher/InvokedAtLeastOnce.phpј–"YÑE±@G¶Hphpunit-mock-objects/Framework/MockObject/Matcher/InvokedAtMostCount.php̣˜–"ỴÍ„-å¶Bphpunit-mock-objects/Framework/MockObject/Matcher/InvokedCount.php¡ ˜–"Y¡ q¹à¶Ephpunit-mock-objects/Framework/MockObject/Matcher/InvokedRecorder.phpb˜–"Ybiß̣ü¶@phpunit-mock-objects/Framework/MockObject/Matcher/MethodName.php-˜–"Y-¦=R¶@phpunit-mock-objects/Framework/MockObject/Matcher/Parameters.php˜–"Y² }(¶Iphpunit-mock-objects/Framework/MockObject/Matcher/StatelessInvocation.phpi˜–"Yi•œ¶9phpunit-mock-objects/Framework/MockObject/MockBuilder.phpI#˜–"YI#yË ¶8phpunit-mock-objects/Framework/MockObject/MockObject.php•˜–"Y•¥¼ö¶2phpunit-mock-objects/Framework/MockObject/Stub.phpÛ˜–"YÛˆ̀Á¶Cphpunit-mock-objects/Framework/MockObject/Stub/ConsecutiveCalls.php“˜–"Y“2 Æ ¶<phpunit-mock-objects/Framework/MockObject/Stub/Exception.php&˜–"Y&_, -¶Dphpunit-mock-objects/Framework/MockObject/Stub/MatcherCollection.php̣˜–"Ỵ„đv¶9phpunit-mock-objects/Framework/MockObject/Stub/Return.php¤˜–"Y¤L¢f+¶Aphpunit-mock-objects/Framework/MockObject/Stub/ReturnArgument.phpÿ˜–"Yÿ9)`¶Aphpunit-mock-objects/Framework/MockObject/Stub/ReturnCallback.php•˜–"Y•g‰´`¶Bphpunit-mock-objects/Framework/MockObject/Stub/ReturnReference.php;˜–"Y;lưó¶=phpunit-mock-objects/Framework/MockObject/Stub/ReturnSelf.phpÔ˜–"YÔfk€k¶Aphpunit-mock-objects/Framework/MockObject/Stub/ReturnValueMap.php|˜–"Y|uB è¶8phpunit-mock-objects/Framework/MockObject/Verifiable.php²˜–"Y²”'L¶*sebastian-code-unit-reverse-lookup/LICENSE˜–"YXX̃å¶-sebastian-code-unit-reverse-lookup/Wizard.phpe ˜–"Ye ₫í₫¶sebastian-comparator/LICENSE ˜–"Y ”:¶(sebastian-comparator/ArrayComparator.php`˜–"Y`̃æ¼¶#sebastian-comparator/Comparator.php‰˜–"Y‰Å`…¶*sebastian-comparator/ComparisonFailure.php€ ˜–"Y€ V¶*sebastian-comparator/DOMNodeComparator.phpS ˜–"YS ÄWbö¶+sebastian-comparator/DateTimeComparator.phpP -˜–"YP -RO^¶)sebastian-comparator/DoubleComparator.phpp˜–"Ypvz‘å¶,sebastian-comparator/ExceptionComparator.phpט–"Y× kf¶ sebastian-comparator/Factory.phpd ˜–"Yd Ù‡1¶-sebastian-comparator/MockObjectComparator.php´˜–"Y´–îO¶*sebastian-comparator/NumericComparator.php·˜–"Y·_ĐnѶ)sebastian-comparator/ObjectComparator.php˜–"Y˜¥26¶+sebastian-comparator/ResourceComparator.php*˜–"Y*Ù«ÁĶ)sebastian-comparator/ScalarComparator.phpw ˜–"Yw ɧ׶3sebastian-comparator/SplObjectStorageComparator.phpÖ˜–"YÖ‹Wê¶'sebastian-comparator/TypeComparator.phpà˜–"YàG—϶sebastian-diff/LICENSE ˜–"Y  -§~ü¶sebastian-diff/Chunk.phpŘ–"YÅvÇ|¼¶sebastian-diff/Diff.php§˜–"Y§S dh¶sebastian-diff/Differ.php)˜–"Y)S„9R¶/sebastian-diff/LCS/LongestCommonSubsequence.phpj˜–"Yj·\/¶Lsebastian-diff/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.phpR ˜–"YR œoƒó¶Jsebastian-diff/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php¥˜–"Y¥¾̣¯¶sebastian-diff/Line.php•˜–"Y•e’ܶsebastian-diff/Parser.php¸ ˜–"Y¸ &Ç Ç¶sebastian-environment/LICENSE -˜–"Y -¶îáß¶!sebastian-environment/Console.php̀ ˜–"Ỳ ôF¶!sebastian-environment/Runtime.phpz˜–"YzO< ¶sebastian-exporter/LICENSE˜–"YAªe)¶sebastian-exporter/Exporter.phpE#˜–"YE#Ÿü¶#sebastian-recursion-context/LICENSE˜–"YÉđζ'sebastian-recursion-context/Context.php{˜–"Y{‰¤¶)sebastian-recursion-context/Exception.phpJ˜–"YJÈô³ñ¶8sebastian-recursion-context/InvalidArgumentException.php’˜–"Y’mH¶%sebastian-resource-operations/LICENSE ˜–"Y I¬đ¶4sebastian-resource-operations/ResourceOperations.php’U˜–"Y’UØhƠ¶sebastian-global-state/LICENSE -˜–"Y - `¶$sebastian-global-state/Blacklist.php[ ˜–"Y[ :®¶'sebastian-global-state/CodeExporter.php›˜–"Y›`Ö(C¶$sebastian-global-state/Exception.php?˜–"Y?ɶ#sebastian-global-state/Restorer.php§˜–"Y§Ó“;\¶+sebastian-global-state/RuntimeException.phpq˜–"Yq¿~]!¶#sebastian-global-state/Snapshot.phpå%˜–"Yå%Ă–SƯ¶object-enumerator/LICENSE ˜–"Y Y„u¶*sebastian-object-enumerator/Enumerator.phpk ˜–"Yk QÔ $¶)sebastian-object-enumerator/Exception.php6˜–"Y6n$*a¶8sebastian-object-enumerator/InvalidArgumentException.phpx˜–"Yxû'í¶sebastian-version/LICENSE˜–"Yn¶sebastian-version/Version.php±˜–"Y±N\Ƕdoctrine-instantiator/LICENSE$˜–"Y$ -Í‚å¶Ldoctrine-instantiator/Doctrine/Instantiator/Exception/ExceptionInterface.php¥˜–"Y¥ó.đöRdoctrine-instantiator/Doctrine/Instantiator/Exception/InvalidArgumentException.phpô˜–"YôhÅ7I¶Rdoctrine-instantiator/Doctrine/Instantiator/Exception/UnexpectedValueException.phpÎ -˜–"YÎ -"Ÿè ¶<doctrine-instantiator/Doctrine/Instantiator/Instantiator.phpĂ ˜–"YĂ ü&à¶Edoctrine-instantiator/Doctrine/Instantiator/InstantiatorInterface.php~˜–"Y~¶ÿ̀:¶symfony/LICENSE)˜–"Y)·)E`¶symfony/yaml/Dumper.phpă˜–"Yă(¥ª®¶symfony/yaml/Escaper.phpg˜–"YgbÚ”ƒ¶(symfony/yaml/Exception/DumpException.phpǘ–"YÇŒ¶-symfony/yaml/Exception/ExceptionInterface.php»˜–"Y»̃^KA¶)symfony/yaml/Exception/ParseException.phpv ˜–"Yv ×~Yʶ+symfony/yaml/Exception/RuntimeException.php嘖"Yåô_q¦¶symfony/yaml/Inline.phpxn˜–"Yxn¢åŸ¶symfony/yaml/Parser.php ‰˜–"Y ‰˜}†Ă¶symfony/yaml/Unescaper.phpQ˜–"YQ!û+×¶symfony/yaml/Yaml.php´˜–"Y´–·R¹¶-dbunit/Extensions/Database/AbstractTester.php˜–"YCÖY¶8dbunit/Extensions/Database/Constraint/DataSetIsEqual.php˜–"YMï±¶6dbunit/Extensions/Database/Constraint/TableIsEqual.php˜–"Y7 -¶7dbunit/Extensions/Database/Constraint/TableRowCount.php“˜–"Y“IåXÓ¶)dbunit/Extensions/Database/DB/DataSet.phpC˜–"YCÔ¶;dbunit/Extensions/Database/DB/DefaultDatabaseConnection.php}˜–"Y}ô£Îø¶1dbunit/Extensions/Database/DB/FilteredDataSet.phpF˜–"YF (÷e¶5dbunit/Extensions/Database/DB/IDatabaseConnection.php ˜–"Y ¨dʶ+dbunit/Extensions/Database/DB/IMetaData.php3˜–"Y3@G‰®¶*dbunit/Extensions/Database/DB/MetaData.php¥˜–"Y¥ĂPp¶0dbunit/Extensions/Database/DB/MetaData/Dblib.phpù -˜–"Yù -#j*-¶3dbunit/Extensions/Database/DB/MetaData/Firebird.php嘖"Yå]Y¶<dbunit/Extensions/Database/DB/MetaData/InformationSchema.phpA˜–"YA4ïC"¶0dbunit/Extensions/Database/DB/MetaData/MySQL.php½˜–"Y½ ¶±¶.dbunit/Extensions/Database/DB/MetaData/Oci.phpI˜–"YIUWK»¶0dbunit/Extensions/Database/DB/MetaData/PgSQL.php–˜–"Y–AÏ.¯¶1dbunit/Extensions/Database/DB/MetaData/SqlSrv.phpƒ ˜–"Yƒ yÛD¶1dbunit/Extensions/Database/DB/MetaData/Sqlite.php -˜–"Y -§º´ë¶0dbunit/Extensions/Database/DB/ResultSetTable.phpă˜–"YăO&¶'dbunit/Extensions/Database/DB/Table.php¢˜–"Y¢8k8o¶/dbunit/Extensions/Database/DB/TableIterator.php} -˜–"Y} -0W6¶/dbunit/Extensions/Database/DB/TableMetaData.php˜–"Yª;Đ•¶6dbunit/Extensions/Database/DataSet/AbstractDataSet.php˜–"Yé^œï¶4dbunit/Extensions/Database/DataSet/AbstractTable.phpS˜–"YSXlÙ¶<dbunit/Extensions/Database/DataSet/AbstractTableMetaData.phpᘖ"Yá;¢c¼¶9dbunit/Extensions/Database/DataSet/AbstractXmlDataSet.phpô ˜–"Yô –F!¶3dbunit/Extensions/Database/DataSet/ArrayDataSet.phpo˜–"Yo¹•||¶7dbunit/Extensions/Database/DataSet/CompositeDataSet.php5 -˜–"Y5 ->ÔKd¶1dbunit/Extensions/Database/DataSet/CsvDataSet.phpư ˜–"Yư lôÙä¶4dbunit/Extensions/Database/DataSet/DataSetFilter.phpG˜–"YG1¬ï…¶5dbunit/Extensions/Database/DataSet/DefaultDataSet.phpº˜–"Yºøçw¶3dbunit/Extensions/Database/DataSet/DefaultTable.phpt˜–"Yt“Ä϶;dbunit/Extensions/Database/DataSet/DefaultTableIterator.php˜ ˜–"Y˜ 4Ùđ¶;dbunit/Extensions/Database/DataSet/DefaultTableMetaData.php“˜–"Y“.öF¶5dbunit/Extensions/Database/DataSet/FlatXmlDataSet.php@˜–"Y@ă耀¶/dbunit/Extensions/Database/DataSet/IDataSet.php˜–"YµZß¶3dbunit/Extensions/Database/DataSet/IPersistable.php˜–"Y•±ˆ‡¶,dbunit/Extensions/Database/DataSet/ISpec.php§˜–"Y§Ư‚ï—¶-dbunit/Extensions/Database/DataSet/ITable.php˜–"YȃN”¶5dbunit/Extensions/Database/DataSet/ITableIterator.php˜–"Y ®!-¶5dbunit/Extensions/Database/DataSet/ITableMetaData.php1˜–"Y1,È+;¶2dbunit/Extensions/Database/DataSet/IYamlParser.php˜–"Y@Ûˆ[¶6dbunit/Extensions/Database/DataSet/MysqlXmlDataSet.phpt˜–"Yt\ï·[¶:dbunit/Extensions/Database/DataSet/Persistors/Abstract.php -˜–"Y -D:ă¶9dbunit/Extensions/Database/DataSet/Persistors/Factory.php˜–"YÚ(ư¶9dbunit/Extensions/Database/DataSet/Persistors/FlatXml.php ˜–"Y TÏZ,¶:dbunit/Extensions/Database/DataSet/Persistors/MysqlXml.phpƯ ˜–"YƯ ÓÓ¶5dbunit/Extensions/Database/DataSet/Persistors/Xml.php5 ˜–"Y5 ‡‰.¶¶6dbunit/Extensions/Database/DataSet/Persistors/Yaml.phpؘ–"YØ*–ï©¶3dbunit/Extensions/Database/DataSet/QueryDataSet.php« ˜–"Y« 'Œ7u¶1dbunit/Extensions/Database/DataSet/QueryTable.phpV˜–"YVlN¸¶9dbunit/Extensions/Database/DataSet/ReplacementDataSet.php€ -˜–"Y€ -ăç„O¶7dbunit/Extensions/Database/DataSet/ReplacementTable.phph˜–"Yh/”çw¶?dbunit/Extensions/Database/DataSet/ReplacementTableIterator.php̉ ˜–"Ỷ ×îNs¶0dbunit/Extensions/Database/DataSet/Specs/Csv.php€ -˜–"Y€ -:…d=¶4dbunit/Extensions/Database/DataSet/Specs/DbQuery.phpü˜–"YǘÊĶ4dbunit/Extensions/Database/DataSet/Specs/DbTable.php˜–"Yñ”ÿv¶4dbunit/Extensions/Database/DataSet/Specs/Factory.phpÚ˜–"YÚAä‚̀¶4dbunit/Extensions/Database/DataSet/Specs/FlatXml.php蘖"Yè½ß†¶5dbunit/Extensions/Database/DataSet/Specs/IFactory.phpl˜–"YlƠ—½+¶0dbunit/Extensions/Database/DataSet/Specs/Xml.phpʘ–"YÊ•TZ¶1dbunit/Extensions/Database/DataSet/Specs/Yaml.phpј–"YÑ{;>à¶8dbunit/Extensions/Database/DataSet/SymfonyYamlParser.phpO˜–"YOđPW¸¶2dbunit/Extensions/Database/DataSet/TableFilter.php× ˜–"Y× )Ŷ:dbunit/Extensions/Database/DataSet/TableMetaDataFilter.php9 ˜–"Y9 52P¶1dbunit/Extensions/Database/DataSet/XmlDataSet.phpt˜–"Yt °D¶2dbunit/Extensions/Database/DataSet/YamlDataSet.php|˜–"Y|IK¶,dbunit/Extensions/Database/DefaultTester.php¨˜–"Y¨ÚX`₫¶(dbunit/Extensions/Database/Exception.php˜–"Ym-`¶4dbunit/Extensions/Database/IDatabaseListConsumer.php;˜–"Y;4o¶&dbunit/Extensions/Database/ITester.php£˜–"Y£‚Ó#¶2dbunit/Extensions/Database/Operation/Composite.phpƒ˜–"Yƒ¶ÛM¶/dbunit/Extensions/Database/Operation/Delete.php˜–"YÚZ>0¶2dbunit/Extensions/Database/Operation/DeleteAll.php–˜–"Y–å}^ ¶2dbunit/Extensions/Database/Operation/Exception.php/˜–"Y/£J¾¶0dbunit/Extensions/Database/Operation/Factory.php ˜–"Y p{Uí¶;dbunit/Extensions/Database/Operation/IDatabaseOperation.phpÔ˜–"YÔ"Åñ¶/dbunit/Extensions/Database/Operation/Insert.phpј–"YÑ td¶-dbunit/Extensions/Database/Operation/Null.php‡˜–"Y‡¦û0Ó¶0dbunit/Extensions/Database/Operation/Replace.php`˜–"Y`dç¶¶1dbunit/Extensions/Database/Operation/RowBased.php+˜–"Y+‰c̣X¶1dbunit/Extensions/Database/Operation/Truncate.php´ ˜–"Y´ ‘;¢i¶/dbunit/Extensions/Database/Operation/Update.phpœ˜–"YœW":˶'dbunit/Extensions/Database/TestCase.php˜–"YÏé[i¶,dbunit/Extensions/Database/TestCaseTrait.php6!˜–"Y6!X#îK¶)dbunit/Extensions/Database/UI/Command.phpI˜–"YI¹T™¶)dbunit/Extensions/Database/UI/Context.php˜–"Y¡G¶)dbunit/Extensions/Database/UI/IMedium.phpP˜–"YPŒ¸Ô¶0dbunit/Extensions/Database/UI/IMediumPrinter.php¦˜–"Y¦¼}Ù0¶'dbunit/Extensions/Database/UI/IMode.phpܘ–"Yܼ¶d¶.dbunit/Extensions/Database/UI/IModeFactory.php -˜–"Y -Ÿ½Çø¶6dbunit/Extensions/Database/UI/InvalidModeException.php˜–"Y*,å¶.dbunit/Extensions/Database/UI/Mediums/Text.phpŸ ˜–"YŸ o4Äa¶-dbunit/Extensions/Database/UI/ModeFactory.php= -˜–"Y= -ót­=¶5dbunit/Extensions/Database/UI/Modes/ExportDataSet.php­ ˜–"Y­ ̉X‹q¶?dbunit/Extensions/Database/UI/Modes/ExportDataSet/Arguments.php -˜–"Y -–:Y„¶php-invoker/Invoker.php"Yï wà¶ php-invoker/TimeoutException.phpp˜–"Yp~ªø¶'phpdocumentor-reflection-common/LICENSE9˜–"Y9*2ȶ+phpdocumentor-reflection-common/Element.php1˜–"Y1…iỦ¶(phpdocumentor-reflection-common/File.php7˜–"Y7ă©3"¶)phpdocumentor-reflection-common/Fqsen.php‹˜–"Y‹C†¼¶,phpdocumentor-reflection-common/Location.phpH˜–"YH?-ÿ¶+phpdocumentor-reflection-common/Project.php˜–"Y/H ¶2phpdocumentor-reflection-common/ProjectFactory.php˜–"YQ³"ܶ)phpdocumentor-reflection-docblock/LICENSE8˜–"Y8á‰Ê¶.phpdocumentor-reflection-docblock/DocBlock.php˜–"Y/å‘¶:phpdocumentor-reflection-docblock/DocBlock/Description.php ˜–"Y ÉÁ¥¶Aphpdocumentor-reflection-docblock/DocBlock/DescriptionFactory.phpq˜–"Yq†:¼¼¶<phpdocumentor-reflection-docblock/DocBlock/ExampleFinder.phpɘ–"YÉŸ̉+¶9phpdocumentor-reflection-docblock/DocBlock/Serializer.php7˜–"Y7́@]D¶Aphpdocumentor-reflection-docblock/DocBlock/StandardTagFactory.phpx-˜–"Yx-̣,K¶2phpdocumentor-reflection-docblock/DocBlock/Tag.phpu˜–"Yuâ¹°¶9phpdocumentor-reflection-docblock/DocBlock/TagFactory.php˜–"YP;Ͷ:phpdocumentor-reflection-docblock/DocBlock/Tags/Author.php¸ ˜–"Y¸ ăˆtc¶;phpdocumentor-reflection-docblock/DocBlock/Tags/BaseTag.php¿˜–"Y¿X -c¶:phpdocumentor-reflection-docblock/DocBlock/Tags/Covers.phpJ˜–"YJưXL¶>phpdocumentor-reflection-docblock/DocBlock/Tags/Deprecated.php— -˜–"Y— -HO¶¶;phpdocumentor-reflection-docblock/DocBlock/Tags/Example.phpQ˜–"YQï­¶Hphpdocumentor-reflection-docblock/DocBlock/Tags/Factory/StaticMethod.phpט–"Y׳2i¼¶Dphpdocumentor-reflection-docblock/DocBlock/Tags/Factory/Strategy.php̀˜–"Ỳđ̃R¶=phpdocumentor-reflection-docblock/DocBlock/Tags/Formatter.php£˜–"Y£Dy7¶Rphpdocumentor-reflection-docblock/DocBlock/Tags/Formatter/PassthroughFormatter.php%˜–"Y%I`ùá¶;phpdocumentor-reflection-docblock/DocBlock/Tags/Generic.phpX -˜–"YX -DÜ ¶8phpdocumentor-reflection-docblock/DocBlock/Tags/Link.phpN˜–"YNVŒ¶:phpdocumentor-reflection-docblock/DocBlock/Tags/Method.phpŒ˜–"YŒ™Ào¶9phpdocumentor-reflection-docblock/DocBlock/Tags/Param.php{˜–"Y{äv¾O¶<phpdocumentor-reflection-docblock/DocBlock/Tags/Property.phpÓ ˜–"YÓ T€Ï̀¶@phpdocumentor-reflection-docblock/DocBlock/Tags/PropertyRead.phpá ˜–"Yá ĂÑƯ¶Aphpdocumentor-reflection-docblock/DocBlock/Tags/PropertyWrite.phpä ˜–"Yä ç˜í¶;phpdocumentor-reflection-docblock/DocBlock/Tags/Return_.php„˜–"Y„•¾R¶7phpdocumentor-reflection-docblock/DocBlock/Tags/See.phpd˜–"Yd“Oó¶9phpdocumentor-reflection-docblock/DocBlock/Tags/Since.phpÿ ˜–"Yÿ å¸P¶:phpdocumentor-reflection-docblock/DocBlock/Tags/Source.phpm ˜–"Ym ˆd%¶:phpdocumentor-reflection-docblock/DocBlock/Tags/Throws.php˜–"YèȈض8phpdocumentor-reflection-docblock/DocBlock/Tags/Uses.phpP˜–"YPT,¾¶8phpdocumentor-reflection-docblock/DocBlock/Tags/Var_.phpƯ ˜–"YƯ ïL&¶;phpdocumentor-reflection-docblock/DocBlock/Tags/Version.phpÄ ˜–"YÄ dÜ8â¶5phpdocumentor-reflection-docblock/DocBlockFactory.php“$˜–"Y“$Jl̉2¶>phpdocumentor-reflection-docblock/DocBlockFactoryInterface.php!˜–"Y!ئ}¶#phpdocumentor-type-resolver/LICENSE8˜–"Y8á‰Ê¶-phpdocumentor-type-resolver/FqsenResolver.php˜–"YÂ]Y–¶$phpdocumentor-type-resolver/Type.php±˜–"Y±¯Ú[L¶,phpdocumentor-type-resolver/TypeResolver.php"˜–"Y"W.¶,phpdocumentor-type-resolver/Types/Array_.phpN˜–"YN]ɤv¶-phpdocumentor-type-resolver/Types/Boolean.phpĘ–"YÄÍfÿ¶/phpdocumentor-type-resolver/Types/Callable_.php˘–"YË4É¿¶.phpdocumentor-type-resolver/Types/Compound.php ˜–"Y kd4b¶-phpdocumentor-type-resolver/Types/Context.php` ˜–"Y` ÿ`«-¶4phpdocumentor-type-resolver/Types/ContextFactory.phpô˜–"Yô‡“;¶,phpdocumentor-type-resolver/Types/Float_.php½˜–"Y½Œw,¶-phpdocumentor-type-resolver/Types/Integer.php˜–"Y"s‰¶+phpdocumentor-type-resolver/Types/Mixed.phpϘ–"YÏ·úZ¶+phpdocumentor-type-resolver/Types/Null_.phpȘ–"YÈ@¥%²¶-phpdocumentor-type-resolver/Types/Object_.phpk˜–"YkÔ©ă¶.phpdocumentor-type-resolver/Types/Resource.phpΘ–"YÎàà/¶,phpdocumentor-type-resolver/Types/Scalar.php˜–"YUô“»¶+phpdocumentor-type-resolver/Types/Self_.php˜–"Yøñ9'¶-phpdocumentor-type-resolver/Types/Static_.phpU˜–"YU´̃Ÿ ¶-phpdocumentor-type-resolver/Types/String_.phpɘ–"YÉ¢½ï¶*phpdocumentor-type-resolver/Types/This.php©˜–"Y©ñh²¶+phpdocumentor-type-resolver/Types/Void_.phpW˜–"YWÖé¿Ö¶phpspec-prophecy/LICENSE}˜–"Y}̣Å6¶&phpspec-prophecy/Prophecy/Argument.phpǘ–"YÇAT¶8phpspec-prophecy/Prophecy/Argument/ArgumentsWildcard.php4 ˜–"Y4 A;K2¶:phpspec-prophecy/Prophecy/Argument/Token/AnyValueToken.php«˜–"Y«Fh¶;phpspec-prophecy/Prophecy/Argument/Token/AnyValuesToken.phpÚ˜–"YÚÖbN/¶Bphpspec-prophecy/Prophecy/Argument/Token/ApproximateValueToken.php‡˜–"Y‡#Iú¶<phpspec-prophecy/Prophecy/Argument/Token/ArrayCountToken.phpᘖ"Yá‚4®̀¶<phpspec-prophecy/Prophecy/Argument/Token/ArrayEntryToken.php”˜–"Y”̃Jú:¶Aphpspec-prophecy/Prophecy/Argument/Token/ArrayEveryEntryToken.php’˜–"Y’pbø¶:phpspec-prophecy/Prophecy/Argument/Token/CallbackToken.php,˜–"Y,cRỀ¶<phpspec-prophecy/Prophecy/Argument/Token/ExactValueToken.php¡ ˜–"Y¡ …3¶@phpspec-prophecy/Prophecy/Argument/Token/IdenticalValueToken.php昖"Yæ¯Êư¶<phpspec-prophecy/Prophecy/Argument/Token/LogicalAndToken.phpø˜–"Yø Năv¶<phpspec-prophecy/Prophecy/Argument/Token/LogicalNotToken.php˜–"Yܼr¶=phpspec-prophecy/Prophecy/Argument/Token/ObjectStateToken.php9 -˜–"Y9 -E²ë.¶@phpspec-prophecy/Prophecy/Argument/Token/StringContainsToken.phpü˜–"Yü‰ÑÊ>¶;phpspec-prophecy/Prophecy/Argument/Token/TokenInterface.php˜–"YÙ°¼¶6phpspec-prophecy/Prophecy/Argument/Token/TypeToken.php¥˜–"Y¥®næ\¶'phpspec-prophecy/Prophecy/Call/Call.phpÓ ˜–"YÓ {:å%¶-phpspec-prophecy/Prophecy/Call/CallCenter.php ˜–"Y nJhJ¶:phpspec-prophecy/Prophecy/Comparator/ClosureComparator.phpK˜–"YK)RQă¶0phpspec-prophecy/Prophecy/Comparator/Factory.phpÔ˜–"YÔÖˆi§¶;phpspec-prophecy/Prophecy/Comparator/ProphecyComparator.phps˜–"Ys¤hǶ3phpspec-prophecy/Prophecy/Doubler/CachedDoubler.phpƒ˜–"Yƒ̀‡gè¶Dphpspec-prophecy/Prophecy/Doubler/ClassPatch/ClassPatchInterface.phpl˜–"Yl)5:¶Hphpspec-prophecy/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php’˜–"Y’:0`̣¶Cphpspec-prophecy/Prophecy/Doubler/ClassPatch/HhvmExceptionPatch.phpј–"YÑx“Â^¶=phpspec-prophecy/Prophecy/Doubler/ClassPatch/KeywordPatch.php½ ˜–"Y½ û/@ȶ?phpspec-prophecy/Prophecy/Doubler/ClassPatch/MagicCallPatch.phpm ˜–"Ym 3«.ŶEphpspec-prophecy/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php̣ ˜–"Ỵ k2H°¶Pphpspec-prophecy/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatch.phpp˜–"Ypx¤¿ˆ¶Aphpspec-prophecy/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.phpQ -˜–"YQ -­[¶Aphpspec-prophecy/Prophecy/Doubler/ClassPatch/TraversablePatch.php ˜–"Y §€jN¶5phpspec-prophecy/Prophecy/Doubler/DoubleInterface.php☖"Yâ8dj¶-phpspec-prophecy/Prophecy/Doubler/Doubler.php˜–"Y8]Ơ^¶Bphpspec-prophecy/Prophecy/Doubler/Generator/ClassCodeGenerator.php ˜–"Y hLa^¶<phpspec-prophecy/Prophecy/Doubler/Generator/ClassCreator.phpÔ˜–"YÔä?Br¶;phpspec-prophecy/Prophecy/Doubler/Generator/ClassMirror.php(˜–"Y( æ)¶Aphpspec-prophecy/Prophecy/Doubler/Generator/Node/ArgumentNode.phpÀ˜–"YÀ|«¶>phpspec-prophecy/Prophecy/Doubler/Generator/Node/ClassNode.phpI˜–"YIĐ)UƯ¶?phpspec-prophecy/Prophecy/Doubler/Generator/Node/MethodNode.php;˜–"Y;á+Ư¶Cphpspec-prophecy/Prophecy/Doubler/Generator/ReflectionInterface.php̣˜–"Ỵçûªå¶0phpspec-prophecy/Prophecy/Doubler/LazyDouble.phpF ˜–"YF ¼ël¦¶3phpspec-prophecy/Prophecy/Doubler/NameGenerator.php˜–"YơÑ7¶Dphpspec-prophecy/Prophecy/Exception/Call/UnexpectedCallException.phpÖ˜–"YÖ£Áó¸¶Ephpspec-prophecy/Prophecy/Exception/Doubler/ClassCreatorException.phpµ˜–"Yµ77/%¶Dphpspec-prophecy/Prophecy/Exception/Doubler/ClassMirrorException.phpª˜–"YªÛ‰?¶Fphpspec-prophecy/Prophecy/Exception/Doubler/ClassNotFoundException.phpŘ–"YÅh+?phpspec-prophecy/Prophecy/Exception/Doubler/DoubleException.php©˜–"Y©zéFƒ¶@phpspec-prophecy/Prophecy/Exception/Doubler/DoublerException.php—˜–"Y—ĂZ^¶Jphpspec-prophecy/Prophecy/Exception/Doubler/InterfaceNotFoundException.phpà˜–"Yàơ¡…ư¶Lphpspec-prophecy/Prophecy/Exception/Doubler/MethodNotExtendableException.phpD˜–"YD÷pæ¶Gphpspec-prophecy/Prophecy/Exception/Doubler/MethodNotFoundException.phpÖ˜–"YÖĩhó¶Jphpspec-prophecy/Prophecy/Exception/Doubler/ReturnByReferenceException.php˜–"Yưª¶1phpspec-prophecy/Prophecy/Exception/Exception.php+˜–"Y+¸µ‘¶@phpspec-prophecy/Prophecy/Exception/InvalidArgumentException.php•˜–"Y•¨ǵ¶Ephpspec-prophecy/Prophecy/Exception/Prediction/AggregateException.php»˜–"Y»?D<ζLphpspec-prophecy/Prophecy/Exception/Prediction/FailedPredictionException.phpJ˜–"YJ~ĐăD¶Cphpspec-prophecy/Prophecy/Exception/Prediction/NoCallsException.phpÚ˜–"YÚÁl<¶Fphpspec-prophecy/Prophecy/Exception/Prediction/PredictionException.php˜–"Y2T¢Ñ¶Pphpspec-prophecy/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php˜–"Yæ Æ¶Kphpspec-prophecy/Prophecy/Exception/Prediction/UnexpectedCallsException.php,˜–"Y,ơa¶Hphpspec-prophecy/Prophecy/Exception/Prophecy/MethodProphecyException.php)˜–"Y)Fù¢4¶Hphpspec-prophecy/Prophecy/Exception/Prophecy/ObjectProphecyException.php˜–"Y†:‚F¶Bphpspec-prophecy/Prophecy/Exception/Prophecy/ProphecyException.php™˜–"Y™Üê$϶Iphpspec-prophecy/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.phpx˜–"YxrЬ¶=phpspec-prophecy/Prophecy/PhpDocumentor/ClassTagRetriever.phpD˜–"YDd9Á϶Cphpspec-prophecy/Prophecy/PhpDocumentor/LegacyClassTagRetriever.phpo˜–"You9‡¶Gphpspec-prophecy/Prophecy/PhpDocumentor/MethodTagRetrieverInterface.phpߘ–"Yß ˜;‰¶7phpspec-prophecy/Prophecy/Prediction/CallPrediction.phpQ ˜–"YQ Iæ“é¶<phpspec-prophecy/Prophecy/Prediction/CallTimesPrediction.php“ ˜–"Y“ Xü¶;phpspec-prophecy/Prophecy/Prediction/CallbackPrediction.php“˜–"Y“Vb{ζ:phpspec-prophecy/Prophecy/Prediction/NoCallsPrediction.php嘖"YåL9%¶<phpspec-prophecy/Prophecy/Prediction/PredictionInterface.phpŸ˜–"YŸ`IE¶5phpspec-prophecy/Prophecy/Promise/CallbackPromise.php˜–"Y[ܶ6phpspec-prophecy/Prophecy/Promise/PromiseInterface.phpK˜–"YK¾¬…ë¶;phpspec-prophecy/Prophecy/Promise/ReturnArgumentPromise.php'˜–"Y'â(«³¶3phpspec-prophecy/Prophecy/Promise/ReturnPromise.php˜–"YçØä¶2phpspec-prophecy/Prophecy/Promise/ThrowPromise.php] ˜–"Y] £Î ~¶5phpspec-prophecy/Prophecy/Prophecy/MethodProphecy.phpZ/˜–"YZ/ôl_r¶5phpspec-prophecy/Prophecy/Prophecy/ObjectProphecy.php‡˜–"Y‡ß5D¶8phpspec-prophecy/Prophecy/Prophecy/ProphecyInterface.php,˜–"Y,¡W¶?phpspec-prophecy/Prophecy/Prophecy/ProphecySubjectInterface.phpߘ–"Yßi²¶/phpspec-prophecy/Prophecy/Prophecy/Revealer.php˜–"YjÉɸ¶8phpspec-prophecy/Prophecy/Prophecy/RevealerInterface.phpH˜–"YH‡gZ¶¶%phpspec-prophecy/Prophecy/Prophet.php˜–"Yçvq¶-phpspec-prophecy/Prophecy/Util/ExportUtil.phpP˜–"YP2¼qƶ-phpspec-prophecy/Prophecy/Util/StringUtil.phṕ ˜–"Ý %ø¶myclabs-deep-copy/LICENSE5˜–"Y5Ê­Ë„¶'myclabs-deep-copy/DeepCopy/DeepCopy.php˜–"Y\Uˆ²¶7myclabs-deep-copy/DeepCopy/Exception/CloneException.php`˜–"Y`.Úü¶Gmyclabs-deep-copy/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.phpÖ˜–"YÖÆxkжLmyclabs-deep-copy/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.phpe˜–"Ye+¨Ö¶Bmyclabs-deep-copy/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.phpy˜–"YyÆ₫-¶,myclabs-deep-copy/DeepCopy/Filter/Filter.phpS˜–"YSksÀk¶0myclabs-deep-copy/DeepCopy/Filter/KeepFilter.phpù˜–"Yù«ß«¶3myclabs-deep-copy/DeepCopy/Filter/ReplaceFilter.php˜–"Ỳ|ö¶3myclabs-deep-copy/DeepCopy/Filter/SetNullFilter.php²˜–"Y²¯Mä§¶Dmyclabs-deep-copy/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.phpX˜–"YXbO¶.myclabs-deep-copy/DeepCopy/Matcher/Matcher.php똖"Yë(œ(í¶6myclabs-deep-copy/DeepCopy/Matcher/PropertyMatcher.php˜–"YuÖÖ…¶:myclabs-deep-copy/DeepCopy/Matcher/PropertyNameMatcher.phpà˜–"Yàyă»¶:myclabs-deep-copy/DeepCopy/Matcher/PropertyTypeMatcher.phpz˜–"Yz=ư#̃¶:myclabs-deep-copy/DeepCopy/Reflection/ReflectionHelper.php9˜–"Y9j–ÇZ¶7myclabs-deep-copy/DeepCopy/TypeFilter/ReplaceFilter.phpú˜–"Yúµ;If¶;myclabs-deep-copy/DeepCopy/TypeFilter/ShallowCopyFilter.php͘–"YÍØª₫†¶Amyclabs-deep-copy/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php˜–"Y¤)¶4myclabs-deep-copy/DeepCopy/TypeFilter/TypeFilter.php¹˜–"Y¹9˜4á¶6myclabs-deep-copy/DeepCopy/TypeMatcher/TypeMatcher.php䘖"Yäʨù¶webmozart-assert/LICENSE<˜–"Y<tØ}ơ¶webmozart-assert/Assert.php’~˜–"Y’~O›‹,¶phpunit/Exception.php9˜–"Y9Æ,ж%phpunit/Extensions/GroupTestSuite.phpQ˜–"YQ2ˆĐ¶#phpunit/Extensions/PhptTestCase.php8-˜–"Y8-B™ï¶$phpunit/Extensions/PhptTestSuite.php̃˜–"ỸMï,n¶#phpunit/Extensions/RepeatedTest.php˜–"YẪÑOæ¶$phpunit/Extensions/TestDecorator.php ˜–"Y 8<{·¶%phpunit/Extensions/TicketListener.php ˜–"Y NeѶ'phpunit/ForwardCompatibility/Assert.php]˜–"Y]́®_ȶ1phpunit/ForwardCompatibility/BaseTestListener.php{˜–"Y{đÉÚZ¶)phpunit/ForwardCompatibility/TestCase.phpc˜–"Yc÷;¶-phpunit/ForwardCompatibility/TestListener.phpj˜–"Yj̃ư”¶phpunit/Framework/Assert.php3^˜–"Y3^ƒư|ö&phpunit/Framework/Assert/Functions.phpÇʘ–"YÇÊ£‡¶*phpunit/Framework/AssertionFailedError.phpJ˜–"YJÊ‹tG¶&phpunit/Framework/BaseTestListener.php±˜–"Y±Aû%r¶+phpunit/Framework/CodeCoverageException.php;˜–"Y;CzøÑ¶ phpunit/Framework/Constraint.phpƘ–"YÆE"9¶$phpunit/Framework/Constraint/And.phpÀ ˜–"YÀ *}¶,phpunit/Framework/Constraint/ArrayHasKey.php‡˜–"Y‡´*öQ¶,phpunit/Framework/Constraint/ArraySubset.phpä -˜–"Yä -oá%̉¶*phpunit/Framework/Constraint/Attribute.phpd ˜–"Yd Ư»¦¶)phpunit/Framework/Constraint/Callback.php3˜–"Y3¥ăí¶2phpunit/Framework/Constraint/ClassHasAttribute.php’˜–"Y’>Œåæ¶8phpunit/Framework/Constraint/ClassHasStaticAttribute.php˜–"YçU·¶*phpunit/Framework/Constraint/Composite.php˜–"YRª‰&¶&phpunit/Framework/Constraint/Count.php¿ ˜–"Y¿ lÙ́h¶0phpunit/Framework/Constraint/DirectoryExists.php‘˜–"Y‘ «Ú¶*phpunit/Framework/Constraint/Exception.phpd˜–"Yd­đ¶.phpunit/Framework/Constraint/ExceptionCode.php%˜–"Y%F7Ú¶1phpunit/Framework/Constraint/ExceptionMessage.php ˜–"Y G°°¶7phpunit/Framework/Constraint/ExceptionMessageRegExp.php*˜–"Y*~2H¶+phpunit/Framework/Constraint/FileExists.php‚˜–"Y‚ßz‡¼¶,phpunit/Framework/Constraint/GreaterThan.php–˜–"Y–à̉Çy¶+phpunit/Framework/Constraint/IsAnything.php˜–"YB ¡¶(phpunit/Framework/Constraint/IsEmpty.phpơ˜–"YơÛ ’o¶(phpunit/Framework/Constraint/IsEqual.phpđ˜–"Yđ;đ߯¶(phpunit/Framework/Constraint/IsFalse.phpD˜–"YD-™ø¶)phpunit/Framework/Constraint/IsFinite.phpH˜–"YHç™dà¶,phpunit/Framework/Constraint/IsIdentical.php¢˜–"Y¢q¡S.¶+phpunit/Framework/Constraint/IsInfinite.phpP˜–"YPÈÖos¶-phpunit/Framework/Constraint/IsInstanceOf.php˜–"Y-åYÿ¶'phpunit/Framework/Constraint/IsJson.php˜–"YKÊF¶&phpunit/Framework/Constraint/IsNan.php<˜–"Y<׾˶'phpunit/Framework/Constraint/IsNull.php@˜–"Y@₫¨Û4¶+phpunit/Framework/Constraint/IsReadable.php‹˜–"Y‹ÊÍM¶'phpunit/Framework/Constraint/IsTrue.php@˜–"Y@dX¿Ø¶'phpunit/Framework/Constraint/IsType.php: ˜–"Y: ñζ+phpunit/Framework/Constraint/IsWritable.php‹˜–"Y‹R­ˆ›¶,phpunit/Framework/Constraint/JsonMatches.php"YïÙ b%¶Aphpunit/Framework/Constraint/JsonMatches/ErrorMessageProvider.php~˜–"Y~dơ–b¶)phpunit/Framework/Constraint/LessThan.php˜–"Y6îÀó¶$phpunit/Framework/Constraint/Not.php#˜–"Y#ç,¶3phpunit/Framework/Constraint/ObjectHasAttribute.phpl˜–"Yl™ȶ¶#phpunit/Framework/Constraint/Or.phpđ -˜–"Yđ -₫ih¶*phpunit/Framework/Constraint/PCREMatch.phpŒ˜–"YŒ£˜Â¶)phpunit/Framework/Constraint/SameSize.php˜–"YịͰ¶/phpunit/Framework/Constraint/StringContains.php ˜–"Y ơˆVܶ/phpunit/Framework/Constraint/StringEndsWith.php¦˜–"Y¦éǦ—¶.phpunit/Framework/Constraint/StringMatches.php䘖"Yäh–z¶1phpunit/Framework/Constraint/StringStartsWith.php•˜–"Y•:÷ÊN¶4phpunit/Framework/Constraint/TraversableContains.phpl ˜–"Yl '€:Œ¶8phpunit/Framework/Constraint/TraversableContainsOnly.php| ˜–"Y| XºÄª¶$phpunit/Framework/Constraint/Xor.phpc ˜–"Yc œ/-¶5phpunit/Framework/CoveredCodeNotExecutedException.phpᘖ"YáFuw¶phpunit/Framework/Error.phpó˜–"Yóx)¶&phpunit/Framework/Error/Deprecated.php˜–"Y,Ç/‚¶"phpunit/Framework/Error/Notice.phpÿ˜–"Yÿ+I¶#phpunit/Framework/Error/Warning.php˜–"Ybc“:¶phpunit/Framework/Exception.php"YïÆLɶ&phpunit/Framework/ExceptionWrapper.phpg˜–"Ygú‚¶0phpunit/Framework/ExpectationFailedException.phph˜–"Yh=ØÜ¶$phpunit/Framework/IncompleteTest.phpª˜–"YªÎÍy¶(phpunit/Framework/IncompleteTestCase.php˜–"Y‰=¶)phpunit/Framework/IncompleteTestError.php☖"Yâ߬T¶2phpunit/Framework/InvalidCoversTargetException.phpN˜–"YNi ¡G¶6phpunit/Framework/MissingCoversAnnotationException.php혖"Yí}¼,¶!phpunit/Framework/OutputError.php¶˜–"Y¶RáB¶phpunit/Framework/RiskyTest.phpt˜–"Ytj~Hô¶$phpunit/Framework/RiskyTestError.php̉˜–"Ỷư›é¶$phpunit/Framework/SelfDescribing.phpᘖ"Yá zÑl¶!phpunit/Framework/SkippedTest.phpY˜–"YYÎë!l¶%phpunit/Framework/SkippedTestCase.php¹˜–"Y¹ä FƠ¶&phpunit/Framework/SkippedTestError.phpؘ–"YØØà¿¶+phpunit/Framework/SkippedTestSuiteError.phpă˜–"Yă² Ù¶$phpunit/Framework/SyntheticError.phpؘ–"YعÖ7E¶phpunit/Framework/Test.phpZ˜–"YZ–@kD¶phpunit/Framework/TestCase.phpà˜–"YàÈCbx¶!phpunit/Framework/TestFailure.php˜–"Yyˆj"¶"phpunit/Framework/TestListener.php ˜–"Y ̣®~"¶ phpunit/Framework/TestResult.php£ƒ˜–"Y£ƒú\©¶phpunit/Framework/TestSuite.phpûm˜–"Yûm9?WĶ,phpunit/Framework/TestSuite/DataProvider.phpM˜–"YM¬!_0¶5phpunit/Framework/UnintentionallyCoveredCodeError.phpј–"YÑ Q¶phpunit/Framework/Warning.php?˜–"Y?{Ôú¡¶%phpunit/Framework/WarningTestCase.php:˜–"Y:ô/ñ¶!phpunit/Runner/BaseTestRunner.phpJ˜–"YJ(ơܶphpunit/Runner/Exception.php>˜–"Y>+ÿPƯ¶!phpunit/Runner/Filter/Factory.phpœ˜–"Yœ^I À¶phpunit/Runner/Filter/Group.phpŘ–"YÅ7û_w¶'phpunit/Runner/Filter/Group/Exclude.php̣˜–"Ỵø­ÓT¶'phpunit/Runner/Filter/Group/Include.phpñ˜–"Yñ}f¾¶phpunit/Runner/Filter/Test.phpq ˜–"Yq |Oèú¶*phpunit/Runner/StandardTestSuiteLoader.php› ˜–"Y› ăŸ¶"phpunit/Runner/TestSuiteLoader.phpª˜–"Yª\fƠb¶phpunit/Runner/Version.php/˜–"Y/"Œ®×¶phpunit/TextUI/Command.phpøœ˜–"Yøœ|Œ.¶ phpunit/TextUI/ResultPrinter.phpoF˜–"YoF€ưK¶phpunit/TextUI/TestRunner.php«¾˜–"Y«¾¡fđ¶phpunit/Util/Blacklist.phpr ˜–"Yr a¸1ă¶phpunit/Util/Configuration.phpIˆ˜–"YIˆZ7"¶'phpunit/Util/ConfigurationGenerator.phpF˜–"YFÿ¼½Q¶phpunit/Util/ErrorHandler.phpL ˜–"YL Ó±s¶phpunit/Util/Fileloader.phpv˜–"Yv÷Ô(E¶phpunit/Util/Filesystem.php ˜–"Y ™₫Ó¶phpunit/Util/Filter.php[ ˜–"Y[ ̃Ó,¶phpunit/Util/Getopt.php˜–"Yô¿1¶phpunit/Util/GlobalState.php:˜–"Y: 9"™¶&phpunit/Util/InvalidArgumentHelper.php"˜–"Y"‚ƒ¥À¶phpunit/Util/Log/JSON.php¼˜–"Y¼•gÀ¶phpunit/Util/Log/JUnit.php®2˜–"Y®2óÚ)¶phpunit/Util/Log/TAP.phpr˜–"Yr·nöß¶phpunit/Util/Log/TeamCity.phpD+˜–"YD+\5W¶phpunit/Util/PHP.php¾)˜–"Y¾)O‘P¶phpunit/Util/PHP/Default.php°˜–"Y°­·nƒ¶1phpunit/Util/PHP/Template/TestCaseMethod.tpl.dist ˜–"Y Ä#±¶phpunit/Util/PHP/Windows.phpơ˜–"YơÄ¿î¶phpunit/Util/PHP/eval-stdin.php˜–"Y™ 3í¶phpunit/Util/Printer.phpJ ˜–"YJ LŸ•z¶phpunit/Util/Regex.phpq˜–"Yq”ÔV¶phpunit/Util/String.phpm˜–"Ym₫î©¶phpunit/Util/Test.php˜–"YäÚô¶'phpunit/Util/TestDox/NamePrettifier.phpC ˜–"YC Æk·¶&phpunit/Util/TestDox/ResultPrinter.phpf%˜–"Yf%“>'¶+phpunit/Util/TestDox/ResultPrinter/HTML.php¸ -˜–"Y¸ -Ư -́¶+phpunit/Util/TestDox/ResultPrinter/Text.phpF˜–"YF!kT¶*phpunit/Util/TestDox/ResultPrinter/XML.php¼˜–"Y¼×Ç[û¶"phpunit/Util/TestSuiteIterator.phpʘ–"YÊÔØø¶phpunit/Util/Type.phpH˜–"YHV‰Vß¶phpunit/Util/XML.php¥˜–"Y¥Ífư¶phpunit/phpunit: 5.7.20 -doctrine/instantiator: 1.0.5 -myclabs/deep-copy: 1.6.1 -phpdocumentor/reflection-common: 1.0 -phpdocumentor/reflection-docblock: 3.1.1 -phpdocumentor/type-resolver: 0.2.1 -phpspec/prophecy: v1.7.0 -phpunit/dbunit: 2.0.3 -phpunit/php-code-coverage: 4.0.8 -phpunit/php-file-iterator: 1.4.2 -phpunit/php-invoker: 1.1.4 -phpunit/php-text-template: 1.2.1 -phpunit/php-timer: 1.0.9 -phpunit/php-token-stream: 1.4.11 -phpunit/phpunit-mock-objects: 3.4.3 -sebastian/code-unit-reverse-lookup: 1.0.1 -sebastian/comparator: 1.2.4 -sebastian/diff: 1.4.3 -sebastian/environment: 2.0.0 -sebastian/exporter: 2.0.0 -sebastian/global-state: 1.1.1 -sebastian/object-enumerator: 2.0.1 -sebastian/recursion-context: 2.0.0 -sebastian/resource-operations: 1.0.0 -sebastian/version: 2.0.1 -symfony/yaml: v3.2.8 -webmozart/assert: 1.2.0 ------BEGIN CERTIFICATE----- -MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU -MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs -IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290 -MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux -FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h -bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v -dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt -H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9 -uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX -mk6vBbOmcZSccbNQYArHE504B4YCqOmoaSYYkKtMsE8jqzpPhNjfzp/haW+710LX -a0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy2xSoRcRdKn23tNbE7qzN -E0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv77+ldU9U0 -WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYD -VR0PBAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0 -Jvf6xCZU7wO94CTLVBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRU -cnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsx -IjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3SCAQEwDQYJKoZIhvcN -AQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZlj7DYd7usQWxH -YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5 -6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC -Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX -c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a -mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ= ------END CERTIFICATE----- -PHP_CodeCoverage - -Copyright (c) 2009-2015, Sebastian Bergmann . -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - - * Neither the name of Sebastian Bergmann nor the names of his - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage; - -use SebastianBergmann\CodeCoverage\Driver\Driver; -use SebastianBergmann\CodeCoverage\Driver\Xdebug; -use SebastianBergmann\CodeCoverage\Driver\HHVM; -use SebastianBergmann\CodeCoverage\Driver\PHPDBG; -use SebastianBergmann\CodeCoverage\Node\Builder; -use SebastianBergmann\CodeCoverage\Node\Directory; -use SebastianBergmann\CodeUnitReverseLookup\Wizard; -use SebastianBergmann\Environment\Runtime; - -/** - * Provides collection functionality for PHP code coverage information. - */ -class CodeCoverage -{ - /** - * @var Driver - */ - private $driver; - - /** - * @var Filter - */ - private $filter; - - /** - * @var Wizard - */ - private $wizard; - - /** - * @var bool - */ - private $cacheTokens = false; - - /** - * @var bool - */ - private $checkForUnintentionallyCoveredCode = false; - - /** - * @var bool - */ - private $forceCoversAnnotation = false; - - /** - * @var bool - */ - private $checkForUnexecutedCoveredCode = false; - - /** - * @var bool - */ - private $checkForMissingCoversAnnotation = false; - - /** - * @var bool - */ - private $addUncoveredFilesFromWhitelist = true; - - /** - * @var bool - */ - private $processUncoveredFilesFromWhitelist = false; - - /** - * @var bool - */ - private $ignoreDeprecatedCode = false; - - /** - * @var mixed - */ - private $currentId; - - /** - * Code coverage data. - * - * @var array - */ - private $data = []; - - /** - * @var array - */ - private $ignoredLines = []; - - /** - * @var bool - */ - private $disableIgnoredLines = false; - - /** - * Test data. - * - * @var array - */ - private $tests = []; - - /** - * @var string[] - */ - private $unintentionallyCoveredSubclassesWhitelist = []; - - /** - * Determine if the data has been initialized or not - * - * @var bool - */ - private $isInitialized = false; - - /** - * Determine whether we need to check for dead and unused code on each test - * - * @var bool - */ - private $shouldCheckForDeadAndUnused = true; - - /** - * Constructor. - * - * @param Driver $driver - * @param Filter $filter - * - * @throws RuntimeException - */ - public function __construct(Driver $driver = null, Filter $filter = null) - { - if ($driver === null) { - $driver = $this->selectDriver(); - } - - if ($filter === null) { - $filter = new Filter; - } - - $this->driver = $driver; - $this->filter = $filter; - - $this->wizard = new Wizard; - } - - /** - * Returns the code coverage information as a graph of node objects. - * - * @return Directory - */ - public function getReport() - { - $builder = new Builder; - - return $builder->build($this); - } - - /** - * Clears collected code coverage data. - */ - public function clear() - { - $this->isInitialized = false; - $this->currentId = null; - $this->data = []; - $this->tests = []; - } - - /** - * Returns the filter object used. - * - * @return Filter - */ - public function filter() - { - return $this->filter; - } - - /** - * Returns the collected code coverage data. - * Set $raw = true to bypass all filters. - * - * @param bool $raw - * - * @return array - */ - public function getData($raw = false) - { - if (!$raw && $this->addUncoveredFilesFromWhitelist) { - $this->addUncoveredFilesFromWhitelist(); - } - - return $this->data; - } - - /** - * Sets the coverage data. - * - * @param array $data - */ - public function setData(array $data) - { - $this->data = $data; - } - - /** - * Returns the test data. - * - * @return array - */ - public function getTests() - { - return $this->tests; - } - - /** - * Sets the test data. - * - * @param array $tests - */ - public function setTests(array $tests) - { - $this->tests = $tests; - } - - /** - * Start collection of code coverage information. - * - * @param mixed $id - * @param bool $clear - * - * @throws InvalidArgumentException - */ - public function start($id, $clear = false) - { - if (!is_bool($clear)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - if ($clear) { - $this->clear(); - } - - if ($this->isInitialized === false) { - $this->initializeData(); - } - - $this->currentId = $id; - - $this->driver->start($this->shouldCheckForDeadAndUnused); - } - - /** - * Stop collection of code coverage information. - * - * @param bool $append - * @param mixed $linesToBeCovered - * @param array $linesToBeUsed - * - * @return array - * - * @throws InvalidArgumentException - */ - public function stop($append = true, $linesToBeCovered = [], array $linesToBeUsed = []) - { - if (!is_bool($append)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - if (!is_array($linesToBeCovered) && $linesToBeCovered !== false) { - throw InvalidArgumentException::create( - 2, - 'array or false' - ); - } - - $data = $this->driver->stop(); - $this->append($data, null, $append, $linesToBeCovered, $linesToBeUsed); - - $this->currentId = null; - - return $data; - } - - /** - * Appends code coverage data. - * - * @param array $data - * @param mixed $id - * @param bool $append - * @param mixed $linesToBeCovered - * @param array $linesToBeUsed - * - * @throws RuntimeException - */ - public function append(array $data, $id = null, $append = true, $linesToBeCovered = [], array $linesToBeUsed = []) - { - if ($id === null) { - $id = $this->currentId; - } - - if ($id === null) { - throw new RuntimeException; - } - - $this->applyListsFilter($data); - $this->applyIgnoredLinesFilter($data); - $this->initializeFilesThatAreSeenTheFirstTime($data); - - if (!$append) { - return; - } - - if ($id != 'UNCOVERED_FILES_FROM_WHITELIST') { - $this->applyCoversAnnotationFilter( - $data, - $linesToBeCovered, - $linesToBeUsed - ); - } - - if (empty($data)) { - return; - } - - $size = 'unknown'; - $status = null; - - if ($id instanceof \PHPUnit_Framework_TestCase) { - $_size = $id->getSize(); - - if ($_size == \PHPUnit_Util_Test::SMALL) { - $size = 'small'; - } elseif ($_size == \PHPUnit_Util_Test::MEDIUM) { - $size = 'medium'; - } elseif ($_size == \PHPUnit_Util_Test::LARGE) { - $size = 'large'; - } - - $status = $id->getStatus(); - $id = get_class($id) . '::' . $id->getName(); - } elseif ($id instanceof \PHPUnit_Extensions_PhptTestCase) { - $size = 'large'; - $id = $id->getName(); - } - - $this->tests[$id] = ['size' => $size, 'status' => $status]; - - foreach ($data as $file => $lines) { - if (!$this->filter->isFile($file)) { - continue; - } - - foreach ($lines as $k => $v) { - if ($v == Driver::LINE_EXECUTED) { - if (empty($this->data[$file][$k]) || !in_array($id, $this->data[$file][$k])) { - $this->data[$file][$k][] = $id; - } - } - } - } - } - - /** - * Merges the data from another instance. - * - * @param CodeCoverage $that - */ - public function merge(CodeCoverage $that) - { - $this->filter->setWhitelistedFiles( - array_merge($this->filter->getWhitelistedFiles(), $that->filter()->getWhitelistedFiles()) - ); - - foreach ($that->data as $file => $lines) { - if (!isset($this->data[$file])) { - if (!$this->filter->isFiltered($file)) { - $this->data[$file] = $lines; - } - - continue; - } - - foreach ($lines as $line => $data) { - if ($data !== null) { - if (!isset($this->data[$file][$line])) { - $this->data[$file][$line] = $data; - } else { - $this->data[$file][$line] = array_unique( - array_merge($this->data[$file][$line], $data) - ); - } - } - } - } - - $this->tests = array_merge($this->tests, $that->getTests()); - } - - /** - * @param bool $flag - * - * @throws InvalidArgumentException - */ - public function setCacheTokens($flag) - { - if (!is_bool($flag)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - $this->cacheTokens = $flag; - } - - /** - * @return bool - */ - public function getCacheTokens() - { - return $this->cacheTokens; - } - - /** - * @param bool $flag - * - * @throws InvalidArgumentException - */ - public function setCheckForUnintentionallyCoveredCode($flag) - { - if (!is_bool($flag)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - $this->checkForUnintentionallyCoveredCode = $flag; - } - - /** - * @param bool $flag - * - * @throws InvalidArgumentException - */ - public function setForceCoversAnnotation($flag) - { - if (!is_bool($flag)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - $this->forceCoversAnnotation = $flag; - } - - /** - * @param bool $flag - * - * @throws InvalidArgumentException - */ - public function setCheckForMissingCoversAnnotation($flag) - { - if (!is_bool($flag)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - $this->checkForMissingCoversAnnotation = $flag; - } - - /** - * @param bool $flag - * - * @throws InvalidArgumentException - */ - public function setCheckForUnexecutedCoveredCode($flag) - { - if (!is_bool($flag)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - $this->checkForUnexecutedCoveredCode = $flag; - } - - /** - * @deprecated - * - * @param bool $flag - * - * @throws InvalidArgumentException - */ - public function setMapTestClassNameToCoveredClassName($flag) - { - } - - /** - * @param bool $flag - * - * @throws InvalidArgumentException - */ - public function setAddUncoveredFilesFromWhitelist($flag) - { - if (!is_bool($flag)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - $this->addUncoveredFilesFromWhitelist = $flag; - } - - /** - * @param bool $flag - * - * @throws InvalidArgumentException - */ - public function setProcessUncoveredFilesFromWhitelist($flag) - { - if (!is_bool($flag)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - $this->processUncoveredFilesFromWhitelist = $flag; - } - - /** - * @param bool $flag - * - * @throws InvalidArgumentException - */ - public function setDisableIgnoredLines($flag) - { - if (!is_bool($flag)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - $this->disableIgnoredLines = $flag; - } - - /** - * @param bool $flag - * - * @throws InvalidArgumentException - */ - public function setIgnoreDeprecatedCode($flag) - { - if (!is_bool($flag)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - $this->ignoreDeprecatedCode = $flag; - } - - /** - * @param array $whitelist - */ - public function setUnintentionallyCoveredSubclassesWhitelist(array $whitelist) - { - $this->unintentionallyCoveredSubclassesWhitelist = $whitelist; - } - - /** - * Applies the @covers annotation filtering. - * - * @param array $data - * @param mixed $linesToBeCovered - * @param array $linesToBeUsed - * - * @throws MissingCoversAnnotationException - * @throws UnintentionallyCoveredCodeException - */ - private function applyCoversAnnotationFilter(array &$data, $linesToBeCovered, array $linesToBeUsed) - { - if ($linesToBeCovered === false || - ($this->forceCoversAnnotation && empty($linesToBeCovered))) { - if ($this->checkForMissingCoversAnnotation) { - throw new MissingCoversAnnotationException; - } - - $data = []; - - return; - } - - if (empty($linesToBeCovered)) { - return; - } - - if ($this->checkForUnintentionallyCoveredCode && - (!$this->currentId instanceof \PHPUnit_Framework_TestCase || - (!$this->currentId->isMedium() && !$this->currentId->isLarge()))) { - $this->performUnintentionallyCoveredCodeCheck( - $data, - $linesToBeCovered, - $linesToBeUsed - ); - } - - if ($this->checkForUnexecutedCoveredCode) { - $this->performUnexecutedCoveredCodeCheck($data, $linesToBeCovered, $linesToBeUsed); - } - - $data = array_intersect_key($data, $linesToBeCovered); - - foreach (array_keys($data) as $filename) { - $_linesToBeCovered = array_flip($linesToBeCovered[$filename]); - - $data[$filename] = array_intersect_key( - $data[$filename], - $_linesToBeCovered - ); - } - } - - /** - * Applies the whitelist filtering. - * - * @param array $data - */ - private function applyListsFilter(array &$data) - { - foreach (array_keys($data) as $filename) { - if ($this->filter->isFiltered($filename)) { - unset($data[$filename]); - } - } - } - - /** - * Applies the "ignored lines" filtering. - * - * @param array $data - */ - private function applyIgnoredLinesFilter(array &$data) - { - foreach (array_keys($data) as $filename) { - if (!$this->filter->isFile($filename)) { - continue; - } - - foreach ($this->getLinesToBeIgnored($filename) as $line) { - unset($data[$filename][$line]); - } - } - } - - /** - * @param array $data - */ - private function initializeFilesThatAreSeenTheFirstTime(array $data) - { - foreach ($data as $file => $lines) { - if ($this->filter->isFile($file) && !isset($this->data[$file])) { - $this->data[$file] = []; - - foreach ($lines as $k => $v) { - $this->data[$file][$k] = $v == -2 ? null : []; - } - } - } - } - - /** - * Processes whitelisted files that are not covered. - */ - private function addUncoveredFilesFromWhitelist() - { - $data = []; - $uncoveredFiles = array_diff( - $this->filter->getWhitelist(), - array_keys($this->data) - ); - - foreach ($uncoveredFiles as $uncoveredFile) { - if (!file_exists($uncoveredFile)) { - continue; - } - - if (!$this->processUncoveredFilesFromWhitelist) { - $data[$uncoveredFile] = []; - - $lines = count(file($uncoveredFile)); - - for ($i = 1; $i <= $lines; $i++) { - $data[$uncoveredFile][$i] = Driver::LINE_NOT_EXECUTED; - } - } - } - - $this->append($data, 'UNCOVERED_FILES_FROM_WHITELIST'); - } - - /** - * Returns the lines of a source file that should be ignored. - * - * @param string $filename - * - * @return array - * - * @throws InvalidArgumentException - */ - private function getLinesToBeIgnored($filename) - { - if (!is_string($filename)) { - throw InvalidArgumentException::create( - 1, - 'string' - ); - } - - if (!isset($this->ignoredLines[$filename])) { - $this->ignoredLines[$filename] = []; - - if ($this->disableIgnoredLines) { - return $this->ignoredLines[$filename]; - } - - $ignore = false; - $stop = false; - $lines = file($filename); - $numLines = count($lines); - - foreach ($lines as $index => $line) { - if (!trim($line)) { - $this->ignoredLines[$filename][] = $index + 1; - } - } - - if ($this->cacheTokens) { - $tokens = \PHP_Token_Stream_CachingFactory::get($filename); - } else { - $tokens = new \PHP_Token_Stream($filename); - } - - $classes = array_merge($tokens->getClasses(), $tokens->getTraits()); - $tokens = $tokens->tokens(); - - foreach ($tokens as $token) { - switch (get_class($token)) { - case 'PHP_Token_COMMENT': - case 'PHP_Token_DOC_COMMENT': - $_token = trim($token); - $_line = trim($lines[$token->getLine() - 1]); - - if ($_token == '// @codeCoverageIgnore' || - $_token == '//@codeCoverageIgnore') { - $ignore = true; - $stop = true; - } elseif ($_token == '// @codeCoverageIgnoreStart' || - $_token == '//@codeCoverageIgnoreStart') { - $ignore = true; - } elseif ($_token == '// @codeCoverageIgnoreEnd' || - $_token == '//@codeCoverageIgnoreEnd') { - $stop = true; - } - - if (!$ignore) { - $start = $token->getLine(); - $end = $start + substr_count($token, "\n"); - - // Do not ignore the first line when there is a token - // before the comment - if (0 !== strpos($_token, $_line)) { - $start++; - } - - for ($i = $start; $i < $end; $i++) { - $this->ignoredLines[$filename][] = $i; - } - - // A DOC_COMMENT token or a COMMENT token starting with "/*" - // does not contain the final \n character in its text - if (isset($lines[$i-1]) && 0 === strpos($_token, '/*') && '*/' === substr(trim($lines[$i-1]), -2)) { - $this->ignoredLines[$filename][] = $i; - } - } - break; - - case 'PHP_Token_INTERFACE': - case 'PHP_Token_TRAIT': - case 'PHP_Token_CLASS': - case 'PHP_Token_FUNCTION': - /* @var \PHP_Token_Interface $token */ - - $docblock = $token->getDocblock(); - - $this->ignoredLines[$filename][] = $token->getLine(); - - if (strpos($docblock, '@codeCoverageIgnore') || ($this->ignoreDeprecatedCode && strpos($docblock, '@deprecated'))) { - $endLine = $token->getEndLine(); - - for ($i = $token->getLine(); $i <= $endLine; $i++) { - $this->ignoredLines[$filename][] = $i; - } - } elseif ($token instanceof \PHP_Token_INTERFACE || - $token instanceof \PHP_Token_TRAIT || - $token instanceof \PHP_Token_CLASS) { - if (empty($classes[$token->getName()]['methods'])) { - for ($i = $token->getLine(); - $i <= $token->getEndLine(); - $i++) { - $this->ignoredLines[$filename][] = $i; - } - } else { - $firstMethod = array_shift( - $classes[$token->getName()]['methods'] - ); - - do { - $lastMethod = array_pop( - $classes[$token->getName()]['methods'] - ); - } while ($lastMethod !== null && - substr($lastMethod['signature'], 0, 18) == 'anonymous function'); - - if ($lastMethod === null) { - $lastMethod = $firstMethod; - } - - for ($i = $token->getLine(); - $i < $firstMethod['startLine']; - $i++) { - $this->ignoredLines[$filename][] = $i; - } - - for ($i = $token->getEndLine(); - $i > $lastMethod['endLine']; - $i--) { - $this->ignoredLines[$filename][] = $i; - } - } - } - break; - - case 'PHP_Token_NAMESPACE': - $this->ignoredLines[$filename][] = $token->getEndLine(); - - // Intentional fallthrough - case 'PHP_Token_DECLARE': - case 'PHP_Token_OPEN_TAG': - case 'PHP_Token_CLOSE_TAG': - case 'PHP_Token_USE': - $this->ignoredLines[$filename][] = $token->getLine(); - break; - } - - if ($ignore) { - $this->ignoredLines[$filename][] = $token->getLine(); - - if ($stop) { - $ignore = false; - $stop = false; - } - } - } - - $this->ignoredLines[$filename][] = $numLines + 1; - - $this->ignoredLines[$filename] = array_unique( - $this->ignoredLines[$filename] - ); - - sort($this->ignoredLines[$filename]); - } - - return $this->ignoredLines[$filename]; - } - - /** - * @param array $data - * @param array $linesToBeCovered - * @param array $linesToBeUsed - * - * @throws UnintentionallyCoveredCodeException - */ - private function performUnintentionallyCoveredCodeCheck(array &$data, array $linesToBeCovered, array $linesToBeUsed) - { - $allowedLines = $this->getAllowedLines( - $linesToBeCovered, - $linesToBeUsed - ); - - $unintentionallyCoveredUnits = []; - - foreach ($data as $file => $_data) { - foreach ($_data as $line => $flag) { - if ($flag == 1 && !isset($allowedLines[$file][$line])) { - $unintentionallyCoveredUnits[] = $this->wizard->lookup($file, $line); - } - } - } - - $unintentionallyCoveredUnits = $this->processUnintentionallyCoveredUnits($unintentionallyCoveredUnits); - - if (!empty($unintentionallyCoveredUnits)) { - throw new UnintentionallyCoveredCodeException( - $unintentionallyCoveredUnits - ); - } - } - - /** - * @param array $data - * @param array $linesToBeCovered - * @param array $linesToBeUsed - * - * @throws CoveredCodeNotExecutedException - */ - private function performUnexecutedCoveredCodeCheck(array &$data, array $linesToBeCovered, array $linesToBeUsed) - { - $expectedLines = $this->getAllowedLines( - $linesToBeCovered, - $linesToBeUsed - ); - - foreach ($data as $file => $_data) { - foreach (array_keys($_data) as $line) { - if (!isset($expectedLines[$file][$line])) { - continue; - } - - unset($expectedLines[$file][$line]); - } - } - - $message = ''; - - foreach ($expectedLines as $file => $lines) { - if (empty($lines)) { - continue; - } - - foreach (array_keys($lines) as $line) { - $message .= sprintf('- %s:%d' . PHP_EOL, $file, $line); - } - } - - if (!empty($message)) { - throw new CoveredCodeNotExecutedException($message); - } - } - - /** - * @param array $linesToBeCovered - * @param array $linesToBeUsed - * - * @return array - */ - private function getAllowedLines(array $linesToBeCovered, array $linesToBeUsed) - { - $allowedLines = []; - - foreach (array_keys($linesToBeCovered) as $file) { - if (!isset($allowedLines[$file])) { - $allowedLines[$file] = []; - } - - $allowedLines[$file] = array_merge( - $allowedLines[$file], - $linesToBeCovered[$file] - ); - } - - foreach (array_keys($linesToBeUsed) as $file) { - if (!isset($allowedLines[$file])) { - $allowedLines[$file] = []; - } - - $allowedLines[$file] = array_merge( - $allowedLines[$file], - $linesToBeUsed[$file] - ); - } - - foreach (array_keys($allowedLines) as $file) { - $allowedLines[$file] = array_flip( - array_unique($allowedLines[$file]) - ); - } - - return $allowedLines; - } - - /** - * @return Driver - * - * @throws RuntimeException - */ - private function selectDriver() - { - $runtime = new Runtime; - - if (!$runtime->canCollectCodeCoverage()) { - throw new RuntimeException('No code coverage driver available'); - } - - if ($runtime->isHHVM()) { - return new HHVM; - } elseif ($runtime->isPHPDBG()) { - return new PHPDBG; - } else { - return new Xdebug; - } - } - - /** - * @param array $unintentionallyCoveredUnits - * - * @return array - */ - private function processUnintentionallyCoveredUnits(array $unintentionallyCoveredUnits) - { - $unintentionallyCoveredUnits = array_unique($unintentionallyCoveredUnits); - sort($unintentionallyCoveredUnits); - - foreach (array_keys($unintentionallyCoveredUnits) as $k => $v) { - $unit = explode('::', $unintentionallyCoveredUnits[$k]); - - if (count($unit) != 2) { - continue; - } - - $class = new \ReflectionClass($unit[0]); - - foreach ($this->unintentionallyCoveredSubclassesWhitelist as $whitelisted) { - if ($class->isSubclassOf($whitelisted)) { - unset($unintentionallyCoveredUnits[$k]); - break; - } - } - } - - return array_values($unintentionallyCoveredUnits); - } - - /** - * If we are processing uncovered files from whitelist, - * we can initialize the data before we start to speed up the tests - */ - protected function initializeData() - { - $this->isInitialized = true; - - if ($this->processUncoveredFilesFromWhitelist) { - $this->shouldCheckForDeadAndUnused = false; - - $this->driver->start(true); - - foreach ($this->filter->getWhitelist() as $file) { - if ($this->filter->isFile($file)) { - include_once($file); - } - } - - $data = []; - $coverage = $this->driver->stop(); - - foreach ($coverage as $file => $fileCoverage) { - if ($this->filter->isFiltered($file)) { - continue; - } - - foreach (array_keys($fileCoverage) as $key) { - if ($fileCoverage[$key] == Driver::LINE_EXECUTED) { - $fileCoverage[$key] = Driver::LINE_NOT_EXECUTED; - } - } - - $data[$file] = $fileCoverage; - } - - $this->append($data, 'UNCOVERED_FILES_FROM_WHITELIST'); - } - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Driver; - -/** - * Interface for code coverage drivers. - */ -interface Driver -{ - /** - * @var int - * - * @see http://xdebug.org/docs/code_coverage - */ - const LINE_EXECUTED = 1; - - /** - * @var int - * - * @see http://xdebug.org/docs/code_coverage - */ - const LINE_NOT_EXECUTED = -1; - - /** - * @var int - * - * @see http://xdebug.org/docs/code_coverage - */ - const LINE_NOT_EXECUTABLE = -2; - - /** - * Start collection of code coverage information. - * - * @param bool $determineUnusedAndDead - */ - public function start($determineUnusedAndDead = true); - - /** - * Stop collection of code coverage information. - * - * @return array - */ - public function stop(); -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Driver; - -/** - * Driver for HHVM's code coverage functionality. - * - * @codeCoverageIgnore - */ -class HHVM extends Xdebug -{ - /** - * Start collection of code coverage information. - * - * @param bool $determineUnusedAndDead - */ - public function start($determineUnusedAndDead = true) - { - xdebug_start_code_coverage(); - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Driver; - -use SebastianBergmann\CodeCoverage\RuntimeException; - -/** - * Driver for PHPDBG's code coverage functionality. - * - * @codeCoverageIgnore - */ -class PHPDBG implements Driver -{ - /** - * Constructor. - */ - public function __construct() - { - if (PHP_SAPI !== 'phpdbg') { - throw new RuntimeException( - 'This driver requires the PHPDBG SAPI' - ); - } - - if (!function_exists('phpdbg_start_oplog')) { - throw new RuntimeException( - 'This build of PHPDBG does not support code coverage' - ); - } - } - - /** - * Start collection of code coverage information. - * - * @param bool $determineUnusedAndDead - */ - public function start($determineUnusedAndDead = true) - { - phpdbg_start_oplog(); - } - - /** - * Stop collection of code coverage information. - * - * @return array - */ - public function stop() - { - static $fetchedLines = []; - - $dbgData = phpdbg_end_oplog(); - - if ($fetchedLines == []) { - $sourceLines = phpdbg_get_executable(); - } else { - $newFiles = array_diff( - get_included_files(), - array_keys($fetchedLines) - ); - - if ($newFiles) { - $sourceLines = phpdbg_get_executable( - ['files' => $newFiles] - ); - } else { - $sourceLines = []; - } - } - - foreach ($sourceLines as $file => $lines) { - foreach ($lines as $lineNo => $numExecuted) { - $sourceLines[$file][$lineNo] = self::LINE_NOT_EXECUTED; - } - } - - $fetchedLines = array_merge($fetchedLines, $sourceLines); - - return $this->detectExecutedLines($fetchedLines, $dbgData); - } - - /** - * Convert phpdbg based data into the format CodeCoverage expects - * - * @param array $sourceLines - * @param array $dbgData - * - * @return array - */ - private function detectExecutedLines(array $sourceLines, array $dbgData) - { - foreach ($dbgData as $file => $coveredLines) { - foreach ($coveredLines as $lineNo => $numExecuted) { - // phpdbg also reports $lineNo=0 when e.g. exceptions get thrown. - // make sure we only mark lines executed which are actually executable. - if (isset($sourceLines[$file][$lineNo])) { - $sourceLines[$file][$lineNo] = self::LINE_EXECUTED; - } - } - } - - return $sourceLines; - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Driver; - -use SebastianBergmann\CodeCoverage\RuntimeException; - -/** - * Driver for Xdebug's code coverage functionality. - * - * @codeCoverageIgnore - */ -class Xdebug implements Driver -{ - /** - * Cache the number of lines for each file - * - * @var array - */ - private $cacheNumLines = []; - - /** - * Constructor. - */ - public function __construct() - { - if (!extension_loaded('xdebug')) { - throw new RuntimeException('This driver requires Xdebug'); - } - - if (version_compare(phpversion('xdebug'), '2.2.1', '>=') && - !ini_get('xdebug.coverage_enable')) { - throw new RuntimeException( - 'xdebug.coverage_enable=On has to be set in php.ini' - ); - } - } - - /** - * Start collection of code coverage information. - * - * @param bool $determineUnusedAndDead - */ - public function start($determineUnusedAndDead = true) - { - if ($determineUnusedAndDead) { - xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE); - } else { - xdebug_start_code_coverage(); - } - } - - /** - * Stop collection of code coverage information. - * - * @return array - */ - public function stop() - { - $data = xdebug_get_code_coverage(); - xdebug_stop_code_coverage(); - - return $this->cleanup($data); - } - - /** - * @param array $data - * - * @return array - */ - private function cleanup(array $data) - { - foreach (array_keys($data) as $file) { - unset($data[$file][0]); - - if (strpos($file, 'xdebug://debug-eval') !== 0 && file_exists($file)) { - $numLines = $this->getNumberOfLinesInFile($file); - - foreach (array_keys($data[$file]) as $line) { - if ($line > $numLines) { - unset($data[$file][$line]); - } - } - } - } - - return $data; - } - - /** - * @param string $file - * - * @return int - */ - private function getNumberOfLinesInFile($file) - { - if (!isset($this->cacheNumLines[$file])) { - $buffer = file_get_contents($file); - $lines = substr_count($buffer, "\n"); - - if (substr($buffer, -1) !== "\n") { - $lines++; - } - - $this->cacheNumLines[$file] = $lines; - } - - return $this->cacheNumLines[$file]; - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage; - -/** - * Exception that is raised when covered code is not executed. - */ -class CoveredCodeNotExecutedException extends RuntimeException -{ -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage; - -/** - * Exception interface for php-code-coverage component. - */ -interface Exception -{ -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage; - -class InvalidArgumentException extends \InvalidArgumentException implements Exception -{ - /** - * @param int $argument - * @param string $type - * @param mixed $value - * - * @return InvalidArgumentException - */ - public static function create($argument, $type, $value = null) - { - $stack = debug_backtrace(0); - - return new self( - sprintf( - 'Argument #%d%sof %s::%s() must be a %s', - $argument, - $value !== null ? ' (' . gettype($value) . '#' . $value . ')' : ' (No Value) ', - $stack[1]['class'], - $stack[1]['function'], - $type - ) - ); - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage; - -/** - * Exception that is raised when @covers must be used but is not. - */ -class MissingCoversAnnotationException extends RuntimeException -{ -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage; - -class RuntimeException extends \RuntimeException implements Exception -{ -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage; - -/** - * Exception that is raised when code is unintentionally covered. - */ -class UnintentionallyCoveredCodeException extends RuntimeException -{ - /** - * @var array - */ - private $unintentionallyCoveredUnits = []; - - /** - * @param array $unintentionallyCoveredUnits - */ - public function __construct(array $unintentionallyCoveredUnits) - { - $this->unintentionallyCoveredUnits = $unintentionallyCoveredUnits; - - parent::__construct($this->toString()); - } - - /** - * @return array - */ - public function getUnintentionallyCoveredUnits() - { - return $this->unintentionallyCoveredUnits; - } - - /** - * @return string - */ - private function toString() - { - $message = ''; - - foreach ($this->unintentionallyCoveredUnits as $unit) { - $message .= '- ' . $unit . "\n"; - } - - return $message; - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage; - -/** - * Filter for whitelisting of code coverage information. - */ -class Filter -{ - /** - * Source files that are whitelisted. - * - * @var array - */ - private $whitelistedFiles = []; - - /** - * Adds a directory to the whitelist (recursively). - * - * @param string $directory - * @param string $suffix - * @param string $prefix - */ - public function addDirectoryToWhitelist($directory, $suffix = '.php', $prefix = '') - { - $facade = new \File_Iterator_Facade; - $files = $facade->getFilesAsArray($directory, $suffix, $prefix); - - foreach ($files as $file) { - $this->addFileToWhitelist($file); - } - } - - /** - * Adds a file to the whitelist. - * - * @param string $filename - */ - public function addFileToWhitelist($filename) - { - $this->whitelistedFiles[realpath($filename)] = true; - } - - /** - * Adds files to the whitelist. - * - * @param array $files - */ - public function addFilesToWhitelist(array $files) - { - foreach ($files as $file) { - $this->addFileToWhitelist($file); - } - } - - /** - * Removes a directory from the whitelist (recursively). - * - * @param string $directory - * @param string $suffix - * @param string $prefix - */ - public function removeDirectoryFromWhitelist($directory, $suffix = '.php', $prefix = '') - { - $facade = new \File_Iterator_Facade; - $files = $facade->getFilesAsArray($directory, $suffix, $prefix); - - foreach ($files as $file) { - $this->removeFileFromWhitelist($file); - } - } - - /** - * Removes a file from the whitelist. - * - * @param string $filename - */ - public function removeFileFromWhitelist($filename) - { - $filename = realpath($filename); - - unset($this->whitelistedFiles[$filename]); - } - - /** - * Checks whether a filename is a real filename. - * - * @param string $filename - * - * @return bool - */ - public function isFile($filename) - { - if ($filename == '-' || - strpos($filename, 'vfs://') === 0 || - strpos($filename, 'xdebug://debug-eval') !== false || - strpos($filename, 'eval()\'d code') !== false || - strpos($filename, 'runtime-created function') !== false || - strpos($filename, 'runkit created function') !== false || - strpos($filename, 'assert code') !== false || - strpos($filename, 'regexp code') !== false) { - return false; - } - - return file_exists($filename); - } - - /** - * Checks whether or not a file is filtered. - * - * @param string $filename - * - * @return bool - */ - public function isFiltered($filename) - { - if (!$this->isFile($filename)) { - return true; - } - - $filename = realpath($filename); - - return !isset($this->whitelistedFiles[$filename]); - } - - /** - * Returns the list of whitelisted files. - * - * @return array - */ - public function getWhitelist() - { - return array_keys($this->whitelistedFiles); - } - - /** - * Returns whether this filter has a whitelist. - * - * @return bool - */ - public function hasWhitelist() - { - return !empty($this->whitelistedFiles); - } - - /** - * Returns the whitelisted files. - * - * @return array - */ - public function getWhitelistedFiles() - { - return $this->whitelistedFiles; - } - - /** - * Sets the whitelisted files. - * - * @param array $whitelistedFiles - */ - public function setWhitelistedFiles($whitelistedFiles) - { - $this->whitelistedFiles = $whitelistedFiles; - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Node; - -use SebastianBergmann\CodeCoverage\Util; - -/** - * Base class for nodes in the code coverage information tree. - */ -abstract class AbstractNode implements \Countable -{ - /** - * @var string - */ - private $name; - - /** - * @var string - */ - private $path; - - /** - * @var array - */ - private $pathArray; - - /** - * @var AbstractNode - */ - private $parent; - - /** - * @var string - */ - private $id; - - /** - * Constructor. - * - * @param string $name - * @param AbstractNode $parent - */ - public function __construct($name, AbstractNode $parent = null) - { - if (substr($name, -1) == '/') { - $name = substr($name, 0, -1); - } - - $this->name = $name; - $this->parent = $parent; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @return string - */ - public function getId() - { - if ($this->id === null) { - $parent = $this->getParent(); - - if ($parent === null) { - $this->id = 'index'; - } else { - $parentId = $parent->getId(); - - if ($parentId == 'index') { - $this->id = str_replace(':', '_', $this->name); - } else { - $this->id = $parentId . '/' . $this->name; - } - } - } - - return $this->id; - } - - /** - * @return string - */ - public function getPath() - { - if ($this->path === null) { - if ($this->parent === null || $this->parent->getPath() === null || $this->parent->getPath() === false) { - $this->path = $this->name; - } else { - $this->path = $this->parent->getPath() . '/' . $this->name; - } - } - - return $this->path; - } - - /** - * @return array - */ - public function getPathAsArray() - { - if ($this->pathArray === null) { - if ($this->parent === null) { - $this->pathArray = []; - } else { - $this->pathArray = $this->parent->getPathAsArray(); - } - - $this->pathArray[] = $this; - } - - return $this->pathArray; - } - - /** - * @return AbstractNode - */ - public function getParent() - { - return $this->parent; - } - - /** - * Returns the percentage of classes that has been tested. - * - * @param bool $asString - * - * @return int - */ - public function getTestedClassesPercent($asString = true) - { - return Util::percent( - $this->getNumTestedClasses(), - $this->getNumClasses(), - $asString - ); - } - - /** - * Returns the percentage of traits that has been tested. - * - * @param bool $asString - * - * @return int - */ - public function getTestedTraitsPercent($asString = true) - { - return Util::percent( - $this->getNumTestedTraits(), - $this->getNumTraits(), - $asString - ); - } - - /** - * Returns the percentage of traits that has been tested. - * - * @param bool $asString - * - * @return int - */ - public function getTestedClassesAndTraitsPercent($asString = true) - { - return Util::percent( - $this->getNumTestedClassesAndTraits(), - $this->getNumClassesAndTraits(), - $asString - ); - } - - /** - * Returns the percentage of methods that has been tested. - * - * @param bool $asString - * - * @return int - */ - public function getTestedMethodsPercent($asString = true) - { - return Util::percent( - $this->getNumTestedMethods(), - $this->getNumMethods(), - $asString - ); - } - - /** - * Returns the percentage of executed lines. - * - * @param bool $asString - * - * @return int - */ - public function getLineExecutedPercent($asString = true) - { - return Util::percent( - $this->getNumExecutedLines(), - $this->getNumExecutableLines(), - $asString - ); - } - - /** - * Returns the number of classes and traits. - * - * @return int - */ - public function getNumClassesAndTraits() - { - return $this->getNumClasses() + $this->getNumTraits(); - } - - /** - * Returns the number of tested classes and traits. - * - * @return int - */ - public function getNumTestedClassesAndTraits() - { - return $this->getNumTestedClasses() + $this->getNumTestedTraits(); - } - - /** - * Returns the classes and traits of this node. - * - * @return array - */ - public function getClassesAndTraits() - { - return array_merge($this->getClasses(), $this->getTraits()); - } - - /** - * Returns the classes of this node. - * - * @return array - */ - abstract public function getClasses(); - - /** - * Returns the traits of this node. - * - * @return array - */ - abstract public function getTraits(); - - /** - * Returns the functions of this node. - * - * @return array - */ - abstract public function getFunctions(); - - /** - * Returns the LOC/CLOC/NCLOC of this node. - * - * @return array - */ - abstract public function getLinesOfCode(); - - /** - * Returns the number of executable lines. - * - * @return int - */ - abstract public function getNumExecutableLines(); - - /** - * Returns the number of executed lines. - * - * @return int - */ - abstract public function getNumExecutedLines(); - - /** - * Returns the number of classes. - * - * @return int - */ - abstract public function getNumClasses(); - - /** - * Returns the number of tested classes. - * - * @return int - */ - abstract public function getNumTestedClasses(); - - /** - * Returns the number of traits. - * - * @return int - */ - abstract public function getNumTraits(); - - /** - * Returns the number of tested traits. - * - * @return int - */ - abstract public function getNumTestedTraits(); - - /** - * Returns the number of methods. - * - * @return int - */ - abstract public function getNumMethods(); - - /** - * Returns the number of tested methods. - * - * @return int - */ - abstract public function getNumTestedMethods(); - - /** - * Returns the number of functions. - * - * @return int - */ - abstract public function getNumFunctions(); - - /** - * Returns the number of tested functions. - * - * @return int - */ - abstract public function getNumTestedFunctions(); -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Node; - -use SebastianBergmann\CodeCoverage\CodeCoverage; - -class Builder -{ - /** - * @param CodeCoverage $coverage - * - * @return Directory - */ - public function build(CodeCoverage $coverage) - { - $files = $coverage->getData(); - $commonPath = $this->reducePaths($files); - $root = new Directory( - $commonPath, - null - ); - - $this->addItems( - $root, - $this->buildDirectoryStructure($files), - $coverage->getTests(), - $coverage->getCacheTokens() - ); - - return $root; - } - - /** - * @param Directory $root - * @param array $items - * @param array $tests - * @param bool $cacheTokens - */ - private function addItems(Directory $root, array $items, array $tests, $cacheTokens) - { - foreach ($items as $key => $value) { - if (substr($key, -2) == '/f') { - $key = substr($key, 0, -2); - - if (file_exists($root->getPath() . DIRECTORY_SEPARATOR . $key)) { - $root->addFile($key, $value, $tests, $cacheTokens); - } - } else { - $child = $root->addDirectory($key); - $this->addItems($child, $value, $tests, $cacheTokens); - } - } - } - - /** - * Builds an array representation of the directory structure. - * - * For instance, - * - * - * Array - * ( - * [Money.php] => Array - * ( - * ... - * ) - * - * [MoneyBag.php] => Array - * ( - * ... - * ) - * ) - * - * - * is transformed into - * - * - * Array - * ( - * [.] => Array - * ( - * [Money.php] => Array - * ( - * ... - * ) - * - * [MoneyBag.php] => Array - * ( - * ... - * ) - * ) - * ) - * - * - * @param array $files - * - * @return array - */ - private function buildDirectoryStructure($files) - { - $result = []; - - foreach ($files as $path => $file) { - $path = explode('/', $path); - $pointer = &$result; - $max = count($path); - - for ($i = 0; $i < $max; $i++) { - if ($i == ($max - 1)) { - $type = '/f'; - } else { - $type = ''; - } - - $pointer = &$pointer[$path[$i] . $type]; - } - - $pointer = $file; - } - - return $result; - } - - /** - * Reduces the paths by cutting the longest common start path. - * - * For instance, - * - * - * Array - * ( - * [/home/sb/Money/Money.php] => Array - * ( - * ... - * ) - * - * [/home/sb/Money/MoneyBag.php] => Array - * ( - * ... - * ) - * ) - * - * - * is reduced to - * - * - * Array - * ( - * [Money.php] => Array - * ( - * ... - * ) - * - * [MoneyBag.php] => Array - * ( - * ... - * ) - * ) - * - * - * @param array $files - * - * @return string - */ - private function reducePaths(&$files) - { - if (empty($files)) { - return '.'; - } - - $commonPath = ''; - $paths = array_keys($files); - - if (count($files) == 1) { - $commonPath = dirname($paths[0]) . '/'; - $files[basename($paths[0])] = $files[$paths[0]]; - - unset($files[$paths[0]]); - - return $commonPath; - } - - $max = count($paths); - - for ($i = 0; $i < $max; $i++) { - // strip phar:// prefixes - if (strpos($paths[$i], 'phar://') === 0) { - $paths[$i] = substr($paths[$i], 7); - $paths[$i] = strtr($paths[$i], '/', DIRECTORY_SEPARATOR); - } - $paths[$i] = explode(DIRECTORY_SEPARATOR, $paths[$i]); - - if (empty($paths[$i][0])) { - $paths[$i][0] = DIRECTORY_SEPARATOR; - } - } - - $done = false; - $max = count($paths); - - while (!$done) { - for ($i = 0; $i < $max - 1; $i++) { - if (!isset($paths[$i][0]) || - !isset($paths[$i+1][0]) || - $paths[$i][0] != $paths[$i+1][0]) { - $done = true; - break; - } - } - - if (!$done) { - $commonPath .= $paths[0][0]; - - if ($paths[0][0] != DIRECTORY_SEPARATOR) { - $commonPath .= DIRECTORY_SEPARATOR; - } - - for ($i = 0; $i < $max; $i++) { - array_shift($paths[$i]); - } - } - } - - $original = array_keys($files); - $max = count($original); - - for ($i = 0; $i < $max; $i++) { - $files[implode('/', $paths[$i])] = $files[$original[$i]]; - unset($files[$original[$i]]); - } - - ksort($files); - - return substr($commonPath, 0, -1); - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Node; - -use SebastianBergmann\CodeCoverage\InvalidArgumentException; - -/** - * Represents a directory in the code coverage information tree. - */ -class Directory extends AbstractNode implements \IteratorAggregate -{ - /** - * @var AbstractNode[] - */ - private $children = []; - - /** - * @var Directory[] - */ - private $directories = []; - - /** - * @var File[] - */ - private $files = []; - - /** - * @var array - */ - private $classes; - - /** - * @var array - */ - private $traits; - - /** - * @var array - */ - private $functions; - - /** - * @var array - */ - private $linesOfCode = null; - - /** - * @var int - */ - private $numFiles = -1; - - /** - * @var int - */ - private $numExecutableLines = -1; - - /** - * @var int - */ - private $numExecutedLines = -1; - - /** - * @var int - */ - private $numClasses = -1; - - /** - * @var int - */ - private $numTestedClasses = -1; - - /** - * @var int - */ - private $numTraits = -1; - - /** - * @var int - */ - private $numTestedTraits = -1; - - /** - * @var int - */ - private $numMethods = -1; - - /** - * @var int - */ - private $numTestedMethods = -1; - - /** - * @var int - */ - private $numFunctions = -1; - - /** - * @var int - */ - private $numTestedFunctions = -1; - - /** - * Returns the number of files in/under this node. - * - * @return int - */ - public function count() - { - if ($this->numFiles == -1) { - $this->numFiles = 0; - - foreach ($this->children as $child) { - $this->numFiles += count($child); - } - } - - return $this->numFiles; - } - - /** - * Returns an iterator for this node. - * - * @return \RecursiveIteratorIterator - */ - public function getIterator() - { - return new \RecursiveIteratorIterator( - new Iterator($this), - \RecursiveIteratorIterator::SELF_FIRST - ); - } - - /** - * Adds a new directory. - * - * @param string $name - * - * @return Directory - */ - public function addDirectory($name) - { - $directory = new self($name, $this); - - $this->children[] = $directory; - $this->directories[] = &$this->children[count($this->children) - 1]; - - return $directory; - } - - /** - * Adds a new file. - * - * @param string $name - * @param array $coverageData - * @param array $testData - * @param bool $cacheTokens - * - * @return File - * - * @throws InvalidArgumentException - */ - public function addFile($name, array $coverageData, array $testData, $cacheTokens) - { - $file = new File( - $name, - $this, - $coverageData, - $testData, - $cacheTokens - ); - - $this->children[] = $file; - $this->files[] = &$this->children[count($this->children) - 1]; - - $this->numExecutableLines = -1; - $this->numExecutedLines = -1; - - return $file; - } - - /** - * Returns the directories in this directory. - * - * @return array - */ - public function getDirectories() - { - return $this->directories; - } - - /** - * Returns the files in this directory. - * - * @return array - */ - public function getFiles() - { - return $this->files; - } - - /** - * Returns the child nodes of this node. - * - * @return array - */ - public function getChildNodes() - { - return $this->children; - } - - /** - * Returns the classes of this node. - * - * @return array - */ - public function getClasses() - { - if ($this->classes === null) { - $this->classes = []; - - foreach ($this->children as $child) { - $this->classes = array_merge( - $this->classes, - $child->getClasses() - ); - } - } - - return $this->classes; - } - - /** - * Returns the traits of this node. - * - * @return array - */ - public function getTraits() - { - if ($this->traits === null) { - $this->traits = []; - - foreach ($this->children as $child) { - $this->traits = array_merge( - $this->traits, - $child->getTraits() - ); - } - } - - return $this->traits; - } - - /** - * Returns the functions of this node. - * - * @return array - */ - public function getFunctions() - { - if ($this->functions === null) { - $this->functions = []; - - foreach ($this->children as $child) { - $this->functions = array_merge( - $this->functions, - $child->getFunctions() - ); - } - } - - return $this->functions; - } - - /** - * Returns the LOC/CLOC/NCLOC of this node. - * - * @return array - */ - public function getLinesOfCode() - { - if ($this->linesOfCode === null) { - $this->linesOfCode = ['loc' => 0, 'cloc' => 0, 'ncloc' => 0]; - - foreach ($this->children as $child) { - $linesOfCode = $child->getLinesOfCode(); - - $this->linesOfCode['loc'] += $linesOfCode['loc']; - $this->linesOfCode['cloc'] += $linesOfCode['cloc']; - $this->linesOfCode['ncloc'] += $linesOfCode['ncloc']; - } - } - - return $this->linesOfCode; - } - - /** - * Returns the number of executable lines. - * - * @return int - */ - public function getNumExecutableLines() - { - if ($this->numExecutableLines == -1) { - $this->numExecutableLines = 0; - - foreach ($this->children as $child) { - $this->numExecutableLines += $child->getNumExecutableLines(); - } - } - - return $this->numExecutableLines; - } - - /** - * Returns the number of executed lines. - * - * @return int - */ - public function getNumExecutedLines() - { - if ($this->numExecutedLines == -1) { - $this->numExecutedLines = 0; - - foreach ($this->children as $child) { - $this->numExecutedLines += $child->getNumExecutedLines(); - } - } - - return $this->numExecutedLines; - } - - /** - * Returns the number of classes. - * - * @return int - */ - public function getNumClasses() - { - if ($this->numClasses == -1) { - $this->numClasses = 0; - - foreach ($this->children as $child) { - $this->numClasses += $child->getNumClasses(); - } - } - - return $this->numClasses; - } - - /** - * Returns the number of tested classes. - * - * @return int - */ - public function getNumTestedClasses() - { - if ($this->numTestedClasses == -1) { - $this->numTestedClasses = 0; - - foreach ($this->children as $child) { - $this->numTestedClasses += $child->getNumTestedClasses(); - } - } - - return $this->numTestedClasses; - } - - /** - * Returns the number of traits. - * - * @return int - */ - public function getNumTraits() - { - if ($this->numTraits == -1) { - $this->numTraits = 0; - - foreach ($this->children as $child) { - $this->numTraits += $child->getNumTraits(); - } - } - - return $this->numTraits; - } - - /** - * Returns the number of tested traits. - * - * @return int - */ - public function getNumTestedTraits() - { - if ($this->numTestedTraits == -1) { - $this->numTestedTraits = 0; - - foreach ($this->children as $child) { - $this->numTestedTraits += $child->getNumTestedTraits(); - } - } - - return $this->numTestedTraits; - } - - /** - * Returns the number of methods. - * - * @return int - */ - public function getNumMethods() - { - if ($this->numMethods == -1) { - $this->numMethods = 0; - - foreach ($this->children as $child) { - $this->numMethods += $child->getNumMethods(); - } - } - - return $this->numMethods; - } - - /** - * Returns the number of tested methods. - * - * @return int - */ - public function getNumTestedMethods() - { - if ($this->numTestedMethods == -1) { - $this->numTestedMethods = 0; - - foreach ($this->children as $child) { - $this->numTestedMethods += $child->getNumTestedMethods(); - } - } - - return $this->numTestedMethods; - } - - /** - * Returns the number of functions. - * - * @return int - */ - public function getNumFunctions() - { - if ($this->numFunctions == -1) { - $this->numFunctions = 0; - - foreach ($this->children as $child) { - $this->numFunctions += $child->getNumFunctions(); - } - } - - return $this->numFunctions; - } - - /** - * Returns the number of tested functions. - * - * @return int - */ - public function getNumTestedFunctions() - { - if ($this->numTestedFunctions == -1) { - $this->numTestedFunctions = 0; - - foreach ($this->children as $child) { - $this->numTestedFunctions += $child->getNumTestedFunctions(); - } - } - - return $this->numTestedFunctions; - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Node; - -use SebastianBergmann\CodeCoverage\InvalidArgumentException; - -/** - * Represents a file in the code coverage information tree. - */ -class File extends AbstractNode -{ - /** - * @var array - */ - private $coverageData; - - /** - * @var array - */ - private $testData; - - /** - * @var int - */ - private $numExecutableLines = 0; - - /** - * @var int - */ - private $numExecutedLines = 0; - - /** - * @var array - */ - private $classes = []; - - /** - * @var array - */ - private $traits = []; - - /** - * @var array - */ - private $functions = []; - - /** - * @var array - */ - private $linesOfCode = []; - - /** - * @var int - */ - private $numClasses = null; - - /** - * @var int - */ - private $numTestedClasses = 0; - - /** - * @var int - */ - private $numTraits = null; - - /** - * @var int - */ - private $numTestedTraits = 0; - - /** - * @var int - */ - private $numMethods = null; - - /** - * @var int - */ - private $numTestedMethods = null; - - /** - * @var int - */ - private $numTestedFunctions = null; - - /** - * @var array - */ - private $startLines = []; - - /** - * @var array - */ - private $endLines = []; - - /** - * @var bool - */ - private $cacheTokens; - - /** - * Constructor. - * - * @param string $name - * @param AbstractNode $parent - * @param array $coverageData - * @param array $testData - * @param bool $cacheTokens - * - * @throws InvalidArgumentException - */ - public function __construct($name, AbstractNode $parent, array $coverageData, array $testData, $cacheTokens) - { - if (!is_bool($cacheTokens)) { - throw InvalidArgumentException::create( - 1, - 'boolean' - ); - } - - parent::__construct($name, $parent); - - $this->coverageData = $coverageData; - $this->testData = $testData; - $this->cacheTokens = $cacheTokens; - - $this->calculateStatistics(); - } - - /** - * Returns the number of files in/under this node. - * - * @return int - */ - public function count() - { - return 1; - } - - /** - * Returns the code coverage data of this node. - * - * @return array - */ - public function getCoverageData() - { - return $this->coverageData; - } - - /** - * Returns the test data of this node. - * - * @return array - */ - public function getTestData() - { - return $this->testData; - } - - /** - * Returns the classes of this node. - * - * @return array - */ - public function getClasses() - { - return $this->classes; - } - - /** - * Returns the traits of this node. - * - * @return array - */ - public function getTraits() - { - return $this->traits; - } - - /** - * Returns the functions of this node. - * - * @return array - */ - public function getFunctions() - { - return $this->functions; - } - - /** - * Returns the LOC/CLOC/NCLOC of this node. - * - * @return array - */ - public function getLinesOfCode() - { - return $this->linesOfCode; - } - - /** - * Returns the number of executable lines. - * - * @return int - */ - public function getNumExecutableLines() - { - return $this->numExecutableLines; - } - - /** - * Returns the number of executed lines. - * - * @return int - */ - public function getNumExecutedLines() - { - return $this->numExecutedLines; - } - - /** - * Returns the number of classes. - * - * @return int - */ - public function getNumClasses() - { - if ($this->numClasses === null) { - $this->numClasses = 0; - - foreach ($this->classes as $class) { - foreach ($class['methods'] as $method) { - if ($method['executableLines'] > 0) { - $this->numClasses++; - - continue 2; - } - } - } - } - - return $this->numClasses; - } - - /** - * Returns the number of tested classes. - * - * @return int - */ - public function getNumTestedClasses() - { - return $this->numTestedClasses; - } - - /** - * Returns the number of traits. - * - * @return int - */ - public function getNumTraits() - { - if ($this->numTraits === null) { - $this->numTraits = 0; - - foreach ($this->traits as $trait) { - foreach ($trait['methods'] as $method) { - if ($method['executableLines'] > 0) { - $this->numTraits++; - - continue 2; - } - } - } - } - - return $this->numTraits; - } - - /** - * Returns the number of tested traits. - * - * @return int - */ - public function getNumTestedTraits() - { - return $this->numTestedTraits; - } - - /** - * Returns the number of methods. - * - * @return int - */ - public function getNumMethods() - { - if ($this->numMethods === null) { - $this->numMethods = 0; - - foreach ($this->classes as $class) { - foreach ($class['methods'] as $method) { - if ($method['executableLines'] > 0) { - $this->numMethods++; - } - } - } - - foreach ($this->traits as $trait) { - foreach ($trait['methods'] as $method) { - if ($method['executableLines'] > 0) { - $this->numMethods++; - } - } - } - } - - return $this->numMethods; - } - - /** - * Returns the number of tested methods. - * - * @return int - */ - public function getNumTestedMethods() - { - if ($this->numTestedMethods === null) { - $this->numTestedMethods = 0; - - foreach ($this->classes as $class) { - foreach ($class['methods'] as $method) { - if ($method['executableLines'] > 0 && - $method['coverage'] == 100) { - $this->numTestedMethods++; - } - } - } - - foreach ($this->traits as $trait) { - foreach ($trait['methods'] as $method) { - if ($method['executableLines'] > 0 && - $method['coverage'] == 100) { - $this->numTestedMethods++; - } - } - } - } - - return $this->numTestedMethods; - } - - /** - * Returns the number of functions. - * - * @return int - */ - public function getNumFunctions() - { - return count($this->functions); - } - - /** - * Returns the number of tested functions. - * - * @return int - */ - public function getNumTestedFunctions() - { - if ($this->numTestedFunctions === null) { - $this->numTestedFunctions = 0; - - foreach ($this->functions as $function) { - if ($function['executableLines'] > 0 && - $function['coverage'] == 100) { - $this->numTestedFunctions++; - } - } - } - - return $this->numTestedFunctions; - } - - /** - * Calculates coverage statistics for the file. - */ - protected function calculateStatistics() - { - $classStack = $functionStack = []; - - if ($this->cacheTokens) { - $tokens = \PHP_Token_Stream_CachingFactory::get($this->getPath()); - } else { - $tokens = new \PHP_Token_Stream($this->getPath()); - } - - $this->processClasses($tokens); - $this->processTraits($tokens); - $this->processFunctions($tokens); - $this->linesOfCode = $tokens->getLinesOfCode(); - unset($tokens); - - for ($lineNumber = 1; $lineNumber <= $this->linesOfCode['loc']; $lineNumber++) { - if (isset($this->startLines[$lineNumber])) { - // Start line of a class. - if (isset($this->startLines[$lineNumber]['className'])) { - if (isset($currentClass)) { - $classStack[] = &$currentClass; - } - - $currentClass = &$this->startLines[$lineNumber]; - } // Start line of a trait. - elseif (isset($this->startLines[$lineNumber]['traitName'])) { - $currentTrait = &$this->startLines[$lineNumber]; - } // Start line of a method. - elseif (isset($this->startLines[$lineNumber]['methodName'])) { - $currentMethod = &$this->startLines[$lineNumber]; - } // Start line of a function. - elseif (isset($this->startLines[$lineNumber]['functionName'])) { - if (isset($currentFunction)) { - $functionStack[] = &$currentFunction; - } - - $currentFunction = &$this->startLines[$lineNumber]; - } - } - - if (isset($this->coverageData[$lineNumber])) { - if (isset($currentClass)) { - $currentClass['executableLines']++; - } - - if (isset($currentTrait)) { - $currentTrait['executableLines']++; - } - - if (isset($currentMethod)) { - $currentMethod['executableLines']++; - } - - if (isset($currentFunction)) { - $currentFunction['executableLines']++; - } - - $this->numExecutableLines++; - - if (count($this->coverageData[$lineNumber]) > 0) { - if (isset($currentClass)) { - $currentClass['executedLines']++; - } - - if (isset($currentTrait)) { - $currentTrait['executedLines']++; - } - - if (isset($currentMethod)) { - $currentMethod['executedLines']++; - } - - if (isset($currentFunction)) { - $currentFunction['executedLines']++; - } - - $this->numExecutedLines++; - } - } - - if (isset($this->endLines[$lineNumber])) { - // End line of a class. - if (isset($this->endLines[$lineNumber]['className'])) { - unset($currentClass); - - if ($classStack) { - end($classStack); - $key = key($classStack); - $currentClass = &$classStack[$key]; - unset($classStack[$key]); - } - } // End line of a trait. - elseif (isset($this->endLines[$lineNumber]['traitName'])) { - unset($currentTrait); - } // End line of a method. - elseif (isset($this->endLines[$lineNumber]['methodName'])) { - unset($currentMethod); - } // End line of a function. - elseif (isset($this->endLines[$lineNumber]['functionName'])) { - unset($currentFunction); - - if ($functionStack) { - end($functionStack); - $key = key($functionStack); - $currentFunction = &$functionStack[$key]; - unset($functionStack[$key]); - } - } - } - } - - foreach ($this->traits as &$trait) { - foreach ($trait['methods'] as &$method) { - if ($method['executableLines'] > 0) { - $method['coverage'] = ($method['executedLines'] / - $method['executableLines']) * 100; - } else { - $method['coverage'] = 100; - } - - $method['crap'] = $this->crap( - $method['ccn'], - $method['coverage'] - ); - - $trait['ccn'] += $method['ccn']; - } - - if ($trait['executableLines'] > 0) { - $trait['coverage'] = ($trait['executedLines'] / - $trait['executableLines']) * 100; - - if ($trait['coverage'] == 100) { - $this->numTestedClasses++; - } - } else { - $trait['coverage'] = 100; - } - - $trait['crap'] = $this->crap( - $trait['ccn'], - $trait['coverage'] - ); - } - - foreach ($this->classes as &$class) { - foreach ($class['methods'] as &$method) { - if ($method['executableLines'] > 0) { - $method['coverage'] = ($method['executedLines'] / - $method['executableLines']) * 100; - } else { - $method['coverage'] = 100; - } - - $method['crap'] = $this->crap( - $method['ccn'], - $method['coverage'] - ); - - $class['ccn'] += $method['ccn']; - } - - if ($class['executableLines'] > 0) { - $class['coverage'] = ($class['executedLines'] / - $class['executableLines']) * 100; - - if ($class['coverage'] == 100) { - $this->numTestedClasses++; - } - } else { - $class['coverage'] = 100; - } - - $class['crap'] = $this->crap( - $class['ccn'], - $class['coverage'] - ); - } - } - - /** - * @param \PHP_Token_Stream $tokens - */ - protected function processClasses(\PHP_Token_Stream $tokens) - { - $classes = $tokens->getClasses(); - unset($tokens); - - $link = $this->getId() . '.html#'; - - foreach ($classes as $className => $class) { - $this->classes[$className] = [ - 'className' => $className, - 'methods' => [], - 'startLine' => $class['startLine'], - 'executableLines' => 0, - 'executedLines' => 0, - 'ccn' => 0, - 'coverage' => 0, - 'crap' => 0, - 'package' => $class['package'], - 'link' => $link . $class['startLine'] - ]; - - $this->startLines[$class['startLine']] = &$this->classes[$className]; - $this->endLines[$class['endLine']] = &$this->classes[$className]; - - foreach ($class['methods'] as $methodName => $method) { - $this->classes[$className]['methods'][$methodName] = $this->newMethod($methodName, $method, $link); - - $this->startLines[$method['startLine']] = &$this->classes[$className]['methods'][$methodName]; - $this->endLines[$method['endLine']] = &$this->classes[$className]['methods'][$methodName]; - } - } - } - - /** - * @param \PHP_Token_Stream $tokens - */ - protected function processTraits(\PHP_Token_Stream $tokens) - { - $traits = $tokens->getTraits(); - unset($tokens); - - $link = $this->getId() . '.html#'; - - foreach ($traits as $traitName => $trait) { - $this->traits[$traitName] = [ - 'traitName' => $traitName, - 'methods' => [], - 'startLine' => $trait['startLine'], - 'executableLines' => 0, - 'executedLines' => 0, - 'ccn' => 0, - 'coverage' => 0, - 'crap' => 0, - 'package' => $trait['package'], - 'link' => $link . $trait['startLine'] - ]; - - $this->startLines[$trait['startLine']] = &$this->traits[$traitName]; - $this->endLines[$trait['endLine']] = &$this->traits[$traitName]; - - foreach ($trait['methods'] as $methodName => $method) { - $this->traits[$traitName]['methods'][$methodName] = $this->newMethod($methodName, $method, $link); - - $this->startLines[$method['startLine']] = &$this->traits[$traitName]['methods'][$methodName]; - $this->endLines[$method['endLine']] = &$this->traits[$traitName]['methods'][$methodName]; - } - } - } - - /** - * @param \PHP_Token_Stream $tokens - */ - protected function processFunctions(\PHP_Token_Stream $tokens) - { - $functions = $tokens->getFunctions(); - unset($tokens); - - $link = $this->getId() . '.html#'; - - foreach ($functions as $functionName => $function) { - $this->functions[$functionName] = [ - 'functionName' => $functionName, - 'signature' => $function['signature'], - 'startLine' => $function['startLine'], - 'executableLines' => 0, - 'executedLines' => 0, - 'ccn' => $function['ccn'], - 'coverage' => 0, - 'crap' => 0, - 'link' => $link . $function['startLine'] - ]; - - $this->startLines[$function['startLine']] = &$this->functions[$functionName]; - $this->endLines[$function['endLine']] = &$this->functions[$functionName]; - } - } - - /** - * Calculates the Change Risk Anti-Patterns (CRAP) index for a unit of code - * based on its cyclomatic complexity and percentage of code coverage. - * - * @param int $ccn - * @param float $coverage - * - * @return string - */ - protected function crap($ccn, $coverage) - { - if ($coverage == 0) { - return (string) (pow($ccn, 2) + $ccn); - } - - if ($coverage >= 95) { - return (string) $ccn; - } - - return sprintf( - '%01.2F', - pow($ccn, 2) * pow(1 - $coverage/100, 3) + $ccn - ); - } - - /** - * @param string $methodName - * @param array $method - * @param string $link - * - * @return array - */ - private function newMethod($methodName, array $method, $link) - { - return [ - 'methodName' => $methodName, - 'visibility' => $method['visibility'], - 'signature' => $method['signature'], - 'startLine' => $method['startLine'], - 'endLine' => $method['endLine'], - 'executableLines' => 0, - 'executedLines' => 0, - 'ccn' => $method['ccn'], - 'coverage' => 0, - 'crap' => 0, - 'link' => $link . $method['startLine'], - ]; - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Node; - -/** - * Recursive iterator for node object graphs. - */ -class Iterator implements \RecursiveIterator -{ - /** - * @var int - */ - private $position; - - /** - * @var AbstractNode[] - */ - private $nodes; - - /** - * @param Directory $node - */ - public function __construct(Directory $node) - { - $this->nodes = $node->getChildNodes(); - } - - /** - * Rewinds the Iterator to the first element. - */ - public function rewind() - { - $this->position = 0; - } - - /** - * Checks if there is a current element after calls to rewind() or next(). - * - * @return bool - */ - public function valid() - { - return $this->position < count($this->nodes); - } - - /** - * Returns the key of the current element. - * - * @return int - */ - public function key() - { - return $this->position; - } - - /** - * Returns the current element. - * - * @return \PHPUnit_Framework_Test - */ - public function current() - { - return $this->valid() ? $this->nodes[$this->position] : null; - } - - /** - * Moves forward to next element. - */ - public function next() - { - $this->position++; - } - - /** - * Returns the sub iterator for the current element. - * - * @return Iterator - */ - public function getChildren() - { - return new self( - $this->nodes[$this->position] - ); - } - - /** - * Checks whether the current element has children. - * - * @return bool - */ - public function hasChildren() - { - return $this->nodes[$this->position] instanceof Directory; - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Report; - -use SebastianBergmann\CodeCoverage\CodeCoverage; -use SebastianBergmann\CodeCoverage\Node\File; - -/** - * Generates a Clover XML logfile from a code coverage object. - */ -class Clover -{ - /** - * @param CodeCoverage $coverage - * @param string $target - * @param string $name - * - * @return string - */ - public function process(CodeCoverage $coverage, $target = null, $name = null) - { - $xmlDocument = new \DOMDocument('1.0', 'UTF-8'); - $xmlDocument->formatOutput = true; - - $xmlCoverage = $xmlDocument->createElement('coverage'); - $xmlCoverage->setAttribute('generated', (int) $_SERVER['REQUEST_TIME']); - $xmlDocument->appendChild($xmlCoverage); - - $xmlProject = $xmlDocument->createElement('project'); - $xmlProject->setAttribute('timestamp', (int) $_SERVER['REQUEST_TIME']); - - if (is_string($name)) { - $xmlProject->setAttribute('name', $name); - } - - $xmlCoverage->appendChild($xmlProject); - - $packages = []; - $report = $coverage->getReport(); - unset($coverage); - - foreach ($report as $item) { - if (!$item instanceof File) { - continue; - } - - /* @var File $item */ - - $xmlFile = $xmlDocument->createElement('file'); - $xmlFile->setAttribute('name', $item->getPath()); - - $classes = $item->getClassesAndTraits(); - $coverage = $item->getCoverageData(); - $lines = []; - $namespace = 'global'; - - foreach ($classes as $className => $class) { - $classStatements = 0; - $coveredClassStatements = 0; - $coveredMethods = 0; - $classMethods = 0; - - foreach ($class['methods'] as $methodName => $method) { - if ($method['executableLines'] == 0) { - continue; - } - - $classMethods++; - $classStatements += $method['executableLines']; - $coveredClassStatements += $method['executedLines']; - - if ($method['coverage'] == 100) { - $coveredMethods++; - } - - $methodCount = 0; - - foreach (range($method['startLine'], $method['endLine']) as $line) { - if (isset($coverage[$line]) && ($coverage[$line] !== null)) { - $methodCount = max($methodCount, count($coverage[$line])); - } - } - - $lines[$method['startLine']] = [ - 'ccn' => $method['ccn'], - 'count' => $methodCount, - 'crap' => $method['crap'], - 'type' => 'method', - 'visibility' => $method['visibility'], - 'name' => $methodName - ]; - } - - if (!empty($class['package']['namespace'])) { - $namespace = $class['package']['namespace']; - } - - $xmlClass = $xmlDocument->createElement('class'); - $xmlClass->setAttribute('name', $className); - $xmlClass->setAttribute('namespace', $namespace); - - if (!empty($class['package']['fullPackage'])) { - $xmlClass->setAttribute( - 'fullPackage', - $class['package']['fullPackage'] - ); - } - - if (!empty($class['package']['category'])) { - $xmlClass->setAttribute( - 'category', - $class['package']['category'] - ); - } - - if (!empty($class['package']['package'])) { - $xmlClass->setAttribute( - 'package', - $class['package']['package'] - ); - } - - if (!empty($class['package']['subpackage'])) { - $xmlClass->setAttribute( - 'subpackage', - $class['package']['subpackage'] - ); - } - - $xmlFile->appendChild($xmlClass); - - $xmlMetrics = $xmlDocument->createElement('metrics'); - $xmlMetrics->setAttribute('complexity', $class['ccn']); - $xmlMetrics->setAttribute('methods', $classMethods); - $xmlMetrics->setAttribute('coveredmethods', $coveredMethods); - $xmlMetrics->setAttribute('conditionals', 0); - $xmlMetrics->setAttribute('coveredconditionals', 0); - $xmlMetrics->setAttribute('statements', $classStatements); - $xmlMetrics->setAttribute('coveredstatements', $coveredClassStatements); - $xmlMetrics->setAttribute('elements', $classMethods + $classStatements /* + conditionals */); - $xmlMetrics->setAttribute('coveredelements', $coveredMethods + $coveredClassStatements /* + coveredconditionals */); - $xmlClass->appendChild($xmlMetrics); - } - - foreach ($coverage as $line => $data) { - if ($data === null || isset($lines[$line])) { - continue; - } - - $lines[$line] = [ - 'count' => count($data), 'type' => 'stmt' - ]; - } - - ksort($lines); - - foreach ($lines as $line => $data) { - $xmlLine = $xmlDocument->createElement('line'); - $xmlLine->setAttribute('num', $line); - $xmlLine->setAttribute('type', $data['type']); - - if (isset($data['name'])) { - $xmlLine->setAttribute('name', $data['name']); - } - - if (isset($data['visibility'])) { - $xmlLine->setAttribute('visibility', $data['visibility']); - } - - if (isset($data['ccn'])) { - $xmlLine->setAttribute('complexity', $data['ccn']); - } - - if (isset($data['crap'])) { - $xmlLine->setAttribute('crap', $data['crap']); - } - - $xmlLine->setAttribute('count', $data['count']); - $xmlFile->appendChild($xmlLine); - } - - $linesOfCode = $item->getLinesOfCode(); - - $xmlMetrics = $xmlDocument->createElement('metrics'); - $xmlMetrics->setAttribute('loc', $linesOfCode['loc']); - $xmlMetrics->setAttribute('ncloc', $linesOfCode['ncloc']); - $xmlMetrics->setAttribute('classes', $item->getNumClassesAndTraits()); - $xmlMetrics->setAttribute('methods', $item->getNumMethods()); - $xmlMetrics->setAttribute('coveredmethods', $item->getNumTestedMethods()); - $xmlMetrics->setAttribute('conditionals', 0); - $xmlMetrics->setAttribute('coveredconditionals', 0); - $xmlMetrics->setAttribute('statements', $item->getNumExecutableLines()); - $xmlMetrics->setAttribute('coveredstatements', $item->getNumExecutedLines()); - $xmlMetrics->setAttribute('elements', $item->getNumMethods() + $item->getNumExecutableLines() /* + conditionals */); - $xmlMetrics->setAttribute('coveredelements', $item->getNumTestedMethods() + $item->getNumExecutedLines() /* + coveredconditionals */); - $xmlFile->appendChild($xmlMetrics); - - if ($namespace == 'global') { - $xmlProject->appendChild($xmlFile); - } else { - if (!isset($packages[$namespace])) { - $packages[$namespace] = $xmlDocument->createElement( - 'package' - ); - - $packages[$namespace]->setAttribute('name', $namespace); - $xmlProject->appendChild($packages[$namespace]); - } - - $packages[$namespace]->appendChild($xmlFile); - } - } - - $linesOfCode = $report->getLinesOfCode(); - - $xmlMetrics = $xmlDocument->createElement('metrics'); - $xmlMetrics->setAttribute('files', count($report)); - $xmlMetrics->setAttribute('loc', $linesOfCode['loc']); - $xmlMetrics->setAttribute('ncloc', $linesOfCode['ncloc']); - $xmlMetrics->setAttribute('classes', $report->getNumClassesAndTraits()); - $xmlMetrics->setAttribute('methods', $report->getNumMethods()); - $xmlMetrics->setAttribute('coveredmethods', $report->getNumTestedMethods()); - $xmlMetrics->setAttribute('conditionals', 0); - $xmlMetrics->setAttribute('coveredconditionals', 0); - $xmlMetrics->setAttribute('statements', $report->getNumExecutableLines()); - $xmlMetrics->setAttribute('coveredstatements', $report->getNumExecutedLines()); - $xmlMetrics->setAttribute('elements', $report->getNumMethods() + $report->getNumExecutableLines() /* + conditionals */); - $xmlMetrics->setAttribute('coveredelements', $report->getNumTestedMethods() + $report->getNumExecutedLines() /* + coveredconditionals */); - $xmlProject->appendChild($xmlMetrics); - - $buffer = $xmlDocument->saveXML(); - - if ($target !== null) { - if (!is_dir(dirname($target))) { - mkdir(dirname($target), 0777, true); - } - - file_put_contents($target, $buffer); - } - - return $buffer; - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Report; - -use SebastianBergmann\CodeCoverage\CodeCoverage; -use SebastianBergmann\CodeCoverage\Node\File; -use SebastianBergmann\CodeCoverage\InvalidArgumentException; - -class Crap4j -{ - /** - * @var int - */ - private $threshold; - - /** - * @param int $threshold - */ - public function __construct($threshold = 30) - { - if (!is_int($threshold)) { - throw InvalidArgumentException::create( - 1, - 'integer' - ); - } - - $this->threshold = $threshold; - } - - /** - * @param CodeCoverage $coverage - * @param string $target - * @param string $name - * - * @return string - */ - public function process(CodeCoverage $coverage, $target = null, $name = null) - { - $document = new \DOMDocument('1.0', 'UTF-8'); - $document->formatOutput = true; - - $root = $document->createElement('crap_result'); - $document->appendChild($root); - - $project = $document->createElement('project', is_string($name) ? $name : ''); - $root->appendChild($project); - $root->appendChild($document->createElement('timestamp', date('Y-m-d H:i:s', (int) $_SERVER['REQUEST_TIME']))); - - $stats = $document->createElement('stats'); - $methodsNode = $document->createElement('methods'); - - $report = $coverage->getReport(); - unset($coverage); - - $fullMethodCount = 0; - $fullCrapMethodCount = 0; - $fullCrapLoad = 0; - $fullCrap = 0; - - foreach ($report as $item) { - $namespace = 'global'; - - if (!$item instanceof File) { - continue; - } - - $file = $document->createElement('file'); - $file->setAttribute('name', $item->getPath()); - - $classes = $item->getClassesAndTraits(); - - foreach ($classes as $className => $class) { - foreach ($class['methods'] as $methodName => $method) { - $crapLoad = $this->getCrapLoad($method['crap'], $method['ccn'], $method['coverage']); - - $fullCrap += $method['crap']; - $fullCrapLoad += $crapLoad; - $fullMethodCount++; - - if ($method['crap'] >= $this->threshold) { - $fullCrapMethodCount++; - } - - $methodNode = $document->createElement('method'); - - if (!empty($class['package']['namespace'])) { - $namespace = $class['package']['namespace']; - } - - $methodNode->appendChild($document->createElement('package', $namespace)); - $methodNode->appendChild($document->createElement('className', $className)); - $methodNode->appendChild($document->createElement('methodName', $methodName)); - $methodNode->appendChild($document->createElement('methodSignature', htmlspecialchars($method['signature']))); - $methodNode->appendChild($document->createElement('fullMethod', htmlspecialchars($method['signature']))); - $methodNode->appendChild($document->createElement('crap', $this->roundValue($method['crap']))); - $methodNode->appendChild($document->createElement('complexity', $method['ccn'])); - $methodNode->appendChild($document->createElement('coverage', $this->roundValue($method['coverage']))); - $methodNode->appendChild($document->createElement('crapLoad', round($crapLoad))); - - $methodsNode->appendChild($methodNode); - } - } - } - - $stats->appendChild($document->createElement('name', 'Method Crap Stats')); - $stats->appendChild($document->createElement('methodCount', $fullMethodCount)); - $stats->appendChild($document->createElement('crapMethodCount', $fullCrapMethodCount)); - $stats->appendChild($document->createElement('crapLoad', round($fullCrapLoad))); - $stats->appendChild($document->createElement('totalCrap', $fullCrap)); - - if ($fullMethodCount > 0) { - $crapMethodPercent = $this->roundValue((100 * $fullCrapMethodCount) / $fullMethodCount); - } else { - $crapMethodPercent = 0; - } - - $stats->appendChild($document->createElement('crapMethodPercent', $crapMethodPercent)); - - $root->appendChild($stats); - $root->appendChild($methodsNode); - - $buffer = $document->saveXML(); - - if ($target !== null) { - if (!is_dir(dirname($target))) { - mkdir(dirname($target), 0777, true); - } - - file_put_contents($target, $buffer); - } - - return $buffer; - } - - /** - * @param float $crapValue - * @param int $cyclomaticComplexity - * @param float $coveragePercent - * - * @return float - */ - private function getCrapLoad($crapValue, $cyclomaticComplexity, $coveragePercent) - { - $crapLoad = 0; - - if ($crapValue >= $this->threshold) { - $crapLoad += $cyclomaticComplexity * (1.0 - $coveragePercent / 100); - $crapLoad += $cyclomaticComplexity / $this->threshold; - } - - return $crapLoad; - } - - /** - * @param float $value - * - * @return float - */ - private function roundValue($value) - { - return round($value, 2); - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Report\Html; - -use SebastianBergmann\CodeCoverage\CodeCoverage; -use SebastianBergmann\CodeCoverage\Node\Directory as DirectoryNode; -use SebastianBergmann\CodeCoverage\RuntimeException; - -/** - * Generates an HTML report from a code coverage object. - */ -class Facade -{ - /** - * @var string - */ - private $templatePath; - - /** - * @var string - */ - private $generator; - - /** - * @var int - */ - private $lowUpperBound; - - /** - * @var int - */ - private $highLowerBound; - - /** - * Constructor. - * - * @param int $lowUpperBound - * @param int $highLowerBound - * @param string $generator - */ - public function __construct($lowUpperBound = 50, $highLowerBound = 90, $generator = '') - { - $this->generator = $generator; - $this->highLowerBound = $highLowerBound; - $this->lowUpperBound = $lowUpperBound; - $this->templatePath = __DIR__ . '/Renderer/Template/'; - } - - /** - * @param CodeCoverage $coverage - * @param string $target - */ - public function process(CodeCoverage $coverage, $target) - { - $target = $this->getDirectory($target); - $report = $coverage->getReport(); - unset($coverage); - - if (!isset($_SERVER['REQUEST_TIME'])) { - $_SERVER['REQUEST_TIME'] = time(); - } - - $date = date('D M j G:i:s T Y', $_SERVER['REQUEST_TIME']); - - $dashboard = new Dashboard( - $this->templatePath, - $this->generator, - $date, - $this->lowUpperBound, - $this->highLowerBound - ); - - $directory = new Directory( - $this->templatePath, - $this->generator, - $date, - $this->lowUpperBound, - $this->highLowerBound - ); - - $file = new File( - $this->templatePath, - $this->generator, - $date, - $this->lowUpperBound, - $this->highLowerBound - ); - - $directory->render($report, $target . 'index.html'); - $dashboard->render($report, $target . 'dashboard.html'); - - foreach ($report as $node) { - $id = $node->getId(); - - if ($node instanceof DirectoryNode) { - if (!file_exists($target . $id)) { - mkdir($target . $id, 0777, true); - } - - $directory->render($node, $target . $id . '/index.html'); - $dashboard->render($node, $target . $id . '/dashboard.html'); - } else { - $dir = dirname($target . $id); - - if (!file_exists($dir)) { - mkdir($dir, 0777, true); - } - - $file->render($node, $target . $id . '.html'); - } - } - - $this->copyFiles($target); - } - - /** - * @param string $target - */ - private function copyFiles($target) - { - $dir = $this->getDirectory($target . 'css'); - copy($this->templatePath . 'css/bootstrap.min.css', $dir . 'bootstrap.min.css'); - copy($this->templatePath . 'css/nv.d3.min.css', $dir . 'nv.d3.min.css'); - copy($this->templatePath . 'css/style.css', $dir . 'style.css'); - - $dir = $this->getDirectory($target . 'fonts'); - copy($this->templatePath . 'fonts/glyphicons-halflings-regular.eot', $dir . 'glyphicons-halflings-regular.eot'); - copy($this->templatePath . 'fonts/glyphicons-halflings-regular.svg', $dir . 'glyphicons-halflings-regular.svg'); - copy($this->templatePath . 'fonts/glyphicons-halflings-regular.ttf', $dir . 'glyphicons-halflings-regular.ttf'); - copy($this->templatePath . 'fonts/glyphicons-halflings-regular.woff', $dir . 'glyphicons-halflings-regular.woff'); - copy($this->templatePath . 'fonts/glyphicons-halflings-regular.woff2', $dir . 'glyphicons-halflings-regular.woff2'); - - $dir = $this->getDirectory($target . 'js'); - copy($this->templatePath . 'js/bootstrap.min.js', $dir . 'bootstrap.min.js'); - copy($this->templatePath . 'js/d3.min.js', $dir . 'd3.min.js'); - copy($this->templatePath . 'js/holder.min.js', $dir . 'holder.min.js'); - copy($this->templatePath . 'js/html5shiv.min.js', $dir . 'html5shiv.min.js'); - copy($this->templatePath . 'js/jquery.min.js', $dir . 'jquery.min.js'); - copy($this->templatePath . 'js/nv.d3.min.js', $dir . 'nv.d3.min.js'); - copy($this->templatePath . 'js/respond.min.js', $dir . 'respond.min.js'); - } - - /** - * @param string $directory - * - * @return string - * - * @throws RuntimeException - */ - private function getDirectory($directory) - { - if (substr($directory, -1, 1) != DIRECTORY_SEPARATOR) { - $directory .= DIRECTORY_SEPARATOR; - } - - if (is_dir($directory)) { - return $directory; - } - - if (@mkdir($directory, 0777, true)) { - return $directory; - } - - throw new RuntimeException( - sprintf( - 'Directory "%s" does not exist.', - $directory - ) - ); - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Report\Html; - -use SebastianBergmann\CodeCoverage\Node\AbstractNode; -use SebastianBergmann\CodeCoverage\Node\File as FileNode; -use SebastianBergmann\CodeCoverage\Node\Directory as DirectoryNode; -use SebastianBergmann\Environment\Runtime; -use SebastianBergmann\Version; - -/** - * Base class for node renderers. - */ -abstract class Renderer -{ - /** - * @var string - */ - protected $templatePath; - - /** - * @var string - */ - protected $generator; - - /** - * @var string - */ - protected $date; - - /** - * @var int - */ - protected $lowUpperBound; - - /** - * @var int - */ - protected $highLowerBound; - - /** - * @var string - */ - protected $version; - - /** - * Constructor. - * - * @param string $templatePath - * @param string $generator - * @param string $date - * @param int $lowUpperBound - * @param int $highLowerBound - */ - public function __construct($templatePath, $generator, $date, $lowUpperBound, $highLowerBound) - { - $version = new Version('4.0.8', dirname(dirname(dirname(dirname(__DIR__))))); - - $this->templatePath = $templatePath; - $this->generator = $generator; - $this->date = $date; - $this->lowUpperBound = $lowUpperBound; - $this->highLowerBound = $highLowerBound; - $this->version = $version->getVersion(); - } - - /** - * @param \Text_Template $template - * @param array $data - * - * @return string - */ - protected function renderItemTemplate(\Text_Template $template, array $data) - { - $numSeparator = ' / '; - - if (isset($data['numClasses']) && $data['numClasses'] > 0) { - $classesLevel = $this->getColorLevel($data['testedClassesPercent']); - - $classesNumber = $data['numTestedClasses'] . $numSeparator . - $data['numClasses']; - - $classesBar = $this->getCoverageBar( - $data['testedClassesPercent'] - ); - } else { - $classesLevel = ''; - $classesNumber = '0' . $numSeparator . '0'; - $classesBar = ''; - $data['testedClassesPercentAsString'] = 'n/a'; - } - - if ($data['numMethods'] > 0) { - $methodsLevel = $this->getColorLevel($data['testedMethodsPercent']); - - $methodsNumber = $data['numTestedMethods'] . $numSeparator . - $data['numMethods']; - - $methodsBar = $this->getCoverageBar( - $data['testedMethodsPercent'] - ); - } else { - $methodsLevel = ''; - $methodsNumber = '0' . $numSeparator . '0'; - $methodsBar = ''; - $data['testedMethodsPercentAsString'] = 'n/a'; - } - - if ($data['numExecutableLines'] > 0) { - $linesLevel = $this->getColorLevel($data['linesExecutedPercent']); - - $linesNumber = $data['numExecutedLines'] . $numSeparator . - $data['numExecutableLines']; - - $linesBar = $this->getCoverageBar( - $data['linesExecutedPercent'] - ); - } else { - $linesLevel = ''; - $linesNumber = '0' . $numSeparator . '0'; - $linesBar = ''; - $data['linesExecutedPercentAsString'] = 'n/a'; - } - - $template->setVar( - [ - 'icon' => isset($data['icon']) ? $data['icon'] : '', - 'crap' => isset($data['crap']) ? $data['crap'] : '', - 'name' => $data['name'], - 'lines_bar' => $linesBar, - 'lines_executed_percent' => $data['linesExecutedPercentAsString'], - 'lines_level' => $linesLevel, - 'lines_number' => $linesNumber, - 'methods_bar' => $methodsBar, - 'methods_tested_percent' => $data['testedMethodsPercentAsString'], - 'methods_level' => $methodsLevel, - 'methods_number' => $methodsNumber, - 'classes_bar' => $classesBar, - 'classes_tested_percent' => isset($data['testedClassesPercentAsString']) ? $data['testedClassesPercentAsString'] : '', - 'classes_level' => $classesLevel, - 'classes_number' => $classesNumber - ] - ); - - return $template->render(); - } - - /** - * @param \Text_Template $template - * @param AbstractNode $node - */ - protected function setCommonTemplateVariables(\Text_Template $template, AbstractNode $node) - { - $template->setVar( - [ - 'id' => $node->getId(), - 'full_path' => $node->getPath(), - 'path_to_root' => $this->getPathToRoot($node), - 'breadcrumbs' => $this->getBreadcrumbs($node), - 'date' => $this->date, - 'version' => $this->version, - 'runtime' => $this->getRuntimeString(), - 'generator' => $this->generator, - 'low_upper_bound' => $this->lowUpperBound, - 'high_lower_bound' => $this->highLowerBound - ] - ); - } - - protected function getBreadcrumbs(AbstractNode $node) - { - $breadcrumbs = ''; - $path = $node->getPathAsArray(); - $pathToRoot = []; - $max = count($path); - - if ($node instanceof FileNode) { - $max--; - } - - for ($i = 0; $i < $max; $i++) { - $pathToRoot[] = str_repeat('../', $i); - } - - foreach ($path as $step) { - if ($step !== $node) { - $breadcrumbs .= $this->getInactiveBreadcrumb( - $step, - array_pop($pathToRoot) - ); - } else { - $breadcrumbs .= $this->getActiveBreadcrumb($step); - } - } - - return $breadcrumbs; - } - - protected function getActiveBreadcrumb(AbstractNode $node) - { - $buffer = sprintf( - '
  • %s
  • ' . "\n", - $node->getName() - ); - - if ($node instanceof DirectoryNode) { - $buffer .= '
  • (Dashboard)
  • ' . "\n"; - } - - return $buffer; - } - - protected function getInactiveBreadcrumb(AbstractNode $node, $pathToRoot) - { - return sprintf( - '
  • %s
  • ' . "\n", - $pathToRoot, - $node->getName() - ); - } - - protected function getPathToRoot(AbstractNode $node) - { - $id = $node->getId(); - $depth = substr_count($id, '/'); - - if ($id != 'index' && - $node instanceof DirectoryNode) { - $depth++; - } - - return str_repeat('../', $depth); - } - - protected function getCoverageBar($percent) - { - $level = $this->getColorLevel($percent); - - $template = new \Text_Template( - $this->templatePath . 'coverage_bar.html', - '{{', - '}}' - ); - - $template->setVar(['level' => $level, 'percent' => sprintf('%.2F', $percent)]); - - return $template->render(); - } - - /** - * @param int $percent - * - * @return string - */ - protected function getColorLevel($percent) - { - if ($percent <= $this->lowUpperBound) { - return 'danger'; - } elseif ($percent > $this->lowUpperBound && - $percent < $this->highLowerBound) { - return 'warning'; - } else { - return 'success'; - } - } - - /** - * @return string - */ - private function getRuntimeString() - { - $runtime = new Runtime; - - $buffer = sprintf( - '%s %s', - $runtime->getVendorUrl(), - $runtime->getName(), - $runtime->getVersion() - ); - - if ($runtime->hasXdebug() && !$runtime->hasPHPDBGCodeCoverage()) { - $buffer .= sprintf( - ' with Xdebug %s', - phpversion('xdebug') - ); - } - - return $buffer; - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Report\Html; - -use SebastianBergmann\CodeCoverage\Node\AbstractNode; -use SebastianBergmann\CodeCoverage\Node\Directory as DirectoryNode; - -/** - * Renders the dashboard for a directory node. - */ -class Dashboard extends Renderer -{ - /** - * @param DirectoryNode $node - * @param string $file - */ - public function render(DirectoryNode $node, $file) - { - $classes = $node->getClassesAndTraits(); - $template = new \Text_Template( - $this->templatePath . 'dashboard.html', - '{{', - '}}' - ); - - $this->setCommonTemplateVariables($template, $node); - - $baseLink = $node->getId() . '/'; - $complexity = $this->complexity($classes, $baseLink); - $coverageDistribution = $this->coverageDistribution($classes); - $insufficientCoverage = $this->insufficientCoverage($classes, $baseLink); - $projectRisks = $this->projectRisks($classes, $baseLink); - - $template->setVar( - [ - 'insufficient_coverage_classes' => $insufficientCoverage['class'], - 'insufficient_coverage_methods' => $insufficientCoverage['method'], - 'project_risks_classes' => $projectRisks['class'], - 'project_risks_methods' => $projectRisks['method'], - 'complexity_class' => $complexity['class'], - 'complexity_method' => $complexity['method'], - 'class_coverage_distribution' => $coverageDistribution['class'], - 'method_coverage_distribution' => $coverageDistribution['method'] - ] - ); - - $template->renderTo($file); - } - - /** - * Returns the data for the Class/Method Complexity charts. - * - * @param array $classes - * @param string $baseLink - * - * @return array - */ - protected function complexity(array $classes, $baseLink) - { - $result = ['class' => [], 'method' => []]; - - foreach ($classes as $className => $class) { - foreach ($class['methods'] as $methodName => $method) { - if ($className != '*') { - $methodName = $className . '::' . $methodName; - } - - $result['method'][] = [ - $method['coverage'], - $method['ccn'], - sprintf( - '%s', - str_replace($baseLink, '', $method['link']), - $methodName - ) - ]; - } - - $result['class'][] = [ - $class['coverage'], - $class['ccn'], - sprintf( - '%s', - str_replace($baseLink, '', $class['link']), - $className - ) - ]; - } - - return [ - 'class' => json_encode($result['class']), - 'method' => json_encode($result['method']) - ]; - } - - /** - * Returns the data for the Class / Method Coverage Distribution chart. - * - * @param array $classes - * - * @return array - */ - protected function coverageDistribution(array $classes) - { - $result = [ - 'class' => [ - '0%' => 0, - '0-10%' => 0, - '10-20%' => 0, - '20-30%' => 0, - '30-40%' => 0, - '40-50%' => 0, - '50-60%' => 0, - '60-70%' => 0, - '70-80%' => 0, - '80-90%' => 0, - '90-100%' => 0, - '100%' => 0 - ], - 'method' => [ - '0%' => 0, - '0-10%' => 0, - '10-20%' => 0, - '20-30%' => 0, - '30-40%' => 0, - '40-50%' => 0, - '50-60%' => 0, - '60-70%' => 0, - '70-80%' => 0, - '80-90%' => 0, - '90-100%' => 0, - '100%' => 0 - ] - ]; - - foreach ($classes as $class) { - foreach ($class['methods'] as $methodName => $method) { - if ($method['coverage'] == 0) { - $result['method']['0%']++; - } elseif ($method['coverage'] == 100) { - $result['method']['100%']++; - } else { - $key = floor($method['coverage'] / 10) * 10; - $key = $key . '-' . ($key + 10) . '%'; - $result['method'][$key]++; - } - } - - if ($class['coverage'] == 0) { - $result['class']['0%']++; - } elseif ($class['coverage'] == 100) { - $result['class']['100%']++; - } else { - $key = floor($class['coverage'] / 10) * 10; - $key = $key . '-' . ($key + 10) . '%'; - $result['class'][$key]++; - } - } - - return [ - 'class' => json_encode(array_values($result['class'])), - 'method' => json_encode(array_values($result['method'])) - ]; - } - - /** - * Returns the classes / methods with insufficient coverage. - * - * @param array $classes - * @param string $baseLink - * - * @return array - */ - protected function insufficientCoverage(array $classes, $baseLink) - { - $leastTestedClasses = []; - $leastTestedMethods = []; - $result = ['class' => '', 'method' => '']; - - foreach ($classes as $className => $class) { - foreach ($class['methods'] as $methodName => $method) { - if ($method['coverage'] < $this->highLowerBound) { - if ($className != '*') { - $key = $className . '::' . $methodName; - } else { - $key = $methodName; - } - - $leastTestedMethods[$key] = $method['coverage']; - } - } - - if ($class['coverage'] < $this->highLowerBound) { - $leastTestedClasses[$className] = $class['coverage']; - } - } - - asort($leastTestedClasses); - asort($leastTestedMethods); - - foreach ($leastTestedClasses as $className => $coverage) { - $result['class'] .= sprintf( - ' %s%d%%' . "\n", - str_replace($baseLink, '', $classes[$className]['link']), - $className, - $coverage - ); - } - - foreach ($leastTestedMethods as $methodName => $coverage) { - list($class, $method) = explode('::', $methodName); - - $result['method'] .= sprintf( - ' %s%d%%' . "\n", - str_replace($baseLink, '', $classes[$class]['methods'][$method]['link']), - $methodName, - $method, - $coverage - ); - } - - return $result; - } - - /** - * Returns the project risks according to the CRAP index. - * - * @param array $classes - * @param string $baseLink - * - * @return array - */ - protected function projectRisks(array $classes, $baseLink) - { - $classRisks = []; - $methodRisks = []; - $result = ['class' => '', 'method' => '']; - - foreach ($classes as $className => $class) { - foreach ($class['methods'] as $methodName => $method) { - if ($method['coverage'] < $this->highLowerBound && - $method['ccn'] > 1) { - if ($className != '*') { - $key = $className . '::' . $methodName; - } else { - $key = $methodName; - } - - $methodRisks[$key] = $method['crap']; - } - } - - if ($class['coverage'] < $this->highLowerBound && - $class['ccn'] > count($class['methods'])) { - $classRisks[$className] = $class['crap']; - } - } - - arsort($classRisks); - arsort($methodRisks); - - foreach ($classRisks as $className => $crap) { - $result['class'] .= sprintf( - ' %s%d' . "\n", - str_replace($baseLink, '', $classes[$className]['link']), - $className, - $crap - ); - } - - foreach ($methodRisks as $methodName => $crap) { - list($class, $method) = explode('::', $methodName); - - $result['method'] .= sprintf( - ' %s%d' . "\n", - str_replace($baseLink, '', $classes[$class]['methods'][$method]['link']), - $methodName, - $method, - $crap - ); - } - - return $result; - } - - protected function getActiveBreadcrumb(AbstractNode $node) - { - return sprintf( - '
  • %s
  • ' . "\n" . - '
  • (Dashboard)
  • ' . "\n", - $node->getName() - ); - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Report\Html; - -use SebastianBergmann\CodeCoverage\Node\AbstractNode as Node; -use SebastianBergmann\CodeCoverage\Node\Directory as DirectoryNode; - -/** - * Renders a directory node. - */ -class Directory extends Renderer -{ - /** - * @param DirectoryNode $node - * @param string $file - */ - public function render(DirectoryNode $node, $file) - { - $template = new \Text_Template($this->templatePath . 'directory.html', '{{', '}}'); - - $this->setCommonTemplateVariables($template, $node); - - $items = $this->renderItem($node, true); - - foreach ($node->getDirectories() as $item) { - $items .= $this->renderItem($item); - } - - foreach ($node->getFiles() as $item) { - $items .= $this->renderItem($item); - } - - $template->setVar( - [ - 'id' => $node->getId(), - 'items' => $items - ] - ); - - $template->renderTo($file); - } - - /** - * @param Node $node - * @param bool $total - * - * @return string - */ - protected function renderItem(Node $node, $total = false) - { - $data = [ - 'numClasses' => $node->getNumClassesAndTraits(), - 'numTestedClasses' => $node->getNumTestedClassesAndTraits(), - 'numMethods' => $node->getNumMethods(), - 'numTestedMethods' => $node->getNumTestedMethods(), - 'linesExecutedPercent' => $node->getLineExecutedPercent(false), - 'linesExecutedPercentAsString' => $node->getLineExecutedPercent(), - 'numExecutedLines' => $node->getNumExecutedLines(), - 'numExecutableLines' => $node->getNumExecutableLines(), - 'testedMethodsPercent' => $node->getTestedMethodsPercent(false), - 'testedMethodsPercentAsString' => $node->getTestedMethodsPercent(), - 'testedClassesPercent' => $node->getTestedClassesAndTraitsPercent(false), - 'testedClassesPercentAsString' => $node->getTestedClassesAndTraitsPercent() - ]; - - if ($total) { - $data['name'] = 'Total'; - } else { - if ($node instanceof DirectoryNode) { - $data['name'] = sprintf( - '%s', - $node->getName(), - $node->getName() - ); - - $data['icon'] = ' '; - } else { - $data['name'] = sprintf( - '%s', - $node->getName(), - $node->getName() - ); - - $data['icon'] = ' '; - } - } - - return $this->renderItemTemplate( - new \Text_Template($this->templatePath . 'directory_item.html', '{{', '}}'), - $data - ); - } -} - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace SebastianBergmann\CodeCoverage\Report\Html; - -use SebastianBergmann\CodeCoverage\Node\File as FileNode; -use SebastianBergmann\CodeCoverage\Util; - -/** - * Renders a file node. - */ -class File extends Renderer -{ - /** - * @var int - */ - private $htmlspecialcharsFlags; - - /** - * Constructor. - * - * @param string $templatePath - * @param string $generator - * @param string $date - * @param int $lowUpperBound - * @param int $highLowerBound - */ - public function __construct($templatePath, $generator, $date, $lowUpperBound, $highLowerBound) - { - parent::__construct( - $templatePath, - $generator, - $date, - $lowUpperBound, - $highLowerBound - ); - - $this->htmlspecialcharsFlags = ENT_COMPAT; - - $this->htmlspecialcharsFlags = $this->htmlspecialcharsFlags | ENT_HTML401 | ENT_SUBSTITUTE; - } - - /** - * @param FileNode $node - * @param string $file - */ - public function render(FileNode $node, $file) - { - $template = new \Text_Template($this->templatePath . 'file.html', '{{', '}}'); - - $template->setVar( - [ - 'items' => $this->renderItems($node), - 'lines' => $this->renderSource($node) - ] - ); - - $this->setCommonTemplateVariables($template, $node); - - $template->renderTo($file); - } - - /** - * @param FileNode $node - * - * @return string - */ - protected function renderItems(FileNode $node) - { - $template = new \Text_Template($this->templatePath . 'file_item.html', '{{', '}}'); - - $methodItemTemplate = new \Text_Template( - $this->templatePath . 'method_item.html', - '{{', - '}}' - ); - - $items = $this->renderItemTemplate( - $template, - [ - 'name' => 'Total', - 'numClasses' => $node->getNumClassesAndTraits(), - 'numTestedClasses' => $node->getNumTestedClassesAndTraits(), - 'numMethods' => $node->getNumMethods(), - 'numTestedMethods' => $node->getNumTestedMethods(), - 'linesExecutedPercent' => $node->getLineExecutedPercent(false), - 'linesExecutedPercentAsString' => $node->getLineExecutedPercent(), - 'numExecutedLines' => $node->getNumExecutedLines(), - 'numExecutableLines' => $node->getNumExecutableLines(), - 'testedMethodsPercent' => $node->getTestedMethodsPercent(false), - 'testedMethodsPercentAsString' => $node->getTestedMethodsPercent(), - 'testedClassesPercent' => $node->getTestedClassesAndTraitsPercent(false), - 'testedClassesPercentAsString' => $node->getTestedClassesAndTraitsPercent(), - 'crap' => 'CRAP' - ] - ); - - $items .= $this->renderFunctionItems( - $node->getFunctions(), - $methodItemTemplate - ); - - $items .= $this->renderTraitOrClassItems( - $node->getTraits(), - $template, - $methodItemTemplate - ); - - $items .= $this->renderTraitOrClassItems( - $node->getClasses(), - $template, - $methodItemTemplate - ); - - return $items; - } - - /** - * @param array $items - * @param \Text_Template $template - * @param \Text_Template $methodItemTemplate - * - * @return string - */ - protected function renderTraitOrClassItems(array $items, \Text_Template $template, \Text_Template $methodItemTemplate) - { - if (empty($items)) { - return ''; - } - - $buffer = ''; - - foreach ($items as $name => $item) { - $numMethods = count($item['methods']); - $numTestedMethods = 0; - - foreach ($item['methods'] as $method) { - if ($method['executedLines'] == $method['executableLines']) { - $numTestedMethods++; - } - } - - if ($item['executableLines'] > 0) { - $numClasses = 1; - $numTestedClasses = $numTestedMethods == $numMethods ? 1 : 0; - $linesExecutedPercentAsString = Util::percent( - $item['executedLines'], - $item['executableLines'], - true - ); - } else { - $numClasses = 'n/a'; - $numTestedClasses = 'n/a'; - $linesExecutedPercentAsString = 'n/a'; - } - - $buffer .= $this->renderItemTemplate( - $template, - [ - 'name' => $name, - 'numClasses' => $numClasses, - 'numTestedClasses' => $numTestedClasses, - 'numMethods' => $numMethods, - 'numTestedMethods' => $numTestedMethods, - 'linesExecutedPercent' => Util::percent( - $item['executedLines'], - $item['executableLines'], - false - ), - 'linesExecutedPercentAsString' => $linesExecutedPercentAsString, - 'numExecutedLines' => $item['executedLines'], - 'numExecutableLines' => $item['executableLines'], - 'testedMethodsPercent' => Util::percent( - $numTestedMethods, - $numMethods, - false - ), - 'testedMethodsPercentAsString' => Util::percent( - $numTestedMethods, - $numMethods, - true - ), - 'testedClassesPercent' => Util::percent( - $numTestedMethods == $numMethods ? 1 : 0, - 1, - false - ), - 'testedClassesPercentAsString' => Util::percent( - $numTestedMethods == $numMethods ? 1 : 0, - 1, - true - ), - 'crap' => $item['crap'] - ] - ); - - foreach ($item['methods'] as $method) { - $buffer .= $this->renderFunctionOrMethodItem( - $methodItemTemplate, - $method, - ' ' - ); - } - } - - return $buffer; - } - - /** - * @param array $functions - * @param \Text_Template $template - * - * @return string - */ - protected function renderFunctionItems(array $functions, \Text_Template $template) - { - if (empty($functions)) { - return ''; - } - - $buffer = ''; - - foreach ($functions as $function) { - $buffer .= $this->renderFunctionOrMethodItem( - $template, - $function - ); - } - - return $buffer; - } - - /** - * @param \Text_Template $template - * - * @return string - */ - protected function renderFunctionOrMethodItem(\Text_Template $template, array $item, $indent = '') - { - $numTestedItems = $item['executedLines'] == $item['executableLines'] ? 1 : 0; - - return $this->renderItemTemplate( - $template, - [ - 'name' => sprintf( - '%s%s', - $indent, - $item['startLine'], - htmlspecialchars($item['signature']), - isset($item['functionName']) ? $item['functionName'] : $item['methodName'] - ), - 'numMethods' => 1, - 'numTestedMethods' => $numTestedItems, - 'linesExecutedPercent' => Util::percent( - $item['executedLines'], - $item['executableLines'], - false - ), - 'linesExecutedPercentAsString' => Util::percent( - $item['executedLines'], - $item['executableLines'], - true - ), - 'numExecutedLines' => $item['executedLines'], - 'numExecutableLines' => $item['executableLines'], - 'testedMethodsPercent' => Util::percent( - $numTestedItems, - 1, - false - ), - 'testedMethodsPercentAsString' => Util::percent( - $numTestedItems, - 1, - true - ), - 'crap' => $item['crap'] - ] - ); - } - - /** - * @param FileNode $node - * - * @return string - */ - protected function renderSource(FileNode $node) - { - $coverageData = $node->getCoverageData(); - $testData = $node->getTestData(); - $codeLines = $this->loadFile($node->getPath()); - $lines = ''; - $i = 1; - - foreach ($codeLines as $line) { - $trClass = ''; - $popoverContent = ''; - $popoverTitle = ''; - - if (array_key_exists($i, $coverageData)) { - $numTests = count($coverageData[$i]); - - if ($coverageData[$i] === null) { - $trClass = ' class="warning"'; - } elseif ($numTests == 0) { - $trClass = ' class="danger"'; - } else { - $lineCss = 'covered-by-large-tests'; - $popoverContent = '
      '; - - if ($numTests > 1) { - $popoverTitle = $numTests . ' tests cover line ' . $i; - } else { - $popoverTitle = '1 test covers line ' . $i; - } - - foreach ($coverageData[$i] as $test) { - if ($lineCss == 'covered-by-large-tests' && $testData[$test]['size'] == 'medium') { - $lineCss = 'covered-by-medium-tests'; - } elseif ($testData[$test]['size'] == 'small') { - $lineCss = 'covered-by-small-tests'; - } - - switch ($testData[$test]['status']) { - case 0: - switch ($testData[$test]['size']) { - case 'small': - $testCSS = ' class="covered-by-small-tests"'; - break; - - case 'medium': - $testCSS = ' class="covered-by-medium-tests"'; - break; - - default: - $testCSS = ' class="covered-by-large-tests"'; - break; - } - break; - - case 1: - case 2: - $testCSS = ' class="warning"'; - break; - - case 3: - $testCSS = ' class="danger"'; - break; - - case 4: - $testCSS = ' class="danger"'; - break; - - default: - $testCSS = ''; - } - - $popoverContent .= sprintf( - '%s', - $testCSS, - htmlspecialchars($test) - ); - } - - $popoverContent .= '
    '; - $trClass = ' class="' . $lineCss . ' popin"'; - } - } - - if (!empty($popoverTitle)) { - $popover = sprintf( - ' data-title="%s" data-content="%s" data-placement="bottom" data-html="true"', - $popoverTitle, - htmlspecialchars($popoverContent) - ); - } else { - $popover = ''; - } - - $lines .= sprintf( - ' %s' . "\n", - $trClass, - $popover, - $i, - $i, - $i, - $line - ); - - $i++; - } - - return $lines; - } - - /** - * @param string $file - * - * @return array - */ - protected function loadFile($file) - { - $buffer = file_get_contents($file); - $tokens = token_get_all($buffer); - $result = ['']; - $i = 0; - $stringFlag = false; - $fileEndsWithNewLine = substr($buffer, -1) == "\n"; - - unset($buffer); - - foreach ($tokens as $j => $token) { - if (is_string($token)) { - if ($token === '"' && $tokens[$j - 1] !== '\\') { - $result[$i] .= sprintf( - '%s', - htmlspecialchars($token) - ); - - $stringFlag = !$stringFlag; - } else { - $result[$i] .= sprintf( - '%s', - htmlspecialchars($token) - ); - } - - continue; - } - - list($token, $value) = $token; - - $value = str_replace( - ["\t", ' '], - ['    ', ' '], - htmlspecialchars($value, $this->htmlspecialcharsFlags) - ); - - if ($value === "\n") { - $result[++$i] = ''; - } else { - $lines = explode("\n", $value); - - foreach ($lines as $jj => $line) { - $line = trim($line); - - if ($line !== '') { - if ($stringFlag) { - $colour = 'string'; - } else { - switch ($token) { - case T_INLINE_HTML: - $colour = 'html'; - break; - - case T_COMMENT: - case T_DOC_COMMENT: - $colour = 'comment'; - break; - - case T_ABSTRACT: - case T_ARRAY: - case T_AS: - case T_BREAK: - case T_CALLABLE: - case T_CASE: - case T_CATCH: - case T_CLASS: - case T_CLONE: - case T_CONTINUE: - case T_DEFAULT: - case T_ECHO: - case T_ELSE: - case T_ELSEIF: - case T_EMPTY: - case T_ENDDECLARE: - case T_ENDFOR: - case T_ENDFOREACH: - case T_ENDIF: - case T_ENDSWITCH: - case T_ENDWHILE: - case T_EXIT: - case T_EXTENDS: - case T_FINAL: - case T_FINALLY: - case T_FOREACH: - case T_FUNCTION: - case T_GLOBAL: - case T_IF: - case T_IMPLEMENTS: - case T_INCLUDE: - case T_INCLUDE_ONCE: - case T_INSTANCEOF: - case T_INSTEADOF: - case T_INTERFACE: - case T_ISSET: - case T_LOGICAL_AND: - case T_LOGICAL_OR: - case T_LOGICAL_XOR: - case T_NAMESPACE: - case T_NEW: - case T_PRIVATE: - case T_PROTECTED: - case T_PUBLIC: - case T_REQUIRE: - case T_REQUIRE_ONCE: - case T_RETURN: - case T_STATIC: - case T_THROW: - case T_TRAIT: - case T_TRY: - case T_UNSET: - case T_USE: - case T_VAR: - case T_WHILE: - case T_YIELD: - $colour = 'keyword'; - break; - - default: - $colour = 'default'; - } - } - - $result[$i] .= sprintf( - '%s', - $colour, - $line - ); - } - - if (isset($lines[$jj + 1])) { - $result[++$i] = ''; - } - } - } - } - - if ($fileEndsWithNewLine) { - unset($result[count($result)-1]); - } - - return $result; - } -} -
    -
    - {{percent}}% covered ({{level}}) -
    -
    -/*! - * Bootstrap v3.3.7 (http://getbootstrap.com) - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:rgba(0,0,0,0);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} -/*# sourceMappingURL=bootstrap.min.css.map */.nvd3 .nv-axis{pointer-events:none;opacity:1}.nvd3 .nv-axis path{fill:none;stroke:#000;stroke-opacity:.75;shape-rendering:crispEdges}.nvd3 .nv-axis path.domain{stroke-opacity:.75}.nvd3 .nv-axis.nv-x path.domain{stroke-opacity:0}.nvd3 .nv-axis line{fill:none;stroke:#e5e5e5;shape-rendering:crispEdges}.nvd3 .nv-axis .zero line,.nvd3 .nv-axis line.zero{stroke-opacity:.75}.nvd3 .nv-axis .nv-axisMaxMin text{font-weight:700}.nvd3 .x .nv-axis .nv-axisMaxMin text,.nvd3 .x2 .nv-axis .nv-axisMaxMin text,.nvd3 .x3 .nv-axis .nv-axisMaxMin text{text-anchor:middle}.nvd3 .nv-axis.nv-disabled{opacity:0}.nvd3 .nv-bars rect{fill-opacity:.75;transition:fill-opacity 250ms linear;-moz-transition:fill-opacity 250ms linear;-webkit-transition:fill-opacity 250ms linear}.nvd3 .nv-bars rect.hover{fill-opacity:1}.nvd3 .nv-bars .hover rect{fill:#add8e6}.nvd3 .nv-bars text{fill:rgba(0,0,0,0)}.nvd3 .nv-bars .hover text{fill:rgba(0,0,0,1)}.nvd3 .nv-multibar .nv-groups rect,.nvd3 .nv-multibarHorizontal .nv-groups rect,.nvd3 .nv-discretebar .nv-groups rect{stroke-opacity:0;transition:fill-opacity 250ms linear;-moz-transition:fill-opacity 250ms linear;-webkit-transition:fill-opacity 250ms linear}.nvd3 .nv-multibar .nv-groups rect:hover,.nvd3 .nv-multibarHorizontal .nv-groups rect:hover,.nvd3 .nv-candlestickBar .nv-ticks rect:hover,.nvd3 .nv-discretebar .nv-groups rect:hover{fill-opacity:1}.nvd3 .nv-discretebar .nv-groups text,.nvd3 .nv-multibarHorizontal .nv-groups text{font-weight:700;fill:rgba(0,0,0,1);stroke:rgba(0,0,0,0)}.nvd3 .nv-boxplot circle{fill-opacity:.5}.nvd3 .nv-boxplot circle:hover{fill-opacity:1}.nvd3 .nv-boxplot rect:hover{fill-opacity:1}.nvd3 line.nv-boxplot-median{stroke:#000}.nv-boxplot-tick:hover{stroke-width:2.5px}.nvd3.nv-bullet{font:10px sans-serif}.nvd3.nv-bullet .nv-measure{fill-opacity:.8}.nvd3.nv-bullet .nv-measure:hover{fill-opacity:1}.nvd3.nv-bullet .nv-marker{stroke:#000;stroke-width:2px}.nvd3.nv-bullet .nv-markerTriangle{stroke:#000;fill:#fff;stroke-width:1.5px}.nvd3.nv-bullet .nv-tick line{stroke:#666;stroke-width:.5px}.nvd3.nv-bullet .nv-range.nv-s0{fill:#eee}.nvd3.nv-bullet .nv-range.nv-s1{fill:#ddd}.nvd3.nv-bullet .nv-range.nv-s2{fill:#ccc}.nvd3.nv-bullet .nv-title{font-size:14px;font-weight:700}.nvd3.nv-bullet .nv-subtitle{fill:#999}.nvd3.nv-bullet .nv-range{fill:#bababa;fill-opacity:.4}.nvd3.nv-bullet .nv-range:hover{fill-opacity:.7}.nvd3.nv-candlestickBar .nv-ticks .nv-tick{stroke-width:1px}.nvd3.nv-candlestickBar .nv-ticks .nv-tick.hover{stroke-width:2px}.nvd3.nv-candlestickBar .nv-ticks .nv-tick.positive rect{stroke:#2ca02c;fill:#2ca02c}.nvd3.nv-candlestickBar .nv-ticks .nv-tick.negative rect{stroke:#d62728;fill:#d62728}.with-transitions .nv-candlestickBar .nv-ticks .nv-tick{transition:stroke-width 250ms linear,stroke-opacity 250ms linear;-moz-transition:stroke-width 250ms linear,stroke-opacity 250ms linear;-webkit-transition:stroke-width 250ms linear,stroke-opacity 250ms linear}.nvd3.nv-candlestickBar .nv-ticks line{stroke:#333}.nvd3 .nv-legend .nv-disabled rect{}.nvd3 .nv-check-box .nv-box{fill-opacity:0;stroke-width:2}.nvd3 .nv-check-box .nv-check{fill-opacity:0;stroke-width:4}.nvd3 .nv-series.nv-disabled .nv-check-box .nv-check{fill-opacity:0;stroke-opacity:0}.nvd3 .nv-controlsWrap .nv-legend .nv-check-box .nv-check{opacity:0}.nvd3.nv-linePlusBar .nv-bar rect{fill-opacity:.75}.nvd3.nv-linePlusBar .nv-bar rect:hover{fill-opacity:1}.nvd3 .nv-groups path.nv-line{fill:none}.nvd3 .nv-groups path.nv-area{stroke:none}.nvd3.nv-line .nvd3.nv-scatter .nv-groups .nv-point{fill-opacity:0;stroke-opacity:0}.nvd3.nv-scatter.nv-single-point .nv-groups .nv-point{fill-opacity:.5!important;stroke-opacity:.5!important}.with-transitions .nvd3 .nv-groups .nv-point{transition:stroke-width 250ms linear,stroke-opacity 250ms linear;-moz-transition:stroke-width 250ms linear,stroke-opacity 250ms linear;-webkit-transition:stroke-width 250ms linear,stroke-opacity 250ms linear}.nvd3.nv-scatter .nv-groups .nv-point.hover,.nvd3 .nv-groups .nv-point.hover{stroke-width:7px;fill-opacity:.95!important;stroke-opacity:.95!important}.nvd3 .nv-point-paths path{stroke:#aaa;stroke-opacity:0;fill:#eee;fill-opacity:0}.nvd3 .nv-indexLine{cursor:ew-resize}svg.nvd3-svg{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none;display:block;width:100%;height:100%}.nvtooltip.with-3d-shadow,.with-3d-shadow .nvtooltip{-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nvd3 text{font:400 12px Arial}.nvd3 .title{font:700 14px Arial}.nvd3 .nv-background{fill:#fff;fill-opacity:0}.nvd3.nv-noData{font-size:18px;font-weight:700}.nv-brush .extent{fill-opacity:.125;shape-rendering:crispEdges}.nv-brush .resize path{fill:#eee;stroke:#666}.nvd3 .nv-legend .nv-series{cursor:pointer}.nvd3 .nv-legend .nv-disabled circle{fill-opacity:0}.nvd3 .nv-brush .extent{fill-opacity:0!important}.nvd3 .nv-brushBackground rect{stroke:#000;stroke-width:.4;fill:#fff;fill-opacity:.7}.nvd3.nv-ohlcBar .nv-ticks .nv-tick{stroke-width:1px}.nvd3.nv-ohlcBar .nv-ticks .nv-tick.hover{stroke-width:2px}.nvd3.nv-ohlcBar .nv-ticks .nv-tick.positive{stroke:#2ca02c}.nvd3.nv-ohlcBar .nv-ticks .nv-tick.negative{stroke:#d62728}.nvd3 .background path{fill:none;stroke:#EEE;stroke-opacity:.4;shape-rendering:crispEdges}.nvd3 .foreground path{fill:none;stroke-opacity:.7}.nvd3 .nv-parallelCoordinates-brush .extent{fill:#fff;fill-opacity:.6;stroke:gray;shape-rendering:crispEdges}.nvd3 .nv-parallelCoordinates .hover{fill-opacity:1;stroke-width:3px}.nvd3 .missingValuesline line{fill:none;stroke:#000;stroke-width:1;stroke-opacity:1;stroke-dasharray:5,5}.nvd3.nv-pie path{stroke-opacity:0;transition:fill-opacity 250ms linear,stroke-width 250ms linear,stroke-opacity 250ms linear;-moz-transition:fill-opacity 250ms linear,stroke-width 250ms linear,stroke-opacity 250ms linear;-webkit-transition:fill-opacity 250ms linear,stroke-width 250ms linear,stroke-opacity 250ms linear}.nvd3.nv-pie .nv-pie-title{font-size:24px;fill:rgba(19,196,249,.59)}.nvd3.nv-pie .nv-slice text{stroke:#000;stroke-width:0}.nvd3.nv-pie path{stroke:#fff;stroke-width:1px;stroke-opacity:1}.nvd3.nv-pie .hover path{fill-opacity:.7}.nvd3.nv-pie .nv-label{pointer-events:none}.nvd3.nv-pie .nv-label rect{fill-opacity:0;stroke-opacity:0}.nvd3 .nv-groups .nv-point.hover{stroke-width:20px;stroke-opacity:.5}.nvd3 .nv-scatter .nv-point.hover{fill-opacity:1}.nv-noninteractive{pointer-events:none}.nv-distx,.nv-disty{pointer-events:none}.nvd3.nv-sparkline path{fill:none}.nvd3.nv-sparklineplus g.nv-hoverValue{pointer-events:none}.nvd3.nv-sparklineplus .nv-hoverValue line{stroke:#333;stroke-width:1.5px}.nvd3.nv-sparklineplus,.nvd3.nv-sparklineplus g{pointer-events:all}.nvd3 .nv-hoverArea{fill-opacity:0;stroke-opacity:0}.nvd3.nv-sparklineplus .nv-xValue,.nvd3.nv-sparklineplus .nv-yValue{stroke-width:0;font-size:.9em;font-weight:400}.nvd3.nv-sparklineplus .nv-yValue{stroke:#f66}.nvd3.nv-sparklineplus .nv-maxValue{stroke:#2ca02c;fill:#2ca02c}.nvd3.nv-sparklineplus .nv-minValue{stroke:#d62728;fill:#d62728}.nvd3.nv-sparklineplus .nv-currentValue{font-weight:700;font-size:1.1em}.nvd3.nv-stackedarea path.nv-area{fill-opacity:.7;stroke-opacity:0;transition:fill-opacity 250ms linear,stroke-opacity 250ms linear;-moz-transition:fill-opacity 250ms linear,stroke-opacity 250ms linear;-webkit-transition:fill-opacity 250ms linear,stroke-opacity 250ms linear}.nvd3.nv-stackedarea path.nv-area.hover{fill-opacity:.9}.nvd3.nv-stackedarea .nv-groups .nv-point{stroke-opacity:0;fill-opacity:0}.nvtooltip{position:absolute;background-color:rgba(255,255,255,1);color:rgba(0,0,0,1);padding:1px;border:1px solid rgba(0,0,0,.2);z-index:10000;display:block;font-family:Arial;font-size:13px;text-align:left;pointer-events:none;white-space:nowrap;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.nvtooltip{background:rgba(255,255,255,.8);border:1px solid rgba(0,0,0,.5);border-radius:4px}.nvtooltip.with-transitions,.with-transitions .nvtooltip{transition:opacity 50ms linear;-moz-transition:opacity 50ms linear;-webkit-transition:opacity 50ms linear;transition-delay:200ms;-moz-transition-delay:200ms;-webkit-transition-delay:200ms}.nvtooltip.x-nvtooltip,.nvtooltip.y-nvtooltip{padding:8px}.nvtooltip h3{margin:0;padding:4px 14px;line-height:18px;font-weight:400;background-color:rgba(247,247,247,.75);color:rgba(0,0,0,1);text-align:center;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.nvtooltip p{margin:0;padding:5px 14px;text-align:center}.nvtooltip span{display:inline-block;margin:2px 0}.nvtooltip table{margin:6px;border-spacing:0}.nvtooltip table td{padding:2px 9px 2px 0;vertical-align:middle}.nvtooltip table td.key{font-weight:400}.nvtooltip table td.value{text-align:right;font-weight:700}.nvtooltip table tr.highlight td{padding:1px 9px 1px 0;border-bottom-style:solid;border-bottom-width:1px;border-top-style:solid;border-top-width:1px}.nvtooltip table td.legend-color-guide div{width:8px;height:8px;vertical-align:middle}.nvtooltip table td.legend-color-guide div{width:12px;height:12px;border:1px solid #999}.nvtooltip .footer{padding:3px;text-align:center}.nvtooltip-pending-removal{pointer-events:none;display:none}.nvd3 .nv-interactiveGuideLine{pointer-events:none}.nvd3 line.nv-guideline{stroke:#ccc}body { - padding-top: 10px; -} - -.popover { - max-width: none; -} - -.glyphicon { - margin-right:.25em; -} - -.table-bordered>thead>tr>td { - border-bottom-width: 1px; -} - -.table tbody>tr>td, .table thead>tr>td { - padding-top: 3px; - padding-bottom: 3px; -} - -.table-condensed tbody>tr>td { - padding-top: 0; - padding-bottom: 0; -} - -.table .progress { - margin-bottom: inherit; -} - -.table-borderless th, .table-borderless td { - border: 0 !important; -} - -.table tbody tr.covered-by-large-tests, li.covered-by-large-tests, tr.success, td.success, li.success, span.success { - background-color: #dff0d8; -} - -.table tbody tr.covered-by-medium-tests, li.covered-by-medium-tests { - background-color: #c3e3b5; -} - -.table tbody tr.covered-by-small-tests, li.covered-by-small-tests { - background-color: #99cb84; -} - -.table tbody tr.danger, .table tbody td.danger, li.danger, span.danger { - background-color: #f2dede; -} - -.table tbody td.warning, li.warning, span.warning { - background-color: #fcf8e3; -} - -.table tbody td.info { - background-color: #d9edf7; -} - -td.big { - width: 117px; -} - -td.small { -} - -td.codeLine { - font-family: monospace; - white-space: pre; -} - -td span.comment { - color: #888a85; -} - -td span.default { - color: #2e3436; -} - -td span.html { - color: #888a85; -} - -td span.keyword { - color: #2e3436; - font-weight: bold; -} - -pre span.string { - color: #2e3436; -} - -span.success, span.warning, span.danger { - margin-right: 2px; - padding-left: 10px; - padding-right: 10px; - text-align: center; -} - -#classCoverageDistribution, #classComplexity { - height: 200px; - width: 475px; -} - -#toplink { - position: fixed; - left: 5px; - bottom: 5px; - outline: 0; -} - -svg text { - font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif; - font-size: 11px; - color: #666; - fill: #666; -} - -.scrollbox { - height:245px; - overflow-x:hidden; - overflow-y:scroll; -} - - - - - Dashboard for {{full_path}} - - - - - - - -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -

    Classes

    -
    -
    -
    -
    -

    Coverage Distribution

    -
    - -
    -
    -
    -

    Complexity

    -
    - -
    -
    -
    -
    -
    -

    Insufficient Coverage

    -
    - - - - - - - - -{{insufficient_coverage_classes}} - -
    ClassCoverage
    -
    -
    -
    -

    Project Risks

    -
    - - - - - - - - -{{project_risks_classes}} - -
    ClassCRAP
    -
    -
    -
    -
    -
    -

    Methods

    -
    -
    -
    -
    -

    Coverage Distribution

    -
    - -
    -
    -
    -

    Complexity

    -
    - -
    -
    -
    -
    -
    -

    Insufficient Coverage

    -
    - - - - - - - - -{{insufficient_coverage_methods}} - -
    MethodCoverage
    -
    -
    -
    -

    Project Risks

    -
    - - - - - - - - -{{project_risks_methods}} - -
    MethodCRAP
    -
    -
    -
    - -
    - - - - - - - - - - - - - Code Coverage for {{full_path}} - - - - - - -
    -
    -
    -
    - -
    -
    -
    -
    -
    - - - - - - - - - - - - - - -{{items}} - -
     
    Code Coverage
     
    Lines
    Functions and Methods
    Classes and Traits
    -
    -
    -

    Legend

    -

    - Low: 0% to {{low_upper_bound}}% - Medium: {{low_upper_bound}}% to {{high_lower_bound}}% - High: {{high_lower_bound}}% to 100% -

    -

    - Generated by php-code-coverage {{version}} using {{runtime}}{{generator}} at {{date}}. -

    -
    -
    - - - - - - - {{icon}}{{name}} - {{lines_bar}} -
    {{lines_executed_percent}}
    -
    {{lines_number}}
    - {{methods_bar}} -
    {{methods_tested_percent}}
    -
    {{methods_number}}
    - {{classes_bar}} -
    {{classes_tested_percent}}
    -
    {{classes_number}}
    - - - - - - - Code Coverage for {{full_path}} - - - - - - -
    -
    -
    -
    - -
    -
    -
    -
    -
    - - - - - - - - - - - - - - -{{items}} - -
     
    Code Coverage
     
    Classes and Traits
    Functions and Methods
    Lines
    - - -{{lines}} - -
    -
    -
    -

    Legend

    -

    - Executed - Not Executed - Dead Code -

    -

    - Generated by php-code-coverage {{version}} using {{runtime}}{{generator}} at {{date}}. -

    - -
    -
    - - - - - - - - {{name}} - {{classes_bar}} -
    {{classes_tested_percent}}
    -
    {{classes_number}}
    - {{methods_bar}} -
    {{methods_tested_percent}}
    -
    {{methods_number}}
    - {{crap}} - {{lines_bar}} -
    {{lines_executed_percent}}
    -
    {{lines_number}}
    - - -ŸNAMLP',(GLYPHICONS HalflingsRegularxVersion 1.009;PS 001.009;hotconv 1.0.70;makeotf.lib2.5.583298GLYPHICONS Halflings RegularBSGP©ÜMMFîÍéŒÏ̉Ù£(uÊŒ<0DăB/X ïNï ˆCCê^Ç rmR2skÉËPJ"5+–gléW*iƠW–/EÓ4#¬Ô£U¦~²f‰‘UDÜĹ÷ˆ«±àJ·1á/!₫₫/ºÊsª7’“k•”(ºˆ¡hNøé8oíd$yq¹1³âÖ9ƒ@-‰‚HG’ôµS"øFjôØ 6C3”¤&‡ÁøªW51ÁÓÜ×BŸ¯aËêQaR†U/ơ¶{*¿‚Ëï‚=–@dôøh$¡1ÉTÛ—nc+c’̃A¡§¼ •ZÉ€¤@QÑc­a‡Ỡl÷2>ÊK°Èmó' “ËC‡HMĬfB‰X,¾ỴÂp¨e¢ -î¸UøØ*̉”zÿ -m‚ËËiO1nEÆ.›„ä hx!aC -XTÚV¢Å©Â‹– —éR¥%¥|Iä HđÅƠPƒ5"Åb’N²µ=âøƒrÙ/_åRŒ›”™_ à%̉„uzÉé̉˜Ö5’2Ä¡̉ăPÚ)Ô₫ÆĂFƒ7S‹q„FÀ{náia·¸@DĐsˆ;}9⬥?ź‘§Â R{¦Tkí;̃µÇœ×U\NZø›Q-»^Ôs7̣f 0˜ÊÆS3A Ü _n`W7Pp˜»ôài«í³!đgØ/à_p»Á̉Z€-=Ă×¥~WZ#/á4 KF`´ »Œzß̉0Û| D‚ѵ́‚&däI‰´üĂÁ;·Ḿ”{'¶om†”m¢ I !wi9|H:§Û§À»ç÷Ê₫¾{û~ö¹ưqº¸©Oøåôî© ú›,˜ ‚L]&„J0ñ•Ù9/í9&̀Yø è“°{;÷ú'À3`’e@vH„yDZ$º„3ˈDx28 ƒW€ Cx5xw‚B`£$C$'ăÊEl…y Ơh¿ëÔ€ DJ -$(p½îQA”A܉A–@'Ç$ hpÊ0ÎV0 `ºs¾ªẻ$É4$"t2=f´˜4„A„{Tk–0|rH¤öÄĐ£ï`L&±´sÔh¦]”§A<£¡‹²`R´'£•!ƒ‹1N¦;£_t3Û#  ậëúØêVăê *veÑF`E O${)ÙW=p:®̃ÖF`¾2ÆÄ2Ú“CëÁŒ̉^×.Êć˜¡ø–øG₫<û.pçNe2ê‹ïÖ´º̃+ÝsÛl:ÂĂË¼ïµ Ü«u5©¦̃îĐtÀu•^8¾̀6èóÈ„TmyđQÉ%₫u~ộ%~1r̉˜aưwß^ù_©Z£Za¢ƒ²0!Ùè¡·úNö`¥. uqÀ±çêYB¥\™¨ó…„ÊᨀÔê…[eđ‹îî₫:@ êJ'EÛ,¯3ubj@p¨ÁÆäđ´f¨Éßóîµ·eW9( óºå ´̃…‰³æ=‹l”G¦à7gj âSƒM6ư ô0ƒÿ9̣§–OË‘¨üíl§®B¼aªỰ¯  ƒ<¦çÇBƠ™(VRAp¡fù^°ú¯+g9 qÓƯ¹MÆt]»ØªpëE•r@]‡@ó©VŸkV¥ -uêädé^ÑX å–—R@?EƠöY2ô¨˜Éï]#àǼ4ÀJ̃åKöÁäÖ'ĂÁ¾d²âPC|mămånä#¾‚$+48u'…çe&û¿€[n[LáÈù’±%{BCDÚL:^! ‹‚ÓbÆ™:&Éÿˆî‚g3“-3Đøu´è­ÇæĐđ¹ƒb iLZéÚ‚W‚FSÉäIdÍñ¡6.‘k5Pî„l77üUz’T:NưN¡‘—.ư"€ªåü)‰Å—́’['ß|U"Aƒ€³—‚I•Ûv©wĐÛØpë™í­t¹dk‚ˆ9؛嫫Í9n¨D‹mq¹—7I|6›Kbcƒ]¶Mô“©²ÄÎ÷—è¶BA€BøÈª_ôJºT Ùüq Đ 6@—§„¸F—‡ƒhd`G®Tëñ·:MÅ7'à…L,éIh—ÆFP »Ê~j½ŒíÄ ¬$¡„ Ä3™hAƯä’-SŒ^ûÚ†…Đä-%qeḮë~ÀÆQq«§¬ln"i¾&‘æÑQe?FlKï¨"úAsÀ(Ư3Y;"¡LÚÔe€tå'ÄRzMœª1 0¨{=æ÷)€ ³K %$C -Âø‘9Mđö¼ë¼4c ê€EotjÍÂV§GD)lñ8“¯,˜\wÀ¥à !%$¿×3tÉ TBz’̉´ iUJ̉Ư[¢Çxgd„Brï$Å!eqˆ’"J>࣠)\~¡‚‰3(^ â R€8#>Öb›äH€âG'7_ fÓ«cκtDoAA߃†(q™B<ư`Ç­`VˆüøéΫ”©Ö˜Â*úb̃Ïu‹P­4v@—+•Ê.’îQåÔ¥$V‚¡•í@C0 - íR¢ÓÜP[‘z:X¦H#eäÁ ̣s >?úEÈWO>@IØ$|s¬iâ -ES¥²)0AŒ?£9•ab,¶@Kñ̀©o&î₫üˆ¬Q´%¬ ÏLu+› -Â+H|̀Æ?´NK̀4ŒÆ’ÓCnPtè³ 'OṬœ̉.j5àÄ´8ÈÜv¶wÖœ«I¥&•+ß`¼yScaO[#¡g°§Q§œ€¸Údª[îK½I矗`ôÄŒLPưÓ¸ #°Áœ½ ©)2̉7aTƒäëi@c\̃‘î ÂâÈ0nêC»p̣ß–é‹4͵xö*ñËĐR”zƠYâ„b‡ÀúÛT[\úkU™v́HʈÜq’p঄IÂíIëÅ—) ‹bB X”PºN´…tzí 2 Iæ==¤ ¦³ˆư¨Ă;}†bœàq₫Ójĩ†§a²#" ¬Ÿ>1¼‚°1äA›£p1ÖíƯP‚§OÇèO—ux÷Qôù°¹Î -Fϲ(úhƯ„©O'MDxÊLíK$ȵœhæ& ù‹¦Đ1ŒïÄ4››Si ÜărHJ’P°tDMË;rMă‚+”ö— -*–àŸíØ—5u2$ªf3’K ß<ùP²LçrÑc‹I)˜Öå^ëda> -%Åàѳb (Ÿú–@,‘2f,~"¦7ÛR;®EÑ;¬­”HXå(ú¹Ÿ42ZäƯ'TªÛ¿ö‹„”½2J+ÿ^!#o„›”Y~4Ø-׃̣GW*đ!ßĂA•0&8€fä{`¼½øàWö=’DP8’'ÿ= ÖR¦ g©}ôiP>“Ê#¹Ëå¹4ẲEĐBRY®Æ^4eóư‚§N8¸V,[B‹†ĨîD#X†ø]²,Öèâ«LBsNC> +¢íoÍê^x΅§ - ÷•újĆ.4ÀYa‰_{e¦A2=rđØ+‰­´Öî§¡9PO»A!! -×}´YÊPJe„—çGn±%xü1¬/}RgHØa ^3-© ‹5 -¶|‹qS§ĐđaWK{ 1al`IÀ1Ó ™ÆQé¾ëf_yyCZ)ÄL3X±] W6@DM™Tø<.„«uëGÎKŒ́8ÙDsôÚбWæ‘r…Ư\ß7Z\ƠËỵ̈VÓ"I¦¢ŒơS¡§®dµ‰>C¦ÈUjßÉeÉÈÓD ®3MÇtWcP﯆–̣Ó‰6#3Q×nቩ…°J\º¡Ă7#磱`Ø€Këë¤ ©×lV6 &ÓT’ ̃~îÚl.’¾¡ <˜˜BP -£*´!zRZÄäeÑ™»¾¾Ù·T±#£CéLH±¬ÈªWÅ)ÚD›†÷“p®YU#ÉÊ51{WJ€¤4^Äf³̀¼Z°ö̀Ñy6–Ó‘T2™dÎ4H=êB„̉ɬ}œ&ƯƒêÂ,aPçv+:2æ~̣Á*0¼°¢ˆd¦É“ÂơÖƒd ‚øáË!"A+‰rHn ¡ÇàsAäÁÈÚ—U €ưø¤b H“ÛN6₫$.ĐlÀ};½@£¡âiKĂ \¬̉‚:v‰QEÇ:,|ưªQ  Y0|Ç%Ö@í° ÜäqcçÓÑdqh¯«è«¹vÜCÍGV†°©¸¯-(шm…’1»®âq89KF–Öä -"2±̣}Rrzó,j^¥ÀqË\…Ư–#pƒ»+ơ`fl³½â:k ´t–5E„OaIĂJ¬P @ps­E™j1ä4;6öô/aHÎ.¼ÏÓ°TX¤p“L‹¸ÄL8¤½Fç„Üi¨lí1–²YØ8É %!/Áù{­¨̉Åñ éœ‹ÙåÆXœ€ºbˆ•½…NÉÂxp»ºäPWê½ÛíèÄcI9g²*₫º¿îƒ¹œ%:Ö»LË̃u‚CAOÂŒ­™%¬/Å“´(Y¢³^ï? ̃ă&I'ˆÈuh[x‹´–Qô$Çz̉µÅ½ø‚ ß³‚(=V×€Ÿê ¾mđ­ÅU) »ílΠΒ¾̀iœ•dă¦ˆ™¨½~f¦ùjGíµÖR{D€%>®¥@”…”6‚¥¤1‚œ`Æ!Î ` ņ¶wYó§‰Ơàk/a0A†«Â¹ŸÔ´ÊYh²¯—µ̣ˆd́æx‘k:fƒÿ漣<ƠØÙWL4`8IYMBÁSlcäÖßÈà™-»Ẻ‚'ÎÚŒÅ:,ÿD¬°çÑÙøÆ©84Ó)~÷ÿ2·j€Ÿ–Ç i¶·B(Lăµ| "a©¦¯4,¦b8§”¥Ô“i 94¦åÔŒ̉jWщ° ©6*ĐTđ£†c4g̀“¢×UMÉb³RÇE²₫ª‹̣…C5‘Æ)jäÈ´ ‘­16pbĂëÛÆH÷§ªFx̣ˆñ¹¿—¯«Ä£%4ậQÙÄC‰Êˆ§Å $9̉:ÅM>̣EÖƯaÜÆo«̀Ÿ^ÂØ<Iw̃Ygq7s[†đ’đ -yĐ1ع5†äaÄăMK׿RBÇY€†óFq}¹âç±ô8ïÀ²*ÈNtå'.Yb„”›¤ÍđZÍûvÅK -(Ê]&Éœ( Ơ™¥ư2¯:0Ơ €äo¤ÎÑ…PKiBH4Uđ¹X,¢[ˆđ$ -0­mX±å»Ø´‚ ̣¥fë5đ0± VR ©8ê%ÙÑñỄ§§Dt°ĂUŒ‘s`ô·-BPÈzôP”së°Á¦vIë¶8z-¥t1DiB -̉Ư"˶ÜÈYTJ ƒÄ.?Ô0Ç7à€jL¢ĂNú[2ÿtÈÂÄ®̀†æ ù#₫6?E×»†”Œ×¡®ˆ:ÉÎY;ƒç¬A&q…êSØIRÈ)Éss -9*x̉ß0Bj)ḿáH§A¾öhyĐḥMm¤&4Å…4€ €‡ÜÚg¸ŸVæ&tYóÚ¦ÏOCS0³Y²ô‚d7MvNïj)wë÷AÉ(¬âo "Í¢É[¦Ö -E`›”₫ë7ez¸Ä†»̃-·QÀ]¦6Û+BcaÍ@^IÂ:²̉»´̃₫¾=ƒ—­ˆsSŸäÏncÇùÓ 6 ‚ÍçOă¡B„4½ˆŸç L¥¨ÀGpăB‰q/<•zAăÓCÁ¥» €ÔA~¹ÉxĐ0 6rih£Íh¤ÍØ·O‚N,:oÇÁḱçÚöÅ/ó¸{H°,ÛzĐ‚gÚfÈ»z—¯Ó΀5ưFơ²TrÀn/ät``l†Á™*H6jT¡tG/xøË@P@(„ÄIèp ̉eº!ùê`wv,:Á‘œ¹N£ 4}09zÇqĆä$ŕüM`Y†Q”’ øMää•«³÷Ä(|éB!í>¢ÁØ>«O pwj A*@›ªŸJäC[h&3üëB QbưÏ©8 …:ñ“%f~v/‹lâSäĐè̉0Ưè₫Đđ0a“·¶"Bæ8(f úuGoÇÈgyñÅ×t£_Ăy~ÀÍ” -Ă%ä…°ûm†L -èà!I$äXt0ƒÏ€~ÀeŒPˆzËÍ]¢Úg Đ=_±?ñºµº.j#+`li‘¡ BñâM5›̉ º¿Å‘G̉pŒ7«a -†Ö’%Y[UG9æ™̣ÆÓ@\bDêĐY…’{‰{¤đED0®— -Ö$ Qø+FvCđ`Ư΅3°ưQ¥ “î±E\àĐuC9ÍáĂ![€$êlïßơ úêù6ßD¨oÙDgÀGˆ*+X!¸%#‚C€q‘ ?é­8ZUB)U@o¢Ïpg̃©¶ZØq…¡¡É8Ê9øÇ|ucácAÑœ¶­é°•W;©@á" €Ø>P‚Óïåh_™Ç9}.6€„V/ÇO:à3´}¡ZS ±µœ{:ØÚ~’ó₫œÅyk¦cO6;OÎBá=—bVñ. R¿k‹ -oñ ¤ÿ^±GV=áØ }ïoI"+ ô -]w‡×FªÁzÏ·ä®ö`<“Éơ²30ûh÷ŒÅ3]êRfú—¿859s¼`K…M€¤8ñË -X»Uqˆ<‰˜¥\˜“ÆZOàssè¿M’·&j&Ï ÄÖ÷ .§%Ÿ ̉PÊBL~^äßÿùGˆËˆ‘3páD‡¬•:í¸×£Z¿£Á¹¨©<\ñ«Ç i¯¨ÛẀ†¨ÈÂ"(”ƒ:áÅâz‹©–X–~êÎ0PG]8ª¬ƒŒˆRQMNT¦qfƯW~!Ư0”R%Ơ‘0đxvGFy/Fø-›Ïwúu‚/ôî*ë+’Æ \ơÂ8@ˆ6¢«Â₫©´‹»c<´àLƒ;c[û÷ÛÙº nr ŸQS'o£QụT®{q̉_œÍ¿ƒƒSdª»A*ð:ṃ8Yuz2ÿPB« ́Hh`l´k’pèÿLLh -cEb6eÛ̉‹ ?!„™>| *=Vü­»Kî@ë“rx‘0ÓG`%ryr[6êY3Œ7ŒÅ ‡f*—*n•à%9™ÚdfĂè1ó1̃¢Ú^'̀ư]‰– RÍßèqÜÔ.Øê÷,œö•‰Ó^%„¯lÂÚâ ă½eØØ#wWÂÑsó56!Ù=âå!q[ö°ÄØ Ă%ÈÔ®]ó‹5^:€½m¨5©)?V b|uÀ7f“º́w°œæÄđ,:çYe æ†R%” -̣[À›î Éo gæF«AzµFP¥›̣ŸÀÔx›¶î{Ïíöd‚xĂ­ÖwĂ8˜–Ù”{{L> ®‚d¬2CäL‘º¨äL̃,œLÜè,„̣(àmŚø›ĂØåå$=Ñ|%Öluè& Ä…”83ăÚ -N ¢Xåx ë \VnơÍïJ[)I›êwŒÄ/Ñé¹»²Ú ²| GÅºÙØY×Áđ÷DHµ˜½*›Sưªîè¤æ’p6®0ÓcJ2ă@ÅW´%Ѧcï¼_^Ó$Ñç#*:G§®æ6¡ïn>ÍD;úù¥~¤`9ëhXB ñU«JB_Đ²ˆ˜ùˈî%ªư’´w'¹$³èv|#T<68çªKM¶Ï‘-Ù5U+¾¶¡'íB -ËĪN…‘øbJ́ĂOv'È́|‹„+*MŒ¼k(dˆ }›CÚ˱@ ³Áq°³¹&ùaR%}´ -Ë!ÖVĐƒ‘s3w2¦Ña²2²ÿawHæz¡/Q0đF¦ Ù]~;¥Ă¤ËÖ NDùP -mü˜K3x̃ke_™£  ñó₫S¯!¡V&=²²ª²ºvç_PÀL9؃Y£¡i¿ -§NU­Ó_¶¬¯)–ƒJ6Ư9‘f*ÊđS ± 17ÚF|¸BR$É·y,Ʊ.¿ÀƠ&=uqsáó¡ODẠ̊B›ÈôR„=çÙɳ—eøØ½É‡àB®¬ä¬ÖH­¡®ˆ -ª2lu'h7^#ÿS…)£Xi2..Pe¡/@FƠKÉ‘$é](Ø%à|–2ÉđY1pC±8tÁùIøă11N//+\»“p¥jÔÄïôd€”ÎáWÊmé›ĂI=ß½·ÓY“Zx¡ÔMЉPư8²“1/ JG«ơÄ^U ,PÈd1O®ó^¬yßpq”l¿£2hƯÑ$øjvñø‹₫ª­̀ơIö%‡¨§áèÔ]VæÎÖ -.'[+WU8Á­[å†Dê’³è,ß»¾-=[ÀåÙ O - -wÿƒ ¿Eê)å3±ø¬äó¿J&¥dïÙ‚Ư¶R¡¬—S–\.° •5J$I&ó‘Ưoª·Hȳ~› l‡½Îz>€ -Ux/ơHñĐu;?Gt®{?à³;óT¡ŒªH äL₫|Fú8á†đ²}ˆ¡{ú˜p:ß2t́͆a·Ëѧp6ÑÏíÔû·¶øè5Y"LÚD“Œù.r¼ØV“ß‘²ßS_ ºÚÊk₫Ï]»n&úH¸z§~¦9‘æ -¦p $§4Ù‚”'¢{º& ¸«ÿËM\ŸÎ°éч¨®!́q®ià ÏÄ(.h'Ë B± T­²Ÿ|{I„6cḶ¡.¹£ë¹iI¾ê«¿\!à;§àg`1â ᾕ˜j%C ¹o3*60÷·EŒ˜Ø]tä‰.×-%0 Y‰KÇ_nft] ·*VFCÆtJ’°ÄTÔ+¤\WZ8ạ́Äâ×gFĐ²àÙ^ -̃f¶ 5I=¶×ù#6ö.@ơ2z̉Ă;W`ÿB/Ä™Qøgí°ühjyJÓ°€N²AX¤3ªƯ,ơ¤› Kä6è’ë6Ú²ØM0®T@ …O{¡£˜4kj£|"¬ftÑŸ”Û„Uü‚<-ü̃a†®Ơæ5bú)í^R±°8™„ÎÁ:†§il¾­ÀKaÇ6@µæ”Ă!ÀÍĂ] buvÎ$ ‡oUÇœ~:.…Lût–èêe—ü Ç€¢JξP -l$S[z–~Rq39é’ºô¶9ëQïË/m"•%ʤ‰¯†¼7Ÿ Ăî5MKLŸé‘§"IßG„ èXT̃XL¿FđƯ§V j‘p^¡/MĂgÁÛ»{¶¹»wô -́*øº€9ÿđ—ÊO¾Êˆ<Ë"aôÁ₫÷Aáîïˆq¿»¢†.M—2@möë‡p¿^Ú'“wß•möÇkxO8 ü$[ó«&Áü|Y‚Zyư`2_|%r—“/åJ?¡QùĂǸ±l‰3ĂÎßK¡E$–wÿvCËh£û a@÷U€1©Mø¾%0?1*¥ –$GÓZÓ{!|ÇÊ¿À$ĂßÛ•Â-̣ÙªEv;‹Í“:佋Ÿ`BlÏ˸ ́Œ§Çɬ›oQƯ0&‹•û₫ñ,†F?¡ưÆä„^s,‡c“™ÁhË•ÿ$ĂEücl0åºw`ư⺹ň©@/€r^l˜8cT·3™Ük@›ÜúJÂƯ”´uPĐ&ʪNÉódùJjTK¸ªi ·é*u§»éX–{t“j~½É¡}ùñi\BÈKenâ‹Èµ|NëÖê u’ï#Ă]@lơCZ$iPæa½ă¸©t04y20ü sØÖªâ,AuÆ!Q̉ØBäÏ–ö–^́ˆ@VsÉ‘€‚\̃Zßaă7©́¾‰©¸âш³»6-Tïr±ÀäU˜ àu“Œ~ë°1HÂJ¨(<α‚̣½Ó³bRÔ–¸qi Ï鿢¬J?íeÿGÁ §*jVħ "áØă†:Y);-Fådô!đH£»ÙG~´•u¦x cb6m•¼ø)&;ñ0‡ÏdU?‡8ÅX~ïŸ1Ñ2Û¼¨t€ˆIØxè5ÄÀ{(ëz„ê -Ü'¿ûÿ[ ÅƒkèZĐ…ǾéÍi,đÅb™1̀‡‹¢Íá`º±(ôªmHáNđ́üe‰K¤°ßÔ/ -[à´(ơö#Qô—GdÊuÎT©½^øm³¢¿%ù†ŒÅ!(˜7Kgé…P=èhøÏ•ákÉU+ŒÂÆ.[̉e¯‹ÏĐ¼³CÁÿå"GDÿΨ£›<*<ÖÏ₫éh «)¤` A˜U @O]hưlÅf2”…!HçÏF#QBÂé=uȾ9f´h€ó;"R„¥Ú’KÜ3-‚(G )¼P±áø¡¨¦²T],7Áec̃ -ë F4hH Ós³73á–Ÿ ¡² âÛ`àºR–¡Tíwfͳ;6Bó>Ř 9&ÈâÛÑÚÜ‚Î?’—÷ø)À\¨Œ€<&Ò†™đ5 LĂJu¥@YƯƯ,냲ھÛ_wÂ0˜^é17ñđđö́p̃»‡*>D”8ăŸ˜ü°_)$UźóÊR´!jOFôÖ>{ˆĐ’‘ »t,¯-…bPµ,m`D"/ŸzđAâ ͔إêßQZGƠ&U]xejxæåLwvơ~²œ=)@ØB¯Ö6Ê?!;53/ps@tƒOZS7©”§Ø™®’nŸØlxèûîÿZ?áƒZù—j a²–{ưû6—¥ÿL4›«1Ÿ 2¹´ù¯‹Q‡iÜư&Ö¥lƒˆá½Ǻ]o= 7Äļ ofüĐ–ür MEV@ƒâHơ¦ẹ̀û/èưaD¥Ù¦ëH•ƒ®®lK5)ÂŒZ OE´œ˜„3Á¦IG©'Đ³;îD'¶zl(‘ ÷EŸÏÑ$.Ùœđ-W R'\w+)Âw3æêº¾ù¸ @Û%RÔ)ÿ.̣~9;]ô.Âg+)Ø%ÈökƠÎÀ̉‰³¨^̉öN€W·>b1z:s†¨oD -Kö²ºÂ2w[|>9â®vWMFâ¯ũ`¹ëÍax‡chƠ«ơU·`*ʆeû]O V'6ư‡ÀƒxÔd?¼H]_rơA»£+zÀd­F›¯H ÄÊ‹<¤…Ç´£ƠÆkUsFzÀº̣ÏaHÖÇ9-³œ˜ƒgv‚b‹=ÓëL/E»)°Ä.˜½x9j%Bă) $—ŒéAËB¢ǽ ƒÛŸt b.b̉AE¨ZRböH(‘£ơJÿyaăˆ̉9Wj0f¤ßF'›°Xàz¾Ă ï$DQ­6´ëqƒØ` oÊĐ i=áÁ{#4¤©FYHù@ØJĐ3 3i~‘tYĐ¢ÙhkH‡PÏñ×÷ư17ÓàॆYÜD—"Üp—Ħ;'³16€Æf—pu‹ ô¾>₫F›oDÅQi¨ná̀’-Ïç @P#䫇 ¦h“j ̃‚ˆÅ€f´¶C– –ƒ7°”T5HVXÉpíöÉklÄ­Œ³®]™ÚyXrÆ)?ͺÓBNJ Bƒ÷øä½#Ë›9e”&&»_0•Ó=®pZÉ6§ªh¤Ù)đ ̀—ƒa bÀŒí=(p)‡âÙåí¬;.N•,“ĂWí^ *hÔºC—îm}E™7iơà‡6Á‚Ă÷aËIívͲxpƒ*Ac#4‚ÿưûŒ³Ç Nö&đ`)®Ä‰ˆ£H£We›ƒy7jl¡ï°oƯEh_n3 ­ ‹jp?ª4èp2WÀE'kT_ă &£°!È–jVl˜HíÓ»_kÉáÈâöʳùaYùŒ ¡ sÎ@ä[…G"ÊÓbYƠLÛÜ«X¦ªi ƠC˜q8ñ&úzVaY{èÆ#I@µ§­2˜mó!ôdŒ[1 …AàÆ¢ÿnKèđ̣ƠÆeײå/>ßdƒm†uX:xÊ·\„âp̣N‘ûư©l+ƒH+cÇtSǶ‚æCÀ±[íà~3ŒÍeÀ}6° \³,ÎñÉ„˜×|¤ỴƯ§çø˜§v]¬'û|¿Ÿë&í–́Mô2° dơ¬dsàx-((76”©aX›½m=ƠîÓ¿ăQˆ—<$ªª€üóQ†˜„º\“ -Ô ªqiéH阇¬‹‰i'i¤”$"£{S*VwF‹“/°t<́ÊÁáQ`Ê’Z¸+đpr)›(¹.jµé¸«Iük5ơ <ä´ʆ±Ë®ÉÖ, kO‘‡œDTˆÊJ&^7º£‡ÄªQ₫¤ËÏvße -&ZØ’ ^4úÆ^s°ñD+`WHµ™®b́6ÙÄ©˜ ¸®ÈL˜W{ZZ ¦@°ämqáûv¦É·(DÁ\+Ôlåéû0*¥V¥ß‡°VmƠ§æhÆæØ/S`|³^\<-™„©Ă6ë¸2©N3‚" ToŸóŒlräÅe ‚!ơÅH2 ‹pƒA Ö›¨ ‡̃ĂÏ{›È¼₫/£̣ŸÑçœudU2*2̣"c«̀"p…${©€y, 饋ö&\àm¾&º`Đ|x ¦p…ˆCª̉w#ÂÉûW9D­IiñÑ–Cˆ›Ksï–ç‡S¶“ă3ï ,¶‘–₫M›’;j¨₫Bë§4›P›2ÙÙiµîïf¶®É¿íÁbA­]a¢idíÂ𭨆"Ạ̈×i!aQhÔCNO½±ï‚ơYí -“xF$Äøg—9¥‘Z`W«°…VBâg¸± ́Ú#j\Ë‚—¨€eùGñû [³.à¾]‹ª0º~X{2›D©„? ø"ó3ÄBáj,ÀK~Æb#„0¬É’L˜kcÍ(6 ¸  -±aüE7λ/Ơ¯%­ ü±œ·ï àÉÄ¡Rë^JûëÅCÏZ+71XÛ´ĐUO,Á„öá}#-”eÙ¤ 4ö3Å‚đítĂ8§™Z7†Îià¬Ê<:iÑ?Ft‹Fk–C W'˜êf0i<âXdj—ùŒ”0ÛW#i‹‹–eCÏ -zI7ˆÎB°s·¬˜.Kƒ  *ëƯV‘°«dÿ‡ŸDljö@́«ï% -©Üˆå ÎZˆÄsƯï®sh̀¸%‡^ß -ưèøÍ÷@8†̣§¤øÎ?  Nº8gÔGøgr¨X°€Sƒ» üä• Ap ‘³º4‡z*ö¹4áƯà§,Ă­¹Ät4GÙnÔè÷‘¼ơdSå>fî”Q–C̣ÏWUZ{SÙ;Nxå½Ê}°ÇH&º¼* ­9׸¯q‹U1 Êó a `(M-aÈG}Ơn¶̀½è¢Ú0 –¼pÊÔÇmcnñ ̣đ‚ɘÀ_ú\±ül¼̃Ûà₫»}Î È ̃9÷FávHĂ¾kƒJZüNO å´mZáÁQí̉¤ aSûëfú -)QC+2 -d’˜¡[¯ư» ̀ïÁơH"t*̃ Ác*bÏÆÚ¢÷¯q°¨,µ™óă#S˜Ÿ#¢äu›'̉¬ơ:4©as¥©¾CDMF§|ɸm©_Ă1L]öáY˜Ê\À§ư*¤Xœ>tú–¯¸̀g‹§ØD‰Ÿ£øèd@&[°)8ĂÎ;<œ{óÊ8<–È+VG\°H˜®¦^¯a—‹aeƯ-4”úsÚJÔA \à hM[‚\`đ“¼#¿pD5Z97g;²÷BWâmÎä‰qTXX‘%0¹vºă†ù&ù·]E ¹Û4]ûFŸIJä¤ù–œ„&ƯS_¦îƒ4ÈR‰0 ¯¥Dü+Ëme¹Ô¨Y ƒg÷ĐOøñ+M{”03Ïv'Í…f…ÁÅt¯áè :;ôØ±Ê Nô¦nà\Ç”^Ü,)1̃lăá’aBïZZÚ„[•à ¸ ûZS̉̉ä¼UYhÜ߆ÏÊw€ơ‹S¸\®/¤*?zQĐ‹ÿ`X4ïg¹ríÛ[§CWæÛGû.§Y„́0Q|ûRÔƒ‚E[w¾¦î„yƒ)¸áï‘,шï$ËNK@c/b --#Z¯I ¹G$Æ—¯™‹tmçÊH#êđ)X£wPZAD|¢S oưfơT¤€ƯHÚë)¸ÎäÓçÇ>ªM1 b 7á°…ɆS‹uĐĂq× -ö·öjK4[sđ„‡ •—×xL ›Ö¼Ç¢©ë]5 ú!M!A¾dƧN Ë><«:Ç»Z(°8†ø)e… „ß »¥™†/™WØÈÀ| ư°bªØéˆú<é÷œƒ®T?%Ă ²:@±äÔ,-àø€ecMPđ8u¤m°VĐgŒ9Héö6®Ëç‹}¾=³5ƒ—Ab̉ÄæưḮ°¬Î™ÀV:’…_ leÉ¹ß -ÏÊî–•v ư`Í0ä!$`GÁéA"I;$ß^?ú®í‰Ke O¢ Í÷³N(Ơ½çö“YyÊ5Bç¡w¸ĐV¹%ˆju;)lFµoaǻË›7óxéÿ’Ú¸Ø4-‰É%ë †đ$ÏÖ¹/zskǘ(sh>»ÁDD©ÅƒÉt¥TÄ7örurÀœ¸0É̉¢ `Ü´h5 5Œ¦Éä¶“Sá}¸ÑƯÈÿ̉4hrva¼éléc!ZjB]¹¦©ÎxâD¯¶ÿb–TxzYS‚ß6_ö)ƒÊo°Ôp>˜#@P¢SÓ*ưbÜS\q Æ‹xñYfQ><"ó·²ă¢ Y6‘Ạ̊IEr_7ñˆ̉° VÔHĂ!³ÅIçrŒELç6!N»öq"'’d “a₫qMvºÅ‹A‚%íơºº¾ ñv³í½ nđ.;ëA/Ïç°ô2ʲ‰œa8D$ÿGWv…#̀û 9®kÅÅ'ü‰ËoØŸœo€@âừ (]gkí+}/ (nq‡º́K(f¢ÍÖ ƯÆŸĐ¸püø̀2ÔÈ3Y°ăƯéw²pD₫dG´q2$̀É}‘KÓ¯A­"öE&N‚tg'NeưsƠó!Đ®đ4q́œo}́¿¥Sµµë,oƠjr/s œT₫MT—&öĐđQf\12¡h'&ctN¦ú'TÅx7¼]2û ;GÍ Ê…ë¢ă|Tª++:%/ †è¦û³ÿ1T ‘ÅúÏ“ óË€Ÿ<Ôñ̀4ÂÓÔùÀÍ”×ÿ“Ë— É,0~ạ́!¡W‹O©à'‰ áÍ:sñuÈÆỂ¦Ù†ù(´^ï® µ¥œÂ)˜ø7èØfÁ€Ñml¥̣̉¹î1Å«tÜ̉ZƒèhÀ ÊL0 §£·–6̉X"J̉‚í -Œˆ4§9ØÑ Ö©Bé}ƒ̃Ô­`è`‘¥®đ„Ó’ç #¦J̃ïnéäôÑ_‘F­ H|¡$OÈKÎú=¡Å“i1÷¡¦7Œ”o-HËq¡ªûp[É«%%:ˆä€Éˆi3Û ú„G C—LL‰4SĐ:dḄj|‰ˆpYÓöS₫DP>¶pÓṽ²5KLeè{t0®̣‘yÇEND$à*;z»5N’áBIóÙgnŒ€.NÉ|×¶àÑnĐ”RÈaS¤Z×ÂJcH² mÍÑXøÜÊßek;_ 6È,yÊÂb”0#¦Z„¸A e|w‚ỒG U½1l¸ËLDØ7Ă„V£q’Ưt[­xuƯE”QULˆïđPBlZSh–’.áé1Q0ÚÙ±8R„iúp;¦ñ{óôH#–GON!?ë£èt>©Q |pÊk¤Ûó¨q!çgT,öƠjÇĐ2ĂÈsÇ4íˆt”jä·nÆ›/IÉO˜E!Ë‹nFơ›4¨†·ˆM&Ô1„’—¾…xÓ$§ew+v™SđË - bm]e%8 ²äP̀ -!úﳌsÂó_06£̣)ÂQ´2JB†êØư „[t9®–ƒ'”§³Ôœ,§¢̀ô[½fÆג¶]˜ÂBBĂ@¦îr&B„s|•Q °§™×g¨íOCˆ1‡ÜJ Dç<̀ÏâUÿ‡²Î¼Ó(o©!³h¦ÜK½Hüê 0q›ˆ’§AÑVˆ¼'p´f̀y"Q -O…Û 2ÇZ»¾ŸqÂà½#d"›@bQ»,®“ w)îPÍ\b`xßO₫)̃¢ d¼MC€$[Ho¤W̃¦Ñva4{äDZ`52íưº‡³5;‚…X°ÿaoK†;˜6“%ÁR(À‚ŒÓÆÑ…x98 À2răDc÷¥@ÙˆŒæ¾É¤îF×<†d(ÈAN#FI·›zmE₫‰»F=©±…Æ­å•S‚€f -4Ê8§<'´„íjêô-ª˜Ú'ǘ<̉Tbñ2Ưv€EÀt¸¿q¡̉3qODd_íĐ{`/œhhê‚ö̀`Â’9_ü1hAY|/ùë «̃·Uê-Í•ºĐÄÔƠo(ñËê"“$r؆T̀×PR;§.¸-w>&LJøiC`A£^±—Ó#‰€ÄX8—t—öâH?€dÁ¿aĂÄ–TSTÚa¨HŸ0@̉îđóU)ˆ£æï^e}Jb7%×Ü”%:›ÓÆ¿@—¯M+ñ»y”sqª¡ëL̀̉ưø¿á ÊYª00Ă”÷GüD¡ >Ä©êAW ˆ¶đ2IÛ:ÄÙF ÈÇ3ăŸ2Ê íq€÷À”:6S•—Ñ]KÎÏ" ¥®g[¦ åÏ‘H“˜âB¬5ÈVEqÛLJŒ•X{C¼ˆ¹§B½ÅÙ̉!¥P«Iáq9»øLlx–®Êª7̉>Ö¤–Û]@Ơ!@9H”!ªíäÈpÀÉ™Ơ$ â?̃Ơ)›«Ü¨l°/"±”À̀–¯+“@`}}:\÷•¯Đ 8•zQgS£¿+̣’¤¿Á’C„£}€R:ŸơH₫UF\¡X₫’göÀ/âë€AZ%c1ƠwlET–wX  ZNh¥ …Äyf2DÆ €Ă¸‰&v®L“qî4Æ7•ñ§ûÊzúđ\iJyÀèJ-k¯NÄ3½ ë £-¼s‘ÑJ5‰—)ÙV0™N0ƯdÚ\Ó›d0d-©ăEÚ[mf£\£UmÁx²̉̉C«R<(`ªÑ•æƒp4^!hÔQè `¢ù!l“ ~Æ™́:J‡É ñlüW±₫€9˸̀ZXB=ëÈl)`jªeVJ³àU€³†G!®sØç1Ô?Ƽ3„¨Ă.³}bIaÙê6àÊ• œt?èÀ€̃SxZJ'Ăp -ië,¦.ˆñ¬ØR2T`5˜-R -BxræWHö JP°e#Bb‰|“¯”-±₫¡́‹[²„ ÆäPÂâư…¤¨Eh‹±³Â‹(5Sœ¢•fƠräĂ/]˰ÑIÆ ̀Öd”̃E#ú¢O®Sú3—9Ó»]¸º³€e‚¿Û®Ơɹ.9_Œbêe§æ¾MŒ´9b#e©(’¦-ˆ 0§̉×Ra±àÆ„9ùº–ˆ"₫‰±₫ưưU,áÂ%ú~¾XèÜ€ö—”ëz€Û½{'6[@„t[W%ưÑ* .d'vR {”̉đh¦!̃Aed’CªE}»x=E[|ïB$7J¡* B-á ,=k7”[_¶ê-ĐIô– ¢«€’‡J5eÖ̀¶Ä´{ Èí( ´†;WMw§`«°€Ë~pÜA °z 8‡îfæ))âŒâÂ(̃ü@ ©ĪÙ……Ù<áî…ä.a%N ̣́né@bz­Ă‡ÈÑÀµ¿>Àëô%…‡€T*?lgb¿döÈ<‚ĵăúÀw9Na¬Å¼8;<^*%›ỷ:tD¥̉•Z<@ü‰0ª¨«ä‚q4±äĐíl\ –†1†îÉŸÓ`/$IJ ̉“sN)¼;:A;’)$ו -°Ww¢y%Kr̃Iv\b¶V™£\n­d{À̃ôÈ6t»ví×/~¢ü*OÖí -7U>£8ûr‚AC<ºjéEâ¢-jçØç‰·¨üxsî)̀D¢›–1¼ĂŒ/ÏÊq“p**̀¸À$Ù‘, Ûá ƒ³BơȼpÄúk MhpˆKê7ÆUè¤Ă]đøáh&„-$ˆé»¯”“Yê£;àqËé6w•zƯ÷ÖWûî˄֭A¦h²́Dœ‘^Rö̃É"­Æs5fưüîw ˆ¿ä+çQ&’/9È‚–œ¸wNbÇëéü­ăü°Øz{娕Ó₫YÅ> -]NEÚÁ±c,ß# BFư:0ÍØ/-EȾÆÂŒÇ׃ëF\êŒôäI§{t́äA»Z‰C™ORĂuk¥ iú”ô)…ytkdN¸&›v§A±™ˆ P{ÍÖîôËP'ó’>ÈêàxàÆ†`.Üä%,;:Ô¿Ù:©«­¿íaFñ§oTQ«}v#ố×£‘öÚQkèÆ'ƯsÄÔÓÖØ÷~…µ̃Íz5hMÄQÊ’áY>C…èÊ™„è¾i·̀U± ÓNF#J0uŒÎCđäđ8k“! -f«é́§v ¹{Eñ/ÏëæIKIEË> ºp·yd†̀e -ʾ”=zô†:@7ÖJà÷ij̀|ÆÆ5g8Àîx Å3çO±Œª₫€ÄÜÜ -₫3€H1‹ó±Ø„F. y´fz´́WIM ñÙƒÆj[.wæ%„i?̉†UÂè©f|}@+[8•k7Cx¤˜S…íEÕ¯p $ä—üáç¾Qæ»+™Ê:¸<á]¶¸Kâ3‹T-y²ÂÍ[NÑÖz´µ„;y³¤-HZ₫ªY^¡Ô.¥M*Ô'h8̉íA….°Nï2r‰œLBœ 7:Or’©}‘C‰SËS9äJq#́£WI}*8ËD!ˆ¸# g#Y>8`• -́Đ’Âñ ?a…2H,^ñăÄ'ƒï?¸ÿ^¸ˆæ§nƒhăOÆ’­¿i<ѪæƯYa2É+™ǜ6a°F±âa<̀!„Û0¬‰2½]c:ïe¼K¤¬X˜X˜[UgéO¯u5iÔyPcVÙTº5RIúŸA6̣OÔ¸i ¤ưC\‡ñ…—ăQZM„DÄÆƒÓÚÏB!X–Ä:ôĐă\!Ç^Á…"{¡E Vax$P \$ ³DBBT̃ÓFtèŸ~™Ă{O‡¼ wïø5a#ø`«=g€Đ°Yư2>‡±MG¯-G­kèªÛ1T¾b¦ü…L -¹`*Ù€«V¬X -­̃*¥xªe§ÖZ*c`ªVÁSƠb¥ºÅJU’ªĐ*6 TK@¨zqPÄâ¶ÉÅh“Çg†̀*ß”U§(ªöQU4‚§9L’ -­cMÆ*ŒT»©R!R,B£È…E°ˆ ¾*C|TzøôpđôFèô@èô4èô*àôà÷ơ±î±í…°–†Ø¬á±Xób°€L€.™T2y`®ÀUpbàåÀë -ªT, %@`äÀ è€# ?@t€¤øGLˆëÅSÀ)öĂ¿ z“ÿtϲFy× 14LhŒĐဃf™°ÈeÀ(.)pK€@\âà —X¸e@Tb v•h˜DÀÅ&ù0-IbD‰ d@ZD1¤@ ‘DàyÀ¸ó€Ñ§CN| 9Ü4æØÓ#Nc lÂÀ°;¸, `c‹XâÀ³@(„2$0 "@- ˜$èB@‰<$ĐÁÀø8p7C¦ €àbè(@¥ -PA@…F ¸0Àơt‰üœ̃‹äG­éÔOR—‰éIJâIïTñySÍMW52\TÆoRå¥KV•0ȬໂŒ( -- $²€’€” ¤!6¦„¢wˆêH¢©†£ùúGù­ O r~àe~/à]₫·àV~/àP~7 Szï Kú— Fv`;ö¯`9vÑ# -J¤Ü§BÍN‚,ä×ÎÅÓ­²'°`¡'â‚`\LT₫đÙApBs)r…!Ơ -â( -̉i‚` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - €pFFTMm*—ÜüGDEFD OS/2g¹k‰8`cmapÚ­ă˜rcvt (ø gaspÿÿglyf}]Âo”¤headM/Øœ¼6hhea -Dœô$hmtx̉Ç `tlocaoû•ΠŒ0maxpjØ¢¼ name³, ›¢Ü¢postº£å5¦€ -ÑwebfĂTP±T̀=¢ÏĐvuĐvs—‹ ĐZ Ф2¸UKWN@ ÿÿÀÿ{ , -Üh, -ܰh@( + ¥ - / _ ¬ ½"#%ü&&ú' 'àà àà)à9àIàYà`àiàyà‰à—á áá)á9áFáIáYáiáyá‰á•á™ââ âââ!â'â9âIâYâ`øÿÿÿ * ¥ / _ ¬ ½"#%ü&&ú' 'àààà à0à@àPà`àbàpà€àááá á0á@áHáPá`ápá€áá—ââ âââ!â#â0â@âPâ`øÿÿÿÿăÿÚÿfÿbàßäßµßißỸÜưÚÚÙ!ÙÙ     - ₫ø÷ñëå|vpjdc]WQKED̃ÜÖƠÎÍÅ¿¹³ Œ5 *+  ¥¥ - / / _ _ ¬ ¬ ½ ½""##%ü%ü&&&ú&ú' ' ''àààà !àà&à à)0à0à9:à@àIDàPàYNà`à`XàbàiYàpàyaà€à‰kàà—uáá }áá†á á)á0á9á@áF¤áHáI«áPáY­á`ái·ápáyÁá€á‰Ëáá•Ơá—á™Ûâẫâ â åââæââíâ!â!ïâ#â'đâ0â9ơâ@âIÿâPâY â`â`øÿøÿơơöªöª -(øÿÿ(h .±/<²í2±Ü<²í2±/<²í2²ü<²í23!%3#(@₫èđđ üà(ĐddLL[27>32+&/#"&/.=/&6?#"&'&546?>;'.?654676X& -jà - -àj -)"& -jà - -àj -)L -àj -)"& -jà - -àj -)"& -jà -LL#32!2#!+"&5!"&=463!46ÂÈ^₫¢È₫¢^L₫¢È₫¢^È^p@LE32!2+!2++"&=!"&?>;5!"&?>;&'&6;22?69ú -₫” -x -} -x -} ” ₫í -x -}₫í -x -v₫” -ú¤¤L -₫”   d   ®  ®   d   l -¤¤dŒ®;2#4.#"!!!!32>53#"'.'#7367#73>76ẹ̀p<µ#4@9+820{d₫Ô–d₫Ô 09B49@4#®bk§Îv$B ÙdpÚd†>u®½hi-K0! .O2d22dJtB+"0J+«ku0ªwd/5dW…%{L°>G!2+!2++"&=!"&?>;5!"&?>;4632654&#¬^CjB0  0BjC² -x - -• -₫ơ -x -u₫ơ -x -u¶Ë@--@°$?2O*$ $*P2@%d   ¯  -¯   d   Û -È₫ÔBVT@ÈL¼!2#!"&=46ú üà¼ÈÈÈè°%A+32!546;5467.=#"&=!54&'.467>=è2cQQc2üà2cQQc2ÈA7 7AA7 7A°–d[•##•[––––[•##•[d–Èd76!'ö -ˆÓûPÔ‡ - $ -op zy¶Ă³#»ư%**%ê·$ ”–üpd°L #7!2"'&6&546 6'&4#!"&7622?62~ -ừừ₫ø - -Œ - -₫ø\l -û‚ -l¤¤L -ưÉ7 -Ú₫ø₫ø -& -₫đ -ưÚ -€₫” - -l¤¤ÿđÿđºº 2'7' à&™ cÖ_"ư™Öf₫₫³nº ™&\Ö`₫tưÖfüjpO°°32!546;!¼úüàú₫ °ưÚ22&&Lœ%6.676.67646p…'0SFOˆ$WOHBư¨XAOˆ$WOHBù£"üÁ7Q)mr ›ư¢*`)nq&* ÿø»§)2"'#'".4>"2>4&ȶƒNN;)₫íwd¶ƒNNƒr°”VV”°”VV§Nƒ¶dy₫î%:MNƒ¶È¶ƒ[V”°”VV”°”dX¯D>.54>‰0{xuX6Cy„¨>>§…xC8ZvxyµDH-Sv@9y€²UU²€y9@vS-HÿÓ^{”62!2'%&7%&63—ƒ¥₫ª‚₫©₫ª‚₫¥ a₫Ÿ ù₫o ö÷ û ÿÓ^{”"62!2'%&7%&63#7'7#'—ƒ¥₫ª‚₫©₫ª‚₫¥óđÅJÁĂJÀêN a₫Ÿ ù₫o ö÷ û d⋌åŒÓ°°&2##!"&=467%>="&=46X|°>& f  -û‚ - f &>°°°|ú.hK -æ -] - -] -æ -Kh.ú|° °L#'+/37GKOSW!2#!"&54635)"3!2654&33535!3535!35!"3!2654&35!3535!35~ - -û‚ -Ud£ưÚ - -& -sdüd düd dáưÚ - -& -üïd düd dL -ûæ - - -ddd -₫¢ - -^ -ddÈddddÈddddd -₫¢ - -^ -dddddÈddddLL/?!2#!"&546)2#!"&546!2#!"&546)2#!"&5462₫pm₫pư½₫pm₫pL₫p₫pư¨₫p₫p LL/?O_o32+"&=46!32+"&=46!32+"&=4632+"&=46!32+"&=46!32+"&=4632+"&=46!32+"&=46!32+"&=462ÈÈ¥ÈÈ¥ÈÈüơÈÈ¥ÈÈ¥ÈÈüơÈÈ¥ÈÈ¥ÈÈLÈÈÈÈÈÈ₫pÈÈÈÈÈÈ₫pÈÈÈÈÈȰL/?O_32+"&=46)2#!"&=4632+"&=46)2#!"&=4632+"&=46)2#!"&=462ÈÈ¥¼ưD₫…ÈÈ¥¼ưD₫…ÈÈ¥¼ưDLÈÈÈÈ₫pÈÈÈÈ₫pÈÈÈÈ&,è  62"'&4?622Ñ;±üñ₫€±«Ư;±üđ€±«nnBB# "' "/&47 &4?62 62ˆ²₫ơ ²₫ô₫ô² ₫ơ²  ;³₫ô₫ô² ₫ơ²  ²₫ơ ÿëÅ™%I2"'#".4>"2>4&3232++"&=#"&=46;546™Ä³‚MN,m₫Ôwb´MMo³˜XX˜³™XX₫¼– -K - -K -– -K - -K™M‚³by₫Ơl+MM´Ä³‚MX™³˜XX˜³™# -K -– -K - -K -– -K -ÿëÅ™%52"'#".4>"2>4&!2#!"&=46™Ä³‚MN,m₫Ôwb´MMo³˜XX˜³™XX₫X^ - -₫¢ -™M‚³by₫Ơl+MM´Ä³‚MX™³˜XX˜³™‡ -– - -– -™°-32+"&5465".5472>54&&dd§̉[›ÖêÖ›[̉§g|rÅèÅr|°₫pá¦>₫Ù¸uÖ›[[›Öu¸'>¦7ÈxtÅrrÅtxÈd°°/?32+"&54632+"&54632+"&54632+"&=46– - -– -₫̃– - -– -₫̃– - -– -₫̃– - -– -° -û‚ - -~ -₫p -ư - -î -₫Ô -₫> - - -È -ú - -ú -––GO27'#"/&/&'7'&/&54?6?'6776?6"264X!)&1-†=+P˜˜P08†,2&+!)&1-†<,P —— P/:…-1&+x²~~²~–˜P09†,1&+"(&1,†=,Q——Q09†-0&* !(&0-†=,P˜₫™~±~~±d°!%)-1!2!2!5463!546!5#!"&53333333ô,); -û´ -;),,;)ưD);dddddddd;)d -KK -d);ddd₫Ôüà);;) dưD¼ưD¼ưD¼ưD¼ Ñ62++"&5!+"&5#"&l` -¯ -ú -₫Ô -ú -¯ -j`ư  -ưÁ - -w₫‰ - -? -dè°3!#!"&5463#"&=X;),üàRú°₫p);ưvL₫pú™™02".4>"2>4&3232+"&546ăêÖ›[[›ÖêÖ›[[›¿èÅrrÅèÅrr₫|2 -¯ - -ú -™[›ÖêÖ›[[›ÖêÖ›;rÅèÅrrÅèÅ  -₫í -2 - -^ -ÿœ° )#!3333ưæ)̣)ưæ¯Ñ¢Đ₫à₫p°₫Ô,₫p₫Ô,d°°/3232"'&6;4632#!"&546;2!546&È¿ ₫¹ & ₫¹ ¿T2 - -ûæ - -2 -„°₫>₫pÂüà -₫¢ - -^ - -¯¯ -™™12".4>"2>4&3232"'&6;46ăêÖ›[[›ÖêÖ›[[›¿èÅrrÅèÅrr₫|– -‰ - ß & ß -‰™[›ÖêÖ›[[›ÖêÖ›;rÅèÅrrÅèÅ  -₫í₫í -™™12".4>"2>4&%++"&5#"&762ăêÖ›[[›ÖêÖ›[[›¿èÅrrÅèÅrr₫çß -‰ -– -‰ - ß &™[›ÖêÖ›[[›ÖêÖ›;rÅèÅrrÅèÅ₫í₫í - -°°9!2#!"&'&547>!";2;26?>;26'.áî -º û´ ¹—ưÔ -W -– -& -ú -& -– - W° -ưt₫W  ©Œ -È ₫>  -˜ - -˜ -  ™™'2".4>"2>4&&546ăêÖ›[[›ÖêÖ›[[›¿èÅrrÅèÅrr₫‹ưư™[›ÖêÖ›[[›ÖêÖ›;rÅèÅrrÅèÅ]¾ $ ¾  ™°(76#!"&?&#"2>53".4>32³‡  -₫– …mtÅrrÅèÅr–[›ÖêÖ›[[›ÖuÀ$‡ ₫– - …LrÅèÅrrÅtuÖ›[[›ÖêÖ›[™°576#!"&?&#"#4>323#"'&5463!232>³‡  ₫— †ntÅr–[›ÖuÀë–[›ÖuÀœ†  h -…n‚tÅr$‡ ₫—  †KrÅtuÖ›[ư¿uÖ›[v† -h  …LrÅ -d°°/?O_oŸ!2#!"&546!"3!2654&32+"&=463!2#!"&=4632+"&=463!2#!"&=4632+"&=463!2#!"&=4632+"&=463!2#!"&=46} - -ûæ -Àü® - -R -ư2 - -2 -̉ - -₫> -¾2 - -2 -̉ - -₫> -¾2 - -2 -̉ - -₫> -¾2 - -2 -̉ - -₫> -° -û‚ - -~ -È -ü® - -R -d -2 - -2 - -2 - -2 -È -2 - -2 - -2 - -2 -È -2 - -2 - -2 - -2 -È -2 - -2 - -2 - -2 -L°#54&#!"#"3!2654&#!546;2„uS₫ÔRvd);;)„);;)ư¨È ÈSuvRÈ;)ư¨);;)X);––dLL 732#462#".'.#"#"'&5>763276}2 -dÀ!C@1?*'),GUKx;(.9)-EgPL -ûÍ3 -0₫[;P$ 9¶7W W°—!1A2+"&54. +"&54>32+"&546!32+"&546äè̃£c -2 -ä₫úä -2 -c£*    `    —c£̃t₫Ô - -,ÑrrÑ₫Ô - -,t̃£ưÀ ₫4 ̀ ₫4 ̀ ÓGƯ9%6'%&+"&546;2762"/"/&4?'&4?62A ₫₫ú - -úXx"xx"xx"ww".¬ -ư -¬ -^ -„x"xx"ww"xx"ÓrƯ/%6'%&+"&546;2%3"/.7654'&6?6A ₫₫ú - -ú̉ -`Z  HN.¬ -ư -¬ -^ -d ¡ g~„jÄb́1K3#"/.7654&'&6?6%6'%&+"&546;2%3"/.7654'&6?6Ç ‡D@ - *o;7 *ư‚ ₫₫ú - -ú̉ -`Z  HŃ ³ÙiËT "–²Z¬G !¾¬ -ư -¬ -^ -d ¡ g~„j °° !%-;?CGKO3#!#!#3!##5!!!!#53#533!3533##5#535#5!!#53#53#53!5!ôdd₫pdô¼ÈÈ₫ÔÈdXû´,,üàdd¼ddưDÈ₫ ÈdôÈdÈddÈ,ưD,ddd„dd₫ ddô₫Ô,„dddX₫ dÈ,,Èd₫Ô,₫Ô,Èddd₫ ₫ ôd₫ÔddddÈdÈ₫Ô,Èddd₫Ôddd °° #7#3#3#3#3#3!5!#53#53#53dddÈddÈÈÈdd,ÈÈüà₫Ô,ÈddÈdd,ÈÈÈèüèüèüèüèûPdd[[[[[ -¦°  "'463&"26ôª₫0ưV -C;S;;S;°ưV₫0ªÛ -Í;;T;; -̉° ! "'463!"/ &"26ôª₫0ưV -ª₫08¨ưD₫Ó;S;;S;°ưV₫0ªÛ -ưV₫08ª¼Í;;T;;d°°&!2&54&#!"3!2#!"&54?6,9K@ - -ưD@ -¼ - -ü® -‹°Kü|@ -¶ -@ - -üJ - -Ï‹ÈÿÿL° -!2 46ú ₫>₫>°û‚¼₫C°°EU!"3!26?6'.#"#!"&/.+";26=463!2;2654&!"3!26/.6₫D N9 - ->SV– -N -ưÚ -N -– - -– - -î - -– -₫±₫ -& -X - &° -₫Ól l- -₫p œ œ  -ưv - -– - -– - - -ư¨ -˜ - -˜ -d°L!)13232#!"&546;>35"264$2"&4ôÈ8]4$–);;)ü);;)– '3]Èd₫Ͼ‡‡¾‡₫ïV<?!©(% -₫_5,R₫y:" *2₫“8 ¬T¢¯ü2*BBW-̃‘Y". BB % îưZÉdđ°'2;#!5>54.'52%32654.+32654&+ñ50;*7Xml0₫ ); !×9uc>--₫‹Ni*S>vØPR}^Ÿ3:R.CuN7Y3(;  G)IsC3[:+ 1aJ);4ü®ePZÈo°!56764.'&'5mSB„ ,J₫ º­  °95(ü¹1(aaR@ 9ÿµ°%/#4.+!52>5#"#!#3'3#72 &È2₫p"È& 2èû›KK}}KK}„ ü®dd R ,Èüà§§ §!ÿµ°%/#4.+!52>5#"#!5!'7!5L2 &È2₫p"È& 2èC§üà§§ „ ưvdd  ,û‚}KK}}KK°L/?!2#!"&=46!2#!"&=46!2#!"&=46!2#!"&=462Xư¨èü üàLû´Ldd₫Ôdd₫Ôdd₫Ôdd°L/?!2#!"&=46!2#!"&=46!2#!"&=46!2#!"&=46ú¼ưD³Lû´Ư¼ưD³Lû´Ldd₫Ôdd₫Ôdd₫Ôdd°L/?5463!2#!"&5463!2#!"&5463!2#!"&5463!2#!"&ôXư¨₫pèüÈ üà₫ÔLû´¶dd₫édd₫édd₫édd°L/?!2#!"&=46!2#!"&=46!2#!"&=46!2#!"&=462Lû´Lû´Lû´Lû´Ldd₫Ôdd₫Ôdd₫Ôdd°L/?O_o32+"&=46)2#!"&=4632+"&=46)2#!"&=4632+"&=46)2#!"&=4632+"&=46)2#!"&=462ddA üà₫éddA üà₫éddA üà₫éddA üàLdddd₫Ôdddd₫Ôdddd₫Ôddddÿœ°L#*:J!#;2+"&=46!2#!"&=465#535!2#!"&=46!2#!"&=46dd–ddô₫ ₫ú§ÈÈÂ,₫ÔXư¨Ldd₫Ôddú}KdK¯dd₫ÔddL#*:J32+"&=46#3!2#!"&=463#'7!2#!"&=46!2#!"&=462ddgddü®ô₫ /Èȧ§ûæ,₫ÔXư¨Lddû´L₫ÔddÈdK}}¯dd₫ÔddȰè!2#!"&546 Kî,,ư,,„₫Ô,è,ưv,,,ưD,,°L!2#!"&5467'2"&4,Xû¨J÷*J%́ü̉pNNpNLü ôdư¶ƒœ>₫àôtNoOOoÛ6‘2.'&54>"264ˆuÆsFE²66 !^Xm)!fh˜H„uX£yHĂ‚¸¸™™2".4>"ăêÖ›[[›ÖêÖ›[[›KtÅrrÅ™[›ÖêÖ›[[›ÖêÖ›üoVrÅèÅruß5.54>6?6&'.'&76#&*IOWN>%3Vp}?T›|J$?LWPI¼)(!1 )  Huwsu‡EG€^F&:c—YE‡vsxvư₫!K‚:%A'# " -A)Y¶ Ël */7>%!2!"3!26=7#!"&546 7èl -lư27»₫);;)ô);È»£₫p¥¹¹8₫–¡7cơs* -sÈ »;)₫ );;)¶È₫´¥¹¹¥¥¹₫×₫–2ªc“L6!#"3!2657#!"&546&'5&>75>^i¤4Ă);;)ô);ȹ¥₫p¥¹¹S₫¬ 9dTX -.9I@F* L’6;)₫ );;)™g¥¹¹¥¥¹₫Ó₫Î Ë 0!;bA4̉ -L5!2!"3!26=7#!"&546 62"/&4?622^^ -ªÈ -₫ø -Ȫ -₫ü₫ø -¯È -₫ø -ȯ -–₫ø -È­ -₫ü₫÷ -­È -₫ø -È­ -  -­È -È„L326'+"&546údĐ₫0dL₫JÅüÅ₫Jè°L#3266''+"&5462dĐĐ₫0₫0dL₫JÅ₫JÅüÅ₫JÅ₫Jè°3''&4766°₫0₫́ĐüÅ₫Jà*à₫JÅÈ36 &546ó.ü̉2₫  ₫ èÈd„è32+"&546!32+"&546úÈÈ¥ÈÈèüà üà ÈdLè#!"&5463!2Lüà ¶üà 346&5&546ố₫₫0d¶₫ *₫ ¶₫;èÿ₫³O#72#"&5&5&5464646dd₫1₫2̉̉Nüµ₫: µ₫9 è ₫>¶ ₫=¶,èL32+"&5&54646Rdd₫0ĐLü¶₫;è₫;¶dȰH  #!"&762!2#!"&=46®ơ ûî ơ*ư÷èü9ưäưHddˆÿüuJ  u₫ `ÅưØ(„₫Ÿ₫ŸÆ(&;ÿü(J ' 7(ưÙÆa₫ŸÆ#ưÙÆaaÆ™™32".4>#"#";;26=326=4&+54&ăêÖ›[[›ÖêÖ›[[›}d––d––™[›ÖêÖ›[[›ÖêÖ›º–d––d–™™2".4>!"3!26=4&ăêÖ›[[›ÖêÖ›[[›E₫ ô™[›ÖêÖ›[[›ÖêÖ›₫~dd™™32".4>"'&"2?2?64/764/ăêÖ›[[›ÖêÖ›[[›å xx  xx  xx  xx ™[›ÖêÖ›[[›ÖêÖ›­ xx  xx  xx  xx  ™™$2".4>'&"2764/&"ăêÖ›[[›ÖêÖ›[[›T‹̣w‹™[›ÖêÖ›[[›ÖêÖ›₫1U‹ñw‹™™;K2".4>";7>32";2>54.#";26=4&ăêÖ›[[›ÖêÖ›[[›?2".4>#";26=4&#";#"3!26=4&+4&ăêÖ›[[›ÖêÖ›[[›–– - -– - -ú - -KK - -^ - -K™[›ÖêÖ›[[›ÖêÖ›V -– - -– -₫Ô -2 -È -2 - -2 - -°°/_3232++"&=.'#"&=46;>7546+"&=32+546;2>7#"&=46;. – -g— - -—g -– -g— - -—g¹ -– -Df¨ - -¨fD -– -Df¨ - -¨f° -—g -– -g— - -—g -– -g— -₫ͨ - -¨fD -– -Df¨ - -¨fD -– -Df™™?2".4>"2>4&"/"/&4?'&4?62762ăêÖ›[[›ÖêÖ›[[›¿èÅrrÅèÅrr@||@||@||@||™[›ÖêÖ›[[›ÖêÖ›;rÅèÅrrÅèÅZ@||@||@||@||™™02".4>"2>4&"/&4?62762ăêÖ›[[›ÖêÖ›[[›¿èÅrrÅèÅrrƒj₫ÀÊjOÅ™[›ÖêÖ›[[›ÖêÖ›;rÅèÅrrÅèÅ}j₫¿ËjOÅ™™!2".4>"&32>54ăêÖ›[[›ÖêÖ›[[›KtÅrAKiơư¸hstÅr™[›ÖêÖ›[[›ÖêÖ›;rÅtxiKAĐư¸>rÅtsS°ù6!2#!'&4' -&ưÚưöF« -₫ƯÈ₫Ư - « &S™ù &5!"&=463!46 -ưöưÚ&ñ₫U & ₫U -#È# -·]™ #!+"&5!"&762ª« -₫ƯÈ₫Ư - « &‰ưöưÚ& -·]°32!2"'&63!46&È# - ₫U & ₫U -#°ưÚưö -&·™] &5>746 -ưö^°¥$,[‡Ç~U₫U & ₫U -#$DuMi±qF -°°+!2/"/&4?'&6!"&546762R,^ùjù^₫!₫Ô^ùjù^°₫Ô^ùjù^ûP,^ùjù^IIgg+#!"&546762!2/"/&4?'&6öjù^₫Ô^ùư ,^ùjù^`jù^,^ùưñ₫Ô^ùjù^™™/2".4>#";2676&#";26=4&ăêÖ›[[›ÖêÖ›[[›³Đ:#6#:1– - -– -™[›ÖêÖ›[[›ÖêÖ›º₫̉.₫  -– - -– -°°IUaho276?67632;2+"!#!54&+"&=46;2654?67>;26/.'&;26!"&5)#! Ä &Ä0  -= - -2 -₫pÈ₫p -2 - -=  ¦ -Û - -3₫5±3 - -ç ₫‰ -X -₫‰° - v  v -!{,  -2 - -¯,₫Ô¯ - -2 -0€y¢ - -• -ª - - -ür -w₫‰ - ¯¦+I6.'&&&547>7>'.>7>&67>7>7>-Bla‹bD8=3™*U  :1'Ra\‡{À%&¢=>8\tYR-!q[Fak[)¦²₫ƯÈ•X1 ™"@&J<7_…?3J5%#/D &/q!!6ROg58<'([@1%@_U2]rÏO.>7'&767>.'&'.'&>77>.'&>' -'8GB  - - `H  >JS>H7 '+" NA -5M[`/Pg!;('2"&"IbYÏC€e\D9$ 886#1%)*ƒ‘§—J7gG:    8G\au9hªoK$œ]54<&"&5476&2>76&'&6?6&'&'.¤{nO9:On{¢{nO:9On{°ø°FZ  2Z_ƒˆƒ_Z2  Zưÿ# %8-#,- "F-I\b\I*I\b\I--I\b\I*I\b\IÜ9>|°°|;7Es1$F^D10E^E$1u$/D0 "%,IÿÜÔ°';L!#7.54>327377>76&'&%7.5476&6?'&'.P”[©vY,9On{R=A ”&/l‰'Pj˜R.Mv&  6ưQFZ  *HLh5)k|# %8- ,- "xatzbI\b\I-y₫RµUÖ4Zrnc­1ˆ?1FrEs1₫­₫»1) ù₫ù]@ €€ @]ù )1ES>L°'+/37;?CGKOSW[_c3232!546;546;2!546#!"&5353353353353353533533533533535335335335335Rd2û´2dôüddddddddddü|dddddddddü|ddddddddd°2––222₫pưîÈddddddddddÈddddddddddÈddddddddddw—%7&=#!"&=46;3546'#"&=463!&=#'73546oùùŸư¨₫ƯÑXñư©zÑ#ùùñµzŸæ*æ–ư¨dX–₫˜zd₫Mæ*æ–µz–°L!2#!#"&546dè);;)ư¬₫Đd);;L;)ư¨);₫Ô,;)X);dL° ?32!546!32!546".5!2>&54=–È₫ÔÑÈ₫Ô(LfœÀœfL(, '6B6'°úúúú₫p₫Ô)IjV\>((>\VjI),ú +'%! !%'*úÿÿÔL 'LÆ₫Ÿ₫ŸÅ'›Ça₫ŸÇ'îMÜ 7 MưÚưÙÆaaưÙ'Ç₫ŸaÿQd_è)!232"/&6;!%+!!"&5#"&?62”ê–æ*æ–₫ƒ₫æ–×ư–æ*èưÙùù‘¸ù₫pÈ&ù°032!2#!!2+"&=!"&=#"&/#"&468^&€d,!ư‡02*₫Ô*É6°¢%₫%+È*2222 -Á*°L !53463!2!!°ûPÈ;),);ưD°ûPèdd);;)ÈüàÜL 3463!2!!ÈÈÈ;),*:ô,₫ÔûP, ₫pX);;)ÈdưD¼Ek¯+32"/&6;#"&?62{æ––æ*æ––æ* ùư§ùùYùD¯k&=!/&4?6!546¨ùùư¨ùùX`å)å —— å)å •• °° !.#!"!"3!26=4&53353‘¬$ư`$¬-ü);;)è);;₫«dddÜ-(ưd;)d);;)d);Èddddÿœd°L #12"&54%##"+"&'=454>;%".=4>7i**dư]&/T7 È£ü" Lü®Rü™È₫́Qú ú₫Ôú )2( Jf°,53232#"./.46;7>7'&6327"&)^Sz?vdjŸO9t\U>/ v?zS$2451 7F8°%M₫¹­)(  -()­GM~ û¾1==œœ7'''7'7'7'77 àNê´´êNà-››-àNê´´êNà-››²Nà-››-àNê´´êNà-››-àNê´´d°°!-=32!2+"&/#"&54?>335!7532+"&5462(<H(<î,úF=-7‘` 1d–dˆÖú₫>2ưvdd°Q,–}Q,d-₫¨!2$'$ÄÆ(dÔƠ₫‰dw}á¯₫Ô₫ ô°L 0<32#!+"&/&546;632+"&546!#35'!5Xú,î<(₫¸<(21 `‘7-=|ưédd_ˆd–d22ÂúL!₫¨-d,Qv–,Q(ÆÄ$'$dd₫ ôd₫‰ƠÔ¯á}wdO7G%6!2+#!"&5467!>;26&#!*.'&?'32+"&546dkn  T.TlnTjƒ₫ª¦:d%ƒË₫8 -  ’VưOddiæp &yLN₫­(¢  % -H₫ YS(22·Sä₫ ôÿœd°O6F#!"&'#"&463!'&6?6*#!32!7%32+"&546Ûn ¬₫ªƒjUmlT.U  nJ’   -₫%Ư‚&j₫ªPddOæ ưó ¢(SNLy& p®·d(₫­Y÷́ä₫ ôaL7G2#!"&/&?>454&/!7%.!2#!"&=46̃NS(¢ ưó% - æp &yÆ22·Ś÷Y₫­(–ô₫ nTjƒ₫ª¦kn  T.TÖË₫8 -  ’V₫­d%ƒư ddÿưè-I!26=4&#!""&5&/&7>3!2766=467%'^ô₫ NLy& pæ  ¢(ư‰́S·22(SYLddüæjTnlT.T  nk ¦₫ªÏ₫­V’   -₫8˃%d%2".4>%&!"3!7%64ấÖ›[[›Ö́Ö›[[›†₫í₫í - -[›Ö́Ö›[[›Ö́Ö›₫9ß -‰ -– -‰ - ß &%2".4> 6=!26=4&#!54&ấÖ›[[›Ö́Ö›[[›%₫í - -₫í[›Ö́Ö›[[›Ö́Ö›èß & ß -‰ -– -‰ -%2".4>&";;265326ấÖ›[[›Ö́Ö›[[›Kß & ß -‰ -– -‰ -[›Ö́Ö›[[›Ö́Ö›₫@₫í₫í - -%2".4>#"#"276&+4&ấÖ›[[›Ö́Ö›[[›—– -‰ - ß & ß -‰[›Ö́Ö›[[›Ö́Ö›» -₫í₫í -˜˜–¦2".4>%&277>7.'.'"'&65.'6.'&767>'&>7>7&72267.'4>&'?6.'.'>72>äèƠ›\\›ƠèƠ›\\›d+: -=?1 " "/ ?9 #hu!$ 0 E.(,3)  (     -*!A 7 ,8 !?* - -˜\›ƠèƠ›\\›ƠèƠ›  ' "r"v G - .&* - r$>   #1  -   %  * - '"  $  g2( % - ¯…67'"/&47&6ô¤₫ư‘ûPM<†;ư¬+oX"O…\eè~Y‡+" ư¬n+WeÉ`°¬#'7;!2#!"&=46#3!2#!"&=46!!!2#!"&=46!!dè);;)ü);;ÈÈüè);;)ü);;₫ ôüè);;)ü);;₫Ô,¬;)d);;)d);ddÈ;)d);;)d);ddÈ;)d);;)d);dddL° !2#!"&46!–„ü|;È₫¢„°**ưD₫ÔÈôôd°°%32!2!5#!463!54635#!"&=ôÈ);,);₫ È₫ ;),;)Èô;)ü);°;)d;)₫pdd);d);dddưDÈ);;)Ȱ°+AW!2"/&546)2/"/&4?'&6#!"&54676276#!"&?'&4?622,^ÇjÇ^5,^ÇjÇ^₫/jÇ^₫Ô^ÇË^₫Ô^Çj°^ÇjÇ^,₫Ô^ÇjÇ^ư&jÇ^,^ÇÎ^₫Ô^Çj¨¨#;CK2".4>"2>4&$2"&4$2#"'"&546?&542"&4$2"&4Ụ̂ƯŸ__ŸỰƯ ^^ Æà¿oo¿à¿oo₫-- - L- 73H3)z ₫‡- - - - ¨_ŸỰƯ ^^ ỰƯŸWo¿à¿oo¿à¿ -!!- -! -‘$33$ 1~¤ - - - -ÿØZ¹¼[%676&'&#"3276'.#"&477>32#"&'&6767632'."Ơ[v_"A0?! ₫ˆ-  Y7J3$$ ₫«)G"#A.,= # (wn‹kV8@Fv"0DÿG([kPHNg8B₫*­Ö[eb›2!₫‰5(7>B3$$' ₫®)M"#!7)/c# *xn‰fL@9N¾DÿH7!$†W]µB₫$&dX¯DD>.54>"".#"2>767>54&‰0{xuX6Cy„¨>>§…xC8Zvxy#!?2-*!')-?"CoA23:+1! "3)@ +)?jµDH-Sv@9y€²UU²€y9@vS-H-&65&&56&oM8J41<*.0(@  )*D*2Om9ỵ̈w¾.2&/7'/&477"/&4?«»BB8"._÷₫{ÔiBBi - BB₫åBºBBB7._÷…¾BB^*k"5._ø₫{ÔjBºB₫Fi BºB₫åBBB»B77/_ø…Èè°2#!"&54>!"264ªd:;)ư¨);X₫ÿV==V=°.2üG);;)¹3-ªưD¼ư=V==V°° "/''!'&462†*$₫éÔ₫̀₫èË3̉, #*¡₫æ*#₫ơ₫Ổ₫ÍË4Ô$*' à2@K#.'#5&'.'3'.54>75>4.¼&ER<,Ÿ 3'@"‹ª MOW(kVMbO/9X6FpH*M₫6&+Đ₫Ê  4C4%df”­J2#4.#"3#>36327#".'>7>'#53&'.>761T™^™'<;%T)ñÅ-6"b Œ"S5268 jt&'V7  0 $Ư¦ --$a­P‹N(?",9J0* d2‚>2 -"“" ‘  -7Gd/9+DAL!Xÿÿ—°32"/&6;3+##"&?62–æ*æ–Èæ–È–æ*,úú„ùü|„ùÿÿè°%#5##!32"/&6;3353!57#5!èddd,ư¨–æ*æ–È‘dcÈÈ₫ÔÈÈ,¼ddôü|úú„dÈÈưúd–údÿÿè°!%32"/&6;33!57#5!#5##!35–æ*æ–ÈXÈÈ₫ÔÈÈ,ddd,Çd,úú„–úd–údûPddôdÈÈÿÿL°32"/&6;3##53#5#!35–æ*æ–ÈXddÈddÈ,Çd,úú„₫ dûPddÈÈÿÿL°32"/&6;3#5#!35##53–æ*æ–ȼdÈ,ÇdddÈ,úú„₫ ddÈÈû´dÿÿ°°32"/&6;3#53!5!!5!!5!–æ*æ–ÈôÈÈd₫Ô,d₫pd₫ ô,úú„ÈÈ₫ È₫ È₫ Èÿÿ°°32"/&6;3!5!!5!!5!#53–æ*æ–È ₫ ôd₫pd₫Ô,dÈÈ,úú„ÈÈ₫ È₫ È₫ ÈLL!2#!"&546!"3!2654&^¢¼»£₫p¥¹¹g₫ );;)ô);;L»£₫p¥¹¹¥¥¹È;)₫ );;)ô);LL+!2#!"&546!"3!2654&&546^¥¹¹¥₫p£»¼d₫ );;)ô);;₫oưưL¹¥₫p¥¹¹¥£»È;)₫ );;)ô);‚¾ $ ¾  LL+!2#!"&546!"3!2654&!2"/&6^£»¹¥₫p¥¹¹g₫ );;)ô);;₫ ¾ $ ¾ L¼¢₫p¥¹¹¥£»È;)₫ );;)ô);ÈưưLL+!2#!"&546!"3!2654&#!"&?62^¥¹¹¥₫p£»¹g₫ );;)ô);;₫û¾ ₫p ¾ $L¹¥₫p£»¼¢¥¹È;)₫ );;)ô);ÏưưL5!2#!"&=463!2654&#!"&=46&=#"&=46;546&¥¹¹¥₫pÂ);;)₫>¿D₫¼úúL¹¥₫p¥¹d;)ô);dé₫ä&₫ä -–È– -Ù×#%2"+'&7>?!"'&766763 ˜,₫÷₫ó  P''₫̉ -K »  - ₫S#₫Ê₫Å  ånnV/Ó₫L5!2#!"3!2#!"&546&=#"&=46;546^₫>);;)Â₫p¥¹¹ñD₫¼úúLd;)₫ );d¹¥¥¹é₫ä&₫ä -–È– -°°1!2/"/&47'&6#"3!26=7#!"&5463!îm₫È)8m₫ïœ);;)ô);È»£₫p¥¹¹¥,°₫pm₫È)8m₫Ô;)₫ );;)”È₫Ö¥¹¹¥¥¹¢¢#2".4>"2>4&2"&4áîÙ]]ÙîÙ]]ĂæÂqqÂæÂqq₫{ rr r¢]ÙîÙ]]ÙîÙGqÂæÂqqÂæÂsr rr L°#3232"'&6;46!2!54635ÂÈơ -₫' ₫… ú₫…èû´gd°₫¢₫Vª^ü|úúd22L¬# ++"&=#"&7>!2!54635Gz -ô"Èú 'ưùèû´gd₫M úú!¯üúúd22LK" 62"'&4?62!2!54635Œq‹ưó₫Ü‹Ôèû´gdÓq‹ưó#‹ửúúd22L› #'762'&476#"&?'7!2!54635‡*MÔM̉ư«ĐÔ₫=èû´gdÿMÔL*̉ư©Đ›Ôư:úúd22L°#'/'7'&6"/&4?!2!54635^WЛԛ̉ĂL*M₫úèû´gd°ư«ĐỔưPM*M₫Xúúd22ÿ́°¯% ! °₫₫Æ₫q¬ư3«g₫q§üùæ¹dL°+!#"&546;!3#53L–ưD–úôdÈddèü®₫pè₫Ô,ÈÈEƯ°/'&"!#"&546;!3#53"/&4?6262L₫Ơ_  •₫È–úôdÈdd°j₫\ÊjO)è•₫Ơ_ “₫pè₫Ô,ÈÈưÎj₫[ËjO) °>'.!#"&546;!3#53"/"/&4?'&4?62762Lg†%₫ö₫·–úôdÈddöFƒƒF)ƒƒ)FƒƒF)ƒƒ)è₫óg†₫ö₫pè₫Ô,ÈÈưŒF)ƒƒ)FƒƒF)ƒƒ)Fƒƒ—°/!"!#"&546;!3#533232"/&6;546L₫¢₫ –úôdÈdd–d–æ*æ–è₫Ô–₫pè₫Ô,ÈÈư¨úææú—°/'&"!#"&546;!3#53++"&=#"&?62L¥*₫ù₫n–úôdÈddëæ–d–æ*è₫p¥₫÷₫pè₫Ô,ÈÈư…åúúåȰL !2!546#!"&5!52LûP“û´dL––₫ÔưÚ&₫ÔÈÈ}­—-1;&=!5!546#"&=46;#5376!!/&4#5;2+§øø₫pư/22Èdd₫‚÷₫p÷ddd33æ*æ–È–₫…dÈÈưËæ–È–æ*yÈdd°°Q%6+"&5.546%2+"&5.54>323<>3234>^%È"%₫á -È" - d d 1tû®5gD‘ ₫>?1) ₫A¿..@  ₫¢^  ₫¢^ d°L3"!5265!3!52>54&/5!"!4°"2₫pK₫ K₫p"2KôKL8 -üˆ88 %₫v% 88 -x88 %₫v% 8LL  $(4!2#5'!7!!2#!"&546!55%!5#!!'!73£wi₫ÙÈ₫pdw₫%,);;)₫Ô);;),¼₫pü,¼₫‰d₫‰dÈiè–bbÈdÈ;)₫ );;)ô);dÈÈ₫÷…£…ÆÈÈføddÈŸŸ&767>".'.7¢.‹wfüw3À£ .1LOefx;JwF2 ï¢Â1vüevˆ/¢ 5Cc;J™|sU@°L#A2/.=& &=>2#!"&=46754>ü¸¦ud?, Ê₫ÂÊ 1;ftÊpR&mû´m&L!((" - -È""’’""È '$+ ₫ä - -2₫Ñ2ÔÔ2/2 !°° '!'3353353!2+!7#"&46!2!546LÈư¨ÈÈÈÈÈÈü®¼ ‰üJ‰ ³LûP¼ÈÈôÈÈÈÈüà*dd*₫Ô22d°L #"!4&#"!4&!46;2¼d);,;gd);,;ư₫Ô;)d);L;)üè);₫Ô;)ưD¼);üà);;)ÿœ°L%)!2#!"&546!#3!535#!#33ȼ|°°|ưD|°°„₫ ÈÈ₫ÔÈÈ,dÈÈddL°|₫ |°°|ô|°ÈưD¼Èd₫Ôdd,d₫Ôdôd₫Ô,ÿœ°L%)!2#!"&546!#5##3353#33ȼ|°°|ưD|°°„₫ dddddddÈÈddL°|₫ |°°|ô|°ÈưD¼ư¨ÈÈôÈÈd₫Ôdôd₫Ô,ÿœ°L#!2#!"&546!#3!!#3!!ȼ|°°|ưD|°°„₫ ÈÈ₫Ô,ÈÈ₫Ô,L°|₫ |°°|ô|°ÈưD¼È₫Ôdôd₫Ôdôÿœ°L!2#!"&546!- ȼ|°°|ưD|°°„₫ ₫Ô,₫ÔL°|₫ |°°|ô|°ÈưD¼₫ ––––,ÿœ°L )!2#!"&546!!!#";32654&#ȼ|°°|ưD|°°„dưD¼d‚&96)‚₫ ‚)69&L°|₫ |°°|ô|°ÈưD¼ư¨ôdVAAT,₫ÔTAAVÿœ°L%)!2#!"&546!#3!535#!##53#53ȼ|°°|ưD|°°„₫ ÈÈ₫ÔÈÈ,ddÈÈddL°|₫ |°°|ô|°ÈưD¼Èd₫Ôdd,₫ d₫ dÿœ°L#'!2#!"&546!3!3##5335#53ȼ|°°|ưD|°°„ưDÈ₫ÔdXddÈư¨d,ddL°|₫ |°°|ô|°ÈưD¼È₫pô₫ dÈÈÈ₫Ôdÿœ°L"&!2#!"&546!#575#5!##53#53ȼ|°°|ưD|°°„₫ ÇdÇÈ,ddÈÇddL°|₫ |°°|ô|°ÈưD¼₫pÈ2È–d₫ d₫ d §§%2".4>"2>4&!!!'57!àđÛ^^ÛđÛ^^ÅäÂqqÂäÂqql₫Ô,₫Ôdd,§^ÛđÛ^^ÛđÛLqÂäÂqqÂäÂĐÈddÈd §§'+2".4>"2>4&#'##!35àđÛ^^ÛđÛ^^ÅäÂqqÂäÂqql2ddd–d,Èȧ^ÛđÛ^^ÛđÛLqÂäÂqqÂäÂĐd2d2dddddỵ̈ÿÂA 62632+54&#!"#"&5467&54>3232"/&6;46÷nµ,,.xªªx€₫ỖPpVAbªz– -‰ - ß & ß -‰Awa­ñ­úúsOEkdªbư³ -₫íôô -ỵ̈ÿœĂA32632&"#"&5467&54>++"&5#"&76762ön¶,+.yªxZ₫† % ₫ƒ OqVAb©æß -‰ -– -‰ - ÇAwa­xc¤h₫“sOEkd©cư’ä₫í - -̀dLm%5!33 33!#"!54&#¼₫̣ª₫̣ª₫Ô₫Ôª₫̣ª₫̣2dd,,M₫³₫Ô₫Ôd22y7›/2#"'2!54635#"&547.546324&546X^“Y{;2 iJ7-₫Ô-7Ji/9iJ£›qYƒZ=gJiû22ûiJX5Jit£'‰œ*BJb{"&'&7>2"3276767>/&'&"327>7>/&'&&"267"327>76&/&"327>76&/&̣oOOoSÙÜÙSoOOoSÙÜÙ₫=y±" $GF`   Pu "Q9   ùcŒccŒcVQ:   Pu "GF`   y±" $̣o₫Ơ₫ƠoSWWSo++oSWW"±y  `FG # ‘uP  :Q # úccŒcc:Q # uP  $`FG # "±y  dè° "!#5!!463!#53'353!"&5+¼,´₫¬₫„ -?,Èd¢ÔÔ¢d´₫u -„ -Ă ₫„ÈÈó -₫ÔÈüàÔÔÈ₫  -‹ÈĂ -dè° !! 463!#5##5#7!"&=)+5¼,₫¢ưÚ -?,È>¢d¢Ôª₫ -| -› ưø^ưÚG -₫ÔÈü|ÈÈÔ₫d -77 -P°ô#3!#732!!34>3!!¢dd₫Ô¢ÔưÈ!,ư¨Èd!sđđüà,ô Èd,ÔÔ+$d₫¢Â$+₫p₫pôLL293232#!"&=46;54652#!"'74633!265#535d2₫Ô2s);;)ư¨ö₫º;)X>,>Xư´ÔÈÈL2dd2ú–;)üà);öFD);–>XXưæÔ¢d¢d¼L6=3232#!"&=46;54652#3#!"&54633!265#535Âd2₫Ô2s);ÈÈ!ư¨);;)X>,>XœÔÈÈL2dd2ú–;)₫ ₫Ô$+;) );–>XXưæÔ¢d¢ÿ¢Ô  #!"&762#";2676&35’} ,û, }@DĐ:#6#:àÈ­û°&77&P'₫L₫̉.₫ dd LL/?O_o32+"&=4632+"&=46!32+"&=4632+"&=46!32+"&=46!32+"&=4632+"&=46!32+"&=46!32+"&=46©ú - -ú - -ú - -ú -ú - -ú -üêú - -ú -ú - -ú -ú - -ú -üêú - -ú -ú - -ú -ú - -ú -L -– - -– -₫Ô -– - -– - -– - -– -₫Ô -– - -– - -– - -– - -– - -– -₫Ô -– - -– - -– - -– - -– - -– -°)33#!2!&/&63!5#5353!2+!7#"&46!2!546¼dd^>1B)(üü()B1>^ddÈ₫>¼ ‰üJ ³LûP°ÈdO7„S33S„7OdÈdü|*dd*₫Ô22°+52#4!!2!'&63!&54!2+!%5#"&46!2!5460P9Â<:H)"¯ưZ²" -)H¯¼–üJ–³LûP;))%&!‘‘!&₫•*ÈÈÈÈ*ư¨22°$.2"&432!65463!2+!7#"&46!2!546 –jj–j·."+'₫¼'+#₫ͼ üJ‰ ³LûPj–jj–₫ë9:LkkL:9₫r*dd*₫Ô22°,62"&5477'632!65463!2+!7#"&46!2!546X/[3oœo"o£"."+'₫¼'+#₫ͼ üJ‰ ³LûPk‹6NooN>Qo£₫ -9:LkkL:9₫r*dd*₫Ô22°",!!.54>7!2+!7#"&46!2!546X,₫Ô%??Mưî<=BmJ₫¢¼ üJ‰ ³LûP°¡‹9fQ?HS½TT¡vKü~*dd*₫Ô22Èè)2!546754!2#3#3#3#!"&546/R;.6₫p6.d6\¬ÈÈÈÈÈuS₫pSuu;)N\6226\N)₫G6.dddddSuuSSudÿÿLL/3!2#!"&546!2#!"/!"&4?!"&=46!'–„ü|¶ - -₫åà % XưôW & à₫ß -ªdDdL₫ ôưD -2 -à % XX % à -2 -ddd°L#-7!2#4&+"#4&+"#546!2!46+"&=!+"&=È Sud;)ú);d;)ú);duè);ûP;ñdèdLuSÈ);;));;)ÈSu₫ ;)₫Ô,);₫ 2222©¬  !&4762 !2!546ઃ₫ưû 'Y₫¬V/₫«¢ ü|ưUYƒY(₫n₫ª0Uü22!°/.#!"3!26=326!546;546;33232!½'₫p'½q*}¨ư­20È/2‡ú₫––ưŒ22,₫Ô2°° "!#!5463!#5!#!"&5463!#5„, -₫‰₫Ô -w,Èư¨, -ưv - -w,È ưÁ -O,T -₫ÔÈ₫ ưÁ - -¶ -₫ÔÈÿœdGFV32676'&7>++"&?+"'+"&?&/.=46;67'&6;6#";26=4&äĂKjI C - - - )V=>8'"d 1*Ă) "dT,Ÿ| -oËtEú - -ú -GAkI -! "% ,=?W7|&êF@Je5&2WO_e_ -2 - -2 -ÿœÿæ~ $4<Rb%6%32!2&'&#!"&=46#";2654&'&"2647>?&/&6%?6'.'.§. ‹ü+jCHf7ư" *:₫Ô>XX¹P*† €@--@-₫˜ -?0 !3P/|)‚( )f!% = „÷ &* xÈ"6Ô2&„CX>È>X¬83 DÉ-@--@₫Û‚ -# ³=I+E( /—/}X&+ 5!H d9°Q`o322#+"&=#+"&=#"&=46;#"&=46;546;23546!2>574.#!2>574.#q– -Oh ..40:*"6-@# -– -d -– -¯ - -KK - -¯ -– -d×)  )₫ùk)  )° -m!mJ.M-(2N-;]<* K - -KK - -K -– -X -– -K - -KK -₫ÔÈ -"₫pÈ -"°®),!2#!"&'.546"!7.#Ô Vz$RưÄR‚(z Œ}VG+œ0œ )IU!Ă®zV₫`3·BBWwvXZÅ3 Vz™&--% óó,(1#₫ÂÈ„32#!"&546+"&=Û–g¬T)₫>)T¬H6–6¬g₫ )TT)ôg¬üá66áÈ„33#!"&546+"&=Û`³–T)₫>)T¬H6–6–³₫B)TT)ôg¬üá66á %'5754&>?' %5%ư‚₫†Nd––d/“‚\₫¢₫¢^^ÿ₫åª<à–Ç”•È–ú  -(Aưb¦¦“¥¥dô° 2"&4$2"&4$2"&4¼|XX|Xè|XX|Xè|XX|X X|XX|XX|XX|XX|XX|¼L2"&42"&42"&4è|XX|XX|XX|XX|XX|XLX|XX|₫ÈX|XX|₫ÈX|XX|ddLL/!2#!"&=46!2#!"&=46!2#!"&=46}¶ - -üJ - -¶ - -üJ - -¶ - -üJ -L -– - -– -₫p -– - -– -₫p -– - -– -°°/3!2#!"&546!"3!2654&!2#!"&546!5^ô¢¼»£₫ ¥¹¹Ëư¨);;)X);;ư±ô₫ G°»£₫ ¥¹¹¥ô¥¹È;)ư¨);;)X);d₫Ô,dÈÈdd°L;!2+32+32+32#!"&46;5#"&46;5#"&46;5#"&46–è222222ü222222L*È*È*È**È*È*È*,è£ *.62"&%#462"&%#46"&=32W??WW??₫ù|°|°¼°|°ưÀ|°|°¼°|°°*(£C²²BB²²₫À°|°||°|°₫Ô°|°||°|°₫ÓÿµÈ”B76+2+"47&"+".543#"&'&676/!'.6éE*  '?)’¸ -T ¸0I' *L -#3¶{¶,# -n₫Ù  6F82 ₫à*5#"#!#4.+3#525#"#5!°2 &È2₫p"È& 2èưD -d È2d -ô„ ü®dd R ,ư -₫W 22© -–L® 05"'./#!5"&?!##!"&=463!2è₫ßE₫Ô  1;E%= !'₫́†y±üè,2 " - ëư# 22+.°¦"A2‡V₫ªưădd°°GJ!2#!"&546#"3!26=4&#"'&?!#"3!26=4&'"'&'#&#2Lû´FF ₫Ơ&  7 - -? -9   9 ₫àÅg°û´LR ư  2 2 £™ 2 2 $́ ₫°°#'!5!!2#!"&546)2#!"&546!°ûP°û‚₫pm₫pG,LdÈü|„₫pd₫Ô,°°#'!2#!"&546!2#!"&546!!5!2₫pm₫pG,ÈûP°°ü|„₫ ₫pd₫Ô,ư¨dd°è'+!235463!23##!"&=##!"&546!2ddd₫pd₫pŸ,è₫¢––d––₫¢ ₫Ô₫Ô,°°'3#3!2#!"&546!!2#!"&546ddd–₫pG,₫¢„ü|°d₫pd₫Ô,₫ ₫pdL°'+32+!2#!"&5463!5#"&546;53!X––Âü|^––dÈ,L₫pd₫pddÈ₫Ô,°°'!#3!2#!"&546!!2#!"&546°ddưv₫pG,ü®„ü|°d₫pd₫Ô,₫ ₫p,0o€ #"&54632a₫î5₫è₫*A2„~ 6'&4Oî**₫{î)ü)î*2A~„ !2"'&6dè)₫*₫„*₫î*2,~o #!"&762{î)ü)î*a₫**î°( -5-5!5!¼ưL₫c¨üà å¶₫½ƯÁÁƯûØÈd°° 1#3!35#5!34>;!5".5323!°ÈÈ₫ÔÈÈ,ûP2 &d2"d& 2üà„dd,dd₫  ưÚdd & ,Lè%1#4.+!52>5#"#!#3!35#5! 2 &d2₫p"d& 2 ,ÈÈ₫ÔÈÈ,¼ ưÚdd & ,üàdd,ddÈfrJ32 +"'&476½  - ₫0Đ -  -₫)× -J ₫0₫0  ×× >fèJ32+"&7 &6S  -×₫) -   - Đ₫0 -J ₫)₫)  ĐĐ fÈJr"'&=46 4 ₫)₫)  ĐĐw -  -₫)× -   - ₫0Đf>Jè ' &=4762j×  ₫0₫0  ×á₫) -   - Đ₫0 -  -×Ùÿù=°:#463267>"&#""'./.>'&6è°|°₫Vd&O "(P3G*+*3M, :I G79_7&%*>7F1“ °|°|°ÈÂ5KmCKG\JBktl$#?hI7 ÀÈ„°!2+&5#"&546!5úX–ÿ–«,°₫p₫ ² dddÈL°!2%!#4675úî'=ưDXưDd d°Q,ü[u¶}ü4ư]ddMoĂ__<ơ°Đvs—Đvs—ÿQÿœÜÿ…ÿQ₫ÔÜ£¸(°°d°°°p±EØØ¢HE°d°{°È°Èô°ỵ̈°°°ÿđ°°° °d°ÿÓ°ÿÓ°°°°°°&°n°°°°d°°d° °d°°ÿœ°d°°°°°°°d°°d°°°°°°°°°d°È°°°5°d°È°ÿµ°!°°°°°°ÿœ°°°°Û°°u°°°° -°È°°°È°È°È°°ÿ₫°,°d°ˆ°;°°°°°°°°°°°°°·°·°°°I°°°°]°ÿܰÿܰÿŸ°d°°°°d°ÿÿ°°ÿQ°°°°E°°°ÿœ°J°°°°°ÿœ°a°ÿư°°°°°°Ä°dÿØd9È'dÙdddÿœÿœÿœÿœÿœÿœÿœÿœ ỵ̈ỵ̈dy'dddÿ¢ÈdÿœÿœdÈÈddd,ÿµd,A22È>ffÙÈÈ****²èèNNNNNNNNNNNNNN¤"~†¬äFnŒÄ2b¢Ü\ºrô bÊb¾ 6 „ ¶ ̃ -( -L -” -â 0 Ê  X * ^ °h´(¦æTª*v¶ -8|ÀtĐ*Ô<῭6`°₫R¦.j–°à₫(h”ÄÚî6h¸ö^´2”âDl”¼æ.vÀb̉ F ¾!2!v!¸"@"–"¸##"#8#z#Â#à$$0$^$–$â%4%`%¼&&~&æ'P'¼'ø(4(p(¬) )̀*&*J*„+ -+z,,h,º,́--ˆ-ô.(.f.¢.Ø//F/~/²/ø0>0„0̉11`1®1è2$2^22̃3"3>3h3¶44`4¨4̉5,55è6>6|6Ü77N7’7Ô88B8†8È9 -9J9ˆ9̀::l::̃; ;Ü<:>Œ>Ô?(?n?ª?ú@H@€@ÆAA~BB¨BîCCBCvC CÊDD`D®DöEZE¶FFtF´FöG6GvG¶GöHH2HNHjH†H̀II8I^I„IªJJ.JR§@.Æ j (| ¤ L² 8₫ x6 6® ä ú $ $4 $X È| É0’ ÙÂwww.glyphicons.comCopyright © 2014 by Jan Kovarik. All rights reserved.GLYPHICONS HalflingsRegular1.009;UKWN;GLYPHICONSHalflings-RegularGLYPHICONS Halflings RegularVersion 1.009;PS 001.009;hotconv 1.0.70;makeotf.lib2.5.58329GLYPHICONSHalflings-RegularJan KovarikJan Kovarikwww.glyphicons.comwww.glyphicons.comwww.glyphicons.comWebfont 1.0Wed Oct 29 06:36:07 2014Font Squirrelÿµ2 –  -   ï !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰‹Œ‘’“”•–—˜™›œŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ  -   glyph1glyph2uni00A0uni2000uni2001uni2002uni2003uni2004uni2005uni2006uni2007uni2008uni2009uni200Auni202Funi205FEurouni20BDuni231Buni25FCuni2601uni26FAuni2709uni270FuniE001uniE002uniE003uniE005uniE006uniE007uniE008uniE009uniE010uniE011uniE012uniE013uniE014uniE015uniE016uniE017uniE018uniE019uniE020uniE021uniE022uniE023uniE024uniE025uniE026uniE027uniE028uniE029uniE030uniE031uniE032uniE033uniE034uniE035uniE036uniE037uniE038uniE039uniE040uniE041uniE042uniE043uniE044uniE045uniE046uniE047uniE048uniE049uniE050uniE051uniE052uniE053uniE054uniE055uniE056uniE057uniE058uniE059uniE060uniE062uniE063uniE064uniE065uniE066uniE067uniE068uniE069uniE070uniE071uniE072uniE073uniE074uniE075uniE076uniE077uniE078uniE079uniE080uniE081uniE082uniE083uniE084uniE085uniE086uniE087uniE088uniE089uniE090uniE091uniE092uniE093uniE094uniE095uniE096uniE097uniE101uniE102uniE103uniE104uniE105uniE106uniE107uniE108uniE109uniE110uniE111uniE112uniE113uniE114uniE115uniE116uniE117uniE118uniE119uniE120uniE121uniE122uniE123uniE124uniE125uniE126uniE127uniE128uniE129uniE130uniE131uniE132uniE133uniE134uniE135uniE136uniE137uniE138uniE139uniE140uniE141uniE142uniE143uniE144uniE145uniE146uniE148uniE149uniE150uniE151uniE152uniE153uniE154uniE155uniE156uniE157uniE158uniE159uniE160uniE161uniE162uniE163uniE164uniE165uniE166uniE167uniE168uniE169uniE170uniE171uniE172uniE173uniE174uniE175uniE176uniE177uniE178uniE179uniE180uniE181uniE182uniE183uniE184uniE185uniE186uniE187uniE188uniE189uniE190uniE191uniE192uniE193uniE194uniE195uniE197uniE198uniE199uniE200uniE201uniE202uniE203uniE204uniE205uniE206uniE209uniE210uniE211uniE212uniE213uniE214uniE215uniE216uniE218uniE219uniE221uniE223uniE224uniE225uniE226uniE227uniE230uniE231uniE232uniE233uniE234uniE235uniE236uniE237uniE238uniE239uniE240uniE241uniE242uniE243uniE244uniE245uniE246uniE247uniE248uniE249uniE250uniE251uniE252uniE253uniE254uniE255uniE256uniE257uniE258uniE259uniE260uniF8FFu1F511u1F6AATPĂwOFF[€±\FFTMXm*—ÜGDEFt DOS/2”E`g¹k‰cmapÜÀrÚ­ăcvt œ(øgasp ÿÿglyf¨M”¤}]ÂoheadQÀ46M/ØhheaQô$ -DhmtxROt̉Ç `locaS`'0oû•ÎmaxpUˆ jØnameU¨¢³, ›postWH- -Ѻ£å5webf[xĂTP̀=¢ÏĐvuĐvs—xÚc`d``àb `b`d`d’,`HJxÚc`féfœÀÀÊÀẦĂt! -B3.a0bÚ䥀 ‰êîÇàÀ đÿ?óÿ@u" Ơ@aF$% - Œ1– xÚí”?hSAÇ—¤iSÄÆ₫‰mß½44±­Đ,qÊPKƒ q̉ ̉XE]²(2 ‡.¥Ô©ƒ]´‚ "EœD· -­¥¹ßi]DÔ¡ZJơù½\µº8ùà“Ïï½wïî›w¿„ˆˆÈV"±F¦pUÔ¯û×â.Χ(ƒg’KĂ4O n«;âN¸‹îR{¼g`'!ÛÉP²MùUHEƠ J«¬Ê«‚*ª²ªªYq”9Ícœå<¹̀Uá9Ô!ÑQÓIÖY×…-Ïó°¢KCơ•è+ Ơ¤ÂÊU)•Q9¬4©Jª¢¦Yp˜]Nq†Ç9Ç.q…§yVV -ën¬×)Ñ9»’÷Ê[ơÎ{“ª¥öºv¿V¬å×›Ö¾¬ö­FWb++{Ư>·×¸a|ă€ü*·ägùQ¾•̣¼,Ḳ‚<'ÏÊỌ́¤W@ơEx̀¢¾DÄÈĂ&ĂUØd¸#› ËÈÀ&Ă x ơMx˜<·aäa“çŒ,l2<€‘M†Ç02°Éđ6óΠ^†‘…çP¿$̉6{¸‡,´#›ÆĐ{ MÎwp̀Bïá8H¢₫#³6™7adÖ&'~‰95r -3wÁ"Đ[Et’ØÜW‡:ưÓ­:$"ô™>2Íÿcÿ ̣5*ß.ưlŸôÿäN ₫/öÿø₫h₫‹±Á]GtưéTèßßÑ(øÿÿxÚŽ |Ơµ0>wÖm#Y¶e[’%Ỹ-YR'rö„ÄYÈj¶°D% ,@ØBØKZjHÙÚ¤@b¥¥¤-…RôÊë+¥nûhK›~¯åË룼–¦¥$Öä;çÎhµèëÿư₫^fîܹsï¹çnçœ{ι Ë´0 ¹Œkb8Fd:Ÿ%L×”Ă"Ïü1₫¬AøƠ”Ă AæY£Œ>,ÈØ”Ăă€#œp„ZÈ4ơØŸ₫Ä5maßd“e²ü ?ÈœyÇ=¤øI:C‰Ç “DÜăơ(nI¤xˆL ‘.1¢!„P'™JD‰t‘Hj€@L4’́…P†ô“h' )Èb̉)vHX,fù1Ñc\'²âcGÍÖÀ±„u˜>ëŒñ1Ù ~Âtüà?ññ„éø!x¡øÁT_qâ?qB‡ÛĐF‚‘¤#ŒL%½©DÀÑ›"¯ä?Y­øưºÇ¯ÀƒºÈj??8>NÑSkem„²¦AY³µ²Db¡4 ÙJ)¤•;•@¹j“ÅP$ -˜ï'qh®8`›ë;aŒêXÍĂ6CùFâ*„dËYưcá±Ú"ÔŒ‚ù„Ïù£Ûø'?hÆL¬Vă—ŒÖ,½>c‘eË3eV¹̉h† =Cû‘À†éÇ~äơxC½\((qb@ ¸4đ‰x†K&h×Î ¥©4\2ºÇ±6N1|-Ô;­Ïëj›ï–É YuÔ@†ájêî›Ñ«xú¦ơ†i¸ä§₫mKó ëÛÙDøEöw¦q3ÿ̀·.»¼cAw@¶4t.găñ́ükg´Ér°{~ÛÓWl~¬{ÿÖlW2»êöđ} Ă27Đ6a2̀\€6o”z@³$´ñ¡̃ëHÄSÉ̃Hˆ «g®›Ñí±bơtÏX7ó0KtỖc1Á,«Ơ7—Ḅ oLëè˜ÆÔ6Ä·6[,–æÖ%ñiáZ ¿‡,’l>T†p̣K³œSGg¬\> ñ#»øAö#3Œ«ØEµy‚kÂî6v®́Úçè…Áºç†;u3Ó!ZIÎ8́˜M†k?³8¶C˜£Wq{`́C*‰Đh>HÜ1¿_söÙkấh)œ›®ojªOO'» -!~dXñgÏûB(ô…ó†ưÊ0< kOYxÊe§¬©±Æ§Ä­5k¦ —=d ă²đÓϧ> íü+ütÆCç-o -Ǫ†„/äĂơ_koïܶÿ¶¼sñƠ+f°ÿÎOßz±tpÛu7-™}…dơí₫9Å sàˆ©e Œ³\9.H4’!0¥S\ ʱk2™ï"?ip7œ\2z§ÙÔÔl̃°Ñt=¹î…Wùç\!ûKyOXimUẤ¾nov›́ ÛÇ6²:½èå 2Æ óLZkAưAÍ^âqCæ™̃” &PæˆïaFÆê¥Iª0Üă>₫&ïù…Q #F£Qư»Ñlæ> A³·q*˜O‚á­ưăÏÿ‹ÑȦæ_@27¦̀lÄ,¨‚s₫ø‰Ñè¾fÈ ¾6âp7üÜ©?úÿM₫›Œ‰±1vˆA˜Ü2‰¦]$j"‚‹;‘vÛlk~va0¿ûǵ¥j£úÜz₫›¶ƯRD:ÿg©×濱cë6’ÅÅywú%ôgâ(Ă¾ƒØ#'´ÎuBµ̣#́=ù_@?ƒ>ÆFØưVbŒ0aá!¬aL4tXv¼¡ü:ÅFööh÷²9‹ïj^µx̃Œü¾¡ézĐÏ}´Wn}7}¶×»j“¯ÆÎÎïi½H©­¿º¶ÆÁ̃i¥ưÅtêïüKüSŒŸ‰aÍXEôºEºbbBQ1ØÉöf”t‘x†ôF騆 ·-"dqA÷ׯ\ê·~F`³»è6²iä•+À ÿÔ¢Û^ȲÂ}שï׆k&»ƯĹ¾»íÈà<- \èœ;Äâg1>¨w†0Ü0ßṿÉ^x ́ƯƯ7lÛ<”yƯÎ}™̀S·o›9éÜ-Û®ă¾6kбlË´¾ën¹ùđ‡o¾åº¾i[–uó—§~¬æoà`jàÁ•{i×\C4,"iW8’JoñṾ„bp¨ûwˆ²Cưªºß!‹;Ô'7×D.v¹ÔÇÖÔ n‹ơoZ-n²ë¤ƠÁ°eùÏP‚̣io4~LYä/zm₫w_ỵ̈¾Ǿg₫ϽŸ₫ư§R̃Ï"t̃ Ó&NoN€¥)4ÆÉM ³CÛG2«‰\j²Ê8d-É@>#ÛOt^¶À́5¼+x͘e.^á]ƒ×¼à²ÎÛG 8›^æ ômŒ÷(ÓÆt1 ÷s™̀bf³J›°ß̉ —%‘Œ‘ â<‰¬4̃Hâø”ƯÅ@eê÷8CÈỘ,»5<Â(—åk²c5Y®I¿₫¶́ÍØ—âùAøú]|Å×ål6+›Ơ=øHVăcb´KƠ‹B´6ßi4• #´‹_Û©|&ó>NvQk#®pW•=ä¿uº7”ÛHɰR$ ç÷î ³[5́‹™ ™ ̀Í̀g¡ ­µé%đ1Ïä9}¼°ĐûÉÇ₫úÏ&@$&¸¨ÿ¹÷Œ¡l¬”đ=Ó1RIṇ̃}9æØ#ÎÏ‚«zû??1z&®ôı_aÚùc|PŒI[íƯ:uĐ; ¯₫äÇl¿Ñ->k4ưæGơ£ñYÑm|Zôwà }û“ÑHnÑR=-B¾ë™ơü ~åm¼§‰.Ù± .ÀĂơ¦Mz^,—»ë0%£ñ°Ê8®‰Eư«G¬Ä**|ÿsg|oỘ±À¹zOưÿ¿Ö¬0s–¾zâÚé.¬ăWN¶^± ‹„yHk<v3t{8-Ù|Ă' -ø«eêøa~Ö́ÅH94²Èx¼¢×AÅ-³@üy bT4@0́b#]DŒDÓÑ“½lj€DSio:AgĐàöÄS½́P z:„;¦¶-á|yH"r ·¤{̉B{\ˆ´5RLi‡6öAƒáAÖæă–tM¾]èèÛßtÓá›øaøṚ±KºûàËC¤­!Ø1ô´C̃ígC̃́ƒ‚đ +ù¸³1EG·!̉Ú€ƯXzû––®î¾éÙ›nz–µvÜ@±x™ôíô›Ê-#i^ Ïxñ*$)®ÎÀWü’ă¤=ÖO\fùäó€[WŒ´“ö₫X~V¬?«ÿî₫Đ `Lei¬::v4Öß$?‹=R₫ó˜•a#ÿc¤÷]8YåƯFJâ™b&'{%LĆEÀÏ¢­‰Í ·Cf]Ç^$ù/Íùï̉fߪ̃M;Ă€Ú;«óÉœ… ¥°Ê„6ù°CXƠV¸¥À§đ#êÆX~ FđƒÚ<ç :₫vC¿¯cºµyBpLv£¬Ó1đĐF”v#ß9† -/êö8VFë©01Óà­_Kôí?Êæx>£}úÔ#€G7ÔÑ‚\WŒp!.@ü¸îü»±bùwÉ¡+{ÜoªƠ­#»ÔPĂQ̉®nÄ«66 -cZ­çD‰¡¥â’Â(. °Ÿºuï;n‹M}ÑÁ‹Åư?»œ‚ªävÊtÉxíêF»́²{É+È–²ù`¢ -×=Ÿ×" rPÏ€l˜DîV̀¶ß¤¿±™•»?ăíZ@ë¢Hÿä°…]º[˜¥3Àö5€̀%O ¨¼ê)̃\^„Ñå Z;ú˜>F÷ºtf›-IºzÓ® €çŒyúu1Üu™o<å:Éoa:uqß‚Ơẉykk ⋜‹}0?jv²«X+ÀèæƯ}V»›­ïäG$s₫ÚŸº -?2̣6ùª¯†ư´YÊI5c‘$óCfưb!¯X¤*|FÏÔÖ^º$Üpº7ïpäí55§ÅƯß¶6[¿mµàjg¹¨°®¢l>*öñ KO& - ±‰8÷Ü¢:ǰ…o¿êÖkơ¢‡Kåm~™o¾Sä-*4¥E¼}P/ûÚÍ%  k:¡e×"å1AéJˆ–èÂâCAX´¹‹8= LƒÅ¢>°Ü±a¦åÿ—v{ä|K.3 ÆÛ×:\B¬xǤüwđºå˜bÉeb€Ï>Ö1Û¿v‰HÅ?äf¹›58Ôó †₫%Í6›$ɲÜ'p¢L^H¯âXÎbpI’VqnÖæ¿̃éAé8¥åK”g'i‚!Uz†áSEªI×ßûỡ5Ù÷ưN=ñ»ûhpÍ̃VÜ?¡›(́EÅ ÿཿ¾V¥³rûÍ?̃´éÇ7®ưỡüËV£Ú‹‰É¿âµ.´ăOø¹Ü;°÷•¤ Ñp¤ 4NéRZm.–OÔø> Mu¾L'¬Éj5©ªâÓ`;´Mt‹AQܶM„›ïôyëVí™ë<`‘’ $m)̃y¤Ú³ÑX„™ÛDaî:̀áƯªq»1JöFq³15¤ä-̃l¸è\ƒ…3‰~X¡æ-2pFÿDđe‰éÖ/ñf!¯è2®½iç:à“=Ăhưà{ü%Ü{t…^€¶ *ÄPˆˆ…đBͽ]îÎYÓD3ÀØjd úÓÖÔ*æw|âê¼GLϽ}ùË‘k7¸Ă‡Ï=0×ä6„o¢z*­¶âzo‚đ1~Jçw0ư0SÏÔe“Pw%¤”#@BJB À  %Ùø+„’ ü'¸½œÀ;¤%!&©§ )đHÈq î7fÉqöH.§æ²́ĐÉç!ØEÚÇf³́‘,ü9Ơƒ$9” æH{~i€Û ŸZ³đ)O|‚!"‡üD.K‰̉Q a2Ơ -%©£2WŒ¥É‚\ë{é*™ơB{7â,˜9.ø'ew U^¨ƒW¯&̃$»r9¼µçrcGơBôçwl¬¦̣ÿä’lö<üÑú¾™Ê·îSQÂă‚…ˆh́! i¿Ñ¨văîÎJ :³Y?üñ#ù•¸_Óm4²ûq[đ‡ưưËûû }×,¼EóơA{VåĐŸºˆ‰œ®ÎP|Döåg©?9M©ÅÇId?{¤)®ûÊ/ÂđĐ /\[ ˆ«Jù̉ƒ¹ë[àœf4G>ËÁ̀ÁQ€K ó^  Œm×â¹ †¦›O—Çù -7wê]Ë̀ê„ô<ƯU3jÆ,ÄÉäˆ:“¿Y“µqÅ~ 0³™/¥m‘¬Åµ@C—CÜF€q<·é’y¤xËhúŒơÄ\ô¦0=—RgÝd‘(ơ¼(_đ2’¸ŒØÉÊa³‡_Ä{p·M …T*¡‹0U­”T¶˜Ù!³if$ÔŸÔ(Wâ¤q¥RC:P a3=b²Ñ rK1'-»{ Íö•HèʽHư1Êá'`Ùkϯex¢$’¼.¹h{܆`¤Fé¤ z›EĂ0®øc5xfMÑĆä¾}çß¾Sưï•S¦¬œÂÂKÅ]Nëf'ÛpPιS§`BmmH̉v9Ä4ሄ^́m D $¡˜,€'Ü„ „ ṕWÉ­îgØdV/L¶;–ª×MZL­ñơó“ê­µ¢H>{€,ßĂ«·ºÂΘ±ªă×÷Ÿ́¬·Î˜QSo ÛlÜûùsÉ¿hưùÿ?A¿ˆ2qªÓĐ`ÀƯ5 ƒ€œZ€&*ê“X1L5:Ù6¢ë´öÏ‚+ÙƯßêO]ue·jơƒÅ¨%?ïÛ¼&ÓØÑaW?{ï¢Ë­Ë2[₫}É̉W?Î̃JÄḅ̉Ι›¥kÏ-\»̃b7‰sͬkf&ΛÜfê¹x~¬¿·ń™O-9÷VÚçÎ ”~cˆW"È—y)b\)„2MrW±Ëfˆ;MíóUë7¥ƒ'[¯ÍÀô¹’-c/ö´.¾Ø¾”›æ¨uÙMè₫lŸ&ø.Óơ9ÔÛ) GêÑÚ!Ă!W* ¸60CÑ„#”Üq£ÅçÔørqŸOƯÈKÁZOÎWqù,Æ8̀/XpăđÏíTÉÈ‘±g<>¤)˜‰[J8£o` -;úÔS\ÓSЧ¾Æö“Àá“%†h~đ̀p̀|J˾F~Ḱ=E0Nî¸QƒXßÇ©̃Ç*ç₫Ñç8;D7öQñÑ1ªµQCĂ% *E‚yëy}ƒ¡ UG?>üI`æ>Æê÷'Ê6<+ƒíÓÄÿ3IṾgƠÏ®yOû•ªQ$WBv®ÛH vî…¢è[ưÏ 2ÿ+ư£ Ê'ÿø6N¸ß†<úÿúÛÇîÉ•¶¦— ‡2”ÿSñå¨9ÿ³X†1 \•┣ûư­̀df>ĂB~¶²ÊƠÍ-ˆ”t>¦W]Ù́p©PrœîZ[±²'ÊåÈ+¤ÆŒâµl†9]ï8qă‚́‚C§é!Œ¶' ë@AA¯OuÿĐ¨äª -!?M\…JMÍ­ÍfÇ)«ß•Ë=ơÔÉw?A•N>Ï–ƒË¼}újQ<ÇpÇ ^Îṇ̃(»€}¿±½½1ï„+¿“2Çàq F²÷4R¾„´iHÄ—îITër8̉Đß^§™Úù!gm­óä>¸Îÿ´Î'á÷Æ̃Ú¸hÑÆEü`­s̀o¹ăÎÚl¾ñ…Û!ơ(9~í¢ ‹oĐà₫%#đ)₫~ƃúj$̃@€Ơ”ˆLp½GåOa{é®Íß¿fÎ́Ă©”)°zèªØ”Y×<₫ơ¯ïØñơüưÛ~°ùÏ^ơŸcà̉Ë·sóĐ̃ëæ½ºă·̃ú²ưÂƯ´N•RUâĐ›ƠRÔT”Y%8ÛÀ­¤̣K̀s3Ăq¿d]^©QTb' œÄzx¯)îH´“F̉©P„mUÎZ¼jQ&œX¹ñÆåoŸß<0¸jÉYG¼±Ôzê]‡₫Ù$8cÖÚ&ÖhäyŸƯ¼ơÍwÎ{Ëê9^˜¼æÁsfß¹åm[våƠÀ‚“ĂÓ£!É(ZíAsÈÛ§ÇÎyÁB¼Àü•Œú8RiÔ£B­g6ˆ{ËUm¦’tyW!bpÇ®d nÅ/ỳ‚áʼ@vÅÓ/©»Ô%Çcư¹—öªŸxñEn’:üå4YĂươ²¼,yZ-ækr¶—úcH&öÇ^È©ÏCº'È®'^T®Ç÷“5ºœîóĐÇê˜r)((Iè̉J™U׌&#€ƯŒ! +YM.ÿJï«EX^|‚ÂẪL–«w@´Ú¾̣́¡ZsgßYÓæ´ºˆ…ü\ªÑîµxêÔŸ ²Á¿xÓ„µyºư—LïơCyo™…’<ñQÊO$)÷W6¥m%Ư†®rƯ†Ơdơ”™‡Ơ½Ơđ’{¡üO‰b₫pÿ»AE܀ʌ̃g ĐÎÎư²ˆ¾¤§ị~ºA¤¼¢™̣ßO"mo*î!ƒÓ[TÀœ̣m¬dHÑT1Ó$… - ÉPÔ4^̀ûsfcA3·ß,ˆêXA­̣PêbâksîYà†‹ yHˆhưPäÍËâ+b‚W=}¥Óû;¿¾‚µ¨"Z&x<SySVYíÖ&=ª₫4Ÿ¼&‘è1Jä5u~è,Ó¿¤zïeù–g^QB\/¡PÊ„%+p‚re|Pn¥ ¤T’†cZ>?¢çï–ẹV"_[‘çQ©/…5Yăá|±àqI£ö/\§Ó9ö–Óçăăªdi°ÀEBh$ªåv̉ơ ±€…Ó wOL¤ …êĐúfpa ¦,?HógHùf2¬ˆµRbî…²L -v >̃UÀSo™–°^1/,ˆÄ“¢vc«°Ỵ GmôÀŨÔ~¸Amêzª Ë?Ç/¦’ÿ4ÔÎ0‰‡yj̀¸pák²î¶2«öH -«ÆeE€RßbéÅÏ/"M 7̣5u²lÂ[ŸdrC‘&YÍÜ&I -`!>pû˜;¦ơåJ-bàÂ--.à´VäMÚÅ4>©¼Fj¿–/î5ÀºÎσ¶¯£²ƒ¢̃t5}Â>C₫*›<'ß÷˜dµæ?,cÂø¾üïdGfëåü¼2̉0wă6óó˜̣L¬h"ÜfơKä¢×̣ÿζp;ƠÇƠǿ϶PƠd¨cÿ©1¾EO‹Ñi¾%ÿö÷ÉŘ(DCäâïW¬·‰ªơVé2„I)ˆTöiĂM›êµøFTÛz¡0ëÁªµù›U¯ơ Sµ₫7V¯ÿ mBW6;›nYZU¢zSÏTg>(“h……îF"ẫ½Të½·‹¤ñR]çßûLÛ¶™|¦ûLx‡[Ơs,'NU|®€¯¹Eà<ñ4)«R–‹ pß*¸vU#¤gÄĂ*ñg˜̣·jÉ™*=~܃΅A‰SÜưÄ“ÎÍîA J‚Hwä3@Nur®bw™°È€ÊŒxÀ}[ƒ`đ7º½’‹ø¤Z§ËÊ›tPlh Ơ³¦L.)NU‚}¿¥¡kqÜ'ØƯvÅéơˆFQr×·úŒ{ˤóS]óZëLùÿ(×@ă*úSfÂ^‚–+uöPe_k#ñ•.É8éÎÉ‚%Ơ ¯,…ª@•›£TK£¤Ñ…º§Ÿ -t`‘ß‘ˆXÔAD;¦‚b†¤|pßAºâ7đ}q̉¿é2 -@Yû`Ư~¥îÁµ¶ˆiÔ¬K½û0jŸ÷̉YƠ( øÛR„úĂÓ~^ˆ¨̉§8ƒ>…è=ăF"ËœA[å‹ÓDqûvQœCîXơ|Zơ‹sO÷…₫ \ä/Íf.ÁÙƠä³F;̀æÿkáPñ•́b‡d³z7ÔeͶ-6‹b²y¶Ø̀bÀaWjnh7YôLáFû!½4ƒÀwßâssFCºnh–̀_0óû…’> á±M½Z²« °̣‡€ïnC휌 ¬ÄĂ*#5/OöUÑN\(3oÄ@…[7`‹Mg8xÏßg¬e;f\yñ½—|fÖ¤©̃‘¨Û]ëi5®¨q5q&Ö>¹'ºôâóï¼áå°ÑßÙ353éükÏYê­‘œß=WŸ7çâ+΋yx₫IÎe<¬¾“ûÂPĂh±X aëêv׸‚Ó"ÆùcJcú›oH̀O†Cu]³L5‘®«†ỔÅk““¦đÑ–†ó¦ơ„§]xó¸æ ˜~ÿ#ª;!‘̃Û)B58¨/P¬í ơơHÑF#0‰°B(ôÊṕ}ÑFst̉ÜM|¹ÆlçˆÉ)]tϼ&ƒƯ–™¿,ă™—nt,¶h[ĐäY4Ư¬$wQ×’µ,Ë @‹ÑàÆkå`D”ƒg]rÿ£™·|êüY}ÍVq’wRC*Ô9[o»ÿ©ç§×ÎÜdđX 6&Í=ÿâÍ}—íß°À/*Í\Ë”)³ƒÉ5gỌ˜lÓ¦¯¬Ø}ÙÙ1:>OưYÇ̣s(•p6Ÿ‚[‚B/tçˆ*̀ -n:±½ <Цđøè)Èú ¬á+̃°~q_}ưäÅëoxt>L®¯ïƒV– FßÈßG¼@dÎ9ׯ[<ñs/¼í®Û.<7î±đÖsó§B²ÉdïB'·wX‚üœ³Î¿äü³Zéµ£üáW²ÁƠ—Ù>2²½?í2ȳ¯±÷8›ç¬ƠÓ={ớfgcsC³ÜåœƠmăå –ÛÏrâ¾ơe ¾#Œ›‰E>ˆ̣ü45µqo:áJ£Ö́¼X«°^ioº“P,x‹µfµ:/y ñ¼¯n9§VóÑ¥S§7=éº̣îè’u-í\¸%•KåϦUv¶Î¼,»â³€„íÅêZ=Öv›ûâk¯¿¤NÑ*+_§.ưÚŸơÖ»iưÚƒ=w @¥æl¢m˜röô>ÛO­ÇÊo,VÔ²’×ëÉz &:'ÿ4đÎ5¨Ó…!êƠ9èpI 0@I[ÍPU""©sÙîInv‡R>ñA¸˜É9tæ$ç¨3/«³|k£8y´iî¬E û“ßøƯc8óÂE×!Qè\Û‚} %Af4́ s*®A8¦‚A³Ø΀Ü>D®=5uw¶ÖơĂºj³ênG z?2”Qª/I=î˜ÛfưHưè÷4Ånºå“]™æ¾€ˆYmđªG"³É2äPEƯH™Íf¹vZn<—PiA_̉q/³PÉDƠ¿đ ă¨$$~%NyhrÜOdM\‘-₫ŒmŸ(ˆä@\³º#½„ÔêÆ¼“̉NïçJŸOÔåă>a+ÿ µuJ¨*(%¢FP„JÄW””¥¦½ø–ßđ‘,$)ç÷)åÿ˜ú³’ÿê}×ÿ˜ -B\­–àÏ_»ïúÇ₫¾w¥Vé] 0†ÑT¥OCĂQ}è¾ë5±ĐÂâ{Ho*ä™;;ơè‘ÉrǨâêơMÔcå5­ÜăÑ4S -: ´ưMŒ‹îæ›7(kY:멪¸•z̉`ˆgp ›J†stˉư±v'²¡¦eđ̉G^~ä̉Á–içD›»1‘6ºdA Ø@'N đæ±³Ö­N.Öô?Îf²Â…Ü1˜ób•zJư¡±D ́¥V -o@7R@6<À₫%IF©Ø0êmj= [}N‰ẩüÛ¤57¹ÿp̣©yŒÄv4@<mĐ­á¿Á9TẠ̊p?ÚR7úú¥0̉›´ÚQÏG¸[j„¬ĐÈßÙÍziß÷·b“´ú~ƒđ/)wC?â±ï רa¥-/C®n“™û.Ä•ÛH j63¨€’иpø‘“KrhëÏÏÂîX–êIçÆjß -¿‚o­è1ÁÅ9 -ŸfÔ\~Ú:-¦ÔÑ“K 4©±7BYÍö‰̀†y%›DC~e“èmÀ̃@Ñ]Ñúÿ%Àr₫©ÖÙs4T® ™Åâ®ĐóÖG-âUgơ>ÏíûH‚OpVÖB́Â]ô{9&ÿ^6¹|Đm’ơå _PLLI7Ç’¦iÊ®ơé "'T }Æăï? 4»ó¹›…|‡¦[FÇ­útu/Ù_y;Z”¼?Û£H†K®0Wz¤èc#¤ÙÙĐ)€~.rÁÄ¥+ÊB‰°±&J°“ƒG 0ùË[ưĐäÙü‘.Ρ́r·ŸO³kƯ;VC•‰ oX¨ úÍöKÛSß³ër¶t‚åí²í„:z‚X\±úxm‹ÛJhÿ™x¸đĐN÷ÇhÛ5¯ ¥Kè`…;ydp.Ec›4²XD<-´llµÛip.»^ØâpƠ×: Ùu/î»öü™.«ÅY[ïrl¯_æ4¸ă½ÉkzÎ$~Dq…]7/T_<赈¼¥̃ă4K§$đÆ–˜ÿ ™»đ&w“«öä· †©S¡¸7ÿÿµ|K‹^üø›â¯7íMsMGưáùçÿ°èhÇĂw”…¹Ăă¢´0]?²´˜fjaÍ5ai–Цè6C¼2ôno• ¤“Ơf ́=ñ–)ơd^Ëÿûövï qNcăÔ´û₫‹l=uÙá́]?;¡fâù-EƠ~ä́öáÏnÏvøƠ}5¸Ï×%»ë¾÷ưú–́èOƠ»³dë¿=„Z%v¹è Ó³Đ n¯K— u Đ̀“*J¦„ê#1äh„u1HŕĐ o»ư}ÿ”ơơSZâu=¶‹îw§;¦nÏ—UØ ï‚Äăä•ü` FƯçïȶŸ½En?»¥₫ûß«k&»¢ÍÙl9 YơîŸúíd«†gAâĂ8NSGáê³ÊDŸ09M‘AK{̃€K3Ư„­ª[_]’%W4zÖÛˆu9é\~åúåën3ÔÉê~ñÉzir–„ñé Ååô¨“X3kâ`PsÄêøÜÊüâ’nÇåïÚ=mùºÁ]‹ÔƒJËks„ÍóTÓ9d™̉ơeYN`}¯/û]U#Æób˜;R̀¨“ĐÀt,¢ÚlŸh*ö¢×#JB+ -(´¡iGx\}~IÖ³F·Ưv@T÷Ëu†ÛÖ­¸êJ¨Ú - ±­÷̀ÿœĂ -@-Lœ™¨áwäzĂY§îg—”úÓâw‰`wx-ù¿Øö´(dÙ¢]ƒ×ÉÛFÏ3_÷øXcY’mQÔƒçßWæb¤-©ĐF ¡êKơ5Ơd-0bƒâ¨çƒ—֨“T+æ‘_ïZ„xÜcËÿĐj*`ûûåˆ}|xâ~¸LÇF*ÚS*oêŸMتêA­Íó–²ưîT1pÇ7µ1?‹R t>éó»¶R'"ú‹ÀäÆÁEÂyÓ)oƒP7”æ‚Å%«ËÀ$rĂvơ¬ QŸ¿û½eE”ÇăØç”+½»nùzlƯåVlƯFrktÉÖ'µ¦'?R®„'ZƒCEƠI§Ky» gaÎö0₫‹ü¡^áê} pE;…ơKq{̉áT/ù?ïi"%íÆ̃1Î̃’ÿbñ-̃Ô¾qÆ›̀˵ƒÛ+ ¢8Æ]ÀÊrI¸Üú”Ú£V•{¬dȪÍœ¹\è•AÍôÓQĐvOÄSƠơ]0.ÛêúN΅X9s¹Ơv¡b?OE~ÚFPU}o[YîKårÀéÖđñA¹Ằ“U%‡§7D€w ưêöˆqÔ bá/í‘hÈ íáAÙ±‘hPbQØ“JB8ƠI ºä?áI%=ÅX‘tÜO¥;¹(P‘hºĹd£Ñ S •'hÿƯ±Ÿ>|₫ùÿT»‘¬ÜV?Ù,O•Ưç"\`ª7‰ƠăíÁ.‹2ĐçƯ>Îæ¹Dá²Í fÎÖm•g;œ-íö„̀CŒ'œ¥Öéu¹,»¡¥Î z—A`-ÇÙ¼¼Á$Öx vc“Ăk2·¦[x–p\cÚbüí“l΀ƯihµsµœÙivđaĂ›ĂêM,gĨlñÁMà–zÓܳ›7JṽÔÙÀË‘V‡RWÏ‹N³•ƯäoÎ4‰(Ú-„µXB^̉Cl&Vnô±nŸ¿¾Án D4[k6³†›́N×&µº}f§“3Y¼QwĐ@$“U$(Ǫo¶:-üZG¼…#&‹Å†/…} –?ÄßN}Æ¥¼‚7íA!M´àühöøW>£æï?iX²pÊưùr›¼A–Ù¡àb₫öó?uϱ›Î¹³-hñäØíëå6;»êSÿBơ#/‚µé@Ñ¿J Æé₫ -!%Q­)”ÀDq:{JI^̃‘Ë¡ơPY7UGçÊ(ÂÀ¼Ÿö¡h³?Hmÿ¬ÈÑævREˆíHôçÔ=ÜN`P)QœŸ¥æ€G9®ÓFM‡ÖSáMG§ơ@2¤E‰$Q -µ$Çs±~ä’TkNµ"×9®Ơ†8ûcêF¤ñ^ê"?+GÙ  -^÷*¦¼gUlFVxªÚU™poC¨°.XCƵ׵͉×qï‚Kê[¯k[¯ăöK—(lÀ;ö ºÓ¡ínè%^ñRÔj­,$)§ ø·Ế1‹‚n.¿ßG÷:CĐïfÓ(ßñ,˜íĐ;„Ä´©ôR—¿Fë_~đÎă^øø;¼ó¥Ơ«¿D¾ô;6|/jGGSSG„›G’ÓļD¬ñzbRï¤/X?½ñûĂíñUÚÇp14u˜$`¾ß[ßœH47ơ7Ị~¥‰~Iÿrêß™sùù#èŸ6ŒÛ+‘h„ºe€Ẉ6@wK“̀¸h6, ‡1Cµ"à‡·æ©Ú=­mÎèñe°ẠÓóŒâ– =¾àôî@“z—ÜĐĐá² ¦s̉óls³]ô;kklµêÓr¬^"sƒ¡é’Ü>Ơ&Ơ„¬-[×ß{ÅJỉ´9[‚Ưµ³È©¹-ç]±d̃¢µ²c̉ µAnµÛ¹ƒägç}ê’‡¼»6hTï–ëüÉ–´?3sÚƯ^k­úŒLêcY ˆ1ëZ²´n[÷¥ƒbƯ´¾E߆ŒçƠ¤Íw¬ºàk3Ôf™•åˆ>† ₫ÿfMäƠD‚è…Ơ ¸aåñDđé ~}&ö¬Á@¼£5u gn¨›OÈ¢<¹­'` &bÓ¬¼±-6à÷®;ƒÁX÷"‘d*²a¡w̉ü̃Y”¦´vÖÔt·L³đ¦Xë¬Ö¸kñUß©ø­ü·aîèÔ=HR_Ă@¦£Ä+j“2—öT*‰Â£è%́Ó/͸oƤ ¿±Óyá‡ê £—»î›1ƒÔ9/7›  ₫~Æ7áưŒ´_“ÛùoĂÓêÖ+‚₫$Dü̉¯s̃IH:çr£ ƒđ ¤yiF:Ưå¸đïäv÷ËưÀ(Œ¿d®O":¦ omØÿǺdM”8å̉ ;¤Z9uêÊ©üHCg\›K/*‰ưÔ™g*¾-óIèÑö—±¢ˆ_ÁE¢œ‹RqîR'û[¥fơ?GƠU½Ao‘vb A$ÿeơ]¹Ơ/‡Ô¿ª£o©?|ƒỖQâm–4™G¢Œƒ7ñG™83Ú3+ ¼74‡z*)¡$Ư‹JÀØpDµî“Núj5pĐq¾·“eDf/̉Î>ÎÛü‰è´à”%é–Ăg‡Wµø¸{…Uóë:g,ên¯¸l²¿µU‘\ŸÏt™'Ö¬ñ%̉üÑE‚«}ạ̀Ííu¢úC›èꘒÍܻߺp±}UË+^b'‹’¯«o(5gă¼VĂBƠIœ¼äOEüm>·ÑÀ½©₫€5yzgö†}úÁ¥ÜüA”©P-øP/ú€̃«́„̣ Ơ6̀)¡x5/t;1p“1”L º9ơAܳ|÷êƯÑ)ưµáåîX]mûókFEéH/ñ4}:¸,oLMªọ®»6]YăMó5¢Ëê0u[›ßỷ«ˆfVêh¾˜?¸ä̃E-A§_iï«ßƯj²ñ Ô. -6|̃å5’`#ÏƠZ-÷svÁfq˜ÓŸ›íês·Í>¢ăÚwêÿ î7C—å{ A“ú…̉Ö]B¾ëƠîz,i÷H'dù„äávÚ?’`E‡• -üx,‡öm±¸z‡`ÍF[ïê2aơv‰hp™%(Ồ’öü¾Ê‚ÉưÙ5Ô¦;GÚÑh”í¥²³¹\̃y";|"«ÙÊ–©rx‚zËsèP‰HCT×v¨P$…éơly}‡iyhvMCù…r)Ư#Ăx®›¿-Ü.(ót%fu»ôÊ€(Û…eÁ•UU–oâ² -¥p´ÔqeÑˡ啗¥ṣy¸iº X–æk¥`É>£X¯@2Pø¯. ¨2ÍŒ>«n„|‘Ê,/4—£Ô₫}Ậ  ®đ?Aí¸&ÍJŸ†Åær§+­đĂÉñCV“]{è́ZÍ0- úùA=–ä -Fø®$ë+”Óöñ%U¸Zy¢­Ẫ—°Ù²RƠ ·Bƒº)¿÷¥âwT8úÁ(áaÙûRÁΣ*-Àª—ÆÙs€r5v êÿ!^tZ:/ÇK,'±ÂêF  9€»=ăÚæGˆ<§¸CíÑu“"$º-¾î²F÷óS2ç(óÉF -0Q©Ü+XđwÈ,»]=b÷h[qB‹QI’ ₫§ú;)"ÁÅŒÓ9Ü̉2ăô6Ăr?çÓ}lV Ç=b¸[˜µ£j¯¢4€Az”ó™Œ÷KÚkQ?TÿÂ[%“É$°K¢Qơ-¯Ñl_@l/ &;ÿ˜É́°¨ËDrª?P_d£E1ư~ưz—â^Iº~b°÷§ÔrÜè¼e¡u¼f¹­P•/ÍƠº#Ü Eÿ+S\́G‡-ØR4¨« ‘S®óÖS®óVä¿‘; ÎÈ*`ßG¸é*5'Çäûd™Lº -˜¯ÿ~¤ÚÆê à…5¯”F̉Æhb`  -½êœú³Â4€ư[b$~¿Gç£NÏAX$̣Û÷ß~ô‚ }[»‘Wß}åê«_Á‹zĂ—6mú̉&~Oñ%̃æj/árÍ&|_SˆÆ̉yă<ç-â*LÏ›ø«Û,©·JQ›z»Í¤œđ«·£ÙÂÉçÑ|’V|GVW~öËÍz ·ư ê¨ -àH ¯œ†ó³¨EÉ ¤º²Yîn‘¢çH4ûr7P?99­Îæß¡|O-µ·5³ ²%ă4µ dzêO/4ùL_Pså’TÔ>¿LQ›ÄD(ú ˜ÚôùJ8̣ÿFµÏ+)jCb -›MuØ2Xc8$ñt°}œ&§@€«Qr¼-ÚÜÖ¤₫ÎU_o6ÇƠËq7ơP1êˤ+ÎÛ¾rc6ªI -ë\ ê(*v´2¼4Uc(Aü ̀£9ú3öŒæ]Çz÷Øü»­;0'¡=äÛÑ*,e5Ơ6ª»VÔa,̀qh̀*ôë²P@wȬ°G²¸/ÓOÖj÷|̀FImÇ #Pzë;J¨wÊ} < ‘ú ŸÀz Tút‡ˆ~£`ÂȱGP%;? ®5(̃(u¨”# ”ÇÈvƠIÈñí#9,?Gù¡¬b4K]ưQgÔŸ]̉E[à phʯ§‡ÛG›¡à+` ÜÄĘp ?Å@á>!Ú}" -Í̉½¸Êr=ÔCÀD5ï 62¾¦ZYêèå?à× ³ÖiđËA¨‹ -T(øE U•Ju³;"}©ØƠº#–ê‹Lˆc¨äÊéÓ—£Vạ̈éÓW₫Oû›&ÙCIÔ™úÛÇu8*çƒQæçađQ^*z(¨L­|JÓ‡½^f©p1¿ûơ„0À4~œCˆ³Ux¨Î*rV²*N9Ï€„׳¯Pđú„Å«sñÜp¶ˆœ_LŒ‰̣Íá3ÙZ"}ˆ&ÓrôO¿|lơêÇ~©ƯÈk¿C¾/Wj><ËüSÅxÔÀåMêbS“¯–—úg(]½J(Z#Ÿ†x©\$OC6¿8-àf:{êƒS̉³è¨oư4:œÓËÜ)¥ËWb¼"uÅiu·h~½dăÊé́%û¯¯ƠB±ûóAM -sÍâÙWH.gvÿ%ùç4ư–ăvø+¸œ§đ=¿ -đƠSêG‡Ï‹jWHWÀæçu>…–[ÿB{[çuûɶsƠ;la›z›iñƠƯWß­Ô\z½ÆåCđäƒÛÖ|¥\f·«Ÿ×te¿º&ÿ¹ß•+Bưk«è/t¿ -Ï CM„ /@SĂ>Tm -±G`vú`?₫ª£ô₫ÙGÆ(Ù,zb" Ơçđe¶¸üÃ×Ãiàÿ»´7ĐÓéQÁ¨R<Æ"i X ¶:¸IÜ‹(a‡V¾öœúă¦Ëç§;4Réù—ó]}—Ïœ́^₫á«Ï1ÜvîÔµ₫Úù—7œÔÊ=Ùpù|§[Jοœeíµ{)­eÜüƯü#Œƒief0ó™KđJâq²"*öF#¬(©¸GjJFhŒ¸‡Xè#ш·âµ£ñƯk¾—5EÔR¤PÍ΋ㆠ^p C©eoÿêíe…€:•ç¯{6ÈÛ¬Íï5ÔÍs‘ÅÆ™8‹XÏ K6×đV[ç=çÙ}V+ÿhͧ×ÀßJŒ›lÑâŒZZ›5ÈßW‘‰±”;®₫Tưé†e«V-Û@ÚH†êIđÙë¬ÎD<Í™[Ç)ÖÍÀßÏÖl^bĂXẹÙNN±„¬"K]£@Œƒ×b©Ë?.æH÷H -gzXaÆđĐÙ’Aîˆ}MO¦eưXÂüH§Nr ĐóÚŸW¨;ñhtñ»gttOöyu3=–Âü*פî̀åØ¿ C ÂFGsh9JîͽZ°-”k‚’]L-Ơ~hÎii¡.ê49ÍQr5¦ñ½I,VƯ“ÿ…^jf”»_}Ô,“í¬Q6?̀5åÿNVçÁÏƠ -̃˪YÙœN›å%ezËÜqƨï>ÁZè  “NtñÓ1 a Ơ%₫=è yÏh̃™«« H¸Á—ËJZö?ư h½vrœkÊÁ@åmÍY`®^insđêF\”*ö|Lœz!/?·)(“0 Éâ -MS4(È—hđØ{²º™’æñ-î'×hæ‰ëoê7ûcC̉Ê?‹6²âñ’²'|ubˆƠ£@´₫̀!³bưĂ™¡¡ü»Đf{tzø…1ỦA?=Œ@œáá t%˜ä•‰À̀åiu“[ ṆÈiáD ±ˆGƯT@:Ïp<ü(ơcÓXéÉÆUm2Úϱ7z›ÚỌíM^öFÏ´YUfwGsüÁ“#‘t:Â/‰ªƒ•¶Îå~±Os̃]µÇF×ÿÏçƯ‘¯(úü(^È‹Á±?Lû$ÀSʽ… WzT>ḿ'_§‚údŒ®ĐÔç:¥Ä5®Lh;¯H7ÜWgzêgÄZÆÆZb3ê{2d5Jj¦Ä9̃c+ăù‘\vqzç²DbÙÎôb ©Æ¶g ù"l@צpæQB½bưÛS Qí>€“+d p²¾î%}¯L!“™ƒ‡̣çcdwHo˜¸Ææ×p€x(T́¾pÄèxî¿ßp#ê:dvQ qŸdAđQFdÜL³¦K¤m̉PRËí ¤pU?̣lĂëÖ ¯ûzg°-ª‰¶…ÔjPÙî©b·ùG×aRơ¿ú&^qÅàä>uÓ8¤•p&ĂӮф ¤`íMGSŸ®¡®óÙܵao°ñă¡ÜWÜ›Z´aĂ¢̀ÙŸƯ°·V5ŸÊR¿s2NX ÛqGB  ¾O “ÊK̉g éôđÀÀBW₫ư)Sg\ơÙùêÓ¡läË÷ö]zöÀ<ß²o-_₫å- ø±›ÆA£ŸKMqÓ­!´Ă¦Si­gyñüư¿ÄÛ°]Kû;SêÆT'ă©ókPqÉæeêÆe›7cZT{~*‡7‹bê\H…?đjÙµl3•P œïĐ¾wïT2²đjY;Ö)ºl DËueytOTøïÚjö¡üñU¶H­í¨úœXögɬ,ơW´ÉÏ¢^ÚÂu¶¡![]Øv”Fèç”| -ă®QGá¬h`(¨# ƒR¼'5X©D§̀Q ÊqMË6gûc'bưúu³:'—ôÿ™®H( „?¸yƠµ¥ú¶Ë6£~.̣e¨¬[n ¸ªÿ*€±U«yZsĂt 9ï‹›¸R!GÙư·©ù“MM$Úxz€¬$]êÓ{ĐĂL<ü}ùç4̃ÆàJZƠơê~̉MVŒƠ•hy× >@u»Êí å…î+³¿Æèôơ]áß2FqO8jü–Ñ¥°WCÿ»Qqíˤërw®‹.Ếä„«¾̃¥\ơ_´úü§ăôöy¶\O¿nÔ)IÍKGR§êHÅq”¸ÜIÚÑÅ. -d+u@Ï´ơÓ ê¾k–ÙŤ}9¥êT«v6ö*x¤g¶e7?—™Ă¬Ô}ơS§éƠ-đ íAUÛü‚í OMlJ ƠpÛíƠªƯ§üîƠŸYw–Ơéhœi6û\fAöZc,·rjFœTå‚ĐMj8kOë«51‹₫T»¼ưqW½_ÙnéØ`•7®%³K«èÜéWÜs–d0‚á:»Ñ`´¶OX•̃ù̉s$ă4¼?:ÿSI1¢¢W-¾Pr}ê²£ §9ơ.Ôû& P™^f -³8(ºW¡I¢ĂÛ`¬¢`@5a}ˆzµêi₫V ¾p„²PÔ½+:–£d\jĂ"=üa€j£đ­ä)W§Ô$qö{ÇÚÖÍœ×p)—Vüơ®|£7hj¬Íöâ—³ơ»¥Éâ$·Lëè˜Ö¡Ê9›\öúÚn[ ±¤k{lG‹‰Ä.m „m~ÇT—ÀºE‹Ûù¡ÑbÈ­¶m¹` -»—ẉnyæP&—:P¯LJØí–YúéÀŒƠ_îp™NW¨‰›zVÛ́S׃]7ÖƠEÚd“%i¸ç™¬|ñ ¾úèÙ̀EÔWMÁ“™7râ À̃HB¨´Ë6₫`UG¹ZˆæÎ ø9 N2l2ƯÛÉ…HY˜½(Å—̉ÔÙiwœ½Ư“[ữ`ªcZ¨–R;Yz=Tr̉vH₫9ëc. ¡Ö²êGä̉º6»*pƠüÎ…'»[â‹:ú/˜̉ªXØ¥œ´CYÑ…Mñ˜Öt̀Đ-'º]£n,{@üđ cø˜Ob¸₫æ₫ÂIÑN‡.”xÁN ¹F9ëÊë›Nÿ­Kóß[º£̃XÓr=ÛôéWÎmó °Ư°Æ¦ØY+¾Ê?sưJơ¢Ä×g̀XµuËPư¹¯%È—V^¿Ûéè[­ù‹ ··ô„ÔWˆ ¯;éúWæ ³xv±iÈ/‡×XS3±åȼ”2¬¤÷Ô©Z¾ÁÛ f×2Ôå/ỵÉÏ?ñí»ä8đ®M@ÓQÔÎ*Ë„ÂưÈö¡¡íCäXùk¢÷²?MzTy?±àƠZËĂYu׳)ÿăé]Í•ßô1–-ă—₫aÿ7jô‚~”ÍÄá -.dăÄá -» –Ä'Ó·½¸§º“VÔøz£tXK₫Ù2k̀¹d?¢§z‚§úz¥´ÙKŒ.º>,¡¸BZ¦¿`q„—'ºk–Hèqy¢û°æ¤5¯¾j>aÇÅÅ\CÙƠ#ÊçH;#pÇø½Đ7lº4¿}” ÖIR¸7Œ„°̃0§ûœđ$ấ=«VÁ¿úÑö‘í#́¸ä_.Ñvª…sđ{g>ƒÁh!­îÚA·b¹/p7¼Đî™=Üz—Á©¾mi”%—ÍŸ3)^Oj¼<_ăU¶NY63dsIr£™´8E—jñ¬ßư®Uđ´„*Ï 33Ï|v ¾ăè;ÔÛOÆéB@ñù,—ü,ŸÑ\cwd}6k.uØk̀F9₫±'̀ä2Đ6D]e±‘xÜG¾J³K.×½}†ñS«†$ƒ@ t";2É©ê¹*¤”ŒÛ4§Ü1_ƒäxơ7³ƠQ§bj´Xˆ£§ß9›„§ÚQơ½;®#Ï{9†Ôe¼I --́å¥br B<̃Ö9̣dpzœÜIVªûóÿQ:l„+ëséi Ơ#=Ñ́T¬đ¬+R˜Ñ(ªâM̃DC$â -¹Êaç̀± êONgÄj19˜¶›ÍÄÜgqXkè„}F«Åèđùd¢¤×Ö̉c¶G“,µæå&—Ó.Øâ˜.^É·wwcƒ>ÀE´_]3ûUˆ±|ăt{JƠfªçª‚u_ù.º\ÿº₫*êö²W•=̀Å}ÔlNçƠo+^®ïßV̀£îé‘ vØP£>~†‚s¢¦T¶jWz~_¶¤o‡gSĐ}-­üDñTd‚ Ư-TÀAaÈêYfµ²˜Ç3,PATcm²Ú Ơ¼4gă¸}‚½•màE$B„w¢Åª8Ü>«¬9–ä‘́¸JWâ©°O¥ơ/9ÿPªJCÉXA{,™@c,tEJ¯ËTÈj½¾9́•8QÊñ•Óơ&¨ äHŸ ₫PÁl~K%Æù1€¾Ñ»¹ ü-èeÈD zxN›»Xuz’Ư.9½ä}‰MÂc&œ:¯ê”Z5¿ăÓ™8·ø% ƠµƠ½øm³˜¼ïomơCBö:ĐäÖá‡l´ï˜8™ÎßÄí¤~óËܦ¢E²¿j•T§ßÁí¤YH˜Yá»vønƒV^IN]]ÂåCXkg#Ås cÀSûˆB’$‰Ă=’$ªkø}cG¹&ö÷/¨ßzç»ß}çä¿çÊÆµ_îÑv6<7¸½ư´IVGG™úg*lôŸ\RXS²T‹‹®)ÙÂEî¤Ê%Y uôóÁ~Q~>X¤¸ˆÏĐ…±Ö`9ÓW‚“k*‡@_ƠpM¸]0¦*ƒ%ăaÀ“3XíŒK¹Mü|ô{†£FÔ”»ƒú‘ -́·¾d7[Ơṇ¦Ơlÿ’ͬÆD‘üǛÏ÷@¤Úmơ˜ÈÏñ8‹Ÿ›°e ¯cżô#gH›ĐÄdd@~.j̀lĂlÉ›äeRcxîÈä(( Íí™K™Ïm¼êïGëX”A7¾×Sơ·µ@[lÚ×.%ÈëæƠ£nMDsˆ]n€_Qî·• Ú5Ài?zûÔGüTèG3²¦T@e èi´×,ˆƒ°r¸ -O2<°Đè•é̉l+³À°/,Á–%‰¹­m²à ¼ÓÛXØn›|–E›¶÷]˜ˆ¢lĂ­™ôœÆÏ[m<’|#¹z×+„5ˆ¢ 7&\5Sô-˜{₫üAEß×^Ù¸́¬t“Kä ÂËέßçMñ©^rq]‚îFm̃C%2₫„vJ̉đ)W-Î}OM"`Ơ9l²+́=…%"«çë£ó­Ṭ˜'8ÂzH3Q̉ßûÑ©ùÝP~V¶‘زèNí¼ÍÜ 7ƠđÄÛ›¿ ëÎ₫?w1ê×xÚc`d```ḍÍ?̀Ïoó•AeP„áBYñtư?đÿÖ;¬"@.Hc èxÚc`d``ùß -&ÿ]a½ĂA‹_xÚ}S½JAƠS<‘`ŒÚÙ‹« ‹€ÚùÂb)6â ˆ>@DÈÄ"èX\o“ !‡­ß́ι{Çé,_¾Ùoçgg“˜gÚ ˜¹#J†VYp>uC4Ó&*Ù<=$Œ́đ¾g9ÓW@.0Ÿ¢qệ‡ú- ơñüêñÛ;Æ:pt"HUåeèܾ5äƠçü Vg(÷[Aăx­9ÏƯ!Ö̃´÷EMŸêß—ï4₫N†&Ó×đwj³t₫™³ÔeσèLpŒ>w‘ï†ơ>GàÙpfz`Í|´̃âü^ªaÙżø>äŒÇđ¶)Ço© o¥²‚MÜg+Rm¹RqÑí,÷«‹RJ¹à1—ÔƠX‰TªäN7t‹{I–E—\îFÿë8ăU ºÉ̀mbÍù:f—N±&’ưj9̀YxÚc``Đ‚ÂM /^0úáK˜Ø˜”˜ê˜Ú˜Ö0=avcÎcîa>ÂÂÁbĒIJˆåk ë.¶"¶/́ -́ͧ8ä8’8öqq¶pnă¼Ç¥ÁåĂ5…ë·w÷)^-̃8̃ ||||[ø5ø—ñ?˜ °JPK°Lp›—…PĐa)áá "Z"WDmDWˆc3KÛ öOÏ~•ư/‡‡cLuNN+œ̃9K8;9—9/p>å"à’à²Îå›k”ë676··-nßÜÍÜËÜ·¹óó0̣đóẸ̀hó8ă)äiáçÙâ¹Ê‹ÉKÏ+Ÿsª9§@.xÚ­’½NAÇÿw ‘h ‘„Âê - /‡"‚TÆDñ#J$–ṛqr|è!'‰Oá3ØØXøFÁ̃§°0₫wY …1̃fg;73;3»Âx†ñE0C€ q=ç®Ëæq£XÇ4î°‹GÅA$ñ©x ×ZBñ8Úƒâ DµwÅ!̣‡âÌéaÅSä¸âùXñ ¢úw¯°ôÛ.¿0«?ù¾o–ƯN³âغgÚÖÑ@\ÂA´`àsbˆ“ -ük`§¨sƯ¡}›,́«0©YƒËa Dđä®ÈµÈµMyFËMváYd°ÅS÷±‡í2Œå¢Äé0~™>´/ăqJŒG -ịô<ử#cưŒ´0ë·C~G²ÿ²ƒ9ee Kv«¯­Đ²[Ú·{&V(Ó¨1j•1…M‰Zqr7±,gKÜ¥₫Xåè›­ơå0éị́–›̀ÛQY{Ô -ªư›MY˜¹Đ¶z=ÉË×a°:[jEƯ¢Ÿ ¬² BŹZÿ=nôüs¸`Í+oÍưỒxÚmƠU”SgFá́ƒ§BƯ]óưÉ9Iê$uw÷-J;m©»»Pwwwwwwww˜lîµ²̃•‹³ó]<3)e¥®×¿7—Ré^ üÎèVêVê_@÷̉$zĐ“^ô¦ÓĐ—~ôgÄ`†0mé[¦czf`(3233 ³2³3s2s3ó2ó³ ² ³‹²‹³e‚D…*95ê4X’¥XeX–åX†1œ4i±+²+³ -«²«³k²k³ë²ë³²³ ›²›³[²[³ Û²Û3’QŒfvd ;1–qŒgg&° »̉ÉńÎLdOöboöa_öcà@â`áPăpàHâháXăxNàDNâdNa§r§sgrgsçrçsrs —r—sWrWs ×r×s7r7s ·r·swrws÷r÷ọ́ọ́óỌOó Ị̈Ïó/̣/ó -¯̣¯óọoóị̈ïọ́ó Ỵ̈Ÿó_̣_ó ß̣ßó?̣?ó ¿̣¿ọ́óÿf¥Œ,˺eƯ³YϬWÖ;ë“M“ơÍúeư³ÙÀlP68̉s䘉ăGE{R¯Î±£Ëạ̊”Mạ̊Ô 7¹·êænáÖܺÛp;Ú›ZíÍ[Ư›Ƶ? ѵ•Öµykx×~yÑj?\3V+wE×ô¸¦Ç5=ªéQMjzTÓ£å(»vÂN؉ªk/́…½°ö’½d/ÙKö’½d/ÙKö’½d¯b¯b¯b¯b¯b¯b¯b¯b¯b¯b¯j¯j¯j¯j¯j¯j¯j¯j¯j¯j/·—ÛËíåör{¹½Ü^n/·—Û+́v -;…ÂNa§°SØ)́ỐÔ¼«f¯f¯f¯f¯f¯f¯f¯f¯n¯n¯n¯n¯n¯n¯n¯n¯n¯n¯a¯a¯a¯a¯a¯a¯a¯Ñî…îC÷¡ûhÿQÑÜ-Ü©ÏƠƯö¡ÿĐè?ôúư‡₫Cÿ¡ÿĐè?ôúư‡₫Cÿ¡ÿĐè?ôúư‡₫Cÿ¡ÿĐè?ôúư‡₫Cÿ¡ÿĐè?ôúƯ‡îC÷¡ûĐ}è>tºƯ‡îC÷¡ûĐ}öôúư‡₫Cÿ¡ÿĐè?ôúư‡₫Cÿ¡ÿĐè?ôúư‡₫Cÿ¡ÿĐè?ôúư‡₫Cÿ¡ÿĐè?ôú©îvíNjÿHM̃p“[q«nî®Ïë?é?é?é?é?é?é?é>é>é=é<é<é<é<é<é:é:é:é:é:é:é:U¦>ï÷ë:é:é:é:é:é:é:é:ù=é;é;é;é;é;é;é;é;é;é;é;é;µ}·ê­VÏÎhåS¦èèø·ªÙoTPĂwOF2Fl±\F M?FFTM `Œr -‚©$åe6$†t „0 ‡"•Q?webfeŒ5́˜€ó@ Â?₫¾ -Úöˆ ¬töÿŸ” †ŒÁ“ÇØÜ,3+2q ËF®YÓ&>±é±b̉m¤5ZæH$±ªYœ½{́H jd† Ơ‰ ü²%÷¹Ù§y"§÷ö×+@¹Œ]½«eŸû{ú̉ûv Nc‹)»nù“É?~?è¤ḥÿ_ç&iÆÊÈÑÁ¤‹?º>üå^K ûv´-cÛ1íô€‰2K áy·ơ,'nä«à(đ3EwiàB‚ &©ÿ éÎT´lhØ0M̉ØÚ̉†dåYØrñﲬ³ntĩ]Ưyur•´¼®û™îVXsj¡¢ågMnªÓ™HW•©ĂÔ r2ô>iT`V7¸ÍR(±¨ÉÏàÿ+ o6ó'cÅÈB°æë4ç·ÖιƯ‡ƒ‹ă¿®T ]a[Qd<3wq8,…îrTI¡8á0>E¸?ù*E¨ç—¦•#Ïú7'́Ưư†S ocûÊ·í_‹7&#*Ñ+)½³ Đ+4a°A6¶cŒçy±Ù£†f(bFéæäÿé´$;{ YAĂ1vP-tGøÿŒáÀ±Í"û°•ÛCÂf- W‚÷®Ô™ÎuKÖ°Kă#­íä¬Ö*K†<Ûü (ÑßëÔ÷×ÿZ₫`Ù« åµ[—%êYT¬{%¯É$ˆ­ s{oïíœ̣ˆƒƠ»ïvt"pàœ4`ÈêߩϤ}o `ă³Ưú'neÜ> -äG5szó_Nó -’PKÓ¦vmŨ ɾ{z½Ụ̈îóÿŸøøŒ‡"3`l ’–W#Ô½^@+,c¹Éko©AOpnuµ§Ôzó–zJ)ơÜÎ¥÷˜Û1Ç}ááÿO=̃­¶€x¾RÆÄ`ÁJ‰`§qƒ¥‚Us/¿+øk̉vÇ1xlƯßçjl–Eĺ\nDŒÈĂÆ¶¯V†±æÿĐjg›{Zdå‰z7 5ÿß!xmÂ5oÂ[½¿uïû&·¯1Ú‚HBkAấqrêÎRÄ £·°(\ghôÈ7‰́̉y=†HµZóUPhéĐ$8RgÓÄ€zÂgÍ­ÉN:‹à1u¬$Ü…¯¤¡>Rư]åú—¦¬"Ÿôf7¼— ơK¯^'˜ªë½3“+E/¼Ä^‰YU5]¨NB.̃Ê‹¥̉8ßÅ+ÎÍ8ù,|‰{M|ŒAåua|Đaˆ’́ỠË…Ơ% -lKG¢Pí,NuæÜÔk₫cï8mX@ÚÓdÿ̀˜?ñüÚó¢çYÓ&Ï₫{êö”ø³ÇÏ?ÛPÜ(®G]¶¿ÏÆä¯äOää·ä×ä—är-¹’\LFÉ9—,&§“yä8r¬û´û3÷ÜŸ¸?p¿ï>ê~Ûưºûsèäÿ‹Đ¢ÓDǤzó1ú¡?\U5q=­ÙtÑzÔ’†&Znj¢%émM´"}¼‰Ötk̃Dºwh¢-=ÿm¢½Bíéơ76ñô®ƒ&:̉»Éqt" Ö1:“¬ëĐ•¬©u;ô"K_¡/JdÖc0–l²ơ0²Å'^B¶ù8VC¶Ơzg°²½¬[ ;Êúd́ -ÙYÖbȃu‡¼©u;œ@*}y‰| .©¬'C>\g=̣9àVëů·[o†|gđ ơ^ ¶>üd¼ -9­ÏÇûäîØÅø” -*E|A¥ă*M­[ă[*mOÜßQéz?PénƯ?R)YÁoT&[ÏU*‹•5ÀSÙ MB ₫́¡¥đ[³ -­„ßoYDh­Ơ{́Ñ,}1f?›«“NNœ¢ ]ÔO/^;\ÚÂJÊ ÏBÇEsJrª ÄơÆ'̣…g/ăăÑB%Ÿ¡o Cơêºn•7‹Ü:|ơyƒKt²&÷$§Øs¯|¹ơwPˆùÄ\i]¾$Z@+Í ¶¶Ơ€90x]»r¸­%¾ÈƠ+öRU¬Em‡+ܰª£;w u¬À9/I¼Ô7È7Ơ¦¹Q₫lu\¦yĐW‹N)ë8‰Ü°vYî*u´m”¡±¿éâ©âºm( fÊE½̣ÿG8² ¢j#I¬½R̀ùz #q¸ß·ß „)Y ×$‹ áĐ›†c_%¿m-{!0-` ;áå…¬ñhyVơäÁ]Hv! Ïta½\KïÅ¥[̀1{"çj 6@́–3T0%¥¿éΘ"ÇÔ™ÆZI†Gä›S“÷‚.³ÄΣpÆÓ¬SÆ1eéûÙ“ÄØ›ù YÁÿv»8d±\±B¡l¡Sû₫R)̉Ó†çù¯–®€ {IÓ†ổ%”¯>û0ĐÚ¦³\đ'”cg½2%4 QD¡ -0Í’3B²"ÉMƠ&€ÛhIÇÂÚ§̉Rg·ME¤¡©¡¶ I½Î(©̃Ơ5U–D] }̣™bí8$—‡́8¨>óáX ²h•"lµÎ€âj.%ˆÛ€HHÇ- I¦Ư¸#1’C4ỡỸ7„íî®íYƯ–¡V o>PÊ]¡6¿·˜ö™O4ÿ7f ½~AJdYFƠ€Ê.–̃oơĂ₫y) Æ8lÆ ¶22eœ¦̉1H¡[t‰°@!È… 2\€@¸5ÄÙ“Ê%Z×îüÛk̃’aơ®Ü@ú.`n¨3ÊOFŒ¢R(ó…¥¶÷ÿ½ZkLkF íHWjY I¤ê5×ç*ñ6ÚÎeµSbk.¤¼5F,́.•N0ßÔ™’¹€|”†V¦€||~Nô‡( 4·́Ú],́Jp|~ùxeÓÉA¨Ô¡¯5ˆˆ/»Ú»S¤ưäô”Đṿ×Üy?›ù²'_v|rê„ËXÜøîHéQʰµÄ“B@= ƯX¬ßú¬B9Ë4³˜«ĂT©ØB‰B©c ­Á«H‘P£Î+‚̣‰_““ƠYHÙ#¬$ªËÊ` ́Fø£ñB;ăµÂ+Û”…BPR°4̀¼ t­:tơ"ZEºJ^!XÂÇ“à¬q4_dTW(5äÜ€§åÿä¸ÚI±”UŇ̉AÍz₫@U6ÿn.WGXưÀÁèH́RKÀÛ&'swM±jʘ‹±<Ÿ”±˜3¦)€–`#F@  F Ô¢à₫ØvoÍb$x ï+²à¼uû&´}‰|ÊX&[Ùª8F‹-¹E&/>/ÑGÅ.aêz^̃/ƒÔ₫})œ²’ó'“x©‘$O=<ÇÂz™¤oä§áA9MØ&̣~î¡™¹3rµ3gŸœ¦'¿8̉£\°-¶MDzÈè˜økºÍ5†ù±´A -ƯÂưªG9©ä|1-Ø! Ç87û[œô¤,mRîu|¦57® -=X₫‘¤,˜aJ§Ù›¸^t´N›4ÓØ\fĐ„]AzH^7·ªF•è₫•™„&k"LU>}́>çrBåX(Û‚ªë‚T%¿« Jª¿„­dhKÄ”ó¶P“²KÁTFaA‡3HH†C[r;a›À¶d·™‡•54È̀ ‰—lL„kjG{¡́8Ÿh~ä fR@Đ́ü9wàB¨¤àĐ0ë zSơô°âÿ'— a7‚@Ư@N›±Ưƹl‘bj3hNî²Xö‹F/Éíe¢s£Ù'úDsQ«ñ<₫k^Óị́×¼²ưˆZASO¨idºSJăxN4D½³ÀKÓ!´¹Ôù !Ù«v‰¬hA`ÛE–·X•¼Ê- ¢P íÄ:Ÿ‚ÛѤCê:ÂÂWÍzS½sÄdO :¶_¿«ÔË`:tÁaηБ ¥†²Íسú¢® ¼IYđ4Ç # ø*̉Í+<êqn°oÔ¸u -Ùcwwóx$dµ³đÆ¿}ÏûÖÁ94̀ưíü9p¬*T:ú%GQæ…^aŸ‹‡äƯË'¨çeƒôbö¨l-ƠÜ*XƯLç%*ź¸.…ÚÈ\@pR$Tå*KÖͽ¸hp‡ÀˆÈèÁ‚ßă¦múÁ‘â-/“oSÚ3ßÂEàÏÎto¸}çжV‡oơeJ `<™$öÙtíØ½ßü ª]g*ßZ›„µ6q°Àùl’ø~÷E¯« -†Sú¸/’ùi£ÄTÆtÍk‚Ç®à²WƯĂ¾ Ü=?j¹G¢̉̀ÔUUAJÆơư›`†̉bÔË‘—ƒGˆơQÍAÏ«©ñĂ–ÎÆÚ́cƒûê½WËï©èWSmƯÀ­g³ºÚFËñª‘&©^ơúؘԡˆ6;C1:=ÛˆP‰äºƠ`ÊÚœVVÿ“ÔEÆ5"´hO«Xà~«̃ØN3_5Ó]ºz-₫­ä’CWÓƯtÔ¥‚Óˆ´ĐËeÜ]°\¶”©¿V¯–‹ÿcÔ#m[Ækũ—­_ʱ"©ÉösH³ô<}xï±…m0båxHÓqb‘a3tfçMTÛÑÏ*]I» -̃}×(ú¾œ,M”„–= Ư@ŒJAÛÆĐd‰ ¬Ë?§6PV±ö[ dVăvôæ4j̉ß›‘lH\â÷ÔŒÅè{˜Ø̣Môå½È˜\ºåY₫Ü€`9MĂ`Db‡<Á;a#ẓ†‘jw·̀}JÈÉz§^:V.ư:×₫Ú‹{¿Í¼(ȲB÷æËɦ’Éóx<Db#"S£¡{ô’PùHu½N/ë{r6;wU¶æĐ̣sÖPĐ“<¤çXÀàYâsÔÄ÷̃Mxu°‡\b‘Ús¸$˜xÊ(¢‰/^|^*0j~mà¬;#·%J„̃M4Çp˜QM׬đ::b\C2gf°°]½z̉P8T™ Uª“QbÖètºƒC½TŸ> -p 8+6g_2–lΡ6§Ḥ ÚÎdžH:÷ d›<æCÍé6³¯Ø¤ê/«¿6ăE:ÂK‹”"Ë`kJ©<›ÏÆ¢ä=ùv7„¥âN5·µ`°̣›¶Jt‹Ù\j¹6Í…%Ë7ô*¥'¥•U•Ù4±:âX+ ä\bü’E -ä́ỗaf®xŒ“}Á‰1+p™‹B¥Ë0î6̣â”åư3rơA$N~¶ô#³dª}ÇפŸP7h÷H7b£FªÂ§…‚¬8đ ³P>øBtGNĐ¢đmä‚xô@j …‘¸|{Às9à»=₫wRÙ/­«oDJs5z>“;'xƯñEĐq^ré^=G?½…9Aê¡æ–ÇAä_—£íK%µDÉ®:uikjkîIeÉæ½¬GúƠ#*¡†)µjm‘á|½t£¹}`Jæ©Z؈éÖ÷H=4î{gߢ¾)¡qXˆMA,HøŒ7û1‰ëV"¥Ùo,çY#hưü÷Ư¨Ṣ_ê;‹Ía_Ô—Z^cn4¢­ ‚H¸E«®?‰«°}Ñ -È¡»­Üî¼Ù¤=}BWṽªUeđåhƒÚG“F…‰‘æ;@2S¥Øœ€@Ëf ₫ÂËünÍâ2Đ#æ¹ñfƯY:]¿JyåH]­•-·˜G׌wgv'¡â|ˆÄ0eñ -Ă_7ˆđ̉«n+fßÙ¸âàY<«ç(Í -ª?ö́’©‘ỵù¡%wm¬+jƒ&&!è¢c“^¡u'bü&ñhŸm6¤Îû¹*2 ?´AÇI«¶Æ²5FW¾Ø™[âÆœ¨BơUzïIÎE”“!’m:‹̉ûœxhÔe—ƯÇ®n¼z|]% mÙrÁU¸FÚ¯”ù®1Æ ‰};!n F¾& g̣ÚñÿP‰†Ư¯¯;&×ö©œøï$$¸éF«).t›BíQ¨3¦½(C=ú·Óä¦XÀÎØesÔ;Ưiû«¶­Ù@¼Ñ~üNíÉΡEë ÔSR‹¡ˆh\éè£úÁBeñoº†½œ ´¹ÎbTÑ„nÎ’ju¹¾À g@ä÷'qQë”nx.u6bVU&Ô ›]¹;Ûïª!C_ „ 5Æ*̃z¹ɺûm€RQu‘ªq‚’঱PüÚZ0ƒ¶}mñ¼¡̀Êơn½¦^nƠOrÉT¦âÁ‘µÎ:ŸUă'×hÀæ§0nZ¡p^Ré|DFª_b\̣@–Öm‚èDEë8Æ{oèGM‰á œq¸ƯÏ}ÜîSd ®C,ûiÀÜEêé/°̃Ă‹[d8]×,MCIÎĐó_u—,]V™cñ"—ä¤p°g@́`"y)‹,;B³^e­lÚ¡ª2'€.(ÍĐĘây>à-|Îh­ÜÓÄwú₫ê;©jå¥è’íƠÑ̉iÔ½±ä¯ê_o|!@ö)É¢ƯªÄ=Ù̀ŒSPz—éˆ*!z})¼|ƧT}½j‘†E£tC¬Zå¡nŒ½Ă½œ*ƠơÉ4ۆ׽[¹©± ¾9»Đ®¨èˆ‘’Ư“ơŒz`Wmeôo‚‹|j8j­ï5á9¼öµ@.úE¿V̀/̀ZW@|—f_ç\"${ᜑv¡ạ̀ƒóœÀÈ/¸̣¶;a×:Se¦i3TäGË*ëÎưƒ]¸Æ¡/̀hÀ2C32$¿Óô¿ü1}¿ŒD¤ÍNXÉø₫t́?FÏí~n,Pj9.î–>×£ü¨Í{ -9ưÉEN-v|3h†̣‘CÅиE”•‡ XTàâË;P–$Ă=JÖ-ƯƠgƯ•ưùigz~q—(Aé<:h1±9³3áŃ̀½ơQ‰‹ăÇ}CLØWùß§Â×Ü~ƒá Úb™¥"†‡Í|Ç4u}îđ­×Ùc™y€à‹È6°¡2ÿ[ ¥ØÖ\d¸,µ̉Ơ³bkù¤̀Dåä¾%0TÜx­®{=;öÔ·‹†(„i‡ ØLS·øß1½˜øư©Ñ3ÿNÏh/¤6?æ'E^ö~ÿÆÔP®{sŹ™ZÓK”ÄB{’D̀tø&‰½Ôz’Ó÷)µUoaù5Q¦3‘È—ˆr~¿‘¾ -¦ôÙùF] $º<èútm(} ûĂÏMB@‡[œGx́ÎFÓh8›#}ˆô,£#À˜u ưLaz(̃Qh±4%Óxm`Uà•Ơ¹.E¨ăv1a’4_'/[¨d±{Fx¨IÊ59Œ ƒDơ<ế&8VˆEóFgÉÈÙ è˜#ơI‘äŸ2S²Íîÿ_ă©]QqAnˆÑ_đQç>b̃˜4g¡¨­±-®0&E#c¦Üi8¿ vR/Ơ4ÿrëP7•£KsOWµN3ƠvE\bq†ûQß5Z¹Ú½Vy5]½Ööàh/ i)Åû¦-/´°ă¡kµN¬Ñ¾ÈÄ#é)"Píñü {ưKSQx‰²¸¦>aă&µí¶,„  _èg¥´ñ-mác<×n]Ч-®5‘2c¨¹¡®ñz ¬7d Pœzóåµạ̀đ²V„ö“û¥OPvf¼R₫ R¤ÓÆà°“9†Z -ŸÁ̃d†÷®ˆ¿C›ñóÇ`,öatÁ=‡k?v¢í4#P è¤B̀¡Ø¥¸/[ơs.-bH)ɺzï '}¶×¶Ưîwœ!rÁXÎZµ ´.:’Vn×;î-î>:á -6àrÿ½‡UÁcsƠ4k¬VW¬{’ú‰đ#­˜5ß‘0ÁBƯắÇ`Üÿ0uÑ".QÊÆ¬›dB´˜0£”ơ˜CĐrơ]íïà#íºQ9lqœàN^ôÖ³¯éôh~ NU\´ ¼16 -~éè“á”S‘n‡Ṭl¢‘\₫TH̉²Ú›-ÙÉ~ªG~)$…oQ7-ë¯Cï°̀È́}q%/a™¦³vO°ª|[q4–‚’³~Bc-$NÜ76½Ÿw̉{œV餃.&£ö(†o¹©*ơn<§Øn9¡ÁJ– -"a‡© Đ”ÍƯ+¡† aÊ/»ưººđ;7zDØZη{×tM Mp—£ iØk¼NPwˆØ‘ͺđH`T ö$23–†fÓöÀĐÚ0zÆÈ;­¡¦ç"đ]Œ̣ª‚*Y²¤é,äQ¡WØàô¸lS鵯ÅOrW$5]K¡VÙ»Bâ…Ü…I¸kÚ|ß=²&Á[ÔèễÑ̃Å58EÓR¤0̃‹Gk«sSîñÁnặnnuăúñExKĐrô¢¬Œ}‡~mñÙ`G4u{ĐÑñ=]6f¤÷âר -BoÖ&< ™Ă±c;2 ®P$Ăǃ{mW_cơª'B6Đ?$½^z[C—Y¹Ư­™é¥jĐNó~ ₫¦Û®0¾»›út¢¯ú°Ûâ„6/)-‰1:p$Dꥅȗ -® -,'³†üyàơ±øÁv˜Ä …nœ‹F³T×Ñ™['a¦MbÎJ]»%&Ă®¬lc6&ÂèIpFåÄ ¨ÜođŒiƒªÄÉ₫ă5± ø'r¨äËår‘(q¼ïèú®ëî¾z6Á°öîÉ(5óĐáEôàÉ¢ƠŸl\…Lñkº7«°1ÅY4^)bٗ¦8ù¼yøÆªäÛ -NØ=ƒ›9zT–^[T$‡dkœ QâiK%áˆ6µüqµéçờîfO|àÚàcĐ8$•ji^vr₫.QQR"âYárÄăâơ¸ ¨Ăkø’¥̃rŸº¼Kˆ¢µû æè -N·eíÏRiû4¦¾Ơ!3Rù¢º"4¦ˆÈñún™bámÉ-y[X¦¦ÿÏñ."Æô!”øÜQK¯åE\Nëµ4gƠ ×ø§¿¦ƒï±aN¦p‚ >k)9ÁÁ0ˆBZềBs -ö¥yrer«)v¯¢®Dóëtèrv\ûvù[­ü>órµJmœ– -aœ̣«µ̀¼›~uƯêêƠº>µrMZœ°˜cíB<øă`)\y×t|Ûïÿr'<†ô˜à>ù×Ö₫ă[æĂ—ï­èh7ëú­₫ZÅŒ8caI!¹ ´p⢟Í̀®,¶GĂí »k 5@ÈÙô÷ÿ`ôÉiw ˆ̉nĐ8pŸv¿ çÉé*²Â'O - ƯÔü² ƯA[È.¡¤rhóT pR?+;Ëÿó\*H‹sLq̃æëU¹f–â:ql-㤠ñ*6!…hç+ˬ{h·‰ö- jg±kÉMMÉ×P#ă¶ä:¼}‘±¸{/ƯëîVËßŶC]́˜™ê·&[³W$Ú«^ß#àû¸¶4fWa\ ‹Á5́đ躺M[6½)T§3—•›~üÚέÉÔÀ -ă:. Z”¦¼¨`s̃i(ÍRô©Q…¼²̀|/ú`ù -ilÏ^°L# §÷̣f¤-ñ×;-C;_Ü̃ù*ù{@EMCooĂ‚_¤œÆĂơ7¾TöărqzÜFµ%ׯ|™UEÆ«Us^Ưœv{ ë¤¦fQ<Ä¡‰VPüïĂÊTfͦî?¥ơmØpÙP*È&¦÷ĐQ‡G‰ù{cœJïñEPe2)xP½0AÑßÍûMɪZH¶j•"×»"ÙA¬ĐC+zq‰mVzá–óU%ØCµ:@1æăđW¹ î[y)ÎJ@÷o±b% ÷j”A>)N̉Ç€Ôiç¼$’AóˆÀ́t`>̀?f0gÿH36pè6á̀D|ûM›ä áö4N¡° -œ’ 4J½JÚƒ¯ -µj¤˜Æ‡´ó\ íp 3Óø£8À¦ªÑă–Đ¯ï”»­6p®ùV?:¬$‚sDùÀNúµƹ‘2ï’n’,¶„HƯO\‚[¸øƠ¸›öKÙ-)«W~¹iém™?ÿ®ƒTĐ:°̀đ̃ºUÖeYŒÓă-#dJe)¯±ÚÏZªƠ5”?ø$»æ¡\d©W<·¹¹,Ɇ†;¯Ø·¸Ă5ÍỊ́S¸Ơ¸¯¼—T«T–ñÎ̀„f(PY°v=Q ~DX*¼ßƯ8øè¾©s- Â˨®Î€55 ­ X¢R¥l QCÏá¤Î á“øÑÀl|̣ư5Î{ûÓ¦T\t꼕+éï£e»nÅÛ¸‹’ÂPsÓèlû3™ùUO©[üÛîÇZ»ÉS3åÀîŸ*è́,˜ª†ß:Ă›Z₫¾ÆÔL‰›¬†ƠSô'̀µæă*ợŒ*@¨øı~xgno2±¹áˆâ- -…Œ ³W³«½V;äpZå9?~„«$«6Ÿ<”µQr‚bQ8&óse•ÉEb¯ÚQ,·₫^|B²µï碘ïVd¬V-¶(Ü]ă .ïèË8/qhV¡nR®ó®QÈD‰*ùU(*1hç1Ă`ØQL{…Uj `à̉"o3Ü»æ™V¨l…µ: ÑíêÂØÀ jaFaàE­¶̀Zˆ‹g1±·zü°̀2Ö Ơ:ÍAuÙZIf6–ƒ2Ơtw+‰‰f§D‹ïÉ誩CL-}g»µZ³0>̉„óxJ¢ưÿÅ>\îÁëQ‰¸AÚ_C¶i‚hß̉bl] ‡6̃ỠÜ4*A˯ɰüqX‰¤7„»ỴX.€-¾ÚƠ¸•aɇĂVâh¬–iKg•ÔÏqN³RĆN(r'Á]¼à%Ù˜„…­ôˆ@3ÔÍ€ÎÂj§Z¬÷J†.;üănmƯú¯ƠÎ,SûûØ0x¯³ĂơøØÍ»£OF33­̉§¶…«<$'Û»¸G—E+´Ú}¥¥Îóúó§…'1đf3›ÆửyĐ5Ư/&¤Zœ\RBô7dmíô]æ¼8§§Â\Íư„3ß‚„Ȫ˜@÷́o¿ûTé¿3eu^·W@ªü”–¦e7l–!Bă,Às‚äæ1ÜÍß$ạ̈¯ÛZ§ă&Ù’ç?¯âdCéá (YЦSm>‚J"&pt̃܈ªP㇄BF¬ø´Ú±àÙø4ŒGá5œ t^Ć$¯̣̃j-aă g^ÁÊC¤–…ƒAsÖT=k¡TS,|€ràå9I·½BϘЬ†ö'ẤvGA¶Î@ÍtÀ̀hQƠNj†&€åT=Îxt;2]¯P¡|T- LĂƒ’Éç¿ñe1ăƯ½WĂZÅ*MrH5?„ñ‚=àưÑo°¬"ëÆ9ÑK5Îø=«'kÉ-*•„èA¦E| ₫ ̃ q̉”‘_?\£7%ö|M6°fª+““+’S*}çW_Ü]3ª¨ú¶fmÜ®Ø̉˳̉Üm w!–—î÷å.ÛR#‰é¬ª;Æíú¦±q qó71Öä$•Ư™Ơ¯_ÀóiKà&́J©Î¬M®¬ö̃ÇemåVÄ5PÏ0>¾¾ Qçµ5ª†W•©H­Ih×åù&ù4̉IlÓE7}âsÈéÄm[cȾ́¢„|d^ ¢́÷%Uvé1¦D“²>“.èT¬̉7*é=tƒZ¸_§ăŸ¾1Đ¥:=0pZû6̉‹N„t(åuíÆ­; ÇB̉]³‘$€k¡ÚŒ€Â.ó{ªFÄ*/UZ’ÆNüç ¦|oqÊK—G;^Öä¾9N§ûeÿíxK‹ ’¡¨\‡wh₫øñ~¡̣̣ZpHÔb‘‹Í䉸 »ˆÛ[k¶8âÉÍ̀k÷â.bX.Q¾Xp¸xYa^µĐ"˜Ñ#럙ăB³wnb¤¿óåuÓđ ém5F²½~>ÇĐ8€­ÁbưúäN:Ưp4 µ[gv^ -B½ÓFĐUzû)?œ¼60ĐFÉÉ8˜‚Â/2 ŒC8¨Œ®>N8GîÍ%ló%èƯ5ºFH˜{4„6h§ï¸4%Æ# 7¸è›ñÍúËx óoºÜN tª\•'ßȨ ¨ úæE£æ½0#ƒïj¸NĂ£VïÓ¹dà?WlcW×đ‹ Äí -ž½Öµµuû-“»}2„2¨¶¥EN¿}#‡äµµ2H^a3đơ»¥r»Áqs§¤°ˆ„-S3&Èïô„f´í‡£̀ëÎfwl.=Wø8å„,ơà̉cHá®jcTê±W®‘× s9̣0î”ZàDÎM“ú¾C2’ZM’ƯûdjµŒtŸ"8À:gí{.Ʊ°Đ1Fb6ƒ1Ç8"yÔ¦>˜ơ¿ ’­WÀ9£ë ÓVö ¯`×j¿ư®¿Ṭ””‘‘€²µr,nƒ©iÀ­Á ¥d³… ÿôéqN§ªƯ .g+ ïSÂë¼ Qúù·¾ë áKaB¾ŒÛà?_í‹ÛQE ‡“µr¸†ÿj¤î‚h>ô•E¦Ó›;C×­7…‹·^q¯ -Æ`U¯eú#-Ÿ˜·;oJ˜Ä‹ẳæÔ>) Çư‚;Jgí£Ï×­9R;Ogí¢ÅưiI7ú}—â8K¡’œÛq¦j¹ÑeØ“£+Ù—'nñÏ·k3‹Á­»üeFÏû́…0±̣¯ßV#©íÆp¥MAzb^P÷VÏu¤Û~̃1uº—̉“•wnÈ ^›.II—¡_Æ̀ÚvdW®ÈöóÎ[Q,Í̃è+L¾b‚í¾É¥å„ÆÄ‡q¼₫ 9«V}ï ”ÎVÑw4qUä3&jÛıHYb¼ ü¹ˆ ¿ttTœơˆ7Ị̈’«ÙarBwP9?)Ûu•é‹T/Ùa£•A19–±kªM -\ÓäPƯßs›<ØTaĐă@‚…ơq±Ø+û£=Ù[5ÄÍ”·¶Ö×?²9£WÀÉ+^ưo¯^Eàă8s)åfç —2aôæ­QŸx¤·i‡é& NE>"^NaäaŸ;fÙ̀9]NE& t^°ÀCLz'âe…8ZRñs&6̃²7_üĂ£cyJ‘1 Ä₫@TZ°?SD2û -‡|ÔPơÔËOÓŒé\dªRï̃đû7zHƠøƒî±9iÈ‹Q#µ¿¶‚zr³óc.̣4ö†GưR4ÎÈqx¦đ¾<2~X’hµ÷náăੳ¨Å2ˆauB­NCÑ+›¢k—Xó0Ñ aj5n>̃‰¨ơ²e3öṽ§Óôé<¥>°_²Ÿ Û uH: XRÿ%~9á!4öüoÑѼ¦è3…ºâ”8?¶‚ Î1d#ïÔÑü–A&‹„„{A!i6 ‹ŒíÜ/XaŸ£á㇤=W‰;|ïđä) Đg¾~£ ?*¾æ‚½Ă }¿ăÚ§ˆKt̀>5|­EµĐîÑÜƠ.§ưôAû Qñ6üú ²€¾(6 - -6Ñ”Æ7–Ú÷<9ùù_đ•CÁ f1₫ëĐéi8¾®†å», V»4$ÀŸutÉøœø£ÆiÁ,.`v6r â£̣P ¯½gFBÉÇ -ṭĂçÚ C3½;˜ ,¼oĂ‚“æăœx| -/KóMp©1S_¾‘X.f÷Vª†#¼U>È’Èơˆ#Böñ]µ A‘IVoÀ̀Đ†ÏµÀ‘¿üGTV1nr+£ÎOXÂS•% ‹›³¶™f§OZ[Û_ư9œû‘P­ß°÷ {Gln‘%ß#ÚÛhÀdw¿H ù=† ¸y©e/íªW¼³´¶>̉,Óö¬°IP,*MV•đ„~ºK&ăe¢Ä‹»ûḾ½£=̣)‹qF¿ S¶ß´"ÉGÑëTF™*¹LX,h[—´º“§ww´íeñWQEÙxÚëº ?áè“{^Ú†Exïh»iư»¢×‚„J”³ĂÀH¥|ó^ÙÍ“…Ée*^‰Đ¯.ăuÚxE™èëËb#î;›’ôÔ<]z]\íƒ×¨wÚN»ho¼chq¸E˜£=ºçâ4Q1¸7ưƯçWü½̀“lĂ•6á§¿­HE_̀£ ùqyÿ‰á YR¤Û«ä9~l4sæVyù­™`×Uß›,ùŸ₫ñ×Å#_Êu´ù+Deêêí™àéMÙü¢~h³qªë²‡’·#YúÊæñzü$;Û 5ͯ9$µË z²>ÿ -¾*jơOŸøŒñÛ$œĐ$O/¯ÀĂxRí½ƒÂtưf-}*oïɦøÙ̀|3†M;x̃¨¯U”•µl/.ñ~XǯYá¼4™x3&æë×x®";¤$KIö’5ÛdÚ­ ½Êáüú‹~w[ÊÔM9OØă%4̉áQ¨}éS^́t–è@ÑËæw[›Y;-ƯöÿÀºs;¢b¾ÍwH-* ï––Ăim½¶IÊ-¶1e/•~ø¨TNN®.̣p²ßđ)H$ûë«Wïß~ÎđµÉƦí¼O -( é9è†,Ù ]gM6rê+„#»%ƒà/süw¯Aœ$ơŒqÆ4ËO> -d9}÷+đÑ$Œsô³ư?0£™a,>y‹¹Úˆs<đ₫=†,đ‹c_*\âƒDí¼Ü}È2Mí°Í̀T8/í4ægæ'Ú¦â8'û}"‹Câ*„\9½#Y>z$æöÔ7c[s“|"$}» ym̀ïƠÀ«zQx 5·%å oùå“$j†kĐÎp)ñx½Äû-:º†Đ˜|?˜oăøf§‡gFrÀß2S‘ÇZ÷Œq}qˆµ …o€,wyÅO¡gÊCF1Öl˜çŸ'íL5T3ợ3ûÑđyª¦M‰9Ú2"s”˜̣5uD•‹6ÀÔ-J́‰U†bsºÏ -«O)ƒ̀w¸R -2æ/5fÜ<ªBQ̀4kŒ˜ê­G¹ )%ß¼ăr’Ï›f@=âBF™‹ïCB±©‰‰ƒ‡&'‡F}@©&ÓÈÿ„y×ubâĐÁÉÉC?'«êåñçSæ49+—Ă“ä±Cø®³íIĂ®đ¤ÙŒ+×ç˜ëf/R«Uê ̀îC °Fu:C*£} †T:º¶}{ÂÜƯ½â²·ÔuªÎ×ø•¬e[!®–>ú? ‹ÄåưÚ¸¸"ÇM -8gzƒô0\HkƒÔZ³:Ähå­~™@ª+ô#«Nê Öfj¾çyµîå‹ioÀ!„B÷ ₫ñô·“±R'©5>Ú`Ụ́[!ÂÄTˆ`mC I…ÑĂ}¸n ->Wßô!M}UËavơ¶4€3)!§kcÈ‚²óm₫?’ Ưådïw•ăv«!×”;Xϡۨ}½8ívt•ëĐ"Ó¼# kÂvXJ™±[“l¶[ZƯ™MĂ€§ñĂXC3lê–[ ĂTa¼Vj‹¡…ÚÊ»¥åŒÑ¬"Å“Ṇ̃ t:‚(êà¦ÈÁ<¾cZóve—ưQ›ÇîT…Ÿ qHá‘i{ ̉é€Q埓'Á“Ă–»“i öPØöï¿­èüȯáímKÊAçIơ¤BFƒ -£=‰‰µâÖTá…½¶à(âœ&TSŸ?/ïØA:Ö·¬»ĐV§(ø÷@wïFa^ă¦]…Œµäo]*Óñ99¬R¿iáñ_Ộ˜À™₫ÎË2vM“€Ø`P§“ôf¦´{QYÏ«íH#V7vÅ7̀̉° q>@àó«~uɘ׆Ax°Ă/ƒ«xÙ°B₫à3£Ä Ùô‰tƒÊÁy†b0ŒnG`Á ̣EÚD́ÙäA’Ô: ÆPØwIÓ7ḮnWÓ÷2ED}.(h•Ü"‚óăU]¢9Iíh_îV¯@‡›GZ0C -Üpb ó:ă™L 3¡tN*ªN ½2¿Ó!¼3Œ Ca³—yn.•ÊƯÉ‹Wâ`̀³Ü}±QB̀CªĂi Á¡8*Ăï{57‰¹́O#aT¢ËB½Ÿ‚½Uío₫i§0ç ó_ËđÑù^ -ChrU}~rÈL 1̣zÿ>..ö=%GÁ›GŒ£ ëüo ™‡ ŒEéu‘P³Psؘ̃¸èó8­đü₫P¨Ÿu&;æÊ*Œëù|i&¤ÿPbÛÈ›°²˜h̉;´[—€|y*cƒVh†̉¼̉(ÿ”~Î_A•qU2·½ÿôGIQÇ3`®^Êv₫=î@¬ÜK'¤µĐ‡èËZ#4sJ=º¤:sY©è sÚ¥bÂyj ¯ë·S_E܃"ª‹@~‚Ÿç¹>­86ºñ#Îy±Úäå[ïèc̣Sï„¥ÙŬ–”̣̣#­SJ”GZû®yvvƯßSùÑæ‰p¸waTÏơÅ/, -9'Jkv%%.†~ọ[̀óŸ è¡§üœÂR±Bj¢ŸSèÈ€*$'øè…©pçS¥u à+ç9\¬í_f+ạ̊üù8ơu\,¶ÊÓtæåđpÑĐkØ®J0hó(]N„QÈvó³W¬Ç̀7ó •8«ƒ6:ÜÖƯ£Ïâ ·ñWc“¯Y_i>ú¬ŒƯ"‘ßR¡çơ’â(Óe]̃6ø¹ªRA%U—6&´F]”½7@̀³k3X h?ŒÁKïà®̃Q¤2™Bk¾[?.ÿ€Ă.K¡ÈKAb̀6ữÄ5¿·ḳ’e+]²F°eöWH©Ụ«û0OƯ×§¾5…´øÿ ¤úîäe3H‡®coÇ>l]0¶2±ˆcư¹‡ƯHÊ9{Z {sOơ–!¥A,₫7†?Å·3wä¿A -àFjÚÿ¸8¸Bí&8U$G…¡ÂµÙßé$µY5˜‚†FâL…5nḈ²Ø̣1–”> qóº2££.«6“e—é -î ́¼Úơ—œ+˜–@/¬¢đ™µkíb{à÷(Å7Đi=¥É{lͬƯ‚­âÎæ¿¦ï 8«…1g(»üè%ÎÓh/ëEf¶M¹̉ƯtŸ5½Ÿ̀¼vg½oÚ ê~à©›WKi父U«ßØ£Ư–­w¬RS‚ÉFíßT¬²%ª `=í‹ø|*=1‚̣*ù»ư·S§Xö¬€·Ø^ệÓw)l–ĂÖfQHăúŒ(YS₫ô„SËŒK·æ1̃ØâíW]µf™Ÿ·°7׳^&ưpô@T'.́À%3³•„Ă ¯´ß̣̃»ù5ÏzaTf6Ñë©A5ÜL•óX̀¡æ·Á|ñL¸-Ÿå–ηêÄT×g{A)ªî­®FÑ•."hü“ùj¢ A;.đâ~Â₫ …õ%°è ưG#Ñ}&]̃×¾cÜ`C»hH9xnN†·Y Îlđ²c̃¤\+v\EŸ¥«Æ§1¦D9K·Xá)2b.¿ó­“NôÚưW¢§ÜQש$¥/£”|6tð™Ă32Ô›£´7¡¡¦–2¸ÑÛиyuü0e×ñ€)’NØuh'dœ¶Ăî„ơ~xY‰É ‘´>ÄÚ# bˆ"k3Óđ ¼ƒ®̀: 9¿º¢vˆú$ĐŸCƯ:Ê)H¹Ë> Ơ¦zÇÛ;e“d\jmfŸäOÏa%̣9‘ˆcK›xÓĐÛ¥Å!k©%H̃Dn“ü{YÜ"“{n_Ö} -ß)9ƒ= _/û‡ZÎ(éù>lú¶­÷YŸÖV÷‹gQ#§ß­:QÄ•ÈbwƒÇ÷Ơ$¾zw±đÙ®‹#¿»ăU˜?|ÅđïGÔ΄hÁzü{ùoº$wñ×Ïœ´º)|Vh‰Ú?»Œ ZV7¾%ŸüGûo/£×†‡ôéEÏ"¹KÓ²… ́µl¥p76Î-z !Ál€4n>”¼$\á×zV?szûqej́Qçëé]m‹›æ^æ=^µ ä§í­¥! ²ºl…ôHB4sL i9}̃2¢^×ưKĐ5ÅOBú)èíO ­çv^~ªêµưïƯ€x¦“rm\KÚ&G^Đ5CçĐL¼}&Fº̣”ÀËâ¨B]K†¡n3††|ÍsGjyđk₫O¯µÚbåsܽæaW?R6đ¡·²¾JÂÇfhăÚ2 ÄÊlBS§\=¢jƠƠV—Ê*”ôY¦“^¢¢Á™„˺^E)Ơè*”\½Ÿ  -‚rÔr(a¢@ø„6nÔŒ£?¥}ÚdL°©¦g¢IvqØNcĐÇa‘Æ®kŒÍ÷mLŒöcÁA!¤±hd¸£±Vëđµ¹Ị̂wc=¢¦æ†–áæ–Ơs_̉:ÿ̉—•¢sLËí£g>‘œ—1Ü*4-%đ&Ëơ0Ubƒ)Eܬ†*b¸ÔÖ51—Äï„ç ä+è+;˜<…«†’`!q°fÍÎMù*Æ,[/GK+{Ă—®,>CâLŒóR%%cŒ³ÂÆĂ~‘’'EG†A‰®GºÂ=‡hÂ䟔°8:ID́N)ÅẀ»áAF)ucw'qhÍXè²L@a„¾~Œ6̀Pc2Lă"¥A…2b́ÈU ™À&Œ€‹ÿ ¯9öA#ÓQLO¬:E€9k§©’‘Æf̃KF•b93tºL$c‰Ë¬pÿLzÿ ¿5ÔdÚp¢₫đùÛ°>$`œ.÷ï«~Xó=¶¡ă?„ NͰ/Ä©L®PªÔ­No0̀«ÍîpºÜ¯Ï ‚b8AR4Ăr¼ J²¢j¿}øŸĐ Ó²×óƒ0“4Ë‹²ª›¶ë‡q—uÛóºŸ÷ûAFP 'HfXDIVTM7LËv\ÏÂ(N̉,/ʪnÚ®Æi^Öm?Îë~̃ï÷‡Ă ’¢–ăQ’UÓ Ó²×óƒ0“4Ë‹²ª›¶ë‡q—uÛóºŸ÷÷ÿb$œ«tV&g®Ï–íÁr>¿<Ùyóå?’“˜ûf₫{ç´·£‰µ›%îµïÇ̀~ßZû₫aÅzW¾¿¼÷ÜơƯ2ŸµsvïẠ̀̀™ÙeW«‰µ‘à@DDDD$""""bffffÖ}X ÓO„0ÆcDDDDD¬µÖZ›6Ẉ08BÖçI¥ƒ.H¬W -¢ßˆÇĐ9 ‰u„*¥”R*J^}€Ä:M”´$I’$ỈF‚‹™™™™yÑŸû̃óÀ_WÍÆư3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
    ',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.7",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e=a-d&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ -r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], -shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; -if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}();/*! - -Holder - client side image placeholders -Version 2.7.1+6hydf -© 2015 Ivan Malopinsky - http://imsky.co - -Site: http://holderjs.com -Issues: https://github.com/imsky/holder/issues -License: http://opensource.org/licenses/MIT - -*/ -!function(a){if(a.document){var b=a.document;b.querySelectorAll||(b.querySelectorAll=function(c){var d,e=b.createElement("style"),f=[];for(b.documentElement.firstChild.appendChild(e),b._qsa=[],e.styleSheet.cssText=c+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",a.scrollBy(0,0),e.parentNode.removeChild(e);b._qsa.length;)d=b._qsa.shift(),d.style.removeAttribute("x-qsa"),f.push(d);return b._qsa=null,f}),b.querySelector||(b.querySelector=function(a){var c=b.querySelectorAll(a);return c.length?c[0]:null}),b.getElementsByClassName||(b.getElementsByClassName=function(a){return a=String(a).replace(/^|\s+/g,"."),b.querySelectorAll(a)}),Object.keys||(Object.keys=function(a){if(a!==Object(a))throw TypeError("Object.keys called on non-object");var b,c=[];for(b in a)Object.prototype.hasOwnProperty.call(a,b)&&c.push(b);return c}),function(a){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a.atob=a.atob||function(a){a=String(a);var c,d=0,e=[],f=0,g=0;if(a=a.replace(/\s/g,""),a.length%4===0&&(a=a.replace(/=+$/,"")),a.length%4===1)throw Error("InvalidCharacterError");if(/[^+/0-9A-Za-z]/.test(a))throw Error("InvalidCharacterError");for(;d>16&255)),e.push(String.fromCharCode(f>>8&255)),e.push(String.fromCharCode(255&f)),g=0,f=0),d+=1;return 12===g?(f>>=4,e.push(String.fromCharCode(255&f))):18===g&&(f>>=2,e.push(String.fromCharCode(f>>8&255)),e.push(String.fromCharCode(255&f))),e.join("")},a.btoa=a.btoa||function(a){a=String(a);var c,d,e,f,g,h,i,j=0,k=[];if(/[^\x00-\xFF]/.test(a))throw Error("InvalidCharacterError");for(;j>2,g=(3&c)<<4|d>>4,h=(15&d)<<2|e>>6,i=63&e,j===a.length+2?(h=64,i=64):j===a.length+1&&(i=64),k.push(b.charAt(f),b.charAt(g),b.charAt(h),b.charAt(i));return k.join("")}}(a),Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(a){var b=this.__proto__||this.constructor.prototype;return a in this&&(!(a in b)||b[a]!==this[a])}),function(){if("performance"in a==!1&&(a.performance={}),Date.now=Date.now||function(){return(new Date).getTime()},"now"in a.performance==!1){var b=Date.now();performance.timing&&performance.timing.navigationStart&&(b=performance.timing.navigationStart),a.performance.now=function(){return Date.now()-b}}}(),a.requestAnimationFrame||(a.webkitRequestAnimationFrame?!function(a){a.requestAnimationFrame=function(b){return webkitRequestAnimationFrame(function(){b(a.performance.now())})},a.cancelAnimationFrame=webkitCancelAnimationFrame}(a):a.mozRequestAnimationFrame?!function(a){a.requestAnimationFrame=function(b){return mozRequestAnimationFrame(function(){b(a.performance.now())})},a.cancelAnimationFrame=mozCancelAnimationFrame}(a):!function(a){a.requestAnimationFrame=function(b){return a.setTimeout(b,1e3/60)},a.cancelAnimationFrame=a.clearTimeout}(a))}}(this),function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):"object"==typeof exports?exports.Holder=b():a.Holder=b()}(this,function(){return function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}var c={};return b.m=a,b.c=c,b.p="",b(0)}([function(a,b,c){(function(b){function d(a,b,c,d){var f=e(c.substr(c.lastIndexOf(a.domain)),a);f&&h({mode:null,el:d,flags:f,engineSettings:b})}function e(a,b){var c={theme:B(J.settings.themes.gray,null),stylesheets:b.stylesheets,instanceOptions:b};return a.match(/([\d]+p?)x([\d]+p?)(?:\?|$)/)?f(a,c):g(a,c)}function f(a,b){var c=a.split("?"),d=c[0].split("/");b.holderURL=a;var e=d[1],f=e.match(/([\d]+p?)x([\d]+p?)/);if(!f)return!1;if(b.fluid=-1!==e.indexOf("p"),b.dimensions={width:f[1].replace("p","%"),height:f[2].replace("p","%")},2===c.length){var g=A.parse(c[1]);if(g.bg&&(b.theme.background=(-1===g.bg.indexOf("#")?"#":"")+g.bg),g.fg&&(b.theme.foreground=(-1===g.fg.indexOf("#")?"#":"")+g.fg),g.theme&&b.instanceOptions.themes.hasOwnProperty(g.theme)&&(b.theme=B(b.instanceOptions.themes[g.theme],null)),g.text&&(b.text=g.text),g.textmode&&(b.textmode=g.textmode),g.size&&(b.size=g.size),g.font&&(b.font=g.font),g.align&&(b.align=g.align),b.nowrap=z.truthy(g.nowrap),b.auto=z.truthy(g.auto),z.truthy(g.random)){J.vars.cache.themeKeys=J.vars.cache.themeKeys||Object.keys(b.instanceOptions.themes);var h=J.vars.cache.themeKeys[0|Math.random()*J.vars.cache.themeKeys.length];b.theme=B(b.instanceOptions.themes[h],null)}}return b}function g(a,b){var c=!1,d=String.fromCharCode(11),e=a.replace(/([^\\])\//g,"$1"+d).split(d),f=/%[0-9a-f]{2}/gi,g=b.instanceOptions;b.holderURL=[];for(var h=e.length,i=0;h>i;i++){var j=e[i];if(j.match(f))try{j=decodeURIComponent(j)}catch(k){j=e[i]}var l=!1;if(J.flags.dimensions.match(j))c=!0,b.dimensions=J.flags.dimensions.output(j),l=!0;else if(J.flags.fluid.match(j))c=!0,b.dimensions=J.flags.fluid.output(j),b.fluid=!0,l=!0;else if(J.flags.textmode.match(j))b.textmode=J.flags.textmode.output(j),l=!0;else if(J.flags.colors.match(j)){var m=J.flags.colors.output(j);b.theme=B(b.theme,m),l=!0}else if(g.themes[j])g.themes.hasOwnProperty(j)&&(b.theme=B(g.themes[j],null)),l=!0;else if(J.flags.font.match(j))b.font=J.flags.font.output(j),l=!0;else if(J.flags.auto.match(j))b.auto=!0,l=!0;else if(J.flags.text.match(j))b.text=J.flags.text.output(j),l=!0;else if(J.flags.size.match(j))b.size=J.flags.size.output(j),l=!0;else if(J.flags.random.match(j)){null==J.vars.cache.themeKeys&&(J.vars.cache.themeKeys=Object.keys(g.themes));var n=J.vars.cache.themeKeys[0|Math.random()*J.vars.cache.themeKeys.length];b.theme=B(g.themes[n],null),l=!0}l&&b.holderURL.push(j)}return b.holderURL.unshift(g.domain),b.holderURL=b.holderURL.join("/"),c?b:!1}function h(a){var b=a.mode,c=a.el,d=a.flags,e=a.engineSettings,f=d.dimensions,g=d.theme,h=f.width+"x"+f.height;if(b=null==b?d.fluid?"fluid":"image":b,null!=d.text&&(g.text=d.text,"object"===c.nodeName.toLowerCase())){for(var j=g.text.split("\\n"),k=0;k1){var n,o=0,p=0,q=0;j=new e.Group("line"+q),("left"===a.align||"right"===a.align)&&(m=a.width*(1-2*(1-J.setup.lineWrapRatio)));for(var r=0;r=m||t===!0)&&(b(g,j,o,g.properties.leading),g.add(j),o=0,p+=g.properties.leading,q+=1,j=new e.Group("line"+q),j.y=p),t!==!0&&(i.moveTo(o,0),o+=h.spaceWidth+s.width,j.add(i))}if(b(g,j,o,g.properties.leading),g.add(j),"left"===a.align)g.moveTo(a.width-l,null,null);else if("right"===a.align){for(n in g.children)j=g.children[n],j.moveTo(a.width-j.width,null,null);g.moveTo(0-(a.width-l),null,null)}else{for(n in g.children)j=g.children[n],j.moveTo((g.width-j.width)/2,null,null);g.moveTo((a.width-g.width)/2,null,null)}g.moveTo(null,(a.height-g.height)/2,null),(a.height-g.height)/2<0&&g.moveTo(null,0,null)}else i=new e.Text(a.text),j=new e.Group("line0"),j.add(i),g.add(j),"left"===a.align?g.moveTo(a.width-l,null,null):"right"===a.align?g.moveTo(0-(a.width-l),null,null):g.moveTo((a.width-h.boundingBox.width)/2,null,null),g.moveTo(null,(a.height-h.boundingBox.height)/2,null);return d}function k(a,b,c){var d=parseInt(a,10),e=parseInt(b,10),f=Math.max(d,e),g=Math.min(d,e),h=.8*Math.min(g,f*J.defaults.scale);return Math.round(Math.max(c,h))}function l(a){var b;b=null==a||null==a.nodeType?J.vars.resizableImages:[a];for(var c=0,d=b.length;d>c;c++){var e=b[c];if(e.holderData){var f=e.holderData.flags,g=D(e);if(g){if(!e.holderData.resizeUpdate)continue;if(f.fluid&&f.auto){var h=e.holderData.fluidConfig;switch(h.mode){case"width":g.height=g.width/h.ratio;break;case"height":g.width=g.height*h.ratio}}var j={mode:"image",holderSettings:{dimensions:g,theme:f.theme,flags:f},el:e,engineSettings:e.holderData.engineSettings};"exact"==f.textmode&&(f.exactDimensions=g,j.holderSettings.dimensions=f.dimensions),i(j)}else p(e)}}}function m(a){if(a.holderData){var b=D(a);if(b){var c=a.holderData.flags,d={fluidHeight:"%"==c.dimensions.height.slice(-1),fluidWidth:"%"==c.dimensions.width.slice(-1),mode:null,initialDimensions:b};d.fluidWidth&&!d.fluidHeight?(d.mode="width",d.ratio=d.initialDimensions.width/parseFloat(c.dimensions.height)):!d.fluidWidth&&d.fluidHeight&&(d.mode="height",d.ratio=parseFloat(c.dimensions.width)/d.initialDimensions.height),a.holderData.fluidConfig=d}else p(a)}}function n(){for(var a,c=[],d=Object.keys(J.vars.invisibleImages),e=0,f=d.length;f>e;e++)a=J.vars.invisibleImages[d[e]],D(a)&&"img"==a.nodeName.toLowerCase()&&(c.push(a),delete J.vars.invisibleImages[d[e]]);c.length&&I.run({images:c}),b.requestAnimationFrame(n)}function o(){J.vars.visibilityCheckStarted||(b.requestAnimationFrame(n),J.vars.visibilityCheckStarted=!0)}function p(a){a.holderData.invisibleId||(J.vars.invisibleId+=1,J.vars.invisibleImages["i"+J.vars.invisibleId]=a,a.holderData.invisibleId=J.vars.invisibleId)}function q(a,b){return null==b?document.createElement(a):document.createElementNS(b,a)}function r(a,b){for(var c in b)a.setAttribute(c,b[c])}function s(a,b,c){var d,e;null==a?(a=q("svg",E),d=q("defs",E),e=q("style",E),r(e,{type:"text/css"}),d.appendChild(e),a.appendChild(d)):e=a.querySelector("style"),a.webkitMatchesSelector&&a.setAttribute("xmlns",E);for(var f=0;f=0;h--){var i=g.createProcessingInstruction("xml-stylesheet",'href="'+f[h]+'" rel="stylesheet"');g.insertBefore(i,g.firstChild)}g.removeChild(g.documentElement),e=d.serializeToString(g)}var j=d.serializeToString(a);return j=j.replace(/\&(\#[0-9]{2,}\;)/g,"&$1"),e+j}}function u(){return b.DOMParser?(new DOMParser).parseFromString("","application/xml"):void 0}function v(a){J.vars.debounceTimer||a.call(this),J.vars.debounceTimer&&b.clearTimeout(J.vars.debounceTimer),J.vars.debounceTimer=b.setTimeout(function(){J.vars.debounceTimer=null,a.call(this)},J.setup.debounce)}function w(){v(function(){l(null)})}var x=c(1),y=c(2),z=c(3),A=c(4),B=z.extend,C=z.getNodeArray,D=z.dimensionCheck,E="http://www.w3.org/2000/svg",F=8,G="2.7.1",H="\nCreated with Holder.js "+G+".\nLearn more at http://holderjs.com\n(c) 2012-2015 Ivan Malopinsky - http://imsky.co\n",I={version:G,addTheme:function(a,b){return null!=a&&null!=b&&(J.settings.themes[a]=b),delete J.vars.cache.themeKeys,this},addImage:function(a,b){var c=document.querySelectorAll(b);if(c.length)for(var d=0,e=c.length;e>d;d++){var f=q("img"),g={};g[J.vars.dataAttr]=a,r(f,g),c[d].appendChild(f)}return this},setResizeUpdate:function(a,b){a.holderData&&(a.holderData.resizeUpdate=!!b,a.holderData.resizeUpdate&&l(a))},run:function(a){a=a||{};var c={},f=B(J.settings,a);J.vars.preempted=!0,J.vars.dataAttr=f.dataAttr||J.vars.dataAttr,c.renderer=f.renderer?f.renderer:J.setup.renderer,-1===J.setup.renderers.join(",").indexOf(c.renderer)&&(c.renderer=J.setup.supportsSVG?"svg":J.setup.supportsCanvas?"canvas":"html");var g=C(f.images),i=C(f.bgnodes),j=C(f.stylenodes),k=C(f.objects);c.stylesheets=[],c.svgXMLStylesheet=!0,c.noFontFallback=f.noFontFallback?f.noFontFallback:!1;for(var l=0;l1){c.nodeValue="";for(var u=0;u=0?b:1)}function f(a){v?e(a):w.push(a)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",function y(){document.removeEventListener("DOMContentLoaded",y,!1),document.readyState="complete"},!1),document.readyState="loading");var g=a.document,h=g.documentElement,i="load",j=!1,k="on"+i,l="complete",m="readyState",n="attachEvent",o="detachEvent",p="addEventListener",q="DOMContentLoaded",r="onreadystatechange",s="removeEventListener",t=p in g,u=j,v=j,w=[];if(g[m]===l)e(b);else if(t)g[p](q,c,j),a[p](i,c,j);else{g[n](r,c),a[n](k,c);try{u=null==a.frameElement&&h}catch(x){}u&&u.doScroll&&!function z(){if(!v){try{u.doScroll("left")}catch(a){return e(z,50)}d(),b()}}()}return f.version="1.4.0",f.isReady=function(){return v},f}a.exports="undefined"!=typeof window&&b(window)},function(a,b,c){var d=c(5),e=function(a){function b(a,b){for(var c in b)a[c]=b[c];return a}var c=1,e=d.defclass({constructor:function(a){c++,this.parent=null,this.children={},this.id=c,this.name="n"+c,null!=a&&(this.name=a),this.x=0,this.y=0,this.z=0,this.width=0,this.height=0},resize:function(a,b){null!=a&&(this.width=a),null!=b&&(this.height=b)},moveTo:function(a,b,c){this.x=null!=a?a:this.x,this.y=null!=b?b:this.y,this.z=null!=c?c:this.z},add:function(a){var b=a.name;if(null!=this.children[b])throw"SceneGraph: child with that name already exists: "+b;this.children[b]=a,a.parent=this}}),f=d(e,function(b){this.constructor=function(){b.constructor.call(this,"root"),this.properties=a}}),g=d(e,function(a){function c(c,d){if(a.constructor.call(this,c),this.properties={fill:"#000"},null!=d)b(this.properties,d);else if(null!=c&&"string"!=typeof c)throw"SceneGraph: invalid node name"}this.Group=d.extend(this,{constructor:c,type:"group"}),this.Rect=d.extend(this,{constructor:c,type:"rect"}),this.Text=d.extend(this,{constructor:function(a){c.call(this),this.properties.text=a},type:"text"})}),h=new f;return this.Shape=g,this.root=h,this};a.exports=e},function(a,b){(function(a){b.extend=function(a,b){var c={};for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);if(null!=b)for(var e in b)b.hasOwnProperty(e)&&(c[e]=b[e]);return c},b.cssProps=function(a){var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c+":"+a[c]);return b.join(";")},b.encodeHtmlEntity=function(a){for(var b=[],c=0,d=a.length-1;d>=0;d--)c=a.charCodeAt(d),b.unshift(c>128?["&#",c,";"].join(""):a[d]);return b.join("")},b.getNodeArray=function(b){var c=null;return"string"==typeof b?c=document.querySelectorAll(b):a.NodeList&&b instanceof a.NodeList?c=b:a.Node&&b instanceof a.Node?c=[b]:a.HTMLCollection&&b instanceof a.HTMLCollection?c=b:b instanceof Array?c=b:null===b&&(c=[]),c},b.imageExists=function(a,b){var c=new Image;c.onerror=function(){b.call(this,!1)},c.onload=function(){b.call(this,!0)},c.src=a},b.decodeHtmlEntity=function(a){return a.replace(/&#(\d+);/g,function(a,b){return String.fromCharCode(b)})},b.dimensionCheck=function(a){var b={height:a.clientHeight,width:a.clientWidth};return b.height&&b.width?b:!1},b.truthy=function(a){return"string"==typeof a?"true"===a||"yes"===a||"1"===a||"on"===a||"✓"===a:!!a}}).call(b,function(){return this}())},function(a,b,c){var d=encodeURIComponent,e=decodeURIComponent,f=c(6),g=c(7),h=/(\w+)\[(\d+)\]/,i=/\w+\.\w+/;b.parse=function(a){if("string"!=typeof a)return{};if(a=f(a),""===a)return{};"?"===a.charAt(0)&&(a=a.slice(1));for(var b={},c=a.split("&"),d=0;d