diff options
Diffstat (limited to 'examples/widgets/itemviews')
38 files changed, 6684 insertions, 0 deletions
diff --git a/examples/widgets/itemviews/README b/examples/widgets/itemviews/README new file mode 100644 index 0000000..aaf1130 --- /dev/null +++ b/examples/widgets/itemviews/README @@ -0,0 +1,25 @@ +Item views are widgets that typically display data sets. PyQt's model/view +framework lets you handle large data sets by separating the underlying data +from the way it is represented to the user, and provides support for +customized rendering through the use of delegates. + + +The example launcher provided with PyQt can be used to explore each of the +examples in this directory. + +Documentation for these examples can be found via the Tutorial and Examples +link in the main Qt documentation. + + +Finding the PyQt Examples and Demos launcher +============================================ + +On Windows: + +The launcher can be accessed via the Windows Start menu. Select the menu +entry entitled "Examples and Demos" entry in the submenu containing PySide. + +On all platforms: + +The source code for the launcher can be found in the examples/tools/qtdemo +directory in the PyQt package. diff --git a/examples/widgets/itemviews/addressbook/adddialogwidget.py b/examples/widgets/itemviews/addressbook/adddialogwidget.py new file mode 100644 index 0000000..55ce90b --- /dev/null +++ b/examples/widgets/itemviews/addressbook/adddialogwidget.py @@ -0,0 +1,103 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2011 Arun Srinivasan <rulfzid@gmail.com> +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +from PySide2.QtCore import Qt +from PySide2.QtWidgets import (QDialog, QLabel, QTextEdit, QLineEdit, + QDialogButtonBox, QGridLayout, QVBoxLayout) + +class AddDialogWidget(QDialog): + """ A dialog to add a new address to the addressbook. """ + + def __init__(self, parent=None): + super(AddDialogWidget, self).__init__(parent) + + nameLabel = QLabel("Name") + addressLabel = QLabel("Address") + buttonBox = QDialogButtonBox(QDialogButtonBox.Ok | + QDialogButtonBox.Cancel) + + self.nameText = QLineEdit() + self.addressText = QTextEdit() + + grid = QGridLayout() + grid.setColumnStretch(1, 2) + grid.addWidget(nameLabel, 0, 0) + grid.addWidget(self.nameText, 0, 1) + grid.addWidget(addressLabel, 1, 0, Qt.AlignLeft | Qt.AlignTop) + grid.addWidget(self.addressText, 1, 1, Qt.AlignLeft) + + layout = QVBoxLayout() + layout.addLayout(grid) + layout.addWidget(buttonBox) + + self.setLayout(layout) + + self.setWindowTitle("Add a Contact") + + buttonBox.accepted.connect(self.accept) + buttonBox.rejected.connect(self.reject) + + # These properties make using this dialog a little cleaner. It's much + # nicer to type "addDialog.address" to retrieve the address as compared + # to "addDialog.addressText.toPlainText()" + @property + def name(self): + return self.nameText.text() + + @property + def address(self): + return self.addressText.toPlainText() + + +if __name__ == "__main__": + import sys + from PySide2.QtWidgets import QApplication + + app = QApplication(sys.argv) + + dialog = AddDialogWidget() + if (dialog.exec_()): + name = dialog.name + address = dialog.address + print("Name:" + name) + print("Address:" + address) diff --git a/examples/widgets/itemviews/addressbook/addressbook.py b/examples/widgets/itemviews/addressbook/addressbook.py new file mode 100755 index 0000000..4e68d27 --- /dev/null +++ b/examples/widgets/itemviews/addressbook/addressbook.py @@ -0,0 +1,131 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2011 Arun Srinivasan <rulfzid@gmail.com> +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +from PySide2.QtWidgets import (QMainWindow, QAction, QFileDialog, QApplication) + +from addresswidget import AddressWidget + + +class MainWindow(QMainWindow): + + def __init__(self, parent=None): + super(MainWindow, self).__init__(parent) + + self.addressWidget = AddressWidget() + self.setCentralWidget(self.addressWidget) + self.createMenus() + self.setWindowTitle("Address Book") + + def createMenus(self): + # Create the main menuBar menu items + fileMenu = self.menuBar().addMenu("&File") + toolMenu = self.menuBar().addMenu("&Tools") + + # Populate the File menu + openAction = self.createAction("&Open...", fileMenu, self.openFile) + saveAction = self.createAction("&Save As...", fileMenu, self.saveFile) + fileMenu.addSeparator() + exitAction = self.createAction("E&xit", fileMenu, self.close) + + # Populate the Tools menu + addAction = self.createAction("&Add Entry...", toolMenu, self.addressWidget.addEntry) + self.editAction = self.createAction("&Edit Entry...", toolMenu, self.addressWidget.editEntry) + toolMenu.addSeparator() + self.removeAction = self.createAction("&Remove Entry", toolMenu, self.addressWidget.removeEntry) + + # Disable the edit and remove menu items initally, as there are + # no items yet. + self.editAction.setEnabled(False) + self.removeAction.setEnabled(False) + + # Wire up the updateActions slot + self.addressWidget.selectionChanged.connect(self.updateActions) + + def createAction(self, text, menu, slot): + """ Helper function to save typing when populating menus + with action. + """ + action = QAction(text, self) + menu.addAction(action) + action.triggered.connect(slot) + return action + + # Quick gotcha: + # + # QFiledialog.getOpenFilename and QFileDialog.get.SaveFileName don't + # behave in PySide2 as they do in Qt, where they return a QString + # containing the filename. + # + # In PySide2, these functions return a tuple: (filename, filter) + + def openFile(self): + filename, _ = QFileDialog.getOpenFileName(self) + if filename: + self.addressWidget.readFromFile(filename) + + def saveFile(self): + filename, _ = QFileDialog.getSaveFileName(self) + if filename: + self.addressWidget.writeToFile(filename) + + def updateActions(self, selection): + """ Only allow the user to remove or edit an item if an item + is actually selected. + """ + indexes = selection.indexes() + + if len(indexes) > 0: + self.removeAction.setEnabled(True) + self.editAction.setEnabled(True) + else: + self.removeAction.setEnabled(False) + self.editAction.setEnabled(False) + + +if __name__ == "__main__": + """ Run the application. """ + import sys + app = QApplication(sys.argv) + mw = MainWindow() + mw.show() + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/addressbook/addresswidget.py b/examples/widgets/itemviews/addressbook/addresswidget.py new file mode 100644 index 0000000..675c0b6 --- /dev/null +++ b/examples/widgets/itemviews/addressbook/addresswidget.py @@ -0,0 +1,249 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2011 Arun Srinivasan <rulfzid@gmail.com> +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +try: + import cpickle as pickle +except ImportError: + import pickle + +from PySide2.QtCore import (Qt, Signal, QRegExp, QModelIndex, + QItemSelection, QItemSelectionModel, QSortFilterProxyModel) +from PySide2.QtWidgets import (QWidget, QTabWidget, QMessageBox, QTableView, + QAbstractItemView) + +from tablemodel import TableModel +from newaddresstab import NewAddressTab +from adddialogwidget import AddDialogWidget + + +class AddressWidget(QTabWidget): + """ The central widget of the application. Most of the addressbook's + functionality is contained in this class. + """ + + selectionChanged = Signal(QItemSelection) + + def __init__(self, parent=None): + """ Initialize the AddressWidget. """ + super(AddressWidget, self).__init__(parent) + + self.tableModel = TableModel() + self.newAddressTab = NewAddressTab() + self.newAddressTab.sendDetails.connect(self.addEntry) + + self.addTab(self.newAddressTab, "Address Book") + + self.setupTabs() + + def addEntry(self, name=None, address=None): + """ Add an entry to the addressbook. """ + if name is None and address is None: + addDialog = AddDialogWidget() + + if addDialog.exec_(): + name = addDialog.name + address = addDialog.address + + address = {"name": name, "address": address} + addresses = self.tableModel.addresses[:] + + # The QT docs for this example state that what we're doing here + # is checking if the entered name already exists. What they + # (and we here) are actually doing is checking if the whole + # name/address pair exists already - ok for the purposes of this + # example, but obviously not how a real addressbook application + # should behave. + try: + addresses.remove(address) + QMessageBox.information(self, "Duplicate Name", + "The name \"%s\" already exists." % name) + except ValueError: + # The address didn't already exist, so let's add it to the model. + + # Step 1: create the row + self.tableModel.insertRows(0) + + # Step 2: get the index of the newly created row and use it. + # to set the name + ix = self.tableModel.index(0, 0, QModelIndex()) + self.tableModel.setData(ix, address["name"], Qt.EditRole) + + # Step 3: lather, rinse, repeat for the address. + ix = self.tableModel.index(0, 1, QModelIndex()) + self.tableModel.setData(ix, address["address"], Qt.EditRole) + + # Remove the newAddressTab, as we now have at least one + # address in the model. + self.removeTab(self.indexOf(self.newAddressTab)) + + # The screenshot for the QT example shows nicely formatted + # multiline cells, but the actual application doesn't behave + # quite so nicely, at least on Ubuntu. Here we resize the newly + # created row so that multiline addresses look reasonable. + tableView = self.currentWidget() + tableView.resizeRowToContents(ix.row()) + + def editEntry(self): + """ Edit an entry in the addressbook. """ + tableView = self.currentWidget() + proxyModel = tableView.model() + selectionModel = tableView.selectionModel() + + # Get the name and address of the currently selected row. + indexes = selectionModel.selectedRows() + + for index in indexes: + row = proxyModel.mapToSource(index).row() + ix = self.tableModel.index(row, 0, QModelIndex()) + name = self.tableModel.data(ix, Qt.DisplayRole) + ix = self.tableModel.index(row, 1, QModelIndex()) + address = self.tableModel.data(ix, Qt.DisplayRole) + + # Open an addDialogWidget, and only allow the user to edit the address. + addDialog = AddDialogWidget() + addDialog.setWindowTitle("Edit a Contact") + + addDialog.nameText.setReadOnly(True) + addDialog.nameText.setText(name) + addDialog.addressText.setText(address) + + # If the address is different, add it to the model. + if addDialog.exec_(): + newAddress = addDialog.address + if newAddress != address: + ix = self.tableModel.index(row, 1, QModelIndex()) + self.tableModel.setData(ix, newAddress, Qt.EditRole) + + def removeEntry(self): + """ Remove an entry from the addressbook. """ + tableView = self.currentWidget() + proxyModel = tableView.model() + selectionModel = tableView.selectionModel() + + # Just like editEntry, but this time remove the selected row. + indexes = selectionModel.selectedRows() + + for index in indexes: + row = proxyModel.mapToSource(index).row() + self.tableModel.removeRows(row) + + # If we've removed the last address in the model, display the + # newAddressTab + if self.tableModel.rowCount() == 0: + self.insertTab(0, self.newAddressTab, "Address Book") + + def setupTabs(self): + """ Setup the various tabs in the AddressWidget. """ + groups = ["ABC", "DEF", "GHI", "JKL", "MNO", "PQR", "STU", "VW", "XYZ"] + + for group in groups: + proxyModel = QSortFilterProxyModel(self) + proxyModel.setSourceModel(self.tableModel) + proxyModel.setDynamicSortFilter(True) + + tableView = QTableView() + tableView.setModel(proxyModel) + tableView.setSortingEnabled(True) + tableView.setSelectionBehavior(QAbstractItemView.SelectRows) + tableView.horizontalHeader().setStretchLastSection(True) + tableView.verticalHeader().hide() + tableView.setEditTriggers(QAbstractItemView.NoEditTriggers) + tableView.setSelectionMode(QAbstractItemView.SingleSelection) + + # This here be the magic: we use the group name (e.g. "ABC") to + # build the regex for the QSortFilterProxyModel for the group's + # tab. The regex will end up looking like "^[ABC].*", only + # allowing this tab to display items where the name starts with + # "A", "B", or "C". Notice that we set it to be case-insensitive. + reFilter = "^[%s].*" % group + + proxyModel.setFilterRegExp(QRegExp(reFilter, Qt.CaseInsensitive)) + proxyModel.setFilterKeyColumn(0) # Filter on the "name" column + proxyModel.sort(0, Qt.AscendingOrder) + + # This prevents an application crash (see: http://www.qtcentre.org/threads/58874-QListView-SelectionModel-selectionChanged-Crash) + viewselectionmodel = tableView.selectionModel() + tableView.selectionModel().selectionChanged.connect(self.selectionChanged) + + self.addTab(tableView, group) + + # Note: the QT example uses a QDataStream for the saving and loading. + # Here we're using a python dictionary to store the addresses, which + # can't be streamed using QDataStream, so we just use cpickle for this + # example. + def readFromFile(self, filename): + """ Read contacts in from a file. """ + try: + f = open(filename, "rb") + addresses = pickle.load(f) + except IOError: + QMessageBox.information(self, "Unable to open file: %s" % filename) + finally: + f.close() + + if len(addresses) == 0: + QMessageBox.information(self, "No contacts in file: %s" % filename) + else: + for address in addresses: + self.addEntry(address["name"], address["address"]) + + def writeToFile(self, filename): + """ Save all contacts in the model to a file. """ + try: + f = open(filename, "wb") + pickle.dump(self.tableModel.addresses, f) + + except IOError: + QMessageBox.information(self, "Unable to open file: %s" % filename) + finally: + f.close() + + +if __name__ == "__main__": + import sys + from PySide2.QtWidgets import QApplication + + app = QApplication(sys.argv) + addressWidget = AddressWidget() + addressWidget.show() + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/addressbook/newaddresstab.py b/examples/widgets/itemviews/addressbook/newaddresstab.py new file mode 100644 index 0000000..93ccff6 --- /dev/null +++ b/examples/widgets/itemviews/addressbook/newaddresstab.py @@ -0,0 +1,94 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2011 Arun Srinivasan <rulfzid@gmail.com> +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +from PySide2.QtCore import (Qt, Signal) +from PySide2.QtWidgets import (QWidget, QLabel, QPushButton, QVBoxLayout) + +from adddialogwidget import AddDialogWidget + +class NewAddressTab(QWidget): + """ An extra tab that prompts the user to add new contacts. + To be displayed only when there are no contacts in the model. + """ + + sendDetails = Signal(str, str) + + def __init__(self, parent=None): + super(NewAddressTab, self).__init__(parent) + + descriptionLabel = QLabel("There are no contacts in your address book." + "\nClick Add to add new contacts.") + + addButton = QPushButton("Add") + + layout = QVBoxLayout() + layout.addWidget(descriptionLabel) + layout.addWidget(addButton, 0, Qt.AlignCenter) + + self.setLayout(layout) + + addButton.clicked.connect(self.addEntry) + + def addEntry(self): + addDialog = AddDialogWidget() + + if addDialog.exec_(): + name = addDialog.name + address = addDialog.address + self.sendDetails.emit(name, address) + + +if __name__ == "__main__": + + def printAddress(name, address): + print("Name:" + name) + print("Address:" + address) + + import sys + from PySide2.QtWidgets import QApplication + + app = QApplication(sys.argv) + newAddressTab = NewAddressTab() + newAddressTab.sendDetails.connect(printAddress) + newAddressTab.show() + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/addressbook/tablemodel.py b/examples/widgets/itemviews/addressbook/tablemodel.py new file mode 100644 index 0000000..9055999 --- /dev/null +++ b/examples/widgets/itemviews/addressbook/tablemodel.py @@ -0,0 +1,147 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2011 Arun Srinivasan <rulfzid@gmail.com> +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +from PySide2.QtCore import (Qt, QAbstractTableModel, QModelIndex) + +class TableModel(QAbstractTableModel): + + def __init__(self, addresses=None, parent=None): + super(TableModel, self).__init__(parent) + + if addresses is None: + self.addresses = [] + else: + self.addresses = addresses + + def rowCount(self, index=QModelIndex()): + """ Returns the number of rows the model holds. """ + return len(self.addresses) + + def columnCount(self, index=QModelIndex()): + """ Returns the number of columns the model holds. """ + return 2 + + def data(self, index, role=Qt.DisplayRole): + """ Depending on the index and role given, return data. If not + returning data, return None (PySide equivalent of QT's + "invalid QVariant"). + """ + if not index.isValid(): + return None + + if not 0 <= index.row() < len(self.addresses): + return None + + if role == Qt.DisplayRole: + name = self.addresses[index.row()]["name"] + address = self.addresses[index.row()]["address"] + + if index.column() == 0: + return name + elif index.column() == 1: + return address + + return None + + def headerData(self, section, orientation, role=Qt.DisplayRole): + """ Set the headers to be displayed. """ + if role != Qt.DisplayRole: + return None + + if orientation == Qt.Horizontal: + if section == 0: + return "Name" + elif section == 1: + return "Address" + + return None + + def insertRows(self, position, rows=1, index=QModelIndex()): + """ Insert a row into the model. """ + self.beginInsertRows(QModelIndex(), position, position + rows - 1) + + for row in range(rows): + self.addresses.insert(position + row, {"name":"", "address":""}) + + self.endInsertRows() + return True + + def removeRows(self, position, rows=1, index=QModelIndex()): + """ Remove a row from the model. """ + self.beginRemoveRows(QModelIndex(), position, position + rows - 1) + + del self.addresses[position:position+rows] + + self.endRemoveRows() + return True + + def setData(self, index, value, role=Qt.EditRole): + """ Adjust the data (set it to <value>) depending on the given + index and role. + """ + if role != Qt.EditRole: + return False + + if index.isValid() and 0 <= index.row() < len(self.addresses): + address = self.addresses[index.row()] + if index.column() == 0: + address["name"] = value + elif index.column() == 1: + address["address"] = value + else: + return False + + self.dataChanged.emit(index, index, 0) + return True + + return False + + def flags(self, index): + """ Set the item flags at the given index. Seems like we're + implementing this function just to see how it's done, as we + manually adjust each tableView to have NoEditTriggers. + """ + if not index.isValid(): + return Qt.ItemIsEnabled + return Qt.ItemFlags(QAbstractTableModel.flags(self, index) | + Qt.ItemIsEditable) diff --git a/examples/widgets/itemviews/basicsortfiltermodel.py b/examples/widgets/itemviews/basicsortfiltermodel.py new file mode 100755 index 0000000..4308f42 --- /dev/null +++ b/examples/widgets/itemviews/basicsortfiltermodel.py @@ -0,0 +1,203 @@ +#!/usr/bin/env python + +############################################################################# +## +## Copyright (C) 2013 Riverbank Computing Limited. +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +##g +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +from PySide2 import QtCore, QtGui, QtWidgets + + +class Window(QtWidgets.QWidget): + def __init__(self): + super(Window, self).__init__() + + self.proxyModel = QtCore.QSortFilterProxyModel() + self.proxyModel.setDynamicSortFilter(True) + + self.sourceGroupBox = QtWidgets.QGroupBox("Original Model") + self.proxyGroupBox = QtWidgets.QGroupBox("Sorted/Filtered Model") + + self.sourceView = QtWidgets.QTreeView() + self.sourceView.setRootIsDecorated(False) + self.sourceView.setAlternatingRowColors(True) + + self.proxyView = QtWidgets.QTreeView() + self.proxyView.setRootIsDecorated(False) + self.proxyView.setAlternatingRowColors(True) + self.proxyView.setModel(self.proxyModel) + self.proxyView.setSortingEnabled(True) + + self.sortCaseSensitivityCheckBox = QtWidgets.QCheckBox("Case sensitive sorting") + self.filterCaseSensitivityCheckBox = QtWidgets.QCheckBox("Case sensitive filter") + + self.filterPatternLineEdit = QtWidgets.QLineEdit() + self.filterPatternLabel = QtWidgets.QLabel("&Filter pattern:") + self.filterPatternLabel.setBuddy(self.filterPatternLineEdit) + + self.filterSyntaxComboBox = QtWidgets.QComboBox() + self.filterSyntaxComboBox.addItem("Regular expression", + QtCore.QRegExp.RegExp) + self.filterSyntaxComboBox.addItem("Wildcard", + QtCore.QRegExp.Wildcard) + self.filterSyntaxComboBox.addItem("Fixed string", + QtCore.QRegExp.FixedString) + self.filterSyntaxLabel = QtWidgets.QLabel("Filter &syntax:") + self.filterSyntaxLabel.setBuddy(self.filterSyntaxComboBox) + + self.filterColumnComboBox = QtWidgets.QComboBox() + self.filterColumnComboBox.addItem("Subject") + self.filterColumnComboBox.addItem("Sender") + self.filterColumnComboBox.addItem("Date") + self.filterColumnLabel = QtWidgets.QLabel("Filter &column:") + self.filterColumnLabel.setBuddy(self.filterColumnComboBox) + + self.filterPatternLineEdit.textChanged.connect(self.filterRegExpChanged) + self.filterSyntaxComboBox.currentIndexChanged.connect(self.filterRegExpChanged) + self.filterColumnComboBox.currentIndexChanged.connect(self.filterColumnChanged) + self.filterCaseSensitivityCheckBox.toggled.connect(self.filterRegExpChanged) + self.sortCaseSensitivityCheckBox.toggled.connect(self.sortChanged) + + sourceLayout = QtWidgets.QHBoxLayout() + sourceLayout.addWidget(self.sourceView) + self.sourceGroupBox.setLayout(sourceLayout) + + proxyLayout = QtWidgets.QGridLayout() + proxyLayout.addWidget(self.proxyView, 0, 0, 1, 3) + proxyLayout.addWidget(self.filterPatternLabel, 1, 0) + proxyLayout.addWidget(self.filterPatternLineEdit, 1, 1, 1, 2) + proxyLayout.addWidget(self.filterSyntaxLabel, 2, 0) + proxyLayout.addWidget(self.filterSyntaxComboBox, 2, 1, 1, 2) + proxyLayout.addWidget(self.filterColumnLabel, 3, 0) + proxyLayout.addWidget(self.filterColumnComboBox, 3, 1, 1, 2) + proxyLayout.addWidget(self.filterCaseSensitivityCheckBox, 4, 0, 1, 2) + proxyLayout.addWidget(self.sortCaseSensitivityCheckBox, 4, 2) + self.proxyGroupBox.setLayout(proxyLayout) + + mainLayout = QtWidgets.QVBoxLayout() + mainLayout.addWidget(self.sourceGroupBox) + mainLayout.addWidget(self.proxyGroupBox) + self.setLayout(mainLayout) + + self.setWindowTitle("Basic Sort/Filter Model") + self.resize(500, 450) + + self.proxyView.sortByColumn(1, QtCore.Qt.AscendingOrder) + self.filterColumnComboBox.setCurrentIndex(1) + + self.filterPatternLineEdit.setText("Andy|Grace") + self.filterCaseSensitivityCheckBox.setChecked(True) + self.sortCaseSensitivityCheckBox.setChecked(True) + + def setSourceModel(self, model): + self.proxyModel.setSourceModel(model) + self.sourceView.setModel(model) + + def filterRegExpChanged(self): + syntax_nr = self.filterSyntaxComboBox.itemData(self.filterSyntaxComboBox.currentIndex()) + syntax = QtCore.QRegExp.PatternSyntax(syntax_nr) + + if self.filterCaseSensitivityCheckBox.isChecked(): + caseSensitivity = QtCore.Qt.CaseSensitive + else: + caseSensitivity = QtCore.Qt.CaseInsensitive + + regExp = QtCore.QRegExp(self.filterPatternLineEdit.text(), + caseSensitivity, syntax) + self.proxyModel.setFilterRegExp(regExp) + + def filterColumnChanged(self): + self.proxyModel.setFilterKeyColumn(self.filterColumnComboBox.currentIndex()) + + def sortChanged(self): + if self.sortCaseSensitivityCheckBox.isChecked(): + caseSensitivity = QtCore.Qt.CaseSensitive + else: + caseSensitivity = QtCore.Qt.CaseInsensitive + + self.proxyModel.setSortCaseSensitivity(caseSensitivity) + + +def addMail(model, subject, sender, date): + model.insertRow(0) + model.setData(model.index(0, 0), subject) + model.setData(model.index(0, 1), sender) + model.setData(model.index(0, 2), date) + + +def createMailModel(parent): + model = QtGui.QStandardItemModel(0, 3, parent) + + model.setHeaderData(0, QtCore.Qt.Horizontal, "Subject") + model.setHeaderData(1, QtCore.Qt.Horizontal, "Sender") + model.setHeaderData(2, QtCore.Qt.Horizontal, "Date") + + addMail(model, "Happy New Year!", "Grace K. <grace@software-inc.com>", + QtCore.QDateTime(QtCore.QDate(2006, 12, 31), QtCore.QTime(17, 3))) + addMail(model, "Radically new concept", "Grace K. <grace@software-inc.com>", + QtCore.QDateTime(QtCore.QDate(2006, 12, 22), QtCore.QTime(9, 44))) + addMail(model, "Accounts", "pascale@nospam.com", + QtCore.QDateTime(QtCore.QDate(2006, 12, 31), QtCore.QTime(12, 50))) + addMail(model, "Expenses", "Joe Bloggs <joe@bloggs.com>", + QtCore.QDateTime(QtCore.QDate(2006, 12, 25), QtCore.QTime(11, 39))) + addMail(model, "Re: Expenses", "Andy <andy@nospam.com>", + QtCore.QDateTime(QtCore.QDate(2007, 1, 2), QtCore.QTime(16, 5))) + addMail(model, "Re: Accounts", "Joe Bloggs <joe@bloggs.com>", + QtCore.QDateTime(QtCore.QDate(2007, 1, 3), QtCore.QTime(14, 18))) + addMail(model, "Re: Accounts", "Andy <andy@nospam.com>", + QtCore.QDateTime(QtCore.QDate(2007, 1, 3), QtCore.QTime(14, 26))) + addMail(model, "Sports", "Linda Smith <linda.smith@nospam.com>", + QtCore.QDateTime(QtCore.QDate(2007, 1, 5), QtCore.QTime(11, 33))) + addMail(model, "AW: Sports", "Rolf Newschweinstein <rolfn@nospam.com>", + QtCore.QDateTime(QtCore.QDate(2007, 1, 5), QtCore.QTime(12, 0))) + addMail(model, "RE: Sports", "Petra Schmidt <petras@nospam.com>", + QtCore.QDateTime(QtCore.QDate(2007, 1, 5), QtCore.QTime(12, 1))) + + return model + + +if __name__ == '__main__': + + import sys + + app = QtWidgets.QApplication(sys.argv) + window = Window() + window.setSourceModel(createMailModel(window)) + window.show() + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/chart/chart.py b/examples/widgets/itemviews/chart/chart.py new file mode 100755 index 0000000..13a8670 --- /dev/null +++ b/examples/widgets/itemviews/chart/chart.py @@ -0,0 +1,565 @@ +#!/usr/bin/env python + +############################################################################ +## +## Copyright (C) 2004-2005 Trolltech AS. All rights reserved. +## +## This file is part of the example classes of the Qt Toolkit. +## +## This file may be used under the terms of the GNU General Public +## License version 2.0 as published by the Free Software Foundation +## and appearing in the file LICENSE.GPL included in the packaging of +## this file. Please review the following information to ensure GNU +## General Public Licensing requirements will be met: +## http://www.trolltech.com/products/qt/opensource.html +## +## If you are unsure which license is appropriate for your use, please +## review the following information: +## http://www.trolltech.com/products/qt/licensing.html or contact the +## sales department at sales@trolltech.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################ + +import math + +from PySide2 import QtCore, QtGui + +import chart_rc + + +class PieView(QtGui.QAbstractItemView): + def __init__(self, parent=None): + super(PieView, self).__init__(parent) + + self.horizontalScrollBar().setRange(0, 0) + self.verticalScrollBar().setRange(0, 0) + + self.margin = 8 + self.totalSize = 300 + self.pieSize = self.totalSize - 2*self.margin + self.validItems = 0 + self.totalValue = 0.0 + self.origin = QtCore.QPoint() + self.rubberBand = None + + def dataChanged(self, topLeft, bottomRight): + super(PieView, self).dataChanged(topLeft, bottomRight) + + self.validItems = 0 + self.totalValue = 0.0 + + for row in range(self.model().rowCount(self.rootIndex())): + + index = self.model().index(row, 1, self.rootIndex()) + value = self.model().data(index) + + if value is not None and value > 0.0: + self.totalValue += value + self.validItems += 1 + + self.viewport().update() + + def edit(self, index, trigger, event): + if index.column() == 0: + return super(PieView, self).edit(index, trigger, event) + else: + return False + + def indexAt(self, point): + if self.validItems == 0: + return QtCore.QModelIndex() + + # Transform the view coordinates into contents widget coordinates. + wx = point.x() + self.horizontalScrollBar().value() + wy = point.y() + self.verticalScrollBar().value() + + if wx < self.totalSize: + cx = wx - self.totalSize/2 + cy = self.totalSize/2 - wy; # positive cy for items above the center + + # Determine the distance from the center point of the pie chart. + d = (cx**2 + cy**2)**0.5 + + if d == 0 or d > self.pieSize/2: + return QtCore.QModelIndex() + + # Determine the angle of the point. + angle = (180 / math.pi) * math.acos(cx/d) + if cy < 0: + angle = 360 - angle + + # Find the relevant slice of the pie. + startAngle = 0.0 + + for row in range(self.model().rowCount(self.rootIndex())): + + index = self.model().index(row, 1, self.rootIndex()) + value = self.model().data(index) + + if value > 0.0: + sliceAngle = 360*value/self.totalValue + + if angle >= startAngle and angle < (startAngle + sliceAngle): + return self.model().index(row, 1, self.rootIndex()) + + startAngle += sliceAngle + + else: + itemHeight = QtGui.QFontMetrics(self.viewOptions().font).height() + listItem = int((wy - self.margin) / itemHeight) + validRow = 0 + + for row in range(self.model().rowCount(self.rootIndex())): + + index = self.model().index(row, 1, self.rootIndex()) + if self.model().data(index) > 0.0: + + if listItem == validRow: + return self.model().index(row, 0, self.rootIndex()) + + # Update the list index that corresponds to the next valid + # row. + validRow += 1 + + return QtCore.QModelIndex() + + def isIndexHidden(self, index): + return False + + def itemRect(self, index): + if not index.isValid(): + return QtCore.QRect() + + # Check whether the index's row is in the list of rows represented + # by slices. + + if index.column() != 1: + valueIndex = self.model().index(index.row(), 1, self.rootIndex()) + else: + valueIndex = index + + if self.model().data(valueIndex) > 0.0: + + listItem = 0 + for row in range(index.row()-1, -1, -1): + if self.model().data(self.model().index(row, 1, self.rootIndex())) > 0.0: + listItem += 1 + + if index.column() == 0: + + itemHeight = QtGui.QFontMetrics(self.viewOptions().font).height() + return QtCore.QRect(self.totalSize, + int(self.margin + listItem*itemHeight), + self.totalSize - self.margin, int(itemHeight)) + elif index.column() == 1: + return self.viewport().rect() + + return QtCore.QRect() + + def itemRegion(self, index): + if not index.isValid(): + return QtGui.QRegion() + + if index.column() != 1: + return QtGui.QRegion(self.itemRect(index)) + + if self.model().data(index) <= 0.0: + return QtGui.QRegion() + + startAngle = 0.0 + for row in range(self.model().rowCount(self.rootIndex())): + + sliceIndex = self.model().index(row, 1, self.rootIndex()) + value = self.model().data(sliceIndex) + + if value > 0.0: + angle = 360*value/self.totalValue + + if sliceIndex == index: + slicePath = QtGui.QPainterPath() + slicePath.moveTo(self.totalSize/2, self.totalSize/2) + slicePath.arcTo(self.margin, self.margin, + self.margin+self.pieSize, self.margin+self.pieSize, + startAngle, angle) + slicePath.closeSubpath() + + return QtGui.QRegion(slicePath.toFillPolygon().toPolygon()) + + startAngle += angle + + return QtGui.QRegion() + + def horizontalOffset(self): + return self.horizontalScrollBar().value() + + def mousePressEvent(self, event): + super(PieView, self).mousePressEvent(event) + + self.origin = event.pos() + if not self.rubberBand: + self.rubberBand = QtGui.QRubberBand(QtGui.QRubberBand.Rectangle, + self) + self.rubberBand.setGeometry(QtCore.QRect(self.origin, QtCore.QSize())) + self.rubberBand.show() + + def mouseMoveEvent(self, event): + if self.rubberBand: + self.rubberBand.setGeometry(QtCore.QRect(self.origin, event.pos()).normalized()) + + super(PieView, self).mouseMoveEvent(event) + + def mouseReleaseEvent(self, event): + super(PieView, self).mouseReleaseEvent(event) + + if self.rubberBand: + self.rubberBand.hide() + + self.viewport().update() + + def moveCursor(self, cursorAction, modifiers): + current = self.currentIndex() + + if cursorAction == QtGui.QAbstractItemView.MoveLeft or \ + cursorAction == QtGui.QAbstractItemView.MoveUp: + + if current.row() > 0: + current = self.model().index(current.row() - 1, + current.column(), self.rootIndex()) + else: + current = self.model().index(0, current.column(), + self.rootIndex()) + + elif cursorAction == QtGui.QAbstractItemView.MoveRight or \ + cursorAction == QtGui.QAbstractItemView.MoveDown: + + if current.row() < rows(current) - 1: + current = self.model().index(current.row() + 1, + current.column(), self.rootIndex()) + else: + current = self.model().index(rows(current) - 1, + current.column(), self.rootIndex()) + + self.viewport().update() + return current + + def paintEvent(self, event): + selections = self.selectionModel() + option = self.viewOptions() + state = option.state + + background = option.palette.base() + foreground = QtGui.QPen(option.palette.color(QtGui.QPalette.WindowText)) + textPen = QtGui.QPen(option.palette.color(QtGui.QPalette.Text)) + highlightedPen = QtGui.QPen(option.palette.color(QtGui.QPalette.HighlightedText)) + + painter = QtGui.QPainter(self.viewport()) + painter.setRenderHint(QtGui.QPainter.Antialiasing) + + painter.fillRect(event.rect(), background) + painter.setPen(foreground) + + # Viewport rectangles + pieRect = QtCore.QRect(self.margin, self.margin, self.pieSize, + self.pieSize) + keyPoint = QtCore.QPoint(self.totalSize - self.horizontalScrollBar().value(), + self.margin - self.verticalScrollBar().value()) + + if self.validItems > 0: + painter.save() + painter.translate(pieRect.x() - self.horizontalScrollBar().value(), + pieRect.y() - self.verticalScrollBar().value()) + painter.drawEllipse(0, 0, self.pieSize, self.pieSize) + startAngle = 0.0 + + for row in range(self.model().rowCount(self.rootIndex())): + + index = self.model().index(row, 1, self.rootIndex()) + value = self.model().data(index) + + if value > 0.0: + angle = 360*value/self.totalValue + + colorIndex = self.model().index(row, 0, self.rootIndex()) + color = self.model().data(colorIndex, + QtCore.Qt.DecorationRole) + + if self.currentIndex() == index: + painter.setBrush(QtGui.QBrush(color, + QtCore.Qt.Dense4Pattern)) + elif selections.isSelected(index): + painter.setBrush(QtGui.QBrush(color, + QtCore.Qt.Dense3Pattern)) + else: + painter.setBrush(QtGui.QBrush(color)) + + painter.drawPie(0, 0, self.pieSize, self.pieSize, + int(startAngle*16), int(angle*16)) + + startAngle += angle + + painter.restore() + + keyNumber = 0 + + for row in range(self.model().rowCount(self.rootIndex())): + index = self.model().index(row, 1, self.rootIndex()) + value = self.model().data(index) + + if value > 0.0: + labelIndex = self.model().index(row, 0, self.rootIndex()) + + option = self.viewOptions() + option.rect = self.visualRect(labelIndex) + if selections.isSelected(labelIndex): + option.state |= QtGui.QStyle.State_Selected + if self.currentIndex() == labelIndex: + option.state |= QtGui.QStyle.State_HasFocus + self.itemDelegate().paint(painter, option, labelIndex) + + keyNumber += 1 + + def resizeEvent(self, event): + self.updateGeometries() + + def rows(self, index): + return self.model().rowCount(self.model().parent(index)) + + def rowsInserted(self, parent, start, end): + for row in range(start, end + 1): + index = self.model().index(row, 1, self.rootIndex()) + value = self.model().data(index) + + if value is not None and value > 0.0: + self.totalValue += value + self.validItems += 1 + + super(PieView, self).rowsInserted(parent, start, end) + + def rowsAboutToBeRemoved(self, parent, start, end): + for row in range(start, end + 1): + index = self.model().index(row, 1, self.rootIndex()) + value = self.model().data(index) + + if value is not None and value > 0.0: + self.totalValue -= value + self.validItems -= 1 + + super(PieView, self).rowsAboutToBeRemoved(parent, start, end) + + def scrollContentsBy(self, dx, dy): + self.viewport().scroll(dx, dy) + + def scrollTo(self, index, ScrollHint): + area = self.viewport().rect() + rect = self.visualRect(index) + + if rect.left() < area.left(): + self.horizontalScrollBar().setValue( + self.horizontalScrollBar().value() + rect.left() - area.left()) + elif rect.right() > area.right(): + self.horizontalScrollBar().setValue( + self.horizontalScrollBar().value() + min( + rect.right() - area.right(), rect.left() - area.left())) + + if rect.top() < area.top(): + self.verticalScrollBar().setValue( + self.verticalScrollBar().value() + rect.top() - area.top()) + elif rect.bottom() > area.bottom(): + self.verticalScrollBar().setValue( + self.verticalScrollBar().value() + min( + rect.bottom() - area.bottom(), rect.top() - area.top())) + + def setSelection(self, rect, command): + # Use content widget coordinates because we will use the itemRegion() + # function to check for intersections. + + contentsRect = rect.translated(self.horizontalScrollBar().value(), + self.verticalScrollBar().value()).normalized() + + rows = self.model().rowCount(self.rootIndex()) + columns = self.model().columnCount(self.rootIndex()) + indexes = [] + + for row in range(rows): + for column in range(columns): + index = self.model().index(row, column, self.rootIndex()) + region = self.itemRegion(index) + if not region.intersected(QtGui.QRegion(contentsRect)).isEmpty(): + indexes.append(index) + + if len(indexes) > 0: + firstRow = indexes[0].row() + lastRow = indexes[0].row() + firstColumn = indexes[0].column() + lastColumn = indexes[0].column() + + for i in range(1, len(indexes)): + firstRow = min(firstRow, indexes[i].row()) + lastRow = max(lastRow, indexes[i].row()) + firstColumn = min(firstColumn, indexes[i].column()) + lastColumn = max(lastColumn, indexes[i].column()) + + selection = QtGui.QItemSelection( + self.model().index(firstRow, firstColumn, self.rootIndex()), + self.model().index(lastRow, lastColumn, self.rootIndex())) + self.selectionModel().select(selection, command) + else: + noIndex = QtCore.QModelIndex() + selection = QtGui.QItemSelection(noIndex, noIndex) + self.selectionModel().select(selection, command) + + self.update() + + def updateGeometries(self): + self.horizontalScrollBar().setPageStep(self.viewport().width()) + self.horizontalScrollBar().setRange(0, max(0, 2*self.totalSize - self.viewport().width())) + self.verticalScrollBar().setPageStep(self.viewport().height()) + self.verticalScrollBar().setRange(0, max(0, self.totalSize - self.viewport().height())) + + def verticalOffset(self): + return self.verticalScrollBar().value() + + def visualRect(self, index): + rect = self.itemRect(index) + if rect.isValid(): + return QtCore.QRect(rect.left() - self.horizontalScrollBar().value(), + rect.top() - self.verticalScrollBar().value(), + rect.width(), rect.height()) + else: + return rect + + def visualRegionForSelection(self, selection): + region = QtGui.QRegion() + + for span in selection: + for row in range(span.top(), span.bottom() + 1): + for col in range(span.left(), span.right() + 1): + index = self.model().index(row, col, self.rootIndex()) + region += self.visualRect(index) + + return region + + +class MainWindow(QtGui.QMainWindow): + def __init__(self): + super(MainWindow, self).__init__() + + fileMenu = QtGui.QMenu("&File", self) + openAction = fileMenu.addAction("&Open...") + openAction.setShortcut("Ctrl+O") + saveAction = fileMenu.addAction("&Save As...") + saveAction.setShortcut("Ctrl+S") + quitAction = fileMenu.addAction("E&xit") + quitAction.setShortcut("Ctrl+Q") + + self.setupModel() + self.setupViews() + + openAction.triggered.connect(self.openFile) + saveAction.triggered.connect(self.saveFile) + quitAction.triggered.connect(QtGui.qApp.quit) + + self.menuBar().addMenu(fileMenu) + self.statusBar() + + self.openFile(':/Charts/qtdata.cht') + + self.setWindowTitle("Chart") + self.resize(870, 550) + + def setupModel(self): + self.model = QtGui.QStandardItemModel(8, 2, self) + self.model.setHeaderData(0, QtCore.Qt.Horizontal, "Label") + self.model.setHeaderData(1, QtCore.Qt.Horizontal, "Quantity") + + def setupViews(self): + splitter = QtGui.QSplitter() + table = QtGui.QTableView() + self.pieChart = PieView() + splitter.addWidget(table) + splitter.addWidget(self.pieChart) + splitter.setStretchFactor(0, 0) + splitter.setStretchFactor(1, 1) + + table.setModel(self.model) + self.pieChart.setModel(self.model) + + self.selectionModel = QtGui.QItemSelectionModel(self.model) + table.setSelectionModel(self.selectionModel) + self.pieChart.setSelectionModel(self.selectionModel) + + table.horizontalHeader().setStretchLastSection(True) + + self.setCentralWidget(splitter) + + def openFile(self, path=None): + if not path: + path = QtGui.QFileDialog.getOpenFileName(self, + "Choose a data file", '', '*.cht')[0] + + if path: + f = QtCore.QFile(path) + + if f.open(QtCore.QFile.ReadOnly | QtCore.QFile.Text): + stream = QtCore.QTextStream(f) + + self.model.removeRows(0, + self.model.rowCount(QtCore.QModelIndex()), + QtCore.QModelIndex()) + + row = 0 + line = stream.readLine() + while line: + self.model.insertRows(row, 1, QtCore.QModelIndex()) + + pieces = line.split(',') + self.model.setData(self.model.index(row, 0, QtCore.QModelIndex()), + pieces[0]) + self.model.setData(self.model.index(row, 1, QtCore.QModelIndex()), + float(pieces[1])) + self.model.setData(self.model.index(row, 0, QtCore.QModelIndex()), + QtGui.QColor(pieces[2]), + QtCore.Qt.DecorationRole) + + row += 1 + line = stream.readLine() + + f.close() + self.statusBar().showMessage("Loaded %s" % path, 2000) + + def saveFile(self): + fileName = QtGui.QFileDialog.getSaveFileName(self, "Save file as", '', + '*.cht') + + if fileName: + f = QtCore.QFile(fileName) + + if f.open(QtCore.QFile.WriteOnly | QtCore.QFile.Text): + for row in range(self.model.rowCount(QtCore.QModelIndex())): + pieces = [] + + pieces.append(self.model.data(self.model.index(row, 0, QtCore.QModelIndex()), + QtCore.Qt.DisplayRole)) + pieces.append(str(self.model.data(self.model.index(row, 1, QtCore.QModelIndex()), + QtCore.Qt.DisplayRole))) + pieces.append(self.model.data(self.model.index(row, 0, QtCore.QModelIndex()), + QtCore.Qt.DecorationRole).name()) + + f.write(QtCore.QByteArray(','.join(pieces))) + f.write('\n') + + f.close() + self.statusBar().showMessage("Saved %s" % fileName, 2000) + + +if __name__ == '__main__': + + import sys + + app = QtGui.QApplication(sys.argv) + window = MainWindow() + window.show() + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/chart/chart.qrc b/examples/widgets/itemviews/chart/chart.qrc new file mode 100644 index 0000000..7401d4d --- /dev/null +++ b/examples/widgets/itemviews/chart/chart.qrc @@ -0,0 +1,5 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource prefix="/Charts" > + <file>qtdata.cht</file> +</qresource> +</RCC> diff --git a/examples/widgets/itemviews/chart/chart_rc.py b/examples/widgets/itemviews/chart/chart_rc.py new file mode 100644 index 0000000..ab57a6a --- /dev/null +++ b/examples/widgets/itemviews/chart/chart_rc.py @@ -0,0 +1,104 @@ +############################################################################# +## +## Copyright (C) 2013 Riverbank Computing Limited. +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +# Resource object code +# +# Created: Wed Dec 28 19:55:53 2005 +# by: The Resource Compiler for PyQt (Qt v4.1.0) +# +# WARNING! All changes made in this file will be lost! + +from PySide2 import QtCore + +qt_resource_data = b"\ +\x00\x00\x01\x90\ +\x53\ +\x63\x69\x65\x6e\x74\x69\x66\x69\x63\x20\x52\x65\x73\x65\x61\x72\ +\x63\x68\x2c\x32\x31\x2c\x23\x39\x39\x65\x36\x30\x30\x0a\x45\x6e\ +\x67\x69\x6e\x65\x65\x72\x69\x6e\x67\x20\x26\x20\x44\x65\x73\x69\ +\x67\x6e\x2c\x31\x38\x2c\x23\x39\x39\x63\x63\x30\x30\x0a\x41\x75\ +\x74\x6f\x6d\x6f\x74\x69\x76\x65\x2c\x31\x34\x2c\x23\x39\x39\x62\ +\x33\x30\x30\x0a\x41\x65\x72\x6f\x73\x70\x61\x63\x65\x2c\x31\x33\ +\x2c\x23\x39\x66\x39\x39\x31\x61\x0a\x41\x75\x74\x6f\x6d\x61\x74\ +\x69\x6f\x6e\x20\x26\x20\x4d\x61\x63\x68\x69\x6e\x65\x20\x54\x6f\ +\x6f\x6c\x73\x2c\x31\x33\x2c\x23\x61\x34\x38\x30\x33\x33\x0a\x4d\ +\x65\x64\x69\x63\x61\x6c\x20\x26\x20\x42\x69\x6f\x69\x6e\x66\x6f\ +\x72\x6d\x61\x74\x69\x63\x73\x2c\x31\x33\x2c\x23\x61\x39\x36\x36\ +\x34\x64\x0a\x49\x6d\x61\x67\x69\x6e\x67\x20\x26\x20\x53\x70\x65\ +\x63\x69\x61\x6c\x20\x45\x66\x66\x65\x63\x74\x73\x2c\x31\x32\x2c\ +\x23\x61\x65\x34\x64\x36\x36\x0a\x44\x65\x66\x65\x6e\x73\x65\x2c\ +\x31\x31\x2c\x23\x62\x33\x33\x33\x38\x30\x0a\x54\x65\x73\x74\x20\ +\x26\x20\x4d\x65\x61\x73\x75\x72\x65\x6d\x65\x6e\x74\x20\x53\x79\ +\x73\x74\x65\x6d\x73\x2c\x39\x2c\x23\x61\x36\x34\x30\x38\x36\x0a\ +\x4f\x69\x6c\x20\x26\x20\x47\x61\x73\x2c\x39\x2c\x23\x39\x39\x34\ +\x64\x38\x64\x0a\x45\x6e\x74\x65\x72\x74\x61\x69\x6e\x6d\x65\x6e\ +\x74\x20\x26\x20\x42\x72\x6f\x61\x64\x63\x61\x73\x74\x69\x6e\x67\ +\x2c\x37\x2c\x23\x38\x64\x35\x61\x39\x33\x0a\x46\x69\x6e\x61\x6e\ +\x63\x69\x61\x6c\x2c\x36\x2c\x23\x38\x30\x36\x36\x39\x39\x0a\x43\ +\x6f\x6e\x73\x75\x6d\x65\x72\x20\x45\x6c\x65\x63\x74\x72\x6f\x6e\ +\x69\x63\x73\x2c\x34\x2c\x23\x38\x30\x37\x33\x61\x36\x0a\x4f\x74\ +\x68\x65\x72\x2c\x33\x38\x2c\x23\x38\x30\x38\x30\x62\x33\x0a\ +" + +qt_resource_name = b"\ +\x00\x06\ +\x04\x9e\x89\xb3\ +\x00\x43\ +\x00\x68\x00\x61\x00\x72\x00\x74\x00\x73\ +\x00\x0a\ +\x08\xaf\x5c\xb4\ +\x00\x71\ +\x00\x74\x00\x64\x00\x61\x00\x74\x00\x61\x00\x2e\x00\x63\x00\x68\x00\x74\ +" + +qt_resource_struct = b"\ +\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ +\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\ +\x00\x00\x00\x12\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ +" + +def qInitResources(): + QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) + +def qCleanupResources(): + QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) + +qInitResources() diff --git a/examples/widgets/itemviews/chart/mydata.cht b/examples/widgets/itemviews/chart/mydata.cht new file mode 100644 index 0000000..029fd81 --- /dev/null +++ b/examples/widgets/itemviews/chart/mydata.cht @@ -0,0 +1,8 @@ +London,4,red +Stockholm,5,pink +Paris,2,lightgreen +Rome,11,green +Lisbon,9,blue +Madrid,8,lightblue +Berlin,6,magenta +Vienna,7,purple diff --git a/examples/widgets/itemviews/chart/qtdata.cht b/examples/widgets/itemviews/chart/qtdata.cht new file mode 100644 index 0000000..6386246 --- /dev/null +++ b/examples/widgets/itemviews/chart/qtdata.cht @@ -0,0 +1,14 @@ +Scientific Research,21,#99e600 +Engineering & Design,18,#99cc00 +Automotive,14,#99b300 +Aerospace,13,#9f991a +Automation & Machine Tools,13,#a48033 +Medical & Bioinformatics,13,#a9664d +Imaging & Special Effects,12,#ae4d66 +Defense,11,#b33380 +Test & Measurement Systems,9,#a64086 +Oil & Gas,9,#994d8d +Entertainment & Broadcasting,7,#8d5a93 +Financial,6,#806699 +Consumer Electronics,4,#8073a6 +Other,38,#8080b3 diff --git a/examples/widgets/itemviews/dirview.py b/examples/widgets/itemviews/dirview.py new file mode 100755 index 0000000..a1e08fd --- /dev/null +++ b/examples/widgets/itemviews/dirview.py @@ -0,0 +1,48 @@ +#!/usr/bin/python + +############################################################################ +## +## Copyright (C) 2004-2005 Trolltech AS. All rights reserved. +## +## This file is part of the example classes of the Qt Toolkit. +## +## This file may be used under the terms of the GNU General Public +## License version 2.0 as published by the Free Software Foundation +## and appearing in the file LICENSE.GPL included in the packaging of +## this file. Please review the following information to ensure GNU +## General Public Licensing requirements will be met: +## http://www.trolltech.com/products/qt/opensource.html +## +## If you are unsure which license is appropriate for your use, please +## review the following information: +## http://www.trolltech.com/products/qt/licensing.html or contact the +## sales department at sales@trolltech.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################ + +import sys +from PySide2 import QtCore, QtGui + + +if __name__ == '__main__': + + import sys + + app = QtGui.QApplication(sys.argv) + + model = QtGui.QDirModel() + tree = QtGui.QTreeView() + tree.setModel(model) + + tree.setAnimated(False) + tree.setIndentation(20) + tree.setSortingEnabled(True) + + tree.setWindowTitle("Dir View") + tree.resize(640, 480) + tree.show() + + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/editabletreemodel/default.txt b/examples/widgets/itemviews/editabletreemodel/default.txt new file mode 100644 index 0000000..2b2fb57 --- /dev/null +++ b/examples/widgets/itemviews/editabletreemodel/default.txt @@ -0,0 +1,40 @@ +Getting Started How to familiarize yourself with Qt Designer + Launching Designer Running the Qt Designer application + The User Interface How to interact with Qt Designer + +Designing a Component Creating a GUI for your application + Creating a Dialog How to create a dialog + Composing the Dialog Putting widgets into the dialog example + Creating a Layout Arranging widgets on a form + Signal and Slot Connections Making widget communicate with each other + +Using a Component in Your Application Generating code from forms + The Direct Approach Using a form without any adjustments + The Single Inheritance Approach Subclassing a form's base class + The Multiple Inheritance Approach Subclassing the form itself + Automatic Connections Connecting widgets using a naming scheme + A Dialog Without Auto-Connect How to connect widgets without a naming scheme + A Dialog With Auto-Connect Using automatic connections + +Form Editing Mode How to edit a form in Qt Designer + Managing Forms Loading and saving forms + Editing a Form Basic editing techniques + The Property Editor Changing widget properties + The Object Inspector Examining the hierarchy of objects on a form + Layouts Objects that arrange widgets on a form + Applying and Breaking Layouts Managing widgets in layouts + Horizontal and Vertical Layouts Standard row and column layouts + The Grid Layout Arranging widgets in a matrix + Previewing Forms Checking that the design works + +Using Containers How to group widgets together + General Features Common container features + Frames QFrame + Group Boxes QGroupBox + Stacked Widgets QStackedWidget + Tab Widgets QTabWidget + Toolbox Widgets QToolBox + +Connection Editing Mode Connecting widgets together with signals and slots + Connecting Objects Making connections in Qt Designer + Editing Connections Changing existing connections diff --git a/examples/widgets/itemviews/editabletreemodel/editabletreemodel.py b/examples/widgets/itemviews/editabletreemodel/editabletreemodel.py new file mode 100755 index 0000000..b681673 --- /dev/null +++ b/examples/widgets/itemviews/editabletreemodel/editabletreemodel.py @@ -0,0 +1,405 @@ +#!/usr/bin/env python + +############################################################################ +## +## Copyright (C) 2005-2005 Trolltech AS. All rights reserved. +## +## This file is part of the example classes of the Qt Toolkit. +## +## This file may be used under the terms of the GNU General Public +## License version 2.0 as published by the Free Software Foundation +## and appearing in the file LICENSE.GPL included in the packaging of +## this file. Please review the following information to ensure GNU +## General Public Licensing requirements will be met: +## http://www.trolltech.com/products/qt/opensource.html +## +## If you are unsure which license is appropriate for your use, please +## review the following information: +## http://www.trolltech.com/products/qt/licensing.html or contact the +## sales department at sales@trolltech.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################ + +from PySide2 import QtCore, QtGui + +import editabletreemodel_rc +from ui_mainwindow import Ui_MainWindow + + +class TreeItem(object): + def __init__(self, data, parent=None): + self.parentItem = parent + self.itemData = data + self.childItems = [] + + def child(self, row): + return self.childItems[row] + + def childCount(self): + return len(self.childItems) + + def childNumber(self): + if self.parentItem != None: + return self.parentItem.childItems.index(self) + return 0 + + def columnCount(self): + return len(self.itemData) + + def data(self, column): + return self.itemData[column] + + def insertChildren(self, position, count, columns): + if position < 0 or position > len(self.childItems): + return False + + for row in range(count): + data = [None for v in range(columns)] + item = TreeItem(data, self) + self.childItems.insert(position, item) + + return True + + def insertColumns(self, position, columns): + if position < 0 or position > len(self.itemData): + return False + + for column in range(columns): + self.itemData.insert(position, None) + + for child in self.childItems: + child.insertColumns(position, columns) + + return True + + def parent(self): + return self.parentItem + + def removeChildren(self, position, count): + if position < 0 or position + count > len(self.childItems): + return False + + for row in range(count): + self.childItems.pop(position) + + return True + + def removeColumns(self, position, columns): + if position < 0 or position + columns > len(self.itemData): + return False + + for column in range(columns): + self.itemData.pop(position) + + for child in self.childItems: + child.removeColumns(position, columns) + + return True + + def setData(self, column, value): + if column < 0 or column >= len(self.itemData): + return False + + self.itemData[column] = value + + return True + + +class TreeModel(QtCore.QAbstractItemModel): + def __init__(self, headers, data, parent=None): + super(TreeModel, self).__init__(parent) + + rootData = [header for header in headers] + self.rootItem = TreeItem(rootData) + self.setupModelData(data.split("\n"), self.rootItem) + + def columnCount(self, parent=QtCore.QModelIndex()): + return self.rootItem.columnCount() + + def data(self, index, role): + if not index.isValid(): + return None + + if role != QtCore.Qt.DisplayRole and role != QtCore.Qt.EditRole: + return None + + item = self.getItem(index) + return item.data(index.column()) + + def flags(self, index): + if not index.isValid(): + return 0 + + return QtCore.Qt.ItemIsEditable | QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable + + def getItem(self, index): + if index.isValid(): + item = index.internalPointer() + if item: + return item + + return self.rootItem + + def headerData(self, section, orientation, role=QtCore.Qt.DisplayRole): + if orientation == QtCore.Qt.Horizontal and role == QtCore.Qt.DisplayRole: + return self.rootItem.data(section) + + return None + + def index(self, row, column, parent=QtCore.QModelIndex()): + if parent.isValid() and parent.column() != 0: + return QtCore.QModelIndex() + + parentItem = self.getItem(parent) + childItem = parentItem.child(row) + if childItem: + return self.createIndex(row, column, childItem) + else: + return QtCore.QModelIndex() + + def insertColumns(self, position, columns, parent=QtCore.QModelIndex()): + self.beginInsertColumns(parent, position, position + columns - 1) + success = self.rootItem.insertColumns(position, columns) + self.endInsertColumns() + + return success + + def insertRows(self, position, rows, parent=QtCore.QModelIndex()): + parentItem = self.getItem(parent) + self.beginInsertRows(parent, position, position + rows - 1) + success = parentItem.insertChildren(position, rows, + self.rootItem.columnCount()) + self.endInsertRows() + + return success + + def parent(self, index): + if not index.isValid(): + return QtCore.QModelIndex() + + childItem = self.getItem(index) + parentItem = childItem.parent() + + if parentItem == self.rootItem: + return QtCore.QModelIndex() + + return self.createIndex(parentItem.childNumber(), 0, parentItem) + + def removeColumns(self, position, columns, parent=QtCore.QModelIndex()): + self.beginRemoveColumns(parent, position, position + columns - 1) + success = self.rootItem.removeColumns(position, columns) + self.endRemoveColumns() + + if self.rootItem.columnCount() == 0: + self.removeRows(0, rowCount()) + + return success + + def removeRows(self, position, rows, parent=QtCore.QModelIndex()): + parentItem = self.getItem(parent) + + self.beginRemoveRows(parent, position, position + rows - 1) + success = parentItem.removeChildren(position, rows) + self.endRemoveRows() + + return success + + def rowCount(self, parent=QtCore.QModelIndex()): + parentItem = self.getItem(parent) + + return parentItem.childCount() + + def setData(self, index, value, role=QtCore.Qt.EditRole): + if role != QtCore.Qt.EditRole: + return False + + item = self.getItem(index) + result = item.setData(index.column(), value) + + if result: + self.dataChanged.emit(index, index) + + return result + + def setHeaderData(self, section, orientation, value, role=QtCore.Qt.EditRole): + if role != QtCore.Qt.EditRole or orientation != QtCore.Qt.Horizontal: + return False + + result = self.rootItem.setData(section, value) + if result: + self.headerDataChanged.emit(orientation, section, section) + + return result + + def setupModelData(self, lines, parent): + parents = [parent] + indentations = [0] + + number = 0 + + while number < len(lines): + position = 0 + while position < len(lines[number]): + if lines[number][position] != " ": + break + position += 1 + + lineData = lines[number][position:].strip() + + if lineData: + # Read the column data from the rest of the line. + columnData = [s for s in lineData.split('\t') if s] + + if position > indentations[-1]: + # The last child of the current parent is now the new + # parent unless the current parent has no children. + + if parents[-1].childCount() > 0: + parents.append(parents[-1].child(parents[-1].childCount() - 1)) + indentations.append(position) + + else: + while position < indentations[-1] and len(parents) > 0: + parents.pop() + indentations.pop() + + # Append a new item to the current parent's list of children. + parent = parents[-1] + parent.insertChildren(parent.childCount(), 1, + self.rootItem.columnCount()) + for column in range(len(columnData)): + parent.child(parent.childCount() -1).setData(column, columnData[column]) + + number += 1 + + +class MainWindow(QtGui.QMainWindow, Ui_MainWindow): + def __init__(self, parent=None): + super(MainWindow, self).__init__(parent) + + self.setupUi(self) + + headers = ("Title", "Description") + + file = QtCore.QFile(':/default.txt') + file.open(QtCore.QIODevice.ReadOnly) + model = TreeModel(headers, str(file.readAll())) + file.close() + + self.view.setModel(model) + for column in range(model.columnCount(QtCore.QModelIndex())): + self.view.resizeColumnToContents(column) + + self.exitAction.triggered.connect(QtGui.qApp.quit) + + self.view.selectionModel().selectionChanged.connect(self.updateActions) + + self.actionsMenu.aboutToShow.connect(self.updateActions) + self.insertRowAction.triggered.connect(self.insertRow) + self.insertColumnAction.triggered.connect(self.insertColumn) + self.removeRowAction.triggered.connect(self.removeRow) + self.removeColumnAction.triggered.connect(self.removeColumn) + self.insertChildAction.triggered.connect(self.insertChild) + + self.updateActions() + + def insertChild(self): + index = self.view.selectionModel().currentIndex() + model = self.view.model() + + if model.columnCount(index) == 0: + if not model.insertColumn(0, index): + return + + if not model.insertRow(0, index): + return + + for column in range(model.columnCount(index)): + child = model.index(0, column, index) + model.setData(child, "[No data]", + QtCore.Qt.EditRole) + if not model.headerData(column, QtCore.Qt.Horizontal).isValid(): + model.setHeaderData(column, QtCore.Qt.Horizontal, + "[No header]", QtCore.Qt.EditRole) + + self.view.selectionModel().setCurrentIndex(model.index(0, 0, index), + QtGui.QItemSelectionModel.ClearAndSelect) + self.updateActions() + + def insertColumn(self, parent=QtCore.QModelIndex()): + model = self.view.model() + column = self.view.selectionModel().currentIndex().column() + + # Insert a column in the parent item. + changed = model.insertColumn(column + 1, parent) + if changed: + model.setHeaderData(column + 1, QtCore.Qt.Horizontal, + "[No header]", QtCore.Qt.EditRole) + + self.updateActions() + + return changed + + def insertRow(self): + index = self.view.selectionModel().currentIndex() + model = self.view.model() + + if not model.insertRow(index.row()+1, index.parent()): + return + + self.updateActions() + + for column in range(model.columnCount(index.parent())): + child = model.index(index.row()+1, column, index.parent()) + model.setData(child, "[No data]", QtCore.Qt.EditRole) + + def removeColumn(self, parent=QtCore.QModelIndex()): + model = self.view.model() + column = self.view.selectionModel().currentIndex().column() + + # Insert columns in each child of the parent item. + changed = model.removeColumn(column, parent) + + if not parent.isValid() and changed: + self.updateActions() + + return changed + + def removeRow(self): + index = self.view.selectionModel().currentIndex() + model = self.view.model() + + if (model.removeRow(index.row(), index.parent())): + self.updateActions() + + def updateActions(self): + hasSelection = not self.view.selectionModel().selection().isEmpty() + self.removeRowAction.setEnabled(hasSelection) + self.removeColumnAction.setEnabled(hasSelection) + + hasCurrent = self.view.selectionModel().currentIndex().isValid() + self.insertRowAction.setEnabled(hasCurrent) + self.insertColumnAction.setEnabled(hasCurrent) + + if hasCurrent: + self.view.closePersistentEditor(self.view.selectionModel().currentIndex()) + + row = self.view.selectionModel().currentIndex().row() + column = self.view.selectionModel().currentIndex().column() + if self.view.selectionModel().currentIndex().parent().isValid(): + self.statusBar().showMessage("Position: (%d,%d)" % (row, column)) + else: + self.statusBar().showMessage("Position: (%d,%d) in top level" % (row, column)) + + +if __name__ == '__main__': + + import sys + + app = QtGui.QApplication(sys.argv) + window = MainWindow() + window.show() + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/editabletreemodel/editabletreemodel.qrc b/examples/widgets/itemviews/editabletreemodel/editabletreemodel.qrc new file mode 100644 index 0000000..2fb48f2 --- /dev/null +++ b/examples/widgets/itemviews/editabletreemodel/editabletreemodel.qrc @@ -0,0 +1,5 @@ +<RCC> + <qresource prefix="/" > + <file>default.txt</file> + </qresource> +</RCC> diff --git a/examples/widgets/itemviews/editabletreemodel/editabletreemodel_rc.py b/examples/widgets/itemviews/editabletreemodel/editabletreemodel_rc.py new file mode 100644 index 0000000..8618de1 --- /dev/null +++ b/examples/widgets/itemviews/editabletreemodel/editabletreemodel_rc.py @@ -0,0 +1,200 @@ +# -*- coding: utf-8 -*- + +############################################################################# +## +## Copyright (C) 2013 Riverbank Computing Limited. +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +# Resource object code +# +# Created: Sun Aug 23 18:54:43 2009 +# by: The Resource Compiler for PyQt (Qt v4.5.0) +# +# WARNING! All changes made in this file will be lost! + +from PySide2 import QtCore + +qt_resource_data = b"\ +\x00\x00\x07\xb9\ +\x47\ +\x65\x74\x74\x69\x6e\x67\x20\x53\x74\x61\x72\x74\x65\x64\x09\x09\ +\x09\x09\x48\x6f\x77\x20\x74\x6f\x20\x66\x61\x6d\x69\x6c\x69\x61\ +\x72\x69\x7a\x65\x20\x79\x6f\x75\x72\x73\x65\x6c\x66\x20\x77\x69\ +\x74\x68\x20\x51\x74\x20\x44\x65\x73\x69\x67\x6e\x65\x72\x0a\x20\ +\x20\x20\x20\x4c\x61\x75\x6e\x63\x68\x69\x6e\x67\x20\x44\x65\x73\ +\x69\x67\x6e\x65\x72\x09\x09\x09\x52\x75\x6e\x6e\x69\x6e\x67\x20\ +\x74\x68\x65\x20\x51\x74\x20\x44\x65\x73\x69\x67\x6e\x65\x72\x20\ +\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x0a\x20\x20\x20\x20\ +\x54\x68\x65\x20\x55\x73\x65\x72\x20\x49\x6e\x74\x65\x72\x66\x61\ +\x63\x65\x09\x09\x09\x48\x6f\x77\x20\x74\x6f\x20\x69\x6e\x74\x65\ +\x72\x61\x63\x74\x20\x77\x69\x74\x68\x20\x51\x74\x20\x44\x65\x73\ +\x69\x67\x6e\x65\x72\x0a\x0a\x44\x65\x73\x69\x67\x6e\x69\x6e\x67\ +\x20\x61\x20\x43\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x09\x09\x09\x43\ +\x72\x65\x61\x74\x69\x6e\x67\x20\x61\x20\x47\x55\x49\x20\x66\x6f\ +\x72\x20\x79\x6f\x75\x72\x20\x61\x70\x70\x6c\x69\x63\x61\x74\x69\ +\x6f\x6e\x0a\x20\x20\x20\x20\x43\x72\x65\x61\x74\x69\x6e\x67\x20\ +\x61\x20\x44\x69\x61\x6c\x6f\x67\x09\x09\x09\x48\x6f\x77\x20\x74\ +\x6f\x20\x63\x72\x65\x61\x74\x65\x20\x61\x20\x64\x69\x61\x6c\x6f\ +\x67\x0a\x20\x20\x20\x20\x43\x6f\x6d\x70\x6f\x73\x69\x6e\x67\x20\ +\x74\x68\x65\x20\x44\x69\x61\x6c\x6f\x67\x09\x09\x50\x75\x74\x74\ +\x69\x6e\x67\x20\x77\x69\x64\x67\x65\x74\x73\x20\x69\x6e\x74\x6f\ +\x20\x74\x68\x65\x20\x64\x69\x61\x6c\x6f\x67\x20\x65\x78\x61\x6d\ +\x70\x6c\x65\x0a\x20\x20\x20\x20\x43\x72\x65\x61\x74\x69\x6e\x67\ +\x20\x61\x20\x4c\x61\x79\x6f\x75\x74\x09\x09\x09\x41\x72\x72\x61\ +\x6e\x67\x69\x6e\x67\x20\x77\x69\x64\x67\x65\x74\x73\x20\x6f\x6e\ +\x20\x61\x20\x66\x6f\x72\x6d\x0a\x20\x20\x20\x20\x53\x69\x67\x6e\ +\x61\x6c\x20\x61\x6e\x64\x20\x53\x6c\x6f\x74\x20\x43\x6f\x6e\x6e\ +\x65\x63\x74\x69\x6f\x6e\x73\x09\x09\x4d\x61\x6b\x69\x6e\x67\x20\ +\x77\x69\x64\x67\x65\x74\x20\x63\x6f\x6d\x6d\x75\x6e\x69\x63\x61\ +\x74\x65\x20\x77\x69\x74\x68\x20\x65\x61\x63\x68\x20\x6f\x74\x68\ +\x65\x72\x0a\x0a\x55\x73\x69\x6e\x67\x20\x61\x20\x43\x6f\x6d\x70\ +\x6f\x6e\x65\x6e\x74\x20\x69\x6e\x20\x59\x6f\x75\x72\x20\x41\x70\ +\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x09\x47\x65\x6e\x65\x72\x61\ +\x74\x69\x6e\x67\x20\x63\x6f\x64\x65\x20\x66\x72\x6f\x6d\x20\x66\ +\x6f\x72\x6d\x73\x0a\x20\x20\x20\x20\x54\x68\x65\x20\x44\x69\x72\ +\x65\x63\x74\x20\x41\x70\x70\x72\x6f\x61\x63\x68\x09\x09\x09\x55\ +\x73\x69\x6e\x67\x20\x61\x20\x66\x6f\x72\x6d\x20\x77\x69\x74\x68\ +\x6f\x75\x74\x20\x61\x6e\x79\x20\x61\x64\x6a\x75\x73\x74\x6d\x65\ +\x6e\x74\x73\x0a\x20\x20\x20\x20\x54\x68\x65\x20\x53\x69\x6e\x67\ +\x6c\x65\x20\x49\x6e\x68\x65\x72\x69\x74\x61\x6e\x63\x65\x20\x41\ +\x70\x70\x72\x6f\x61\x63\x68\x09\x53\x75\x62\x63\x6c\x61\x73\x73\ +\x69\x6e\x67\x20\x61\x20\x66\x6f\x72\x6d\x27\x73\x20\x62\x61\x73\ +\x65\x20\x63\x6c\x61\x73\x73\x0a\x20\x20\x20\x20\x54\x68\x65\x20\ +\x4d\x75\x6c\x74\x69\x70\x6c\x65\x20\x49\x6e\x68\x65\x72\x69\x74\ +\x61\x6e\x63\x65\x20\x41\x70\x70\x72\x6f\x61\x63\x68\x09\x53\x75\ +\x62\x63\x6c\x61\x73\x73\x69\x6e\x67\x20\x74\x68\x65\x20\x66\x6f\ +\x72\x6d\x20\x69\x74\x73\x65\x6c\x66\x0a\x20\x20\x20\x20\x41\x75\ +\x74\x6f\x6d\x61\x74\x69\x63\x20\x43\x6f\x6e\x6e\x65\x63\x74\x69\ +\x6f\x6e\x73\x09\x09\x43\x6f\x6e\x6e\x65\x63\x74\x69\x6e\x67\x20\ +\x77\x69\x64\x67\x65\x74\x73\x20\x75\x73\x69\x6e\x67\x20\x61\x20\ +\x6e\x61\x6d\x69\x6e\x67\x20\x73\x63\x68\x65\x6d\x65\x0a\x20\x20\ +\x20\x20\x20\x20\x20\x20\x41\x20\x44\x69\x61\x6c\x6f\x67\x20\x57\ +\x69\x74\x68\x6f\x75\x74\x20\x41\x75\x74\x6f\x2d\x43\x6f\x6e\x6e\ +\x65\x63\x74\x09\x48\x6f\x77\x20\x74\x6f\x20\x63\x6f\x6e\x6e\x65\ +\x63\x74\x20\x77\x69\x64\x67\x65\x74\x73\x20\x77\x69\x74\x68\x6f\ +\x75\x74\x20\x61\x20\x6e\x61\x6d\x69\x6e\x67\x20\x73\x63\x68\x65\ +\x6d\x65\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x41\x20\x44\x69\x61\ +\x6c\x6f\x67\x20\x57\x69\x74\x68\x20\x41\x75\x74\x6f\x2d\x43\x6f\ +\x6e\x6e\x65\x63\x74\x09\x55\x73\x69\x6e\x67\x20\x61\x75\x74\x6f\ +\x6d\x61\x74\x69\x63\x20\x63\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e\ +\x73\x0a\x0a\x46\x6f\x72\x6d\x20\x45\x64\x69\x74\x69\x6e\x67\x20\ +\x4d\x6f\x64\x65\x09\x09\x09\x48\x6f\x77\x20\x74\x6f\x20\x65\x64\ +\x69\x74\x20\x61\x20\x66\x6f\x72\x6d\x20\x69\x6e\x20\x51\x74\x20\ +\x44\x65\x73\x69\x67\x6e\x65\x72\x0a\x20\x20\x20\x20\x4d\x61\x6e\ +\x61\x67\x69\x6e\x67\x20\x46\x6f\x72\x6d\x73\x09\x09\x09\x4c\x6f\ +\x61\x64\x69\x6e\x67\x20\x61\x6e\x64\x20\x73\x61\x76\x69\x6e\x67\ +\x20\x66\x6f\x72\x6d\x73\x0a\x20\x20\x20\x20\x45\x64\x69\x74\x69\ +\x6e\x67\x20\x61\x20\x46\x6f\x72\x6d\x09\x09\x09\x42\x61\x73\x69\ +\x63\x20\x65\x64\x69\x74\x69\x6e\x67\x20\x74\x65\x63\x68\x6e\x69\ +\x71\x75\x65\x73\x0a\x20\x20\x20\x20\x54\x68\x65\x20\x50\x72\x6f\ +\x70\x65\x72\x74\x79\x20\x45\x64\x69\x74\x6f\x72\x09\x09\x09\x43\ +\x68\x61\x6e\x67\x69\x6e\x67\x20\x77\x69\x64\x67\x65\x74\x20\x70\ +\x72\x6f\x70\x65\x72\x74\x69\x65\x73\x0a\x20\x20\x20\x20\x54\x68\ +\x65\x20\x4f\x62\x6a\x65\x63\x74\x20\x49\x6e\x73\x70\x65\x63\x74\ +\x6f\x72\x09\x09\x45\x78\x61\x6d\x69\x6e\x69\x6e\x67\x20\x74\x68\ +\x65\x20\x68\x69\x65\x72\x61\x72\x63\x68\x79\x20\x6f\x66\x20\x6f\ +\x62\x6a\x65\x63\x74\x73\x20\x6f\x6e\x20\x61\x20\x66\x6f\x72\x6d\ +\x0a\x20\x20\x20\x20\x4c\x61\x79\x6f\x75\x74\x73\x09\x09\x09\x09\ +\x4f\x62\x6a\x65\x63\x74\x73\x20\x74\x68\x61\x74\x20\x61\x72\x72\ +\x61\x6e\x67\x65\x20\x77\x69\x64\x67\x65\x74\x73\x20\x6f\x6e\x20\ +\x61\x20\x66\x6f\x72\x6d\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x41\ +\x70\x70\x6c\x79\x69\x6e\x67\x20\x61\x6e\x64\x20\x42\x72\x65\x61\ +\x6b\x69\x6e\x67\x20\x4c\x61\x79\x6f\x75\x74\x73\x09\x4d\x61\x6e\ +\x61\x67\x69\x6e\x67\x20\x77\x69\x64\x67\x65\x74\x73\x20\x69\x6e\ +\x20\x6c\x61\x79\x6f\x75\x74\x73\x20\x0a\x20\x20\x20\x20\x20\x20\ +\x20\x20\x48\x6f\x72\x69\x7a\x6f\x6e\x74\x61\x6c\x20\x61\x6e\x64\ +\x20\x56\x65\x72\x74\x69\x63\x61\x6c\x20\x4c\x61\x79\x6f\x75\x74\ +\x73\x09\x53\x74\x61\x6e\x64\x61\x72\x64\x20\x72\x6f\x77\x20\x61\ +\x6e\x64\x20\x63\x6f\x6c\x75\x6d\x6e\x20\x6c\x61\x79\x6f\x75\x74\ +\x73\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x54\x68\x65\x20\x47\x72\ +\x69\x64\x20\x4c\x61\x79\x6f\x75\x74\x09\x09\x09\x41\x72\x72\x61\ +\x6e\x67\x69\x6e\x67\x20\x77\x69\x64\x67\x65\x74\x73\x20\x69\x6e\ +\x20\x61\x20\x6d\x61\x74\x72\x69\x78\x0a\x20\x20\x20\x20\x50\x72\ +\x65\x76\x69\x65\x77\x69\x6e\x67\x20\x46\x6f\x72\x6d\x73\x09\x09\ +\x09\x43\x68\x65\x63\x6b\x69\x6e\x67\x20\x74\x68\x61\x74\x20\x74\ +\x68\x65\x20\x64\x65\x73\x69\x67\x6e\x20\x77\x6f\x72\x6b\x73\x0a\ +\x0a\x55\x73\x69\x6e\x67\x20\x43\x6f\x6e\x74\x61\x69\x6e\x65\x72\ +\x73\x09\x09\x09\x48\x6f\x77\x20\x74\x6f\x20\x67\x72\x6f\x75\x70\ +\x20\x77\x69\x64\x67\x65\x74\x73\x20\x74\x6f\x67\x65\x74\x68\x65\ +\x72\x0a\x20\x20\x20\x20\x47\x65\x6e\x65\x72\x61\x6c\x20\x46\x65\ +\x61\x74\x75\x72\x65\x73\x09\x09\x09\x43\x6f\x6d\x6d\x6f\x6e\x20\ +\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x20\x66\x65\x61\x74\x75\x72\ +\x65\x73\x0a\x20\x20\x20\x20\x46\x72\x61\x6d\x65\x73\x09\x09\x09\ +\x09\x51\x46\x72\x61\x6d\x65\x0a\x20\x20\x20\x20\x47\x72\x6f\x75\ +\x70\x20\x42\x6f\x78\x65\x73\x09\x09\x09\x09\x51\x47\x72\x6f\x75\ +\x70\x42\x6f\x78\x0a\x20\x20\x20\x20\x53\x74\x61\x63\x6b\x65\x64\ +\x20\x57\x69\x64\x67\x65\x74\x73\x09\x09\x09\x51\x53\x74\x61\x63\ +\x6b\x65\x64\x57\x69\x64\x67\x65\x74\x0a\x20\x20\x20\x20\x54\x61\ +\x62\x20\x57\x69\x64\x67\x65\x74\x73\x09\x09\x09\x09\x51\x54\x61\ +\x62\x57\x69\x64\x67\x65\x74\x0a\x20\x20\x20\x20\x54\x6f\x6f\x6c\ +\x62\x6f\x78\x20\x57\x69\x64\x67\x65\x74\x73\x09\x09\x09\x51\x54\ +\x6f\x6f\x6c\x42\x6f\x78\x0a\x0a\x43\x6f\x6e\x6e\x65\x63\x74\x69\ +\x6f\x6e\x20\x45\x64\x69\x74\x69\x6e\x67\x20\x4d\x6f\x64\x65\x09\ +\x09\x09\x43\x6f\x6e\x6e\x65\x63\x74\x69\x6e\x67\x20\x77\x69\x64\ +\x67\x65\x74\x73\x20\x74\x6f\x67\x65\x74\x68\x65\x72\x20\x77\x69\ +\x74\x68\x20\x73\x69\x67\x6e\x61\x6c\x73\x20\x61\x6e\x64\x20\x73\ +\x6c\x6f\x74\x73\x0a\x20\x20\x20\x20\x43\x6f\x6e\x6e\x65\x63\x74\ +\x69\x6e\x67\x20\x4f\x62\x6a\x65\x63\x74\x73\x09\x09\x09\x4d\x61\ +\x6b\x69\x6e\x67\x20\x63\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e\x73\ +\x20\x69\x6e\x20\x51\x74\x20\x44\x65\x73\x69\x67\x6e\x65\x72\x0a\ +\x20\x20\x20\x20\x45\x64\x69\x74\x69\x6e\x67\x20\x43\x6f\x6e\x6e\ +\x65\x63\x74\x69\x6f\x6e\x73\x09\x09\x09\x43\x68\x61\x6e\x67\x69\ +\x6e\x67\x20\x65\x78\x69\x73\x74\x69\x6e\x67\x20\x63\x6f\x6e\x6e\ +\x65\x63\x74\x69\x6f\x6e\x73\x0a\ +" + +qt_resource_name = b"\ +\x00\x0b\ +\x0c\xe2\x22\xf4\ +\x00\x64\ +\x00\x65\x00\x66\x00\x61\x00\x75\x00\x6c\x00\x74\x00\x2e\x00\x74\x00\x78\x00\x74\ +" + +qt_resource_struct = b"\ +\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ +\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ +" + +def qInitResources(): + QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) + +def qCleanupResources(): + QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) + +qInitResources() diff --git a/examples/widgets/itemviews/editabletreemodel/mainwindow.ui b/examples/widgets/itemviews/editabletreemodel/mainwindow.ui new file mode 100644 index 0000000..2ad084a --- /dev/null +++ b/examples/widgets/itemviews/editabletreemodel/mainwindow.ui @@ -0,0 +1,128 @@ +<ui version="4.0" > + <class>MainWindow</class> + <widget class="QMainWindow" name="MainWindow" > + <property name="geometry" > + <rect> + <x>0</x> + <y>0</y> + <width>573</width> + <height>468</height> + </rect> + </property> + <property name="windowTitle" > + <string>Editable Tree Model</string> + </property> + <widget class="QWidget" name="centralwidget" > + <layout class="QVBoxLayout" > + <property name="margin" > + <number>0</number> + </property> + <property name="spacing" > + <number>0</number> + </property> + <item> + <widget class="QTreeView" name="view" > + <property name="alternatingRowColors" > + <bool>true</bool> + </property> + <property name="selectionBehavior" > + <enum>QAbstractItemView::SelectItems</enum> + </property> + <property name="horizontalScrollMode" > + <enum>QAbstractItemView::ScrollPerPixel</enum> + </property> + <property name="animated" > + <bool>false</bool> + </property> + <property name="allColumnsShowFocus" > + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QMenuBar" name="menubar" > + <property name="geometry" > + <rect> + <x>0</x> + <y>0</y> + <width>573</width> + <height>31</height> + </rect> + </property> + <widget class="QMenu" name="fileMenu" > + <property name="title" > + <string>&File</string> + </property> + <addaction name="exitAction" /> + </widget> + <widget class="QMenu" name="actionsMenu" > + <property name="title" > + <string>&Actions</string> + </property> + <addaction name="insertRowAction" /> + <addaction name="insertColumnAction" /> + <addaction name="separator" /> + <addaction name="removeRowAction" /> + <addaction name="removeColumnAction" /> + <addaction name="separator" /> + <addaction name="insertChildAction" /> + </widget> + <addaction name="fileMenu" /> + <addaction name="actionsMenu" /> + </widget> + <widget class="QStatusBar" name="statusbar" /> + <action name="exitAction" > + <property name="text" > + <string>E&xit</string> + </property> + <property name="shortcut" > + <string>Ctrl+Q</string> + </property> + </action> + <action name="insertRowAction" > + <property name="text" > + <string>Insert Row</string> + </property> + <property name="shortcut" > + <string>Ctrl+I, R</string> + </property> + </action> + <action name="removeRowAction" > + <property name="text" > + <string>Remove Row</string> + </property> + <property name="shortcut" > + <string>Ctrl+R, R</string> + </property> + </action> + <action name="insertColumnAction" > + <property name="text" > + <string>Insert Column</string> + </property> + <property name="shortcut" > + <string>Ctrl+I, C</string> + </property> + </action> + <action name="removeColumnAction" > + <property name="text" > + <string>Remove Column</string> + </property> + <property name="shortcut" > + <string>Ctrl+R, C</string> + </property> + </action> + <action name="insertChildAction" > + <property name="text" > + <string>Insert Child</string> + </property> + <property name="shortcut" > + <string>Ctrl+N</string> + </property> + </action> + </widget> + <resources> + <include location="editabletreemodel.qrc" /> + </resources> + <connections/> +</ui> diff --git a/examples/widgets/itemviews/editabletreemodel/ui_mainwindow.py b/examples/widgets/itemviews/editabletreemodel/ui_mainwindow.py new file mode 100644 index 0000000..6af05b7 --- /dev/null +++ b/examples/widgets/itemviews/editabletreemodel/ui_mainwindow.py @@ -0,0 +1,85 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'mainwindow.ui' +# +# Created: Thu Dec 29 13:22:05 2011 +# by: pyside-uic 0.2.13 running on PySide 1.0.9 +# +# WARNING! All changes made in this file will be lost! + +from PySide2 import QtCore, QtGui + +class Ui_MainWindow(object): + def setupUi(self, MainWindow): + MainWindow.setObjectName("MainWindow") + MainWindow.resize(573, 468) + self.centralwidget = QtGui.QWidget(MainWindow) + self.centralwidget.setObjectName("centralwidget") + self.vboxlayout = QtGui.QVBoxLayout(self.centralwidget) + self.vboxlayout.setContentsMargins(0, 0, 0, 0) + self.vboxlayout.setSpacing(0) + self.vboxlayout.setObjectName("vboxlayout") + self.view = QtGui.QTreeView(self.centralwidget) + self.view.setAlternatingRowColors(True) + self.view.setSelectionBehavior(QtGui.QAbstractItemView.SelectItems) + self.view.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel) + self.view.setAnimated(False) + self.view.setAllColumnsShowFocus(True) + self.view.setObjectName("view") + self.vboxlayout.addWidget(self.view) + MainWindow.setCentralWidget(self.centralwidget) + self.menubar = QtGui.QMenuBar(MainWindow) + self.menubar.setGeometry(QtCore.QRect(0, 0, 573, 31)) + self.menubar.setObjectName("menubar") + self.fileMenu = QtGui.QMenu(self.menubar) + self.fileMenu.setObjectName("fileMenu") + self.actionsMenu = QtGui.QMenu(self.menubar) + self.actionsMenu.setObjectName("actionsMenu") + MainWindow.setMenuBar(self.menubar) + self.statusbar = QtGui.QStatusBar(MainWindow) + self.statusbar.setObjectName("statusbar") + MainWindow.setStatusBar(self.statusbar) + self.exitAction = QtGui.QAction(MainWindow) + self.exitAction.setObjectName("exitAction") + self.insertRowAction = QtGui.QAction(MainWindow) + self.insertRowAction.setObjectName("insertRowAction") + self.removeRowAction = QtGui.QAction(MainWindow) + self.removeRowAction.setObjectName("removeRowAction") + self.insertColumnAction = QtGui.QAction(MainWindow) + self.insertColumnAction.setObjectName("insertColumnAction") + self.removeColumnAction = QtGui.QAction(MainWindow) + self.removeColumnAction.setObjectName("removeColumnAction") + self.insertChildAction = QtGui.QAction(MainWindow) + self.insertChildAction.setObjectName("insertChildAction") + self.fileMenu.addAction(self.exitAction) + self.actionsMenu.addAction(self.insertRowAction) + self.actionsMenu.addAction(self.insertColumnAction) + self.actionsMenu.addSeparator() + self.actionsMenu.addAction(self.removeRowAction) + self.actionsMenu.addAction(self.removeColumnAction) + self.actionsMenu.addSeparator() + self.actionsMenu.addAction(self.insertChildAction) + self.menubar.addAction(self.fileMenu.menuAction()) + self.menubar.addAction(self.actionsMenu.menuAction()) + + self.retranslateUi(MainWindow) + QtCore.QMetaObject.connectSlotsByName(MainWindow) + + def retranslateUi(self, MainWindow): + MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Editable Tree Model", None, QtGui.QApplication.UnicodeUTF8)) + self.fileMenu.setTitle(QtGui.QApplication.translate("MainWindow", "&File", None, QtGui.QApplication.UnicodeUTF8)) + self.actionsMenu.setTitle(QtGui.QApplication.translate("MainWindow", "&Actions", None, QtGui.QApplication.UnicodeUTF8)) + self.exitAction.setText(QtGui.QApplication.translate("MainWindow", "E&xit", None, QtGui.QApplication.UnicodeUTF8)) + self.exitAction.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8)) + self.insertRowAction.setText(QtGui.QApplication.translate("MainWindow", "Insert Row", None, QtGui.QApplication.UnicodeUTF8)) + self.insertRowAction.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+I, R", None, QtGui.QApplication.UnicodeUTF8)) + self.removeRowAction.setText(QtGui.QApplication.translate("MainWindow", "Remove Row", None, QtGui.QApplication.UnicodeUTF8)) + self.removeRowAction.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+R, R", None, QtGui.QApplication.UnicodeUTF8)) + self.insertColumnAction.setText(QtGui.QApplication.translate("MainWindow", "Insert Column", None, QtGui.QApplication.UnicodeUTF8)) + self.insertColumnAction.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+I, C", None, QtGui.QApplication.UnicodeUTF8)) + self.removeColumnAction.setText(QtGui.QApplication.translate("MainWindow", "Remove Column", None, QtGui.QApplication.UnicodeUTF8)) + self.removeColumnAction.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+R, C", None, QtGui.QApplication.UnicodeUTF8)) + self.insertChildAction.setText(QtGui.QApplication.translate("MainWindow", "Insert Child", None, QtGui.QApplication.UnicodeUTF8)) + self.insertChildAction.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+N", None, QtGui.QApplication.UnicodeUTF8)) + +import editabletreemodel_rc diff --git a/examples/widgets/itemviews/fetchmore.py b/examples/widgets/itemviews/fetchmore.py new file mode 100755 index 0000000..f24f51d --- /dev/null +++ b/examples/widgets/itemviews/fetchmore.py @@ -0,0 +1,148 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2009 Darryl Wallace, 2009 <wallacdj@gmail.com> +## Copyright (C) 2013 Riverbank Computing Limited. +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +##g +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +from PySide2 import QtCore, QtGui, QtWidgets + + +class FileListModel(QtCore.QAbstractListModel): + numberPopulated = QtCore.Signal(int) + + def __init__(self, parent=None): + super(FileListModel, self).__init__(parent) + + self.fileCount = 0 + self.fileList = [] + + def rowCount(self, parent=QtCore.QModelIndex()): + return self.fileCount + + def data(self, index, role=QtCore.Qt.DisplayRole): + if not index.isValid(): + return None + + if index.row() >= len(self.fileList) or index.row() < 0: + return None + + if role == QtCore.Qt.DisplayRole: + return self.fileList[index.row()] + + if role == QtCore.Qt.BackgroundRole: + batch = (index.row() // 100) % 2 +# FIXME: QGuiApplication::palette() required + if batch == 0: + return QtWidgets.qApp.palette().base() + + return QtWidgets.qApp.palette().alternateBase() + + return None + + def canFetchMore(self, index): + return self.fileCount < len(self.fileList) + + def fetchMore(self, index): + remainder = len(self.fileList) - self.fileCount + itemsToFetch = min(100, remainder) + + self.beginInsertRows(QtCore.QModelIndex(), self.fileCount, + self.fileCount + itemsToFetch) + + self.fileCount += itemsToFetch + + self.endInsertRows() + + self.numberPopulated.emit(itemsToFetch) + + def setDirPath(self, path): + dir = QtCore.QDir(path) + + self.beginResetModel() + self.fileList = list(dir.entryList()) + self.fileCount = 0 + self.endResetModel() + + +class Window(QtWidgets.QWidget): + def __init__(self, parent=None): + super(Window, self).__init__(parent) + + model = FileListModel(self) + model.setDirPath(QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.PrefixPath)) + + label = QtWidgets.QLabel("Directory") + lineEdit = QtWidgets.QLineEdit() + label.setBuddy(lineEdit) + + view = QtWidgets.QListView() + view.setModel(model) + + self.logViewer = QtWidgets.QTextBrowser() + self.logViewer.setSizePolicy(QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)) + + lineEdit.textChanged.connect(model.setDirPath) + lineEdit.textChanged.connect(self.logViewer.clear) + model.numberPopulated.connect(self.updateLog) + + layout = QtWidgets.QGridLayout() + layout.addWidget(label, 0, 0) + layout.addWidget(lineEdit, 0, 1) + layout.addWidget(view, 1, 0, 1, 2) + layout.addWidget(self.logViewer, 2, 0, 1, 2) + + self.setLayout(layout) + self.setWindowTitle("Fetch More Example") + + def updateLog(self, number): + self.logViewer.append("%d items added." % number) + + +if __name__ == '__main__': + + import sys + + app = QtWidgets.QApplication(sys.argv) + + window = Window() + window.show() + + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/pixelator/images.qrc b/examples/widgets/itemviews/pixelator/images.qrc new file mode 100644 index 0000000..c105e13 --- /dev/null +++ b/examples/widgets/itemviews/pixelator/images.qrc @@ -0,0 +1,5 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource> + <file>images/qt.png</file> +</qresource> +</RCC> diff --git a/examples/widgets/itemviews/pixelator/images/qt.png b/examples/widgets/itemviews/pixelator/images/qt.png Binary files differnew file mode 100644 index 0000000..a2c9c77 --- /dev/null +++ b/examples/widgets/itemviews/pixelator/images/qt.png diff --git a/examples/widgets/itemviews/pixelator/pixelator.py b/examples/widgets/itemviews/pixelator/pixelator.py new file mode 100755 index 0000000..117a990 --- /dev/null +++ b/examples/widgets/itemviews/pixelator/pixelator.py @@ -0,0 +1,277 @@ +#!/usr/bin/env python + +############################################################################ +# +# Copyright (C) 2004-2005 Trolltech AS. All rights reserved. +# +# This file is part of the example classes of the Qt Toolkit. +# +# This file may be used under the terms of the GNU General Public +# License version 2.0 as published by the Free Software Foundation +# and appearing in the file LICENSE.GPL included in the packaging of +# self file. Please review the following information to ensure GNU +# General Public Licensing requirements will be met: +# http://www.trolltech.com/products/qt/opensource.html +# +# If you are unsure which license is appropriate for your use, please +# review the following information: +# http://www.trolltech.com/products/qt/licensing.html or contact the +# sales department at sales@trolltech.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +# +############################################################################ + +import sys +from PySide2 import QtCore, QtGui + +import pixelator_rc + + +ItemSize = 256 + + +class PixelDelegate(QtGui.QAbstractItemDelegate): + def __init__(self, parent=None): + super(PixelDelegate, self).__init__(parent) + + self.pixelSize = 12 + + def paint(self, painter, option, index): + if option.state & QtGui.QStyle.State_Selected: + painter.fillRect(option.rect, option.palette.highlight()) + + size = min(option.rect.width(), option.rect.height()) + brightness = index.model().data(index, QtCore.Qt.DisplayRole) + radius = (size/2.0) - (brightness/255.0 * size/2.0) + if radius == 0.0: + return + + painter.save() + painter.setRenderHint(QtGui.QPainter.Antialiasing) + painter.setPen(QtCore.Qt.NoPen) + + if option.state & QtGui.QStyle.State_Selected: + painter.setBrush(option.palette.highlightedText()) + else: + painter.setBrush(QtGui.QBrush(QtCore.Qt.black)) + + painter.drawEllipse(QtCore.QRectF( + option.rect.x() + option.rect.width()/2 - radius, + option.rect.y() + option.rect.height()/2 - radius, + 2*radius, 2*radius)) + + painter.restore() + + def sizeHint(self, option, index): + return QtCore.QSize(self.pixelSize, self.pixelSize) + + def setPixelSize(self, size): + self.pixelSize = size + + +class ImageModel(QtCore.QAbstractTableModel): + def __init__(self, parent=None): + super(ImageModel, self).__init__(parent) + + self.modelImage = QtGui.QImage() + + def setImage(self, image): + self.modelImage = QtGui.QImage(image) + self.reset() + + def rowCount(self, parent): + return self.modelImage.height() + + def columnCount(self, parent): + return self.modelImage.width() + + def data(self, index, role): + if not index.isValid() or role != QtCore.Qt.DisplayRole: + return None + + return QtGui.qGray(self.modelImage.pixel(index.column(), index.row())) + + def headerData(self, section, orientation, role): + if role == QtCore.Qt.SizeHintRole: + return QtCore.QSize(1, 1) + + return None + + +class MainWindow(QtGui.QMainWindow): + def __init__(self): + super(MainWindow, self).__init__() + + self.currentPath = QtCore.QDir.homePath() + self.model = ImageModel(self) + + centralWidget = QtGui.QWidget() + + self.view = QtGui.QTableView() + self.view.setShowGrid(False) + self.view.horizontalHeader().hide() + self.view.verticalHeader().hide() + self.view.horizontalHeader().setMinimumSectionSize(1) + self.view.verticalHeader().setMinimumSectionSize(1) + self.view.setModel(self.model) + + delegate = PixelDelegate(self) + self.view.setItemDelegate(delegate) + + pixelSizeLabel = QtGui.QLabel("Pixel size:") + pixelSizeSpinBox = QtGui.QSpinBox() + pixelSizeSpinBox.setMinimum(4) + pixelSizeSpinBox.setMaximum(32) + pixelSizeSpinBox.setValue(12) + + fileMenu = QtGui.QMenu("&File", self) + openAction = fileMenu.addAction("&Open...") + openAction.setShortcut("Ctrl+O") + + self.printAction = fileMenu.addAction("&Print...") + self.printAction.setEnabled(False) + self.printAction.setShortcut("Ctrl+P") + + quitAction = fileMenu.addAction("E&xit") + quitAction.setShortcut("Ctrl+Q") + + helpMenu = QtGui.QMenu("&Help", self) + aboutAction = helpMenu.addAction("&About") + + self.menuBar().addMenu(fileMenu) + self.menuBar().addSeparator() + self.menuBar().addMenu(helpMenu) + + openAction.triggered.connect(self.chooseImage) + self.printAction.triggered.connect(self.printImage) + quitAction.triggered.connect(QtGui.qApp.quit) + aboutAction.triggered.connect(self.showAboutBox) + pixelSizeSpinBox.valueChanged[int].connect(delegate.setPixelSize) + pixelSizeSpinBox.valueChanged[int].connect(self.updateView) + + controlsLayout = QtGui.QHBoxLayout() + controlsLayout.addWidget(pixelSizeLabel) + controlsLayout.addWidget(pixelSizeSpinBox) + controlsLayout.addStretch(1) + + mainLayout = QtGui.QVBoxLayout() + mainLayout.addWidget(self.view) + mainLayout.addLayout(controlsLayout) + centralWidget.setLayout(mainLayout) + + self.setCentralWidget(centralWidget) + + self.setWindowTitle("Pixelator") + self.resize(640, 480) + + def chooseImage(self): + fileName,_ = QtGui.QFileDialog.getOpenFileName(self, "Choose an Image", + self.currentPath, '*') + + if fileName: + self.openImage(fileName) + + def openImage(self, fileName): + image = QtGui.QImage() + + if image.load(fileName): + self.model.setImage(image) + + if not fileName.startswith(':/'): + self.currentPath = fileName + self.setWindowTitle("%s - Pixelator" % self.currentPath) + + self.printAction.setEnabled(True) + self.updateView() + + def printImage(self): + if self.model.rowCount(QtCore.QModelIndex()) * self.model.columnCount(QtCore.QModelIndex()) > 90000: + answer = QtGui.QMessageBox.question(self, "Large Image Size", + "The printed image may be very large. Are you sure that " + "you want to print it?", + QtGui.QMessageBox.Yes | QtGui.QMessageBox.No) + if answer == QtGui.QMessageBox.No: + return + + printer = QtGui.QPrinter(QtGui.QPrinter.HighResolution) + + dlg = QtGui.QPrintDialog(printer, self) + dlg.setWindowTitle("Print Image") + + if dlg.exec_() != QtGui.QDialog.Accepted: + return + + painter = QtGui.QPainter() + painter.begin(printer) + + rows = self.model.rowCount(QtCore.QModelIndex()) + columns = self.model.columnCount(QtCore.QModelIndex()) + sourceWidth = (columns+1) * ItemSize + sourceHeight = (rows+1) * ItemSize + + painter.save() + + xscale = printer.pageRect().width() / float(sourceWidth) + yscale = printer.pageRect().height() / float(sourceHeight) + scale = min(xscale, yscale) + + painter.translate(printer.pageRect().x()+printer.pageRect().width()/2, + printer.pageRect().y()+printer.pageRect().height()/2) + painter.scale(scale, scale) + painter.translate(-sourceWidt/2, -sourceHeight/2) + + option = QtGui.QStyleOptionViewItem() + parent = QtCore.QModelIndex() + + progress = QtGui.QProgressDialog("Printing...", "Cancel", 0, rows, + self) + y = ItemSize / 2.0 + + for row in range(rows): + progress.setValue(row) + QtGui.qApp.processEvents() + if progress.wasCanceled(): + break + + x = ItemSize / 2.0 + + for col in range(columns): + option.rect = QtCore.QRect(x, y, ItemSize, ItemSize) + self.view.itemDelegate.paint(painter, option, + self.model.index(row, column, parent)) + x = x + ItemSize + + y = y + ItemSize + + progress.setValue(rows) + + painter.restore() + painter.end() + + if progress.wasCanceled(): + QtGui.QMessageBox.information(self, "Printing canceled", + "The printing process was canceled.", + QtGui.QMessageBox.Cancel) + + def showAboutBox(self): + QtGui.QMessageBox.about(self, "About the Pixelator example", + "This example demonstrates how a standard view and a custom\n" + "delegate can be used to produce a specialized " + "representation\nof data in a simple custom model.") + + def updateView(self): + self.view.resizeColumnsToContents() + self.view.resizeRowsToContents() + + +if __name__ == '__main__': + + import sys + + app = QtGui.QApplication(sys.argv) + window = MainWindow() + window.show() + window.openImage(':/images/qt.png') + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/pixelator/pixelator.qrc b/examples/widgets/itemviews/pixelator/pixelator.qrc new file mode 100644 index 0000000..c105e13 --- /dev/null +++ b/examples/widgets/itemviews/pixelator/pixelator.qrc @@ -0,0 +1,5 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource> + <file>images/qt.png</file> +</qresource> +</RCC> diff --git a/examples/widgets/itemviews/pixelator/pixelator_rc.py b/examples/widgets/itemviews/pixelator/pixelator_rc.py new file mode 100644 index 0000000..22255d0 --- /dev/null +++ b/examples/widgets/itemviews/pixelator/pixelator_rc.py @@ -0,0 +1,120 @@ +############################################################################# +## +## Copyright (C) 2013 Riverbank Computing Limited. +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +# Resource object code +# +# Created: Tue Jan 3 12:47:21 2006 +# by: The Resource Compiler for PyQt (Qt v4.1.0) +# +# WARNING! All changes made in this file will be lost! + +from PySide2 import QtCore + +qt_resource_data = b"\ +\x00\x00\x02\x90\ +\x89\ +\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ +\x00\x00\x26\x00\x00\x00\x26\x08\x00\x00\x00\x00\x8d\x56\xb6\x72\ +\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x12\x00\x00\x0b\x12\ +\x01\xd2\xdd\x7e\xfc\x00\x00\x00\x07\x74\x49\x4d\x45\x07\xd4\x08\ +\x06\x0a\x1f\x38\xb8\xaf\xd3\x52\x00\x00\x00\x02\x62\x4b\x47\x44\ +\x00\xff\x87\x8f\xcc\xbf\x00\x00\x02\x21\x49\x44\x41\x54\x38\xcb\ +\x63\xf8\x70\x96\x08\xf0\x81\xe1\xec\x7f\x22\xc0\x59\x54\x65\x9f\ +\xd7\x16\x38\xab\x4a\x4a\x6a\xb8\x97\x6d\xfd\x86\x53\xd9\xf9\x58\ +\x4e\x06\x38\xe0\xcf\xbc\x85\x55\xd9\xf3\x28\x46\x06\x14\xc0\x92\ +\xfd\x01\x53\xd9\x16\x11\x06\x0c\x20\x77\x0c\x5d\xd9\x64\x66\x06\ +\x2c\x80\x7d\x15\xaa\xb2\xc9\x70\x19\x36\x2d\x07\x7b\x35\x16\x18\ +\x8f\x79\x2d\xb2\xb2\xad\x50\xb3\x98\x43\xb7\x81\x7d\xf8\x69\x8d\ +\x07\xd4\xa1\x9c\x67\x10\xca\x5e\x40\xdd\x65\x71\x19\xe1\xb9\x23\ +\x5a\x10\x31\x95\xaf\x70\x65\xd1\x10\x91\x8c\xdf\xc8\x61\xf5\x25\ +\x00\x22\x5a\x09\x53\x76\x91\x09\xa2\x0a\xa1\xe4\x6d\x3e\xd0\xee\ +\xdf\xbe\x10\x6b\x9f\x41\x95\xc5\x43\x6c\xfc\x85\x50\x65\xc4\xe0\ +\x06\x54\xf7\x51\x19\x2c\x51\x03\x51\xf6\x99\x0b\xec\xfa\x4b\xc8\ +\xaa\x18\xc0\xea\xb6\x83\x95\xc9\xfe\x03\x2b\x5b\x0f\xe6\x04\xa3\ +\xaa\x82\xa8\x33\x05\xb3\xce\x82\x95\x15\x83\xd9\x5b\xd0\x54\x31\ +\x30\x4c\xfe\xff\x7f\x1a\x98\x31\x01\xac\xcc\x15\xc4\x64\xfd\x8a\ +\xae\x2a\xe3\xdf\xff\xff\xb7\xc1\xac\x64\xb0\x32\x4d\x10\x53\x1d\ +\x9b\xaa\xff\xff\xc0\xce\x76\x07\x2b\x93\x04\x31\x6d\xd0\x54\xa5\ +\xfd\x03\xf3\xe5\x40\x6c\x73\xb0\x32\x69\x10\xd3\x0a\x55\x15\x83\ +\xfb\x77\xb0\x80\x14\x88\x6d\x0d\x56\xa6\x03\x62\x2a\xa3\xaa\x82\ +\xaa\xfb\xcd\x0e\x62\x7a\x83\x95\x79\x83\x83\xed\x1d\xaa\x2a\x88\ +\xba\x4b\x60\x56\x16\x58\x59\x15\x98\xbd\xfc\xff\xff\x7c\xd4\xc4\ +\x06\x54\xd7\x0e\x66\xcc\x00\x2b\xdb\x09\x66\x3b\xff\xff\xff\xcd\ +\x0d\xcc\x4a\xf7\x83\xa9\xfb\xac\x06\xa6\x6f\x80\x95\xfd\x14\x04\ +\x73\xf6\x43\xd5\x65\xfc\xfb\x09\x53\xa7\x02\x26\xb5\xa0\x51\x9f\ +\x0b\xe6\xa9\x7d\x02\xab\x03\x85\x17\x5c\x1d\x18\xf4\x40\x95\xdd\ +\x63\x05\x73\xbd\x81\xc9\xed\xdb\x64\x70\x78\x21\xab\x13\xfa\x00\ +\x4b\x96\x05\x10\x01\x8f\xf7\xf0\xe8\x47\x52\xd7\x07\x4f\xbd\x9f\ +\x14\x21\x22\x0a\x1b\xff\xc1\xd4\x7d\x53\x87\xaa\xe2\xfb\x8c\xc8\ +\x32\xa7\x60\xd9\xdd\x60\xd2\xf5\xbf\xc0\x50\xbd\xd0\xa2\x86\x12\ +\x7e\xb0\x0c\xb8\x8e\x15\x2e\xcc\x21\x2d\xc1\x8a\x1e\x7e\xf0\xec\ +\xbc\x81\x8b\x01\x27\x88\x40\x2a\x1c\xce\xab\x63\xca\x43\x02\x54\ +\xe8\x2c\x72\x51\xf3\xad\x06\xcd\x40\xa1\x09\xdf\xfc\x20\xaa\x50\ +\x0b\xae\x17\xf5\xf2\x08\x45\xda\xbd\x1f\xc1\xe1\x02\x52\x85\x5e\ +\x0c\xfe\x3b\x37\x31\xc5\xc3\xc2\xc6\x3b\x6b\xd6\x4d\x68\xf8\xc5\ +\x9f\xc5\x52\x5a\xe2\x2e\x54\x89\x2b\xa2\x01\x68\x6d\xe8\xa9\x09\ +\x2e\xca\xc3\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ +" + +qt_resource_name = b"\ +\x00\x06\ +\x07\x03\x7d\xc3\ +\x00\x69\ +\x00\x6d\x00\x61\x00\x67\x00\x65\x00\x73\ +\x00\x06\ +\x07\x87\x57\x47\ +\x00\x71\ +\x00\x74\x00\x2e\x00\x70\x00\x6e\x00\x67\ +" + +qt_resource_struct = b"\ +\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ +\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\ +\x00\x00\x00\x12\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ +" + +def qInitResources(): + QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) + +def qCleanupResources(): + QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) + +qInitResources() diff --git a/examples/widgets/itemviews/puzzle/example.jpg b/examples/widgets/itemviews/puzzle/example.jpg Binary files differnew file mode 100644 index 0000000..5d9dd91 --- /dev/null +++ b/examples/widgets/itemviews/puzzle/example.jpg diff --git a/examples/widgets/itemviews/puzzle/puzzle.py b/examples/widgets/itemviews/puzzle/puzzle.py new file mode 100755 index 0000000..4f8e74d --- /dev/null +++ b/examples/widgets/itemviews/puzzle/puzzle.py @@ -0,0 +1,410 @@ +#!/usr/bin/env python + +############################################################################ +# +# Copyright (C) 2004-2005 Trolltech AS. All rights reserved. +# +# This file is part of the example classes of the Qt Toolkit. +# +# This file may be used under the terms of the GNU General Public +# License version 2.0 as published by the Free Software Foundation +# and appearing in the file LICENSE.GPL included in the packaging of +# self file. Please review the following information to ensure GNU +# General Public Licensing requirements will be met: +# http://www.trolltech.com/products/qt/opensource.html +# +# If you are unsure which license is appropriate for your use, please +# review the following information: +# http://www.trolltech.com/products/qt/licensing.html or contact the +# sales department at sales@trolltech.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +# +############################################################################ + +import random +from PySide2 import QtCore, QtGui + +import puzzle_rc + + +class PuzzleWidget(QtGui.QWidget): + + puzzleCompleted = QtCore.Signal() + + def __init__(self, parent=None): + super(PuzzleWidget, self).__init__(parent) + + self.piecePixmaps = [] + self.pieceRects = [] + self.pieceLocations = [] + self.highlightedRect = QtCore.QRect() + self.inPlace = 0 + + self.setAcceptDrops(True) + self.setMinimumSize(400, 400) + self.setMaximumSize(400, 400) + + def clear(self): + self.pieceLocations = [] + self.piecePixmaps = [] + self.pieceRects = [] + self.highlightedRect = QtCore.QRect() + self.inPlace = 0 + self.update() + + def dragEnterEvent(self, event): + if event.mimeData().hasFormat('image/x-puzzle-piece'): + event.accept() + else: + event.ignore() + + def dragLeaveEvent(self, event): + updateRect = self.highlightedRect + self.highlightedRect = QtCore.QRect() + self.update(updateRect) + event.accept() + + def dragMoveEvent(self, event): + updateRect = self.highlightedRect.unite(self.targetSquare(event.pos())) + + if event.mimeData().hasFormat('image/x-puzzle-piece') and self.findPiece(self.targetSquare(event.pos())) == -1: + self.highlightedRect = self.targetSquare(event.pos()) + event.setDropAction(QtCore.Qt.MoveAction) + event.accept() + else: + self.highlightedRect = QtCore.QRect() + event.ignore() + + self.update(updateRect) + + def dropEvent(self, event): + if event.mimeData().hasFormat('image/x-puzzle-piece') and self.findPiece(self.targetSquare(event.pos())) == -1: + pieceData = event.mimeData().data('image/x-puzzle-piece') + stream = QtCore.QDataStream(pieceData, QtCore.QIODevice.ReadOnly) + square = self.targetSquare(event.pos()) + pixmap = QtGui.QPixmap() + location = QtCore.QPoint() + stream >> pixmap >> location + + self.pieceLocations.append(location) + self.piecePixmaps.append(pixmap) + self.pieceRects.append(square) + + self.hightlightedRect = QtCore.QRect() + self.update(square) + + event.setDropAction(QtCore.Qt.MoveAction) + event.accept() + + if location == QtCore.QPoint(square.x() / 80, square.y() / 80): + self.inPlace += 1 + if self.inPlace == 25: + self.puzzleCompleted.emit() + else: + self.highlightedRect = QtCore.QRect() + event.ignore() + + def findPiece(self, pieceRect): + try: + return self.pieceRects.index(pieceRect) + except ValueError: + return -1 + + def mousePressEvent(self, event): + square = self.targetSquare(event.pos()) + found = self.findPiece(square) + + if found == -1: + return + + location = self.pieceLocations[found] + pixmap = self.piecePixmaps[found] + + del self.pieceLocations[found] + del self.piecePixmaps[found] + del self.pieceRects[found] + + if location == QtCore.QPoint(square.x() + 80, square.y() + 80): + self.inPlace -= 1 + + self.update(square) + + itemData = QtCore.QByteArray() + dataStream = QtCore.QDataStream(itemData, QtCore.QIODevice.WriteOnly) + + dataStream << pixmap << location + + mimeData = QtCore.QMimeData() + mimeData.setData('image/x-puzzle-piece', itemData) + + drag = QtGui.QDrag(self) + drag.setMimeData(mimeData) + drag.setHotSpot(event.pos() - square.topLeft()) + drag.setPixmap(pixmap) + + if drag.start(QtCore.Qt.MoveAction) == 0: + self.pieceLocations.insert(found, location) + self.piecePixmaps.insert(found, pixmap) + self.pieceRects.insert(found, square) + self.update(self.targetSquare(event.pos())) + + if location == QtCore.QPoint(square.x() / 80, square.y() / 80): + self.inPlace += 1 + + def paintEvent(self, event): + painter = QtGui.QPainter() + painter.begin(self) + painter.fillRect(event.rect(), QtCore.Qt.white) + + if self.highlightedRect.isValid(): + painter.setBrush(QtGui.QColor("#ffcccc")) + painter.setPen(QtCore.Qt.NoPen) + painter.drawRect(self.highlightedRect.adjusted(0, 0, -1, -1)) + + for i, pieceRect in enumerate(self.pieceRects): + painter.drawPixmap(pieceRect, self.piecePixmaps[i]) + + painter.end() + + def targetSquare(self, position): + return QtCore.QRect(position.x() // 80 * 80, position.y() // 80 * 80, 80, 80) + + +class PiecesModel(QtCore.QAbstractListModel): + def __init__(self, parent=None): + super(PiecesModel, self).__init__(parent) + + self.locations = [] + self.pixmaps = [] + + def data(self, index, role=QtCore.Qt.DisplayRole): + if not index.isValid(): + return None + + if role == QtCore.Qt.DecorationRole: + return QtGui.QIcon(self.pixmaps[index.row()].scaled( + 60, 60, QtCore.Qt.KeepAspectRatio, + QtCore.Qt.SmoothTransformation)) + + if role == QtCore.Qt.UserRole: + return self.pixmaps[index.row()] + + if role == QtCore.Qt.UserRole + 1: + return self.locations[index.row()] + + return None + + def addPiece(self, pixmap, location): + if random.random() < 0.5: + row = 0 + else: + row = len(self.pixmaps) + + self.beginInsertRows(QtCore.QModelIndex(), row, row) + self.pixmaps.insert(row, pixmap) + self.locations.insert(row, location) + self.endInsertRows() + + def flags(self,index): + if index.isValid(): + return (QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable | + QtCore.Qt.ItemIsDragEnabled) + + return QtCore.Qt.ItemIsDropEnabled + + def removeRows(self,row, count, parent): + if parent.isValid(): + return False + + if row >= len(self.pixmaps) or row + count <= 0: + return False + + beginRow = max(0, row) + endRow = min(row + count - 1, len(self.pixmaps) - 1) + + self.beginRemoveRows(parent, beginRow, endRow) + + del self.pixmaps[beginRow:endRow + 1] + del self.locations[beginRow:endRow + 1] + + self.endRemoveRows() + return True + + def mimeTypes(self): + return ['image/x-puzzle-piece'] + + def mimeData(self, indexes): + mimeData = QtCore.QMimeData() + encodedData = QtCore.QByteArray() + + stream = QtCore.QDataStream(encodedData, QtCore.QIODevice.WriteOnly) + + for index in indexes: + if index.isValid(): + pixmap = QtGui.QPixmap(self.data(index, QtCore.Qt.UserRole)) + location = self.data(index, QtCore.Qt.UserRole + 1) + stream << pixmap << location + + mimeData.setData('image/x-puzzle-piece', encodedData) + return mimeData + + def dropMimeData(self, data, action, row, column, parent): + if not data.hasFormat('image/x-puzzle-piece'): + return False + + if action == QtCore.Qt.IgnoreAction: + return True + + if column > 0: + return False + + if not parent.isValid(): + if row < 0: + endRow = len(self.pixmaps) + else: + endRow = min(row, len(self.pixmaps)) + else: + endRow = parent.row() + + encodedData = data.data('image/x-puzzle-piece') + stream = QtCore.QDataStream(encodedData, QtCore.QIODevice.ReadOnly) + + while not stream.atEnd(): + pixmap = QtGui.QPixmap() + location = QtCore.QPoint() + stream >> pixmap >> location + + self.beginInsertRows(QtCore.QModelIndex(), endRow, endRow) + self.pixmaps.insert(endRow, pixmap) + self.locations.insert(endRow, location) + self.endInsertRows() + + endRow += 1 + + return True + + def rowCount(self, parent): + if parent.isValid(): + return 0 + else: + return len(self.pixmaps) + + def supportedDropActions(self): + return QtCore.Qt.CopyAction | QtCore.Qt.MoveAction + + def addPieces(self, pixmap): + self.beginRemoveRows(QtCore.QModelIndex(), 0, 24) + self.pixmaps = [] + self.locations = [] + self.endRemoveRows() + + for y in range(5): + for x in range(5): + pieceImage = pixmap.copy(x*80, y*80, 80, 80) + self.addPiece(pieceImage, QtCore.QPoint(x, y)) + + +class MainWindow(QtGui.QMainWindow): + def __init__(self, parent=None): + super(MainWindow, self).__init__(parent) + + self.puzzleImage = QtGui.QPixmap() + + self.setupMenus() + self.setupWidgets() + + self.setSizePolicy(QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, + QtGui.QSizePolicy.Fixed)) + self.setWindowTitle("Puzzle") + + def openImage(self, path=None): + if not path: + path = QtGui.QFileDialog.getOpenFileName(self, "Open Image", '', + "Image Files (*.png *.jpg *.bmp)") + + if path: + newImage = QtGui.QPixmap() + if not newImage.load(path): + QtGui.QMessageBox.warning(self, "Open Image", + "The image file could not be loaded.", + QtGui.QMessageBox.Cancel) + return + + self.puzzleImage = newImage + self.setupPuzzle() + + def setCompleted(self): + QtGui.QMessageBox.information(self, "Puzzle Completed", + "Congratulations! You have completed the puzzle!\nClick OK " + "to start again.", + QtGui.QMessageBox.Ok) + + self.setupPuzzle() + + def setupPuzzle(self): + size = min(self.puzzleImage.width(), self.puzzleImage.height()) + self.puzzleImage = self.puzzleImage.copy((self.puzzleImage.width()-size)/2, + (self.puzzleImage.height() - size)/2, size, size).scaled(400, + 400, QtCore.Qt.IgnoreAspectRatio, + QtCore.Qt.SmoothTransformation) + + random.seed(QtGui.QCursor.pos().x() ^ QtGui.QCursor.pos().y()) + + self.model.addPieces(self.puzzleImage) + self.puzzleWidget.clear() + + def setupMenus(self): + fileMenu = self.menuBar().addMenu("&File") + + openAction = fileMenu.addAction("&Open...") + openAction.setShortcut("Ctrl+O") + + exitAction = fileMenu.addAction("E&xit") + exitAction.setShortcut("Ctrl+Q") + + gameMenu = self.menuBar().addMenu("&Game") + + restartAction = gameMenu.addAction("&Restart") + + openAction.triggered.connect(self.openImage) + exitAction.triggered.connect(QtGui.qApp.quit) + restartAction.triggered.connect(self.setupPuzzle) + + def setupWidgets(self): + frame = QtGui.QFrame() + frameLayout = QtGui.QHBoxLayout(frame) + + self.piecesList = QtGui.QListView() + self.piecesList.setDragEnabled(True) + self.piecesList.setViewMode(QtGui.QListView.IconMode) + self.piecesList.setIconSize(QtCore.QSize(60,60)) + self.piecesList.setGridSize(QtCore.QSize(80,80)) + self.piecesList.setSpacing(10) + self.piecesList.setMovement(QtGui.QListView.Snap) + self.piecesList.setAcceptDrops(True) + self.piecesList.setDropIndicatorShown(True) + + self.model = PiecesModel(self) + self.piecesList.setModel(self.model) + + self.puzzleWidget = PuzzleWidget() + + self.puzzleWidget.puzzleCompleted.connect(self.setCompleted, + QtCore.Qt.QueuedConnection) + + frameLayout.addWidget(self.piecesList) + frameLayout.addWidget(self.puzzleWidget) + self.setCentralWidget(frame) + + +if __name__ == '__main__': + + import sys + + app = QtGui.QApplication(sys.argv) + window = MainWindow() + window.openImage(':/images/example.jpg') + window.show() + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/puzzle/puzzle.qrc b/examples/widgets/itemviews/puzzle/puzzle.qrc new file mode 100644 index 0000000..4076cec --- /dev/null +++ b/examples/widgets/itemviews/puzzle/puzzle.qrc @@ -0,0 +1,5 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource prefix="/images"> + <file>example.jpg</file> +</qresource> +</RCC> diff --git a/examples/widgets/itemviews/puzzle/puzzle_rc.py b/examples/widgets/itemviews/puzzle/puzzle_rc.py new file mode 100644 index 0000000..8e7e0e2 --- /dev/null +++ b/examples/widgets/itemviews/puzzle/puzzle_rc.py @@ -0,0 +1,2065 @@ +############################################################################# +## +## Copyright (C) 2013 Riverbank Computing Limited. +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +# Resource object code +# +# Created: Mon Jan 2 22:24:15 2006 +# by: The Resource Compiler for PyQt (Qt v4.1.0) +# +# WARNING! All changes made in this file will be lost! + +from PySide2 import QtCore + +qt_resource_data = b"\ +\x00\x00\x7c\x1a\ +\xff\ +\xd8\xff\xe0\x00\x10\x4a\x46\x49\x46\x00\x01\x01\x01\x00\x48\x00\ +\x48\x00\x00\xff\xdb\x00\x43\x00\x08\x06\x06\x07\x06\x05\x08\x07\ +\x07\x07\x09\x09\x08\x0a\x0c\x14\x0d\x0c\x0b\x0b\x0c\x19\x12\x13\ +\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c\x20\x24\x2e\x27\x20\x22\ +\x2c\x23\x1c\x1c\x28\x37\x29\x2c\x30\x31\x34\x34\x34\x1f\x27\x39\ +\x3d\x38\x32\x3c\x2e\x33\x34\x32\xff\xdb\x00\x43\x01\x09\x09\x09\ +\x0c\x0b\x0c\x18\x0d\x0d\x18\x32\x21\x1c\x21\x32\x32\x32\x32\x32\ +\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\ +\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\ +\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\x32\xff\xc0\x00\ +\x11\x08\x01\xa8\x01\xa8\x03\x01\x22\x00\x02\x11\x01\x03\x11\x01\ +\xff\xc4\x00\x1c\x00\x00\x01\x04\x03\x01\x00\x00\x00\x00\x00\x00\ +\x00\x00\x00\x00\x00\x00\x03\x04\x05\x06\x01\x02\x07\x08\xff\xc4\ +\x00\x52\x10\x00\x02\x01\x03\x03\x02\x03\x05\x04\x05\x08\x06\x07\ +\x07\x04\x03\x01\x02\x03\x00\x04\x11\x05\x12\x21\x06\x31\x13\x41\ +\x51\x07\x22\x32\x61\x71\x14\x42\x81\x91\x15\x23\xa1\xb1\xd1\x16\ +\x33\x35\x52\x62\x82\xb2\xc1\x24\x54\x72\x92\x93\xd2\x17\x34\x63\ +\x73\x74\x94\xe1\x25\x36\x37\x43\x53\xc2\xf0\x55\x56\x83\x84\x26\ +\x44\xa2\xff\xc4\x00\x1a\x01\x00\x03\x01\x01\x01\x01\x00\x00\x00\ +\x00\x00\x00\x00\x00\x00\x00\x00\x01\x03\x02\x04\x06\x05\xff\xc4\ +\x00\x33\x11\x00\x02\x02\x02\x01\x03\x03\x02\x03\x08\x02\x03\x01\ +\x00\x00\x00\x00\x01\x02\x11\x03\x21\x12\x04\x31\x41\x13\x22\x51\ +\x14\x61\x32\x71\xa1\x23\x42\x52\x91\xb1\xc1\xd1\xf0\x05\x33\x81\ +\xe1\xf1\x15\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00\x3f\ +\x00\xef\xf4\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x57\ +\x3c\xfd\x25\x7d\xfe\xbb\x73\xff\x00\x15\xbf\x8d\x1f\xa4\xaf\xbf\ +\xd7\x6e\x7f\xe2\xb7\xf1\xaf\x8b\xff\x00\xed\x63\xfe\x16\x67\x91\ +\xd0\xe8\xae\x79\xfa\x4a\xfb\xfd\x76\xe7\xfe\x2b\x7f\x1a\x5e\xcf\ +\x52\xbc\x17\x0b\xbe\xee\x76\x1d\xb0\x64\x27\xfc\xe9\xc3\xfe\x66\ +\x12\x92\x8f\x17\xb1\xc5\xf2\x74\x5f\x28\xaa\xbd\xd5\xcd\xca\xbc\ +\x4c\x2e\x25\x00\xb7\x20\x39\xa9\x0d\x3a\x69\x64\x9e\x40\xf2\xbb\ +\x0e\x38\x2c\x4d\x7d\x08\xf5\x2a\x52\xe3\x45\x1c\x1a\x56\x4c\x51\ +\x51\xb2\xcc\xe2\x67\xc3\xb0\x08\xbc\x8c\xd3\x18\x2e\x67\x60\xce\ +\xd3\x49\x82\xdc\x7b\xc6\x9c\xba\x85\x17\x54\x25\x1b\x2c\x14\x55\ +\x59\xaf\x26\xf1\xa5\x66\xb8\x98\x05\xec\xa1\xce\x29\x55\xba\xbc\ +\x8d\x03\xbf\x8b\xb0\xf3\xf1\x93\x58\x5d\x5a\x7e\x0d\x3c\x6d\x16\ +\x4a\x2a\xb8\xb7\x53\x4d\x32\x22\xcf\x28\x03\x96\xc3\x9a\xde\xe6\ +\x69\x53\x12\xc7\x73\x29\x51\xf1\x0d\xe6\x9f\xd5\x46\xbb\x0b\x86\ +\xcb\x05\x15\x5d\x8a\xfe\x43\x2a\x93\x24\x85\x33\x8c\xee\x38\xe6\ +\x91\xd5\x65\xbb\x86\x64\x96\x3b\x99\x84\x6d\xc1\x01\xc8\x14\xa5\ +\xd5\xa4\xae\x87\x1c\x76\xe8\xb4\x51\x54\xfb\x0b\xeb\xaf\x1d\x96\ +\x4b\x99\x9b\x77\x23\x73\x93\x8a\x71\x05\xcd\xcb\x3b\xab\x5c\x4b\ +\xc3\x81\xf1\x9a\xcc\x7a\xd8\xca\xa9\x77\x1b\xc4\xd3\xd9\x68\xa2\ +\x98\x5d\x4a\xea\xd1\xaa\xbb\x01\x8c\x92\x0d\x45\x49\x34\xd2\xc5\ +\x23\x9b\x99\xd0\x1c\xe3\x6b\x91\x8a\xac\xfa\x85\x1f\x06\x63\x0b\ +\x2c\x94\x55\x46\x23\x74\x36\x99\x2f\xaf\x1c\x91\x92\x15\xcf\xf1\ +\xa7\x82\xea\x67\xda\x90\xcf\x21\xcf\x1f\x19\x24\x0f\x53\x9a\xc4\ +\x7a\xb4\xfc\x1a\x78\x9a\xf2\x58\xa8\xaa\xf3\xcf\x3c\x12\x04\x7b\ +\x99\x19\x4f\x21\xb7\x9e\x4d\x23\x2c\x93\xb3\x6f\xf1\xae\x96\x33\ +\xc6\xe1\x2b\x0f\xf3\xa1\xf5\x69\x78\x17\xa6\x59\xe8\xaa\xd5\xb4\ +\xf3\x1b\x62\xa6\x79\xd9\xc1\x23\x26\x53\x9a\x7f\x69\x73\x24\x8b\ +\x13\x17\x63\xce\x08\xcf\x7a\xd4\x3a\x95\x27\x54\x65\xc6\x89\x6a\ +\x2a\x1b\x50\x9e\x44\x9a\x50\xb2\xba\x80\xa0\x0c\x31\x1c\xd3\x1b\ +\xab\xcb\x85\x8e\x38\xd6\x79\x43\x9e\xe4\x39\xcf\x14\x4f\xa9\x8c\ +\x5b\x4d\x0d\x41\xbe\xc5\x9e\x8a\xae\x58\x49\x75\x71\x74\x09\xb8\ +\x97\xc3\x8f\x93\xef\x9e\x4d\x38\x96\xe2\x59\x6e\x55\x22\x95\xc2\ +\x83\x8c\x86\x3c\xd2\x8f\x54\xa4\xae\x82\x50\xa7\x44\xdd\x15\x09\ +\xaa\x5e\x4a\x5d\x2c\xed\x5d\xfc\x5f\x3d\xac\x41\xe3\xe7\x4d\xb4\ +\xcb\xdb\x9b\x7b\xa7\xb2\xbf\x69\x03\x3f\xc2\xce\xe5\xb0\x4f\xcf\ +\xd2\xb4\xfa\x98\xa9\x71\x7f\xcc\x38\x6a\xcb\x25\x15\x0a\x26\x9e\ +\x1b\x86\xdd\x23\xb2\x8e\x18\x16\x3d\xbe\x54\x9e\xa2\xd7\x08\x52\ +\x78\xae\x25\xd9\xd9\x82\xb9\xc0\x14\x4b\xa8\x4b\xc0\x28\x5b\x27\ +\xa8\xaa\xe5\xa5\xdc\xfe\x23\xc7\x25\xc3\x90\xdc\xa9\x2c\x7b\xd3\ +\xcb\x19\xe5\x32\xaa\xc9\x23\x9c\x0d\xa7\x2c\x4f\x34\xa3\xd4\xa9\ +\x78\x09\x41\xa2\x5e\x8a\x8c\xbb\x9a\x55\x47\x0a\xec\x08\x61\xd8\ +\xd3\x79\xae\x27\x67\x11\x24\x8e\x08\xe5\x88\x63\x4e\x5d\x42\x4e\ +\xa8\x51\x8b\x64\xdd\x15\x0d\x0d\xc4\x9e\x0c\xa1\xda\x42\x55\xbd\ +\xec\x39\xc8\x1f\x2a\xca\x49\x2a\x21\x61\x70\xee\x24\x6c\x29\x24\ +\x9c\x0a\x3e\xa1\x77\xa0\xe3\xe0\x98\xa2\xa2\x8b\xca\xc1\x26\x32\ +\x4b\x8d\xb8\xf0\xd4\xe3\x27\xd7\xbd\x62\x7b\xd0\x24\x8d\x4d\xcc\ +\x69\xee\xfb\xc3\xc5\x03\xfc\xe8\x5d\x42\x7e\x07\xc1\x92\xd4\x54\ +\x2c\x17\xab\x96\x8d\xaf\x63\x63\xe4\x7c\x61\xfc\x69\xfd\xbb\x39\ +\x8e\x32\x4b\x63\x19\x2c\x4e\x73\xfb\x6b\x51\xcb\xc9\xf6\x13\x8d\ +\x0e\xe8\xa8\x89\xae\x1c\xca\x31\x2b\xaa\xee\xc9\xc3\x1e\xd4\xc9\ +\xaf\x6e\x64\x94\x98\xe4\x93\x2d\xc2\x28\x63\xda\xb1\x2e\xa6\x2b\ +\xc0\xd4\x2d\x59\x64\xa2\xa3\x56\x47\xb6\xb7\x11\xb4\xaf\x24\xc7\ +\xb9\x2c\x4e\x2b\x44\x99\xe3\xdd\x24\x92\xbe\xc8\x97\x73\x65\x8f\ +\x9f\x95\x6b\xd7\x5f\x02\xe2\x4a\xd1\x50\xba\x5b\xdc\xdc\x5c\xbc\ +\xf3\x3c\xa1\x0a\xfb\xaa\x58\xed\xfc\xab\x5b\xa7\xbb\xb3\xba\x69\ +\xcb\xbb\x41\xbb\x38\x2e\x7b\x7d\x28\xf5\xfd\xaa\x55\xa1\xf0\xdd\ +\x13\x94\x54\x64\xad\x20\x72\x04\xaf\xb5\x97\x72\x9d\xc7\xf2\xac\ +\x34\xaf\x34\x66\x16\x95\xe2\x93\xc9\x95\x88\xa3\xd7\x4b\xc0\xb8\ +\x92\x94\x55\x6a\x5b\xab\xcb\x59\x87\x89\x24\x84\xaf\x04\x6e\x38\ +\x22\x9d\x5b\x5e\xb3\x4a\xbb\x64\x92\x40\x79\x03\x71\x3f\x9d\x65\ +\x75\x29\xba\xa1\xb8\x52\xb2\x6e\x8a\x69\x2a\x5c\x3e\x7c\x37\x2b\ +\xef\x67\xbf\x95\x15\x47\x96\x9f\x63\x34\x73\xda\x28\xa2\xbc\x41\ +\x10\xa5\xa0\x5c\xbb\x63\xc8\x64\x52\x34\xee\xc6\xdd\xee\x65\x65\ +\x8d\xb0\x55\x77\x7d\x79\x1c\x56\xf0\xff\x00\xda\x8d\x63\x7e\xf4\ +\x49\x09\x45\xcd\x9f\xf6\xd2\x9f\xe9\x92\x85\xb9\x4e\x78\x75\xc1\ +\xfa\xd4\x0f\x8a\xf6\xd3\x96\x64\x2b\xfd\x64\x3e\x74\xfa\xca\x46\ +\x96\x60\x96\xea\x5b\x3c\x8f\x91\xfa\xd7\xde\xc3\x93\xde\xbe\x4e\ +\xec\x91\xd1\x35\x74\x08\x92\x7c\x0c\x65\x6a\x38\xca\x22\xb4\x56\ +\xef\xe5\x8f\x9d\x4b\xb5\xac\xb3\x30\x69\x1b\x19\x5c\x10\x29\x07\ +\xd1\x23\x68\xf6\xf8\xaf\xdf\x3d\xeb\xb3\x26\x19\xb7\x68\x8a\x92\ +\x48\x89\xf0\xf6\x44\xc5\x8e\x5d\xbb\xe6\x9e\x24\xcc\x6c\x92\x54\ +\x1b\xb6\x7c\x4b\xeb\x5b\x49\xa4\xce\xae\xa7\x71\x92\x21\xdc\x67\ +\x93\x59\x63\xf6\x78\xc1\x82\x3f\x77\xcd\x48\xe6\xa1\xc2\x51\xee\ +\x69\xcd\x31\x0d\x91\xa4\x2f\x2c\x39\x0d\x27\xdd\x3e\x54\x42\x9e\ +\xf3\xc3\x20\xc2\x32\xd3\x88\xe1\xf1\xd3\x79\x52\x0a\xf6\xf9\xd6\ +\xe9\x6f\xe3\x96\x7f\x25\xfd\xb5\xbf\x4b\x62\xe5\xa1\x91\x39\x43\ +\x12\x26\x21\x4e\xe7\xe7\x4a\x80\x97\x76\xad\x6b\x31\xc4\x9f\x74\ +\x9a\x56\x04\x79\x65\x78\x9d\x02\xc6\xca\x79\x27\xce\x9b\xec\x05\ +\x88\x7c\xac\x8b\xe7\xe7\x49\xc6\x93\x19\x12\x03\xdb\xcd\x82\x31\ +\x24\x7e\xbf\x78\x53\xe4\x91\x5a\x51\x22\x9f\x75\xd7\x77\xe2\x2b\ +\x79\x91\x2e\x00\x17\x0b\xb1\xd4\x61\x65\x1f\xe7\x4d\x2d\xac\x6f\ +\x0d\xea\xdb\x46\xca\xd1\x77\x2e\x3b\x2d\x73\x28\xb5\x24\xa2\x8a\ +\x49\xa9\x2d\x96\x1b\x97\x0c\x88\xea\x41\x06\x32\x2a\x21\xe5\xcc\ +\x69\x0a\xb6\x37\x77\x38\xa9\xf8\x2c\x62\x86\x24\x56\xf7\xf6\xff\ +\x00\x5b\x9a\xdd\xac\x6d\x9b\x93\x02\x8c\x7c\x85\x7d\x09\xe0\x94\ +\xf6\x73\xc6\x49\x10\x76\x8d\xb6\xe3\x62\x70\xac\x98\x0d\xdf\x15\ +\x92\x00\x67\x76\x4d\x93\xe3\x67\x6e\x0f\xce\xa4\x4e\x9c\x90\xa3\ +\x08\x01\x0b\xf7\x97\xcf\xf0\x34\x8d\xb4\x04\xef\x49\x1c\xb9\x03\ +\x20\x13\xc8\xa9\x2c\x2d\x3d\x9b\x73\xb1\x90\x8c\x18\xcc\x6e\x0b\ +\x94\x39\x45\xad\xa7\xf1\x44\x50\x86\x0c\xdf\x79\xf0\x38\x14\xf4\ +\xc6\xa6\xcc\xb1\x38\x66\x38\x15\xbd\xa5\x9e\xe8\x80\x6d\xc1\x5b\ +\xbe\x7b\xb5\x1e\x9b\x7a\x46\x79\x10\xd1\xb0\x59\xd1\xe2\x57\x65\ +\x73\x96\x00\x70\x2a\x4a\xc7\x31\xed\x0c\x18\x0d\xe4\xf2\x3b\x54\ +\xb4\x50\xc5\x10\xda\x88\xa3\xe8\x31\x5b\x10\x0f\x70\x0d\x57\x1f\ +\x4f\xc7\x76\x29\x4a\xca\xdd\xdd\xc2\x4b\x2b\x39\x6f\x77\x76\x58\ +\x7c\x87\x6a\x66\x82\x5b\xdb\x92\x63\x07\x2d\xc0\x07\xee\x8a\x96\ +\xd5\x74\x84\x91\x3c\x78\x73\x1e\xd3\x97\x44\xfb\xf4\xde\x30\x04\ +\x41\x60\x06\x28\xdb\xb9\xf3\x6a\xe5\xcb\x8e\x5e\xa6\xcb\x41\xae\ +\x1a\x16\xdc\xb6\xf1\x0b\x6b\x6e\x5b\xef\xbf\xad\x6f\x19\x10\x45\ +\x24\xd8\x1b\x21\x5c\xfd\x5a\x92\x55\x54\x50\xa8\x09\xcf\x00\x79\ +\xd2\xd7\xac\xb6\x96\x62\xd5\xa3\x2f\xe2\xa9\x25\xb3\x8e\x6a\x91\ +\xed\x7f\x04\xfe\xc6\x9a\x35\xb3\xb4\xed\x76\xec\xac\x5d\x7e\x1c\ +\xf2\xb4\x9e\xb9\x14\x3b\xd6\x63\x36\x25\x03\xdd\x41\xe7\xf3\xa6\ +\xea\xaf\x62\x9e\x32\x48\xb9\x91\x76\x80\xbe\x5f\x33\x4d\x63\x92\ +\x2b\x85\x0d\x73\x72\xdb\xd1\x30\x84\x0f\x88\x52\x79\x17\x0e\x14\ +\x53\x8b\xe5\xc8\x99\x42\xd3\x59\x41\x72\x47\xc4\xbb\x5f\xf8\xd6\ +\x41\x31\xa1\x04\x6e\x85\xbe\x25\xac\x69\x32\xbc\xea\xf6\xec\x07\ +\x84\xb1\xe0\x01\x4a\x14\x68\x24\xf0\x9b\xcb\xe1\x6f\x5a\xab\x5c\ +\xa2\xa4\x89\x6d\x4a\x88\xe9\xed\x0a\x0d\xf0\x12\xd1\x03\x90\x7e\ +\xf2\x56\xf6\x72\xc9\x75\x21\x10\xa1\xf1\x07\xc4\x4f\x00\x1f\x5a\ +\x79\xb0\x72\xeb\xee\xb1\xef\x8e\x29\xfd\x9d\xba\xc1\x0e\x70\x03\ +\xb7\x2c\x71\xde\xa7\x8f\x0b\x94\xf4\x6a\x52\xa8\xec\xd5\xec\xfc\ +\x60\x7c\x49\x08\x2d\xe4\xb4\x93\x69\x9c\xbb\x45\x3b\xab\xbf\x72\ +\x46\x69\xec\x92\xac\x51\x97\x91\xd5\x14\x77\x66\x38\x15\xcd\x7a\ +\xaf\xda\x64\x16\xc6\x4b\x4d\x36\x65\x8f\x1c\x35\xc1\xff\x00\x2a\ +\xec\x9a\xc7\x1f\xc4\x2c\x71\x9c\xdf\xb4\xb2\xea\xda\xee\x95\xd3\ +\x31\x13\x79\x3a\x0b\x82\xbc\x46\xbe\xf3\xc9\xf4\x15\xcd\xf5\xaf\ +\x6a\x7a\xc5\xcc\xc6\x2e\x9f\xd3\x96\xdf\xc8\x4b\x28\xf1\x1c\x8f\ +\xf6\x7b\x0a\xa9\xdc\x6b\xc9\x3f\x8b\x26\x1a\x47\x7e\xf2\xc9\xcb\ +\x37\xd3\xd7\xf1\xa8\xe9\xf5\x19\xfc\x22\x5e\x5f\x0d\x49\xc1\xcf\ +\x73\x5c\x71\x6d\xbd\x76\x3b\x16\x18\xc5\x6f\x6c\xc6\xaf\x7f\xd5\ +\x7a\x8b\xb4\x9a\x9e\xb1\x75\x87\xe4\x03\x2e\xc0\x47\xfb\x23\xb5\ +\x56\xae\x34\xcb\xb7\x63\xba\x69\x5b\x1d\xcb\xc8\x79\xab\x0b\xde\ +\xc1\x9d\xe7\x8d\xa3\x93\x21\xcb\x63\xe6\x4d\x34\xba\xd5\x2c\x26\ +\x1e\x1a\x99\x26\x6e\xdf\xab\x42\xcb\x8f\x96\x6a\xc9\xc8\x52\x8a\ +\x65\x6d\xec\xe6\x80\x67\xc6\x65\x3e\xaa\xe6\xa5\x74\x8e\xb3\xea\ +\x4d\x01\xc3\x58\xeb\x77\x71\xa8\xe3\x63\x3e\xf5\xff\x00\x75\xb8\ +\xa4\xae\x98\x4f\xcc\x42\xe2\x11\xe8\x7b\xd3\x0f\xd1\xd2\xbb\x64\ +\x16\x2b\xfd\x6d\xa7\x35\x54\xe2\xd6\xc8\xcb\x1c\xbc\x23\xab\xe8\ +\x7e\xdc\xa5\x3e\x1c\x1d\x41\x62\x19\x1d\xb0\xd7\x36\xc3\x6b\x63\ +\xfd\x9e\xc7\xf0\xae\xc1\xa1\x6a\xfa\x4e\xaf\x6a\xb7\x3a\x35\xec\ +\x17\xbb\x97\x26\x44\x60\x0a\x7d\x54\xf2\xb5\xe4\x26\xb2\x92\x06\ +\xdb\xcf\xa1\x23\x38\x34\xf2\xc7\x50\xbe\xd1\x2f\x56\xef\x4e\xba\ +\x9a\xd2\xe1\x4e\x43\xc6\xd8\xcf\xc8\xd4\xe5\x86\x2f\x68\xc3\xb6\ +\xa9\x9e\xc4\xc0\x42\x5c\xe4\xb1\xe4\xb1\xf5\xac\xde\x2c\x62\xc2\ +\x48\x1c\xed\x96\x55\xdd\x83\xfb\xab\x8e\x74\x5f\xb7\x08\xe4\x96\ +\x3b\x5e\xaa\x8c\x28\x1c\x0b\xe8\x97\x03\x3f\xdb\x5f\x2a\xea\x97\ +\xba\x85\x96\xa9\x05\xbd\xdd\x8d\xcc\x57\x30\xb6\x40\x68\xc8\x20\ +\xd6\x64\xb8\x45\xb6\x66\x9d\xd0\xad\x95\xdd\xc5\xa2\x1f\x1d\x5f\ +\xc1\xdb\xee\x06\x1c\xe6\xb4\xb9\x12\xdd\x34\x97\x3c\xf8\x38\x00\ +\x82\xdf\x0f\xe1\x48\x62\x79\xd9\x22\x76\x39\x27\xdd\x19\xf8\x7e\ +\x75\x92\x92\x6d\x93\x04\x8f\x0f\xdd\x6c\x9e\x09\xae\x6f\x51\xf1\ +\xe3\xe0\xa7\x1f\x3e\x49\x88\x5d\x2f\x2d\xb6\xc4\x08\x31\x60\x02\ +\x6b\x47\x02\x45\x1b\x87\x6e\xe3\xd2\x91\xd3\xae\xa3\xb7\x89\xd2\ +\x76\xda\xc5\xb3\x9c\x53\xd9\xa3\x0e\x3c\x68\x7d\xe0\x7b\xe3\xce\ +\xba\xa3\x53\x8a\x7e\x49\x3d\x3d\x8d\x64\x5c\x46\x15\x94\x4b\x18\ +\xec\xae\x39\xa7\x1a\x75\x8c\x76\xb1\xef\x03\xdf\x7e\x49\x3d\xc7\ +\xca\x92\x66\xf7\x47\xed\xa9\x22\x40\x19\x27\x81\x5a\xc3\x08\xb9\ +\x72\x62\x93\xd5\x1b\x51\x4c\x5a\xe6\x66\xe5\x40\x55\xf2\xcf\x39\ +\xa2\xaa\xf2\xc7\xe0\xcf\x16\x50\x68\xa2\x8a\xf1\x24\x42\x9f\x69\ +\x6a\x5a\xe5\xb6\xb1\x07\xc3\xee\x0f\xcc\x53\x1a\x90\xd1\xff\x00\ +\xeb\x6d\xff\x00\x77\xfe\x62\xaf\xd2\x24\xf3\x21\xc3\xf1\x26\x48\ +\xdc\xa1\x98\x2c\x53\x46\x24\x67\x38\x57\x03\xb5\x4e\x69\xba\x7c\ +\x5a\x75\xa8\x8a\x31\xcf\x99\x23\xbd\x30\x80\x78\xb7\xf1\x83\xe4\ +\x73\x53\x95\xea\x3a\x7c\x49\x37\x2a\xd9\xd3\x92\x5f\xba\x14\x53\ +\x59\xef\xa2\x80\xed\x39\x66\xf9\x53\x71\xab\xc4\x0e\x0a\x3e\x3d\ +\x6a\xef\x24\x57\x92\x54\xc9\x2a\x6f\x71\x6c\x24\x05\x97\x86\x3d\ +\xf1\x5b\xc3\x73\x15\xc2\xe6\x36\xcf\xcb\xb5\x29\x9a\xd3\xe2\xc3\ +\xb1\x1f\x6d\x29\x49\x1a\x19\x06\x0f\x95\x65\x1b\xec\xf6\xd2\x17\ +\x1c\xee\xe0\x56\xd7\xf0\x90\x04\xe9\xf1\x27\x24\x8a\x43\xc4\xfb\ +\x6d\xc4\x68\xbf\x00\xf8\xaa\x2f\x4e\x86\xae\x86\xb7\x31\xb8\x8a\ +\xda\x46\x62\xbb\xa7\x50\x40\x3f\x22\x69\xf6\xa1\x6d\xbf\xf5\xf1\ +\x0c\xb2\xf0\xc3\xd4\x53\x7e\xa1\x22\x2b\x08\x8f\x20\x89\x86\x36\ +\xf1\x8e\x0d\x27\xa1\x49\x7b\x33\x48\x65\x93\x7c\x03\x80\x1b\xbe\ +\x7f\x85\x4f\x92\x53\xf4\xda\xee\x52\x9f\x15\x23\x41\xb5\x86\x3c\ +\x8d\x3e\xd2\x21\x54\x81\xe5\xc0\xcb\x9c\x7d\x2b\x4b\xbb\x13\x1b\ +\xf8\xd0\x8c\xa7\xde\x51\xfe\x55\xb6\x95\x32\x94\x92\x1c\xfb\xca\ +\xd9\x00\xf1\x4f\x1c\x38\x4f\x62\x93\xb8\xe8\x7d\x2c\xf1\x40\xbe\ +\xfb\x63\xe5\x49\x2d\xfd\xb3\xb6\x37\xed\x3f\x31\xc5\x46\x48\xe6\ +\x49\xdd\x9b\xb8\x63\xc1\xad\x1c\x21\x3b\x49\xce\x7d\x69\xcb\x3b\ +\xbd\x07\x04\x4f\x83\x91\xc3\x03\x9f\x31\x4c\xaf\xa3\x31\x9f\xb4\ +\xa0\xf7\x97\xb8\x1e\x62\x9b\xe9\xf7\x0d\x14\xcb\x03\x92\x51\xf9\ +\x5c\x9e\xc6\xa5\x5d\x43\x23\x2e\x3b\x8c\x55\x94\xb9\xc6\xcc\xb4\ +\xd3\x18\x20\x5b\x9b\x80\xa8\x07\x84\x9c\xfd\x4d\x48\x53\x2d\x2d\ +\x02\x5b\x70\x00\xf7\x8d\x67\x50\x9d\xe2\x40\x91\x9c\x3b\xf1\xf4\ +\xa5\x17\xc6\x1c\x98\x56\xe8\x26\xd4\x22\x81\xf6\x80\x5d\x8f\x70\ +\x3c\xa9\x38\xf5\x45\xdd\x87\x89\x94\x7a\xe7\x35\x1c\x4a\xc5\xe6\ +\x47\x97\x03\x3c\x7c\xe9\x41\x82\x7b\x8c\x57\x3f\xaf\x2e\xe6\xf8\ +\x22\x6f\xdd\x92\x33\x8e\x43\x2d\x40\x23\x05\x56\xe7\xb3\x1c\x7c\ +\xea\x41\x6e\x3e\xcd\xa7\x26\xed\xc6\x47\xf8\x14\x72\x4e\x6b\x4b\ +\x4d\x3f\x1b\x64\x9c\x00\x07\x65\x27\xf7\xd6\xe6\x9c\xea\x85\x1a\ +\x41\x69\x12\xc4\x9f\x6b\xb8\x3b\x54\x72\xa1\xbc\xa9\x86\xa9\x7b\ +\x1d\xf0\x88\xc0\xae\x4a\xfd\xf2\x31\x53\xb7\x11\xc5\x34\x0e\x92\ +\x05\x75\x23\x95\xcd\x57\x6f\x34\xf7\xb6\xd8\xe0\x96\x8b\xf7\x7d\ +\x6a\x79\xd4\xa3\x1e\x29\x68\xd6\x3a\x6e\xd8\x9c\x70\x65\xe2\x27\ +\xde\x49\x4e\x09\xf4\x23\xc8\xd6\x66\xb5\x11\xdc\x4e\xd8\x0b\x04\ +\x78\x23\x1e\x64\xfa\x53\xfd\x31\x61\x68\x5f\x6b\x12\x03\xe7\x07\ +\xee\x9a\xde\xfd\xa1\x4b\x51\xb9\x15\xbd\xee\x07\xad\x73\x2c\x69\ +\xc5\xb6\x6f\x9b\xba\x23\xf4\xfb\xb6\xb2\x2d\xb3\x63\xab\x79\x13\ +\xda\xa7\x61\x75\xd4\xad\x16\x42\x86\x33\xe5\x9f\x5a\x8b\xb0\xb0\ +\x17\x44\xcf\x30\xf7\x4f\x60\x38\xcd\x4d\x43\x22\xac\x61\x76\x9f\ +\x76\xba\x7a\x66\xea\x9f\x63\x19\x1a\xbd\x77\x18\x30\x65\x0e\x8e\ +\x30\xc3\xf6\xd2\xba\xa6\xb3\x63\xa2\xe9\x32\x6a\x17\xf3\xac\x36\ +\xd1\xae\x4b\x13\xdf\xe4\x3d\x4d\x27\xae\xea\xfa\x7e\x8d\xa4\x5c\ +\x6a\x5a\x94\x8b\x15\xb4\x08\x59\x98\xf7\xcf\xa0\xf9\x9a\xf2\xef\ +\x56\xf5\xf5\xf7\x54\x6a\x46\xe6\xe5\xda\x2b\x24\x27\xec\x96\x61\ +\x8e\x23\x1e\x4c\xc3\xb1\x6f\x9d\x5d\x27\x1b\xe2\x28\x45\x4d\xec\ +\xb6\xf5\x77\xb5\x0b\x8d\x56\x57\x1b\x9e\x1b\x33\x91\x1d\xba\x9e\ +\x48\xf9\xfa\x9a\xe7\x67\x51\x7b\xcb\xa0\xef\x82\x49\xf7\x63\x3d\ +\x80\xf9\xd4\x04\xf7\x4d\x2c\xac\xed\xef\x31\xe3\x1e\x42\x9f\xe9\ +\x56\xd7\x37\xd7\x4b\x6b\x69\x1c\x93\x5c\xc9\xee\x84\x51\xcb\x1f\ +\x4c\xf9\x0a\x5e\x95\x7b\xa5\xdc\xe9\x8e\x5b\x7c\x23\xa4\x4f\x5b\ +\xdd\x88\x72\xd1\xa8\x66\xc7\x2c\x72\x4e\x4f\xf5\x45\x4f\x69\x9d\ +\x11\xd4\x5a\xcb\xa4\xd3\xc7\xfa\x3a\xdc\x9e\x1e\x45\xcc\x87\xe7\ +\x83\xda\xaf\x1d\x1f\xd0\x71\x68\x71\xa5\xcd\xf9\x49\xf5\x0c\x67\ +\x18\xf7\x61\xf9\x27\xcf\xe7\x57\x88\x90\xb1\xdb\xfb\x2a\x29\xfc\ +\x14\x93\x39\xe6\x9f\xec\xa3\x4b\x8d\x83\x5f\x4b\x35\xf4\xde\x6d\ +\x23\x92\x07\xe1\x56\x5b\x6e\x93\xd3\x6d\xe2\x11\xad\xac\x21\x17\ +\xb0\x02\xad\x49\x04\x43\x99\x0a\x81\xf9\x9a\xc9\x68\x0f\x02\x36\ +\xcd\x6b\x8d\xf7\x27\xcd\x95\x87\xe9\x5d\x2e\x44\xc3\x40\x82\xb3\ +\x1f\x4e\x58\x40\xfb\x8d\xb2\x33\x7f\xb2\x31\x56\x57\x48\x9b\xee\ +\x35\x26\x63\x88\x76\x46\xa2\x50\x40\xa7\x25\xe4\xa5\x5e\xf4\x3e\ +\x97\x78\x18\x6d\x08\x1b\xde\xe1\x40\xc5\x56\xef\x7d\x96\x41\x31\ +\x73\x1c\xbe\xff\x00\xef\xae\xaa\xd1\x0f\xea\xd2\x0f\x08\x1d\x90\ +\xfe\x75\x3a\x6b\xb1\xae\x7f\x27\x9c\xf5\xde\x87\xd5\x34\x50\x5b\ +\xc1\x69\x54\x1c\xef\x41\xc5\x4c\x7b\x33\xea\x29\xf4\xce\xa0\x86\ +\xc2\x42\x52\xd6\x6f\x75\x95\x87\xc2\xd5\xda\xe7\xb7\x13\x46\x55\ +\xd4\x48\xa7\xef\x63\xfc\xaa\x81\xad\xf4\x6c\x56\xd7\xeb\xab\x69\ +\x91\x11\x24\x47\x7c\xb0\xf6\xde\xbf\x2f\x9d\x13\x9b\x94\x78\xc8\ +\x70\x8a\xbb\x47\x66\xb0\xb7\xf1\x6d\x11\x9c\x86\xd8\xd9\x89\xc7\ +\xa7\xa5\x6f\x7b\x0c\x69\x0f\x27\x62\x6e\xdc\x40\xee\xd5\x0b\xd2\ +\x5a\xfd\x9e\xab\xa7\x2c\x96\x52\xef\x40\x36\x14\x27\xde\x47\x1d\ +\xc1\x15\x23\x75\x27\xda\x2e\xe3\x8f\x05\x36\x8c\x9f\x95\x62\xe3\ +\xc0\xe4\x69\xa9\xd1\xa5\xb5\xa4\x97\x05\x8e\xe3\xe1\xfc\xcf\xee\ +\xa9\xc8\x56\x38\xa1\x55\x8c\x00\x83\xb0\xa6\x50\x5c\xc6\x90\xb1\ +\x20\x24\x4b\xc2\x9f\x33\x4b\xc1\x27\x8a\x99\xd9\xb5\x07\x62\xd5\ +\x6c\x0d\x40\xcc\xed\xbd\x84\xd6\xa2\x4c\xb4\x64\x06\x3e\x5e\x46\ +\xb5\x12\x33\xc0\xd0\x48\xa5\x24\x0b\xcf\xa1\xfc\x69\x58\xc7\x3b\ +\xfb\x0e\xc0\x67\x14\xb7\xba\x57\xc8\x8a\xe9\x8c\x53\x4e\x8c\xb1\ +\x82\x32\xec\xcf\x7f\x90\xa2\x9e\x08\x62\x5e\x55\x00\x3f\x21\x45\ +\x65\x61\x61\x67\x38\xa2\x8a\x2b\xc5\xbd\x10\x33\x9e\x06\x08\x20\ +\xf6\xf9\xfe\x34\xe6\xc2\x64\x82\xe1\x9d\x98\x28\xdb\x8f\x33\x56\ +\xee\x9f\x00\xe8\xb6\xe4\x8e\x7d\xef\xf1\x1a\x93\xc0\xf4\x15\xf7\ +\x3a\x6f\xf8\xb7\xc6\x39\x54\xbc\x59\xb8\xc6\xb6\x55\xa0\xd5\x2d\ +\x23\xba\x8e\x5f\x1b\xdd\xf3\xe0\xd4\x8c\xfd\x41\xa7\x98\x5b\xc3\ +\x9c\x96\x3d\xb0\x8c\x3f\xca\xa6\x36\xaf\xa0\xa3\x6a\xfa\x0a\xfa\ +\x91\xc3\x96\x29\xa5\x23\x7c\x9d\xd9\x54\x5d\x4a\xd0\x7b\xc6\x6c\ +\x93\xdc\xe0\xf1\x58\x3a\x8d\x99\xef\x28\x3f\x81\xfe\x15\x6d\xda\ +\xbe\x82\xb1\xb4\x7a\x0a\xcb\xe9\x72\x3f\xde\x1f\x26\x54\x93\x53\ +\xb7\x85\xfc\x48\xa7\x03\x1e\x58\x35\x2e\x9d\x43\xa7\x14\x52\xd3\ +\xed\x27\xb8\xd8\xdf\xc2\xa5\xb6\xaf\xa0\xac\xed\x5f\x41\x5b\x86\ +\x2c\xb1\xfd\xe1\x36\xdf\x72\x1e\x4d\x77\x4c\x78\xd9\x4c\xfd\xff\ +\x00\xb0\xdf\xc2\x9a\xd9\x6a\xba\x6d\xbe\xfc\xcc\x17\x3d\xbd\xc6\ +\xab\x16\xd5\xf4\x14\x6d\x5f\x4a\x1e\x2c\xad\xdf\x21\x2b\x48\xaf\ +\xdf\x6a\xba\x65\xe4\x71\xa3\x4e\x58\x2b\xee\x23\x63\x7f\x0a\xc4\ +\x7a\xcd\x9c\x72\x65\x27\x50\x3d\x3c\x36\xab\x0e\xd5\xf4\x14\x6d\ +\x1e\x95\x97\xd3\xe4\x6f\x97\x2d\x8f\x93\xaa\x20\x3f\x94\x36\xd8\ +\xca\xce\xac\x7d\x3c\x36\x14\x4b\xa8\xe9\x0d\x20\x99\x6e\x0c\x72\ +\x8f\xbc\xa8\xdc\xfd\x78\xa9\xfd\xa3\xd0\x51\xb4\x7a\x56\xfd\x2c\ +\xbe\x64\x84\x55\xa4\xd4\x2c\x9a\x76\x75\xbc\x8c\x2b\x79\x08\xdb\ +\x8f\xd9\x4b\x7d\xbb\x49\x10\x32\xfd\xa3\x74\xbd\xc1\x28\xdd\xff\ +\x00\x2a\xb1\xed\x5f\x41\x46\xd5\xf4\x15\x95\xd3\xe4\xbb\x6d\x0f\ +\x93\x2a\x7f\xa5\x6d\x01\x47\x12\xf2\x08\x6e\xc7\xf8\x54\xbf\xf2\ +\x83\x4d\xff\x00\xeb\x9f\xf7\x1b\xf8\x54\xae\xd1\xe8\x28\xda\x3d\ +\x05\x38\x61\xcb\x1e\xd2\x5f\xc8\x1b\x6d\x90\x56\xba\xe6\x9d\x14\ +\x58\x69\xc8\xf7\x89\xf8\x1b\xf8\x52\x17\x9a\xbd\x8c\xf7\x28\xcb\ +\x38\x60\x17\x1f\x03\x55\x93\x68\xf4\x14\x6d\x1e\x94\x3c\x39\x5c\ +\x78\xb9\x2f\xe4\x16\xee\xca\xe5\xae\xab\xa6\xc7\xe2\xb4\xd3\x8f\ +\x7b\x80\x0a\x31\xe2\xb0\xd7\x7a\x23\x9c\x0b\xa9\x40\xf4\x0a\xff\ +\x00\xc2\xac\x9b\x47\xa0\xa0\xa8\xc7\x6a\x3d\x0c\x95\xdd\x7f\x20\ +\xe4\xc6\x76\x46\xda\x68\x16\x78\x0e\xf5\x39\x01\x88\xe7\x83\x8a\ +\x2e\x63\xe7\xc4\x1e\xf0\xec\x46\x7c\xaa\x16\x2d\x48\xc3\xa7\x8b\ +\x68\xc3\x24\x9e\x23\x8d\xde\x83\x71\xa4\xb4\xdb\x93\x2d\xd8\x5f\ +\xb4\x39\x88\x82\x08\x62\x4e\x4d\x4b\xea\x62\xe2\x97\x96\x51\x63\ +\x93\x8f\x22\x56\xe4\x98\xe3\xde\x90\x78\xc3\xe5\xde\x9b\xcf\xa8\ +\x23\xdb\xab\xc6\x01\x4d\xdb\x64\x8d\xbb\xd3\x99\xe3\x96\x51\x8b\ +\x7b\xa5\x88\x0e\xd8\x19\xcd\x43\x4b\x69\x32\x5e\xed\x99\x7c\x49\ +\x24\xf8\x4a\xf0\x1a\xa1\x96\x53\x4e\x91\xa8\xc5\x31\x4b\x32\xd1\ +\xea\x0b\x1c\x59\x64\x93\xdd\xfa\x0f\x5a\xce\xa3\x6e\xf0\x5c\x45\ +\x13\x65\xa0\xee\xaf\xe8\x6a\x42\x1b\x78\xf4\xe8\x5b\xb3\x5c\xb8\ +\xc7\xd2\xb1\x03\x23\xc6\x6d\xee\xb3\x24\x6d\xd9\x9b\xb8\xaa\x47\ +\x12\xe3\xc6\x5d\xc3\x96\xec\x6f\x6f\x7d\xe1\xb3\xb1\xf7\x88\xc2\ +\xc6\x9d\x87\xd6\xa4\x6d\x7c\x46\x25\xa5\x99\x4b\x1f\xfe\x5a\x9a\ +\x8e\x93\x4c\x90\x5c\xac\x1f\x14\x4d\xc8\x7f\x41\x49\x75\x1d\xf5\ +\xaf\x4b\xf4\xcd\xf6\xa6\xa9\x99\x21\x8c\xec\x24\xf7\x73\xc0\xfd\ +\xb4\xa0\xa7\x17\xb0\x69\x3a\x48\xe2\xfe\xdb\x7a\xc7\xf4\xa6\xa9\ +\xfa\x06\xde\x4c\x58\x69\xee\x0c\xfb\x4f\xf3\xb3\x79\x2f\xd0\x0f\ +\xdb\x5c\x6a\x49\x19\xdc\x91\x8c\x9f\x2f\x21\x4e\xb5\x2b\xb9\x2e\ +\xee\x9d\xe4\x72\xce\x58\xb3\x36\x7b\x93\xdc\x9f\x99\xac\x69\xfa\ +\x6c\xfa\x84\xe6\x38\x93\x80\xbb\x9b\x8e\xc2\xbe\x84\x3d\xaa\xd9\ +\x99\x7e\x2e\x31\x14\xd1\xb4\x7b\xcd\x67\x50\x8a\xd2\xca\x36\x92\ +\x59\x0f\x7f\x21\xf3\x26\xbd\x09\xd1\x5d\x1f\x69\xd2\xd6\x40\x2e\ +\x1e\xf5\xc7\xeb\xae\x31\xdb\xe4\x2a\x03\xd9\xf6\x8b\x0e\x9b\x6a\ +\x59\x62\x02\x46\xe1\x98\xf7\xfa\x67\xd2\xba\x32\x80\x17\x81\x5c\ +\xb3\xcb\xcd\x9d\x91\xc4\xa0\xbe\xe2\xaa\xb4\xe5\x17\x9d\xb9\xc0\ +\xf4\x14\x8c\x5c\xf7\xa5\x8c\x91\x28\xdc\xec\xab\xf3\x26\xb2\x95\ +\x18\x6c\x73\x1a\x47\x9f\x86\x97\x0d\x1a\x8c\xe0\xe6\xa3\xc6\xa3\ +\x6c\xa3\x3b\xd4\x0f\xeb\x33\x60\x7e\xfa\xdd\x2f\x62\x9b\x1b\x25\ +\x8d\xf3\xdb\x63\x83\x9a\xa2\x33\x4e\xc7\x9e\x28\xad\x5a\x72\x3b\ +\x46\x0f\xe3\x49\x0f\x7a\xb1\xf8\x0a\x1b\xb0\xa3\x66\x97\xe4\x29\ +\x26\x64\x6f\x89\x71\xf4\xac\xbf\xba\xa5\x89\x0b\x8e\x49\x6e\xc2\ +\xa0\x6f\xfa\xaf\x49\xd3\x00\xfb\x4d\xe4\x49\x9e\xc3\x39\x27\x35\ +\x86\xe8\xd2\x4d\xab\x1f\xca\xb8\x6d\xc8\xc7\xe8\x69\x94\xeb\xbb\ +\x9f\x3c\x62\xb5\x83\x5c\xd3\xaf\xf1\xe0\x5c\x46\xdb\xbd\x1b\xff\ +\x00\xcc\x53\x89\x30\x46\xe5\x20\xfd\x2a\x4d\x59\xba\x69\x59\x49\ +\xd2\xe7\xfe\x43\xf5\xf1\x99\xc0\x1a\x65\xfa\xe5\xc6\x38\x56\xcd\ +\x76\x39\x22\x8e\xf1\x3c\x58\x70\xb2\xed\xff\x00\x78\x57\x24\xeb\ +\x6b\x58\xee\xb4\x94\xdf\x9e\x18\x63\x1d\xc5\x5c\x7d\x9d\xeb\x32\ +\x6a\x5d\x39\x1d\xbc\xaf\x27\xdb\x2c\x0f\x81\x2e\xe3\x92\xe0\x76\ +\x6f\xc6\xb7\x07\x7e\xc7\xd8\x96\x68\xba\xe6\x89\xa5\x89\xfc\x60\ +\xa8\x1b\xc4\x07\x25\x5b\xb0\x35\x2d\x0c\x73\xa7\xbd\x2c\xca\xff\ +\x00\x20\x31\x5b\x00\x1c\x89\x02\x8f\x11\x86\xd2\x71\x59\x60\xee\ +\xdb\x02\xe0\x7a\xd6\xe3\x89\x47\xb1\xce\xe4\xd9\x1d\xa9\xc8\xa8\ +\xe8\x0b\x36\xd0\x32\x40\x3c\x51\x6d\x7e\xd1\x47\xb5\x54\xba\xb7\ +\x28\x49\xa4\xa7\x43\x3d\xe3\x44\x7b\x76\xcf\x71\x8a\x42\x48\x50\ +\x13\x09\x77\x00\x1c\x67\xd2\xb9\xdc\xe7\x19\x5a\x2b\x18\xc6\xa9\ +\x8f\xff\x00\x49\x5c\x6f\x00\x2c\x6c\x58\xe0\x00\x68\xad\x74\xd8\ +\x77\xce\x5c\xb1\x2b\x1f\x00\x7a\x9f\x5a\x2b\xaf\x0f\x39\x46\xec\ +\x94\x9c\x53\xa2\x99\x45\x14\x57\x8e\x7b\x39\x8b\xbf\x4f\x90\x34\ +\x3b\x73\x9c\x0f\x78\xf3\xfe\xd1\xa9\x45\x60\xc3\x2a\x41\x1e\xa0\ +\xd4\x5e\x80\x03\x68\x50\x02\x01\x07\x77\x07\xfd\xa3\x51\x02\xf9\ +\xf4\x78\xef\xac\x37\x36\xf1\xcc\x07\xcc\xe7\xb5\x7a\xb8\x67\x58\ +\x70\xc3\x97\x6a\xfe\xc5\x13\xd1\x6a\x52\x1b\x90\xd9\xf2\xef\x58\ +\xf1\x13\x9f\x78\x71\xc1\x39\xf3\xaa\xa5\xad\xd4\xba\x18\x9e\x09\ +\xc6\x0c\x91\x87\x8f\xcc\x6e\xf4\xa5\x7e\xcc\x96\x7a\x14\x32\x5c\ +\x43\xe2\x34\xb3\x07\x60\x58\xa9\xc9\xa2\x1d\x77\x35\x55\xb5\xdf\ +\xec\x16\x5a\x6b\x01\x94\x92\x01\x19\x1d\xc6\x7b\x54\x2c\x97\xf7\ +\xe7\x5a\x7b\x68\xa2\x46\x54\x8b\x70\x53\x26\x33\xc8\xe6\x9b\x47\ +\x3d\xc5\xbe\xa1\xaa\xbc\x10\xac\x9b\x76\x93\x96\xc6\x06\x0d\x55\ +\xf5\x71\x4f\xb7\x9a\x0b\x2c\x95\xab\x38\x4f\x89\xc0\xf4\xcd\x23\ +\x65\x74\x2e\xec\xe3\xb8\x00\xa8\x75\xce\x0f\x95\x41\xda\xc0\x35\ +\x9d\x46\xf1\xae\xf7\x32\x42\xdb\x63\x8b\x76\x00\xe4\xf3\xc5\x6f\ +\x26\x7a\x51\xe1\xb7\x20\xb2\xc4\xae\x1c\x64\x1c\x8a\xda\xab\x62\ +\x3f\xd1\x1a\xe5\xbc\x16\xce\xde\x04\xc3\x0d\x11\x39\xdb\xf3\xa7\ +\x7a\x7d\xfd\xed\xcd\xed\xca\xbc\x49\xe1\x24\x9b\x0e\x24\xf8\x31\ +\xfb\xeb\x18\xfa\xa4\xdf\x09\x2d\xdd\x0e\xc9\xaa\x2b\x14\x57\x60\ +\x19\xa2\x8a\x28\x00\xa2\x8a\x28\x00\xa2\x8a\x28\x00\xa2\x8a\x28\ +\x00\xa0\xf6\xa2\x83\xda\x93\xec\x05\x0f\x25\x1e\x4d\xd2\x90\x8f\ +\x23\xed\x03\x9c\x72\x69\x76\x84\xd9\xcd\x13\xa7\x00\x90\x77\x56\ +\x91\x82\x1e\x4e\x57\x99\x1f\xbf\xd4\xd3\x97\xb8\x13\x40\x20\x9d\ +\x43\xa1\xe0\x3a\xf1\xb6\xbc\xfe\x34\xab\xee\x76\x45\xd4\x51\x2e\ +\x12\xe1\x1d\x76\x27\x8c\x84\x64\x30\x34\xe0\x9f\x0c\xbc\xb2\x26\ +\x7c\x35\xf7\x73\x4e\x23\x44\xb5\xb4\x55\x1f\x02\x2d\x32\x9e\xea\ +\x49\xa2\x64\x58\xb8\x3e\xa6\xbe\xbb\x8a\x84\x76\x73\x2d\x89\x60\ +\xb1\xdc\xec\x0b\x37\x9f\x6c\x56\x91\x3a\x16\x65\x0c\x18\x8e\xe0\ +\x53\x3b\x89\x5a\x49\x8c\x59\x21\x17\x93\xf5\xa6\xe8\x7c\x27\xf1\ +\xa3\xe0\x8e\xff\x00\x3a\xe4\x96\x5d\x96\xe0\x58\xad\xc3\xbc\x2f\ +\x10\x27\xdd\x6e\x0d\x72\xef\x6f\x5a\xaf\xe8\xee\x92\xb6\xb1\x0f\ +\xef\x5e\x5c\x0f\x74\x1e\xca\xa3\x3f\xbe\xba\x64\x25\xc9\x2c\x92\ +\x60\x37\xca\xbc\xe1\xed\xcb\x5b\x7b\xce\xbb\xfb\x0c\xa7\x7d\xbd\ +\x8c\x2a\x9b\x14\xfd\xe6\x19\x27\xeb\xcd\x76\x46\xa4\x89\x2b\x4f\ +\x47\x2d\x39\x04\xb1\x1c\x1e\xdf\x3a\x9b\xd2\x75\x7f\xd1\xc8\x7c\ +\x34\xdf\x3c\x9f\x17\xcf\x3d\x85\x44\xcc\x56\x27\x5f\x0d\xd6\x58\ +\xfd\x48\xff\x00\x2a\xb5\x74\x6f\x4b\xcd\xab\xcb\x26\xa7\x34\x6d\ +\xf6\x4b\x6f\x7b\xc3\x4e\xec\x7d\x39\xec\x3e\x95\x5c\x8d\x71\xd9\ +\xac\x7f\x89\x51\x74\xd1\xba\xa2\x58\x2e\xd3\x4c\xb4\xd1\xaf\xb5\ +\x3b\xa8\x90\x49\x3a\xdb\xae\x79\x3d\xff\x00\x7d\x5a\xc7\x54\x6b\ +\xe0\x63\xf9\x09\xa9\xe0\x77\xdf\x3a\x29\xaa\xc7\xb3\xc8\x44\xbe\ +\xd7\x35\x18\x64\x8e\x54\x32\xd8\x31\x0a\x8d\x8c\x10\x17\x8a\x97\ +\xea\x0d\x63\x45\xd1\x5e\x4b\x76\xd3\x9e\xf6\xe2\x47\xc4\x02\x47\ +\x23\x7f\xa9\x63\xdc\x01\x51\x50\x82\x8a\x7f\x25\x9c\xe5\x29\xb5\ +\x63\xab\xce\xb3\xea\x18\xad\xdc\x45\xd1\x97\xa8\xff\x00\xd7\x37\ +\x11\xb6\x3f\x0a\xab\xea\xbd\x5d\xd4\x31\xab\x48\xfa\x06\xa0\x92\ +\x6d\xc0\x32\x45\xb9\x73\xeb\xc5\x75\x2e\x80\xd0\xec\x6e\xf4\x45\ +\xbe\xbd\xe9\xdb\x1b\x5b\xa3\x2b\x05\x0b\x1e\xe3\xb3\xcb\x92\x6a\ +\xe5\x73\xa6\xdb\x3c\x0d\xb6\xda\x15\x21\x78\xc4\x62\xb7\xe9\x2a\ +\xba\x30\xb3\xca\x0e\x8f\x23\x0d\x56\x7d\x4b\x50\x73\x7d\x77\x2c\ +\x2c\xed\xf0\xca\xc6\x30\xbf\xc2\xaf\xbd\x2b\xd3\xf7\x8c\xb1\x5d\ +\xd9\xdd\x66\x20\x70\x56\x19\xb7\x02\x3d\x46\x0d\x5d\x35\x5b\x28\ +\xa7\xdc\x2e\x34\x0b\x57\x03\xb9\x0b\xb4\xfe\xca\xa8\xdc\x74\xdd\ +\x82\xcd\xe3\xe9\x4b\x77\xa5\xde\x29\xca\xb4\x2d\x80\xdf\x42\x38\ +\x3f\x8d\x42\x72\x85\xd1\xd9\x0f\x52\x8e\xb7\x6a\xcc\xc2\x30\x32\ +\xc4\xae\x4f\xd6\x9d\x3a\x63\xbf\x15\xce\x2d\x3a\x87\xa9\xfa\x7f\ +\xa7\x57\x53\xbe\xb7\x87\x54\xb6\x01\x06\x42\xf8\x72\xa1\x27\x07\ +\x71\x1c\x13\xc0\x3f\x8d\x2d\xd4\xbe\xd4\x5b\x47\xb2\xb3\xbb\x8b\ +\x4e\x86\xfe\x0b\x84\x0c\x4c\x72\x32\x78\x44\xf9\x1c\x8e\x6a\xdc\ +\x4e\x76\xe9\xd1\x70\xd5\xf7\x4b\xa6\xca\xb1\xf2\xcc\xbd\xbc\xeb\ +\x92\x6b\x1d\x38\xd6\x90\x3d\xf5\xf9\x89\x64\x6c\x97\x9a\x76\xda\ +\x3e\x58\xcd\x2b\x37\xb4\x9d\x53\xa8\x05\xb5\xbe\x9d\xf6\x6d\x29\ +\xae\x64\x11\x17\x39\x96\x41\x9f\x4c\xfb\xb5\xae\xa7\xd0\xf6\x71\ +\x5e\x31\xd5\xdf\x50\xd4\x6f\x0f\x79\x27\x90\x9c\x67\xd0\x54\xa4\ +\xb8\xed\xe8\xac\x25\x2e\xd1\x39\xc4\x9a\xd3\x69\x77\xec\xfa\x75\ +\xc2\xaf\xf5\x96\x3c\x98\xcf\xd6\xae\x1a\x3f\xb5\x73\x68\x23\x17\ +\x96\xf7\x33\x83\xc3\xaa\x81\x9f\xc3\x35\x2f\x17\x49\x59\x2a\x7e\ +\xa7\x41\x59\x08\xfb\xd2\x12\xdf\xb2\xab\xdd\x45\xd3\xda\x85\x8c\ +\x06\xe2\x2d\x22\xd0\xc4\xa7\x24\x7d\x9f\x05\x7f\x23\x4a\x39\x31\ +\xc9\xd5\x1a\x96\x1c\x91\xdd\x92\x3a\xc7\xb4\xfd\x27\x51\xb5\xf0\ +\xa3\xd3\xaf\xc3\xee\x53\x97\x2b\x8e\x3f\x1a\xd7\xa3\xbd\xa5\xd8\ +\xe8\x3d\x43\x71\x3d\xea\xdc\xfd\x82\x65\xda\x36\xc7\xef\x2e\x0f\ +\x07\x19\xf4\xa8\x6d\x03\xf4\x56\xa1\xa7\xce\x97\x16\x31\x47\x77\ +\x1b\x2f\xba\xbc\x86\x53\xc7\x19\xe4\x54\x5e\xad\xa6\x41\x68\x89\ +\x71\x6d\xfa\xcb\x49\xb2\x23\x7e\xdb\x08\x1c\xab\x7c\xeb\x4a\x30\ +\x72\xaa\x23\x25\x2e\x3b\x67\xab\xb4\x1e\xa0\xb1\xd7\xb4\x68\x75\ +\x3d\x36\x43\x35\xa4\xe4\x94\x62\x36\x9e\x0e\x08\x20\xd4\xca\xb0\ +\x75\xcf\xad\x73\x7f\x63\x01\x7f\xe8\xd6\xc8\x28\x1c\xcb\x31\x39\ +\x38\xee\xdd\xc5\x74\x38\x32\x11\x89\xed\xe5\x55\x83\xdf\x13\x8d\ +\xaa\x64\x64\xae\x2d\x64\x78\xe0\x00\x36\x79\x63\xe4\x0d\x20\xec\ +\xcf\x94\x32\xe4\xbf\x73\x8a\x91\xfb\x08\x92\x56\x96\x63\xbb\x73\ +\x64\x28\xf4\xf9\xd3\x8f\xb3\x41\x8f\xe6\xd7\xfd\xda\xe5\x96\x39\ +\x36\xd9\x45\x34\x88\xfd\x35\x59\x6e\x80\x52\x4a\x85\xc3\x1f\x2c\ +\xd1\x4e\x7d\xcb\x66\x30\xc4\xb8\xdd\xc9\x23\xbd\x15\x6c\x4e\x30\ +\x8d\x36\x62\x4e\xdd\x94\x2a\x28\xa2\xbc\x73\xd1\xce\x5e\x3a\x7b\ +\xfa\x12\xdf\xfb\xdf\xe2\x35\xb5\xde\x95\x1d\xde\xa1\x6f\x74\xc7\ +\xf9\xbf\x88\x63\xe2\xf4\xad\x7a\x7b\xfa\x0e\xdf\xfb\xdf\xe2\x35\ +\x27\xc6\x7c\xab\xd8\xe0\xc7\x19\xf4\xf0\x52\xde\x91\xbf\x08\x8f\ +\xd4\x74\xb8\xf5\x06\x80\xb1\xc1\x8d\xb3\x9f\x51\xe9\x4a\x6a\x16\ +\x02\xfa\xd9\x22\xdf\xe1\xed\x75\x7e\xde\x94\xf3\x8a\x09\xf2\x35\ +\x47\x87\x1b\x72\xd7\x7e\xe6\x88\xdb\x8d\x36\x67\xbf\xfb\x5d\xb5\ +\xcf\x84\xe5\x36\x30\x2a\x08\xc5\x6d\x1e\x98\x63\x96\xf9\xfc\x5c\ +\xfd\xab\xb0\xdb\xf0\xf0\x47\xaf\xce\xa4\x0e\x3c\xf1\x41\xfc\x3e\ +\x5c\xd1\xe8\x42\xee\x80\x6d\x63\x6b\xf6\x3b\x28\xed\xf7\xef\xd8\ +\x31\xbb\x18\xcd\x31\xbb\xd1\xdc\x5c\x3d\xd5\x84\xe6\xde\x77\xf8\ +\x87\xdd\x6f\xa8\xa9\x8a\xc7\xe7\x44\xf0\x42\x51\x51\x7e\x04\x57\ +\xb4\xbb\x5b\xa8\xf5\x03\x25\xf4\x32\xbc\xe0\x60\x4a\xce\x0a\x85\ +\xf9\x53\xe8\xb4\xf9\xed\xae\xa6\x96\x1b\x9d\xb1\x4a\xfe\x23\x21\ +\x8f\x27\x3f\x2a\x73\x25\xfc\x71\x5f\xdb\xd9\x95\x3b\xe6\x04\xa9\ +\x1d\xb8\x19\xa7\x5c\x66\xa5\x8b\xa7\xc6\xb4\x9f\x66\x03\x2d\x28\ +\x5d\x7d\x89\x4d\xdb\xb3\x48\x58\xe0\xb0\xc1\xc7\x96\x45\x3f\xa4\ +\xbc\x68\xfc\x43\x1e\xf1\xbf\x19\xc7\x98\xa6\x9f\xa4\x83\x6a\x3f\ +\x63\x8e\x19\x24\x65\xc6\xf7\x1f\x0a\x67\xe7\x55\x53\x86\x28\xa8\ +\xb7\xf6\x19\x21\x45\x63\x23\xb7\xe7\xcd\x63\x23\xd7\xf6\xd5\xac\ +\x0d\xa8\xad\x73\xf5\x14\x67\x18\x07\xf0\xe6\x8b\x03\x6a\x28\xa2\ +\x98\x05\x14\x51\x40\x05\x07\xb5\x14\x1e\xc6\x93\xec\x05\x7f\x4e\ +\xb0\xb6\x92\xdb\x7b\xc2\x19\x9a\x47\xf8\xb9\xc7\xbc\x6b\x7b\x9d\ +\x26\x19\x17\x10\x93\x1b\xd6\xda\x52\x4c\x6c\xc9\x3b\x44\x7e\x23\ +\xe3\x27\xfb\x46\x9f\x05\x63\xc8\x92\x36\x3e\x95\xf3\xb1\xe3\x4f\ +\x1a\x4d\x1b\x8c\xdd\x23\x1e\xfc\xb6\x46\x26\xc0\x97\x6e\x0f\xce\ +\xa3\xe4\x99\x63\x84\xc8\xd9\xc0\x1d\xbe\x75\x20\x72\x3e\x2f\x71\ +\xc7\x63\xe5\x4c\xb5\x08\x0c\x91\x3b\x2f\x00\x8c\x91\xe8\x7d\x6a\ +\x99\x2d\xa1\xc4\x8b\x0c\xd2\x4f\x2c\x84\x6c\xcf\xaf\x35\xa8\x05\ +\x95\x93\x15\x94\x7c\xa6\x09\xe7\xb1\xa2\x36\xda\xec\x6b\x81\x7d\ +\xce\xa4\x89\x5b\x09\xa4\x77\x31\x49\x8f\x77\x1c\x8a\xf2\x7f\xb4\ +\x17\x96\xeb\xda\x26\xb7\x24\xb9\x24\xdd\x30\x03\xd4\x76\xc7\xca\ +\xbd\x5f\xa6\xc4\x4e\x64\x3d\x9b\x93\x5e\x69\xf6\x8b\xa1\xea\x16\ +\x7d\x43\xab\x6b\x93\x45\x14\x76\xd3\x5f\x3a\xc6\x03\xe5\xdb\x9e\ +\x0f\xd2\xbe\x87\x4f\xae\xe4\x52\xbb\x29\x06\xd6\x28\xae\xe3\xb6\ +\x52\x1e\x66\x20\x33\x79\x26\x7b\xd7\x43\x93\xaa\x06\x85\xa4\x8b\ +\x08\xb1\x24\xc2\x3f\x02\x03\xfd\x8c\xfc\x4c\x2b\x9a\xdb\xc8\xeb\ +\x7a\xb2\x78\x79\x20\xe7\x04\xe3\xf6\xd4\xd6\x95\xa6\x5d\x75\x27\ +\x51\x2c\x4f\x20\x2e\xd9\x2c\x73\xc0\x1f\x2a\xbe\x48\x27\xdc\x30\ +\xf7\xd1\x31\xd3\x9d\x55\x75\xd3\x7d\x45\x1e\xb7\x1c\x2b\x73\x38\ +\x57\x49\x44\xac\x47\x88\xac\x3d\x7e\x55\xd4\x2e\x3a\x77\xf4\xa7\ +\x5f\x1b\xf9\x0a\x1b\x31\x69\x13\x42\x7d\x41\x50\x6a\x2d\x3d\x9b\ +\x59\x9d\x2b\x64\x3b\xda\x6c\x67\x71\x3c\x55\xfb\x47\xb3\x92\x1d\ +\x16\xca\x39\x8e\x6e\x6d\x90\x42\xe7\xcc\xa8\xe1\x4d\x41\x4f\xc1\ +\xd9\x92\x30\x87\xb9\x77\x2c\x9a\x6d\xcd\xb6\x99\x68\xb0\x11\xb6\ +\x3d\xdd\xc9\xcd\x48\xcf\xab\xd8\xdb\xc3\xe2\xcb\x75\x1a\x2e\x09\ +\xe4\xf7\xc5\x52\xb5\xa8\x2e\x2e\xac\x1a\x2b\x59\xbc\x32\x7b\x3f\ +\x98\xa8\x4b\x8e\x9b\xbd\xd5\x74\xb4\xb4\x6b\xbc\xb4\x71\xb2\x89\ +\x58\xf3\x93\x55\x8e\x46\x95\x33\x92\x58\x6d\x72\x25\xae\xba\xab\ +\x4a\x9e\xe2\x58\xe0\xb9\x79\x1c\x0d\xcc\xbb\x49\xc0\xa8\xc6\x92\ +\x2b\xfc\xc8\x83\x73\x0f\xea\xff\x00\x97\xad\x6d\xa4\x68\x5a\x86\ +\x89\x78\xd7\x5b\x23\x9d\xa5\x8b\x19\x95\xf7\x1f\x4c\x13\x4e\xed\ +\x74\x56\x8e\xef\xc7\x12\xf8\x39\x5c\x18\x6d\xc6\xd5\x63\x50\xcb\ +\x1e\x4e\xce\x9c\x2d\x25\x4c\xad\x6a\xda\xb6\xb5\xa7\x69\xcf\x6b\ +\x6b\x22\x96\xbe\xb8\x58\x58\x32\xf0\x7c\xf7\xfd\x71\xdc\xd4\xb6\ +\xab\xd3\xba\xf7\x52\xe8\xd1\xd9\x6a\xba\xad\x89\x8d\x30\xca\xb1\ +\xdb\x1c\xe4\x7f\x68\x1c\x52\xfa\xd4\x76\x86\xf6\xda\xd2\x75\x95\ +\xaf\x1c\x78\xd1\x04\x1e\xea\xf6\x03\x27\xcb\x80\x4e\x2a\xc9\x09\ +\xdd\x13\x2f\xa7\x7a\xca\x93\x6d\xab\xec\x56\x4d\x24\x9a\x45\x37\ +\xd9\xb7\x44\x69\xbf\xa5\xce\xb5\x70\x90\x99\xac\x4b\x40\x60\x20\ +\xfb\x93\x03\xf1\xe4\xf0\x78\xed\x56\x9d\x7e\x7b\x18\x35\x69\xae\ +\x2f\x25\x81\x11\x38\x1e\x21\xc6\x2a\x2e\xe5\xad\xad\x6e\xe7\xb4\ +\x89\xa4\x8a\xe6\xe5\xbc\x75\x68\xce\x09\x6e\xd9\xfc\xa9\xb6\xa7\ +\xa4\xfe\x97\xd3\xcd\xa2\xbc\x28\xc5\xb7\x17\x90\x31\x63\xf2\xdd\ +\xde\xab\x19\x27\x0a\xf2\x8e\x79\x45\xfa\x9c\xbc\x31\xc1\xea\x2b\ +\x09\x24\x31\x5b\x5f\xdb\x48\x47\x70\xac\x38\xfc\x29\x75\xb9\xb7\ +\xbe\x46\x8a\x44\x52\x4a\xf2\x0f\x63\x55\x38\x7a\x0a\x7b\x5d\x7d\ +\x35\x29\xfe\xcd\x7c\x87\x1e\x22\xdc\x76\xce\x31\xc8\x18\xe3\x35\ +\x8d\x3b\x4a\xd6\xba\x7b\x58\x2f\x24\xab\x35\x94\x92\x1f\x77\x71\ +\xfd\x4f\xe7\xe5\x53\xc8\xa9\xda\x2d\x15\xc9\x5b\x29\xbd\x7b\xd3\ +\xcf\xa2\xea\xcd\x7b\x64\x0a\xc5\x34\x64\x1c\x76\x0d\x51\x7a\x24\ +\x33\xea\x5d\x0f\x73\x64\x54\x3c\xf7\x7a\xc4\x51\x45\x23\xfd\xc6\ +\x28\x4b\x1c\xd7\x5d\xea\xcd\x35\x2f\x74\x76\x24\x6f\x22\x36\x23\ +\x1e\xa4\x57\x2b\x49\xdf\x44\xb5\xd2\x34\x54\x42\x6e\xd5\xda\xfa\ +\x62\x9d\xfc\x57\x01\x51\x47\xa6\x17\xf6\xd6\xf1\xe4\x7c\x68\x8c\ +\xe2\xe4\xd3\x47\xa4\x3a\x63\x4e\x87\x4e\xd0\x6c\xec\x6d\x02\x88\ +\x21\x85\x50\x10\x31\x9e\x39\x3f\x89\xa9\xec\x71\xfd\x91\xd8\x54\ +\x4e\x82\xd0\x3e\x9a\x1a\x09\x19\xa3\x27\x1b\x18\x60\xa7\x1f\x0d\ +\x49\xb4\x9b\x70\x31\x96\xfd\xd5\xa8\x3f\x6a\x6c\xe3\x9f\xe2\x68\ +\xdf\xde\xf3\x21\x7e\xb5\x82\x1c\x8c\x09\x17\x34\x89\x1b\x86\x59\ +\x89\x3e\x86\xb3\xe1\xae\x32\x30\x0f\xa8\xa7\xca\x22\xa3\x31\x44\ +\x23\x7c\xb7\x32\x9e\xe4\xff\x00\x95\x14\x31\x67\x89\xd0\x11\xe2\ +\x01\xc1\xa2\x8f\xc9\x01\xcf\x68\xa2\x8a\xf1\xaf\x64\x0b\xc6\x80\ +\x48\xd0\xa0\xc0\xc9\x1b\xbf\xc4\x69\x86\x91\xb6\xed\x5e\xe2\xea\ +\xf2\x45\xb8\xf1\x39\x5f\x13\x68\x5e\x78\x18\xa7\xfd\x3d\xfd\x09\ +\x6f\xfd\xef\xf1\x1a\x76\xd6\x36\xad\x37\x8c\x6d\xe2\x32\x67\x3b\ +\x8a\x0c\xe7\xd6\xbd\x66\x2c\x72\x9e\x2c\x6d\x78\x5d\xbf\xf0\x50\ +\x86\xb7\x82\x6b\xeb\xfb\xe4\x37\x93\x24\x51\x4b\xee\x84\x6c\x1c\ +\xf3\xe7\xe9\x48\x09\x9a\x6b\x2b\xeb\x99\xee\x1e\x3b\x98\x9d\x84\ +\x6a\x24\x61\xb7\x1d\xb8\xf3\xcd\x59\x96\x18\xa3\x2c\xc9\x1a\x29\ +\x73\x96\x21\x40\xcf\xd6\x93\x7b\x2b\x69\x25\xf1\x5e\x08\x99\xc7\ +\x9b\x20\x26\x87\xd1\xca\xb4\xf7\xbf\x9f\x3f\xe0\x28\xaf\xde\x49\ +\x74\xd0\xdb\x5d\x4a\xc1\xd0\x42\x0c\xb0\x89\x4c\x6c\x3f\xb5\xc5\ +\x17\x73\x39\x48\x2e\xc4\x8d\x2d\xb0\x85\x73\x09\x9c\xa3\xaf\xcc\ +\x9f\x33\x56\x09\xac\xad\xae\x08\x32\xc1\x13\x90\x30\x0b\x20\x3c\ +\x51\x25\x95\xb4\xc5\x4c\x96\xf1\x31\x51\x80\x59\x01\xc0\xa4\xfa\ +\x4c\x8e\xfd\xdd\xc2\x86\x11\xde\x5f\x3b\xc0\x21\xb4\xdf\x6a\xea\ +\xa7\xc5\x69\x06\xec\x10\x3b\x8c\xf7\xa8\xb5\x22\x4b\x6d\x4a\x69\ +\x2e\xe5\x49\x23\x95\xfc\x35\x12\x91\x8c\x76\x18\xfa\xd5\xa4\x00\ +\x06\x00\x00\x0e\xd8\xa8\x9b\x1d\x22\x28\xde\xe1\xae\xa0\x82\x42\ +\xf3\xb4\x88\x4a\x82\x40\x3f\x5a\x79\xb0\x4d\xb8\xa4\xef\xbf\xf4\ +\x15\x0d\x12\x59\x24\xd4\xf4\x89\x25\x27\x7b\x42\xc4\xf1\x8f\xba\ +\x7c\xa9\xa1\xba\x3f\x6a\xb3\xb8\x8a\x59\x44\x6f\x38\x46\x79\x26\ +\xc9\x7c\x9e\x7d\xdf\x2a\xb4\x98\x22\x69\x12\x43\x12\x17\x41\x85\ +\x62\xa3\x2b\xf4\x34\x8f\xe8\xeb\x2e\x7f\xd1\x60\xe4\xee\x3f\xab\ +\x14\xa5\xd1\xe4\xaa\x52\xf3\x7f\xd3\xfc\x0e\x88\x68\xa3\x89\xfa\ +\x86\xf3\xc5\x9e\x45\x00\x23\x29\xf1\x31\x90\x40\xe3\xe6\x29\x05\ +\x12\x5a\xcd\xac\x49\x6e\xd2\x19\x22\xd8\xa8\x49\x27\xbf\x72\x7d\ +\x71\x56\x37\xb2\xb6\x91\xd5\xde\x08\x99\x97\x80\x59\x01\x22\x94\ +\x58\x62\x46\x76\x58\xd0\x33\xfc\x44\x28\xcb\x7d\x68\xfa\x36\xfb\ +\xbf\x2d\xff\x00\x30\xa2\xbb\xbd\xad\x9f\x4d\x96\xde\x79\x5e\x49\ +\xca\x89\x01\x72\xdb\xc1\xc6\x4e\x33\xc6\x2b\x6b\x38\x27\xbf\xba\ +\xbd\xdf\x77\x32\x47\x15\xc9\xda\xa8\xd8\x39\xcf\xaf\xa5\x4e\x45\ +\x65\x6b\x0b\x97\x8a\xde\x28\xd8\xfd\xe4\x40\x0d\x28\x90\xc5\x19\ +\x62\x91\xa2\x96\x39\x62\xaa\x06\x4f\xa9\xad\x47\xa4\x76\xb9\xbd\ +\x7c\x7f\xe0\x28\xaf\xc5\x13\x5e\x4f\xa9\x78\x97\x13\x62\x27\x21\ +\x02\xc8\x46\x3b\xd2\x12\x19\x8e\x81\x1e\xa1\xf6\x89\xfc\x74\x3c\ +\x1d\xc7\x03\x0d\x8e\x47\x9d\x59\xd6\xde\x14\x2e\x56\x24\x06\x4e\ +\x5f\x0a\x3d\xef\xaf\xad\x6b\xf6\x5b\x73\x07\x81\xe0\x45\xe1\x7f\ +\xf4\xf6\x0d\xbd\xf3\xdb\xeb\x4b\xe8\xdd\x77\xf9\xfe\xba\x0a\x37\ +\x46\xdc\x8a\xde\xa2\xb7\xac\x60\x01\x80\x38\xa2\xbb\xd3\x19\x9a\ +\x28\xcd\x14\xc0\x28\x3d\xa8\xa0\xf6\xa4\xfb\x01\x5c\xb3\x05\xad\ +\x02\xb3\x1c\x09\x1f\x00\x1f\xed\x1a\x73\xe1\x83\xc0\xe0\xd2\x16\ +\x1f\xf5\x4f\xff\x00\x91\xff\x00\xc4\x69\xce\x40\xf3\xc7\xd6\xbe\ +\x5e\x36\xf8\x2d\x9b\x5d\x90\xa2\x4e\xca\x02\xc8\x37\xc7\xfb\x45\ +\x2a\xdb\x71\xcf\xbc\xac\x3b\xfa\x8a\x6c\x32\xe7\x38\x1f\x9d\x06\ +\x4f\x05\x40\x3f\x07\xee\xab\xc6\x5a\xa6\x36\x46\x5d\xc0\x6d\xae\ +\xc8\x1f\x03\x79\xd3\x78\xd0\xbc\xa1\x14\x92\x59\xb9\xa9\x8d\x42\ +\x11\x71\x64\x1d\x3b\xa1\xef\xea\x29\x86\x8b\x1f\x8f\x76\xee\x7e\ +\x14\xff\x00\x2a\xe6\x9e\x2f\xda\x52\xf2\x5a\x32\xf6\x12\xec\x3e\ +\xcd\x66\x42\xf0\x56\x32\x4e\x3d\x6b\x8f\xf5\xa7\x4b\x4d\xad\x58\ +\xc9\x17\x8e\xc6\x46\x4d\xd1\x46\x3e\x15\xc7\xad\x75\xab\xc9\xbd\ +\xc9\x50\x7c\x5b\x79\x3f\x5a\xaf\x4a\xad\xf6\xfb\x6f\x77\x21\xd0\ +\xa1\xc5\x75\x77\xaa\xf0\x53\xa6\x9d\x59\xe5\xab\xbd\x17\x50\xb4\ +\x66\x8a\x6b\x73\x1e\x3c\xbe\x94\xf7\xa2\xae\xe5\xb1\xea\x08\x08\ +\x56\xcb\x10\xb5\xd7\x3a\xf7\x46\xb4\x82\xee\xcd\xc4\x45\x66\x95\ +\x8a\xc8\xcb\x9c\x63\x1d\xf1\x54\x5e\x9e\xd3\x51\x7a\xb2\xce\x33\ +\x19\x11\x2c\xf8\x2c\x47\x72\x3b\x0a\x7e\xab\x69\xa6\x5b\xd1\x8c\ +\x78\xe4\x83\xee\x76\xfb\x70\x52\x35\x53\xf1\x6d\x14\xa4\xad\x24\ +\x12\x2c\xa9\x9f\x0c\x70\xde\x7c\x52\x08\xe5\xa6\x51\x9e\x6a\x41\ +\x40\xda\x13\x1c\x1e\xe3\xd6\xa5\x1e\xc4\xdb\xa6\x16\x8f\x04\xbc\ +\xa4\x83\x07\xb9\x3e\x55\x2b\x0e\x9a\xae\x78\xdb\xf9\x54\x3f\xe8\ +\x78\x25\x7d\xe9\xe2\x43\x2f\xf5\xe2\x6d\xa2\x9e\x43\xa5\x6a\x2b\ +\xfc\xd6\xb1\x72\xbf\xed\xc4\xa6\xab\x17\xf2\x66\x49\x78\x63\xf9\ +\x74\xb5\x51\x9c\xf3\x51\x37\xf3\xc3\x67\x20\x89\x13\xed\x37\x4f\ +\xfc\xdd\xb2\x9e\xff\x00\x37\x3e\x43\xe7\x4e\xe4\xb0\xb9\x1f\xf5\ +\xbd\x56\xed\xd7\xd1\x71\x1f\xed\x15\xa2\x8b\x3d\x36\x02\x2d\xed\ +\xe3\x56\x7e\xe4\x72\xcd\xf5\x3d\xcd\x37\xf9\x19\x8c\x6b\xbb\xb2\ +\xbe\xba\x64\xb1\xdd\xb5\xd5\xe3\xac\x92\x3e\x5e\x46\x03\xef\xf6\ +\xc0\xf9\x0a\x95\xb4\x63\xc7\x1f\x15\x6a\xd1\x4f\x70\xc1\xe4\x63\ +\x83\xc8\x5c\x63\x14\xf7\x4f\x86\x32\xea\x8f\x9c\xfe\x1f\xbe\xa6\ +\xa2\x93\xd1\x79\xce\xd1\x5b\xea\x5d\x32\x4b\x89\xad\xae\x21\x97\ +\xec\xf2\xa3\x64\x39\x19\x02\x9e\x58\x4e\xb2\x0f\x02\xf5\x7c\x3b\ +\x94\xf2\xfb\xae\x3f\xac\x0d\x4c\x6b\x51\x42\x2c\xe4\x67\x20\x28\ +\x5f\x33\x8a\x8a\xd3\x9a\x3b\xb0\x96\x97\x91\x6e\x52\xbe\xe6\x7b\ +\xaf\xd0\xf9\x56\x5a\xe3\x2d\x02\x97\x28\x6c\xde\xe2\x0f\x0f\x03\ +\xc3\xf7\x4f\xf5\x5b\x34\x8c\x9b\x51\x37\x15\x1b\x7d\x58\x8a\x73\ +\x71\xd3\xbb\xc1\x5b\x6d\x46\xe6\x21\xe5\xef\x67\x14\xd6\x4e\x9c\ +\x3f\x7e\xe1\x66\xff\x00\xbc\x4d\xdf\xbc\xd3\x7c\x9f\x81\x2e\x35\ +\xdc\x8f\x96\x73\x76\x86\x2b\x61\xfa\x81\xc3\x4d\x8f\x77\xe8\xbe\ +\xbf\x5a\xe6\xf7\x71\x8b\x0e\xbc\xbd\x91\x61\x46\xdb\x17\x8a\xa5\ +\x94\x37\x27\x00\x1a\xea\x5f\x66\x96\x1c\x46\xf2\x2b\xa8\xe0\x71\ +\x8c\x57\x32\xea\x87\x92\xd7\xac\x1d\xf8\xc1\x80\x46\x40\xe7\x24\ +\xf6\xa9\x96\xc0\x93\x9a\x47\x5a\xf6\x73\x71\x34\xba\x55\xdc\x93\ +\x3e\xe6\x32\xf0\x48\xc5\x5c\xfe\xee\x7c\xea\xaf\xd0\x56\x86\xd3\ +\xa6\x22\x32\x37\xeb\x5c\xee\x7c\xf1\x83\xe9\x56\x7f\x0d\x9f\x92\ +\x4a\xaf\xa0\xab\x42\xd4\x69\x1c\x3d\x5f\x1f\x5e\x54\x63\xdd\xa3\ +\xb5\x65\xa1\x53\xd8\xb0\xfc\x69\x2d\xde\x17\xbb\x2b\x81\x8e\xc7\ +\xd6\x9b\xd7\x72\x2b\x66\xc3\x08\xec\xe4\xe0\x05\x34\x54\x5c\xf7\ +\x8f\x23\x38\x40\xc6\x33\xdb\x03\xe2\xa2\xb2\xb2\xd6\x92\x0e\x0c\ +\xa9\xd1\x45\x15\xe4\x8e\x62\xf1\xd3\xdf\xd0\x90\x7f\x7b\xfc\x46\ +\x9b\x6a\x7a\xd4\x42\xca\x61\x69\x2b\xf8\x88\x40\x12\x05\xca\xe7\ +\x23\xcf\xb5\x38\xd0\x06\xed\x0a\x01\xd8\x9d\xdd\xbf\xda\x35\x1e\ +\x6c\xaf\xe3\xd2\xa6\xd3\x96\xd7\x77\xbd\x95\x95\x5c\x0c\x8c\xe7\ +\xcf\xce\xbd\x47\x2c\x8b\xa7\x8c\x61\xe6\x3f\xd8\xa7\x82\x59\xb5\ +\x38\x60\x58\x92\x46\x77\x95\x90\x36\xd4\x42\x49\x1e\xbc\x56\xc9\ +\xa9\xdb\x3b\xc0\xab\x26\x7c\x60\x4a\x1f\x5c\x79\x54\x6d\xc5\x85\ +\xc2\x5f\x0b\x85\x8e\x59\x10\xc4\xa8\xcb\x14\xa5\x19\x48\xfa\x1e\ +\x45\x66\xe3\x4c\x76\xd3\x17\xec\xd1\xb4\x37\x11\x3f\x89\x18\x2d\ +\xb8\xe7\xf1\xad\xac\xbd\x46\xf5\xd8\x56\x3f\x3a\xb5\x98\x8e\x59\ +\x0c\x87\x6c\x4f\xe1\xb1\xc7\x76\xf4\x1e\xb5\xa4\xba\x8a\x4b\x63\ +\x74\xd0\x97\x59\x62\x89\x8e\xd6\x52\x18\x1c\x70\x79\xa6\x33\x69\ +\x13\x26\x97\x6b\x1c\x43\x74\xb0\xc8\x25\x75\x07\x1b\x8f\x9e\x0f\ +\x95\x6e\xb6\x6e\xf1\x5c\xb2\xdb\x4a\x92\x49\x03\x46\x0c\xb3\x6e\ +\x2c\x7c\x87\x7a\x7e\xae\x7b\xa9\x2f\x03\xb1\xc5\xb6\xa6\x91\x69\ +\xb6\xb2\x5c\xb9\x69\x65\x1c\x05\x19\x67\x3f\x41\x4e\x17\x53\xb6\ +\x7b\x79\x26\x0c\x42\x45\xf1\x82\xa4\x11\x51\x89\xa7\xdc\xc3\xfa\ +\x3e\xe0\x45\xe2\x3d\xba\x6c\x78\xb7\x0f\x3c\xf3\xe9\x48\xdd\xda\ +\xcc\xb6\x7a\x9d\xe4\xc9\xe1\x78\xc1\x40\x8f\x39\xc0\x04\x72\x6b\ +\x1e\xb6\x68\xc3\xb7\x6f\xf1\xfe\x45\x64\xbc\x1a\xbd\xad\xc4\xab\ +\x12\xb3\x86\x6f\x87\x72\x15\xdd\xf4\xcd\x68\xfa\xd5\xa4\x6f\x22\ +\xee\x72\x63\x25\x5c\x04\x27\x04\x53\x08\xe0\xba\xbd\x6d\x3f\x75\ +\xbf\x83\x15\xb8\x57\x32\x6e\x07\x3c\x76\x14\xbd\xad\x9c\xf1\xc5\ +\xa9\xab\xc6\x01\x9a\x47\x31\x92\xc3\xde\xce\x71\x5a\x86\x6c\xf2\ +\x54\xbf\xdd\x0e\xc7\x27\x5a\xb1\x52\x83\xc6\xe1\xc8\x01\xb0\x76\ +\xe4\xfc\xe9\x4b\x8d\x4e\xde\xde\x6f\x09\x99\x8b\xe3\x24\x2a\x16\ +\xc0\xf9\xe2\xa3\x26\xd3\xae\x5b\xa7\x63\xb4\x58\x47\x8e\x30\x4a\ +\xee\x1e\xbe\xb5\xb5\xc5\x8c\xd1\xea\x92\xdc\x78\x53\x4b\x14\x8a\ +\xbf\xcc\xc8\x55\x81\x1f\x88\xc8\xa2\x59\xb3\xae\xeb\xe0\x56\x48\ +\xcd\xaa\x5a\xc1\x14\x32\x3c\xb9\x59\x8e\x10\x81\x9c\xd6\xab\xab\ +\xda\xbd\xbc\xd3\x06\x6c\x42\x32\xe3\x6e\x08\xfc\x29\x8b\xe9\xd2\ +\x63\x4d\x11\xdb\x94\x48\x64\x2c\xc9\xbf\x3b\x46\x7f\x6d\x6c\x2c\ +\x2e\x1a\xeb\x54\x62\x81\x56\x78\xf6\xc6\xd9\xee\x76\xe2\xb5\xea\ +\xe7\xe5\xdb\xfd\xaf\xf2\x16\x3d\xd3\xb5\x24\xbf\x88\x10\x8c\x92\ +\x05\xcb\x29\x1d\xbf\x1a\xd2\x49\x99\x75\x94\x8c\xdc\x32\xa9\x84\ +\xb7\x83\x8e\xfc\x9e\x6b\x1a\x4f\xda\x62\xb4\x4b\x7b\x8b\x76\x8b\ +\xc2\x5c\x6f\x2c\x0e\xef\xca\x9b\x4b\x87\xea\x94\x00\xe7\xfd\x1b\ +\x07\x1e\x5c\x9f\xe3\x4e\x73\x92\xc5\x06\xfb\xda\x35\x63\xdf\xd2\ +\xb6\xbf\x64\x5b\xad\xe7\xc2\x66\xda\x0e\xd3\x44\x9a\xad\xbc\x73\ +\xb4\x44\xbb\x32\x63\x79\x54\x24\x2e\x7d\x48\xa8\x41\xa7\xdf\xfe\ +\x8d\x8e\xcf\xec\xbf\xcd\xcb\xbb\x7e\xf1\xc8\xa7\x37\xf6\x57\x4d\ +\x7c\x66\xb3\x86\x48\xa6\x2c\xbf\xad\x59\x06\xd6\x03\xd4\x54\xfe\ +\xa3\x3f\x15\x2e\x3f\x06\x6c\x7a\xfa\xcc\x29\xa8\x35\xa9\x59\x0e\ +\xc1\xef\x30\x42\x79\xf4\xa9\x3a\x86\x78\x6e\xad\xf5\xa7\xb9\x8e\ +\xdf\xc6\x8e\x58\xd5\x7d\xd6\x03\x04\x7d\x6a\x6a\xba\x70\x4a\x6f\ +\x97\x2f\x93\x41\x41\xed\x45\x07\xb5\x74\x3e\xc0\x56\x2c\x2e\xa2\ +\xf0\xa4\x8c\xb7\xbc\x92\x3f\x07\x8c\xe5\x8d\x48\x43\x6c\x65\x5d\ +\xf3\x13\xcf\x61\x51\x0b\x6c\x93\x5b\xef\x31\xfb\xcb\x23\xf2\x0f\ +\x27\xde\x35\x3d\x13\x89\x21\x52\xa7\xbf\x7f\x95\x7c\xac\x2b\x4a\ +\xca\xad\x45\x50\x99\xb4\x8f\x6f\xba\x48\xfa\x52\x32\x21\x5c\xc5\ +\x28\xca\x9e\x03\x7a\xd3\xa9\xe6\x4b\x78\x77\xb1\xc2\xd6\x5d\x16\ +\x68\x30\x4e\x41\x19\x18\xf2\xaa\xd2\x7a\x42\x11\xb0\xfd\x64\x32\ +\x44\xde\x9b\x79\xa4\xb4\xd8\x12\x0b\x7b\x86\x51\xb7\x9c\x56\x74\ +\xf7\x2b\x76\xd1\xb7\xc5\x4f\x2e\xf6\xc3\x69\x2b\x0f\x75\x73\xb8\ +\xd5\x60\x93\x85\xfc\x03\x7b\xa2\x3f\xe3\x1b\x47\x2d\x2b\x73\xf4\ +\x15\x17\x11\x8c\x6b\x03\x6b\x82\xb0\x97\x53\xfe\xd0\x34\xf7\x4e\ +\xbf\xb4\x99\x59\x96\xea\x16\x75\xfe\xab\x82\x50\x7c\xea\x9d\xa2\ +\xea\x0d\x7b\xa9\xeb\x51\xab\xa0\x9e\xde\xf1\xe4\x55\x6f\x34\x6e\ +\x7f\x7d\x4b\x1b\x3a\x71\xc5\xec\x90\xea\xb9\x10\x58\x5c\x5e\xc8\ +\xa8\xe6\x24\xda\xbb\xbb\x02\x6b\x95\x69\x12\xb7\xdb\x20\x91\x89\ +\x2d\x23\x2c\xa1\x80\x1e\xe9\xcd\x75\x8e\xa9\xd0\xc6\xad\xd2\x97\ +\x31\x2c\x72\x2c\xdf\xce\x22\x67\xb1\x1e\x5f\x3a\xe3\x9a\x7a\xc9\ +\x6b\x77\xb9\xf6\x89\x81\xe5\x4a\xf9\x63\xb7\xcb\x9a\x27\xdc\xea\ +\xc5\x4e\x1f\x91\xd6\x2d\x25\x0f\x73\xc1\xcd\x4d\x44\x41\xef\x55\ +\x7d\x26\x5c\xbc\x52\x2a\xfb\xac\x01\xe4\xd5\x9a\xdf\x8d\xcc\x7e\ +\x13\xc8\x1f\x3a\x51\x76\x42\x6a\x9d\x12\x50\x90\xbd\xe9\xea\xca\ +\x23\x8f\x26\xa3\x23\x66\x7d\xb8\xad\xae\x24\x93\x2b\x0a\x9c\x16\ +\x3e\xf1\x3e\x42\xac\xa7\x5d\x89\xb5\x6f\x60\xf3\x99\xe6\x00\x76\ +\xf3\x34\xd3\x53\x26\x48\xd3\xc2\x60\x25\x56\xf7\x33\xd9\xbe\xb4\ +\x49\x70\xab\x1f\x87\x6e\xa4\xf9\x13\xeb\x4d\xcc\x12\x4d\xfc\xe3\ +\x63\x9c\xd3\xee\x6e\x29\x27\x64\x2e\xb1\xa7\xea\x9a\xfe\x9c\x6d\ +\x63\xd4\xe6\xd2\xa5\x07\x1b\xa1\x5c\xef\xfa\x9e\xe2\xa2\x3a\x7b\ +\x4b\xd7\xfa\x47\x51\x8d\x6e\xb5\x89\x35\x0b\x29\x7d\xd7\xf1\x41\ +\xcc\x7e\x8c\xa4\xfe\xda\xbc\x2d\x8a\xed\x05\xa4\x19\xf2\xc3\x52\ +\xb3\x5b\x89\x94\xc5\x24\x6a\xe8\x3b\xe4\x12\x69\xf0\x74\x57\xd4\ +\x49\xed\x14\x8e\xb9\xd4\x6f\xb5\x5f\xb1\x69\xda\x73\x15\x8e\x56\ +\xdf\x72\xe0\xe0\x85\x1e\x40\xd3\xde\x9f\x6d\x42\x1b\xb4\x49\x10\ +\x2d\xb4\x4b\x85\x77\x90\x17\x76\x3f\x4a\x93\x6d\x1a\x08\xe5\x69\ +\x3c\x30\x80\x9c\x29\x39\x24\x52\x2f\x64\xd1\x3e\xe8\x24\xc0\xf9\ +\x9c\x9a\x8b\x8b\xbe\x52\x2c\xb2\x47\xd3\xe0\x91\x6a\xb7\xbc\x66\ +\x4c\x39\x07\x3d\xa8\x91\x7e\x7d\xea\x12\xc2\xf0\xb3\xec\x61\x83\ +\x53\x05\xb7\x26\xea\xa2\x95\x9c\x8e\x14\x45\xea\x28\x15\x19\xb1\ +\xdb\xb5\x72\x6e\xa1\x08\xfd\x51\x73\x72\xe8\x4c\x71\x20\x66\x20\ +\xe0\x0d\xbd\xab\xab\x6a\x93\x2f\x80\xcb\x9f\x7b\x6d\x71\xcd\x5a\ +\x43\x73\xa6\x6b\xb7\x42\x60\xea\xb1\x38\xc6\x3b\x12\x70\x39\xae\ +\x79\x6e\x74\x8b\x60\x75\x6d\xf8\x3a\x97\xb1\xcd\x59\xf5\x7e\x97\ +\xb9\x69\xe4\xf1\x26\x8e\xe9\xcf\x7f\x23\xc8\xae\x84\x67\x45\x91\ +\x50\xb8\x0c\xdc\x00\x7c\xeb\x86\x7b\x01\xd4\xc2\xa5\xf5\x8b\x15\ +\xdb\x22\xef\x04\xf1\x82\xb5\xd2\xf5\x3d\x45\x07\xfa\x52\xc8\x06\ +\x66\x54\x8b\x9e\xfc\xe3\x8f\xc2\xa9\x2c\x9e\x9a\xa3\x8e\x78\xdc\ +\xf2\x5f\xc9\x6d\xa6\x77\x51\x47\x2c\xa8\x18\x6e\x0b\xdc\x53\x65\ +\xbd\xb8\x79\x52\x35\x00\x93\xc9\xf9\x53\xb8\xc0\x03\x24\xe4\x9e\ +\xe6\xb6\xe6\xa6\x4d\xae\x26\x46\xe4\x18\x55\x8d\x3e\x82\x8a\xd5\ +\x19\x58\x65\x7b\x7a\xd1\x42\x6f\xc1\x92\x85\x45\x14\x57\x90\x39\ +\xcb\xcf\x4f\x7f\x42\x5b\xff\x00\x7b\xfc\x46\xa4\xcd\x45\xe8\x1f\ +\xd0\x90\x7f\x7b\xfc\x46\xa3\x9f\x59\xbe\x68\xd2\x44\x68\x11\x9a\ +\x4d\x9e\x09\x52\x5c\x7d\x79\xaf\x5b\x8b\xa8\x8e\x2c\x30\xe5\xe5\ +\x22\x9e\x0b\x2e\x05\x60\xe3\xb9\xfd\xb5\x0c\x2f\x6f\x6e\xae\xae\ +\xa1\xb7\x78\xd0\x5b\x00\x09\x65\xce\xe6\xe7\xf8\x53\x5b\xad\x4a\ +\xe6\xee\xc2\xca\x58\x8f\x84\x64\x98\x23\xff\x00\xb5\x9f\xdc\x6b\ +\x6f\xad\x82\x4d\xd3\xff\x00\x74\x2b\x2c\x94\x60\x62\x91\x80\x4a\ +\xb0\xa8\x9d\xd5\xa4\xf3\x65\x18\x15\x0b\x71\xab\xdd\x5b\xdc\xc6\ +\x04\xd0\x48\x86\x5d\x8c\x88\xac\x70\x3f\xda\xed\x9a\xa6\x4e\xa2\ +\x18\xd2\x94\xfc\x8d\xe8\xb0\x60\x62\x91\xb8\xb7\x4b\xa8\x5a\x19\ +\x41\x28\xc3\x07\x07\x14\x5c\x19\x7e\xce\xfe\x06\x3c\x5d\xb9\x4c\ +\xf6\xcd\x41\x0e\xa3\x24\x59\xfb\xab\xef\x7f\xd6\x3b\xfb\x9c\xe3\ +\xf7\xd2\xcd\xd4\x63\xc6\xaa\x7e\x41\x93\x8c\xd0\x59\x40\xbb\xd9\ +\x63\x8d\x40\x50\x49\xed\x4b\xd5\x5f\x52\xbb\x9a\xf7\x45\xb9\x99\ +\xd4\x08\x4c\xa0\x45\xea\x40\x3d\xea\x41\x2f\xae\xe0\xd5\x05\xb5\ +\xc9\x89\x91\xa3\x2e\x36\x02\x31\x8c\xff\x00\x0a\x94\x7a\xb8\xf2\ +\xaa\xd6\x82\xc9\x8a\x4f\xc6\x8f\xc6\xf0\x77\x8f\x13\x19\xdb\xe7\ +\x8a\x82\xfd\x2b\x7c\xda\x7b\x6a\x2a\x62\xf0\x43\xff\x00\x34\x54\ +\xe7\x19\xc7\x7f\x5a\xcb\x5c\x2a\xeb\xc6\xeb\x6f\xba\x2c\xbc\x4c\ +\x79\xe3\x39\xa6\xfa\xc8\xea\xbf\xd4\x2b\x2c\x18\xad\x1e\x44\x8e\ +\x32\xee\x42\xa8\x19\x24\xf9\x54\x1d\xb6\xad\x77\x2f\x83\x2b\x02\ +\xe9\x23\xe1\xa3\x58\x5b\xdc\x19\xe0\xee\xec\x6a\x43\x58\xe7\x48\ +\xb9\xff\x00\xbb\xad\xc7\xa8\x8c\xf1\xb9\xc3\xc0\xc7\x88\xea\xf1\ +\xab\xa1\xca\xb0\x04\x1f\x91\xa4\x92\xd2\x14\xba\x7b\x85\x8c\x78\ +\xae\x30\xcd\xf2\xa8\x98\x2f\x27\x29\x61\x63\x6c\x55\x19\xad\xd5\ +\xd9\xd9\x49\x00\x62\x93\x97\x53\xb9\x7d\x36\xfc\x6e\x45\xb8\xb5\ +\x7d\x85\xc6\x47\x04\xe3\x23\xe7\x58\xfa\xac\x6d\x6d\x76\xff\x00\ +\x16\x22\xc4\x08\x23\x20\xf1\x46\x3d\x69\x8e\x99\xf6\x83\x68\x86\ +\x77\x47\x0c\x8a\x57\x6a\x90\x7b\x79\xd3\xfa\xea\x84\xf9\x45\x49\ +\x1a\x0a\x28\xa2\xb6\x01\x41\xed\x45\x07\xb1\xa4\xfb\x01\x59\xb1\ +\x28\xd0\x95\xcf\x21\x9f\x8f\xef\x1a\xda\x67\x9a\xda\x26\x7b\x79\ +\x36\xe3\x96\x53\xc8\xfc\x29\x1b\x58\x76\xdb\xb4\xea\x7d\xe1\x23\ +\x82\x3e\x5b\x8d\x3d\xc0\x91\x48\xcf\x0d\x5f\x27\x1e\xe2\x52\x3d\ +\x95\x91\xb2\xcd\x25\xc6\xd3\x24\x9b\xd7\xd3\x1c\x54\xa6\x97\x29\ +\x7b\x5d\xa4\x92\x50\xed\xe6\xa2\x15\xb0\x0a\x9f\xba\x48\xa9\x1d\ +\x1f\xbc\xc3\xe8\x6b\x38\x9b\xe7\x65\xa7\x5c\x47\xbe\x18\x4d\x4a\ +\x39\x7c\xdc\x60\x8a\xc6\xb6\xa6\x5d\x3f\xc2\x0c\x55\x5d\xc2\xb9\ +\xcf\x61\xdc\xf3\x5b\x02\x5b\x55\x89\x31\xc2\xa1\x63\x48\x6b\x76\ +\xa2\xfa\xd6\x58\x24\x9a\x48\xad\xd5\x37\xbb\x46\xc5\x4b\x1f\x21\ +\x91\xc8\xae\xe8\xaf\x64\x88\x37\x4d\x15\xbe\xa6\xb6\xd3\xed\x74\ +\x53\x71\x63\xe0\x45\x77\x6e\x9f\xaa\x70\x02\x93\xf2\xc8\xae\x09\ +\xa5\xf5\xd4\xfa\x37\x57\x9d\x56\x44\xdd\x1b\x91\x1d\xcc\x4b\xc6\ +\xf8\xf3\xdc\x0f\x51\x5e\x82\xb7\xe9\xd8\xef\x34\xc2\x96\xd1\x25\ +\x94\x65\x70\xb9\x50\xe7\x3f\x30\x6b\xcf\x3e\xd2\x3a\x46\x4e\x95\ +\xd5\xd0\xc9\x3a\xba\xdc\xa9\x68\xd9\x57\x00\xf3\xcf\x1e\x55\x2c\ +\x29\x72\xd9\xd5\x19\xd4\x1d\x1e\x8b\xd0\xfa\x93\x4a\xea\x3b\x48\ +\xe6\xd3\x2f\xa2\x98\x1e\x4a\x87\x01\x81\xf9\xaf\x71\x5c\xa7\xab\ +\xac\x0e\x85\xd5\x73\x19\x06\x61\xb9\x7d\xe8\xc7\xd3\xeb\x5c\x5a\ +\x09\xae\x2d\x9c\x4d\x6d\x3c\xb0\xb8\xec\xd1\xb9\x53\xf9\x8a\x9f\ +\xb4\xea\xed\x56\xed\xe3\xb7\xd5\x2f\xe5\xba\x85\x77\x6c\xf1\x9b\ +\x73\x03\x8e\x3d\xe3\xe5\x57\xcb\x8a\xd6\x83\x0e\x74\xa5\x4f\xc9\ +\xda\xfa\x75\xc4\xd6\xb1\x12\x41\x2a\x36\x12\x3e\x5e\x62\xae\x10\ +\x12\xfd\xc6\x2a\x81\xd0\xf7\x09\x71\xa5\x40\x76\xb2\x93\xc6\x7e\ +\x75\x7f\xb7\xdc\x1b\x94\xe4\xf9\x66\xb9\xa0\xa8\xa6\x5e\xe4\x85\ +\xa5\x62\xee\x22\xce\xde\x5c\x63\x35\xa4\x12\x85\x7c\x79\xfa\x53\ +\xe9\xd5\x64\x8b\x23\xbd\x6d\x6c\x9d\xec\xa4\xeb\xdd\x5b\x65\xa1\ +\xcf\x1d\xaa\x44\xd2\xdd\xca\x37\x2c\x4a\xbc\x85\xfe\xb1\xc5\x2d\ +\x6b\x61\xd4\xfa\xc5\xa4\xee\x5e\x3d\x36\x44\x72\xab\x1c\x8a\x58\ +\x95\xf5\xa7\x77\xbd\x3c\xbf\x68\x6d\x4e\xca\x38\x86\xa5\xe0\x18\ +\x96\x59\x23\xcf\x1e\x87\xe5\x54\xed\x4f\x54\xeb\x7b\xf9\x5e\xca\ +\xf3\x51\x8a\xc2\xdc\xa0\x85\x85\x94\x44\xbb\x0f\x32\x18\xf6\xad\ +\xa8\xdf\x93\xae\x1c\xa5\x51\xc6\x97\xe6\x5d\x57\xa4\x35\x30\x2d\ +\xb1\xae\xc9\x9d\xd8\x7d\xd0\xa8\xc8\xc7\xdd\x14\xbc\xbd\x2d\xa9\ +\x8b\x95\x48\xf5\x9f\x71\x81\xdf\xb9\x08\x6c\x0f\x4e\x79\xae\x4f\ +\x77\xd2\x7a\xcd\xc3\x45\x35\xb7\x58\xdf\x09\x2d\xf8\xb7\x12\xc8\ +\xfe\xe7\xe3\x9a\x67\xfc\x98\xeb\x15\x9c\x5c\x5e\x75\x7d\xc0\xbb\ +\x41\x88\x84\x57\x2f\x21\xc7\xe0\x78\xaa\x70\x66\x25\x0e\xa7\x95\ +\x23\xaa\xdc\xf4\xc5\xec\x33\xbc\x47\x5e\x46\xb9\x28\x5e\x18\x9d\ +\x40\x66\xf5\x3d\xea\xab\xd4\x93\xeb\xbd\x1d\x3c\x2f\x77\x3a\xdc\ +\xdb\xba\x82\xef\x12\xe3\x61\xaa\x55\xcf\x4b\xf5\x2c\x97\x42\xfa\ +\xeb\x5b\xbc\x9a\xfe\x25\xdb\x04\x8f\x23\x1c\x0f\x4c\x93\xdb\xe5\ +\x57\x8d\x0b\x48\xea\x4d\x43\x4f\x54\xea\x0d\x4e\x1b\x98\x87\x75\ +\x29\xb9\xbf\x13\xe7\x58\x94\x5f\xc9\x78\x7a\xb8\xdf\xed\x2a\x89\ +\xcd\x0a\xe5\xb5\x5b\x3f\xb5\x85\x08\xd8\xc9\x00\x90\x7f\x0a\xb5\ +\x40\x08\xd3\xf7\xb7\x20\xf6\xf2\x34\xce\xca\xce\x28\x82\x2c\x4b\ +\xee\xe3\x07\x8e\xd4\xf2\xfa\x45\x82\xdd\x10\x9e\x07\x7a\x9d\x24\ +\x72\xe5\x92\x72\xf6\x95\x8d\x7a\xe5\x61\xb1\xb8\x97\x3e\xea\x46\ +\x6b\x86\xeb\xfa\xe2\x1d\x26\x4d\x27\x4f\x4d\xad\x23\xab\xdd\x3b\ +\x76\x63\xdc\x2a\xfc\xab\xac\x75\x95\xd8\xb5\xe9\xcb\x82\xd8\xcb\ +\x2f\x20\xf9\xe7\xca\xb8\xcb\x5b\x26\xa1\xaa\x00\xa3\x2b\x2c\xc0\ +\x60\x79\xb1\xe2\xa7\x8d\xae\x4e\x4c\x74\xdc\x29\x18\xd0\xf5\xad\ +\x43\xa3\x75\x65\xf1\x61\x9a\x32\x57\x32\xc2\x0e\xd3\x22\x30\xed\ +\x9f\x20\x6b\xa8\xf4\x7e\xad\xab\x75\x5e\xa5\xfa\x42\xe2\xcd\xe4\ +\x8a\xdc\x81\x6d\x6b\x1e\x44\x51\x9f\x26\x72\x7b\x91\xeb\x55\x1d\ +\x6b\xa4\x2f\xf5\xcd\x1e\xe3\x55\xb2\x47\x9e\xe3\x4f\x75\x8b\x6c\ +\x7d\xda\x3c\x73\xf8\xad\x42\xf4\xe7\x58\x6b\x1a\x55\xd2\xc6\x83\ +\x73\xe7\x9c\x86\x56\xcf\xcf\x15\xbc\x89\x65\xc7\xcd\x2d\x98\x83\ +\xa9\xb8\x33\xd4\x9a\x64\x6f\x18\x91\xe7\x70\xf3\x91\xef\x11\xd8\ +\x7c\x80\xa7\xec\xd9\x1b\x01\x1b\x8f\x04\xfc\xab\x98\xe8\xba\xf7\ +\x53\x5d\xdb\xa7\xd8\x34\xc6\x96\x49\x0f\xbe\x49\xc0\x1f\x3c\xb5\ +\x5e\x74\xbb\x5d\x4d\xe4\x0d\xa9\x49\x0a\x90\xb9\xf0\x60\x24\xfe\ +\x6d\xe7\xf8\x54\x31\xc9\xd5\x24\x47\x36\x3e\x32\xdb\x24\xc0\x68\ +\x48\x58\xd0\xbc\x67\xfa\xbc\xe2\x8a\x7b\x6e\xb8\x8b\x71\xfb\xdc\ +\x9a\x2b\xba\x38\xad\x59\xcf\xc8\xe7\x54\x51\x45\x78\xb2\x05\xdb\ +\x40\x27\xf4\x0c\x04\x7b\xc7\xde\xc7\xcf\xde\x35\x10\x82\xf2\x26\ +\x79\xe3\x8e\x51\x75\x24\x9b\x8c\x26\xdc\x91\xdf\xfa\xc6\xa6\x7a\ +\x7f\xfa\x12\xdf\xfb\xdf\xe2\x35\x20\x65\x8c\x63\x2e\xbc\xfc\xeb\ +\xd5\xc7\x02\xcb\x83\x1d\xca\xa9\x22\x9e\x06\x12\x69\x29\x2b\xbc\ +\xc9\x24\xb0\x49\x2a\xe2\x41\x1b\x0f\x7b\xf3\xad\xe6\xd2\x2d\xa5\ +\xb2\x8e\xd9\x43\x46\xb1\x9c\xa1\x43\xca\x9f\x5a\x7d\xbd\x77\x6d\ +\xdc\x33\xe9\x9e\x6b\x0d\x22\x2f\x05\x80\x27\xb0\x24\x0a\xea\xf4\ +\x31\x53\xd0\xcd\x20\x89\xa1\x81\x51\xa4\x92\x52\x3e\xf3\x91\x9a\ +\x8c\x3a\x0c\x1b\x59\x3c\x79\xc2\x78\x9e\x28\x50\x47\x0d\xf9\x54\ +\xb9\x65\x18\xc9\x03\x3d\xb3\x58\xf1\x63\xdb\xbb\x7a\xed\xf5\xc8\ +\xc5\x13\xc5\x8a\x75\x19\x78\x13\x46\x51\x76\x46\xa9\x92\x70\x31\ +\x93\xe7\x4c\x7f\x44\x5b\x7f\xa5\x70\x7f\xd2\x3e\x2f\x97\xd2\x9f\ +\x2b\x2b\x8c\xa9\x04\x7a\x83\x4d\xbc\x79\xff\x00\x48\xf8\x3e\x08\ +\xf0\x3c\x3d\xde\x26\xee\x73\xf4\xad\x64\x8e\x36\x97\x25\x60\xc4\ +\xe6\xd2\xe0\x9b\x4f\x5b\x22\x5d\x62\x5c\x60\xa9\x19\xfd\xb4\xa3\ +\xd8\xc7\x25\xf2\x5d\xb1\x6f\x11\x14\xa0\x1c\x63\x06\x97\xf1\x63\ +\xe0\x6f\x52\x4f\x6e\x47\x35\xa1\xbb\x85\x6e\x45\xb9\x71\xe2\x15\ +\xdd\x8f\x95\x65\xc3\x0a\x5e\x3c\x7e\x9d\x86\x32\x3a\x24\x04\x78\ +\x5e\x2c\xdf\x66\xdd\xbb\xc0\xdc\x36\xe7\xf7\xd2\xe7\x4f\x80\xde\ +\x9b\x93\x9d\xc6\x3f\x0b\x67\x1b\x71\xf4\xa7\x46\x45\x52\x01\x60\ +\x18\xf9\x13\x46\xe5\x52\x32\xfc\x91\xc0\x26\x85\x8b\x0a\xf0\x80\ +\x63\x06\x96\xb6\xf8\x48\xee\x67\x10\x83\x91\x16\xe1\x81\xf2\xce\ +\x33\x8f\xc6\x9d\xdc\xc0\x97\x56\xcf\x03\xe4\x2b\x8c\x1c\x77\xad\ +\xcc\x91\x85\xdc\x5d\x70\x7c\xf3\xc5\x64\xba\xa8\xdc\x48\x03\xd4\ +\x9a\xd4\x61\x8e\x31\x71\x5d\x84\x30\x7d\x26\x26\x5b\x76\x8e\x49\ +\x23\x92\x04\xd8\x92\x29\x19\x23\xe7\xe5\x5b\x26\x97\x6e\x96\xb2\ +\xc0\x77\xb7\x8d\xcb\xb1\x6f\x79\x8f\xad\x38\x9e\xea\x1b\x78\x7c\ +\x59\x18\x6d\x27\x03\x1e\x74\x9c\xd7\x32\xad\xcd\xba\x45\x10\x92\ +\x29\x09\x0e\xe1\x87\xbb\xfc\x6a\x6e\x38\x13\xf1\xff\x00\xdd\x0c\ +\x2c\xad\x3e\xc7\x1e\xcf\x1e\x59\x54\x0c\x0d\xe4\x71\x8f\x4a\x79\ +\x49\x19\xa3\x19\xcb\xa8\xe7\x04\x64\x77\xad\x8b\x00\x06\x58\x0a\ +\xb4\x78\xc5\x52\x03\x7a\x2b\x45\x75\x6c\xe1\xb3\x8e\xfc\xd6\xf5\ +\xb4\xed\x5a\x00\xa0\xf6\xa2\x83\xda\x87\xd8\x0a\xed\x9a\x62\xd5\ +\x7f\xab\x23\x49\xfb\x19\xab\x78\x3e\x02\xbf\xd5\x38\xac\xdb\xff\ +\x00\x45\xc0\x7f\xed\xa4\xff\x00\x13\x52\x71\x30\x41\x31\x27\x8d\ +\xc7\x9a\xf9\x6b\x51\x5f\x91\x48\x6d\x0c\x30\x3c\x49\xb8\xfb\xd5\ +\x2b\xa4\xc7\xfa\xb7\x97\xc9\xdb\x8f\xc2\xa2\x00\x62\x18\x8e\x5e\ +\x46\xe0\x7d\x6a\x78\x01\x67\x63\x1c\x43\xe3\x0b\xc7\xcc\xd6\x30\ +\xab\x7c\x8a\xe4\xd2\xa0\xb3\x26\x5d\x42\x79\x3b\xa8\x1b\x41\xa5\ +\xae\xf6\x32\x33\x04\x0e\x57\x1b\xd4\x1e\x71\x49\xdb\x32\x5a\x59\ +\x49\x3b\x90\x01\xe4\x1f\x5a\x88\xd3\xef\xfc\x3d\x45\xa4\x91\x8e\ +\x27\xe5\x81\x1c\x0f\xa5\x76\x29\xa8\x25\x19\x79\x25\xc6\xed\xa2\ +\x46\xc2\xea\x21\xe2\x47\xe2\x2e\x03\x64\x77\x1c\x57\x30\xf6\xe1\ +\xa2\x7d\xbb\x4a\xb4\xbc\x8d\x55\x9a\xde\x62\x1c\x86\xe4\x23\x57\ +\x52\xb8\xb7\x58\xae\x3c\x44\x01\x81\xe7\x6e\x38\xaa\xbf\x5c\xfe\ +\x81\x8f\x46\x92\x4b\xd6\x5d\xec\xa4\x2c\x68\x41\x67\x1e\x5c\x79\ +\x54\xa6\xdc\x7b\x1b\xc5\x4e\x5b\x3c\xa3\x77\x07\xd9\x5d\xe3\xdc\ +\x08\x1e\x94\xc8\x9c\x76\xa9\x0d\x5c\x46\x97\x72\x2c\x64\x95\x0d\ +\xc1\xdd\x9c\xd4\x78\xe5\xb9\xae\xec\x6a\xe3\x6c\xc6\x54\xa3\x37\ +\x47\x72\xf6\x75\xa8\xc7\x73\xa5\xc4\x03\x7c\x2b\xc9\xf4\x6a\xe9\ +\x10\x4a\x01\x0c\x4e\x7c\xbe\x95\xe7\xaf\x67\xda\xb3\xd8\x5f\x9b\ +\x76\x7c\x47\x2f\x09\xcf\x67\xf2\x35\xdc\x74\xeb\xcf\x1e\x00\x58\ +\x8c\x91\xc6\x3c\xfe\x75\xc5\x91\x71\x9d\x1d\x8b\xdd\x05\x22\xc2\ +\x08\x52\xad\x91\xba\x9f\xc3\x20\x92\x2e\xfe\xf5\x42\xf8\xa9\xc0\ +\xf3\xfd\xd5\xbd\x8d\xd9\xde\x55\xb8\x7f\x2f\x2a\x13\xa6\x63\x8e\ +\xac\x94\x65\xf9\x0a\x6d\x3d\xa4\x13\x80\xd3\x22\x92\xbe\x78\xa7\ +\x51\xc9\x95\x01\xc8\x04\xf6\xf9\xd0\xc0\x1e\x08\xc0\xf5\xad\xc7\ +\x5d\x87\x16\xd0\xd4\x58\x59\xac\x21\x58\x2e\xdf\xa7\x22\x9b\x7e\ +\x8f\xb2\x50\xc1\x3d\xd4\xfa\x53\xb9\x8a\x1f\x77\x61\xdd\xf5\xa4\ +\x8f\x3d\xd4\x7e\x55\x5e\x4c\xda\x9b\x5e\x46\xad\xa6\xd8\xb2\xf0\ +\x0b\xe3\x93\xbb\x91\x4e\x16\x15\xe3\xe4\xbc\x7c\xab\x06\x45\x1e\ +\xe1\x5c\x0f\x4a\x55\x59\x7b\xf9\x54\xe4\xe8\x4d\xb9\x0b\x42\xe1\ +\x5b\xfb\x35\x1b\xa9\xdc\x89\xe6\x31\x86\x3b\x47\xc4\x73\x49\xde\ +\xea\x26\x04\x6c\x60\x71\xc6\x3d\x6a\x1e\xe2\xec\xc5\x66\x5d\xf9\ +\x91\xf9\x35\x09\xce\x9d\x0e\x31\x77\x65\x17\xda\xa6\xad\xe0\xe9\ +\x91\xdb\xc4\x46\x65\x93\x19\x3e\x82\xa9\x7d\x3f\x67\x73\x3c\x1f\ +\x6c\xb6\x90\xf8\x96\xd2\x09\x32\x39\x3c\x73\xda\x9b\xf5\xc6\xb4\ +\x35\x5e\xa0\x29\x1b\x16\x8a\xdf\xdc\x07\x3d\xdb\xcc\xd4\x9f\x41\ +\x6a\x26\xcf\x51\x81\xf7\x28\x53\xb9\x48\x6f\x33\xe9\x5b\x9c\x5c\ +\x30\xd8\xe1\x34\xf2\x34\x8e\xd9\xec\xee\x48\x12\xda\xe2\x78\xa5\ +\x49\x52\xf6\x4f\x18\x91\xe4\x7d\x08\xf2\xa9\x6d\x5b\xa4\x34\x63\ +\xa9\x0b\xf1\x61\x12\x4c\xe7\x26\x48\xd7\x07\x3f\x85\x47\x68\xdd\ +\x35\x6b\x15\x90\xbc\xd3\xe5\x96\xc1\xe5\x7d\xd3\x45\x1f\x28\x33\ +\xfd\x93\x56\x78\x63\x92\x5b\x76\xb6\xb9\xba\xdd\xb4\x70\xdb\x40\ +\xfc\x6b\x9d\x27\xc1\xa6\x4b\x24\xb8\xce\xd0\x8e\x9a\x8b\x0c\xc6\ +\x10\xe4\x29\xfb\xb9\xcd\x4a\x27\xbb\x34\xbf\xda\x5a\x8a\x8d\x0c\ +\x0a\x57\x1b\x5d\x0f\x07\xfa\xc2\xa4\xe3\x95\x64\x09\x27\x91\x18\ +\x6f\x51\x5b\xc4\xf5\x44\xb2\x6d\xda\x24\x40\xc4\x20\x51\x5a\xab\ +\xe6\x15\x27\xca\x8a\xed\x6d\xbe\xc7\x3b\x39\xd5\x14\x51\x5e\x2c\ +\x91\x78\xe9\xef\xe8\x48\x3f\xbd\xfe\x23\x50\xf0\x5a\x43\x26\x83\ +\x75\x3b\x46\x1a\x45\x66\xda\xdc\xe4\x63\x18\xc7\xa5\x4c\x74\xf7\ +\xf4\x1d\xbf\xf7\xbf\xc4\x6a\x50\x01\xe9\x5e\xb3\x1e\x05\x97\x0c\ +\x2f\xf8\x7f\xb1\x4f\x05\x62\xe2\x05\x86\xdb\x4a\xba\x55\x6f\x1e\ +\x49\x23\xf1\x24\xe4\xb1\x04\x64\xe4\xd6\xb2\x08\x05\xe6\xa5\xfa\ +\x45\x54\xb7\xff\x00\x24\xb8\x27\xdd\xe7\xb7\xa1\xfa\x55\xa7\x03\ +\xd0\x56\x0a\x29\x20\x95\x04\x8e\xdc\x56\x9f\x47\xfc\x2f\xfd\xa0\ +\xa2\xac\xf1\x4e\xf6\xba\x4c\x73\x99\x16\x53\x21\x5c\x9e\x18\x2e\ +\x7c\xfd\x0d\x29\xa9\xd9\xc7\x65\x25\x9a\xc6\xa8\x96\x9b\xcb\x36\ +\xf0\x59\x77\x1e\xdb\xb9\xed\x56\x6c\x0f\x4a\x0a\x83\xdc\x03\x4b\ +\xe8\x97\x16\xaf\x7a\xfd\x02\x88\x9d\x19\x55\x7c\x72\x97\x11\x4a\ +\x85\x81\x0b\x10\xc2\xa7\xc8\x73\x49\xbf\x1d\x4c\x70\x3f\xff\x00\ +\x54\xfa\xfa\xd4\xd0\x50\x06\x00\x14\x60\x7a\x0a\xb7\xd3\xde\x35\ +\x0b\xec\x14\x53\x92\x04\x8f\x43\xb6\xb9\x09\xfa\xe1\x3f\xc7\x9e\ +\x47\x27\xf6\x7c\xa9\xe5\xd2\xd9\xc3\xd4\x2e\xd7\xa8\xbe\x13\xc3\ +\x90\x58\x13\x96\xcd\x59\x76\x8c\x63\x02\x82\xaa\x71\x90\x0e\x2a\ +\x3f\x45\x49\x53\xed\x5f\xa0\x51\x53\x9d\x15\xaf\xef\x52\xf2\x5b\ +\x78\xd8\xb6\x51\xa7\x42\x70\xa7\xb6\xd3\x91\x8f\xc2\x9c\x4f\x00\ +\xb9\xbf\xd3\x21\x79\x1d\xd5\xa2\x60\xcf\xca\x96\x00\x79\xf9\x8c\ +\xd5\x90\xa2\x93\x92\xa3\x34\x6d\x1e\x82\x8f\xa2\xbe\xef\xcf\xf7\ +\xb0\xa2\xb1\x7f\x6c\x96\x57\xf6\xf1\x7e\xae\x3b\x31\x19\x09\xe3\ +\x29\x64\x0d\x93\xdf\x9f\xa6\x2b\x49\x60\x8c\xe9\xea\x0d\xf4\x65\ +\x52\x72\x53\x72\x1f\x0c\xf0\x3d\xd2\x39\xe2\xad\x45\x54\xf7\x00\ +\xd1\xb1\x71\x8d\xa3\x14\x4b\xa2\x4d\xba\x7a\x61\x45\x46\xe1\x92\ +\xe3\x45\xb7\x9d\xa0\x48\xd5\x2e\x46\x76\x03\xb7\x6f\x99\x03\xca\ +\x9e\x4c\xd6\xcd\x7d\xa5\x7d\x8f\x6f\x82\x1d\xfe\x0e\x06\x78\xab\ +\x09\x45\x23\x05\x46\x3b\x63\x15\x9d\xaa\x3b\x01\x4d\x74\x6d\x79\ +\xf8\xfd\x02\x8a\x99\xb6\x8a\x5b\x6d\x5e\x67\x40\x5d\x26\x6d\x8c\ +\x73\xc7\x3d\xc5\x2b\x77\xc2\x69\xd3\xdc\x28\x99\x5a\x10\xbe\x1b\ +\xb6\x06\xec\x77\x27\xb5\x59\xb6\x81\xc6\x05\x46\xdf\x69\x4d\x73\ +\x76\x97\x09\x2c\x60\xaa\xed\x09\x2c\x7b\xd4\x7c\xf1\x91\x53\xcb\ +\xd2\x4a\x31\xf6\xff\x00\xbb\x0a\x1a\x69\xc6\x0d\x22\xc0\xc9\x2e\ +\xd6\x32\x4b\x8c\xc1\x97\x03\x3d\xb9\xa9\xef\x2a\x61\xa6\xe9\xa2\ +\xc6\x39\x32\xe1\xd9\xdb\x71\x0a\xb8\x51\xf4\x1e\x54\xfe\xba\x7a\ +\x68\x4a\x30\x49\x8c\xcd\x07\xb5\x14\x1e\xd5\xd0\xfb\x01\x5d\x8a\ +\x40\xba\x7c\x2b\x9e\xcf\x23\x7f\xff\x00\x4d\x4d\xa5\x94\x08\xd6\ +\x3f\x32\x72\xf4\xb4\x76\x52\xc9\xa6\xac\xf0\x9d\xce\xad\x26\x63\ +\x3c\x83\xef\x35\x21\x6d\x6e\x31\xe2\xdc\xb1\x66\x61\xc4\x63\xb9\ +\xf9\x1a\xf9\x2f\x95\x45\x7d\x8b\xe3\x69\x46\xc7\x36\x10\x02\x7e\ +\xd5\x2f\xbb\x12\x7c\x00\xf7\x34\xe1\xa4\x69\xdb\x79\x1d\xf8\x45\ +\xf4\xad\x49\x33\x11\xe2\x0c\x28\xf8\x23\x1d\xa9\x6b\x60\xbb\xcc\ +\xd2\x1c\x24\x7d\x9b\xca\xab\x08\xfe\xea\x33\x26\x31\xd4\x25\x33\ +\xdc\x47\x63\x11\x3e\x14\x64\x09\x08\x19\xfa\xd2\xdd\x40\x6c\xf4\ +\xed\x0e\x5b\x89\x0c\x70\xa4\x20\x1d\xc4\x63\xf0\xe2\x99\xac\xf3\ +\xda\xea\x12\xb4\x24\x15\x79\x72\xc7\x19\x04\x7d\x6a\x81\xed\x57\ +\xae\xb5\x7b\x2d\x46\xdf\x45\xd1\xec\x9a\x5f\x10\x2c\xbe\x29\x8b\ +\xc4\x2d\xf2\x51\xd8\xe2\xb4\x9a\x69\xfc\xb3\x71\x4e\xd5\x19\xff\ +\x00\xa4\x4d\x52\xfc\x18\x2c\x11\x84\x31\xbe\x3c\x59\x10\x8c\x8f\ +\x21\x93\xc5\x54\x7a\x8f\x47\xea\x8d\x79\xda\x68\xa0\xbb\xba\x56\ +\xef\x2b\x00\x91\x8f\xfd\x29\x3d\x33\x5a\xeb\x1b\xab\xd4\x83\x58\ +\xb3\xbd\x11\x4c\xfe\xe0\x96\xdb\x68\x66\xfa\x62\x99\xf5\x2c\xdd\ +\x5d\x3c\xd2\x59\x5a\x9d\x61\xe2\x43\xb5\xa2\x8a\x36\x01\x78\xc8\ +\x07\x15\x28\xc6\x5c\xe9\x9d\xdc\xa2\xa1\xca\x28\xe7\x7a\x95\x9b\ +\x58\x5e\x49\x6f\x39\x43\x32\x36\xc2\xa8\x72\x07\xcf\x3e\x74\xda\ +\xde\x16\xb9\x9a\x38\xa3\x52\xd2\x3b\x84\x50\x3b\x9a\x52\xe6\xce\ +\xea\xde\x73\x15\xcc\x72\xc5\x29\x20\x95\x90\x60\x9c\xd2\xfa\x7c\ +\xef\xa4\xeb\x31\x5c\x18\xcb\x34\x0c\x58\x03\xc7\x38\xaf\xa6\x9d\ +\x47\x47\xcd\x95\xb6\xdb\x24\xfa\x7a\xd1\xa4\xbb\xb8\x80\x7b\xb2\ +\xa0\x2e\x87\xd0\x83\x5d\x43\x42\xea\x00\xd0\xc6\xa3\xdd\x92\x34\ +\x0a\x41\xef\x9a\xe6\xdd\x14\xd2\x37\x52\xc0\xbb\xcb\x2c\x9b\x90\ +\x9c\x70\x49\x19\x3c\xfa\xd5\xbf\x5c\xd2\xee\x74\xcb\x93\x73\x6a\ +\xa5\x72\x72\x7f\x87\xfe\xb5\xc5\x9b\xf1\x1f\x47\xa6\xa7\x8e\x8e\ +\x9b\x6d\x74\xb3\x44\xb2\x6e\x18\x2d\xcf\xad\x6f\x75\x72\xea\xc9\ +\x28\x2a\xca\x39\x3e\x58\xae\x69\xa4\x75\x44\x91\xe1\x65\xde\xc9\ +\xc6\x4f\xfe\x95\x69\x8f\x57\x83\x50\x89\x94\x1f\xc7\x76\x2a\x2d\ +\xd2\x1b\xc6\xd3\x2e\xf0\x5d\xa4\xe9\x1f\xbd\x97\x3d\x88\xed\x4f\ +\x84\xa4\x80\xa4\x93\x9a\xe7\xb0\xea\xcf\x6c\xe5\x12\x40\x02\xf0\ +\xaa\x0f\xa5\x4f\xc1\xd4\x30\x3c\x61\x1d\xd5\x1c\x81\xb7\x2d\xb5\ +\x87\xcf\x9a\xac\x26\x99\x29\x63\x92\x2c\x82\x20\x5b\x9e\x73\xdf\ +\xe5\x4a\x6c\x4e\x77\x79\x7a\x54\x5d\xbe\xa9\x0c\xb1\xb3\xa4\x80\ +\xb0\xee\x37\x0a\x72\xb7\x71\x12\xca\x64\x03\x3d\xf9\x15\x5b\x44\ +\xf8\xb3\x79\x90\x05\x60\x39\x63\xd8\xd4\x7d\xc5\xc7\x84\x0e\x18\ +\x10\x38\x3e\x58\xad\xaf\xb5\x7b\x4b\x3b\x77\x96\x49\x14\x6d\x5e\ +\x09\x6e\x6a\x91\xab\x75\x42\x2a\x48\xa3\x6c\x92\xbb\x65\x71\xde\ +\xb1\x36\x99\x48\x45\xb1\xde\xa7\x7a\x64\x9e\x1b\x72\xf9\x62\xfb\ +\xce\x0d\x56\xfa\xd7\xaa\x17\x4b\xd3\x59\x51\xf1\x72\xea\x55\x15\ +\x4f\xaf\x9f\xe1\x4d\x53\x50\xb8\xde\xd2\x95\x0f\x70\x49\x0a\xbd\ +\xf0\x7d\x33\x55\x5e\xb6\xb4\x75\xb5\x86\x69\x9c\xcb\x33\x31\x66\ +\x6c\x76\x1e\x95\xcf\x8d\x29\x64\xf7\x15\x9c\x25\x18\x36\x8a\x5a\ +\xb1\x66\x66\x62\x4b\x37\x2c\x4f\x7a\x90\xb2\xb9\x30\x2a\x72\x54\ +\x87\xc8\x60\x7c\xe9\xaa\x46\x16\xcb\xc5\xee\x58\x90\x6b\x68\xe2\ +\x2f\x1c\x70\x8e\x59\xbd\xef\xa0\xaf\xa5\x35\xc9\x53\x3e\x7e\x37\ +\x28\xed\x1d\x83\xa5\xbd\xb0\x7e\x8c\xdf\x63\xab\xd8\xb5\xc4\x6c\ +\xb8\x49\xa1\x18\x3f\x52\x2a\xe9\xa1\x75\x26\xa3\xd7\x17\x40\xda\ +\xd8\xcb\x63\xa3\xc5\xfc\xe5\xcc\xc7\xf5\x93\x7a\x22\x0f\xde\x6b\ +\x83\xe9\x2d\x7b\xa7\x5f\x28\x44\x0c\x58\xe3\x1e\x1e\xfc\x8f\xc6\ +\xbd\x11\xd3\xd7\x17\x57\x96\x11\x33\x0b\xa8\x8a\xae\x3f\x59\x8d\ +\xcd\xf8\x2f\x15\xc3\x91\x25\xed\x48\xe9\x92\xfd\xe7\xdc\xb7\x49\ +\xb2\x74\x11\xcc\xb8\xda\x30\x92\x2f\x95\x37\x31\x5c\x5b\xca\x11\ +\x13\x78\x93\x8e\x0f\x7f\x9f\xca\x94\xb5\x66\x68\xbd\xe2\x0e\x3b\ +\xe6\x9f\x58\xa2\x99\x5d\xc6\x7d\xde\x31\x59\x8c\x39\x3a\x39\xdb\ +\xe2\xac\x71\x05\xb9\x48\xb1\x2b\x6f\x63\xdf\xd2\x8a\x5c\x9c\x0c\ +\xe4\x01\xf3\xa2\xbb\xe9\x2d\x11\xee\x73\x5a\x28\xa2\xbc\x43\xd1\ +\x12\xf1\xd3\xdf\xd0\x70\x7f\x7b\xfc\x46\xa5\x05\x45\xf4\xf7\xf4\ +\x25\xbf\xf7\xbf\xc4\x6a\x4f\xce\xbd\xa7\x4b\xff\x00\x44\x3f\x24\ +\x51\x3d\x1b\x51\x45\x62\xba\x06\x66\x8a\x28\xa0\x02\x8a\x28\xa0\ +\x02\x8a\x28\xcd\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\ +\x00\x15\x8a\xcd\x14\x01\x8e\x2b\x34\x51\x40\x05\x07\xb5\x14\x1e\ +\xd4\x9f\x60\x23\x74\x71\xff\x00\xb3\x93\xfe\xf2\x4f\xf1\xb5\x36\ +\x9a\x24\x86\xf6\x45\x50\x06\xec\x36\x40\xac\xe8\x72\x93\x1c\xb1\ +\x9f\x84\x3b\x91\xfe\xf1\xac\x4e\xe6\x7b\xc7\x11\x0d\xcf\x8c\x0c\ +\x76\xae\x25\x52\xc5\x1f\x93\x70\x54\x6a\x03\x48\xc2\x28\xf2\x59\ +\xb8\xfa\x0a\x79\x7d\x14\x71\x69\x52\x44\x0a\x80\x17\x8c\xf9\xd2\ +\xf6\xd6\xab\x6e\x84\xf7\x91\xbb\x9a\xaf\x6a\x10\x5c\x45\x34\xad\ +\x26\xe9\x97\x38\x0c\xc7\x81\x4e\x7f\xb2\x86\xd5\xd9\xa8\xae\x72\ +\xa4\x37\x8a\xe6\x74\x86\x45\x46\xdb\x13\x77\x18\xff\x00\xf3\x14\ +\xd3\x5b\xd3\x55\xb4\xc5\xbd\x28\xd2\x4e\xaa\x5a\x10\xbc\x3a\x1f\ +\x20\xbf\x5a\x94\xb0\x89\xde\x42\xa4\xab\x45\x32\xe1\x87\x98\x34\ +\xf6\xfe\x19\xd3\x4e\x6f\xb3\x46\x26\xb8\x86\x32\xf1\x21\x38\xde\ +\xe0\x70\x0f\xca\xb8\xa1\x07\x38\xec\xaf\x3e\x12\x47\x26\x4e\xb8\ +\x4d\x4a\xe6\xc4\x5f\xab\xdb\xde\x69\xd7\x89\x2c\xa8\xe0\xe5\xd7\ +\xcf\x19\xa7\x1d\x57\xed\x77\x49\xd3\xe5\x96\x6e\x9c\x12\xdc\x5d\ +\xcd\x19\x49\x7c\x44\x29\x0f\x1d\x9f\x27\xcc\x55\x7e\x5e\x91\xeb\ +\x6e\xa2\xd7\x1b\x53\xd6\xa6\xb2\xb6\xb8\x6e\x36\x01\x92\xa3\xd3\ +\x03\xb7\xe3\x52\x17\xfe\xca\xac\xa2\xbc\x32\xeb\xd7\x77\x42\xc1\ +\x97\x71\xbc\xb6\x2a\x04\x4e\x3b\x89\x01\x1c\x7d\x45\x74\x62\xe3\ +\x19\x71\xbb\xb2\xd3\x70\x94\x53\xf2\x72\x7b\x27\xb9\xea\x7e\xaa\ +\x86\x4b\xe7\xf1\x0b\x4a\xaf\x2b\xf6\x01\x01\xe4\x7c\xaa\x73\xda\ +\x1e\x91\x6b\xa7\x6a\x50\x49\x12\xed\x96\xe5\x3c\x66\x87\x1f\xcd\ +\xa8\xe3\xb0\xf3\x23\x9a\x96\xd5\x2e\xfa\x6f\xa5\x63\x7d\x33\xa3\ +\xe2\x3a\xb4\x8c\x0b\x5d\x5f\x4e\x32\x3b\x7b\xa0\x63\xcb\xe5\x50\ +\xba\x56\x97\xaf\xf5\xa6\xba\xef\x0b\xce\x64\x9c\x05\xba\xbf\x99\ +\x3f\x57\x12\xf6\xe3\xe5\xf2\x15\xd1\xfb\xf7\xd9\x22\x3b\x6a\x9a\ +\xee\x47\xf4\x8d\xc5\xc3\xea\x16\xd1\x22\x27\x85\x0c\xab\x33\xe0\ +\x73\xdf\x6f\xf9\xf3\x5d\xca\xe2\xca\x2b\xdb\x20\xac\x81\xa4\xdb\ +\x8c\x91\x90\x6b\x82\xa9\xb9\xe8\xfe\xb2\xb8\xb5\x59\x62\x95\xe0\ +\x99\xad\xdd\xb1\x95\x91\x33\xdc\x57\xa1\x2c\x77\x49\x68\xa3\x24\ +\x0d\xbd\xf3\x53\xce\x9a\x92\x7f\x25\xb0\x4b\xdb\xf7\x39\x96\xad\ +\xd2\xb2\x5b\xdd\x6e\xb2\x8d\xb0\x7b\x82\x76\xd2\x10\x59\xdd\x45\ +\x1c\x8a\x4b\xc6\xe7\xb0\x35\xd3\x75\x1b\x41\x3b\x87\x50\x77\x6e\ +\xe4\xfa\xd6\x2c\xf4\xd8\x67\x5d\xae\xaa\xeb\xd9\x89\x1f\xba\xb9\ +\xda\xb3\xa9\x64\xd6\xce\x6e\x6e\xa6\x91\x17\x20\x06\x3c\x02\xa4\ +\xe3\x3f\x31\x4b\x6e\x7b\xa9\x8e\xf8\x8c\x87\x18\x2d\x9c\x0a\xe8\ +\xf7\x1d\x17\x6d\x2a\x1c\x60\x39\xf3\x51\x51\xb7\x1d\x11\x75\x11\ +\x0b\x1b\x66\x2f\xec\x79\x52\x70\x92\xec\x8d\xac\xd8\xd9\x51\xb7\ +\xd3\xca\xc8\xe2\x3b\x99\xe1\x07\xfa\xad\x9a\x71\x38\x9a\x30\xcf\ +\xf6\xf9\xf7\x6e\xfb\xb2\x67\xf6\x54\xa3\x74\xf3\x47\x2f\x2f\x2a\ +\xb0\xfa\xe2\x92\x3a\x44\x31\x92\x5b\x83\xea\xc4\x9c\xd6\x1c\x9a\ +\xee\x69\x71\x7d\x8a\xcc\xcd\x7d\x76\xf2\xff\x00\xa4\x48\xec\xbc\ +\xaa\xc6\x32\x18\x7e\x35\x98\xf4\x86\x8c\x44\xd3\x4a\xdb\x87\x20\ +\x03\x93\x9f\x4a\xb3\x0b\x3d\xa4\x46\xa8\x32\x7e\x1e\x38\x15\x98\ +\x74\xd3\xe2\xe0\xf0\xeb\xc6\xe3\xc9\x06\xb2\xf2\x36\x69\xa4\x86\ +\x36\x36\x05\x9c\x4a\xd1\x14\x55\x39\x23\x3e\x75\x09\xd6\x36\xe9\ +\x25\xed\xb5\xb4\xb2\xaa\x2c\xe8\xea\xb2\x36\x46\x0f\x71\x5d\x12\ +\xc7\x4e\x41\x95\x0a\xc5\x4f\x73\xe7\x54\xcf\x6a\x36\xed\x6f\x3e\ +\x9f\x71\x18\xca\xc0\x49\x73\xe4\x0e\x78\xcd\x6b\x12\xb9\xa6\xc8\ +\xe4\x9d\xaa\x39\x2b\x47\x24\x6e\x90\x36\x36\x96\xfc\xaa\x6e\xc3\ +\x49\x96\x6b\xa8\xae\x61\x4d\xf8\x61\xb9\x71\x8c\x1f\xe1\x4f\xb5\ +\x4d\x2e\x1d\x5d\xd2\xf2\xc6\x11\x14\x92\xe5\xa4\x89\x78\x0a\x47\ +\xc5\x81\xe9\x56\x2d\x0e\xdc\xe9\xf6\x06\x7b\xa8\x64\x3b\x59\x7c\ +\x26\x5e\xe3\x1e\xb5\xd7\x97\xa8\xf6\x6b\xb9\xcd\x8f\xa7\x4a\x56\ +\xfb\x0f\x34\x3b\x55\x83\x50\x50\xdb\x5d\xf7\xf0\x1f\x24\xa1\xcf\ +\x71\xe9\x5d\x83\xa7\x8d\xd5\xcc\x8b\x8f\x85\x79\x62\x7b\x11\x5c\ +\x86\xde\xd2\xcf\x58\x9a\x69\x04\xfe\x04\xca\xc4\xa4\xa0\x63\x1e\ +\x99\x1e\x6b\xfb\xab\xac\xfb\x3f\xb9\xbc\x9f\x40\x8a\xe2\xe1\x02\ +\xb8\x2d\x14\x89\xb4\x8f\x79\x4e\x09\x19\xf2\x35\xc9\x89\xde\x44\ +\xca\x75\x6a\xa3\x45\x9a\x6b\x23\x0e\xe9\x62\x51\x8f\xbc\x80\x7e\ +\xea\xdb\x4f\x94\x78\x8e\xbf\xd6\xe7\x1d\x8e\x45\x38\xfb\x4c\x8a\ +\x32\xc8\x08\xf5\x06\xb5\x6b\x64\xb8\x55\x99\x73\x14\x9d\xc3\x0f\ +\xf3\xaf\xa0\xa3\x16\xf9\x40\xf9\x77\xaa\x61\x3b\x6e\x9f\xc3\xc9\ +\x0a\x17\xf3\xa2\xb5\x9a\x29\xce\xd6\x11\x86\x6f\xbd\x83\x8a\x29\ +\x49\xca\xf4\x34\xd2\x28\x54\x51\x45\x78\xe7\xb3\x9c\xbc\x74\xff\ +\x00\xf4\x25\xbf\xf7\xbf\xc4\x69\x23\xd4\x56\xfe\x23\xaa\xdb\xdc\ +\xb9\x43\x86\xda\xa0\xff\x00\x9d\x2b\xd3\xff\x00\xd0\x70\x7f\x7f\ +\xfc\x46\xa1\xf4\xb8\xaf\xa4\x9e\xf7\xec\x93\xc7\x10\x12\x7b\xc1\ +\xd7\x3e\xb5\xe9\xfd\x5c\x91\xc5\x8a\x38\xfc\xaf\xec\x6e\xf4\x89\ +\xd5\xd4\x91\xa4\xb6\x51\x0c\xe0\xce\x09\x04\xaf\xc3\xf5\xa7\xf5\ +\x07\x73\x2d\xcc\x5a\x86\x9b\x0b\xcc\x4b\x36\xef\x10\x2f\x01\xa9\ +\x9a\xbd\xdd\xc4\x1a\x94\xc6\xf6\x75\xfb\x3c\x8c\x51\x55\xf1\xdb\ +\xc8\xfc\xaa\xbf\x56\xe3\x27\x19\x2b\x7f\xfa\xb1\xd9\x68\xa6\x91\ +\xdf\xc7\x2e\xa1\x2d\x9a\xab\xf8\x91\x00\x58\x91\xc1\xce\x3f\x8d\ +\x44\x4b\x79\x73\x73\x16\x9b\x00\x9d\xe1\xfb\x42\xe5\xe5\x4e\x09\ +\x23\xcb\xe5\x59\xd3\x62\x30\xf5\x15\xdc\x66\x46\x93\x11\x8f\x7d\ +\xf9\x63\xf0\xd3\xfa\xbe\x53\x8c\x62\xbb\xbf\xed\x61\x65\x8a\x8a\ +\x86\xd6\x2e\xa7\x49\xec\xed\xa2\x91\xe2\x59\xdf\x0c\xe0\x72\x07\ +\x1f\x95\x23\x14\xd7\x16\xda\x95\xcd\x90\x9a\x49\x62\x10\x99\x03\ +\x39\xcb\x21\xc7\x6c\xd5\x67\xd5\x46\x33\xe1\x5f\x60\xb2\x7a\xb4\ +\x32\x22\xc8\xa8\xcc\x37\x36\x70\x3e\x95\x5a\x6b\xfb\x8f\xe4\xc2\ +\xcd\xf6\x97\xf1\xf7\xe3\x76\x79\xef\x4a\x5d\xc7\x24\xfd\x43\x6d\ +\x17\xda\x25\x40\xd0\x97\x0c\xa7\x18\x3c\xd4\xa5\xd6\xaa\x5c\x57\ +\xc7\xea\x16\x59\x3c\xb3\x51\xf6\xba\xb4\x77\x97\x4d\x0c\x31\xca\ +\xca\xb9\xfd\x6e\x3d\xd2\x47\xce\x9c\x18\xc9\xb3\xf0\x44\xaf\x9d\ +\x81\x44\x99\xe7\xb7\x7a\xaa\x5a\x4f\x35\x9e\x84\x64\x86\x52\x1a\ +\x59\x84\x79\x3c\x84\x18\xe4\xd3\xcf\xd4\x3c\x53\x8a\xf1\x56\x0d\ +\x97\x4a\x2a\x00\x49\x3d\x86\xb1\x6f\x6e\xb7\x12\xcd\x14\xc8\x77\ +\x09\x1b\x71\x07\xd7\xe5\x49\xe9\xeb\x7b\x7e\xf7\x1b\xaf\x65\x48\ +\xe2\x9c\x81\x8e\xe7\xe5\xf4\xad\x2e\xae\xe5\xc5\x47\x61\x65\x8e\ +\x8a\x28\xae\xc1\x85\x14\x51\x40\x05\x14\x51\x40\x05\x07\xb5\x14\ +\x1e\xd4\x9f\x60\x20\xb4\xbb\x59\x9e\xc5\xf6\x38\x8c\x48\xef\xc8\ +\xee\x3d\xe3\x52\x2b\x6e\x2c\xe0\xc5\xb4\x63\xd4\x93\xdc\xd3\x4d\ +\x2a\xe6\x04\xb0\x0a\xd2\x00\x55\xa4\xc8\x3d\xfe\x23\x4d\x5b\x5d\ +\x91\x9c\xec\x80\x34\x7b\xb1\x82\x79\x22\xb8\xf1\xce\x18\xf1\xc6\ +\xcd\x46\x2d\x92\x46\x66\x54\xdf\xe2\x71\xf4\xa4\x9a\x58\xda\x09\ +\x18\xb2\xca\xbf\x78\xaf\xf0\xa1\xd8\xa4\x2c\xcc\x9b\xf3\xc8\x8c\ +\x54\x1c\xf3\x18\xee\x73\x04\x4f\x01\x6f\x8c\x1f\x84\xfe\x15\x1c\ +\xb9\x5a\x5b\x37\x18\xdb\x36\xde\x2c\x6f\x23\x9a\x03\x98\x1f\x9e\ +\x3c\x87\xcf\xe7\x52\x77\x57\x2f\x14\x6f\x29\x19\x8d\x87\xb8\xc3\ +\xd6\xa3\x2c\xac\xa6\xbb\xc4\x24\xe2\x2d\xdb\x9d\x87\x97\xc8\x54\ +\xcb\xcb\x0c\x8f\xf6\x36\x88\x7d\x9f\x66\x37\x52\xc7\x06\xe2\xdf\ +\xc9\xa9\xf7\xd1\x0a\x23\x2b\x6e\xf2\x22\x97\xb8\x73\x98\xc6\x76\ +\xe7\xf1\xae\x11\xd7\x52\x75\x77\x53\x75\x23\x58\x26\x8b\x79\x6f\ +\x6f\x19\xf0\xe3\x84\x2b\x60\x8f\xeb\x31\xf3\xae\xfd\x75\x62\xf6\ +\xcf\xb4\xb1\x31\xf7\x47\x06\x9c\x58\x8b\xd6\x8c\x18\xb6\xaa\x7f\ +\x59\xbb\x9a\xce\x3b\xc7\x2a\xa3\x76\xaa\xd1\xe7\x81\xec\xbb\xab\ +\x21\xb1\x8e\x35\x82\x37\x2d\xf7\x22\x72\xc4\x7e\x15\x2f\x0d\x87\ +\x5c\xc9\x64\xfa\x5b\xc9\x75\x14\x76\xe0\x0f\xb3\x41\x10\x44\x50\ +\x3b\x07\x70\x2b\xbe\x5c\x1f\x0e\xd9\xdc\x48\x16\x55\x5f\x8c\x0e\ +\x2a\xb5\x75\xd4\x16\xfa\x22\x9b\xbb\xdd\x46\x38\x22\x40\x0b\x09\ +\xe4\xc0\x6f\xa0\xef\x54\x79\x3e\x7c\x9a\x84\xdb\x5a\x47\x9d\x6f\ +\xba\x07\xa8\x60\xbf\x79\xf5\x1f\x0a\x17\x63\xbd\x5a\x57\x3f\xac\ +\x23\xd0\xff\x00\x1a\xee\x1a\x51\x26\xca\x20\x47\x0c\xa0\xe7\xe7\ +\x4e\x53\xda\x77\x4e\x75\x2f\xda\x2d\x2c\xa3\x37\x6a\x8a\x72\x25\ +\xb7\x3b\x4f\xe7\xc5\x25\xa3\x8f\xd4\x22\xfd\xd1\xdb\xe5\x54\xc9\ +\x2b\x92\x5f\x03\xc5\x69\x36\xc7\x2c\xad\xb8\x8c\x7b\xa7\xbf\xce\ +\x85\xb6\x31\xca\xb2\x2f\x28\x3b\x81\xde\x9e\x18\x8e\xdc\x9e\x53\ +\xe5\x59\x8d\x36\x9d\xca\x4d\x62\x8d\xf2\xd5\x0a\x5a\xdc\x32\x95\ +\x56\xe7\xe9\x52\x26\x55\x11\xf2\x45\x31\x65\xf1\x17\xde\x51\x9f\ +\x5c\x56\xe9\x0e\xe0\xa1\x85\x6d\x59\x87\x46\x93\x44\xb7\x3c\x6c\ +\xc9\xf5\xc5\x31\x97\x43\x49\x4f\xbc\x70\x3e\x55\x3c\xa0\x27\x00\ +\x00\x69\x3d\xbb\x8e\x7b\x1a\xcb\xc7\x17\xdc\x6b\x23\x5d\x8a\xd3\ +\x74\xe0\x56\xc8\x73\x95\xf9\xf7\xa5\xa2\xd0\x82\x7a\x63\xd2\xac\ +\x1b\x08\x3c\x0c\xfc\xeb\x05\x78\xf4\x1e\x95\x9f\x4a\x26\x9e\x59\ +\x32\x35\x2d\x96\x05\x02\x30\x37\x79\x9c\x57\x3d\xf6\x81\xa5\x5d\ +\xea\xba\x65\xd4\x76\x4b\xe2\x3a\x22\xb3\xa7\x9b\x80\x73\x81\xf3\ +\xae\x97\x70\xb8\x42\x07\x19\xef\x51\x92\x5a\xf0\x3f\xac\x3b\x1a\ +\xc3\xd3\x4d\x0e\x32\xbe\xe7\x21\xe9\x6d\x1a\xea\x2d\x3d\xf5\x76\ +\x80\xac\x70\xa9\x0d\x1c\xa3\x69\x97\x3d\xf6\x8f\x97\xed\xab\xb6\ +\x9b\x68\x66\xb4\x43\x72\x8e\x92\x5c\x2e\xf5\x86\x48\x08\xe3\xc8\ +\x70\x3b\xfc\xe9\xcf\x54\xdf\xe9\xba\x0d\x82\x5c\x5e\x3f\x8a\x4b\ +\xee\x8a\xcd\x1b\x06\x66\xf2\x0c\x7c\x97\xe5\x50\xba\x2f\xb6\x4b\ +\x1c\xa4\xda\xfc\x13\xc1\x7a\x81\x63\x1f\x65\x8b\x74\x45\x47\x98\ +\x07\x91\x59\x58\x5e\x46\xe4\xca\x4a\x52\xe1\xa5\xa1\xe9\xe8\xd8\ +\x19\xda\x5b\x79\x5e\x02\x18\x96\x1b\x7d\x7b\x8c\x55\xe3\x4a\x10\ +\x41\x65\x0c\x13\x5d\x04\x86\x1e\x02\xae\x72\xdf\x3a\x75\x6d\x77\ +\xa7\xf5\x56\x96\xba\xa6\x8d\x71\x1c\xa5\x97\x27\x69\xef\xf2\x23\ +\xc8\xd3\xbb\x4b\x28\x6d\xe0\x0c\xd1\x06\x9b\xb9\x27\x9d\xa6\xb0\ +\xb0\x4e\x13\xfb\x1c\xf3\xcc\xe4\xaa\x5d\xc7\x46\x44\x11\xac\x98\ +\xcc\x00\x64\x91\xfc\x2b\x10\xeb\x50\xbc\x8a\xad\x13\x22\x37\x67\ +\x26\x9b\xdc\xdd\x78\x76\xd2\x15\x0a\x00\x4c\x0c\x54\x32\x3b\xf8\ +\x9b\x58\x65\x08\xe0\x8e\xf9\xaa\xbc\xcf\x14\x92\x44\xe3\x8f\x92\ +\xb6\x5d\x1a\x58\xd7\xe2\x65\x1f\x8d\x15\x56\x8e\x60\xfe\xe9\x0c\ +\x48\xf3\x6e\x68\xab\xae\xb3\xec\x61\xe2\xa2\x02\x8a\x28\xaf\x22\ +\xf4\x72\x17\x8e\x9e\xfe\x83\xb7\xfe\xff\x00\xf8\x8d\x3b\xb6\xb2\ +\x82\xd0\xc8\x61\x4d\xbe\x21\xcb\x72\x4e\x69\x96\x80\xc1\x34\x18\ +\x19\xb3\x81\xbb\xfc\x46\x9d\x0d\x4a\xcc\x5b\x0b\x9f\x1d\x7c\x12\ +\x76\x87\xf2\xcd\x7b\x0e\x9f\x87\xa3\x07\x2f\x09\x7f\x42\x9f\x02\ +\x92\x5a\x41\x3c\xf1\xce\xeb\x97\x8b\xe1\x39\x3c\x56\x89\xa7\x5a\ +\xa4\x53\x46\xb1\xfb\x93\x67\xc4\x1b\x8f\x39\xac\x4f\xaa\x59\xdb\ +\x30\x59\x67\x01\xb1\x9c\x60\x92\x3e\xbe\x95\xbc\x97\xb6\xd1\x46\ +\x8e\xf2\xae\xd9\x0e\xd5\x23\x9c\x9a\xa3\x78\x9b\x6f\x56\x1a\x34\ +\x93\x4c\xb4\x96\xd9\x2d\xde\x1c\xc7\x1f\xc2\x32\x72\x3e\x87\xbd\ +\x16\xba\x6d\xad\xa4\xa6\x48\x62\xda\xec\x36\x93\xb8\x9c\xfe\x74\ +\xaf\xda\xa0\x17\x3f\x67\xf1\x00\x97\x6e\xed\xbf\x2a\x41\x75\x5b\ +\x17\x31\x85\x9d\x5b\xc4\x38\x5c\x79\xd0\xd6\x18\xbb\xd5\x86\x85\ +\xee\x6d\x21\xbc\x8b\xc3\x9e\x30\xcb\x9c\x8c\xf0\x41\xf5\x06\x93\ +\xb6\xb0\xb6\xb5\xdc\xd1\x46\x37\x30\xc3\x31\x39\x27\xf1\x35\xac\ +\x5a\x9d\x9c\xd3\xfd\x9e\x39\x81\x93\x24\x60\x03\xce\x3f\x65\x0f\ +\xaa\x59\x47\x31\x89\xee\x14\x3a\x9c\x1e\xfc\x1f\x9d\x0e\x58\x5b\ +\xe7\x68\x34\x23\xfa\x07\x4d\xc3\x0f\xb3\x70\x4e\x48\xde\xdc\x7d\ +\x39\xa5\xee\x74\xcb\x4b\xb2\x86\x68\xb2\xc8\x30\xa4\x12\x08\x1e\ +\x99\x14\xce\xe6\xfe\x58\x75\xd8\xe1\x32\xed\xb7\xf0\x0b\xb0\x2b\ +\x9f\x5f\x3a\x4b\x49\xbb\xb8\xd4\x2f\x25\x99\xae\x40\x8d\x18\xaf\ +\x80\x13\xcb\xcb\x9a\x87\xa9\x87\x9f\xa6\xa3\xe6\x80\x99\x8e\x34\ +\x8a\x25\x8d\x46\x11\x46\xd0\x29\xb2\x69\x96\x71\xda\x35\xb0\x80\ +\x78\x2c\x72\x54\x92\xc3\x3f\x8d\x2c\x2e\xa1\x37\x0d\x6f\xbc\x78\ +\xaa\xbb\x8a\xfc\xbd\x69\x23\xa8\xda\x0b\x7f\xb4\xf8\xe9\xe0\xee\ +\xdb\xbc\x7a\xd7\x43\x78\xdf\xe2\xa1\xe8\x2d\x74\xdb\x5b\x49\x0c\ +\x91\x47\xef\x91\x8d\xcc\xc5\x88\x1e\x99\x34\xa5\xb5\xa4\x36\xbe\ +\x27\x82\xbb\x77\xb6\xe6\xe4\x9e\x69\x98\xbe\x11\x5e\xdd\x19\xae\ +\xd3\xc2\x45\x0d\xe1\x91\xca\x0c\x0f\xe3\x48\xfe\x9a\x8a\xeb\x4f\ +\x99\xa0\x7d\x97\x0a\x8c\xc1\x31\x92\x30\x7f\x2a\x9a\xcb\x86\x1d\ +\xb5\xdc\x44\xdd\x15\x11\xa7\xeb\x16\xf2\xc3\x04\x32\xdd\x21\xba\ +\x75\xe5\x7e\x7f\xba\xa5\x19\x82\xa9\x66\x38\x00\x64\xd5\xf1\xe5\ +\x8c\xe3\xc9\x30\x4c\xde\x8a\x8f\x83\x57\xb2\xb9\x9f\xc0\x8a\xe1\ +\x5a\x4f\x4e\x46\x7e\x94\xfe\xb5\x19\xc6\x5f\x85\xd8\x26\x66\x8a\ +\x28\xad\x0c\x28\x3d\xa8\xa0\xf6\xa4\xfb\x01\x44\x67\x2b\x23\xaf\ +\x84\x49\x32\x3e\x58\x1f\xed\x1a\xc9\x49\x37\x34\xad\x9d\xbd\x80\ +\xf4\xa1\x78\x91\x90\x83\xb1\xa4\x7e\x47\x97\x26\x9e\xa7\x83\xe0\ +\x7d\x9e\x52\xeb\x9f\x85\xdc\xf6\xaf\x83\x08\xb6\xb6\x76\x45\xd4\ +\x11\x23\x05\xe6\xe8\x55\xf7\xb0\x1e\xbe\x54\xa4\xf1\x25\xec\x01\ +\x19\xb3\xbb\x80\xf5\x8d\x2a\x09\x0d\xb3\x24\xdb\x5a\x20\xd8\x55\ +\x03\xb8\xa7\xe5\x6d\xa2\xda\x00\x45\x23\xb0\x1e\x55\xf4\xa1\x8f\ +\x9c\x2e\x47\x33\x95\x3d\x0c\x5f\x6c\x11\x8b\x4b\x7e\x02\xf0\xec\ +\x38\x34\x8e\xce\x71\x8e\x3d\x2b\x33\xcf\x0d\xbc\x72\xcd\x24\x88\ +\xa3\x71\xe5\xd8\x0c\xd5\x43\x5c\xf6\x87\xa1\xe8\x87\x13\xea\x30\ +\xbc\xeb\xcf\x83\x6d\xfa\xc6\x27\xf7\x56\x1c\x93\x29\x08\x4a\x4b\ +\x45\xe2\x1c\x3a\x7d\x9e\x61\xbd\x1b\xe1\x27\x9c\x55\x7b\xa8\x7a\ +\xff\x00\xa6\xba\x57\xf5\x5a\x8e\xa0\xbf\x68\x5e\x05\xb4\x03\x7c\ +\x9f\x88\x1d\xab\x90\xf5\x27\xb6\x7d\x63\x53\x56\xb7\xd1\x62\x4d\ +\x32\x13\xde\x43\xef\x4a\x7f\x1e\xcb\xf8\x57\x33\x66\x79\x65\x79\ +\xa6\x91\xa4\x9a\x4f\x8d\x9c\xe4\xb7\xd4\x9e\xf5\x78\xc6\xfb\x95\ +\x8f\x4b\x2b\xf7\x1d\x6b\xa8\xbd\xb8\x5c\xde\x41\x25\xbe\x83\xa7\ +\x0b\x60\xdc\x7d\xa6\xe8\xee\x20\x7c\x94\x71\xf9\xd5\x13\x43\xd1\ +\xb5\x4e\xbe\xea\x10\xf7\xf7\x53\xce\xa0\x17\x9a\x77\x6c\xec\x4f\ +\x90\xf2\xfa\x55\x71\xc9\xd8\x46\x3b\x9c\x57\x5f\xf6\x40\xd0\x3e\ +\x89\xa8\x46\x08\x17\x0b\x38\x32\x63\xb9\x5c\x7b\xb4\xe6\x94\x55\ +\xae\xe5\xbd\x38\xc5\x3a\x2c\x63\x4e\xb5\xd2\x34\xf5\xb0\xd3\xe0\ +\x10\xc2\x8b\x8c\x0e\x0b\x1f\x99\xf3\xa9\x5d\x24\x0f\x09\x57\x14\ +\x94\x90\xef\x6e\x79\xcf\xad\x2d\x66\x86\x19\x31\x9e\x3c\xab\x85\ +\x5f\x2b\x63\xbd\x51\x36\xab\x84\xe3\x9a\xca\x46\x85\xb0\x06\x0f\ +\xec\xac\x23\x81\xb4\x03\x93\xf3\xe0\x52\xf1\xed\x97\xb7\xbd\x8e\ +\xde\x59\xab\xad\x90\x62\x8b\x0a\x85\xe7\x9a\x59\x6d\x8e\xdd\xb9\ +\x1f\x5a\xd4\x00\x8d\x80\x71\x4a\xa9\x5c\x63\x71\xcf\xa5\x6c\xc8\ +\x0b\x73\xf7\x9f\x3f\x4a\xdc\x40\x9d\xc6\x49\xf4\xa1\x08\x1d\xf8\ +\xad\xcc\x9b\x7e\x11\xef\x53\x33\xb1\x36\x5f\x2e\xc3\xe5\x48\x48\ +\x47\xa5\x38\x90\x9d\xd8\xc7\x14\xc3\x51\xbd\xb3\xd3\x2c\xe4\xbc\ +\xbf\xb9\x8a\xde\xdd\x7b\xbc\x8d\x80\x07\xc8\x77\x34\xa8\xd2\x76\ +\x6b\x22\x6e\x61\xbb\xb9\x3d\xbd\x05\x50\xfa\xcf\xaf\xec\x34\x05\ +\x7b\x2b\x16\x4b\xad\x4f\x05\x4f\xff\x00\x4e\x13\xe8\xc7\xcc\xd5\ +\x5b\xac\x3d\xaa\xdd\x6a\x45\xf4\xee\x9f\x69\x2d\xad\x58\x7b\xd7\ +\x24\x62\x59\x07\xf6\x7f\xaa\x2b\x99\x4b\x23\x73\x1a\x92\x49\xee\ +\x7e\x7e\xb4\xe3\x8d\x79\x3b\x31\xe2\xaf\x74\x87\x5a\xa6\xb3\x79\ +\xaa\x5d\x3d\xdd\xed\xc4\x97\x17\x2e\x71\xb9\xbb\x01\xf2\xf4\xa8\ +\xa7\x6f\x13\x96\xef\xe9\x5b\x98\xdb\x0d\xc0\x07\xd7\x15\x80\x8a\ +\xab\x96\x3c\x8e\xdf\x3a\xba\x49\x2a\x37\x36\xd9\x23\xa0\x75\x3e\ +\xb1\xd2\xd7\xa6\xef\x48\xbd\x92\xdd\xcf\xc6\x84\x82\x8f\xf5\x53\ +\xc1\xae\xc5\xd3\x3e\xdb\x74\xab\xf4\x5b\x5e\xa2\x82\x4b\x19\x99\ +\xb9\xb9\xb7\xf7\xa2\x63\xf3\x1d\xd6\xb8\x51\x24\xf0\x06\x4f\xec\ +\xac\x6c\x72\xbc\xf1\x4a\x51\x4c\xe6\x96\x34\xcf\x5d\xcb\x75\x65\ +\xa8\xe9\xb0\xc9\xa6\x4b\x1d\xec\x12\x72\x26\x82\x40\xc3\xf1\xc5\ +\x61\xa2\x48\xad\xd2\x25\x91\x7c\x6c\xe4\x9c\x66\xbc\x9b\x61\xa9\ +\x5f\x69\x52\x99\x74\xfb\xcb\x9b\x69\x0f\x76\x85\x8a\xe7\xf2\xab\ +\x9f\x4f\x7b\x58\xd7\xf4\x79\x4a\xdf\x3c\x7a\xa5\xbf\xde\xf1\x48\ +\x0e\x3e\x8f\xe7\x5c\xb9\x7a\x66\xdd\xc4\xc2\x85\x2a\x3b\xf4\x3b\ +\xb2\x63\x3e\xf7\x9e\x7b\x66\x8a\xa9\xe8\x9e\xd4\x7a\x57\x57\xf0\ +\xd2\x4b\xa1\x61\x70\xdc\x6c\xba\xe0\x03\xfe\xd7\x6c\x51\x5c\xeb\ +\x14\x97\x81\x4b\xb8\xfa\x8a\x28\xaf\x34\xf6\x7c\xe2\xf1\xd3\xfc\ +\xe8\x90\x7f\x7b\xfc\x46\xa2\xa3\xb3\x32\xeb\xaf\x64\xad\x9b\x58\ +\xa4\xf1\xd8\x0e\xc0\x9f\x2f\xce\xa5\x7a\x7b\xfa\x12\xdf\xfb\xdf\ +\xe2\x35\x9b\x28\xac\xec\xee\x66\x89\x6e\x03\xdc\x4a\xc5\xd8\x33\ +\x02\xd9\xc5\x7a\x95\x89\x64\xc5\x8b\x97\xdb\xfa\x14\xf8\x18\x85\ +\x93\x4f\xd4\x2f\xda\x5b\x69\xa6\x17\x1c\xc6\x51\x0b\x67\xbf\x1f\ +\xba\x9b\xb6\x9d\x77\x06\x89\x6a\x0c\x4c\xed\x14\xde\x21\x41\xdd\ +\x57\xd2\xad\x34\x60\x55\x5f\x43\x1d\xef\xe7\xf5\x0a\x44\x02\x78\ +\xd7\x1a\xe7\xda\x7e\xcd\x3c\x71\x78\x05\x01\x78\xf1\xcd\x29\xa0\ +\xd9\x08\xf4\xe0\xd3\xc0\x56\x52\xc4\xfb\xe9\x82\x3f\x3a\x9b\xc5\ +\x18\xad\x43\xa3\x8a\x97\x26\xef\xbf\xea\x14\x8a\xcd\x84\x73\xc3\ +\xa8\x47\x1d\xac\x77\x2b\x6c\x72\x5d\x27\x8f\x01\x3e\x86\x92\x8a\ +\xcd\xe0\x49\x6d\x2e\xd6\xf4\x6f\x72\x47\x82\xa1\x96\x41\xeb\xd8\ +\xe2\xac\xd2\xdc\x43\x00\xcc\xd2\xa2\x0f\xed\x36\x28\x8a\x78\xa7\ +\x4d\xd1\x48\x92\x2f\xaa\x9c\xd4\x3e\x8e\x0f\xdb\xcb\x69\xff\x00\ +\xba\x0a\x44\x22\x5b\x3a\xeb\x56\x6d\xe1\xc9\xe1\x2d\xae\xd2\xce\ +\x33\xeb\xc1\x23\x8c\xd3\x8e\x9e\x82\x48\x2d\x67\x12\x46\xe8\x4c\ +\xc4\x80\xeb\x83\x8c\x0a\x98\xa3\x00\x7a\x57\x44\x3a\x48\xc2\x7c\ +\xd3\x02\x13\x5c\xb5\x9c\x4b\x15\xdd\xa2\x93\x2e\x0c\x4d\x8f\x43\ +\xe7\xf8\x53\x28\x74\x89\xe2\xd4\x63\xb3\x6d\xcd\x66\x08\x9c\x9f\ +\x22\x71\x8c\x7e\x7c\xd5\xa2\x8c\x0f\x41\x58\x9f\x43\x09\xe4\xe6\ +\xff\x00\xdf\xfe\x85\x22\x08\xda\xcc\xfa\xce\xa2\x7c\x26\x09\x24\ +\x3b\x51\xca\xf0\x4e\x00\xef\xda\x9b\xda\x99\x7f\x41\xcd\x62\xd6\ +\x73\xac\xcb\x1b\x8d\xc6\x3f\x74\x9c\xf0\x07\xe7\x56\x5c\x0a\x49\ +\xa6\x89\x1d\x51\xa4\x40\xed\xd9\x4b\x72\x68\x7d\x24\x53\xe5\x7f\ +\x3f\xa8\x15\xe9\xad\x66\xfd\x13\xa6\x22\xc0\xfb\xd6\x45\x2e\x36\ +\x1c\x8f\x5c\xd4\xfd\xd1\x75\xb4\x90\xa4\x7e\x23\x85\x38\x43\xf7\ +\xbe\x54\xbe\x07\xa5\x1c\x7a\x55\x71\xf4\xd1\x82\x6a\x3e\x41\x15\ +\x30\xd7\x4f\x79\x63\x75\x2c\x17\x0e\xca\xc4\x32\x88\x70\x17\xe4\ +\x3f\x8d\x5b\x28\xc0\xc7\x95\x27\x2c\xd1\xc2\x9b\xe5\x70\x8b\xea\ +\xc7\x02\x96\x0c\x0b\x02\x7b\xbb\x04\x85\x68\xad\x41\x05\x41\x07\ +\x20\xd6\x6b\xa8\x66\x68\x3d\xab\x14\x1f\x3a\x4f\xb0\x15\x4b\x3b\ +\x2b\x8b\x85\x66\x18\x48\xc4\x8f\x86\x3c\xe7\xde\x34\x96\xb1\x2d\ +\xae\x85\x66\x6e\x75\x1b\xeb\x7b\x7b\x75\xef\xe2\xb0\x1b\xbe\x83\ +\xbd\x50\x7a\xc7\xda\xd4\xbd\x35\x24\xfa\x2e\x91\x6a\x1b\x50\x89\ +\x98\xc9\x71\x37\xc2\x9b\x8e\xe1\x81\xe6\x79\xae\x29\xab\x6b\x5a\ +\x96\xb9\x7a\x6e\xb5\x3b\xb9\xee\xe7\x3c\xe6\x46\x24\x2f\xd0\x76\ +\x15\xf3\xb0\xf4\xea\x58\xd3\x67\x5e\x28\x4a\x93\x67\x71\xba\xf6\ +\xe5\xa4\xe9\x76\x3e\x06\x99\x61\x71\x7a\xeb\xf0\xbb\x9d\x88\x7f\ +\xce\xb9\xfe\xb3\xed\x87\xab\xb5\x57\x90\xc1\x75\x1e\x9f\x11\xfb\ +\xb6\xc9\x83\xfe\xf1\xe6\xa8\x39\x19\x07\x07\x23\xb5\x61\x50\x37\ +\x9e\x2b\xb5\x41\x55\x32\xd1\x84\x6e\xe8\x77\x79\xab\xea\x57\xef\ +\xba\xf2\xfe\xe6\xe1\x8f\xff\x00\x56\x56\x23\xf7\xd3\x75\xf7\x52\ +\xb0\xa1\x7b\x6d\xe3\xd6\xb6\x55\xe3\x14\x52\x5d\x8a\xc6\xd7\x63\ +\x71\xc7\x6e\x73\xde\xb6\xec\xf8\x1c\x8f\x5a\xd5\x41\x1c\xf9\x50\ +\xad\x9e\x07\x6f\x5a\x74\x6d\x7d\xc1\xc9\x2b\xc8\xc6\x1b\x26\xad\ +\xfe\xce\xb5\xb5\xd0\xba\x9c\x47\x33\x85\xb6\xbc\x4f\x05\xd8\x9e\ +\x15\xbe\xe9\xfa\x03\x55\x03\xcf\x7e\x73\xde\xb2\xbd\xb0\x49\xe3\ +\xb7\xcc\x7f\x1a\x1a\xb5\x41\xc5\x1e\x9f\x8e\x00\xcc\x0f\x70\x79\ +\xc8\xed\xcd\x6c\xf1\x04\x05\x80\x07\x1d\xbe\x55\xcd\xfa\x2b\xda\ +\x5c\x36\xf6\xb1\xe9\xba\xfb\x30\x64\xf7\x63\xbc\xf2\x23\xd1\xc7\ +\xaf\xce\xba\x38\xbf\xb2\xbc\xb7\x12\xda\xdd\xc1\x32\xbf\x6f\x0a\ +\x40\xc0\xff\x00\x0a\xe5\x70\xa3\x9e\x4a\x51\x7d\x85\x49\x17\x16\ +\xf8\x5d\xff\x00\xd6\xce\x7d\x3c\xa9\xf4\x0e\xae\xaa\x54\x13\xf4\ +\xe2\x98\x00\xc2\x15\x78\xa7\xdb\x19\xee\x15\x85\x65\xf5\x7b\x2b\ +\x28\x88\xbc\x9e\x08\x8a\xff\x00\xda\x81\xda\x84\xa8\xc4\x91\x2c\ +\xcc\x5d\x72\xa3\x3f\xb2\x95\x8a\x26\x23\x79\x53\x8f\xaf\x35\x51\ +\xbc\xf6\x91\xd2\x96\x4c\xc9\x2e\xa6\xb2\x03\xd8\xc4\xbb\xff\x00\ +\x75\x57\xf5\x1f\x6d\x9a\x74\x61\x93\x49\xd2\xa7\x9d\x87\x01\xe7\ +\x71\x1a\xfe\x43\x26\xb7\x40\xb0\xe4\x6f\x48\xea\x5b\x55\xf6\xed\ +\xc9\xf7\xbc\xf8\xa6\xf7\xda\xa6\x9d\xa3\x42\xd7\x1a\x9d\xfc\x36\ +\xc8\x3b\x34\xac\x01\xfc\xab\x80\x6a\xde\xd5\x3a\xaf\x55\x5c\x47\ +\x77\x1d\x8c\x45\xb8\x5b\x54\xc3\xfe\x66\xa9\xb7\x53\xc9\x75\x37\ +\x8d\x73\x3c\xf3\xca\x7b\x3c\x8e\x58\xfe\x66\xb5\xc0\xac\x7a\x4b\ +\xfc\x4c\xec\xfd\x45\xed\xaa\xce\x12\xd0\x74\xfd\xab\x5d\x49\xd8\ +\x5c\xdc\x0d\xb1\x8f\xa0\xee\x6b\x93\x6b\x5d\x41\xa9\xf5\x15\xd1\ +\xb9\xd5\xaf\x5e\x76\xf2\x07\x84\x4f\xf6\x57\xb0\xa8\xf6\x2e\xc3\ +\xc8\x0f\x9d\x61\x51\x41\xdc\x53\xf1\xcd\x6a\x8e\xa8\x62\x8c\x3f\ +\x09\xa3\x86\x23\xdd\x20\x0e\xf8\xad\x32\x23\xf3\xac\xbb\x9d\xed\ +\xb5\x72\x6b\x5d\x8b\x8c\xca\x79\xfd\x95\xb4\xbe\x42\xdf\x83\x42\ +\xc5\xfd\xd4\x53\x8f\x9d\x67\xc1\x07\xf9\xd7\x15\x87\x9b\x1f\xcd\ +\xf1\x49\x19\x37\x79\x50\x4a\x72\x57\xb1\x53\x24\x6a\x30\xa0\x63\ +\xf6\xd2\x2d\x23\x37\xc3\x91\xf5\xad\x76\xe0\xe4\x72\x6b\x66\x1c\ +\x67\x22\x83\x0e\x6d\xa3\x40\xd9\x5c\xf9\xd6\xd9\x4f\x9d\x63\x04\ +\xf6\x15\xbc\x70\xbb\xf9\x63\xea\x6b\x46\x28\x4f\x23\x1d\xbf\x0a\ +\x29\x62\xb1\xc7\xf1\x60\xfd\x28\xa4\x27\x1d\x9e\x98\xa2\x8a\x2b\ +\xc3\x1f\x24\xbb\x68\x65\x86\x81\x0e\xcc\x6e\xc3\xe3\x3e\xbb\x8d\ +\x44\x58\xcd\x25\xad\xb5\xfd\xfb\x41\x13\xcc\x92\x80\x18\xf2\x41\ +\x24\x67\x9f\x4e\x6a\x67\xa7\x87\xfe\xc3\x83\xfb\xdf\xe2\x34\x9f\ +\xe8\x53\xfa\x3e\xea\xd7\xed\x07\x33\xc9\xe2\x6f\xd9\xf0\xf2\x0f\ +\x6c\xfc\xab\xd3\x7a\x59\x27\x8f\x1b\x87\x85\xfd\xb4\x50\x4d\xf5\ +\x7b\xb8\xad\x4d\xe4\xb6\xea\x2d\xca\x02\x80\x37\x24\x9c\x62\xb5\ +\xb4\xd7\x1e\x4b\xb8\xe2\x95\xa0\x71\x2f\x63\x0b\x13\xb4\xfa\x1c\ +\xd4\x94\xda\x7c\x77\x1a\x70\xb3\x90\x92\xbb\x02\xe7\xe9\x49\x5b\ +\xd9\xde\x44\xc8\x24\xbe\x12\x22\x77\x1e\x18\x05\xbe\xa7\x35\x67\ +\x0c\xea\x4b\xdc\x14\x46\x9e\xa2\x76\x32\x49\x19\xb7\xf0\x91\xb6\ +\x88\xd9\xce\xf7\xa9\xe8\x66\x13\xc0\x93\x26\x76\xba\x86\x19\x18\ +\x38\xa8\xe8\xb4\xb9\xed\x59\xd6\xd6\xf0\x47\x13\xb6\x42\x32\x06\ +\xdb\xf4\xe6\xa4\xa3\x42\x91\x2a\x6e\x2c\x55\x40\xc9\x3d\xea\x9d\ +\x32\xcd\xbf\x54\x65\x77\x4d\xb6\x8b\x55\xbd\xbb\x9e\xf5\x7c\x47\ +\x49\x36\xac\x6d\xc6\xd1\xf4\xa2\x78\x13\x4c\xd7\xad\x05\x9a\x95\ +\x13\x70\xe8\x0f\x18\xcf\x7c\x53\xcb\xcd\x19\xcd\xc3\xdd\x58\x5c\ +\x34\x13\xbf\xc4\x3c\x9a\x9a\xe9\x76\xd7\x09\xa9\xf8\x97\xd6\xd3\ +\x49\x71\xd8\x4a\x4e\x51\x47\xcb\xd2\xb8\xde\x39\xc5\xac\x6e\x3b\ +\xbf\xc4\x60\x56\xce\xf3\x52\xb8\xd4\xee\x53\x11\xec\x8d\xd5\x58\ +\x31\x3e\xe8\xc9\xce\x2a\x4f\x50\xbd\x16\x16\x6f\x39\x52\xc4\x60\ +\x05\x1e\x66\x9b\x0d\x2e\x68\x75\x09\x2e\x6d\xae\xbc\x24\x95\x83\ +\x48\x9b\x01\xdd\x8f\x43\xe5\x4f\x6f\x6c\xe3\xbe\xb5\x68\x25\xce\ +\xd6\xf3\x1d\xc5\x75\xe2\x86\x58\xe2\x92\xbf\x76\xcd\x51\x0f\x6f\ +\xae\x4b\x24\xc9\x13\xb5\xbb\xb4\xa3\x08\x62\x24\x84\x6f\x20\xd5\ +\xb2\xeb\xb2\xc9\x6f\x6e\xa9\x1a\x7d\xaa\x59\x0c\x6c\xa4\x9c\x2e\ +\x3c\xe9\xe5\xbd\x9d\xdc\x2d\x18\x92\xf4\x3a\x20\xed\xe1\x80\x5b\ +\xf1\xcd\x11\x69\x31\xc5\xab\x49\x7c\x08\xf7\x97\xe1\xc7\x63\xeb\ +\x51\x8c\x3a\x9d\x53\xee\x14\x35\xd4\x75\x4b\xcb\x27\x66\x51\x6d\ +\xe1\x82\x00\x56\x73\xbd\x87\xd2\xb4\xbd\x71\x36\xad\xa4\xca\x38\ +\xdc\x0b\x63\xea\x05\x6f\x3e\x84\xf2\xbd\xd9\x17\x61\x52\xe0\xe4\ +\x83\x18\x24\x79\xe3\x3e\x94\xb8\xd2\x5c\xc9\x65\x23\xcf\xb8\xdb\ +\x0f\xea\x63\x77\xed\xe2\x94\xa1\x9e\x4d\xa6\xb5\xaf\xea\x2a\x66\ +\x91\x6a\xb2\xc9\x6b\x7f\x2e\xd5\xff\x00\x46\x66\x55\xe0\xf3\x8f\ +\x5a\xcb\x6a\x37\x2d\xa7\xc1\x71\x18\xb7\x5f\x11\x4b\x33\x4a\xc4\ +\x2a\xfa\x7c\xcd\x68\xfa\x2c\xbb\xae\x56\x2b\xc6\x8e\x0b\x83\xb9\ +\x90\x20\x27\x27\xbd\x6d\x26\x8a\xe5\x6c\xc2\x5c\x61\xad\x86\x01\ +\x29\x90\x7e\x78\xcd\x6a\xba\x8a\x6b\xed\xfd\xc3\x62\x03\x59\xb8\ +\x9f\x45\x9e\x74\x54\x59\xa2\x6d\x8c\x47\x6f\xa8\xa4\xe5\xb8\xb9\ +\x5e\x9e\xf1\x6f\x21\x82\x68\xb6\x47\xb0\x73\x96\xed\xc9\xf4\xa7\ +\x50\xe8\x8c\x96\xf7\x50\x49\x72\x5e\x39\xc9\x38\x0a\x01\x04\xf9\ +\xe6\x86\xd1\xee\x24\xd3\x9a\xce\x5b\xc0\xc9\x85\x54\x22\x2c\x15\ +\x03\xf1\xac\x70\xea\x1a\xf7\x7c\x7e\xa1\x4c\xcc\x9a\x8c\xed\x75\ +\x1d\x9d\xa4\x51\xf8\x86\x31\x23\x33\x9f\x75\x06\x3d\x07\x35\xaa\ +\xeb\x32\x1d\x3e\xee\x56\x8d\x56\x7b\x63\xb5\x97\x77\xbb\x9c\xe3\ +\xbd\x2d\x3e\x96\xe6\xe1\x2e\x6d\xa7\xf0\xa7\x54\xf0\xc9\x2b\x90\ +\xc3\xe6\x2b\x55\xd1\x15\x6c\x2e\x60\xf1\x9b\xc4\xb8\x3b\x9e\x5d\ +\xa3\x39\xfa\x56\xd4\x7a\x9b\x6b\xf3\xff\x00\xd0\x53\x11\x4d\x5e\ +\xed\x65\xb2\x33\xc5\x0a\xc3\x75\x80\xbb\x58\x96\x04\xe3\xf8\xd4\ +\xe1\xed\x51\x92\x69\x46\x45\xb1\x5f\x1f\x1f\x65\xdb\xf7\x7e\x3c\ +\x63\xe7\xf2\xa9\x33\xda\xba\x70\xc7\x24\x53\xe6\xec\xd1\xe4\x3f\ +\x69\x00\x7f\xd2\x16\xb0\x71\xff\x00\xcc\x4f\xf0\x2d\x55\x36\xe4\ +\x63\xc8\xf6\xab\x5f\xb4\x6f\xfe\x21\x6b\x1f\xf7\x89\xfe\x15\xaa\ +\xcf\x76\xe3\xf6\xd3\xc2\xff\x00\x67\x1a\xf8\x3e\x86\x28\xdc\x15\ +\x9a\xf6\xef\x47\x6e\x47\x7f\x4a\xd9\xab\x55\x65\xf4\x35\x62\xaa\ +\x34\x1e\xf5\x28\xa0\xf3\xf2\xa1\x89\xdd\xda\xb3\xbc\x72\x7c\xfd\ +\x3d\x6b\x23\x8c\x4c\xfd\xcc\x56\xa3\x81\xc7\xe5\x4a\x64\x7d\xe1\ +\xf9\x56\xad\xc7\x23\x91\xfb\x68\x29\xc7\x56\x03\x8f\x8a\x82\x03\ +\x9e\x46\x33\xd8\xd0\x09\x3d\xc6\x7e\xb4\x64\x0e\x0f\x9f\x6a\x02\ +\xcd\xd5\x9d\x53\x0c\x81\x87\xf5\x94\xe2\xb6\x69\x15\x54\x05\xde\ +\xa4\x79\xe7\x1f\xba\x92\xee\x77\x0a\x51\x49\x0b\xcd\x27\x4c\xda\ +\x6d\xe8\x50\x5f\xdc\x32\x6c\xf1\xa5\xc7\xa1\x99\xa9\x2c\x86\x39\ +\x70\x58\x79\xfc\xeb\x2a\x46\xee\x7d\xea\xdc\x6e\x07\x68\x23\x6d\ +\x2a\x43\x51\xd1\x81\xb8\xb7\x00\x2f\xd2\x94\x64\xc1\xc3\x12\x47\ +\xa5\x26\xb8\x0d\xc8\x35\xbe\xf4\x56\xdc\xd9\x3f\x21\x45\x14\x4f\ +\x46\xbb\x10\x0e\x09\x3f\x2a\xc8\xc6\x31\x9c\x0a\xc3\xb2\x8f\x84\ +\xe2\x91\x2c\x59\xb1\x93\x8a\x74\x29\x50\xa3\xb8\x5e\x1b\xde\x23\ +\xb7\xce\xb4\xc1\x23\x24\xe1\x3d\x28\x60\x17\xb9\xfc\xab\x5d\xc5\ +\xdb\x8e\x71\xdb\xcb\x34\x51\x37\x2a\x66\xc5\xd5\x4e\x14\x1f\xad\ +\x26\xfb\x88\xda\x79\x53\xda\xb6\xc1\xf3\xf7\x41\xee\x3b\xe2\xb3\ +\xb9\x49\xc7\xc4\x3f\x2a\x62\x96\xc4\x7c\x3d\xc7\x20\xf1\x58\x54\ +\x1e\x47\xbf\xad\x2d\xdf\x80\x30\x0d\x61\x50\x05\xc9\xe4\x8e\xc2\ +\x82\x3c\x55\x89\xac\x7b\x4e\x5b\x90\x3d\x2b\x0d\x1a\x63\x38\xfc\ +\x29\x6a\x18\x01\xd8\xe7\x1d\xbe\x74\x1a\xe1\xa1\x1d\xd8\xe4\x0e\ +\x3f\x6d\x27\x86\x3d\xb3\x4e\x07\x86\xbc\xf1\x9a\x4c\x49\xbb\x85\ +\x53\x9a\x76\x61\xc4\x48\x47\x8e\x5c\x92\x28\xa5\xd6\x22\x79\x20\ +\x81\x45\x23\x3e\x9b\x7b\xa3\xd2\xd4\x51\x45\x78\x73\xe3\x97\x8e\ +\x9e\xfe\x84\xb7\xfe\xf7\xf8\x8d\x49\x91\x51\x9d\x3d\xfd\x09\x6f\ +\xfd\xef\xf1\x1a\x94\x15\xed\x3a\x5d\x60\x87\xe4\x8a\x78\x0e\xf5\ +\x9a\x28\xab\x8c\xc6\x05\x66\x8a\x29\x81\x8c\x0a\x30\x2b\x34\x50\ +\x06\x28\xac\xd1\x48\x02\xb1\xe7\x59\xa2\x98\x18\xa3\x83\x59\xa2\ +\x80\x31\x45\x66\x8a\x00\xc5\x15\x9a\x28\x03\x1c\x51\x59\xa2\x80\ +\x31\x41\xec\x6b\x34\x1e\xd4\x9f\x60\x3c\x8b\xed\x19\x7f\xff\x00\ +\x3e\xd5\x8f\xfd\xa2\xff\x00\x85\x6a\xac\xc0\x16\xe0\xd5\xa7\xda\ +\x37\xfe\xff\x00\xea\xde\xf1\xcf\x88\x9c\x7f\x75\x6a\xac\x78\x5c\ +\xd4\x30\x2f\xd9\x47\xf2\x3e\x9e\x2f\xc0\x90\x04\x27\xbb\x0a\x17\ +\x8e\xe2\xb1\xb7\x3d\xab\x2c\xb2\x7a\x8a\xad\x9b\x6e\x85\x30\x7d\ +\xde\xd5\x9f\x73\x3f\x0f\xe3\x5a\x29\x23\x19\x1f\xfa\x56\xc0\x10\ +\xbd\xcf\xe3\x48\xdc\x50\x28\x2b\xb4\xb7\x23\xe5\x5b\x64\x9d\xc0\ +\x85\x07\xd7\x15\x85\xe7\x90\x4e\x2b\x20\x7b\xde\xb4\x1b\x5b\x54\ +\x1f\x7b\xe9\x58\x65\xf5\xfd\x95\xb0\x5c\x96\xc7\x23\xd6\xb0\xa1\ +\x8f\x62\x3f\x1a\x01\xaa\x32\xab\x95\xe7\x8a\xdf\x19\x4e\x78\x34\ +\x99\xcf\xba\x09\x39\xf9\x76\xad\x94\x1d\xde\xf1\xa4\x69\x34\x96\ +\x80\x02\x7b\xe0\xd2\x8c\xb8\x2a\xa0\x83\x9e\xf4\x89\x20\x72\x3b\ +\x1e\xff\x00\x2a\xca\xee\xef\x91\x81\xdb\xd4\xd1\x40\xa5\x5a\x32\ +\xc4\x9d\xa4\x9c\x1a\x32\x4a\xe4\x0a\xd7\x24\x2e\x48\xc9\x3d\xb3\ +\x5b\x0f\x75\x33\xe6\x7b\x8f\x4a\x28\x4b\x46\xa5\x73\xf1\x73\x5a\ +\xef\xcf\xc2\x00\xa5\x01\x19\xc8\x04\x8f\xca\xb0\x15\x49\x61\xc0\ +\xfa\xd3\x07\xf6\x13\x3c\x76\x04\xd6\xd9\xdd\xdc\x11\xf4\xa5\x49\ +\x0b\xf3\xcf\x6f\x2a\xd3\x76\x19\xb1\x40\xaa\xbb\x98\xc1\xac\x34\ +\x40\xf6\xf2\xed\x9f\x3a\xce\x5b\xe5\x58\xdc\x42\xf2\x41\xfa\xd0\ +\x2d\x79\x32\x80\x01\xc9\xc5\x6a\xc0\x8c\x03\x8c\xfc\xbc\xab\x49\ +\x1b\x2c\xbb\x69\x34\xf1\x25\x38\x03\x04\xf7\x22\x99\x8b\xf0\x28\ +\xd2\x8c\x36\xde\xf4\x98\x32\x3f\x61\x8a\x71\x0d\xaf\xbb\xb9\xbe\ +\x2a\x70\x23\xd9\x48\xd7\x06\xd5\xb1\xac\x76\xc4\xb7\xbd\xef\x67\ +\xbf\x96\x29\xca\x5b\x84\xf4\x1f\x8d\x6c\xf2\xaa\xfc\x74\xd9\xa6\ +\x4e\xea\xbc\xfa\x51\x66\xd2\x8c\x55\x8e\x09\x0b\xbb\x27\xde\xf4\ +\xee\x28\xa4\x17\x76\xef\x77\x8f\xa5\x15\x9a\x1b\x91\xe9\x0a\x28\ +\xa2\xbc\x49\xe7\x0b\xc7\x4f\x7f\x41\xc1\xfd\xef\xf1\x1a\x94\x15\ +\x56\xd2\xf5\xfb\x5b\x2d\x3e\x28\x1e\x39\xcb\x2e\x73\xb5\x47\x99\ +\xcf\xad\x3f\x8f\xa9\x2d\xa6\x24\x45\x6d\x76\xe4\x0c\x9d\xb1\xe7\ +\x8f\xce\xbd\x5f\x4d\xd6\x60\x58\xa3\x17\x25\x74\x8a\x26\x4d\xd1\ +\x50\x8b\xd4\xb6\xec\x76\x8b\x5b\xb2\x7e\x51\x8f\xe3\x58\xfe\x53\ +\xda\x86\xc1\xb7\xb9\x07\xd0\xaa\xff\x00\x1a\xbb\xeb\x7a\x75\xbe\ +\x43\x27\x28\xa8\x31\xd4\xd6\xc4\x80\x2d\xee\x89\x6e\x00\xda\xbf\ +\xc6\x96\xfd\x36\x3f\xfd\x3b\x50\xff\x00\x83\x4d\x75\x78\x5f\x69\ +\x07\xe6\x4b\x51\x50\xc7\x5f\x8d\x4e\xd3\x63\x7d\x91\xe5\xe1\x0f\ +\xe3\x5b\x26\xba\x8f\x9d\xb6\x37\xe7\x1e\x91\x0f\xe3\x4d\x75\x58\ +\x5e\xb9\x01\x2f\x45\x44\x1d\x6c\x0e\x0d\x85\xf8\xff\x00\xf8\x7f\ +\xf5\xa4\xff\x00\x94\x96\xff\x00\xea\xd7\x7c\x7f\xd9\x8f\xe3\x49\ +\xf5\x78\x17\x79\x01\x37\x45\x43\x8e\xa0\x89\x86\xe1\x67\x78\x47\ +\xa8\x8c\x7f\x1a\xc3\x75\x14\x09\x8d\xd6\x97\x8b\x9e\xd9\x8c\x7f\ +\x1a\x3e\xaf\x07\x7e\x40\x4c\xd1\x50\x47\xa9\xed\x47\x7b\x7b\xaf\ +\xf7\x57\xf8\xd2\x9f\xca\x28\x7f\xd5\x2f\x3f\xe1\x8f\xe3\x4b\xeb\ +\x30\x7f\x10\x13\x34\x54\x27\xf2\x96\xdb\xfd\x5a\xef\xbe\x3f\x9b\ +\x1f\xc6\xb3\xfc\xa3\x80\x77\xb4\xbc\xff\x00\x87\xff\x00\xad\x35\ +\xd6\x60\x7d\xa4\x04\xd5\x15\x0c\xdd\x45\x04\x78\xdf\x69\x78\xbb\ +\xbb\x66\x3f\xfd\x6b\x4f\xe5\x35\xbf\xfa\xb5\xd7\xfb\x83\xf8\xd1\ +\xf5\x98\x3f\x88\x09\xca\x2a\x0c\x75\x35\xae\xd2\xdf\x66\xbb\x20\ +\x77\x22\x31\xfc\x69\xbd\xd7\x59\xe9\x7a\x7c\x22\x6b\xd3\x2d\xb4\ +\x24\xed\x12\x4f\xb5\x14\x9f\xa9\x34\x2e\xb3\x03\xfd\xe1\xd3\x2c\ +\x94\x1e\xd5\x4e\xff\x00\xa4\xde\x95\xff\x00\xf5\x5b\x6f\xfc\xc4\ +\x5f\xf3\x51\xff\x00\x49\xbd\x2d\x8f\xe9\x5b\x6f\xfc\xc4\x5f\xf3\ +\x53\x7d\x4e\x2f\x90\xa6\x79\xd7\xda\x37\xff\x00\x10\x35\x63\xe7\ +\xe2\x0f\xf0\xad\x55\xc8\x0c\xb9\xcf\x15\x61\xeb\xcb\xb8\x2f\xfa\ +\xdf\x51\xb8\xb5\x9a\x39\x62\x91\x94\xac\x91\xb8\x60\x7d\xd5\x1d\ +\xc1\xc5\x57\x86\xd5\x38\xf2\xa7\x83\xfe\xa8\xdf\xc1\xf4\xb1\x7e\ +\x04\x0b\xf2\x38\xfa\xd2\x85\x55\x97\xe2\xe3\xd6\xb5\x50\x06\xec\ +\x8a\x32\x01\xdb\x5b\x2a\x91\xb7\xdf\xc7\x97\xad\x6d\x83\xd8\xe0\ +\x81\xdf\x34\x98\xdd\xbb\x07\x93\xf2\xed\x5b\x60\x81\xcf\x3f\x2a\ +\x0d\x44\xdb\xdd\x56\xc2\xf6\xa0\x02\x37\x11\xde\xb5\xff\x00\x3e\ +\xd4\x6e\x2f\xdb\x8c\x7e\xda\x06\x9d\x1b\x29\x74\x1c\xe3\x1e\x82\ +\x8f\x89\x7d\xdf\xdb\x40\xdd\xbf\x90\x01\x1d\x87\xaf\xe3\x59\xc8\ +\x1d\x94\x9a\x06\x8c\x76\xed\x46\xe6\x35\xb7\xdc\xcf\x9f\xa5\x6b\ +\x82\x78\x27\x06\x90\xda\xa0\x20\x10\x30\x73\x9e\xe2\xb0\x57\x0d\ +\xb8\x7e\x55\x91\xc7\x6e\x28\xc1\xec\xc4\xe6\x98\xbc\x1b\x64\xf1\ +\xc7\xfe\x94\x29\x0d\x8c\xf9\xf7\xac\xe0\xee\xf8\x85\x18\x25\x78\ +\x14\x00\x11\xb8\x77\x6f\xa6\x2b\x42\x49\xee\x99\x3e\xb9\xac\xed\ +\xda\x1b\xcd\xbb\x64\x56\x08\x1b\xbd\x7e\x94\x09\xe8\xd8\xfb\xdc\ +\x37\x63\xd8\xd6\xbe\x59\xf2\xf5\xa3\x04\x6d\xc9\x26\xb0\xd9\x2d\ +\xc3\x7e\x38\xa0\x1d\xb3\x2c\xde\x58\x19\x1d\xbe\x74\x90\x47\x93\ +\xe1\x1e\xef\xcf\xbd\x39\x58\x8e\x72\xc4\x60\xf6\x34\x07\x54\x5e\ +\x01\x38\xed\xf3\xa0\x7c\x55\x6c\xc2\x5a\x85\x03\x39\x66\xf5\xf4\ +\xa5\x95\x02\x8d\xa0\x05\xa4\x5a\xec\xa2\x61\x78\xfd\xb4\x83\x4b\ +\x3c\xdf\x78\x8f\x5e\x3f\x75\x06\x9c\xa0\x97\xb5\x0e\xa4\x98\x2f\ +\xcf\xe9\x4d\xcd\xcb\xb7\x2b\x9c\x50\xb6\xf2\x63\xcf\x1f\xb6\x9c\ +\x24\x11\xad\x02\x5c\xdb\xf8\x1b\x2c\x52\x4c\xdc\x91\x4a\xad\xbf\ +\x38\xc7\x27\xb9\xf4\xa7\x4c\x8a\xab\x90\xb8\xc7\x6c\x1e\xf4\x93\ +\x49\x81\xb4\x52\x1a\xc6\xab\x66\x1b\xc3\x48\xf2\x09\x06\x8a\x4c\ +\x9c\x85\x53\xcd\x14\x50\x3d\xf6\x3d\x1d\x45\x14\x57\x88\x3c\xe0\ +\x53\xfd\x32\x39\x5e\x4b\x81\x09\xc3\x08\x49\x1f\x3e\x45\x30\xa9\ +\x8e\x9d\x21\x6f\x27\x2c\x38\x16\xe7\x9f\xc4\x57\x4f\x46\xaf\x32\ +\x4c\x70\xdc\x90\xa4\x22\x3b\x28\xd5\xe5\xc3\x4a\xde\x43\xca\x9a\ +\x4a\x12\x59\x77\x98\x8e\x4f\x63\x9a\xca\x39\x63\x9d\xa6\x47\x3d\ +\xb1\xcd\x29\xe0\x5d\xf7\xf0\x3d\xdf\x4c\xd7\xd3\x7b\x54\x7d\x2d\ +\x58\xd6\x06\x93\x21\xb9\x0d\x19\xca\xe7\xce\xae\x56\x97\x22\x7b\ +\x15\x9d\xb8\x1b\x6a\xaa\x91\x4d\x35\xca\xdb\x88\xca\xb9\xfb\xc4\ +\x70\x2a\x7e\xe0\xa5\xad\x9a\x5a\x21\xfb\xbc\xe2\xba\xfa\x4b\x8a\ +\x6d\x92\xcc\x94\x9a\xa1\xab\xca\x5e\x57\x97\xcd\x9b\xdd\xa9\x6b\ +\x28\x85\xbd\xae\x5b\x82\x79\x26\xa3\xec\x2d\x8c\xf2\x07\x23\x11\ +\x27\xc3\x9f\x3a\x7b\x75\x36\xe0\x63\x52\x02\x79\x91\x5d\x30\xd2\ +\x73\x64\x64\xed\xd2\x1a\x5f\x5c\x85\x8d\xdf\xef\x1e\x14\x54\x03\ +\x48\xc2\x48\xc0\x50\x41\xf8\xe9\xe5\xd5\xc7\x8f\x38\xc0\xfd\x5a\ +\xf6\xad\x2d\x62\x12\x43\x33\xb7\x73\xda\xb8\xa6\xf9\xcf\x47\x4c\ +\x23\xc5\x0b\xd9\xdc\x78\x6e\x20\xcf\x0c\xd9\x1f\x4a\xdb\x56\x07\ +\x30\x9f\x2c\xe2\x99\xc2\x4e\xe5\x93\x1e\xf4\x75\x23\x7c\xbf\x68\ +\xd3\xc4\x89\xdd\x4e\xe1\x4d\x5f\x06\x8c\xba\x52\x21\x26\xfe\x71\ +\x17\xd5\xaa\x46\x67\x31\x42\xcc\x0e\x5b\xb5\x45\xc8\xe1\x9a\x37\ +\xf4\x60\x4d\x48\xdd\x10\xcb\x16\x3e\xf3\x0a\x8e\x3d\xd9\xb9\xf8\ +\xa1\x48\xad\x12\xe7\xc3\xb7\x03\x0c\xc7\x73\x30\xee\x29\xc5\xdd\ +\x9a\xe9\x76\xed\x3b\x39\x9b\x1d\x95\xcd\x2f\xa4\xae\x67\x96\x53\ +\xf7\x46\x2b\x4d\x51\x85\xc4\x12\xb3\x8c\x8e\xc8\x2b\xb2\x30\x50\ +\xc5\xcb\xcb\x23\x6f\x95\x78\x22\x25\xb8\x96\xea\x40\xd2\x9e\x3c\ +\x87\x92\xfd\x2b\x46\xa4\x77\xbc\x2c\x12\x78\xd8\x31\xec\x47\x9d\ +\x28\x89\x2d\xc9\xc4\x4a\x40\x3d\xdd\xb8\xc5\x71\x39\x39\x3a\x65\ +\xfb\x76\x1d\x59\xc2\x8d\xa6\xca\x31\xc9\xcd\x72\xbf\x6c\xd7\xa5\ +\x34\x9d\x1e\xc5\x7e\xfb\x49\x29\x1f\x4e\x05\x75\xe8\xc2\x41\x1a\ +\xc6\x0f\x03\xbd\x70\xaf\x6d\x72\x14\xea\xab\x3b\x50\xfe\xec\x76\ +\xdb\x80\xcf\x6d\xc6\xba\xb0\xc2\xe7\x10\x84\xbd\xcc\xe6\xd1\x7b\ +\xea\xd9\xa1\x56\x88\xfe\x16\xa0\xf0\xcd\x8a\xfa\x45\x7e\x0d\x87\ +\x2b\xcd\x6c\xc0\x7c\x58\xe2\x93\x5d\xc4\xe0\xf0\x7d\x29\x45\xe7\ +\x81\xdf\xe7\x45\x23\x71\x36\xc9\xf4\xa3\xb7\x27\xb9\xef\xf2\xa3\ +\xb2\xf3\x43\x77\xdd\x45\x1b\x36\x1e\x8b\xc0\xf9\xd1\xd9\x58\x9e\ +\x4d\x1b\x94\xa7\x63\x40\x23\xe1\x3c\x7c\xcf\x34\x86\x83\x01\x8e\ +\x37\xe3\xe5\x8a\xcf\xbc\xc7\x00\x64\x7a\x9a\xcb\x7a\x79\x56\x4b\ +\xe5\x79\x39\xa0\x66\x19\x7b\x73\xff\x00\xa5\x6d\xcf\x6c\x9d\xdf\ +\xb2\x80\x03\x50\xdf\x0e\x3f\x6d\x06\xab\x56\x0c\xb9\xec\x68\xc1\ +\xcf\xf9\xd0\x00\x6e\x01\xe0\x79\xd6\xc0\x11\xd9\x73\xf8\xd2\x1a\ +\xf7\x09\xb0\x1b\xb3\x9e\x28\xec\xb9\xf8\xcf\xce\xb3\x94\x2d\x90\ +\x3d\xd3\xe4\x6b\x3d\xd7\x9f\x2e\xdf\x3a\x76\x65\xe8\xd3\x04\x9e\ +\x07\x35\xba\x36\x5b\xef\x0c\x7a\x9a\xd7\x27\xbe\x7d\xe1\xdb\xe7\ +\x4a\x05\xcf\x73\xf1\x7e\xca\x01\x7d\x8d\x4f\x1d\xb8\x03\xb8\xa3\ +\x1b\x4e\x47\x1f\x4a\x3b\x9d\xa3\xf6\xd1\x80\x07\x26\x81\xb5\x61\ +\x82\xfd\xd7\x1f\x8d\x67\xc4\xf7\x76\xaf\xe6\x6b\x18\x1b\x71\xe6\ +\x7b\xfc\xab\x0b\x11\x66\xda\xbd\xc7\xaf\x6a\x2c\x2d\x89\xbc\x99\ +\x00\x03\x90\x2b\x20\x3c\x8b\x85\x24\x7c\x8f\xf1\xa5\xd2\x28\xe3\ +\xe2\x40\x33\xf4\xad\xdd\x95\x46\x14\x0c\x79\x71\xfb\xe8\xb0\xe2\ +\xde\xd8\x9c\x76\x6a\x8b\x97\x6e\x07\xa5\x38\x01\x15\xb3\x9e\x17\ +\xb7\xce\x92\xdd\x81\x83\xda\xb4\x04\x9f\x74\xf3\xf3\xa2\xcd\xfb\ +\x63\xd8\x72\xce\x17\xde\xee\x3e\x5d\xe9\x1f\x13\x0b\xc7\x35\xa6\ +\xe6\x4e\xdc\xd6\x3d\xef\xea\x8a\x2c\x25\x2b\x32\x09\x60\x43\x1e\ +\xdd\xab\x56\x52\xbd\xc9\xfc\x2b\x65\x21\x8f\xa7\xd6\x81\xcb\x6e\ +\xdf\xf8\x62\x91\x9b\xbe\xe2\x7e\x8d\xe4\x28\xad\xd7\x69\xc9\x60\ +\x70\x7d\x28\xa7\x61\xc7\xee\x7a\x36\x8a\x28\xaf\x0e\xf4\x79\xc0\ +\xa9\x2d\x19\x5a\x4b\x89\x63\x52\x46\xf8\x4a\x92\x0f\xcc\x73\x51\ +\xb5\x29\xa1\x36\xdb\xd6\x38\x24\xf8\x67\x81\xf5\x15\xd1\xd2\xdf\ +\xad\x1a\x1c\x3b\xa2\x72\xda\xd6\x0b\x65\x09\x1a\x0e\x3c\xf1\x4e\ +\x32\x3d\x05\x6a\x22\xb8\x7f\x86\x30\xbf\x53\x59\xfb\x3d\xd0\xec\ +\xaa\x7f\x1a\xf4\x7c\x1a\xec\x8e\x8e\x77\xdd\x8d\xef\x1c\xc5\x1f\ +\x8a\xa4\x78\x83\xb6\x69\x28\x21\x92\xf5\xfc\x46\xce\xd3\xcb\x39\ +\xe0\x62\x86\xb7\x91\xe4\xdd\x7f\x94\x44\xec\x17\xb1\xa7\x85\xb7\ +\xae\xd4\x1b\x63\x5f\x2f\x5a\x71\x8e\xee\x5d\x87\x7a\xd1\xbb\x48\ +\x12\x31\x14\x3c\x28\xf3\xa8\xbb\xdb\x90\x0f\xd9\xe2\x39\x27\xe2\ +\x61\x59\xbe\xbe\x58\x47\x85\x0f\x2e\x7b\x9a\x8f\x53\x82\x49\xee\ +\x7b\xd4\xb2\xe5\xbf\x6a\x37\x0c\x7e\x58\x31\x08\x85\x7f\x01\x4a\ +\xa3\xf8\x48\x54\x79\x0c\xb5\x20\xbe\xfc\xca\x0f\x21\x4e\x4f\xca\ +\x9c\x88\x81\x79\x0f\x93\xad\x46\x0f\xca\x2a\xf4\x6d\x6b\x10\x92\ +\x59\x94\x7d\xf8\xb7\xaf\xd7\x8a\x71\x69\x28\x00\xdb\xbf\xc2\xc3\ +\x2b\x9f\xdd\x4c\x9e\x57\xb1\x58\x25\x04\x12\xae\x14\xfd\x0d\x3b\ +\x9e\x23\x14\xfb\x7b\x2e\x37\xa9\xab\x2e\xd7\xf0\x4e\x4f\x64\x4d\ +\xd5\xbb\x5b\xce\xf0\x11\xf3\x43\x4b\x78\x9e\x25\x9c\x6d\xf7\x91\ +\xb9\xf9\x53\xbb\x95\xfb\x74\x3e\x13\x11\x1d\xc4\x7f\x0b\x79\x1a\ +\x87\xf1\x5e\xda\x62\x92\xa9\x55\x3c\x3a\xff\x00\x9d\x73\x3f\x64\ +\x9b\xf9\x29\x1d\xaa\x2c\xfa\x6c\xa0\x41\x71\x8e\x4e\x73\x4d\x66\ +\x6d\xd2\xc2\x9e\x40\x6e\xa6\xfa\x5d\xd9\x17\x05\x02\x99\x03\x2e\ +\xd6\xdb\xfb\xf3\x4e\xda\xce\xf1\xdd\x59\x62\x50\x02\x91\xcf\x7a\ +\xec\xdc\xb1\xae\x24\x1e\xa6\xec\x69\x3c\x99\x9b\x81\x9d\xab\xc1\ +\xf2\x06\x95\xd8\xf1\xc2\x1d\x25\x59\x41\x19\x2a\x47\x34\x91\xb7\ +\xb9\x86\x35\x89\xe0\x3b\x9b\xe2\x6c\xe4\x0a\x5d\x91\x21\x8a\x34\ +\x92\x5f\xd6\xa7\x66\x51\xdc\x54\x94\x5a\x76\xcd\xa7\x7d\x8d\xa3\ +\x68\x84\x4a\xb2\xaf\xbf\x2f\x3c\x8f\x87\x35\xe7\x5f\x6b\xd3\x34\ +\x9e\xd0\xae\xd2\x4c\x93\x0c\x51\xc6\x3f\x2a\xf4\x63\xc2\x64\x25\ +\x9c\x61\x9b\xb6\x3c\xeb\xcd\xfe\xd4\x12\xe2\xeb\xda\x76\xab\x0c\ +\x70\xbb\x4c\x19\x14\x22\x2e\x73\x85\x15\xd3\x86\x2d\x4a\xd8\xf1\ +\xca\xd9\x4b\x81\xb7\x16\x5a\x50\xf1\xdb\x9a\x7f\x07\x4b\xeb\xc3\ +\xf5\x83\x4c\xb8\x0b\xbb\xbe\x05\x35\x9e\xda\x6b\x69\x1a\x39\xa1\ +\x92\x36\x1f\x74\xa9\xae\xae\x51\xf0\xce\xa8\x45\xf1\xd8\x86\xf1\ +\x9c\xf3\x9f\x5a\x50\xb0\x4e\xfb\x4e\x7b\xf3\xda\xb4\x03\x24\x70\ +\x48\xec\x48\xad\x83\x6d\xcf\xff\x00\x99\xad\x0d\x68\xca\x9c\x72\ +\x79\x1f\x3a\xdb\x05\xc8\xe7\x25\xbb\x2a\x82\x4f\xe4\x2b\x5c\x93\ +\xdc\x63\xce\xbb\x27\xb2\xae\x9a\xb3\x8f\x49\x8b\x58\xba\x81\x64\ +\xba\xb8\x72\x13\x78\x04\x46\x83\x80\x79\xf3\xac\xca\x5c\x41\x9c\ +\x79\x91\xe3\x72\xb2\x6f\x46\x1f\x75\xd7\x69\xfc\xab\x00\x85\x5a\ +\xea\x5e\xd6\xf4\x88\x15\x21\xd5\x20\x8d\x56\x41\x2e\xc7\x21\x71\ +\x90\x7d\x6b\x95\x80\x73\xef\x72\xbf\x2a\x51\x7c\x91\xab\xaa\xa1\ +\x4d\xdb\xbe\x1f\x3f\x5a\x31\xfd\xb1\xf9\x51\xdf\x18\x4e\xde\xa6\ +\x81\xea\x79\x1f\x2a\x65\x3b\xf7\x36\xdc\x15\x7d\xd5\x34\x6e\x18\ +\xf3\xcf\xa5\x1b\x87\xce\xb3\x94\xc6\x73\x40\xfc\x19\xc8\x03\x69\ +\x1f\x95\x01\x7d\xdf\x4f\xa5\x6a\x08\x03\x8f\xdb\xde\xb6\xdd\xf2\ +\xa5\x43\xb0\x07\x71\xdd\x42\xf2\x9c\xf0\x3f\x6d\x0a\x55\x56\xb5\ +\xdd\xe5\xe7\x45\x05\x57\x73\x3e\xee\x57\x83\xb8\x76\x34\xa1\x24\ +\x37\x18\xac\x2f\x61\xef\x8f\x77\xcb\x15\xa1\x21\x95\x8e\xd3\x4c\ +\x4b\x46\xed\xb7\x6f\xcf\xd6\xb5\x00\xed\xda\xd8\x3f\x31\x42\xfb\ +\xdd\xeb\x2a\x87\xd2\x83\x56\x0a\x83\x39\xcb\x56\xc1\xb6\x9f\x98\ +\xef\x41\x27\x0b\xb4\x90\x0f\x7c\xd6\x1b\xb7\x71\x8e\xd8\xf9\x52\ +\x1b\xf6\x83\xae\xec\x73\xde\x85\x00\xa9\xcb\xf0\x7c\xf1\x5b\x7d\ +\xd1\xee\x76\xed\xcd\x26\x66\x58\xc6\xdc\xe7\xeb\x40\x39\x53\xb6\ +\x2c\x08\x39\x01\x94\x81\xe7\xb6\x84\x28\x79\xe4\x8f\xca\x9a\x7d\ +\xa4\x8c\x84\x52\x49\xef\xb7\xb5\x60\xcf\x3b\x2f\xc1\xc1\xef\xf2\ +\xa2\x84\xb2\x21\xec\x9b\x55\xbd\xd0\x4d\x64\x2e\x57\x93\xf9\x53\ +\x2f\x1a\xe8\x76\x19\xad\x92\xea\x64\x55\xcc\x7f\x90\xa2\x83\xd5\ +\x8f\x2e\xc3\x8d\xaa\x4e\x08\x3f\x5a\xd6\x5e\x37\x10\xc4\x36\xdf\ +\x23\xc5\x0b\x70\x5d\x97\x90\x17\xd3\x15\xa4\xa0\xee\xc6\x47\xce\ +\x8a\x1e\xbb\xa3\x61\xb9\x51\x46\xf1\x93\xdb\x8a\x2b\x39\x03\x05\ +\xcf\x23\xd2\x8a\x56\x36\x8f\x45\xd1\x45\x46\x6a\x7d\x47\xa3\x68\ +\xc7\x6e\xa1\xa8\x41\x04\x9d\x8a\x16\xcb\xff\x00\xba\x39\x1f\x95\ +\x78\xb5\x09\x4d\xd4\x56\xcf\x35\xe4\x93\xa9\x5d\x0a\x6f\x02\xf2\ +\x47\x0a\x09\x31\x90\x3f\x31\x54\x58\x3d\xa0\xf4\xa5\xc4\x9b\x13\ +\x57\x89\x4f\xfd\xa2\x3a\x0f\xcd\x80\xab\xa6\x81\x3c\x37\x33\x19\ +\x60\x95\x25\x89\xa3\x38\x74\x6c\x8e\xe2\xba\xf0\x62\xcb\x8b\x34\ +\x5c\x93\x43\x86\x9a\x27\xa4\xb8\xb9\x93\x93\x2e\xc1\x5a\x89\x2e\ +\x17\xe1\x9b\xf3\xac\x31\x3e\xb4\x1f\x7a\xbe\xdb\x94\x93\xee\x75\ +\x50\xf2\x1b\x95\xbb\xfd\x45\xc2\x80\xfe\x47\x15\x15\x7f\x7d\x35\ +\xb4\xcd\x6c\xaa\x77\x83\xc3\x1f\x4a\x59\xdb\xc3\xc4\x83\xe2\x56\ +\xcf\xe1\x48\x75\x24\x91\x5b\x04\xbc\x94\x84\x8d\x62\x66\x77\xf9\ +\x01\x93\x46\x49\x4a\x78\xdb\x5d\xc7\x04\xb9\x6c\x62\x01\xce\x5b\ +\x93\xea\x6b\x26\x4d\xab\x93\x51\x1a\x2f\x53\xe8\xdd\x44\xf3\xae\ +\x95\x7c\x2e\x4c\x20\x17\xda\xac\x36\xe7\x38\xf8\x87\xca\xa5\x55\ +\x7c\x49\x00\xfb\x83\xe2\xae\x47\x09\x27\xbe\xe5\xed\x56\x85\xed\ +\xa3\x67\x5e\x46\x1a\x4e\xff\x00\x4a\x78\xea\x03\x95\x1c\x6d\x5a\ +\xde\xd6\x3c\x1f\x11\xbb\x63\x00\x7a\x56\xb2\x2f\xeb\xe4\xff\x00\ +\x66\xaf\x18\xd2\x24\xdd\xb1\x9e\xa5\x1f\xfa\x0c\x52\xfd\xdd\xcb\ +\xbb\xe7\x52\x28\xef\xaa\x69\xe6\x68\xe2\xd8\xd0\x9c\x28\xcf\xc4\ +\x07\x95\x40\xf5\x4e\xaf\x65\xa4\x74\xe4\x37\x57\xf7\x2b\x6d\x10\ +\x99\x50\x39\xc9\xe4\x86\xf4\x07\xd2\x94\xe9\x3e\xab\xd2\xee\x34\ +\x75\x9a\x09\x4c\xd0\xbb\x95\xf1\x95\x70\xbc\x1c\x79\xe2\xb5\x8d\ +\xd4\xdf\x2e\xcc\x4d\x5c\x7e\xe3\xe6\x0b\x2a\x92\x73\x8f\xda\x29\ +\x1b\x98\x8c\xf1\xac\x52\x28\x97\x79\xc2\x9c\x72\x2a\x46\xf6\xd8\ +\x47\x8b\xa8\x32\xd0\xc8\x32\x40\xf2\x3f\xc2\x9b\xdb\x38\x6b\xcb\ +\x7e\x78\x2d\x5a\x96\x3f\x77\x19\x07\x2d\x5a\x25\xb4\xed\x3e\x1d\ +\x32\xd5\x61\x88\x64\xf9\xb1\x1c\x9a\x77\x49\x5d\x5c\x8b\x68\x4c\ +\x8f\xc8\x3c\x00\x2a\x25\xb5\x2b\xb2\x77\x28\x45\x1e\x87\x9a\xeb\ +\x73\x86\x34\x91\x05\x17\x3e\xe4\xe6\x01\x18\x20\x63\xd2\x99\x5e\ +\x59\x00\x86\x48\x94\x10\x3b\x29\x1d\xa9\x2b\x5d\x57\x73\x88\xee\ +\x14\x29\x3f\x78\x76\xa9\x32\x79\xcf\x7c\xd6\xb5\x35\x68\x5e\xe8\ +\x91\xe8\x44\xe6\xdd\xd4\x70\xa7\x0f\xf2\xae\x44\x97\x36\x3f\xf4\ +\x87\xd5\x97\xcb\xb2\x4b\xff\x00\xb4\x2c\x51\xee\x03\xf5\x71\xaa\ +\x0c\x91\xf8\xd7\x58\x9b\xc4\xb4\xbb\x68\xa3\x5f\x72\x73\x91\x8f\ +\x2a\xf2\x8e\xad\xac\x5d\xdb\xf5\x7e\xa9\x79\x0c\xa5\x24\x7b\x99\ +\x01\xf9\x80\xc4\x56\x1d\xc9\x38\x9d\x7d\x3a\x57\x6c\xed\x90\xdc\ +\x46\xe7\xba\xb3\x1f\x2a\xdc\x69\x76\xd7\x0c\x5e\x7b\x64\x66\x6f\ +\x55\x06\xb9\x36\x89\xd6\xf2\x41\x74\xbf\x6b\xc8\x07\xbb\x83\xda\ +\xba\xbe\x93\xab\xdb\xea\x09\x19\xb7\x70\xed\xb7\xb0\xc9\x3f\xb2\ +\xb9\xd4\x5a\x75\x24\x76\xcf\xe6\x2c\xaa\x75\x27\xb3\x78\x2f\xf7\ +\x5c\x69\x85\x6d\xee\x3c\xd3\x18\x56\xfc\x3c\xab\x97\xea\x7a\x65\ +\xde\x95\x77\xf6\x7b\xd8\x1a\x36\x5f\x5e\xc7\xf1\xaf\x4b\x4d\x69\ +\x77\xf7\x6c\xe7\xdb\xfe\xc1\xc7\xee\xac\x1d\x02\x0d\x46\x2d\xb7\ +\xb6\xeb\x20\xfe\xab\x28\xaa\xc2\x72\x81\x8e\x6a\xb6\x79\x7d\x89\ +\xc1\x19\xe4\x57\xa0\x7d\x9f\xcf\x1f\xf2\x33\x4f\x5c\xfb\xbe\x0e\ +\x31\xf8\xd4\x7f\x52\x7b\x23\xd3\x6e\xa2\x79\xb4\xc7\x36\x93\xff\ +\x00\x54\x72\xa7\xf0\xa6\x7d\x23\x0e\xa5\xa0\x40\xba\x6e\xa5\x11\ +\x41\x13\x10\x92\x77\x56\x14\xf2\x64\x4d\x26\x38\xae\x77\x45\x83\ +\xaa\xf4\x73\xae\xe8\x53\x59\xf3\x96\x1b\x81\xf4\x35\xc0\xee\x2d\ +\xa5\xb1\xb9\x92\xd6\xe2\x36\x8d\xe3\x38\x60\x7c\xbe\x75\xe9\x88\ +\x27\x49\x17\x0c\xd8\x07\xce\xa8\x7e\xd0\x3a\x3e\x3d\x56\x0f\xb7\ +\xe9\xff\x00\xf5\xd8\x87\x20\x0f\xe7\x07\xa5\x18\xf2\x2b\x04\xf7\ +\x47\x1c\x04\x7d\x7e\xb5\xb2\xee\xfc\xfb\xfc\xa8\x78\xde\xdd\xfc\ +\x39\xa3\x68\x9c\xfd\xd7\x52\x0d\x67\x77\xbb\x5d\x3d\xfb\x0d\x7d\ +\xcd\xb0\x71\x9d\xc3\x3e\x95\x8f\x77\x19\x60\x33\xe8\x2b\x58\xc8\ +\x3d\xc5\x6c\x08\xee\x06\x68\xa3\x5a\x36\x03\x77\xbc\xdf\x15\x1f\ +\x3f\x2a\x06\x08\xce\xfe\x7e\x95\x9c\x10\x76\x81\x9a\x46\xd2\xb4\ +\x67\x6f\xbb\xf7\x7f\x2a\x4d\xb9\x6e\x29\x4f\x78\x0c\x90\xb9\xf4\ +\xa3\x85\xf7\x98\x03\xf2\x14\x58\x38\xec\x06\x0f\x73\x8a\x19\x98\ +\xf6\xe3\x1d\xf1\x47\x66\xe7\x9c\xd1\xd9\xb9\x3c\xfa\x0a\x01\x6c\ +\xdb\x77\xc3\xee\x8e\x7b\xd6\x72\x7b\xb1\x20\x1f\x4a\xce\x77\x79\ +\x01\x46\x63\x27\x01\x8e\x3e\x94\x14\xaf\x83\x52\x43\x2e\xda\xd0\ +\xf2\x3e\x10\x1b\xd7\xbd\x2c\x55\x55\x9b\x68\x3f\x8d\x6c\xa1\x52\ +\x2c\x15\xfc\xa9\x0f\x8d\xbd\x88\xac\x65\xfe\x79\xf4\xe2\xb2\x60\ +\x84\x64\xb6\xe2\x45\x29\xbb\xc4\xf8\x46\x7e\x9c\x56\x37\xa7\x24\ +\x49\xb4\x9f\x51\x9a\x0c\xb4\xab\x66\x85\xf6\x26\x23\x89\x39\xf5\ +\xad\x55\xe7\xc3\x00\x22\x03\xd3\xbd\x64\x80\x47\xba\xa3\x8e\xc7\ +\x15\xb4\x60\xa6\x48\x18\x07\xd2\x98\x2b\x6c\x43\xfd\x2c\x0d\xc4\ +\xc5\x8f\x41\x5a\x7d\xae\x58\x70\x25\x80\x80\x3b\x91\x4e\xc0\x23\ +\x93\x81\x5a\x3f\x0c\x06\x01\x07\xbe\x3c\xe8\xb3\x2e\x0d\x2d\x33\ +\x48\xee\xa2\x90\x9d\x87\x39\xf2\xed\x8a\xd5\xfd\xe3\xdf\xde\x3d\ +\xcd\x25\x35\xac\x64\x31\x51\xe1\xb2\xfe\xda\x42\x19\x18\x19\x15\ +\xc9\xcf\x97\xa5\x0b\x64\x9e\x49\x27\xc6\x63\x99\x65\x2b\x19\x60\ +\x32\x7c\xbd\x68\xa4\x93\x74\xee\x5b\xc9\x38\x14\x52\x7a\x30\xd4\ +\xa5\xb8\x9d\xb3\xda\x1f\x53\xcb\xd3\x7a\x22\x8b\x42\x16\xf2\xed\ +\xbc\x38\xd8\xfd\xc0\x3b\x9f\xaf\x6f\xce\xb9\xbf\x49\xf4\x25\xe7\ +\x58\x24\x9a\xa5\xf5\xeb\xc5\x6a\xce\x57\xc5\x6f\x7d\xe5\x6f\x96\ +\x7f\x7d\x58\xbd\xb3\x5a\x4a\xd0\x69\x37\x60\x31\x85\x0c\x88\x71\ +\xd9\x49\xc1\x1f\x9e\x2a\x7b\xd9\x7e\xaf\x69\x7b\xd2\x36\xf6\x11\ +\xca\x05\xcd\xa6\xe4\x92\x32\x40\x24\x16\x27\x23\xd7\xb8\xaf\x8d\ +\x09\xcb\x0f\x45\xea\xe2\x5e\xe6\xf6\xcf\x8f\xda\x36\x88\xe9\xfd\ +\x8e\x69\x0d\x16\xdb\x6d\x46\xfa\x39\x3d\x64\xda\xe3\xf2\x01\x7f\ +\x7d\x5e\x7d\x9a\xe8\x97\x1d\x39\xa6\x9d\x3a\xea\x58\xe5\x65\x67\ +\x2b\x22\x1e\x19\x49\x04\x53\xe2\x70\x0f\x27\xea\x47\x6a\x89\xd6\ +\xb5\x9f\xb2\x74\x8e\xbd\x7d\xa7\xcc\xaf\x35\xad\xab\x20\x92\x26\ +\xcf\x86\xe7\x68\xf2\xec\xc0\x36\x79\xae\x4e\x9f\xaa\xcf\x9e\x6a\ +\x13\x76\xac\x51\x7b\x25\x75\xef\x69\x3d\x2b\xd3\xf7\x2f\x6b\x79\ +\xa8\x87\xb9\x53\x86\x8a\x04\x32\x32\x9f\x30\x71\xc0\xfc\xe9\xcf\ +\x4e\xf5\xcf\x4e\xf5\x3c\x9e\x0e\x97\xa9\x24\x97\x1d\xcd\xbc\x8a\ +\x63\x93\x8f\x45\x38\xdd\xf4\x19\xae\x55\xec\x37\xa6\xf4\xfd\x66\ +\x6d\x5f\x51\xbd\x86\x39\xee\x2d\x8c\x69\x10\x90\x06\x0b\xbb\x71\ +\x2c\x41\xf3\xe0\x7e\xda\x83\xf6\xa5\x68\xbd\x2d\xed\x1a\x1b\x9d\ +\x29\x52\xd2\x63\x0a\x5d\x01\x08\xda\xaa\xfb\x98\x64\x01\xdb\x3b\ +\x73\x8f\x9d\x7d\xbf\x4a\x2e\x5c\x0e\x8e\x4e\x8f\x42\xea\x97\xf6\ +\x9a\x4e\x9f\x35\xe5\xfd\xd4\x70\x5b\x26\x03\x49\x21\xc0\x00\xff\ +\x00\x9f\xd2\xb9\xe7\x52\xfb\x55\xe9\x3d\x63\x4e\xbb\xb3\xb6\xbf\ +\x97\x26\xd2\x58\xd1\xa4\x81\xc0\x66\x2a\x40\xc7\x1f\xbe\xaa\xbe\ +\xdb\xb5\xb9\xef\x24\xd0\xac\xd4\xb2\x40\xd6\xe6\xe5\xd3\x3c\x19\ +\x18\xe3\x9f\xa6\x3f\x6d\x59\x4f\x44\x68\x36\xdd\x09\x70\x91\xe9\ +\x56\x93\x4b\x1d\x8b\xcc\xd7\x4c\x80\xc8\x5c\x26\x77\x06\xef\x8f\ +\x4a\xc7\xb2\x10\x5c\xbc\x94\x56\xdf\xe4\x55\x7d\x87\x2b\x35\xf6\ +\xb2\xaa\x32\x4c\x71\x7e\x1c\xb5\x74\xcd\x6f\xad\xfa\x73\xa5\xa5\ +\x16\xba\x8d\xf8\x59\xc7\x2f\x0c\x4a\x64\x93\xf1\xc7\x6f\xa1\xc5\ +\x72\xef\x63\x77\x72\x58\xc1\xd4\xd7\x31\x2e\xe9\x22\xb4\x59\x55\ +\x7d\x4a\x87\x20\x55\x73\xa2\xb5\x19\xff\x00\x94\x97\x3a\xa4\xdd\ +\x3d\x27\x51\x5c\x6c\x66\x31\x96\xe1\x58\x91\xef\x9f\x75\xbb\x55\ +\x27\x85\x4f\x24\xa5\x2f\x06\x54\x9a\x8f\x15\xdc\xf4\x17\x4c\x75\ +\xc6\x81\xd5\x53\x18\xf4\xed\x44\x35\xc2\x02\x4d\xbb\xab\x46\xf8\ +\x1c\xe4\x03\xf1\x0f\xa7\x35\x62\x8b\xf5\xb2\x4a\xdd\xd7\x18\x15\ +\xe7\x3d\x79\x35\xdb\xfe\xa3\xb4\xd7\x34\x7e\x8b\xbc\xd1\xee\xa0\ +\x21\x98\x42\x0b\x2b\x90\x72\x0e\x02\xaf\x71\xc1\xf5\xaf\x45\x59\ +\x5c\x43\x35\xba\x32\x65\x78\xce\xd3\xe5\xf5\xa9\x4e\x11\x4d\x53\ +\x1d\xba\x39\xb7\xb6\xd6\xc7\xb3\xb8\xa3\x3c\x32\xea\x11\xff\x00\ +\x85\xe8\xf6\x43\x61\xe3\xf4\x15\xa4\xd3\x13\xe0\x89\xa4\x38\xf5\ +\xc3\x1a\xc7\xb7\x39\x60\x7e\x88\x8c\x27\x2e\x2f\xa3\xcf\xfb\xaf\ +\x51\x3d\x2f\xad\x4b\xa3\x7b\x05\xb9\xb8\xb7\x90\x8b\xa5\x59\x84\ +\x5b\x7b\xa9\x32\x60\xb7\xe1\x9a\xd3\x8c\x65\x89\x2f\xb8\x7b\xb9\ +\x68\xe9\x1a\xd7\xb5\x3e\x8d\xe9\xb9\xbf\x47\xdd\x6a\x22\x49\x90\ +\x6d\x92\x0b\x68\x8c\x9e\x1f\xa8\x24\x71\xf8\x67\x35\x8d\x23\x5f\ +\xd1\x3a\x9a\x26\xba\xe9\xbb\xf4\xb8\x31\x10\xd2\x5b\x90\xca\xe9\ +\xeb\xee\xb6\x0e\x3e\x95\xc1\x7d\x9b\xde\x4f\xa6\xc9\x7b\x7b\x0f\ +\x45\xc9\xd4\x52\x6e\x55\x12\xe7\x3e\x0f\x72\x78\xd8\xdc\x9f\x5a\ +\x9e\xd2\x6c\x7a\x96\xdf\xda\x86\x9d\xd4\x1a\x77\x47\x5f\xe8\xd6\ +\xd2\xce\x82\xe2\x04\x42\xc9\xb0\x9c\x39\x1e\xea\x8c\x6d\xe7\x18\ +\xef\x5d\x32\x49\xba\x64\x96\xb6\x8e\xab\xd5\xbe\xd0\xba\x7b\x45\ +\x4b\x68\xb5\x0b\xd3\x1d\xe6\x41\x36\xaa\x8c\xce\x06\x3b\x9c\x0e\ +\x29\xa7\x4f\xf5\xd6\x81\xd4\xf7\x0d\x6f\xa5\xdd\xb4\x97\x6a\x0b\ +\x78\x0f\x13\x23\x60\x63\xd4\x63\xcf\xd6\xb9\x97\xb4\x6d\x0b\x5f\ +\xe9\x8f\x68\xd7\x5d\x50\xda\x58\xd4\x74\xf9\x26\xfb\x42\x49\x2c\ +\x46\x48\x40\x23\x1b\x64\x1f\x77\x1e\x59\xc5\x5c\xbd\x98\xf5\x47\ +\x47\x75\x2f\x50\x2c\xb0\xe8\x51\x69\x1d\x44\x90\x38\xfd\x59\xf7\ +\x26\x5e\x33\x8f\x52\x30\x0e\x08\xce\x33\xde\x94\xb0\xa9\x2d\x82\ +\x93\x44\xb6\xbb\xed\x0b\xa7\x3a\x7e\xed\xac\x35\x2b\xc2\x2e\xd3\ +\x87\x86\x18\xd9\xf6\x7d\x71\xc0\x3f\x2c\xf1\x56\x7e\x8b\xeb\x5d\ +\x1f\xab\xac\xe4\x1a\x75\xe7\x8d\x2d\xb6\x3c\x64\x64\x65\x65\x07\ +\x20\x1e\x47\xca\xbc\xf5\xac\x69\xdd\x43\xec\xe3\xad\xee\xf5\x2d\ +\x43\x4a\x8e\xf6\x19\x64\x7d\xb7\x17\x10\x97\x8a\x65\x76\xce\x43\ +\x7d\xd7\x3f\xb0\xf9\x62\xba\xc7\xb2\x4d\x6f\xa6\xb5\xbb\xed\x4e\ +\xeb\x49\xd3\x53\x4c\xd4\x5e\x25\x37\x36\xc8\x70\xac\xa0\x9c\x32\ +\xe3\x8c\x64\x9e\x40\xcf\x22\x88\x63\x51\x7a\x1c\x9f\x2e\xe7\x4a\ +\xbc\xe2\x7b\x53\xe8\xdf\xe5\x5e\x35\xd4\xa4\xdf\xa9\xde\xc9\x9f\ +\x79\xae\x24\x39\xfa\xb9\xaf\x63\x6a\x4f\xb4\x02\xb9\xcc\x6a\xcd\ +\x81\xea\x01\xfc\xab\xc8\x9a\x3e\x93\x27\x50\x6b\x32\x5a\xab\x04\ +\x4d\xcf\x24\xae\x7e\xe2\x03\xcd\x3b\x49\xb6\xcb\x74\xe9\xec\xdf\ +\xa7\x7a\x4b\x57\xea\x8b\x85\x8b\x4f\x80\x6d\x77\x58\xfc\x49\x09\ +\x0a\x09\xf3\xcf\xca\xbd\x25\x67\xa6\xf4\xcf\xb2\x3e\x93\xfb\x44\ +\xa1\x99\x80\x0b\x24\xdb\x0b\x4d\x71\x21\x1d\x94\x79\x67\xd3\xb0\ +\xa8\xae\x82\x82\xcb\x4c\xb9\xb2\xb4\xb7\x0a\x21\x40\x55\x0f\x99\ +\x24\x63\x27\xe6\x6a\x77\xae\xb4\x99\x75\x1b\x9d\x30\x95\xdd\x6a\ +\x85\xc3\x8f\x20\x4e\x30\x4f\xed\xa2\x19\x39\xc7\x92\x35\x91\x3e\ +\x6a\x1f\x23\x1d\x37\xda\x7b\xea\x71\x47\x32\x74\xfd\xc4\x71\x48\ +\x32\x3c\x49\x80\x61\xf8\x6d\xc7\xed\xa9\x2b\xbe\xa1\xb6\xbe\x58\ +\x04\x11\x4a\x93\x16\xc3\xc6\xeb\x82\x05\x21\x06\x9b\x15\xac\x4a\ +\x88\xab\x8c\x63\x81\x4a\xad\xb2\x0f\x78\xa7\x1e\xb8\xe2\xb1\x2c\ +\x8d\xf7\x1f\xa7\x18\xbd\x0e\xda\x39\xfc\x2d\xcc\x8f\xb3\xbe\x71\ +\xc5\x21\x71\xa5\x6f\x8b\xc4\x78\x88\x53\xc9\x6c\x76\xa9\xe7\x92\ +\x08\xb4\x61\x2d\xc1\xc4\x29\x18\x76\xf9\x81\xce\x2a\xb8\xdd\x45\ +\x7d\xa9\xa9\xb5\x86\xd0\x44\xb2\xba\xa8\x90\x36\x4a\x8c\xfa\x56\ +\x9e\x34\xbb\x98\x8e\x47\xe0\x6e\xda\x14\x93\x2f\xfa\x30\x7f\xee\ +\xf6\xa4\x4d\xb4\xb6\x1e\xe5\xd5\xbb\x28\xed\xbd\x87\x19\xab\x7e\ +\xa5\x15\xe2\x58\xac\x3a\x6c\xd0\xc1\x26\x71\xbe\x53\xf7\x71\xf4\ +\x3c\xd2\x16\xb6\xf7\x4f\xa7\xc9\x6f\xaa\xdd\x41\x33\x1f\x82\x44\ +\x3f\xc7\x15\x9f\x45\x1a\x5d\x44\x8a\x36\xab\xd3\x36\x3a\xfc\x2f\ +\x04\xb6\x22\x57\x65\x2b\xbd\x62\xf7\x94\xfc\x88\xed\x5c\x53\x5d\ +\xe8\x3e\xa2\xe9\xf6\x9a\x4b\xad\x32\xec\xd9\x44\x7f\xeb\x0b\x16\ +\xe5\xc7\xa9\xc7\x6a\xf4\x3d\xa6\xa1\xa8\xfe\x8e\xf0\x74\xab\x60\ +\xf3\xb4\x84\xb3\xf7\x0b\xfc\x3f\x1a\x9d\xd1\x13\x55\x36\xd3\x47\ +\xac\xcb\x6f\x34\x84\x80\xaa\x80\x70\xa7\xc9\x87\x15\xbc\x49\x1b\ +\x96\x69\x2e\xc7\x91\x74\x9d\x2e\xf7\x5a\xd4\xa0\xd3\xac\x6d\xda\ +\x6b\x99\xc8\x54\x40\x38\xfa\x93\xe4\x3e\x75\xd1\xba\xcb\xd9\x65\ +\xee\x87\x61\xa2\xdb\x68\xda\x7d\xce\xa3\x72\x52\x46\xbd\xb8\x82\ +\x32\xc1\x9c\x95\xc0\x03\xc8\x77\xc5\x46\xf4\x76\xab\x71\xa0\xfb\ +\x5b\x6b\x1b\x0f\x09\x21\xb8\xd4\x9a\xd1\xc1\x88\x31\x11\x78\x87\ +\xdd\x53\xe5\x5d\x1b\xdb\x0f\x5b\xeb\xbd\x25\x79\xa4\xc5\xa3\x5d\ +\x47\x02\xdd\x24\xad\x26\xf8\x95\xf2\x41\x5c\x77\xfa\xd5\x42\x79\ +\x25\xcd\x71\x38\x2c\xd6\x77\x56\x77\xcf\x65\x73\x6d\x2c\x77\x2a\ +\xdb\x4c\x2e\xb8\x65\x61\xce\x31\x53\x47\xa1\xfa\xb1\x6d\x7e\xd4\ +\x7a\x7b\x52\xd9\xb7\xca\xdd\xb7\x7f\xbb\xdf\xf6\x57\x4f\xf6\x31\ +\x62\x3a\x87\x54\xd6\x7a\xb7\x55\x54\x9f\x50\x69\x84\x68\xde\x18\ +\x01\x1b\x19\x66\x03\xc8\xf6\xe7\xeb\x53\x77\x16\x7e\xd1\x07\x57\ +\x36\xa1\x1f\x52\x68\x6b\xa6\xac\xc7\x16\x2d\x31\xc0\x8b\x3f\x09\ +\x1e\x1f\xc5\x8f\x3c\xd2\xa3\x72\xea\x5a\x7c\x51\xe7\x70\xae\x18\ +\xab\x80\x24\x07\x95\x65\x39\xe3\xcb\xe5\x5a\x85\x51\xcb\x67\x15\ +\xd5\xfd\xb8\x69\x16\x36\xba\xd5\x86\xaf\xa7\xb4\x5e\x25\xe0\x74\ +\xb8\x11\x60\xfb\xcb\x82\x1b\x03\xcc\xee\x3c\xfc\xab\x95\x8e\x78\ +\xde\x0e\x79\x2a\x47\x6a\xcb\x54\x75\x62\x9f\xa9\x1b\x25\x9b\xa5\ +\xf5\xb5\xd2\x97\x51\x3a\x5d\xdf\xd8\xf6\x06\x17\x1e\x17\xba\x41\ +\x20\x0c\x7a\xe7\x34\xe1\xba\x27\xa8\xd2\xd3\xed\xa7\x42\xd4\x16\ +\x00\x32\x58\xc2\x73\x8f\x5c\x77\xae\xef\x6f\xac\x4b\xa0\x7b\x13\ +\xb3\xd5\xa1\x82\x29\xa6\xb6\xd3\xe1\x64\x49\x39\x52\xde\xe8\x1f\ +\x91\x22\xab\x7e\xca\xbd\xa1\x6b\xfd\x4d\xd4\xb7\x3a\x7e\xad\x71\ +\x15\xcc\x46\xdd\xa6\x5d\xb1\x2c\x66\x32\x0a\x8c\x0d\xa3\xe1\xe7\ +\xce\xb5\x47\x33\xea\x26\xd3\x69\x76\x39\x06\x9b\xa2\x5f\xeb\x77\ +\x06\x1d\x32\xca\xe2\xee\x50\x32\xcb\x0a\x93\xb7\xeb\xe9\xfb\xe8\ +\xd4\x74\x8d\x43\x42\x9d\x61\xd5\x2c\xa7\xb6\x94\x8c\x85\x95\x31\ +\x9f\xc7\xb7\xe1\x5d\x3b\xda\x07\x5b\x6a\x1d\x1f\xd5\x13\xe8\xbd\ +\x35\x05\xb6\x9d\x1a\x91\x71\x71\x22\xc2\xac\x66\x91\xc6\xe3\x9c\ +\x83\x8e\x08\xab\x4f\x5a\xba\x75\x27\xb1\x55\xd5\x6e\xa2\x41\x72\ +\x60\x82\xe5\x4a\x8c\xec\x72\xcb\x9c\x7c\xb9\x34\x51\xbf\x5e\x49\ +\xa7\x5a\x67\x9f\xa2\x49\xae\xa6\xd9\x6f\x13\xcb\x2b\x1d\xa2\x35\ +\x52\x49\xfa\x63\xbf\xd6\xa7\x25\xe8\xae\xaa\x86\xd3\xed\x2f\xa0\ +\x5f\x84\xee\x47\x84\x72\x3f\xba\x39\xfd\x95\xd6\xfd\x8c\xe8\x96\ +\x76\x3d\x2b\x3e\xbf\x2c\x6a\xf7\x57\x12\x3e\x24\xda\x09\x48\xd3\ +\x8c\x0f\x4c\x90\x7f\x65\x53\xba\x5f\xda\x7f\x53\x6a\x1d\x7d\x63\ +\xf6\xab\xb2\xf6\x17\xd7\x4b\x03\x5a\x05\x1b\x11\x5d\xb0\x31\xe7\ +\x91\x9e\xfe\x74\xb8\x9a\x96\x79\xb9\x3e\x0b\xb1\xce\x63\xb6\x92\ +\x4b\x98\xe1\x48\xd9\xe5\x77\x08\xb1\xae\x77\x12\x4e\x00\xc5\x48\ +\x5e\x74\xc6\xb3\xa7\x49\x14\x77\x7a\x4d\xe4\x32\xdc\x3e\xd8\x15\ +\xe1\x6c\xb9\x1d\xc0\x1e\x7c\x57\x5d\xf6\x9b\xa1\x5a\x59\x75\xaf\ +\x4c\x6a\xf6\xf1\x2c\x72\x5d\xdf\x22\x4e\x17\x80\xec\x1d\x36\xb7\ +\xd7\x93\xcd\x5a\xfd\xa2\x6b\xfa\x7f\x49\xd8\x5a\x6b\x93\xdb\x0b\ +\xab\xe8\x59\xe2\xb2\x85\xb8\x1b\xdf\x19\x6f\xc0\x0e\xff\x00\x3f\ +\x9d\x1c\x4c\x4b\xa9\x6f\x8b\x8a\xee\x79\xd7\x55\xd0\x35\x5d\x09\ +\xd1\x75\x1d\x36\xe6\xd4\x30\xf7\x4c\x89\x80\x7e\x43\xe7\x4b\x58\ +\x74\x87\x51\xea\x96\xe2\xe6\xcb\x48\xbd\x9a\xd4\x8c\xac\x82\x23\ +\x86\xfa\x1f\x3a\xe8\xfa\x17\x53\x37\xb5\x7e\xac\xd1\x6c\x35\x3b\ +\x18\xe2\xb5\xb0\x59\x6e\xa6\x8d\x1f\x72\x4c\xc3\x68\x5c\x83\xe5\ +\x9f\x2a\xba\x75\xa5\x87\x59\xdd\xea\x56\xf1\xf4\xe6\xb9\xa6\x69\ +\x96\x71\xa0\x2c\xb2\xca\x56\x46\x6c\x9f\x2d\x8d\xee\xfc\xb3\x4d\ +\x6c\x6f\xaa\x6a\xa3\x54\xcf\x38\x5e\x5a\x5c\xe9\xf3\x9b\x6b\xdb\ +\x69\x6d\xe7\x53\xef\x24\xc9\xb4\x8f\x9e\x0f\xf9\x52\x0c\xe1\x48\ +\x5e\xf8\xf4\xae\xf5\xed\x33\x4a\x1a\x97\xb3\x78\xaf\xf5\x49\xac\ +\x64\xd7\x74\xf0\x85\xa5\xb6\x7f\x75\xf2\xc1\x58\x0c\xf3\x82\x0e\ +\x71\xe5\x5c\x08\xf0\x37\x01\x8a\x54\x5b\x16\x67\x92\x36\x06\x4f\ +\xec\x83\xf8\x53\x0b\xa6\x1b\xfe\x0c\x1d\xbe\x42\x9e\x7b\xd8\xce\ +\x46\x47\x95\x36\x62\x66\xb8\x5d\xe3\xdc\x1e\x43\xce\x85\xa3\x19\ +\x76\xab\xe4\x52\x10\x23\x8a\x3e\xe4\x9f\x88\x51\x4a\x2f\x2e\x40\ +\xed\xeb\xeb\x45\x0d\x59\xb5\x70\x54\x8f\x42\xea\xfa\x45\xa6\xb7\ +\xa7\x4d\xa7\xde\xc4\x1e\x19\x31\xf5\x52\x3b\x10\x7d\x6b\x90\xea\ +\x1e\xcc\x3a\x93\x49\xbc\x33\xe8\xd3\xfd\xa1\x17\xe0\x92\x39\x44\ +\x52\x28\xf9\xe4\x8c\x7e\x06\xbb\x5d\x1e\x75\xe4\xf0\x75\xd9\x70\ +\xda\x8f\x67\xe0\xf8\x16\x71\x26\xe9\xbf\x68\xda\x9c\x7e\x05\xd4\ +\xb7\xa2\x03\xf1\x78\xf7\x80\x2f\xe2\x37\x73\xf9\x57\x55\xf6\x77\ +\xd1\x49\xa5\xf4\xf6\xa1\xa1\x6a\x52\xc7\x77\x1d\xea\x48\x66\x11\ +\xa9\xc0\x0e\xaa\xb8\x07\xd4\x63\x39\xa9\x81\xc7\x6a\x94\xd0\x99\ +\x56\xf9\xb7\xb0\x00\xc4\x54\x67\xea\x2b\xab\x1f\xfc\x86\x4c\xb9\ +\x14\x69\x25\xf6\x08\xbd\x9c\xbb\x4c\xe8\xbe\xbc\xf6\x69\xad\x5d\ +\xcf\xd3\x96\xf6\xba\xc5\x85\xc6\x15\x91\x9c\x29\x65\x04\xed\xdc\ +\xa5\x81\x0c\x32\x7b\x67\xb9\xa6\xf2\x7b\x3e\xea\xae\xb0\xea\xa1\ +\xae\x75\x74\x76\xd6\x68\xcc\xb9\xb6\x56\xc9\xd8\x3b\x28\xc1\x21\ +\x47\xcc\x9a\xee\xf2\x4a\xb1\xf3\xb9\x70\x3e\x7c\xd4\x64\x84\xdd\ +\x5c\x78\x84\x90\x17\xe1\xf9\xd7\xd6\x96\x77\xe3\xb9\xd5\x18\xa5\ +\xb6\x51\x3a\xff\x00\xd9\xe2\x75\x46\x8f\x11\xb3\x9e\x35\xd4\xed\ +\x89\x30\x97\xe1\x24\x53\xdd\x33\xe5\xf2\xaa\x8e\x9d\xa4\xfb\x51\ +\x93\x43\x9b\xa7\x8d\xad\x9d\xbd\xb0\x84\xc7\xe3\xce\xf1\xef\x65\ +\xc6\x36\x2b\x6e\x39\xc8\xe3\x38\xe3\xd4\x57\x6e\xc6\x3b\x50\x55\ +\x4e\x33\xce\x3d\x6b\x31\xca\xe2\xaa\xac\x24\xad\xd9\xca\xfd\x97\ +\xfb\x3b\xea\x7e\x9e\xfd\x31\x26\xaf\xa6\xad\xb2\xcf\x14\x6b\x1a\ +\x99\x63\x90\x49\xf1\x64\x7b\x8c\x7d\x6a\xbb\x2f\x41\xf5\x3f\x49\ +\x6b\x6f\xaa\xf4\xb1\x8e\x68\x0e\x73\x04\x92\x00\xc1\x7c\xd5\xc3\ +\x10\x18\x7c\xc1\xaf\x42\x69\x97\x0c\x24\x30\x3e\x36\xf9\x1a\x8e\ +\xd5\xf4\xb8\xce\xa2\x64\x52\x41\x71\x9c\x0f\x5a\xde\x49\xba\xe7\ +\x10\x8e\xdf\x19\x1c\xa2\x11\xed\x2f\xa9\x22\x68\x16\xca\xc7\x45\ +\x80\xf1\x25\xd1\x90\x97\x1e\xa4\x61\x98\x8f\xcb\xf1\xae\x85\x23\ +\xc9\x18\x0d\x13\x63\x71\xda\xdf\x4a\x13\x11\x86\x12\x48\xd1\x91\ +\xdc\x56\x92\xfe\xb1\x15\x63\x07\x03\xb9\xae\x0c\x99\x39\x55\x2a\ +\x3a\x63\x0a\xee\xca\xcf\xb4\x5e\x99\xd5\xba\x9b\xa6\xbe\xc3\xa3\ +\xda\x7d\xaa\xe5\x67\x49\x0c\x5e\x22\xa6\x40\x04\x13\x96\x23\xd6\ +\x9a\x74\x47\x49\xde\x8e\x8e\x3a\x0e\xab\x6d\xe0\xbb\x89\x63\x9e\ +\x36\x60\x76\xab\x31\xf3\x04\xfc\x8f\xe1\x57\xb8\x66\x91\x5d\x64\ +\x41\xb6\x55\xe7\xe4\x6a\x55\x89\x99\xc4\xb0\xa6\x04\xeb\x97\xc7\ +\xad\x75\x63\x4e\x78\x94\x17\x87\x64\xa5\x2e\x32\xb6\x71\x1b\x1e\ +\x8c\xeb\xdf\x67\x7a\xb5\xc4\xbd\x38\xb6\xda\xad\x8c\xdc\x34\x6c\ +\xc0\x07\x51\xd8\xb2\x16\x1c\xff\x00\xb2\x4d\x3f\x8e\xf3\xaf\x75\ +\x7d\x5e\xd6\x4d\x4d\x2d\xb4\x9b\x48\xe7\x46\x91\x52\x4c\xbb\xaa\ +\xb0\x25\x38\x63\x8c\x8f\xa5\x75\x79\x23\x9c\x89\x0c\xb1\x88\x55\ +\x46\x46\x4f\x7f\xc6\xab\xd1\xdb\xb5\xd8\x99\xd8\x70\x3e\xf7\xaf\ +\xd2\x97\x51\x9a\x51\xd5\x6c\x58\xe3\x17\xb2\xa7\xab\x75\x0f\xb4\ +\xdd\x37\x57\xbc\x3a\x4a\x5b\x5e\x69\xcc\xc0\xc5\x1c\xaa\x84\xa0\ +\xc0\xcf\x98\x63\xfb\x69\x8f\xb2\xfe\x8b\xd6\x93\xda\x0f\xf2\x8f\ +\x5a\x86\x1b\x69\x17\xc5\x97\xc1\x4d\xa3\xde\x91\x4a\x92\x15\x78\ +\x03\x0c\x78\xab\x89\x08\xcf\xb8\x48\xf8\x5e\xcb\xdb\x35\x70\xe9\ +\xbb\x23\x05\xa3\x5c\x96\x05\xe7\xe4\x7c\x85\x3e\x93\xa9\xc9\x96\ +\x5c\x5a\xec\x3c\xb8\xa1\x18\xb9\x1c\xb3\xa8\xe5\xf6\xb1\x63\x7f\ +\x75\x6d\xf6\x2b\x3d\x46\xc1\xe5\x90\xdb\xb3\x08\x98\x88\xc9\x38\ +\x07\x90\x4f\x1e\xa0\xd3\xbf\x63\x3e\xcf\xb5\x4e\x9b\xbc\xd4\x75\ +\x8d\x50\xa5\xbd\xd4\xd0\x1b\x78\xa1\x46\x0f\xb0\x16\x0c\x59\x88\ +\x38\xfb\xa3\x1c\xd7\x44\xd5\x27\x0f\x7c\xd8\xe5\x63\x5e\x3e\xb5\ +\x23\x62\xbf\x64\xd3\x83\x37\x0c\x46\xf3\xf3\x26\xba\xd6\x4b\x93\ +\x4b\xb1\x07\x04\xa3\x67\x0c\xe9\xad\x13\xac\xfa\x53\x5e\xd6\xf5\ +\x5e\xa2\xb8\x97\xec\x8b\x6d\x3f\x8c\xed\x72\x24\x17\x2e\x47\x1b\ +\x46\x7f\x1e\x40\xe3\x8a\xe7\xfd\x23\x2d\xe7\xe9\x9f\xb3\xda\xae\ +\x5a\xed\x7c\x37\xf9\x29\xee\x49\xf4\xae\xe5\xed\x2a\xf3\x6f\x4a\ +\xea\x6b\x91\xc4\x3f\xb4\x9e\x2b\x91\x7b\x38\x78\x52\xfe\xfd\xa4\ +\x75\xf1\x0a\x2a\x26\x78\xe3\x3c\xd4\xbd\x5e\x6a\x4c\xeb\xc1\x1a\ +\xa2\xf1\x1e\x9d\xae\x69\x41\x67\xb2\x9d\x6e\x3c\x30\x18\x0e\xcd\ +\xc7\xa5\x74\x9d\x03\xae\xb4\xfd\x62\xca\x38\xb5\x38\xd6\xd6\xe1\ +\xd7\x0c\xb2\x0c\xa3\x11\xfb\xbf\x1a\xac\x43\x36\xcb\x6e\x18\x1e\ +\x31\x5b\xe9\xf6\x51\x5c\x36\xe2\xbe\xe0\xec\x71\x58\xc7\x3e\x0e\ +\x91\xd1\x9a\x0a\x6b\xdd\xe0\xbf\x34\xba\x06\x3c\x4f\xb6\xda\xec\ +\xff\x00\xc4\x8c\x7e\xfa\x89\xd5\x7a\x83\x4e\x90\xc5\x67\xa7\xb7\ +\x88\xfb\xf2\xc5\x17\xdd\x00\x0e\xd9\xa8\x8f\xd0\xb6\x9b\xf7\xe3\ +\x9f\xa5\x3c\xb7\xd3\xa0\xb6\x3b\x96\x21\xc1\xcd\x74\x3c\x96\x72\ +\x2c\x7f\x2c\x96\xd6\x2f\x2d\x8f\x4c\x49\x6e\x67\x87\xc6\x68\xd0\ +\x08\xf7\x0d\xd9\xc8\xf2\xcd\x33\xb2\x08\x96\xd1\xec\x5f\x2c\xf3\ +\x49\x4f\x63\x6f\x3b\x2c\x92\x01\x91\xf2\xa7\x51\xfb\xa3\x60\xec\ +\x3b\x56\x65\x27\x20\x51\xa1\x6d\x42\x5d\x2f\x5b\xb7\x4b\x5b\xeb\ +\x95\xb4\xb8\x47\xdc\xbb\x9b\x6e\x0f\xcb\x38\xcd\x46\x3e\x89\xa1\ +\xdb\x0f\x12\xef\x54\x8e\x58\xc7\x64\x8d\xc6\x5b\xf6\x9a\x71\x73\ +\x63\x15\xca\x6d\x91\x47\xe5\x4c\x93\x43\x82\x36\xce\xd3\x8f\xa5\ +\x3e\x76\xb6\x2f\x4e\x9e\x99\x31\xa0\xdd\x58\x41\xa2\xb5\xb2\x5d\ +\x24\x0d\xef\x00\xcc\xc0\x1e\x7c\xf9\xa4\xf4\x09\x74\xcd\x2d\xee\ +\x23\x6d\x6e\x1b\x99\xe4\xc3\x3c\x8c\xc0\x29\xc7\xd4\xff\x00\x9d\ +\x31\x9e\xce\x29\x23\xf0\xa4\x51\xb7\xd4\x0a\x8a\xb8\xd1\xed\xd1\ +\x18\x08\xce\x28\xf5\xab\xc0\xd6\x14\xfc\x9c\xab\xa8\xc6\x8d\xd2\ +\x9e\xd2\xad\xb5\x2d\x2f\x54\x1a\xa3\xc7\x7a\xd7\x97\x61\x13\x01\ +\x09\x93\x77\x86\x0f\x20\xf1\xe7\x9a\xe9\xdd\x59\x6f\xd0\xde\xd1\ +\xec\xac\x75\x09\x3a\xa6\xd2\xdb\xec\xa1\x88\x7f\x1d\x10\x85\x6c\ +\x64\x32\xb9\x04\x1e\x3c\xeb\x8f\x7b\x42\xd3\x23\xb1\xd6\xa2\xb8\ +\x8d\x08\x13\x46\x41\xe3\x8d\xc2\xaa\x38\x46\x39\x0b\x56\x52\x4d\ +\x59\xb7\x86\xaa\x99\xd6\xfa\x27\xad\xf4\x3e\x85\xea\xdd\x53\x4a\ +\x8e\xe2\x49\xb4\x19\xe5\x1e\x15\xe7\xc6\x55\x94\x7c\x47\x68\xc9\ +\x07\xcf\x02\x9e\xeb\x9e\xce\xba\x3b\x5c\xd4\xee\x35\x8d\x2b\xad\ +\xb4\xdb\x3b\x7b\x87\x69\x5e\x29\x24\x42\x10\x93\x93\x8f\x79\x48\ +\x1f\x23\x5c\x69\x7d\xd1\x8f\x2f\x4a\xcf\x86\x84\xe4\x39\xfc\xa9\ +\xd9\xbf\x46\xdd\xde\xcb\x57\x56\xe9\x7d\x2d\xa4\x0b\x1b\x4d\x03\ +\x53\x93\x54\xbb\x4f\x10\xde\x5c\x63\x08\x73\xb7\x60\x5f\x2c\x77\ +\xec\x4f\xd6\xab\xca\x06\xdc\xa9\xe2\x92\x44\x0a\x29\x54\xf7\x3b\ +\x0e\x3d\x29\x3d\x9d\x58\xe3\xc6\x34\x77\x2d\x57\x5f\xd1\xdb\xd8\ +\x4a\xe9\xa3\x57\xb1\x6b\xf1\xa7\xc2\xa6\xdc\x5c\x2f\x8b\x90\x54\ +\x91\xb7\x39\xcf\x15\x4e\xf6\x3b\xa8\xe9\xfa\x6f\x58\xbd\xdd\xfd\ +\xed\xb5\xac\x7f\x64\x75\xdf\x3c\xa1\x17\x71\x2b\xe6\xdf\x4a\xe7\ +\xae\xbb\xf6\x90\x38\xfd\xb4\xb2\x80\x3b\x28\xf4\xed\x4f\x91\x88\ +\xe0\xf6\xca\x2b\xc9\x71\xf6\xa1\x77\x67\xaa\x7b\x43\xbd\xba\xb1\ +\xba\x8a\xf2\x03\x14\x40\x49\x04\x8a\xe8\x48\x40\x08\xc8\xe2\xba\ +\x06\xad\xaf\xe8\xf2\x7b\x0c\x5d\x39\x35\x5b\x0f\xb7\x7e\x8f\x85\ +\x7e\xcb\xf6\x85\xf1\x32\x0a\x92\x36\xe7\x3e\x5e\x95\xc4\x53\x68\ +\x6e\x10\x8f\xc6\x93\x95\x51\xa5\x5e\x1b\xf3\xa3\x90\xfe\x9f\xd9\ +\x15\xf0\x75\x6f\x65\x9e\xd1\x2c\x34\x1b\x29\x74\x5d\x6d\xcc\x56\ +\xb2\x48\x5a\x1b\x82\xb9\x55\x27\x82\xad\xe8\x29\xf6\x91\xd1\xdd\ +\x1d\xd3\xdd\x41\x1e\xbf\x27\x57\xe9\xf2\xe9\xd6\xf2\x19\xa0\xb7\ +\xde\x9b\x81\x07\x2a\x09\x0c\x73\x83\xe8\x2b\x8d\x9d\xec\x31\x91\ +\x8a\x0a\x47\x9d\xbb\x70\x7d\x68\xe4\x12\xc1\xb6\xe2\xea\xfb\x9d\ +\x2b\xac\x7a\xf6\xd3\xab\x3a\xe7\x43\x16\x6f\xb7\x48\xd3\xae\xa3\ +\x71\x3c\x83\x60\x90\x97\x52\xcf\xcf\x65\x00\x79\xd4\x9f\xb6\xdd\ +\x73\x49\xd5\xed\x34\x41\xa6\x6a\x96\x57\x9b\x24\x94\xb8\xb6\xb8\ +\x49\x08\xc8\x5c\x67\x69\x3e\x95\xc8\xda\x34\x01\x41\xc6\x4f\x60\ +\x3f\xcc\xd2\x7e\x10\xdf\xbb\xca\x8e\x40\xba\x6e\x2e\x2d\x78\x26\ +\xfa\x43\xa8\xe4\xe9\x4e\xa6\xb5\xd5\x12\x2f\x12\x34\x25\x66\x40\ +\x70\x59\x18\x61\xb1\xf3\xf3\xae\xa7\xd4\xfa\x67\x45\x7b\x4c\x78\ +\xb5\x7b\x1e\xa9\xb4\xd3\xf5\x05\x8b\x64\x82\x76\x03\x72\x8f\x26\ +\x46\x2a\x41\x19\xee\x38\xae\x22\x42\xf1\xc1\x19\xef\x9a\x49\xca\ +\xb0\xc6\x0e\xef\x5a\x49\xd0\x65\xc3\xc9\xf2\x4e\x99\x77\xea\x2e\ +\x97\xe8\xfe\x9b\xe9\xfb\xc0\xbd\x4a\x9a\xc6\xb7\x26\xc5\xb7\x5b\ +\x51\xfa\xb8\xbd\xe5\x2f\x92\xa5\xb3\xee\x83\xe7\xf8\x55\x9b\xa5\ +\x6d\x3d\x9d\x9f\x65\xf7\x13\xea\xf7\x16\x87\x51\x58\xe4\x33\x99\ +\x64\x02\x74\x7e\x42\x84\x5e\xfe\x43\x18\x1c\xd7\x1f\xf0\x49\xee\ +\x47\xbd\xdf\x6f\x95\x0d\x12\x1c\x67\x1c\x76\xa2\xc9\x3c\x32\xe3\ +\x49\x9a\x7d\xa2\x30\xbe\xe8\x2c\xdf\x4a\x4e\x0d\xcf\x3b\xb3\x0d\ +\x80\x70\x07\xa5\x28\x7d\xcc\x78\x7e\xe9\xf3\x35\xad\xb1\x2c\x8c\ +\xca\x71\xf5\xa0\xd6\xdc\xd2\x7e\x07\x07\x8e\x3e\x01\xeb\x45\x6b\ +\xfd\x6a\x28\x2a\xf6\x7a\x4a\x8a\x75\xfa\x36\xfb\xfd\x4a\xe7\xfe\ +\x13\x7f\x0a\x3f\x46\xdf\x7f\xa9\x5c\xff\x00\xc2\x6f\xe1\x5e\x2b\ +\xd2\xc9\xfc\x2f\xf9\x1e\x7c\x6b\x4b\x5a\xaf\xeb\x5b\x24\x8f\x76\ +\x94\xfd\x1b\x7d\xfe\xa5\x73\xff\x00\x09\xbf\x85\x2b\x0e\x9f\x7c\ +\xa5\xff\x00\xd0\xae\x3e\x1e\x33\x11\xfe\x15\x4c\x38\xb2\x29\xad\ +\x3f\xe4\x6f\x0a\xfd\xa2\xb1\x4b\x48\x8c\xf7\x4c\xd2\x31\x64\x5e\ +\x3b\xf7\xa7\xe4\x00\x40\x03\x00\x76\xad\x34\xfb\x2b\x98\xad\xfd\ +\xeb\x79\x83\x1e\xe0\xa1\x14\xac\xd6\xd7\x41\x49\x4b\x79\x49\xf9\ +\x21\xaf\xbb\x08\x35\x1e\xc7\x64\x9a\x6c\x45\x27\x59\x25\x28\xa7\ +\xb5\x38\xc0\xf4\xa6\xc2\xc2\xe6\xd5\xc4\x8b\x6d\x33\xe7\xbe\x23\ +\x39\xfd\x94\xeb\xc3\x9f\x6f\x16\xd7\x1f\x8c\x46\xb5\x04\xfc\xa3\ +\x2c\xde\xdb\xfe\xb9\x0a\xaf\x97\x7a\x4f\x5d\x9a\x4f\xb6\x44\x21\ +\x3c\xaa\xfb\xc2\x9d\xda\xdb\xcb\x6e\x5e\xe2\x58\x5d\x98\x7c\x28\ +\xaa\x49\xa8\xc9\x60\xbc\xb8\x9d\xe6\x7b\x59\xc1\x27\xb1\x43\xda\ +\xab\x92\xd6\x3a\x4b\xb9\x98\xee\x56\xc6\xcb\x73\x11\x63\xf6\xb8\ +\xc0\x23\xcc\x0e\xf4\xf2\xde\x28\x5d\x0c\x8e\x15\x43\x7c\x23\x14\ +\xda\x4b\x0b\xa7\x56\x56\xb4\x98\x8f\xfb\xb3\xfc\x29\x5b\x6b\x5b\ +\xc9\x93\xc2\x96\xd6\x68\xd1\x3e\x02\x63\x23\x35\xcb\x15\x2b\xa6\ +\x8b\x4a\xbc\x33\x4b\xc6\x5b\x60\xb1\x60\x6e\x73\x85\x38\xf9\x53\ +\x8b\x3d\x4a\x4b\x7b\x74\x46\x87\x81\xe6\x0f\x34\xc6\xfe\x0d\x41\ +\xda\x2f\xf4\x1b\x87\xf0\xa4\x00\x62\x32\x72\x39\xe6\x97\x5b\x5b\ +\xb6\x8f\x7f\xd8\xe7\x53\xfd\x53\x19\xcd\x6f\x1c\xa5\x19\x3a\x46\ +\x25\x14\xd6\xc9\xab\xa4\x86\xff\x00\x4d\x70\xdc\xc6\xf1\xf9\x79\ +\x55\x37\xed\x44\x5b\xac\x50\x61\x22\x1c\x7b\xdc\x93\x56\xd5\x86\ +\xe2\x1d\x1f\xc2\x48\xa4\x33\x32\x60\x61\x4f\x15\x1b\x6b\xd3\xc9\ +\x0c\x40\xcb\x0c\xb3\x48\x7c\xd9\x08\xc7\xe1\x54\xea\x71\xca\x7c\ +\x52\xee\x67\x0b\x51\x4e\xca\xd3\x7e\xb5\x95\xbc\x5c\xed\x6f\x31\ +\x8c\xd5\x9f\x41\xb8\x78\x34\x89\xa4\x93\x22\x30\xd9\x8c\x1f\x31\ +\x4a\x4d\xa1\xc5\x2c\x65\x4d\x9b\x2f\xa1\x55\xe6\x93\x78\x6f\x6e\ +\x52\x3b\x64\xb3\x92\x18\xd7\x80\x0c\x64\x0c\x54\xf0\x61\x78\xa4\ +\xdb\x29\x93\x2a\x9a\xa4\x6b\x67\x03\x5e\x5d\x60\x8c\x8d\xdb\xa4\ +\x27\xb7\xd2\x9f\x6a\x57\xa9\x1c\x6d\xcf\xea\xe3\x1c\xfc\xfe\x54\ +\xa2\xdb\x4b\x69\x02\xc1\x6f\x14\x85\x9f\xe2\x93\x69\xa8\x3d\x42\ +\x0b\xeb\x89\x7c\x24\xb1\xba\xf0\x97\xb7\xea\xd8\x86\xfa\xd5\xf2\ +\x37\x8e\x0d\x25\xb6\x4a\x2b\x9c\xb6\x73\xaf\x69\xf7\xde\x1f\x4a\ +\xcc\xae\x47\x8b\x73\x2a\x80\x3e\x43\x9a\xe5\x9a\x1e\x8b\xae\x5f\ +\x4c\xd7\x7a\x4d\xac\x8e\x14\xe3\x78\xe0\x13\xe9\xf3\xae\x91\xed\ +\x3f\xa7\xfa\x83\x50\x4b\x15\xb2\xd1\x75\x2b\x94\x05\xcb\x88\x6d\ +\x5d\xf6\x9e\x31\x9c\x0a\xb1\x74\xde\x8f\xaa\x58\x74\xfe\x9f\x6a\ +\xba\x3d\xe4\x3b\x62\x0c\xea\xf6\xae\x0e\xf3\xdf\x23\x1d\xe8\xe9\ +\xd3\x86\x2d\xae\xe7\x74\x78\xea\x99\x42\xb5\xd7\xb5\xfd\x3e\xe2\ +\x18\x35\x5d\x3a\x74\x8d\x98\x29\x7d\xb9\x03\xe7\x5d\x5f\x42\x1b\ +\xed\x36\x1e\x2b\x5b\xdd\x2f\x51\x9a\xd7\xc3\x3a\x75\xcb\x03\xdc\ +\x78\x2c\x7f\xca\xa4\xb4\xbd\x26\xee\x18\x97\x36\xb3\x29\xf9\xc4\ +\x47\xf9\x53\xe1\xbd\x23\x53\xc8\x9c\x76\xcd\x8e\xe0\xde\xf7\xec\ +\xad\xd5\xb6\xf1\xde\x9c\x1b\x2b\xa2\xdc\xdb\x4d\xff\x00\x0c\xd6\ +\xa2\xc2\xe8\x8c\x7d\x9a\x61\xf3\xf0\xcd\x37\x16\x8e\x74\xd1\xaa\ +\x91\xeb\x4b\xc7\xee\xad\x27\xf6\x1b\xaf\xf5\x69\xff\x00\xe1\x9a\ +\x5a\x2b\x7b\xa2\x36\xb5\xac\xc0\xfa\xec\x35\xa4\x99\x96\xd0\x45\ +\xb9\x9b\xde\xcd\x6c\xc5\xbe\x74\xa0\xb7\xb9\x1d\xa0\x97\xfd\xc3\ +\x5b\x08\x2e\x46\x3f\xd1\xe4\x39\xef\x94\x3c\x53\x51\x62\xb1\x9c\ +\x80\x1e\xe7\x14\x9b\x40\x8e\x30\x30\x7e\xb5\x23\xf6\x19\x1b\xe2\ +\x86\x4e\x7b\xfb\x86\x91\x7b\x3b\x91\xf0\xdb\xbf\xfb\x86\x93\x88\ +\xe3\x22\x99\xd5\x7d\x19\x6b\xd4\x16\x02\x26\x1e\x1c\xcb\x93\x13\ +\x81\xf0\xb1\xef\x5c\x2b\x5d\xd0\xaf\x74\x0b\xaf\xb3\x5d\xc4\xca\ +\xc3\x85\x70\xbe\xe9\xfa\x1f\x3a\xf5\x60\xb7\x9b\x04\x1b\x69\x70\ +\x7b\xfb\x86\xa2\xf5\x9e\x96\x83\x5a\xb4\x78\x2e\xec\x5a\x54\x61\ +\x8c\x18\xfe\x1f\x98\xe2\x9c\x6e\x2c\xaa\xc8\xaf\x67\x95\x3e\x7e\ +\x55\xb8\x27\x6f\xba\x48\xfa\xd5\xf7\xaa\xfd\x93\xeb\x9a\x4c\xe6\ +\x5d\x2a\xc6\xf2\xfa\xd1\x8f\x0b\x14\x2c\xd2\x27\xe0\x07\x35\x59\ +\xfe\x45\xf5\x63\x77\xe9\x9d\x6b\xff\x00\x21\x2f\xfc\xb5\xd0\xb6\ +\x8a\x73\x4b\xc9\x11\xba\x94\x57\x21\x98\x1e\xd5\x2a\x3a\x2f\xaa\ +\xf7\x73\xd3\x1a\xc8\xff\x00\xfa\x12\x9f\xfe\xda\x50\x74\x6f\x55\ +\xf7\x3d\x33\xac\x93\xff\x00\x80\x94\x7f\xf6\xd3\x35\x1c\xb1\xf9\ +\x22\x95\xc3\xf2\x7d\xd3\xf2\xa5\x63\xc7\xad\x48\x8e\x8e\xea\xbf\ +\x78\x9e\x98\xd6\x33\xff\x00\x80\x97\xfe\x5a\x51\x7a\x3b\xaa\x36\ +\xf3\xd3\x7a\xd0\xff\x00\xfa\x32\xff\x00\xcb\x4a\x8b\x47\x2c\x7e\ +\x48\xa3\x8c\xb7\x38\x1e\xb5\xae\x46\x43\x2a\x8e\x3d\x45\x4c\xff\ +\x00\x23\x7a\xa3\x67\xfe\xed\xeb\x0c\x7d\x0d\x8c\xa3\xff\x00\xb6\ +\x83\xd1\xdd\x4f\xff\x00\xed\xbd\x67\xff\x00\x23\x2f\xfc\xb4\x8d\ +\x7a\xaa\xfb\x90\xe1\x1b\xe8\x3e\xbe\xb5\xba\xf2\x9e\xf7\x7d\xbd\ +\xaa\x50\xf4\x77\x54\x9e\x4f\x4c\xea\xf8\xff\x00\xc0\x49\x9f\xf0\ +\xd6\xef\xd2\x1d\x54\xc1\x47\xf2\x6b\x58\xcf\xa8\xb1\x97\xfe\x5a\ +\x0d\x29\xc3\xe4\x85\xc2\xe3\x38\xf7\x7d\x33\x5a\xc9\x20\xc7\xb8\ +\x07\xd4\xd4\xcf\xf2\x33\xa9\xca\xf3\xd3\x5a\xb8\x3f\xf8\x09\x7f\ +\xe5\xad\x1b\xa2\xfa\xa3\xff\x00\xdb\x7a\xc7\xd3\xec\x32\xff\x00\ +\xcb\x40\xbd\x48\xfc\xa2\x17\x3b\x83\x16\x62\x58\x79\x13\x58\xc9\ +\x3b\x72\x14\x7e\x15\x34\xbd\x17\xd5\x24\xe4\xf4\xde\xb2\x0f\xfe\ +\x06\x5f\xf9\x6b\x2b\xd1\xbd\x52\x3b\xf4\xce\xb0\x7e\xb6\x12\xff\ +\x00\xcb\x41\x9e\x71\x7e\x48\x22\x5f\xb1\x0a\x4f\xc8\x56\x98\x3e\ +\x9e\xef\xed\xa9\xf1\xd1\x9d\x56\xbb\xb1\xd3\x7a\xc7\xfe\x42\x5f\ +\xf9\x6b\x53\xd1\x9d\x54\x46\x7f\x93\x5a\xc8\x3e\x9f\x61\x97\xfe\ +\x5a\x0c\xb9\x45\xf9\x2b\xf3\x7b\xd0\x96\xec\x07\x97\xad\x69\x0e\ +\xe1\x1a\x90\x38\x35\x39\x3f\x45\xf5\x5b\xfb\x89\xd3\x1a\xd8\x4e\ +\xff\x00\xf5\x09\x7f\xe5\xa5\x23\xe8\xce\xac\x2b\xb7\xf9\x33\xac\ +\xa0\xf9\xd8\x4b\xff\x00\x2d\x68\x82\x94\x79\xdd\x90\xab\x19\xdd\ +\xba\x47\xc7\xc8\x1a\x2a\x64\xf4\x5f\x53\xee\xff\x00\xdd\x8d\x74\ +\x9c\xf9\xd8\xcb\x8f\xf0\xd1\x41\x4e\x51\xf9\x3d\x8f\x45\x14\x56\ +\xcf\x8c\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\x45\x00\x14\x51\ +\x45\x00\x14\x51\x45\x00\x7f\xff\xd9\ +" + +qt_resource_name = b"\ +\x00\x06\ +\x07\x03\x7d\xc3\ +\x00\x69\ +\x00\x6d\x00\x61\x00\x67\x00\x65\x00\x73\ +\x00\x0b\ +\x08\x01\x81\xe7\ +\x00\x65\ +\x00\x78\x00\x61\x00\x6d\x00\x70\x00\x6c\x00\x65\x00\x2e\x00\x6a\x00\x70\x00\x67\ +" + +qt_resource_struct = b"\ +\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ +\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\ +\x00\x00\x00\x12\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ +" + +def qInitResources(): + QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) + +def qCleanupResources(): + QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) + +qInitResources() diff --git a/examples/widgets/itemviews/simpledommodel.py b/examples/widgets/itemviews/simpledommodel.py new file mode 100755 index 0000000..93ae049 --- /dev/null +++ b/examples/widgets/itemviews/simpledommodel.py @@ -0,0 +1,203 @@ +#!/usr/bin/env python + +"""*************************************************************************** +** +** Copyright (C) 2005-2005 Trolltech AS. All rights reserved. +** +** This file is part of the example classes of the Qt Toolkit. +** +** This file may be used under the terms of the GNU General Public +** License version 2.0 as published by the Free Software Foundation +** and appearing in the file LICENSE.GPL included in the packaging of +** this file. Please review the following information to ensure GNU +** General Public Licensing requirements will be met: +** http://www.trolltech.com/products/qt/opensource.html +** +** If you are unsure which license is appropriate for your use, please +** review the following information: +** http://www.trolltech.com/products/qt/licensing.html or contact the +** sales department at sales@trolltech.com. +** +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +** +***************************************************************************""" + +from PySide2 import QtCore, QtGui, QtXml + + +class DomItem(object): + def __init__(self, node, row, parent=None): + self.domNode = node + # Record the item's location within its parent. + self.rowNumber = row + self.parentItem = parent + self.childItems = {} + + def node(self): + return self.domNode + + def parent(self): + return self.parentItem + + def child(self, i): + if i in self.childItems: + return self.childItems[i] + + if i >= 0 and i < self.domNode.childNodes().count(): + childNode = self.domNode.childNodes().item(i) + childItem = DomItem(childNode, i, self) + self.childItems[i] = childItem + return childItem + + return None + + def row(self): + return self.rowNumber + + +class DomModel(QtCore.QAbstractItemModel): + def __init__(self, document, parent=None): + super(DomModel, self).__init__(parent) + + self.domDocument = document + + self.rootItem = DomItem(self.domDocument, 0) + + def columnCount(self, parent): + return 3 + + def data(self, index, role): + if not index.isValid(): + return None + + if role != QtCore.Qt.DisplayRole: + return None + + item = index.internalPointer() + + node = item.node() + attributes = [] + attributeMap = node.attributes() + + if index.column() == 0: + return node.nodeName() + + elif index.column() == 1: + for i in range(0, attributeMap.count()): + attribute = attributeMap.item(i) + attributes.append(attribute.nodeName() + '="' + + attribute.nodeValue() + '"') + + return " ".join(attributes) + + if index.column() == 2: + value = node.nodeValue() + if value is None: + return '' + + return ' '.join(node.nodeValue().split('\n')) + + return None + + def flags(self, index): + if not index.isValid(): + return QtCore.Qt.NoItemFlags + + return QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable + + def headerData(self, section, orientation, role): + if orientation == QtCore.Qt.Horizontal and role == QtCore.Qt.DisplayRole: + if section == 0: + return "Name" + + if section == 1: + return "Attributes" + + if section == 2: + return "Value" + + return None + + def index(self, row, column, parent): + if not self.hasIndex(row, column, parent): + return QtCore.QModelIndex() + + if not parent.isValid(): + parentItem = self.rootItem + else: + parentItem = parent.internalPointer() + + childItem = parentItem.child(row) + if childItem: + return self.createIndex(row, column, childItem) + else: + return QtCore.QModelIndex() + + def parent(self, child): + if not child.isValid(): + return QtCore.QModelIndex() + + childItem = child.internalPointer() + parentItem = childItem.parent() + + if not parentItem or parentItem == self.rootItem: + return QtCore.QModelIndex() + + return self.createIndex(parentItem.row(), 0, parentItem) + + def rowCount(self, parent): + if parent.column() > 0: + return 0 + + if not parent.isValid(): + parentItem = self.rootItem + else: + parentItem = parent.internalPointer() + + return parentItem.node().childNodes().count() + + +class MainWindow(QtGui.QMainWindow): + def __init__(self): + super(MainWindow, self).__init__() + + self.fileMenu = self.menuBar().addMenu("&File") + self.fileMenu.addAction("&Open...", self.openFile, "Ctrl+O") + self.fileMenu.addAction("E&xit", self.close, "Ctrl+Q") + + self.xmlPath = "" + self.model = DomModel(QtXml.QDomDocument(), self) + self.view = QtGui.QTreeView(self) + self.view.setModel(self.model) + + self.setCentralWidget(self.view) + self.setWindowTitle("Simple DOM Model") + + def openFile(self): + filePath,_ = QtGui.QFileDialog.getOpenFileName(self, "Open File", + self.xmlPath, "XML files (*.xml);;HTML files (*.html);;" + "SVG files (*.svg);;User Interface files (*.ui)") + + if filePath: + f = QtCore.QFile(filePath) + if f.open(QtCore.QIODevice.ReadOnly): + document = QtXml.QDomDocument() + if document.setContent(f): + newModel = DomModel(document, self) + self.view.setModel(newModel) + self.model = newModel + self.xmlPath = filePath + + f.close() + + +if __name__ == '__main__': + + import sys + + app = QtGui.QApplication(sys.argv) + window = MainWindow() + window.resize(640, 480) + window.show() + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/simpletreemodel/default.txt b/examples/widgets/itemviews/simpletreemodel/default.txt new file mode 100644 index 0000000..2b2fb57 --- /dev/null +++ b/examples/widgets/itemviews/simpletreemodel/default.txt @@ -0,0 +1,40 @@ +Getting Started How to familiarize yourself with Qt Designer + Launching Designer Running the Qt Designer application + The User Interface How to interact with Qt Designer + +Designing a Component Creating a GUI for your application + Creating a Dialog How to create a dialog + Composing the Dialog Putting widgets into the dialog example + Creating a Layout Arranging widgets on a form + Signal and Slot Connections Making widget communicate with each other + +Using a Component in Your Application Generating code from forms + The Direct Approach Using a form without any adjustments + The Single Inheritance Approach Subclassing a form's base class + The Multiple Inheritance Approach Subclassing the form itself + Automatic Connections Connecting widgets using a naming scheme + A Dialog Without Auto-Connect How to connect widgets without a naming scheme + A Dialog With Auto-Connect Using automatic connections + +Form Editing Mode How to edit a form in Qt Designer + Managing Forms Loading and saving forms + Editing a Form Basic editing techniques + The Property Editor Changing widget properties + The Object Inspector Examining the hierarchy of objects on a form + Layouts Objects that arrange widgets on a form + Applying and Breaking Layouts Managing widgets in layouts + Horizontal and Vertical Layouts Standard row and column layouts + The Grid Layout Arranging widgets in a matrix + Previewing Forms Checking that the design works + +Using Containers How to group widgets together + General Features Common container features + Frames QFrame + Group Boxes QGroupBox + Stacked Widgets QStackedWidget + Tab Widgets QTabWidget + Toolbox Widgets QToolBox + +Connection Editing Mode Connecting widgets together with signals and slots + Connecting Objects Making connections in Qt Designer + Editing Connections Changing existing connections diff --git a/examples/widgets/itemviews/simpletreemodel/simpletreemodel.py b/examples/widgets/itemviews/simpletreemodel/simpletreemodel.py new file mode 100755 index 0000000..6b7f467 --- /dev/null +++ b/examples/widgets/itemviews/simpletreemodel/simpletreemodel.py @@ -0,0 +1,192 @@ +#!/usr/bin/env python + +############################################################################ +## +## Copyright (C) 2005-2005 Trolltech AS. All rights reserved. +## +## This file is part of the example classes of the Qt Toolkit. +## +## This file may be used under the terms of the GNU General Public +## License version 2.0 as published by the Free Software Foundation +## and appearing in the file LICENSE.GPL included in the packaging of +## this file. Please review the following information to ensure GNU +## General Public Licensing requirements will be met: +## http://www.trolltech.com/products/qt/opensource.html +## +## If you are unsure which license is appropriate for your use, please +## review the following information: +## http://www.trolltech.com/products/qt/licensing.html or contact the +## sales department at sales@trolltech.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################ + +from PySide2 import QtCore, QtGui + +import simpletreemodel_rc + + +class TreeItem(object): + def __init__(self, data, parent=None): + self.parentItem = parent + self.itemData = data + self.childItems = [] + + def appendChild(self, item): + self.childItems.append(item) + + def child(self, row): + return self.childItems[row] + + def childCount(self): + return len(self.childItems) + + def columnCount(self): + return len(self.itemData) + + def data(self, column): + try: + return self.itemData[column] + except IndexError: + return None + + def parent(self): + return self.parentItem + + def row(self): + if self.parentItem: + return self.parentItem.childItems.index(self) + + return 0 + + +class TreeModel(QtCore.QAbstractItemModel): + def __init__(self, data, parent=None): + super(TreeModel, self).__init__(parent) + + self.rootItem = TreeItem(("Title", "Summary")) + self.setupModelData(data.split('\n'), self.rootItem) + + def columnCount(self, parent): + if parent.isValid(): + return parent.internalPointer().columnCount() + else: + return self.rootItem.columnCount() + + def data(self, index, role): + if not index.isValid(): + return None + + if role != QtCore.Qt.DisplayRole: + return None + + item = index.internalPointer() + + return item.data(index.column()) + + def flags(self, index): + if not index.isValid(): + return QtCore.Qt.NoItemFlags + + return QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable + + def headerData(self, section, orientation, role): + if orientation == QtCore.Qt.Horizontal and role == QtCore.Qt.DisplayRole: + return self.rootItem.data(section) + + return None + + def index(self, row, column, parent): + if not self.hasIndex(row, column, parent): + return QtCore.QModelIndex() + + if not parent.isValid(): + parentItem = self.rootItem + else: + parentItem = parent.internalPointer() + + childItem = parentItem.child(row) + if childItem: + return self.createIndex(row, column, childItem) + else: + return QtCore.QModelIndex() + + def parent(self, index): + if not index.isValid(): + return QtCore.QModelIndex() + + childItem = index.internalPointer() + parentItem = childItem.parent() + + if parentItem == self.rootItem: + return QtCore.QModelIndex() + + return self.createIndex(parentItem.row(), 0, parentItem) + + def rowCount(self, parent): + if parent.column() > 0: + return 0 + + if not parent.isValid(): + parentItem = self.rootItem + else: + parentItem = parent.internalPointer() + + return parentItem.childCount() + + def setupModelData(self, lines, parent): + parents = [parent] + indentations = [0] + + number = 0 + + while number < len(lines): + position = 0 + while position < len(lines[number]): + if lines[number][position] != ' ': + break + position += 1 + + lineData = lines[number][position:].strip() + + if lineData: + # Read the column data from the rest of the line. + columnData = [s for s in lineData.split('\t') if s] + + if position > indentations[-1]: + # The last child of the current parent is now the new + # parent unless the current parent has no children. + + if parents[-1].childCount() > 0: + parents.append(parents[-1].child(parents[-1].childCount() - 1)) + indentations.append(position) + + else: + while position < indentations[-1] and len(parents) > 0: + parents.pop() + indentations.pop() + + # Append a new item to the current parent's list of children. + parents[-1].appendChild(TreeItem(columnData, parents[-1])) + + number += 1 + + +if __name__ == '__main__': + + import sys + + app = QtGui.QApplication(sys.argv) + + f = QtCore.QFile(':/default.txt') + f.open(QtCore.QIODevice.ReadOnly) + model = TreeModel(str(f.readAll())) + f.close() + + view = QtGui.QTreeView() + view.setModel(model) + view.setWindowTitle("Simple Tree Model") + view.show() + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/simpletreemodel/simpletreemodel.qrc b/examples/widgets/itemviews/simpletreemodel/simpletreemodel.qrc new file mode 100644 index 0000000..a8ecc98 --- /dev/null +++ b/examples/widgets/itemviews/simpletreemodel/simpletreemodel.qrc @@ -0,0 +1,5 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource> + <file>default.txt</file> +</qresource> +</RCC> diff --git a/examples/widgets/itemviews/simpletreemodel/simpletreemodel_rc.py b/examples/widgets/itemviews/simpletreemodel/simpletreemodel_rc.py new file mode 100644 index 0000000..a9a899a --- /dev/null +++ b/examples/widgets/itemviews/simpletreemodel/simpletreemodel_rc.py @@ -0,0 +1,198 @@ +############################################################################# +## +## Copyright (C) 2013 Riverbank Computing Limited. +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +# Resource object code +# +# Created: Wed Dec 28 19:56:08 2005 +# by: The Resource Compiler for PyQt (Qt v4.1.0) +# +# WARNING! All changes made in this file will be lost! + +from PySide2 import QtCore + +qt_resource_data = b"\ +\x00\x00\x07\xb9\ +\x47\ +\x65\x74\x74\x69\x6e\x67\x20\x53\x74\x61\x72\x74\x65\x64\x09\x09\ +\x09\x09\x48\x6f\x77\x20\x74\x6f\x20\x66\x61\x6d\x69\x6c\x69\x61\ +\x72\x69\x7a\x65\x20\x79\x6f\x75\x72\x73\x65\x6c\x66\x20\x77\x69\ +\x74\x68\x20\x51\x74\x20\x44\x65\x73\x69\x67\x6e\x65\x72\x0a\x20\ +\x20\x20\x20\x4c\x61\x75\x6e\x63\x68\x69\x6e\x67\x20\x44\x65\x73\ +\x69\x67\x6e\x65\x72\x09\x09\x09\x52\x75\x6e\x6e\x69\x6e\x67\x20\ +\x74\x68\x65\x20\x51\x74\x20\x44\x65\x73\x69\x67\x6e\x65\x72\x20\ +\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x0a\x20\x20\x20\x20\ +\x54\x68\x65\x20\x55\x73\x65\x72\x20\x49\x6e\x74\x65\x72\x66\x61\ +\x63\x65\x09\x09\x09\x48\x6f\x77\x20\x74\x6f\x20\x69\x6e\x74\x65\ +\x72\x61\x63\x74\x20\x77\x69\x74\x68\x20\x51\x74\x20\x44\x65\x73\ +\x69\x67\x6e\x65\x72\x0a\x0a\x44\x65\x73\x69\x67\x6e\x69\x6e\x67\ +\x20\x61\x20\x43\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x09\x09\x09\x43\ +\x72\x65\x61\x74\x69\x6e\x67\x20\x61\x20\x47\x55\x49\x20\x66\x6f\ +\x72\x20\x79\x6f\x75\x72\x20\x61\x70\x70\x6c\x69\x63\x61\x74\x69\ +\x6f\x6e\x0a\x20\x20\x20\x20\x43\x72\x65\x61\x74\x69\x6e\x67\x20\ +\x61\x20\x44\x69\x61\x6c\x6f\x67\x09\x09\x09\x48\x6f\x77\x20\x74\ +\x6f\x20\x63\x72\x65\x61\x74\x65\x20\x61\x20\x64\x69\x61\x6c\x6f\ +\x67\x0a\x20\x20\x20\x20\x43\x6f\x6d\x70\x6f\x73\x69\x6e\x67\x20\ +\x74\x68\x65\x20\x44\x69\x61\x6c\x6f\x67\x09\x09\x50\x75\x74\x74\ +\x69\x6e\x67\x20\x77\x69\x64\x67\x65\x74\x73\x20\x69\x6e\x74\x6f\ +\x20\x74\x68\x65\x20\x64\x69\x61\x6c\x6f\x67\x20\x65\x78\x61\x6d\ +\x70\x6c\x65\x0a\x20\x20\x20\x20\x43\x72\x65\x61\x74\x69\x6e\x67\ +\x20\x61\x20\x4c\x61\x79\x6f\x75\x74\x09\x09\x09\x41\x72\x72\x61\ +\x6e\x67\x69\x6e\x67\x20\x77\x69\x64\x67\x65\x74\x73\x20\x6f\x6e\ +\x20\x61\x20\x66\x6f\x72\x6d\x0a\x20\x20\x20\x20\x53\x69\x67\x6e\ +\x61\x6c\x20\x61\x6e\x64\x20\x53\x6c\x6f\x74\x20\x43\x6f\x6e\x6e\ +\x65\x63\x74\x69\x6f\x6e\x73\x09\x09\x4d\x61\x6b\x69\x6e\x67\x20\ +\x77\x69\x64\x67\x65\x74\x20\x63\x6f\x6d\x6d\x75\x6e\x69\x63\x61\ +\x74\x65\x20\x77\x69\x74\x68\x20\x65\x61\x63\x68\x20\x6f\x74\x68\ +\x65\x72\x0a\x0a\x55\x73\x69\x6e\x67\x20\x61\x20\x43\x6f\x6d\x70\ +\x6f\x6e\x65\x6e\x74\x20\x69\x6e\x20\x59\x6f\x75\x72\x20\x41\x70\ +\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x09\x47\x65\x6e\x65\x72\x61\ +\x74\x69\x6e\x67\x20\x63\x6f\x64\x65\x20\x66\x72\x6f\x6d\x20\x66\ +\x6f\x72\x6d\x73\x0a\x20\x20\x20\x20\x54\x68\x65\x20\x44\x69\x72\ +\x65\x63\x74\x20\x41\x70\x70\x72\x6f\x61\x63\x68\x09\x09\x09\x55\ +\x73\x69\x6e\x67\x20\x61\x20\x66\x6f\x72\x6d\x20\x77\x69\x74\x68\ +\x6f\x75\x74\x20\x61\x6e\x79\x20\x61\x64\x6a\x75\x73\x74\x6d\x65\ +\x6e\x74\x73\x0a\x20\x20\x20\x20\x54\x68\x65\x20\x53\x69\x6e\x67\ +\x6c\x65\x20\x49\x6e\x68\x65\x72\x69\x74\x61\x6e\x63\x65\x20\x41\ +\x70\x70\x72\x6f\x61\x63\x68\x09\x53\x75\x62\x63\x6c\x61\x73\x73\ +\x69\x6e\x67\x20\x61\x20\x66\x6f\x72\x6d\x27\x73\x20\x62\x61\x73\ +\x65\x20\x63\x6c\x61\x73\x73\x0a\x20\x20\x20\x20\x54\x68\x65\x20\ +\x4d\x75\x6c\x74\x69\x70\x6c\x65\x20\x49\x6e\x68\x65\x72\x69\x74\ +\x61\x6e\x63\x65\x20\x41\x70\x70\x72\x6f\x61\x63\x68\x09\x53\x75\ +\x62\x63\x6c\x61\x73\x73\x69\x6e\x67\x20\x74\x68\x65\x20\x66\x6f\ +\x72\x6d\x20\x69\x74\x73\x65\x6c\x66\x0a\x20\x20\x20\x20\x41\x75\ +\x74\x6f\x6d\x61\x74\x69\x63\x20\x43\x6f\x6e\x6e\x65\x63\x74\x69\ +\x6f\x6e\x73\x09\x09\x43\x6f\x6e\x6e\x65\x63\x74\x69\x6e\x67\x20\ +\x77\x69\x64\x67\x65\x74\x73\x20\x75\x73\x69\x6e\x67\x20\x61\x20\ +\x6e\x61\x6d\x69\x6e\x67\x20\x73\x63\x68\x65\x6d\x65\x0a\x20\x20\ +\x20\x20\x20\x20\x20\x20\x41\x20\x44\x69\x61\x6c\x6f\x67\x20\x57\ +\x69\x74\x68\x6f\x75\x74\x20\x41\x75\x74\x6f\x2d\x43\x6f\x6e\x6e\ +\x65\x63\x74\x09\x48\x6f\x77\x20\x74\x6f\x20\x63\x6f\x6e\x6e\x65\ +\x63\x74\x20\x77\x69\x64\x67\x65\x74\x73\x20\x77\x69\x74\x68\x6f\ +\x75\x74\x20\x61\x20\x6e\x61\x6d\x69\x6e\x67\x20\x73\x63\x68\x65\ +\x6d\x65\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x41\x20\x44\x69\x61\ +\x6c\x6f\x67\x20\x57\x69\x74\x68\x20\x41\x75\x74\x6f\x2d\x43\x6f\ +\x6e\x6e\x65\x63\x74\x09\x55\x73\x69\x6e\x67\x20\x61\x75\x74\x6f\ +\x6d\x61\x74\x69\x63\x20\x63\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e\ +\x73\x0a\x0a\x46\x6f\x72\x6d\x20\x45\x64\x69\x74\x69\x6e\x67\x20\ +\x4d\x6f\x64\x65\x09\x09\x09\x48\x6f\x77\x20\x74\x6f\x20\x65\x64\ +\x69\x74\x20\x61\x20\x66\x6f\x72\x6d\x20\x69\x6e\x20\x51\x74\x20\ +\x44\x65\x73\x69\x67\x6e\x65\x72\x0a\x20\x20\x20\x20\x4d\x61\x6e\ +\x61\x67\x69\x6e\x67\x20\x46\x6f\x72\x6d\x73\x09\x09\x09\x4c\x6f\ +\x61\x64\x69\x6e\x67\x20\x61\x6e\x64\x20\x73\x61\x76\x69\x6e\x67\ +\x20\x66\x6f\x72\x6d\x73\x0a\x20\x20\x20\x20\x45\x64\x69\x74\x69\ +\x6e\x67\x20\x61\x20\x46\x6f\x72\x6d\x09\x09\x09\x42\x61\x73\x69\ +\x63\x20\x65\x64\x69\x74\x69\x6e\x67\x20\x74\x65\x63\x68\x6e\x69\ +\x71\x75\x65\x73\x0a\x20\x20\x20\x20\x54\x68\x65\x20\x50\x72\x6f\ +\x70\x65\x72\x74\x79\x20\x45\x64\x69\x74\x6f\x72\x09\x09\x09\x43\ +\x68\x61\x6e\x67\x69\x6e\x67\x20\x77\x69\x64\x67\x65\x74\x20\x70\ +\x72\x6f\x70\x65\x72\x74\x69\x65\x73\x0a\x20\x20\x20\x20\x54\x68\ +\x65\x20\x4f\x62\x6a\x65\x63\x74\x20\x49\x6e\x73\x70\x65\x63\x74\ +\x6f\x72\x09\x09\x45\x78\x61\x6d\x69\x6e\x69\x6e\x67\x20\x74\x68\ +\x65\x20\x68\x69\x65\x72\x61\x72\x63\x68\x79\x20\x6f\x66\x20\x6f\ +\x62\x6a\x65\x63\x74\x73\x20\x6f\x6e\x20\x61\x20\x66\x6f\x72\x6d\ +\x0a\x20\x20\x20\x20\x4c\x61\x79\x6f\x75\x74\x73\x09\x09\x09\x09\ +\x4f\x62\x6a\x65\x63\x74\x73\x20\x74\x68\x61\x74\x20\x61\x72\x72\ +\x61\x6e\x67\x65\x20\x77\x69\x64\x67\x65\x74\x73\x20\x6f\x6e\x20\ +\x61\x20\x66\x6f\x72\x6d\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x41\ +\x70\x70\x6c\x79\x69\x6e\x67\x20\x61\x6e\x64\x20\x42\x72\x65\x61\ +\x6b\x69\x6e\x67\x20\x4c\x61\x79\x6f\x75\x74\x73\x09\x4d\x61\x6e\ +\x61\x67\x69\x6e\x67\x20\x77\x69\x64\x67\x65\x74\x73\x20\x69\x6e\ +\x20\x6c\x61\x79\x6f\x75\x74\x73\x20\x0a\x20\x20\x20\x20\x20\x20\ +\x20\x20\x48\x6f\x72\x69\x7a\x6f\x6e\x74\x61\x6c\x20\x61\x6e\x64\ +\x20\x56\x65\x72\x74\x69\x63\x61\x6c\x20\x4c\x61\x79\x6f\x75\x74\ +\x73\x09\x53\x74\x61\x6e\x64\x61\x72\x64\x20\x72\x6f\x77\x20\x61\ +\x6e\x64\x20\x63\x6f\x6c\x75\x6d\x6e\x20\x6c\x61\x79\x6f\x75\x74\ +\x73\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x54\x68\x65\x20\x47\x72\ +\x69\x64\x20\x4c\x61\x79\x6f\x75\x74\x09\x09\x09\x41\x72\x72\x61\ +\x6e\x67\x69\x6e\x67\x20\x77\x69\x64\x67\x65\x74\x73\x20\x69\x6e\ +\x20\x61\x20\x6d\x61\x74\x72\x69\x78\x0a\x20\x20\x20\x20\x50\x72\ +\x65\x76\x69\x65\x77\x69\x6e\x67\x20\x46\x6f\x72\x6d\x73\x09\x09\ +\x09\x43\x68\x65\x63\x6b\x69\x6e\x67\x20\x74\x68\x61\x74\x20\x74\ +\x68\x65\x20\x64\x65\x73\x69\x67\x6e\x20\x77\x6f\x72\x6b\x73\x0a\ +\x0a\x55\x73\x69\x6e\x67\x20\x43\x6f\x6e\x74\x61\x69\x6e\x65\x72\ +\x73\x09\x09\x09\x48\x6f\x77\x20\x74\x6f\x20\x67\x72\x6f\x75\x70\ +\x20\x77\x69\x64\x67\x65\x74\x73\x20\x74\x6f\x67\x65\x74\x68\x65\ +\x72\x0a\x20\x20\x20\x20\x47\x65\x6e\x65\x72\x61\x6c\x20\x46\x65\ +\x61\x74\x75\x72\x65\x73\x09\x09\x09\x43\x6f\x6d\x6d\x6f\x6e\x20\ +\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x20\x66\x65\x61\x74\x75\x72\ +\x65\x73\x0a\x20\x20\x20\x20\x46\x72\x61\x6d\x65\x73\x09\x09\x09\ +\x09\x51\x46\x72\x61\x6d\x65\x0a\x20\x20\x20\x20\x47\x72\x6f\x75\ +\x70\x20\x42\x6f\x78\x65\x73\x09\x09\x09\x09\x51\x47\x72\x6f\x75\ +\x70\x42\x6f\x78\x0a\x20\x20\x20\x20\x53\x74\x61\x63\x6b\x65\x64\ +\x20\x57\x69\x64\x67\x65\x74\x73\x09\x09\x09\x51\x53\x74\x61\x63\ +\x6b\x65\x64\x57\x69\x64\x67\x65\x74\x0a\x20\x20\x20\x20\x54\x61\ +\x62\x20\x57\x69\x64\x67\x65\x74\x73\x09\x09\x09\x09\x51\x54\x61\ +\x62\x57\x69\x64\x67\x65\x74\x0a\x20\x20\x20\x20\x54\x6f\x6f\x6c\ +\x62\x6f\x78\x20\x57\x69\x64\x67\x65\x74\x73\x09\x09\x09\x51\x54\ +\x6f\x6f\x6c\x42\x6f\x78\x0a\x0a\x43\x6f\x6e\x6e\x65\x63\x74\x69\ +\x6f\x6e\x20\x45\x64\x69\x74\x69\x6e\x67\x20\x4d\x6f\x64\x65\x09\ +\x09\x09\x43\x6f\x6e\x6e\x65\x63\x74\x69\x6e\x67\x20\x77\x69\x64\ +\x67\x65\x74\x73\x20\x74\x6f\x67\x65\x74\x68\x65\x72\x20\x77\x69\ +\x74\x68\x20\x73\x69\x67\x6e\x61\x6c\x73\x20\x61\x6e\x64\x20\x73\ +\x6c\x6f\x74\x73\x0a\x20\x20\x20\x20\x43\x6f\x6e\x6e\x65\x63\x74\ +\x69\x6e\x67\x20\x4f\x62\x6a\x65\x63\x74\x73\x09\x09\x09\x4d\x61\ +\x6b\x69\x6e\x67\x20\x63\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e\x73\ +\x20\x69\x6e\x20\x51\x74\x20\x44\x65\x73\x69\x67\x6e\x65\x72\x0a\ +\x20\x20\x20\x20\x45\x64\x69\x74\x69\x6e\x67\x20\x43\x6f\x6e\x6e\ +\x65\x63\x74\x69\x6f\x6e\x73\x09\x09\x09\x43\x68\x61\x6e\x67\x69\ +\x6e\x67\x20\x65\x78\x69\x73\x74\x69\x6e\x67\x20\x63\x6f\x6e\x6e\ +\x65\x63\x74\x69\x6f\x6e\x73\x0a\ +" + +qt_resource_name = b"\ +\x00\x0b\ +\x0c\xe2\x22\xf4\ +\x00\x64\ +\x00\x65\x00\x66\x00\x61\x00\x75\x00\x6c\x00\x74\x00\x2e\x00\x74\x00\x78\x00\x74\ +" + +qt_resource_struct = b"\ +\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ +\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ +" + +def qInitResources(): + QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) + +def qCleanupResources(): + QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) + +qInitResources() diff --git a/examples/widgets/itemviews/spinboxdelegate.py b/examples/widgets/itemviews/spinboxdelegate.py new file mode 100755 index 0000000..5bdeade --- /dev/null +++ b/examples/widgets/itemviews/spinboxdelegate.py @@ -0,0 +1,73 @@ +#!/usr/bin/env python + +############################################################################ +## +## Copyright (C) 2005-2005 Trolltech AS. All rights reserved. +## +## This file is part of the example classes of the Qt Toolkit. +## +## This file may be used under the terms of the GNU General Public +## License version 2.0 as published by the Free Software Foundation +## and appearing in the file LICENSE.GPL included in the packaging of +## this file. Please review the following information to ensure GNU +## General Public Licensing requirements will be met: +## http://www.trolltech.com/products/qt/opensource.html +## +## If you are unsure which license is appropriate for your use, please +## review the following information: +## http://www.trolltech.com/products/qt/licensing.html or contact the +## sales department at sales@trolltech.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################ + + +from PySide2 import QtCore, QtGui + + +class SpinBoxDelegate(QtGui.QItemDelegate): + def createEditor(self, parent, option, index): + editor = QtGui.QSpinBox(parent) + editor.setMinimum(0) + editor.setMaximum(100) + + return editor + + def setEditorData(self, spinBox, index): + value = index.model().data(index, QtCore.Qt.EditRole) + + spinBox.setValue(value) + + def setModelData(self, spinBox, model, index): + spinBox.interpretText() + value = spinBox.value() + + model.setData(index, value, QtCore.Qt.EditRole) + + def updateEditorGeometry(self, editor, option, index): + editor.setGeometry(option.rect) + + +if __name__ == '__main__': + + import sys + + app = QtGui.QApplication(sys.argv) + + model = QtGui.QStandardItemModel(4, 2) + tableView = QtGui.QTableView() + tableView.setModel(model) + + delegate = SpinBoxDelegate() + tableView.setItemDelegate(delegate) + + for row in range(4): + for column in range(2): + index = model.index(row, column, QtCore.QModelIndex()) + model.setData(index, (row + 1) * (column + 1)) + + tableView.setWindowTitle("Spin Box Delegate") + tableView.show() + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/stardelegate/stardelegate.py b/examples/widgets/itemviews/stardelegate/stardelegate.py new file mode 100755 index 0000000..abcf8b3 --- /dev/null +++ b/examples/widgets/itemviews/stardelegate/stardelegate.py @@ -0,0 +1,174 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2010 Hans-Peter Jansen <hpj@urpla.net> +## Copyright (C) 2011 Arun Srinivasan <rulfzid@gmail.com> +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +from PySide2.QtWidgets import (QItemDelegate, QStyledItemDelegate, QStyle) + +from starrating import StarRating +from stareditor import StarEditor + +class StarDelegate(QStyledItemDelegate): + """ A subclass of QStyledItemDelegate that allows us to render our + pretty star ratings. + """ + + def __init__(self, parent=None): + super(StarDelegate, self).__init__(parent) + + def paint(self, painter, option, index): + """ Paint the items in the table. + + If the item referred to by <index> is a StarRating, we handle the + painting ourselves. For the other items, we let the base class + handle the painting as usual. + + In a polished application, we'd use a better check than the + column number to find out if we needed to paint the stars, but + it works for the purposes of this example. + """ + if index.column() == 3: + starRating = StarRating(index.data()) + + # If the row is currently selected, we need to make sure we + # paint the background accordingly. + if option.state & QStyle.State_Selected: + # The original C++ example used option.palette.foreground() to + # get the brush for painting, but there are a couple of + # problems with that: + # - foreground() is obsolete now, use windowText() instead + # - more importantly, windowText() just returns a brush + # containing a flat color, where sometimes the style + # would have a nice subtle gradient or something. + # Here we just use the brush of the painter object that's + # passed in to us, which keeps the row highlighting nice + # and consistent. + painter.fillRect(option.rect, painter.brush()) + + # Now that we've painted the background, call starRating.paint() + # to paint the stars. + starRating.paint(painter, option.rect, option.palette) + else: + QStyledItemDelegate.paint(self, painter, option, index) + + def sizeHint(self, option, index): + """ Returns the size needed to display the item in a QSize object. """ + if index.column() == 3: + starRating = StarRating(index.data()) + return starRating.sizeHint() + else: + return QStyledItemDelegate.sizeHint(self, option, index) + + # The next 4 methods handle the custom editing that we need to do. + # If this were just a display delegate, paint() and sizeHint() would + # be all we needed. + + def createEditor(self, parent, option, index): + """ Creates and returns the custom StarEditor object we'll use to edit + the StarRating. + """ + if index.column() == 3: + editor = StarEditor(parent) + editor.editingFinished.connect(self.commitAndCloseEditor) + return editor + else: + return QStyledItemDelegate.createEditor(self, parent, option, index) + + def setEditorData(self, editor, index): + """ Sets the data to be displayed and edited by our custom editor. """ + if index.column() == 3: + editor.starRating = StarRating(index.data()) + else: + QStyledItemDelegate.setEditorData(self, editor, index) + + def setModelData(self, editor, model, index): + """ Get the data from our custom editor and stuffs it into the model. + """ + if index.column() == 3: + model.setData(index, editor.starRating.starCount) + else: + QStyledItemDelegate.setModelData(self, editor, model, index) + + def commitAndCloseEditor(self): + """ Erm... commits the data and closes the editor. :) """ + editor = self.sender() + + # The commitData signal must be emitted when we've finished editing + # and need to write our changed back to the model. + self.commitData.emit(editor) + self.closeEditor.emit(editor, QStyledItemDelegate.NoHint) + + +if __name__ == "__main__": + """ Run the application. """ + from PySide2.QtWidgets import (QApplication, QTableWidget, QTableWidgetItem, + QAbstractItemView) + import sys + + app = QApplication(sys.argv) + + # Create and populate the tableWidget + tableWidget = QTableWidget(4, 4) + tableWidget.setItemDelegate(StarDelegate()) + tableWidget.setEditTriggers(QAbstractItemView.DoubleClicked | + QAbstractItemView.SelectedClicked) + tableWidget.setSelectionBehavior(QAbstractItemView.SelectRows) + tableWidget.setHorizontalHeaderLabels(["Title", "Genre", "Artist", "Rating"]) + + data = [ ["Mass in B-Minor", "Baroque", "J.S. Bach", 5], + ["Three More Foxes", "Jazz", "Maynard Ferguson", 4], + ["Sex Bomb", "Pop", "Tom Jones", 3], + ["Barbie Girl", "Pop", "Aqua", 5] ] + + for r in range(len(data)): + tableWidget.setItem(r, 0, QTableWidgetItem(data[r][0])) + tableWidget.setItem(r, 1, QTableWidgetItem(data[r][1])) + tableWidget.setItem(r, 2, QTableWidgetItem(data[r][2])) + item = QTableWidgetItem() + item.setData(0, StarRating(data[r][3]).starCount) + tableWidget.setItem(r, 3, item) + + tableWidget.resizeColumnsToContents() + tableWidget.resize(500, 300) + tableWidget.show() + + sys.exit(app.exec_()) diff --git a/examples/widgets/itemviews/stardelegate/stareditor.py b/examples/widgets/itemviews/stardelegate/stareditor.py new file mode 100644 index 0000000..5cbd585 --- /dev/null +++ b/examples/widgets/itemviews/stardelegate/stareditor.py @@ -0,0 +1,103 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2010 Hans-Peter Jansen <hpj@urpla.net> +## Copyright (C) 2011 Arun Srinivasan <rulfzid@gmail.com> +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +from PySide2.QtWidgets import (QWidget) +from PySide2.QtGui import (QPainter) +from PySide2.QtCore import Signal + + +class StarEditor(QWidget): + """ The custome editor for editing StarRatings. """ + + # A signal to tell the delegate when we've finished editing. + editingFinished = Signal() + + def __init__(self, parent=None): + """ Initialize the editor object, making sure we can watch mouse + events. + """ + super(StarEditor, self).__init__(parent) + + self.setMouseTracking(True) + self.setAutoFillBackground(True) + + def sizeHint(self): + """ Tell the caller how big we are. """ + return self.starRating.sizeHint() + + def paintEvent(self, event): + """ Paint the editor, offloading the work to the StarRating class. """ + painter = QPainter(self) + self.starRating.paint(painter, self.rect(), self.palette(), isEditable=True) + + def mouseMoveEvent(self, event): + """ As the mouse moves inside the editor, track the position and + update the editor to display as many stars as necessary. + """ + star = self.starAtPosition(event.x()) + + if (star != self.starRating.starCount) and (star != -1): + self.starRating.starCount = star + self.update() + + def mouseReleaseEvent(self, event): + """ Once the user has clicked his/her chosen star rating, tell the + delegate we're done editing. + """ + self.editingFinished.emit() + + def starAtPosition(self, x): + """ Calculate which star the user's mouse cursor is currently + hovering over. + """ + star = (x / (self.starRating.sizeHint().width() / + self.starRating.maxStarCount)) + 1 + if (star <= 0) or (star > self.starRating.maxStarCount): + return -1 + + return star + + + + diff --git a/examples/widgets/itemviews/stardelegate/starrating.py b/examples/widgets/itemviews/stardelegate/starrating.py new file mode 100644 index 0000000..e90bc35 --- /dev/null +++ b/examples/widgets/itemviews/stardelegate/starrating.py @@ -0,0 +1,102 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2010 Hans-Peter Jansen <hpj@urpla.net> +## Copyright (C) 2011 Arun Srinivasan <rulfzid@gmail.com> +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the PySide examples of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "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 The Qt Company Ltd nor the names of its +## 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." +## +## $QT_END_LICENSE$ +## +############################################################################# + +from math import (cos, sin, pi) + +from PySide2.QtGui import (QPainter, QPolygonF) +from PySide2.QtCore import (QPointF, QSize, Qt) + +PAINTING_SCALE_FACTOR = 20 + + +class StarRating(object): + """ Handle the actual painting of the stars themselves. """ + + def __init__(self, starCount=1, maxStarCount=5): + self.starCount = starCount + self.maxStarCount = maxStarCount + + # Create the star shape we'll be drawing. + self.starPolygon = QPolygonF() + self.starPolygon.append(QPointF(1.0, 0.5)) + for i in range(1, 5): + self.starPolygon.append(QPointF(0.5 + 0.5 * cos(0.8 * i * pi), + 0.5 + 0.5 * sin(0.8 * i * pi))) + + # Create the diamond shape we'll show in the editor + self.diamondPolygon = QPolygonF() + diamondPoints = [QPointF(0.4, 0.5), QPointF(0.5, 0.4), + QPointF(0.6, 0.5), QPointF(0.5, 0.6), + QPointF(0.4, 0.5)] + for point in diamondPoints: + self.diamondPolygon.append(point) + + def sizeHint(self): + """ Tell the caller how big we are. """ + return PAINTING_SCALE_FACTOR * QSize(self.maxStarCount, 1) + + def paint(self, painter, rect, palette, isEditable=False): + """ Paint the stars (and/or diamonds if we're in editing mode). """ + painter.save() + + painter.setRenderHint(QPainter.Antialiasing, True) + painter.setPen(Qt.NoPen) + + if isEditable: + painter.setBrush(palette.highlight()) + else: + painter.setBrush(palette.windowText()) + + yOffset = (rect.height() - PAINTING_SCALE_FACTOR) / 2 + painter.translate(rect.x(), rect.y() + yOffset) + painter.scale(PAINTING_SCALE_FACTOR, PAINTING_SCALE_FACTOR) + + for i in range(self.maxStarCount): + if i < self.starCount: + painter.drawPolygon(self.starPolygon, Qt.WindingFill) + elif isEditable: + painter.drawPolygon(self.diamondPolygon, Qt.WindingFill) + painter.translate(1.0, 0.0) + + painter.restore() |