prompt
large_stringlengths
70
991k
completion
large_stringlengths
0
1.02k
<|file_name|>copy.js<|end_file_name|><|fim▁begin|>'use strict'; <|fim▁hole|> images: { files: [ { cwd : 'src/assets/img/', src : '**/*', dest : '.build/img/', flatten : false, expand : true } ] }, config: { files: [ { cwd : 'src/config/', src : '**/*', dest : '.build/', flatten : false, expand : true } ] } };<|fim▁end|>
module.exports = {
<|file_name|>custom_mathcore.js<|end_file_name|><|fim▁begin|>LearnosityAmd.define([ 'jquery-v1.10.2', 'underscore-v1.5.2', 'vendor/mathcore' ], function ($, _, mathcore) { 'use strict'; var padding = 10, defaults = { "is_math": true, "response_id": "custom-mathcore-response-<?php echo $session_id; ?>", "type": "custom", "js": "//docs.vg.learnosity.com/demos/products/questionsapi/questiontypes/assets/mathcore/mathcore.js", "css": "//docs.vg.learnosity.com/demos/products/questionsapi/questiontypes/assets/mathcore/mathcore.css", "stimulus": "Simplify following expression: <b>\\(2x^2 + 3x - 5 + 5x - 4x^2 + 20\\)</b>", "score": 1, "specs": [{ "method": "isSimplified" }, { "method": "equivSymbolic", "value": "2x^2 + 3x - 5 + 5x - 4x^2 + 20" }] }, template = _.template('<div class="response_wrapper"><input type="text" /></div>'); var Question = function(options) { var $response, $input, self = this, triggerChanged = function () { self.clear(); setTimeout(function () { options.events.trigger('changed', $input.val()); }, 500); }; self.clear = function () { $response.removeClass('valid'); $response.removeClass('notValid'); }; self.validate = function () { var scorer = new Scorer(options.question, $input.val()), isValid = scorer.isValid(); self.clear(); if (isValid) { $response.addClass('valid'); } else { $response.addClass('notValid'); } }; options.events.on('validate', function () { self.validate(); }); if (options.state === 'review') { self.validate(); } if (options.response) { $input.val(options.response); } options.$el.html(template()); options.events.trigger('ready'); $response = options.$el.find('.response_wrapper'); $input = $response.find('input'); $input.on('change keydown', triggerChanged); triggerChanged(); }; var Scorer = function (question, response) { this.question = question; this.response = response; }; Scorer.prototype.isValid = function() { var i, temp, isValid = true; for(i = 0; i < this.question.specs.length; i ++) { temp = mathcore.validate(this.question.specs[i], this.response); isValid = isValid && temp.result; } return isValid; }; Scorer.prototype.score = function() { return this.isValid() ? this.maxScore() : 0; }; Scorer.prototype.maxScore = function() { return this.question.score || 1; }; return { Question: Question,<|fim▁hole|><|fim▁end|>
Scorer: Scorer }; });
<|file_name|>DirectShow.cpp<|end_file_name|><|fim▁begin|><|fim▁hole|>#include "DirectShow.h"<|fim▁end|>
<|file_name|>layer.py<|end_file_name|><|fim▁begin|># encoding: latin2 """Repository of clusterPy's main class "Layer" """ __author__ = "Juan C. Duque, Alejandro Betancourt" __credits__ = "Copyright (c) 2009-10 Juan C. Duque" __license__ = "New BSD License" __version__ = "1.0.0" __maintainer__ = "RiSE Group" __email__ = "contacto@rise-group.org" __all__ = ['Layer'] import copy import cPickle import numpy import os import re import time import itertools from data import generateSAR from data import generateSMA from data import generateCAR from data import generateSpots from data import generatePositiveSpots from data import generateUniform from data import generateGBinomial from data import generateLBinomial from data import dissolveData from data import fieldOperation from data import spatialLag from geometry import dissolveLayer from geometry import transportLayer from geometry import expandLayer from geometry import getBbox from geometry import getGeometricAreas from geometry import getCentroids # Clustering from toolboxes import execAZP from toolboxes import execArisel from toolboxes import execAZPRTabu from toolboxes import execAZPSA from toolboxes import execAZPTabu from toolboxes import execRandom from toolboxes.cluster.pRegionsExact import execPregionsExact from toolboxes.cluster.pRegionsExactCP import execPregionsExactCP from toolboxes.cluster.minpOrder import execMinpOrder from toolboxes.cluster.minpFlow import execMinpFlow from toolboxes import execMaxpTabu from toolboxes import execAMOEBA from toolboxes import originalSOM from toolboxes import geoSom from toolboxes import geoAssociationCoef from toolboxes import redistributionCoef from toolboxes import similarityCoef # Irregular Maps try: from toolboxes import topoStatistics from toolboxes import noFrontiersW except: pass # Spatial statistics from toolboxes import globalInequalityChanges from toolboxes import inequalityMultivar from toolboxes import interregionalInequalityTest from toolboxes import interregionalInequalityDifferences from outputs import dbfWriter from outputs import shpWriterDis from outputs import csvWriter # Contiguity function from contiguity import dict2matrix from contiguity import dict2gal from contiguity import dict2csv # Layer # Layer.dissolveMap # Layer.addVariable # Layer.getVars # Layer.generateData # Layer.resetData # Layer.cluster # Layer.getVars # Layer.resetData # Layer.cluster # Layer.esda # Layer.exportArcData # Layer.save # Layer.exportDBFY # Layer.exportCSVY # Layer.exportGALW # Layer.exportCSVW # Layer.exportOutputs # Layer.transport # Layer.expand class Layer(): """Main class in clusterPy It is an object that represents an original map and all the other maps derived from it after running any algorithm. The layer object can be also represented as an inverse tree with an upper root representing the original map and the different branches representing other layers related to the root. """ def __init__(self): """ **Attributes** * Y: dictionary (attribute values of each feature) * fieldNames: list (fieldNames List of attribute names) * areas: list (list containing the coordinates of each feature) * region2areas: list (list of lenght N (number of areas) with the ID of the region to which each area has been assigned during the last algorithm run) * Wqueen: dictionary (spatial contiguity based on queen criterion) * Wrook: dictionary (spatial contiguity based on rook criterion) * Wcustom: dictionary (custom spatial contiguity based on any other criterion) * type: string (layer's geometry type ('polygons','lines','points')) * results: list (repository of layer instances from running an algorithm) * outputCluster: dictionary (information about different characteristics of a solution (time, parameters, OS, among others)) * name: string (layer's name; default is 'root') * outputDissolve: dictionary (keep information from which the current layer has been created) * father: Layer (layer from which the current layer has been generated) * bbox: tuple (bounding box) """ # Object Attributes self.Y = {} self.fieldNames = [] self.areas = [] self.region2areas = [] self.Wqueen = {} self.Wrook = {} self.customW = {} self.shpType = '' self.results = [] self.name = "" self.outputCluster = {} self.outputCluster['r2a'] = [] self.outputCluster['r2aRoot'] = [] self.outputDissolve = {} self.outputDissolve['r2a'] = [] self.outputDissolve['r2aRoot'] = [] self.father = [] self.bbox = [] self.tStats = [] def dissolveMap(self, var=None, dataOperations={}): """ **Description** Once you run an aggregation algorithm you can use the dissolve function to create a new map where the new polygons result from dissolving borders between areas assigned to the same region. The dissolve map is an instance of a layer that is located inside the original layer. The dissolved map is then a "child" layer to which you can apply the same methods available for any layer. It implies that you can easily perform nested aggregation by applying aggregation algorithms to already dissolved maps. :param var: It is the variable that indicates which areas belong to the same regions. This variable is usually the variable that is saved to a layer once an aggregation algorithm is executed. This variable can also be already included in your map, or it can be added from an external file. :type var: string :param dataOperations: Dictionary which maps a variable to a list of operations to run on it. The dissolved layer will contain in it's data all the variables specified in this dictionary. Be sure to check the dissolved layer fieldNames before use it's variables. :type dataOperations: dictionary The dictionary structure must be as showed bellow.:: >>> X = {} >>> X[variableName1] = [function1, function2,....] >>> X[variableName2] = [function1, function2,....] Where functions are strings which represent the names of the functions to be used on the given variable (variableName). Functions could be,'sum','mean','min','max','meanDesv','stdDesv','med', 'mode','range','first','last','numberOfAreas'. If you do not use this structure, the new layer (i.e.., the dissolved map) will have just the ID field. **Examples** Dissolve china using the result from an aggregation algorithm :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.cluster('azpSa', ['Y1990', 'Y991'], 5) china.dissolveMap() Dissolve a China layer using a stored result on BELS :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.dissolveMap(var="BELS") Dissolve china using the result from an aggregation algorithm. It also generates two new variables in the dissolved map. These new variables are the regional mean and sum of attributes "Y1978" and "Y1979" :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.cluster('azpSa', ['Y1990', 'Y991'], 5) dataOperations = {'Y1978':['sum', 'mean'],'Y1979':['sum', 'mean']} china.dissolveMap(dataOperations=dataOperations) """ print "Dissolving lines" sh = Layer() if var is not None: if var in self.fieldNames: region2areas = map(lambda x: x[0],self.getVars(var).values()) dissolveLayer(self, sh, region2areas) sh.outputDissolve = {"objectiveFunction": "Unknown",\ "runningTime": "Unknown", "aggregationVariables": "Unknown",\ "algorithm":"Unknown", "weightType":"Unknown", \ "regions": len(sh.areas), "distanceType": "Unknown", "distanceStat": "Unknown", \ "selectionType": "Unknown", "objectiveFunctionType": "Unknown", \ "OS":os.name, "proccesorArchitecture": os.getenv('PROCESSOR_ARCHITECTURE'), \ "proccesorIdentifier": os.getenv('PROCESSOR_IDENTIFIER'), "numberProccesor": os.getenv('NUMBER_OF_PROCESSORS'), "r2a": self.region2areas} sh.Y, sh.fieldNames = dissolveData(self.fieldNames, self.Y, region2areas, dataOperations) else: raise NameError("The variable (%s) is not valid" %var) else: if self.region2areas == []: raise NameError("You have not executed any algorithm") else: dissolveLayer(self, sh, self.region2areas) outputKey = self.fieldNames[-1] dissolveInfo = self.outputCluster[outputKey] dissolveInfo['fieldName'] = outputKey sh.outputDissolve = dissolveInfo sh.Y,sh.fieldNames = dissolveData(self.fieldNames, self.Y, self.region2areas, dataOperations) print "Done" def getVars(self, *args): """Getting subsets of data :param args: subset data fieldNames. :type args: tuple :rtype: Dictionary (Data subset) **Description** This function allows the user to extract a subset of variables from a layer object. **Examples** Getting Y1998 and Y1997 from China :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") subset = china.getVars(["Y1998", "Y1997"]) """ print "Getting variables" fields = [] for argument in args: if isinstance(argument, list): for argumentIn in argument: fields.append(argumentIn) else: fields.append(argument) labels = self.fieldNames count = 0 subY = {} for i in self.Y.keys(): subY[i] = [] for j in fields: for i in range(len(labels)): if labels[i] == j: for j in self.Y.keys(): subY[j] = subY[j] + [self.Y[j][i]] print "Variables successfully extracted" return subY def addVariable(self, names, values): """Adding new variables :param names: field name :type names: list :param values: data :type values: dictionary **Description** On the example below the population of China in 1990 is multiplied by 10 and stored on the layer as "10Y1900". Note that using the power of Python and clusterPy together the number of possible new variables is unlimited. **Examples** **Example 1**:: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") Y1990 = china.getVars(["Y1990"]) MY1990 = {} for area_i,pop in enumerate(Y1990): MY1990[area_i] = pop*10 china.addVariable(['10Y1990'], MY1990) **Example 2** :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") chinaData = clusterpy.importCSV("clusterpy/data_examples/china.csv") china.addVariable(chinaData[1],chinaData[0]) """ print "Adding variables" self.fieldNames += (names) for area in range(len(values)): if area in self.Y: if type(values[area]) is not list: self.Y[area] += [values[area]] else: self.Y[area] += values[area] else: self.Y[area] = [values[area]] print "Done" def spatialLag(self,variables,wtype="queen"): """Spatial lag of a set of variables :param variables: data dictionary to be lagged :type variables: dictionary **Description** This function calculates the lagged value of a set of variables using the wrook specified as input. The result is stored in the layer data using the original variable name preceded of "sl_" **Examples** **Example 1**:: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.spatialLag(["Y1990","Y1991"]) china.exportArcData("chinaLagged") """ if wtype == 'rook': w = self.Wrook elif wtype == 'queen': w = self.Wqueen else: print "Contiguity type is not supported" wmatrix = dict2matrix(w,std=1,diag=0) data = self.getVars(*variables) lags = spatialLag(data,wmatrix) names = ["sl_" + x for x in variables] self.addVariable(names,lags) def generateData(self, process, wtype, n, *args, **kargs): """Simulate data according to a specific stochastic process :param process: type of data to be generated. :type process: string :param wtype: contiguity matrix to be used in order to generate the data. :type wtype: string :param n: number of processes to be generated. :type n: integer :param args: extra parameters of the simulators :type args: tuple :keyword integer: 0 for float variables and 1 for integer variables , by default 0. :type integer: boolean **Description** In order to make the random data generation on clusterPy easier, we provide a wide range of processes that can be generated with a single command. At the moment the available processes and their optional parameters are: * **Spatial autoregressive process (SAR)** * rho: Autoregressive coefficient * **Spatial Moving Average (SMA)** * rho: Autoregressive coefficient * **CAR** * rho: Autoregressive coefficient * **Random Spatial Clusters (Spots)** * nc: Number of clusters * compact: Compactness level (0 chain clusters - 1 compact clusters) * Zalpha: Z value for the significance level of each cluster. * **Positive Random Spatial Clusters (postive_spots)** * nc: Number of clusters * compact: Compactness level (0 chain clusters - 1 compact clusters) * Zalpha: Z value of the significance level of each cluster. It is necesary to take into account that the dsitribution of data is the absolute of a normal distribution. * **Uniform process (Uniform)** * min: Uniform minimum * max: Uniform maximum * **Global Binomial (GBinomial)** (Only one distribution for all the areas) * pob: Global Population * prob: Global Probabilities * **Local Binomial LBinomial** (Different distributions for each area.) * Var_pob: Population field name. * Var_prob: Probability field name. **Examples** Generating a float SAR variable for China with an autoregressive coefficient of 0.7 :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("SAR", "rook", 1, 0.7) Generating a integer SAR variable for China with an autoregressive coefficient of 0.7 :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("SAR", "rook", 1, 0.7, integer=1) Generating a float SMA variable for China with an autoregressive coefficient of 0.3 :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("SMA", "queen", 1, 0.3) Generating an integer SMA variable for China with an autoregressive coefficient of 0.3 :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("SMA", "queen", 1, 0.3, integer=1) Generating a float CAR variable for China with an autoregressive coefficient of 0.7 :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("CAR", "queen", 1, 0.7) Generating an integer CAR variable for China with an autoregressive coefficient of 0.7 :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("CAR", "queen", 1, 0.7, integer=1) Generating a float Spot process on China each with 4 clusters, and compactness level of 0.7 and an Zalpha value of 1.28 :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("Spots", "queen", 1, 4, 0.7, 1.28) Generating an integer Spot process on China each with 4 clusters, and compactness level of 0.7 and an Zalpha value of 1.28:: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("Spots", "queen", 1, 4, 0.7, 1.28, integer=1) Generating a float Spot process with only positive values on China each with 4 clusters, and compactness level of 0.7 and an Zalpha value of 1.64 :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("positive_spots", "queen", 1, 4, 0.7, 1.64) Generating a float Spot process with only positive values over a grid of 30 by 30 with 4 clusters, a compactness level of 0.7 and an Zalpha value of 1.64 :: import clusterpy grid = clusterpy.createGrid(30,30) grid.generateData("positive_spots", "queen", 1, 4, 0.7, 1.64) Generating a local Binomial process on china with Y1998 as population level and simulated uniform probability (Uniform31) as risk level. :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("Uniform", "queen", 1, 0, 1) china.fieldNames china.generateData("LBinomial", "rook", 1, "Y1998", "Uniform31") Generating a Binomial process on China with the same parameters for all the features :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("GBinomial", 'queen',1 , 10000, 0.5) Generating a float Uniform process between 1 and 10 :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("Uniform", 'queen', 1, 1, 10) Generating an integer Uniform process between 1 and 10 :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.generateData("Uniform", 'queen', 1, 1, 10, integer=1) """ fields = [] print "Generating " + process if wtype == 'rook': w = self.Wrook else: w = self.Wqueen if kargs.has_key("integer"): integer = kargs["integer"] else: integer = 0 if process == 'SAR': y = generateSAR(w, n, *args) fields.extend(['SAR'+ str(i + len(self.fieldNames)) for i in range(n)]) elif process == 'SMA': y = generateSMA(w, n, *args) fields.extend(['SMA'+ str(i + len(self.fieldNames)) for i in range(n)]) elif process == 'CAR': y = generateCAR(w, n, *args) fields.extend(['CAR'+ str(i + len(self.fieldNames)) for i in range(n)]) elif process == 'Spots': ylist = [generateSpots(w, *args) for i in xrange(n)] fields.extend(['Spots' + str(i + len(self.fieldNames)) for i in range(n)]) y = {} for i in xrange(len(w)): y[i] = [x[i][0] for x in ylist] elif process == 'positive_spots': ylist = [generatePositiveSpots(w, *args) for i in xrange(n)] fields.extend(['pspots' + str(i + len(self.fieldNames)) for i in range(n)]) y = {} for i in xrange(len(w)): y[i] = [x[i][0] for x in ylist] elif process == 'Uniform': y = generateUniform(w, n, *args) fields.extend(['Uniform' + str(i + len(self.fieldNames)) for i in range(n)]) elif process == 'GBinomial': # global parameters for the data y = generateGBinomial(w, n, *args) fields.extend(['Bino'+ str(i + len(self.fieldNames)) for i in range(n)]) elif process == 'LBinomial': # local parameters for each area arg = [arg for arg in args] y_pob = self.getVars(arg[0]) y_pro = self.getVars(arg[1]) y = generateLBinomial(n, y_pob, y_pro) fields.extend(['Bino' + str(i + len(self.fieldNames)) for i in range(n)]) for i in self.Y.keys(): if integer == 1: self.Y[i] = self.Y[i] + [int(z) for z in y[i]] else: self.Y[i] = self.Y[i] + y[i] self.fieldNames.extend(fields) print "Done [" + process + "]" def dataOperation(self,function): """ This function allows the creation of new variables. The variables must be created using python language operations between variables. :param function: This string is a python language operation which must include the variable name followed by the character "=" and the operations that must be executed in order to create the new variable. The new variable will be added as a new data attribute and the variable name will be added to fieldNames. :type function: string **Examples** Creating a new variable wich is the sum of another two :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.dataOperation("Y9599 = Y1995 + Y1998") Standardizing Y1995 :: import clusterpy import numpy china = clusterpy.importArcData("clusterpy/data_examples/china") values = [i[0] for i in china.getVars("Y1995").values()] mean_value = numpy.mean(values) std_value = numpy.std(values) china.dataOperation("Y1995St = (Y1995 - " + str(mean_value) + ")/float(" + str(std_value) + ")") Scaling Y1998 bewtween 0 and 1. :: import clusterpy import numpy china = clusterpy.importArcData("clsuterpy/data_examples/china") values = [i[0] for i in china.getVars("Y1998").values()] max_value = max(values) min_value = min(values) china.dataOperation("Y1998Sc = (Y1998 - " + str(min_value) + ")/float(" + str(max_value - min_value) + ")") """ m = re.match(r"(.*)\s?\=\s?(.*)", function) if "groups" in dir(m): fieldName = m.group(1).replace(" ", "") if fieldName in self.fieldNames: raise NameError("Variable " + str(fieldName) + " already exists") function = m.group(2) newVariable = fieldOperation(function, self.Y, self.fieldNames) print "Adding " + fieldName + " to fieldNames" print "Adding values from " + function + " to Y" self.addVariable([fieldName], newVariable) else: raise NameError("Function is not well structured, it must include variable\ Name followed by = signal followed by the fieldOperations") def resetData(self): """ All data available on the layer is deleted, keeping only the 'ID' variable **Examples** :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.resetData() """ for i in self.Y.keys(): self.Y[i] = [i] self.fieldNames = ['ID'] print "Done" def cluster(*args, **kargs): """ Layer.cluster contains a wide set of algorithms for clustering with spatial contiguity constraints. For literature reviews on constrained clustering, see [Murtagh1985]_, [Gordon1996]_, [Duque_Ramos_Surinach2007]_. Below you will find links that take you to a detailed description of each algorithm. The available algorithms are: * Arisel [Duque_Church2004]_, [Duque_Church_Middleton2011]_: * :ref:`Arisel description <arisel_description>`. * :ref:`Using Arisel with clusterPy <arisel_examples>`. * AZP [Openshaw_Rao1995]_: * :ref:`AZP description <azp_description>`. * :ref:`Using AZP with clusterPy <azp_examples>`. * AZP-Simulated Annealing [Openshaw_Rao1995]_. * :ref:`AZPSA description <azpsa_description>`. * :ref:`Using AZPSA with clusterPy <azpsa_examples>`. * AZP-Tabu [Openshaw_Rao1995]_. * :ref:`AZP Tabu description <azpt_description>`. * :ref:`Using AZP Tabu with clusterPy <azpt_examples>`. * AZP-R-Tabu [Openshaw_Rao1995]_. * :ref:`AZP Reactive Tabu description <azprt_description>`. * :ref:`Using AZP reactive Tabu with clusterPy <azprt_examples>`. ORGANIZAR QUE FUNCIONE * P-regions (Exact) [Duque_Church_Middleton2009]_. * :ref:`P-regions description <pregions_description>`. * :ref:`Using P-regions with clusterPy <pregions_examples>`. * Max-p-regions (Tabu) [Duque_Anselin_Rey2010]_. * :ref:`Max-p description <maxp_description>`. * :ref:`Using Max-p with clusterPy <maxp_examples>`. * AMOEBA [Alstadt_Getis2006]_, [Duque_Alstadt_Velasquez_Franco_Betancourt2010]_. * :ref:`AMOEBA description <amoeba_description>`. * :ref:`Using AMOEBA with clusterPy <amoeba_examples>`. * SOM [Kohonen1990]_. * :ref:`SOM description <som_description>`. * :ref:`Using SOM with clusterPy <som_examples>`. * geoSOM [Bacao_Lobo_Painho2004]_. * :ref:`GeoSOM description <geosom_description>`. * :ref:`Using geoSOM with clusterPy <geosom_examples>`. * Random :param args: Basic parameters. :type args: tuple :param kargs: Optional parameter keywords. :type kargs: dictionary The dataOperations dictionary used by 'dissolveMap <dissolveMap>' could be passed in order to specify which data should be calculated for the dissolved layer. The dataOperations dictionary must be: >>> X = {} >>> X[variableName1] = [function1, function2,....] >>> X[variableName2] = [function1, function2,....] Where functions are strings wich represents the name of the functions to be used on the given variableName. Functions could be,'sum','mean','min', 'max','meanDesv','stdDesv','med', 'mode','range','first','last', 'numberOfAreas. By deffault just ID variable is added to the dissolved map. **Examples** .. _arisel_examples: **ARISEL** :ref:`Arisel description <arisel_description>`: **Example 1** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 1, 0.9) instance.exportArcData("testOutput/arisel_1_input") instance.cluster('arisel', ['SAR1'], 15, dissolve=1) instance.results[0].exportArcData("testOutput/arisel_1_solution") .. image:: ../_static/ARISEL1.png **Example 2** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/arisel_2_input") instance.cluster('arisel', ['SAR1', 'SAR2'], 15, wType='queen', std=1, inits=3, convTabu=5, tabuLength=5, dissolve=1) instance.results[0].exportArcData("testOutput/arisel_2_solution") **Example 3** :: import clusterpy instance = clusterpy.createGrid(3, 3) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/arisel_3_input") instance.cluster('arisel', ['SAR1', 'SAR2'], 3, wType='queen', std=1, inits=1, initialSolution=[0, 0, 1, 0, 1, 1, 2, 2, 2], convTabu=5, tabuLength=5, dissolve=1) instance.results[0].exportArcData("testOutput/arisel_3_solution") **Example 4** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames dataOperations = {'POP1970':['sum', 'mean'], 'POP2001':['sum', 'mean']} calif.exportArcData("testOutput/arisel_4_input") calif.cluster('arisel', ['POP1970', 'POP2001'], 15, inits= 3, dissolve=1, dataOperations=dataOperations) calif.results[0].exportArcData("testOutput/arisel_4_solution") **Example 5** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames calif.dataOperation("g70_01 = float(POP2001 - POP1970) / POP1970") calif.exportArcData("testOutput/arisel_5_input") calif.cluster('arisel', ['g70_01'], 15, inits= 4, dissolve=1) calif.results[0].exportArcData("testOutput/arisel_5_solution") .. image:: ../_static/ARISEL5.png .. _azp_examples: **AZP** :ref:`AZP description <azp_description>` **Example 1** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/azp_1_input") instance.cluster('azp', ['SAR1'], 15, dissolve=1) instance.results[0].exportArcData("testOutput/azp_1_solution") .. image:: ../_static/AZP1.png **Example 2** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/azp_2_input") instance.cluster('azp', ['SAR1', 'SAR2'], 15, wType='queen', std=1, dissolve=1) instance.results[0].exportArcData("testOutput/azp_2_solution") **Example 3** :: import clusterpy instance = clusterpy.createGrid(3, 3) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/azp_3_input") instance.cluster('azp', ['SAR1', 'SAR2'], 3, wType='queen', std=1, initialSolution=[0, 0, 1, 0, 1, 1, 2, 2, 2], dissolve=1) instance.results[0].exportArcData("testOutput/azp_3_solution") **Example 4** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames dataOperations = {'POP1970':['sum', 'mean'], 'POP2001':['sum', 'mean']} calif.exportArcData("testOutput/azp_4_input")<|fim▁hole|> calif.cluster('azp', ['POP1970', 'POP2001'], 15, dissolve=1, dataOperations=dataOperations) calif.results[0].exportArcData("testOutput/azp_4_solution") **Example 5** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames calif.dataOperation("g70_01 = float(POP2001 - POP1970) / POP1970") calif.exportArcData("testOutput/azp_5_input") calif.cluster('azp', ['g70_01'], 15, dissolve=1) calif.results[0].exportArcData("testOutput/azp_5_solution") .. image:: ../_static/AZP5.png .. _azpsa_examples: **AZP Simulated Annealing** :ref:`AZP Simulated Annealing description <azpsa_description>` **Example 1** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/azpSA_1_input") instance.cluster('azpSa', ['SAR1'], 15, dissolve=1) instance.results[0].exportArcData("testOutput/azpSA_1_solution") .. image:: ../_static/AZPSA1.png **Example 2** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/azpSA_2_input") instance.cluster('azpSa', ['SAR1', 'SAR2'], 15, wType='queen', std=1, maxit=2, dissolve=1) instance.results[0].exportArcData("testOutput/azpSA_2_solution") **Example 3** :: import clusterpy instance = clusterpy.createGrid(3, 3) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/azpSA_3_input") instance.cluster('azpSa', ['SAR1', 'SAR2'], 3, wType='queen', std=1, initialSolution=[0, 0, 1, 0, 1, 1, 2, 2, 2], maxit=2, dissolve=1) instance.results[0].exportArcData("testOutput/azpSA_3_solution") **Example 4** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames dataOperations = {'POP1970':['sum', 'mean'], 'POP2001':['sum', 'mean']} calif.exportArcData("testOutput/azpSA_4_input") calif.cluster('azpSa', ['POP1970', 'POP2001'], 15, dissolve=1, dataOperations=dataOperations) calif.results[0].exportArcData("testOutput/azpSA_4_solution") **Example 5** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames calif.dataOperation("g70_01 = float(POP2001 - POP1970) / POP1970") calif.exportArcData("testOutput/azpSA_5_input") calif.cluster('azpSa', ['g70_01'], 15, dissolve=1) calif.results[0].exportArcData("testOutput/azpSA_5_solution") .. image:: ../_static/AZPSA5.png .. _azpt_examples: **AZP Tabu** :ref:`AZP tabu description <azpt_description>` **Example 1** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 1, 0.9) instance.exportArcData("testOutput/azpTabu_1_input") instance.cluster('azpTabu', ['SAR1'], 15, dissolve=1) instance.results[0].exportArcData("testOutput/azpTabu_1_solution") .. image:: ../_static/AZPT1.png **Example 2** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/azpTabu_2_input") instance.cluster('azpTabu', ['SAR1', 'SAR2'], 15, wType='queen', std=1, convTabu=5, tabuLength=5, dissolve=1) instance.results[0].exportArcData("testOutput/azpTabu_2_solution") **Example 3** :: import clusterpy instance = clusterpy.createGrid(3, 3) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/azpTabu_3_input") instance.cluster('azpTabu', ['SAR1', 'SAR2'], 3, wType='queen', std=1, initialSolution=[0, 0, 1, 0, 1, 1, 2, 2, 2], convTabu=5, tabuLength=5, dissolve=1) instance.results[0].exportArcData("testOutput/azpTabu_3_solution") **Example 4** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames dataOperations = {'POP1970':['sum', 'mean'], 'POP2001':['sum', 'mean']} calif.exportArcData("testOutput/azpTabu_4_input") calif.cluster('azpTabu', ['POP1970', 'POP2001'], 15, dissolve=1, dataOperations=dataOperations) calif.results[0].exportArcData("testOutput/azpTabu_4_solution") **Example 5** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames calif.dataOperation("g70_01 = float(POP2001 - POP1970) / POP1970") calif.exportArcData("testOutput/azpTabu_5_input") calif.cluster('azpTabu', ['g70_01'], 15, dissolve=1) calif.results[0].exportArcData("testOutput/azpTabu_5_solution") .. image:: ../_static/AZPT5.png .. _azprt_examples: **AZP Reactive Tabu** :ref:`AZP reactive tabu description <azprt_description>` **Example 1** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 1, 0.9) instance.exportArcData("testOutput/azpRTabu_1_input") instance.cluster('azpRTabu', ['SAR1'], 15, dissolve=1) instance.results[0].exportArcData("testOutput/azpRTabu_1_solution") .. image:: ../_static/AZPR1.png **Example 2** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/azpRTabu_2_input") instance.cluster('azpRTabu', ['SAR1', 'SAR2'], 15, wType='queen', std=1, convTabu=5, dissolve=1) instance.results[0].exportArcData("testOutput/azpRTabu_2_solution") **Example 3** :: import clusterpy instance = clusterpy.createGrid(3, 3) instance.generateData("SAR", 'rook', 2, 0.9) instance.exportArcData("testOutput/azpRTabu_3_input") instance.cluster('azpRTabu', ['SAR1', 'SAR2'], 3, wType='queen', std=1, initialSolution=[0, 0, 1, 0, 1, 1, 2, 2, 2], convTabu=5, dissolve=1) instance.results[0].exportArcData("testOutput/azpRTabu_3_solution") **Example 4** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames dataOperations = {'POP1970':['sum', 'mean'], 'POP2001':['sum', 'mean']} calif.exportArcData("testOutput/azpRTabu_4_input") calif.cluster('azpRTabu', ['POP1970', 'POP2001'], 15, dissolve=1, dataOperations=dataOperations) calif.results[0].exportArcData("testOutput/azpRTabu_4_solution") **Example 5** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames calif.dataOperation("g70_01 = float(POP2001 - POP1970) / POP1970") calif.exportArcData("testOutput/azpRTabu_5_input") calif.cluster('azpRTabu', ['g70_01'], 15, dissolve=1) calif.results[0].exportArcData("testOutput/azpRTabu_5_solution") .. image:: ../_static/AZPR5.png .. _lamaxp_examples: **MAX-P** :ref:`Max-p region description <maxp_description>` **Example 1** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 1, 0.9) instance.generateData('Uniform', 'rook', 1, 10, 15) instance.exportArcData("testOutput/maxpTabu_1_input") instance.cluster('maxpTabu', ['SAR1', 'Uniform2'], threshold=130, dissolve=1) instance.results[0].exportArcData("testOutput/maxpTabu_1_solution") .. image:: ../_static/Maxp1.png **Example 2** :: import clusterpy instance = clusterpy.createGrid(10, 10) instance.generateData("SAR", 'rook', 1, 0.9) instance.generateData('Uniform', 'rook', 1, 10, 15) instance.exportArcData("testOutput/maxpTabu_2_input") instance.cluster('maxpTabu', ['SAR1', 'Uniform2'], threshold=130, wType='queen', maxit=3, tabuLength=5, dissolve=1) instance.results[0].exportArcData("testOutput/maxpTabu_2_solution") **Example 3** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames dataOperations = {'POP1970':['sum', 'mean'], 'POP2001':['sum', 'mean']} calif.exportArcData("testOutput/maxpTabu_3_input") calif.cluster('maxpTabu', ['POP1970', 'POP2001'], threshold=100000, dissolve=1, dataOperations=dataOperations) calif.results[0].exportArcData("testOutput/maxpTabu_3_solution") **Example 4** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.fieldNames calif.dataOperation("g70_01 = float(POP2001 - POP1970) / POP1970") calif.exportArcData("testOutput/maxpTabu_4_input") calif.cluster('maxpTabu', ['g70_01', 'POP2001'], threshold=100000, dissolve=1,std=1) calif.results[0].exportArcData("testOutput/maxpTabu_4_solution") .. image:: ../_static/Maxp4.png .. _amoeba_examples: **AMOEBA** :ref:`AMOEBA description <amoeba_description>` **Example 1** :: import clusterpy instance = clusterpy.createGrid(33, 33) instance.generateData("Spots", 'rook', 1, 2, 0.7, 0.99) instance.cluster('amoeba', ['Spots1'],significance=0.01) instance.exportArcData("testOutput/amoeba_1_solution") .. image:: ../_static/AMOEBA1.png **Example 2**:: import clusterpy instance = clusterpy.createGrid(25, 25) instance.generateData("Spots", 'rook', 1, 2, 0.7, 0.99) instance.cluster('amoeba', ['Spots1'],wType="queen",significance=0.01) instance.exportArcData("testOutput/amoeba_2_solution") **Example 3** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.dataOperation("g70_01 = float(POP2001 - POP1970) / POP1970") calif.cluster('amoeba', ['g70_01'],significance=0.01) calif.exportArcData("testOutput/amoeba_3_solution") .. image:: ../_static/AMOEBA3.png .. _som_examples: **Self Organizing Maps (SOM)** :ref:`SOM description <som_description>` **Example 1** :: import clusterpy instance = clusterpy.createGrid(33, 33) instance.generateData("SAR", "rook", 1, 0.9) instance.cluster("som", ["SAR1"], nRows=2,nCols=2) instance.exportArcData("testOutput/som_1_dataLayer") .. image:: ../_static/som1.png **Example 2** :: import clusterpy instance = clusterpy.createGrid(33,33) instance.generateData("SAR",'rook',1,0.9) instance.generateData("SAR",'rook',1,0.9) instance.cluster('som',['SAR1','SAR2'],nRows=2,nCols=2,alphaType='quadratic', fileName="testOutput/NeuronsLayer") instance.exportArcData("testOutput/som_2_dataLayer") **Example 3** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.dataOperation("g70_01 = float(POP2001 - POP1970) / POP1970") calif.cluster('som',['g70_01'],nRows=2,nCols=2,alphaType='linear') calif.exportArcData("testOutput/som_3_solution") .. image:: ../_static/som3.png .. _geosom_examples: **Geo Self Organizing Maps (geoSOM)** :ref:`GeoSOM description <geosom_description>` **Example 1** :: import clusterpy instance = clusterpy.createGrid(33, 33) instance.generateData("SAR", "rook", 1, 0.9) instance.cluster("geoSom", ["SAR1"], nRows=3,nCols=3) instance.exportArcData("testOutput/geoSom_1_dataLayer") .. image:: ../_static/geosom1.png **Example 2** :: import clusterpy instance = clusterpy.createGrid(33,33) instance.generateData("SAR",'rook',1,0.9) instance.generateData("SAR",'rook',1,0.9) instance.cluster('geoSom',['SAR1','SAR2'],nRows=3,nCols=3,alphaType='quadratic', fileName="testOutput/NeuronsLayer") instance.exportArcData("testOutput/geoSom_2_dataLayer") **Example 3** :: import clusterpy calif = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") calif.dataOperation("g70_01 = float(POP2001 - POP1970) / POP1970") calif.cluster('geoSom',['g70_01'],nRows=3,nCols=3,alphaType='linear') calif.exportArcData("testOutput/geoSom_3_solution") .. image:: ../_static/geosom3.png """ self = args[0] algorithm = args[1] # Extracting W type from arguments if kargs.has_key('wType'): wType = kargs['wType'] kargs.pop('wType') else: wType = 'rook' # Extracting W according to requirement if wType == 'rook': algorithmW = self.Wrook elif wType == 'queen': algorithmW = self.Wqueen else: algorithmW = self.Wrook # Extracting standardize variables if kargs.has_key('std'): std = kargs.pop('std') else: std = 0 # Setting dissolve according to requirement if kargs.has_key("dissolve"): dissolve = kargs.pop('dissolve') else: dissolve = 0 # Extracting dataOperations if kargs.has_key("dataOperations"): dataOperations = kargs.pop("dataOperations") else: dataOperations = {} # Construction of parameters per algorithm if algorithm in ["geoSom","amoeba","som"]: dissolve = 0 dataOperations = {} print "The parameters ""dissolve"" and ""dataOperations"" is not available for the this \ algorithm" if algorithm == "geoSom": fieldNames = tuple(args[2]) args = (self, fieldNames) + args[3:] else: fieldNames = tuple(args[2]) algorithmY = self.getVars(*fieldNames) if std==1: for nn,name in enumerate(fieldNames): values = [i[0] for i in self.getVars(name).values()] mean_value = numpy.mean(values) std_value = numpy.std(values) newVar = fieldOperation("( " + name + " - " + str(mean_value) + ")/float(" + str(std_value) + ")", algorithmY, fieldNames) for nv,val in enumerate(newVar): algorithmY[nv][nn] = val # Adding original population to de algortihmY if algorithm == "maxpTabu": population = fieldNames[-1] populationY = self.getVars(population) for key in populationY: algorithmY[key][-1] = populationY[key][0] args = (algorithmY,algorithmW) + args[3:] name = algorithm + "_" + time.strftime("%Y%m%d%H%M%S") self.outputCluster[name] = { "random": lambda *args, **kargs: execRandom(*args, **kargs), "azp": lambda *args, **kargs: execAZP(*args, **kargs), "arisel": lambda *args, **kargs: execArisel(*args, **kargs), "azpTabu": lambda *args, **kargs: execAZPTabu(*args, **kargs), "azpRTabu": lambda *args, **kargs: execAZPRTabu(*args, **kargs), "azpSa": lambda *args, **kargs: execAZPSA(*args, **kargs), "amoeba": lambda *args, **kargs: execAMOEBA(*args, **kargs), "som": lambda *args, **kargs: originalSOM(*args, **kargs), "geoSom": lambda *args, **kargs: geoSom(*args, **kargs), "pRegionsExact": lambda *args, **kargs: execPregionsExact(*args, **kargs), "pRegionsExactCP": lambda *args, **kargs: execPregionsExactCP(*args, **kargs), "minpOrder": lambda *args, **kargs: execMinpOrder(*args, **kargs), "minpFlow": lambda *args, **kargs: execMinpFlow(*args, **kargs), "maxpTabu": lambda *args, **kargs: execMaxpTabu(*args, **kargs) }[algorithm](*args, **kargs) self.outputCluster[name]["weightType"] = wType self.outputCluster[name]["aggregationVariables"] = fieldNames self.outputCluster[name]["OS"] = os.name self.outputCluster[name]["proccesorArchitecture"] = os.getenv('PROCESSOR_ARCHITECTURE') self.outputCluster[name]["proccesorIdentifier"] = os.getenv('PROCESSOR_IDENTIFIER') self.outputCluster[name]["numberProccesor"] = os.getenv('NUMBER_OF_PROCESSORS') sol = self.outputCluster[name]["r2a"] self.region2areas = sol self.addVariable([name], sol) self.outputCluster[name]["fieldName"] = self.fieldNames[-1] if dissolve == 1: self.dissolveMap(dataOperations=dataOperations) def spmorph(self,variables,minShocks,maxShocks, inequalityIndex,outFile,clusterAlgorithm, nClusters, **kargs): """ This function runs the algorithm spMorph, devised by [Duque_Ye_Folch2012], for a predefined shock. spMorph is an exploratory space-time analysis tool for describing processes of spatial redistribution of a given variable. :keyword variables: List with variables to be analyzed. The variables must be chronologically sorted; e.g: ['Y1978', 'Y1979', 'Y1980', 'Y1981', 'Y1982', 'Y1983', 'Y1984', 'Y1985', 'Y1986', 'Y1987', 'Y1988'] :type variables: list :keyword minShocks: minimum number of shocks to evaluate :type minShocks: integer :keyword maxShocks: maximum number of shocks to evaluate :type maxShocks: integer :keyword inequalityIndex: name of the inequality index to be utilized in the algorithm. By now, the only option is 'theil' :type inequalityIndex: string :keyword outFile: Name for the output file; e.g.: "spMorph" (no extension) :type outFile: string :keyword clusterAlgorithm: name of the spatial clustering algorithm to be utilized in the algorithm. The clustering algorithm must be any version of 'azp' or 'arisel' :type clusterAlgorithm: string :keyword nClusters: number of regions :type nClusters: integer After the parameter nClusters you can include more parameters related with the clustering algorithm that you are using. We recomend not to use dissolve=1 option **Example 1**:: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") variables = ['Y1978', 'Y1979', 'Y1980', 'Y1981'] china.multishockFinder(variables,0,2,'theil',"sphmorph",'azpTabu',4) """ def createTable(index,comb,shock): auxline = str(index) auxline = auxline.replace("[","") auxline = auxline.replace("]","") combtext = str(comb) combtext = combtext.replace(","," ") line = "".join([str(len(comb)),",",str(combtext),",",shock,",",auxline,",","\n"]) return line bestSolutions = {} table_t = "" table_tw = "" table_tb = "" table_tw_t = "" table_lowerTw_t = "" table_a2r = "" auxline = str(variables) auxline = auxline.replace("[","") auxline = auxline.replace("]","") auxline = auxline.replace("'","") header = "".join(["#shocks,shocks,shock,",auxline,"\n"]) auxline = str(range(len(self.areas))) auxline = auxline.replace("[","") auxline = auxline.replace("]","") header_a2r = "".join(["#shocks,shocks,shock,",auxline,"\n"]) fout_t = open(outFile + "_t.csv","w") fout_t.write(header) fout_tb = open(outFile + "_tb.csv","w") fout_tb.write(header) fout_tw = open(outFile + "_tw.csv","w") fout_tw.write(header) fout_twt = open(outFile + "_twt.csv","w") fout_twt.write(header) fout_lb = open(outFile + "_lb.csv","w") fout_lb.write(header) fouta2r = open(outFile + "_a2r.csv","w") fouta2r.write(header_a2r) cachedSolutions = {} for nElements in range(minShocks,maxShocks+1): bestSol = [] # (t,tb,tw,tw/t,loweTw/t,comb,objectiveFunction) for comb in itertools.combinations(variables[1:],nElements): comb = list(comb) comb.sort() comb = tuple(comb) t, tb, tw, tw_t, lowerTw_t,a2r = self.inequalityShock(variables, comb,inequalityIndex,clusterAlgorithm,nClusters,cachedSolutions,**kargs) if bestSol == [] or sum(lowerTw_t) <= (bestSol["of"]): bestSol = {"t" : t, "tb" : tb, "tw" : tw, "tw_t" : tw_t, "lowerTw_t" : lowerTw_t, "comb" : comb, "of" : sum(lowerTw_t), "a2r" : a2r} fout_t = open(outFile + "_t.csv","a") fout_tb = open(outFile + "_tb.csv","a") fout_tw = open(outFile + "_tw.csv","a") fout_twt = open(outFile + "_twt.csv","a") fout_lb = open(outFile + "_lb.csv","a") fouta2r = open(outFile + "_a2r.csv","a") for nc in range(nElements+1): line = createTable(bestSol["t"][nc],bestSol["comb"],str(nc)) fout_t.write(line) line = createTable(bestSol["tb"][nc],bestSol["comb"],str(nc)) fout_tb.write(line) line = createTable(bestSol["tw"][nc],bestSol["comb"],str(nc)) fout_tw.write(line) line = createTable(bestSol["tw_t"][nc],bestSol["comb"],str(nc)) fout_twt.write(line) line = createTable(bestSol["a2r"][nc],bestSol["comb"],str(nc)) fouta2r.write(line) line = createTable(bestSol["lowerTw_t"],comb,"") fout_lb.write(line) fout_t.close() fout_tb.close() fout_tw.close() fout_twt.close() fout_lb.close() fouta2r.close() def inequalityShock(self,variables,shokVariables, inequalityIndex,clusterAlgorithm, nClusters,cachedSolutions,**kargs): """ This function runs the algorithm spMorph, devised by [Duque_Ye_Folch2012], for a predefined shock. spMorph is an exploratory space-time analysis tool for describing processes of spatial redistribution of a given variable. :keyword variables: List with variables to be analyzed. The variables must be chronologically sorted; e.g: ['Y1978', 'Y1979', 'Y1980', 'Y1981', 'Y1982', 'Y1983', 'Y1984', 'Y1985', 'Y1986', 'Y1987', 'Y1988'] :type variables: list :keyword shokVariables: list with the name of the variable (in vars) in wich a shock ocurred. NOTE: the shock variable is included as the first variable of the next period; e.g: ['Y1981', 'Y1984'], this implies that the periods to analyze are: 1978-1980; 1981-1983 and 1984-1988. :type shokVariables: list :keyword inequalityIndex: name of the inequality index to be utilized in the algorithm. By now, the only option is 'theil' :type inequalityIndex: string :keyword clusterAlgorithm: name of the spatial clustering algorithm to be utilized in the algorithm. The clustering algorithm must be any version of 'azp' or 'arisel' :type clusterAlgorithm: string :keyword nClusters: number of regions :type nClusters: integer After the parameter nClusters you can include more parameters related with the clustering algorithm that you are using. We recomend not to use dissolve=1 option The function returns: t: total Theil tb: between groups inequality tw: within groups inequality lb: lower bound a2r: solution vector for the regionalization algorithm **Example**:: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") variables = ['Y1978', 'Y1979', 'Y1980', 'Y1981', 'Y1982', 'Y1983', 'Y1984', 'Y1985', 'Y1986', 'Y1987', 'Y1988', 'Y1989', 'Y1990', 'Y1991', 'Y1992' , 'Y1993', 'Y1994', 'Y1995', 'Y1996', 'Y1997', 'Y1998'] shokVariable = ['Y1984'] t,tb,tw,tw_t,lb,a2r=china.inequalityShock(variables,shokVariable,'theil', 'arisel',5) """ tempSet = [] area2regions = {} area2regionsList = [] tempSetOrdered = [] for var in variables: if var in shokVariables: if tempSet == []: raise NameError("First period could not \ be a shock period") else: tempSet.sort() tempSet = tuple(tempSet) if tempSet not in cachedSolutions: clusterArgs = (clusterAlgorithm,tempSet,nClusters) self.cluster(*clusterArgs,**kargs) area2regions[tempSet] = self.region2areas tempSetOrdered.append(tempSet) else: area2regions[tempSet] = cachedSolutions[tempSet][-1] tempSetOrdered.append(tempSet) tempSet = [var] else: tempSet.append(var) tempSet.sort() tempSet = tuple(tempSet) if tempSet not in cachedSolutions: clusterArgs = (clusterAlgorithm,tempSet,nClusters) self.cluster(*clusterArgs,**kargs) area2regions[tempSet] = self.region2areas tempSetOrdered.append(tempSet) else: area2regions[tempSet] = cachedSolutions[tempSet][-1] tempSetOrdered.append(tempSet) Y = self.getVars(*variables) t = [] tb = [] tw = [] tw_t = [] for a2r in tempSetOrdered: if a2r in cachedSolutions: t2,tb2,tw2,tw_t2,a2rc = cachedSolutions[a2r] else: t2,tb2,tw2,tw_t2 = inequalityMultivar(Y,area2regions[a2r],inequalityIndex) cachedSolutions[a2r] = t2,tb2,tw2,tw_t2,area2regions[a2r] a2rc = area2regions[a2r] t.append(t2) tb.append(tb2) tw.append(tw2) tw_t.append(tw_t2) area2regionsList.append(a2rc) lowerTw_t = [min(x) for x in zip(*tw_t)] return t, tb, tw, tw_t, lowerTw_t,area2regionsList def inequality(*args,**kargs): """ Documentacion Juank """ self = args[0] algorithm = args[1] if algorithm == 'globalInequalityChanges': variables = args[2] outFile = args[3] Y = self.getVars(*variables) args = (Y,variables,outFile) globalInequalityChanges(*args,**kargs) result = None elif algorithm == 'inequality': variables = args[2] area2region = args[3] Y = self.getVars(*variables) area2region = [x[0] for x in self.getVars(area2region).values()] args = (Y,area2region) result = inequalityMultivar(*args,**kargs) elif algorithm == 'interregionalInequalityTest': fieldNames = args[2] area2region = args[3] outFile = args[4] Y = self.getVars(*fieldNames) area2regions = self.getVars(area2region) args = (Y,fieldNames,area2regions,area2region,outFile) result = interregionalInequalityTest(*args,**kargs) elif algorithm == 'regionsInequalityDifferenceTest': fieldNames = args[2] area2region = args[3] outFile = args[4] Y = self.getVars(*fieldNames) area2regions = self.getVars(area2region) area2regions = zip(*area2regions.values()) args = (Y,fieldNames,area2regions,area2region,outFile) result = interregionalInequalityDifferences(*args,**kargs) return result def esda(*args, **kargs): """ Documentacion Juank Exploratory spatial data analysis algorithms. For more information about the basic and the optional parameters, read the official 'algorithm documentation <www.rise-group.org>' :param args: basic paramters. :type args: tuple :param kargs: optional parameter keywords. :type kargs: dictionary **Examples** Geographical association coefficient (GAC) >>> import clusterpy >>> new = clusterpy.createGrid(10, 10) >>> new.generateData("SAR", 'rook', 1, 0.9) >>> new.generateData("SAR", 'rook', 1, 0.9) >>> gac = new.esda("GAC", "SAR1", "SAR2") Redistribution coefficient >>> import clusterpy >>> new = clusterpy.createGrid(10, 10) >>> new.generateData("SAR", 'rook', 1, 0.9) >>> new.generateData("SAR", 'rook', 1, 0.9) >>> rdc = new.esda("RDC", "SAR1", "SAR2") Similarity coefficient >>> import clusterpy >>> new = clusterpy.createGrid(10, 10) >>> new.generateData("SAR", 'rook', 1, 0.9) >>> new.generateData("SAR", 'rook', 1, 0.9) >>> SIMC = new.esda("SIMC", "SAR1", "SAR2") """ self = args[0] algorithm = args[1] args = [self] + list(args[2:]) kargs = {} result = { "GAC": lambda *args, **kargs: geoAssociationCoef(*args, **kargs), "RDC": lambda *args, **kargs: redistributionCoef(*args, **kargs), "SIMC": lambda *args, **kargs: similarityCoef(*args, **kargs), }[algorithm](*args, **kargs) return result def exportArcData(self, filename): """ Creates an ESRI shapefile from a clusterPy's layer. :param filename: shape file name to create, without ".shp" :type filename: string **Examples** :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.exportArcData("china") """ print "Writing ESRI files" shpWriterDis(self.areas, filename, self.shpType) self.exportDBFY(filename) print "ESRI files created" def exportDBFY(self, fileName, *args): """Exports the database file :param fileName: dbf file name to create, without ".dbf" :type fileName: string :param args: variables subset to be exported :type args: tuple **Examples** :: import clusterpy clusterpy.importArcData("clusterpy/data_examples/china") china.exportDBFY("china") """ print "Writing DBF file" if args != (): Y = self.getVars(self, *args) fieldNames = args else: Y = self.Y fieldNames = self.fieldNames fieldspecs = [] types = Y[0] for i in types: itype = str(type(i)) if 'str' in itype: fieldspecs.append(('C', 10, 0)) else: fieldspecs.append(('N', 10, 3)) records = range(len(Y)) for i in xrange(len(Y)): if len(fieldNames) == 2: records[i] = [] records[i] = records[i] + Y.values()[i] else: records[i] = [] records[i] = records[i] + Y.values()[i] dbfWriter(fieldNames, fieldspecs, records, fileName + '.dbf') print "Done" def exportCSVY(self, fileName, *args): """Exports layers data on .csv file :param fileName: csv file name to create, without ".csv" :type fileName: string :param args: variables subset to be exported :type args: tuple **Examples** :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.exportCSVY("ChinaCSV") """ print "Writing CSV files" if args != (): Y = self.getVars(self, *args) fieldNames = args else: Y = self.Y fieldNames = self.fieldNames records = Y.values() csvWriter(fileName, fieldNames, records) print "Done" def exportGALW(self, fileName, wtype='rook', idVariable='ID'): """ Exports the contiguity W matrix on a gal file :param fileName: gal file name to create, without ".gal" :type fileName: string :keyword wtype: w type to export, default is 'rook' :type wtype: string :keyword idVariable: id variable fieldName, default is 'ID' :type idVariable: string **Example 1** Exporting rook matrix :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.exportGALW("chinaW", wtype='rook') **Example 2** Exporting queen matrix :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.exportGALW("chinaW", wtype='queen') **Example 3** Exporting queen matrix based on a variable different from ID :: import clusterpy california = clusterpy.importArcData("clusterpy/data_examples/CA_Polygons") california.exportGALW("californiaW", wtype='queen',idVariable="MYID") **Example 3** Exporting a customW matrix imported from a GWT file:: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.customW = clusterpy.importGWT("clusterpy/data_examples/china_gwt_658.193052") china.exportGALW("chinaW", wtype='custom') """ print "Writing GAL file" if wtype == 'rook': nw = self.Wrook elif wtype == 'queen': nw = self.Wqueen elif wtype == 'custom': nw = self.customW else: raise NameError("W type is not valid") idvar = self.getVars(idVariable) dict2gal(nw,idvar,fileName) def exportCSVW(self, fileName, wtype='rook', idVariable='ID', standarize=False): """ Exports the nth contiguity W matrix on a csv file :param wDict: Contiguity dictionary :type wDict: dictionary :param idVar: Data dictionary with the id field to be used :type idVar: dictionary :param fileName: gal file name to create, without ".gal" :type fileName: string :keyword standarize: True to standardize the variables. :type standarize: boolean **Examples 1** Writing rook matrix to a csv :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.exportCSVW("chinaW", wtype='rook') **Examples 2** Writing rook matrix to a csv :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.exportCSVW("chinaW", wtype='queen') """ print "Writing CSV file" if wtype == 'rook': nw = copy.deepcopy(self.Wrook) elif wtype == 'queen': nw = copy.deepcopy(self.Wqueen) elif wtype == 'custom': nw = copy.deepcopy(self.customW) else: raise NameError("W type is not valid") w = copy.deepcopy(nw) idvar = self.getVars(idVariable) dict2csv(nw,idvar,fileName,standarize) def exportOutputs(self, filename): """Exports outputs of the last executed algorithm to a csv file. If no algorithm has been ran, you wil get an error message. :param filename: csv file name to create, without ".csv" :type filename: string **Examples** :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.cluster('geoSom', ['Y1991'], 10, 10, alphaType='quadratic', fileName="oLayer", dissolve=1) china.exportOutputs("outputs") """ f = open(filename, 'w') #try: print "Writing outputs to the CSV" key0 = 'none' cont = 0 while key0 == 'none' or key0 == "r2aRoot" or key0 == "r2a": key0 = self.outputCluster.keys()[cont] cont += 1 headers = self.outputCluster[key0].keys() line = '' for header in headers: line += header + ';' f.write(line[0: -1] + '\n') for key in self.outputCluster.keys(): line = '' for header in headers: if (key != 'r2a' and key != 'r2aRoot'): line += str(self.outputCluster[key][header]) + ';' f.write(line[0: -1] + '\n') print "Outputs successfully exported" #except: # raise NameError("No algorithm has been run") f.close() def exportRegions2area(self, filename): """export region2area results :param filename: csv file name to create, without ".csv" :type filename: string **Examples** :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.exportRegions2area('region2area') """ print "Writing region2areas" f = open(filename, 'w') data = self.getVars(self.outputCluster.keys()) for area in data.keys(): line = str(area) + ';' regions = data[area] for region in regions: line += str(region) + ';' f.write(line[0: -1] + '\n') f.close() print "region2areas successfully saved" def transport(self, xoffset, yoffset): """ This function transports all the coordinates of a layer object on the given offsets. :param xoffset: length of the translation to be made on the x coordinates :type xoffset: float :param yoffset: length of the translation to be made on the y coordinates :type yoffset: float **Examples** :: import clusterpy clusterpy.importArcData("clusterpy/data_examples/china") china.transport(100, 100) """ print "Changing coordinates" transportLayer(self, xoffset, yoffset) print "Done" def expand(self, xproportion, yproportion): """ This function scales the layer width and height according to inputs proportions :param xproportion: proportion to scale x :type xproportion: float :param yproportion: proportion to scale y :type yproportion: float **Example** :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.expand(100, 100) """ print "Changing coordinates" expandLayer(self, xproportion, yproportion) print "Done" def getGeometricAreas(self): """ This function calculates the geometric area for the polygons of a map and returns it as a dictionary. For computational efficiency it's recommended to store the results on the layer database using the addVariable layer function. **Example** :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.getGeometricAreas() """ return getGeometricAreas(self) def getCentroids(self): """Centroid calculation This function calculates the centroids for the polygons of a map and returns it as a dictionary with the coordinates of each area. For computational efficiency it's recommended to store the results on the layer database using the addVariable layer function. **Example** :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.getCentroids() """ return getCentroids(self) def getBbox(self): """ this function returns the boundingbox of the layer layer object. **Example** :: import clusterpy china = clusterpy.importArcData("clusterpy/data_examples/china") china.getBbox() """ if self.bbox == []: self.bbox = getBbox(self) return self.bbox def _defBbox(self): if self.bbox == []: self.bbox = getBbox(self) def topoStats(self,regular=False): if self.tStats == []: self.nWrook = noFrontiersW(self.Wrook,self.Wqueen,self.areas) M_n, m_n, mu1, mu2, a1, s, eig = topoStatistics(self.Wrook,self.nWrook,regular=regular) self.tStats = [M_n,m_n,mu1,mu2,a1,s,eig] return self.tStats<|fim▁end|>
<|file_name|>trace_restitution_pz.py<|end_file_name|><|fim▁begin|>from pyrocko import pz, io, trace from pyrocko.example import get_example_data # Download example data get_example_data('STS2-Generic.polezero.txt') get_example_data('test.mseed')<|fim▁hole|>zeros, poles, constant = pz.read_sac_zpk('STS2-Generic.polezero.txt') # one more zero to convert from velocity->counts to displacement->counts zeros.append(0.0j) rest_sts2 = trace.PoleZeroResponse( zeros=zeros, poles=poles, constant=constant) traces = io.load('test.mseed') out_traces = list(traces) for tr in traces: displacement = tr.transfer( 1000., # rise and fall of time window taper in [s] (0.001, 0.002, 5., 10.), # frequency domain taper in [Hz] transfer_function=rest_sts2, invert=True) # to change to (counts->displacement) # change channel id, so we can distinguish the traces in a trace viewer. displacement.set_codes(channel='D'+tr.channel[-1]) out_traces.append(displacement) io.save(out_traces, 'displacement.mseed')<|fim▁end|>
# read poles and zeros from SAC format pole-zero file
<|file_name|>tlp.py<|end_file_name|><|fim▁begin|># Copyright (c) 2015, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. import stix from stix.data_marking import MarkingStructure import stix.bindings.extensions.marking.tlp as tlp_binding @stix.register_extension class TLPMarkingStructure(MarkingStructure): _binding = tlp_binding _binding_class = tlp_binding.TLPMarkingStructureType _namespace = 'http://data-marking.mitre.org/extensions/MarkingStructure#TLP-1' _XSI_TYPE = "tlpMarking:TLPMarkingStructureType"<|fim▁hole|> def __init__(self, color=None): super(TLPMarkingStructure, self).__init__() self.color = color def to_obj(self, return_obj=None, ns_info=None): super(TLPMarkingStructure, self).to_obj(return_obj=return_obj, ns_info=ns_info) if not return_obj: return_obj = self._binding_class() MarkingStructure.to_obj(self, return_obj=return_obj, ns_info=ns_info) return_obj.color = self.color return return_obj def to_dict(self): d = MarkingStructure.to_dict(self) if self.color: d['color'] = self.color return d @classmethod def from_obj(cls, obj, return_obj=None): if not obj: return None if not return_obj: return_obj = cls() MarkingStructure.from_obj(obj, return_obj=return_obj) return_obj.color = obj.color return return_obj @classmethod def from_dict(cls, d, return_obj=None): if not d: return None if not return_obj: return_obj = cls() MarkingStructure.from_dict(d, return_obj) return_obj.color = d.get('color') return return_obj<|fim▁end|>
<|file_name|>colour.js<|end_file_name|><|fim▁begin|>/** * Visual Blocks Editor * * Copyright 2012 Google Inc. * http://blockly.googlecode.com/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @fileoverview Colour blocks for Blockly. * @author fraser@google.com (Neil Fraser) */ 'use strict'; goog.provide('Blockly.Blocks.colour'); goog.require('Blockly.Blocks'); Blockly.Blocks['colour_picker'] = { // Colour picker. init: function() { this.setHelpUrl(Blockly.Msg.COLOUR_PICKER_HELPURL); this.setColour(20); this.appendDummyInput() .appendField(new Blockly.FieldColour('#ff0000'), 'COLOUR'); this.setOutput(true, 'Colour'); this.setTooltip(Blockly.Msg.COLOUR_PICKER_TOOLTIP); } }; Blockly.Blocks['colour_random'] = { // Random colour. init: function() { this.setHelpUrl(Blockly.Msg.COLOUR_RANDOM_HELPURL); this.setColour(20); this.appendDummyInput() .appendField(Blockly.Msg.COLOUR_RANDOM_TITLE); this.setOutput(true, 'Colour'); this.setTooltip(Blockly.Msg.COLOUR_RANDOM_TOOLTIP); } }; Blockly.Blocks['colour_rgb'] = { // Compose a colour from RGB components. init: function() { this.setHelpUrl(Blockly.Msg.COLOUR_RGB_HELPURL); this.setColour(20); this.appendValueInput('RED') .setCheck('Number') .setAlign(Blockly.ALIGN_RIGHT) .appendField(Blockly.Msg.COLOUR_RGB_TITLE) .appendField(Blockly.Msg.COLOUR_RGB_RED); this.appendValueInput('GREEN') .setCheck('Number') .setAlign(Blockly.ALIGN_RIGHT) .appendField(Blockly.Msg.COLOUR_RGB_GREEN); this.appendValueInput('BLUE') .setCheck('Number') .setAlign(Blockly.ALIGN_RIGHT) .appendField(Blockly.Msg.COLOUR_RGB_BLUE); this.setOutput(true, 'Colour'); this.setTooltip(Blockly.Msg.COLOUR_RGB_TOOLTIP);<|fim▁hole|> // Blend two colours together. init: function() { this.setHelpUrl(Blockly.Msg.COLOUR_BLEND_HELPURL); this.setColour(20); this.appendValueInput('COLOUR1') .setCheck('Colour') .setAlign(Blockly.ALIGN_RIGHT) .appendField(Blockly.Msg.COLOUR_BLEND_TITLE) .appendField(Blockly.Msg.COLOUR_BLEND_COLOUR1); this.appendValueInput('COLOUR2') .setCheck('Colour') .setAlign(Blockly.ALIGN_RIGHT) .appendField(Blockly.Msg.COLOUR_BLEND_COLOUR2); this.appendValueInput('RATIO') .setCheck('Number') .setAlign(Blockly.ALIGN_RIGHT) .appendField(Blockly.Msg.COLOUR_BLEND_RATIO); this.setOutput(true, 'Colour'); this.setTooltip(Blockly.Msg.COLOUR_BLEND_TOOLTIP); } };<|fim▁end|>
} }; Blockly.Blocks['colour_blend'] = {
<|file_name|>DeleteSelected.js<|end_file_name|><|fim▁begin|>/** * Created by Lucian Tuca on 11/05/15. */ var DeleteSelectedCommand = function(commandString) { this.commandString = commandString; };<|fim▁hole|> // Map with the action from the context - basically what the command does. context.deleteShape(); }; // Command's name DeleteSelectedCommand.prototype.NAME = "Delete selected"; // Command's regexp DeleteSelectedCommand.prototype.REGEXP = new RegExp('delete\\sselected', 'i'); // Command's help DeleteSelectedCommand.prototype.HELP = "delete selected";<|fim▁end|>
DeleteSelectedCommand.prototype.execute = function(context) {
<|file_name|>pyugrid_test.py<|end_file_name|><|fim▁begin|># coding: utf-8 # ##Test out UGRID-0.9 compliant unstructured grid model datasets with PYUGRID # In[1]: name_list=['sea_surface_elevation', 'sea_surface_height_above_geoid', 'sea_surface_height','water level', 'sea_surface_height_above_sea_level', 'water_surface_height_above_reference_datum', 'sea_surface_height_above_reference_ellipsoid'] models = dict(ADCIRC=('http://comt.sura.org/thredds/dodsC/data/comt_1_archive/inundation_tropical/' 'UND_ADCIRC/Hurricane_Ike_2D_final_run_with_waves'), FVCOM=('http://www.smast.umassd.edu:8080/thredds/dodsC/FVCOM/NECOFS/' 'Forecasts/NECOFS_GOM3_FORECAST.nc'), SELFE=('http://comt.sura.org/thredds/dodsC/data/comt_1_archive/inundation_tropical/' 'VIMS_SELFE/Hurricane_Ike_2D_final_run_with_waves'), WW3=('http://comt.sura.org/thredds/dodsC/data/comt_2/pr_inundation_tropical/EMC_ADCIRC-WW3/' 'Dec2013Storm_2D_preliminary_run_1_waves_only')) # In[2]: import iris iris.FUTURE.netcdf_promote = True def cube_func(cube): return (cube.standard_name in name_list) and (not any(m.method == 'maximum' for m in cube.cell_methods)) constraint = iris.Constraint(cube_func=cube_func) cubes = dict() for model, url in models.items(): cube = iris.load_cube(url, constraint) cubes.update({model: cube}) # In[3]: cubes # In[4]: import pyugrid import matplotlib.tri as tri def get_mesh(cube, url): ug = pyugrid.UGrid.from_ncfile(url) cube.mesh = ug cube.mesh_dimension = 1 return cube def get_triang(cube): lon = cube.mesh.nodes[:, 0] lat = cube.mesh.nodes[:, 1] nv = cube.mesh.faces return tri.Triangulation(lon, lat, triangles=nv) # In[5]: tris = dict() for model, cube in cubes.items(): url = models[model] cube = get_mesh(cube, url)<|fim▁hole|> # In[6]: get_ipython().magic('matplotlib inline') import numpy as np import cartopy.crs as ccrs import matplotlib.pyplot as plt def plot_model(model): cube = cubes[model] lon = cube.mesh.nodes[:, 0] lat = cube.mesh.nodes[:, 1] ind = -1 # just take the last time index for now zcube = cube[ind] triang = tris[model] fig, ax = plt.subplots(figsize=(7, 7), subplot_kw=dict(projection=ccrs.PlateCarree())) ax.set_extent([lon.min(), lon.max(), lat.min(), lat.max()]) ax.coastlines() levs = np.arange(-1, 5, 0.2) cs = ax.tricontourf(triang, zcube.data, levels=levs) fig.colorbar(cs) ax.tricontour(triang, zcube.data, colors='k',levels=levs) tvar = cube.coord('time') tstr = tvar.units.num2date(tvar.points[ind]) gl = ax.gridlines(draw_labels=True) gl.xlabels_top = gl.ylabels_right = False title = ax.set_title('%s: Elevation (m): %s' % (zcube.attributes['title'], tstr)) return fig, ax # In[7]: fig, ax = plot_model('ADCIRC') # In[8]: fig, ax = plot_model('FVCOM') # In[9]: fig, ax = plot_model('WW3') # In[10]: fig, ax = plot_model('SELFE')<|fim▁end|>
cubes.update({model: cube}) tris.update({model: get_triang(cube)})
<|file_name|>lib.rs<|end_file_name|><|fim▁begin|>// Copyright (c) The Diem Core Contributors // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] use crate::{ cli::{Options, INLINE_PRELUDE}, prelude_template_helpers::StratificationHelper, }; use abigen::Abigen; use anyhow::anyhow; use boogie_backend::{boogie_wrapper::BoogieWrapper, bytecode_translator::BoogieTranslator}; use bytecode::{ data_invariant_instrumentation::DataInvariantInstrumentationProcessor, debug_instrumentation::DebugInstrumenter, function_target_pipeline::{FunctionTargetPipeline, FunctionTargetsHolder}, global_invariant_instrumentation::GlobalInvariantInstrumentationProcessor, global_invariant_instrumentation_v2::GlobalInvariantInstrumentationProcessorV2, read_write_set_analysis::{self, ReadWriteSetProcessor}, spec_instrumentation::SpecInstrumentationProcessor, }; use codespan_reporting::term::termcolor::{ColorChoice, StandardStream, WriteColor}; use docgen::Docgen; use errmapgen::ErrmapGen; use handlebars::Handlebars; use itertools::Itertools; #[allow(unused_imports)] use log::{debug, info, warn}; use move_lang::find_move_filenames; use move_model::{code_writer::CodeWriter, emit, emitln, model::GlobalEnv, run_model_builder}; use once_cell::sync::Lazy; use regex::Regex; use std::{ collections::{BTreeMap, BTreeSet}, fs, fs::File, io::Read, path::{Path, PathBuf}, time::Instant, }; pub mod cli; mod pipelines; mod prelude_template_helpers; // ================================================================================================= // Entry Point /// Content of the default prelude. const DEFAULT_PRELUDE: &[u8] = include_bytes!("prelude.bpl"); pub fn run_move_prover<W: WriteColor>( error_writer: &mut W, options: Options, ) -> anyhow::Result<()> { let now = Instant::now(); let target_sources = find_move_filenames(&options.move_sources, true)?; let all_sources = collect_all_sources( &target_sources, &find_move_filenames(&options.move_deps, true)?, options.inv_v2, )?; let other_sources = remove_sources(&target_sources, all_sources); let address = Some(options.account_address.as_ref()); debug!("parsing and checking sources"); let mut env: GlobalEnv = run_model_builder(target_sources, other_sources, address)?; if env.has_errors() { env.report_errors(error_writer); return Err(anyhow!("exiting with checking errors")); } if options.prover.report_warnings && env.has_warnings() { env.report_warnings(error_writer); } // Add the prover options as an extension to the environment, so they can be accessed // from there. env.set_extension(options.prover.clone()); // Until this point, prover and docgen have same code. Here we part ways. if options.run_docgen { return run_docgen(&env, &options, error_writer, now); } // Same for ABI generator. if options.run_abigen { return run_abigen(&env, &options, now); } // Same for the error map generator if options.run_errmapgen { return Ok(run_errmapgen(&env, &options, now)); } // Same for read/write set analysis if options.run_read_write_set { return Ok(run_read_write_set(&env, &options, now)); } let targets = create_and_process_bytecode(&options, &env); if env.has_errors() { env.report_errors(error_writer); return Err(anyhow!("exiting with transformation errors")); } if env.has_errors() { env.report_errors(error_writer); return Err(anyhow!("exiting with modifies checking errors")); } // Analyze and find out the set of modules/functions to be translated and/or verified. if env.has_errors() { env.report_errors(error_writer); return Err(anyhow!("exiting with analysis errors")); } let writer = CodeWriter::new(env.internal_loc()); add_prelude(&options, &writer)?; let mut translator = BoogieTranslator::new(&env, &options.backend, &targets, &writer); translator.translate(); if env.has_errors() { env.report_errors(error_writer); return Err(anyhow!("exiting with boogie generation errors")); } let output_existed = std::path::Path::new(&options.output_path).exists(); debug!("writing boogie to `{}`", &options.output_path); writer.process_result(|result| fs::write(&options.output_path, result))?; let translator_elapsed = now.elapsed(); if !options.prover.generate_only { let boogie_file_id = writer.process_result(|result| env.add_source(&options.output_path, result, false)); let boogie = BoogieWrapper { env: &env, targets: &targets, writer: &writer, options: &options.backend, boogie_file_id, }; boogie.call_boogie_and_verify_output(options.backend.bench_repeat, &options.output_path)?; let boogie_elapsed = now.elapsed(); if options.backend.bench_repeat <= 1 { info!( "{:.3}s translator, {:.3}s solver", translator_elapsed.as_secs_f64(), (boogie_elapsed - translator_elapsed).as_secs_f64() ); } else { info!( "{:.3}s translator, {:.3}s solver (average over {} solver runs)", translator_elapsed.as_secs_f64(), (boogie_elapsed - translator_elapsed).as_secs_f64() / (options.backend.bench_repeat as f64), options.backend.bench_repeat ); } if env.has_errors() { env.report_errors(error_writer); return Err(anyhow!("exiting with boogie verification errors")); } } if !output_existed && !options.backend.keep_artifacts { std::fs::remove_file(&options.output_path).unwrap_or_default(); } Ok(()) } pub fn run_move_prover_errors_to_stderr(options: Options) -> anyhow::Result<()> { let mut error_writer = StandardStream::stderr(ColorChoice::Auto); run_move_prover(&mut error_writer, options) } fn run_docgen<W: WriteColor>( env: &GlobalEnv, options: &Options, error_writer: &mut W, now: Instant, ) -> anyhow::Result<()> { let generator = Docgen::new(env, &options.docgen); let checking_elapsed = now.elapsed(); info!("generating documentation"); for (file, content) in generator.gen() { let path = PathBuf::from(&file); fs::create_dir_all(path.parent().unwrap())?; fs::write(path.as_path(), content)?; } let generating_elapsed = now.elapsed(); info!( "{:.3}s checking, {:.3}s generating", checking_elapsed.as_secs_f64(), (generating_elapsed - checking_elapsed).as_secs_f64() ); if env.has_errors() { env.report_errors(error_writer); Err(anyhow!("exiting with documentation generation errors")) } else { Ok(()) } } fn run_abigen(env: &GlobalEnv, options: &Options, now: Instant) -> anyhow::Result<()> { let mut generator = Abigen::new(env, &options.abigen); let checking_elapsed = now.elapsed(); info!("generating ABI files"); generator.gen(); for (file, content) in generator.into_result() { let path = PathBuf::from(&file); fs::create_dir_all(path.parent().unwrap())?; fs::write(path.as_path(), content)?; } let generating_elapsed = now.elapsed(); info!( "{:.3}s checking, {:.3}s generating", checking_elapsed.as_secs_f64(), (generating_elapsed - checking_elapsed).as_secs_f64() ); Ok(()) } fn run_errmapgen(env: &GlobalEnv, options: &Options, now: Instant) { let mut generator = ErrmapGen::new(env, &options.errmapgen); let checking_elapsed = now.elapsed(); info!("generating error map"); generator.gen(); generator.save_result(); let generating_elapsed = now.elapsed(); info!( "{:.3}s checking, {:.3}s generating", checking_elapsed.as_secs_f64(), (generating_elapsed - checking_elapsed).as_secs_f64() ); } fn run_read_write_set(env: &GlobalEnv, options: &Options, now: Instant) { let mut targets = FunctionTargetsHolder::default(); for module_env in env.get_modules() { for func_env in module_env.get_functions() { targets.add_target(&func_env) } } let mut pipeline = FunctionTargetPipeline::default(); pipeline.add_processor(ReadWriteSetProcessor::new()); let start = now.elapsed(); info!("generating read/write set"); pipeline.run(env, &mut targets, None); read_write_set_analysis::get_read_write_set(env, &targets); println!("generated for {:?}", options.move_sources); let end = now.elapsed(); info!("{:.3}s analyzing", (end - start).as_secs_f64()); } /// Adds the prelude to the generated output. fn add_prelude(options: &Options, writer: &CodeWriter) -> anyhow::Result<()> { emit!(writer, "\n// ** prelude from {}\n\n", &options.prelude_path); let content = if options.prelude_path == INLINE_PRELUDE { debug!("using inline prelude"); String::from_utf8_lossy(DEFAULT_PRELUDE).to_string() } else { debug!("using prelude at {}", &options.prelude_path); fs::read_to_string(&options.prelude_path)? }; let mut handlebars = Handlebars::new(); handlebars.register_helper( "stratified", Box::new(StratificationHelper::new( options.backend.stratification_depth, )), ); let expanded_content = handlebars.render_template(&content, &options)?; emitln!(writer, &expanded_content); Ok(()) } /// Create bytecode and process it. fn create_and_process_bytecode(options: &Options, env: &GlobalEnv) -> FunctionTargetsHolder { let mut targets = FunctionTargetsHolder::default(); // Add function targets for all functions in the environment. for module_env in env.get_modules() { for func_env in module_env.get_functions() { targets.add_target(&func_env) } } // Create processing pipeline and run it. let pipeline = create_bytecode_processing_pipeline(options); let dump_file = if options.prover.dump_bytecode { Some( options .move_sources .get(0) .cloned() .unwrap_or_else(|| "bytecode".to_string()) .replace(".move", ""), ) } else { None }; pipeline.run(env, &mut targets, dump_file); targets } /// Function to create the transformation pipeline. fn create_bytecode_processing_pipeline(options: &Options) -> FunctionTargetPipeline { let mut res = FunctionTargetPipeline::default(); // Add processors in order they are executed. res.add_processor(DebugInstrumenter::new()); pipelines::pipelines(options) .into_iter() .for_each(|processor| res.add_processor(processor)); res.add_processor(SpecInstrumentationProcessor::new()); res.add_processor(DataInvariantInstrumentationProcessor::new()); if options.inv_v2 { // *** convert to v2 version *** res.add_processor(GlobalInvariantInstrumentationProcessorV2::new()); } else { res.add_processor(GlobalInvariantInstrumentationProcessor::new()); } res } /// Remove the target Move files from the list of files. fn remove_sources(sources: &[String], all_files: Vec<String>) -> Vec<String> { let canonical_sources = sources .iter() .map(|s| canonicalize(s)) .collect::<BTreeSet<_>>(); all_files .into_iter() .filter(|d| !canonical_sources.contains(&canonicalize(d))) .collect_vec() } /// Collect all the relevant Move sources among sources represented by `input deps` /// parameter. The resulting vector of sources includes target sources, dependencies /// of target sources, (recursive)friends of targets and dependencies, and<|fim▁hole|>fn collect_all_sources( target_sources: &[String], input_deps: &[String], use_inv_v2: bool, ) -> anyhow::Result<Vec<String>> { let mut all_sources = target_sources.to_vec(); static DEP_REGEX: Lazy<Regex> = Lazy::new(|| Regex::new(r"(?m)use\s*0x[0-9abcdefABCDEF]+::\s*(\w+)").unwrap()); static NEW_FRIEND_REGEX: Lazy<Regex> = Lazy::new(|| Regex::new(r"(?m)friend\s*0x[0-9abcdefABCDEF]+::\s*(\w+)").unwrap()); static FRIEND_REGEX: Lazy<Regex> = Lazy::new(|| { Regex::new(r"(?m)pragma\s*friend\s*=\s*0x[0-9abcdefABCDEF]+::\s*(\w+)").unwrap() }); let target_deps = calculate_deps(&all_sources, input_deps, &DEP_REGEX)?; all_sources.extend(target_deps); let friend_sources = calculate_deps( &all_sources, input_deps, if use_inv_v2 { &NEW_FRIEND_REGEX } else { &FRIEND_REGEX }, )?; all_sources.extend(friend_sources); let friend_deps = calculate_deps(&all_sources, input_deps, &DEP_REGEX)?; all_sources.extend(friend_deps); Ok(all_sources) } /// Calculates transitive dependencies of the given Move sources. This function /// is also used to calculate transitive friends depending on the regex provided /// for extracting matches. fn calculate_deps( sources: &[String], input_deps: &[String], regex: &Regex, ) -> anyhow::Result<Vec<String>> { let file_map = calculate_file_map(input_deps)?; let mut deps = vec![]; let mut visited = BTreeSet::new(); for src in sources.iter() { calculate_deps_recursively(Path::new(src), &file_map, &mut visited, &mut deps, regex)?; } // Remove input sources from deps. They can end here because our dep analysis is an // over-approximation and for example cannot distinguish between references inside // and outside comments. let mut deps = remove_sources(sources, deps); // Sort deps by simple file name. Sorting is important because different orders // caused by platform dependent ways how `calculate_deps_recursively` may return values, can // cause different behavior of the SMT solver (butterfly effect). By using the simple file // name we abstract from places where the sources live in the file system. Since Move has // no namespaces and file names can be expected to be unique matching module/script names, // this should work in most cases. deps.sort_by(|a, b| { let fa = PathBuf::from(a); let fb = PathBuf::from(b); Ord::cmp(fa.file_name().unwrap(), fb.file_name().unwrap()) }); Ok(deps) } fn canonicalize(s: &str) -> String { match fs::canonicalize(s) { Ok(p) => p.to_string_lossy().to_string(), Err(_) => s.to_string(), } } /// Recursively calculate dependencies. fn calculate_deps_recursively( path: &Path, file_map: &BTreeMap<String, PathBuf>, visited: &mut BTreeSet<String>, deps: &mut Vec<String>, regex: &Regex, ) -> anyhow::Result<()> { if !visited.insert(path.to_string_lossy().to_string()) { return Ok(()); } debug!("including `{}`", path.display()); for dep in extract_matches(path, regex)? { if let Some(dep_path) = file_map.get(&dep) { let dep_str = dep_path.to_string_lossy().to_string(); if !deps.contains(&dep_str) { deps.push(dep_str); calculate_deps_recursively(dep_path.as_path(), file_map, visited, deps, regex)?; } } } Ok(()) } /// Calculate a map of module names to files which define those modules. fn calculate_file_map(deps: &[String]) -> anyhow::Result<BTreeMap<String, PathBuf>> { static REX: Lazy<Regex> = Lazy::new(|| Regex::new(r"(?m)module\s+(\w+)\s*\{").unwrap()); let mut module_to_file = BTreeMap::new(); for dep in deps { let dep_path = PathBuf::from(dep); for module in extract_matches(dep_path.as_path(), &*REX)? { module_to_file.insert(module, dep_path.clone()); } } Ok(module_to_file) } /// Extracts matches out of some text file. `rex` must be a regular expression with one anonymous /// group. fn extract_matches(path: &Path, rex: &Regex) -> anyhow::Result<Vec<String>> { let mut content = String::new(); let mut file = File::open(path)?; file.read_to_string(&mut content)?; let mut at = 0; let mut res = vec![]; while let Some(cap) = rex.captures(&content[at..]) { res.push(cap.get(1).unwrap().as_str().to_string()); at += cap.get(0).unwrap().end(); } Ok(res) }<|fim▁end|>
/// dependencies of friends.
<|file_name|>RestHandler.cpp<|end_file_name|><|fim▁begin|>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/licenses/LICENSE-2.0 /// /// Unless required by applicable law or agreed to in writing, software /// distributed under the License is distributed on an "AS IS" BASIS, /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. /// See the License for the specific language governing permissions and /// limitations under the License. /// /// Copyright holder is ArangoDB GmbH, Cologne, Germany /// /// @author Dr. Frank Celler //////////////////////////////////////////////////////////////////////////////// #include "RestHandler.h" #include "Basics/StringUtils.h" #include "Dispatcher/Dispatcher.h" #include "Logger/Logger.h" #include "Rest/GeneralRequest.h" using namespace arangodb; using namespace arangodb::basics; using namespace arangodb::rest; namespace { std::atomic_uint_fast64_t NEXT_HANDLER_ID( static_cast<uint64_t>(TRI_microtime() * 100000.0)); } RestHandler::RestHandler(GeneralRequest* request, GeneralResponse* response) : _handlerId(NEXT_HANDLER_ID.fetch_add(1, std::memory_order_seq_cst)), _taskId(0), _request(request), _response(response) {} RestHandler::~RestHandler() { delete _request; delete _response; } void RestHandler::setTaskId(uint64_t id, EventLoop loop) { _taskId = id; _loop = loop; } RestHandler::status RestHandler::executeFull() { RestHandler::status result = status::FAILED; requestStatisticsAgentSetRequestStart(); #ifdef USE_DEV_TIMERS TRI_request_statistics_t::STATS = _statistics; #endif try { prepareExecute();<|fim▁hole|> requestStatisticsAgentSetExecuteError(); handleError(ex); } catch (std::bad_alloc const& ex) { requestStatisticsAgentSetExecuteError(); Exception err(TRI_ERROR_OUT_OF_MEMORY, ex.what(), __FILE__, __LINE__); handleError(err); } catch (std::exception const& ex) { requestStatisticsAgentSetExecuteError(); Exception err(TRI_ERROR_INTERNAL, ex.what(), __FILE__, __LINE__); handleError(err); } catch (...) { requestStatisticsAgentSetExecuteError(); Exception err(TRI_ERROR_INTERNAL, __FILE__, __LINE__); handleError(err); } finalizeExecute(); if (result != status::ASYNC && _response == nullptr) { Exception err(TRI_ERROR_INTERNAL, "no response received from handler", __FILE__, __LINE__); handleError(err); } } catch (Exception const& ex) { result = status::FAILED; requestStatisticsAgentSetExecuteError(); LOG(ERR) << "caught exception: " << DIAGNOSTIC_INFORMATION(ex); } catch (std::exception const& ex) { result = status::FAILED; requestStatisticsAgentSetExecuteError(); LOG(ERR) << "caught exception: " << ex.what(); } catch (...) { result = status::FAILED; requestStatisticsAgentSetExecuteError(); LOG(ERR) << "caught exception"; } requestStatisticsAgentSetRequestEnd(); #ifdef USE_DEV_TIMERS TRI_request_statistics_t::STATS = nullptr; #endif return result; } GeneralRequest* RestHandler::stealRequest() { GeneralRequest* tmp = _request; _request = nullptr; return tmp; } GeneralResponse* RestHandler::stealResponse() { GeneralResponse* tmp = _response; _response = nullptr; return tmp; } void RestHandler::setResponseCode(GeneralResponse::ResponseCode code) { TRI_ASSERT(_response != nullptr); _response->reset(code); }<|fim▁end|>
try { result = execute(); } catch (Exception const& ex) {
<|file_name|>test_surrogatepass.py<|end_file_name|><|fim▁begin|># Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information. ## ## Test surrogatepass encoding error handler ## import unittest import codecs from iptest import run_test class SurrogatePassTest(unittest.TestCase): def test_ascii(self): self.assertEqual("abc".encode("ascii", errors="surrogatepass"), b"abc") self.assertEqual(b"abc".decode("ascii", errors="surrogatepass"), "abc") def test_utf_7(self): self.assertEqual("abc\ud810xyz".encode("utf_7", errors="surrogatepass"), b"abc+2BA-xyz") self.assertEqual(b"abc+2BA-xyz".decode("utf_7", errors="surrogatepass"), "abc\ud810xyz") def test_utf_8(self): self.assertEqual("abc\ud810xyz".encode("utf_8", errors="surrogatepass"), b"abc\xed\xa0\x90xyz") self.assertEqual(b"abc\xed\xa0\x90xyz".decode("utf_8", errors="surrogatepass"), "abc\ud810xyz") def test_utf_16_le(self): # lone high surrogate self.assertEqual("\ud810".encode("utf_16_le", errors="surrogatepass"), b"\x10\xd8") self.assertEqual(b"\x10\xd8".decode("utf_16_le", errors="surrogatepass"), "\ud810") #lone low surrogate self.assertEqual("\udc0a".encode("utf_16_le", errors="surrogatepass"), b"\n\xdc") self.assertEqual(b"\n\xdc".decode("utf_16_le", errors="surrogatepass"), "\udc0a") <|fim▁hole|> def test_utf_16_be(self): # lone high surrogate self.assertEqual("\ud810".encode("utf_16_be", errors="surrogatepass"), b"\xd8\x10") self.assertEqual(b"\xd8\x10".decode("utf_16_be", errors="surrogatepass"), "\ud810") #lone low surrogate self.assertEqual("\udc0a".encode("utf_16_be", errors="surrogatepass"), b"\xdc\n") self.assertEqual(b"\xdc\n".decode("utf_16_be", errors="surrogatepass"), "\udc0a") # invalid surrogate pair (low, high) self.assertEqual("\ude51\uda2f".encode("utf_16_be", errors="surrogatepass"), b"\xdeQ\xda/") self.assertEqual(b"\xdeQ\xda/".decode("utf_16_be", errors="surrogatepass"), "\ude51\uda2f") def test_utf_32_le(self): # lone high surrogate self.assertEqual("\ud810".encode("utf_32_le", errors="surrogatepass"), b"\x10\xd8\x00\x00") self.assertEqual(b"\x10\xd8\x00\x00".decode("utf_32_le", errors="surrogatepass"), "\ud810") #lone low surrogate self.assertEqual("\udc0a".encode("utf_32_le", errors="surrogatepass"), b"\n\xdc\x00\x00") self.assertEqual(b"\n\xdc\x00\x00".decode("utf_32_le", errors="surrogatepass"), "\udc0a") # invalid surrogate pair (low, high) self.assertEqual("\ude51\uda2f".encode("utf_32_le", errors="surrogatepass"), b"Q\xde\x00\x00/\xda\x00\x00") self.assertEqual(b"Q\xde\x00\x00/\xda\x00\x00".decode("utf_32_le", errors="surrogatepass"), "\ude51\uda2f") def test_utf_32_be(self): # lone high surrogate self.assertEqual("\ud810".encode("utf_32_be", errors="surrogatepass"), b"\x00\x00\xd8\x10") self.assertEqual(b"\x00\x00\xd8\x10".decode("utf_32_be", errors="surrogatepass"), "\ud810") #lone low surrogate self.assertEqual("\udc0a".encode("utf_32_be", errors="surrogatepass"), b"\x00\x00\xdc\n") self.assertEqual(b"\x00\x00\xdc\n".decode("utf_32_be", errors="surrogatepass"), "\udc0a") # invalid surrogate pair (low, high) self.assertEqual("\ude51\uda2f".encode("utf_32_be", errors="surrogatepass"), b"\x00\x00\xdeQ\x00\x00\xda/") self.assertEqual(b"\x00\x00\xdeQ\x00\x00\xda/".decode("utf_32_be", errors="surrogatepass"), "\ude51\uda2f") run_test(__name__)<|fim▁end|>
# invalid surrogate pair (low, high) self.assertEqual("\ude51\uda2f".encode("utf_16_le", errors="surrogatepass"), b"Q\xde/\xda") self.assertEqual(b"Q\xde/\xda".decode("utf_16_le", errors="surrogatepass"), "\ude51\uda2f")
<|file_name|>gl.py<|end_file_name|><|fim▁begin|>from glad.lang.common.loader import BaseLoader from glad.lang.d.loader import LOAD_OPENGL_DLL _OPENGL_LOADER = \ LOAD_OPENGL_DLL % {'pre':'private', 'init':'open_gl', 'proc':'get_proc', 'terminate':'close_gl'} + ''' bool gladLoadGL() { bool status = false; if(open_gl()) { status = gladLoadGL(x => get_proc(x)); close_gl(); } return status; } ''' _OPENGL_HAS_EXT = ''' static struct GLVersion { static int major = 0; static int minor = 0; } private extern(C) char* strstr(const(char)*, const(char)*) @nogc; private extern(C) int strcmp(const(char)*, const(char)*) @nogc; private extern(C) int strncmp(const(char)*, const(char)*, size_t) @nogc; private extern(C) size_t strlen(const(char)*) @nogc; private bool has_ext(const(char)* ext) @nogc { if(GLVersion.major < 3) { const(char)* extensions = cast(const(char)*)glGetString(GL_EXTENSIONS); const(char)* loc; const(char)* terminator; if(extensions is null || ext is null) { return false; } while(1) { loc = strstr(extensions, ext); if(loc is null) { return false; } terminator = loc + strlen(ext); if((loc is extensions || *(loc - 1) == ' ') && (*terminator == ' ' || *terminator == '\\0')) { return true; } extensions = terminator; } } else { int num; glGetIntegerv(GL_NUM_EXTENSIONS, &num); for(uint i=0; i < cast(uint)num; i++) { if(strcmp(cast(const(char)*)glGetStringi(GL_EXTENSIONS, i), ext) == 0) { return true; } } } return false; } ''' _FIND_VERSION = ''' // Thank you @elmindreda // https://github.com/elmindreda/greg/blob/master/templates/greg.c.in#L176 // https://github.com/glfw/glfw/blob/master/src/context.c#L36 int i; const(char)* glversion; const(char)*[] prefixes = [ "OpenGL ES-CM ".ptr, "OpenGL ES-CL ".ptr, "OpenGL ES ".ptr, ]; glversion = cast(const(char)*)glGetString(GL_VERSION); if (glversion is null) return; foreach(prefix; prefixes) { size_t length = strlen(prefix); if (strncmp(glversion, prefix, length) == 0) { glversion += length; break; } } int major = glversion[0] - \'0\'; int minor = glversion[2] - \'0\'; GLVersion.major = major; GLVersion.minor = minor; ''' class OpenGLDLoader(BaseLoader): def write_header_end(self, fobj): pass def write_header(self, fobj): pass def write(self, fobj): fobj.write('alias Loader = void* delegate(const(char)*);\n') if not self.disabled and 'gl' in self.apis: fobj.write(_OPENGL_LOADER) def write_begin_load(self, fobj): fobj.write('\tglGetString = cast(typeof(glGetString))load("glGetString");\n') fobj.write('\tif(glGetString is null) { return false; }\n') fobj.write('\tif(glGetString(GL_VERSION) is null) { return false; }\n\n') def write_end_load(self, fobj): fobj.write('\treturn GLVersion.major != 0 || GLVersion.minor != 0;\n') def write_find_core(self, fobj): fobj.write(_FIND_VERSION) def write_has_ext(self, fobj):<|fim▁hole|> fobj.write(_OPENGL_HAS_EXT)<|fim▁end|>
<|file_name|>showmigrations.py<|end_file_name|><|fim▁begin|>from django.core.management.base import BaseCommand, CommandError from django.db import DEFAULT_DB_ALIAS, connections from django.db.migrations.loader import MigrationLoader class Command(BaseCommand): help = "Shows all available migrations for the current project" def add_arguments(self, parser): parser.add_argument( 'app_label', nargs='*', help='App labels of applications to limit the output to.', ) parser.add_argument( '--database', action='store', dest='database', default=DEFAULT_DB_ALIAS, help='Nominates a database to synchronize. Defaults to the "default" database.', ) formats = parser.add_mutually_exclusive_group() formats.add_argument( '--list', '-l', action='store_const', dest='format', const='list', help='Shows a list of all migrations and which are applied.', ) formats.add_argument( '--plan', '-p', action='store_const', dest='format', const='plan', help=( 'Shows all migrations in the order they will be applied. ' 'With a verbosity level of 2 or above all direct migration dependencies ' 'and reverse dependencies (run_before) will be included.' ) ) parser.set_defaults(format='list') def handle(self, *args, **options): self.verbosity = options['verbosity'] # Get the database we're operating from db = options['database'] connection = connections[db] if options['format'] == "plan": return self.show_plan(connection, options['app_label']) else: return self.show_list(connection, options['app_label']) def _validate_app_names(self, loader, app_names): invalid_apps = [] for app_name in app_names: if app_name not in loader.migrated_apps: invalid_apps.append(app_name) if invalid_apps: raise CommandError('No migrations present for: %s' % (', '.join(sorted(invalid_apps)))) def show_list(self, connection, app_names=None): """ Show a list of all migrations on the system, or only those of some named apps. """ # Load migrations from disk/DB loader = MigrationLoader(connection, ignore_no_migrations=True) graph = loader.graph # If we were passed a list of apps, validate it if app_names: self._validate_app_names(loader, app_names) # Otherwise, show all apps in alphabetic order else: app_names = sorted(loader.migrated_apps) # For each app, print its migrations in order from oldest (roots) to # newest (leaves). for app_name in app_names: self.stdout.write(app_name, self.style.MIGRATE_LABEL)<|fim▁hole|> if plan_node not in shown and plan_node[0] == app_name: # Give it a nice title if it's a squashed one title = plan_node[1] if graph.nodes[plan_node].replaces: title += " (%s squashed migrations)" % len(graph.nodes[plan_node].replaces) # Mark it as applied/unapplied if plan_node in loader.applied_migrations: self.stdout.write(" [X] %s" % title) else: self.stdout.write(" [ ] %s" % title) shown.add(plan_node) # If we didn't print anything, then a small message if not shown: self.stdout.write(" (no migrations)", self.style.ERROR) def show_plan(self, connection, app_names=None): """ Show all known migrations (or only those of the specified app_names) in the order they will be applied. """ # Load migrations from disk/DB loader = MigrationLoader(connection) graph = loader.graph if app_names: self._validate_app_names(loader, app_names) targets = [key for key in graph.leaf_nodes() if key[0] in app_names] else: targets = graph.leaf_nodes() plan = [] seen = set() # Generate the plan for target in targets: for migration in graph.forwards_plan(target): if migration not in seen: node = graph.node_map[migration] plan.append(node) seen.add(migration) # Output def print_deps(node): out = [] for parent in sorted(node.parents): out.append("%s.%s" % parent.key) if out: return " ... (%s)" % ", ".join(out) return "" for node in plan: deps = "" if self.verbosity >= 2: deps = print_deps(node) if node.key in loader.applied_migrations: self.stdout.write("[X] %s.%s%s" % (node.key[0], node.key[1], deps)) else: self.stdout.write("[ ] %s.%s%s" % (node.key[0], node.key[1], deps))<|fim▁end|>
shown = set() for node in graph.leaf_nodes(app_name): for plan_node in graph.forwards_plan(node):
<|file_name|>build.rs<|end_file_name|><|fim▁begin|>use std::env; use cargo::ops::CompileOptions; use cargo::ops; use cargo::util::important_paths::{find_root_manifest_for_wd}; use cargo::util::{CliResult, Config}; #[derive(RustcDecodable)] pub struct Options { flag_package: Vec<String>, flag_jobs: Option<u32>, flag_features: Vec<String>, flag_no_default_features: bool, flag_target: Option<String>, flag_manifest_path: Option<String>, flag_verbose: Option<bool>, flag_quiet: Option<bool>, flag_color: Option<String>, flag_release: bool, flag_lib: bool, flag_bin: Vec<String>, flag_example: Vec<String>, flag_test: Vec<String>, flag_bench: Vec<String>, } pub const USAGE: &'static str = " Compile a local package and all of its dependencies <|fim▁hole|> Options: -h, --help Print this message -p SPEC, --package SPEC ... Package to build -j N, --jobs N The number of jobs to run in parallel --lib Build only this package's library --bin NAME Build only the specified binary --example NAME Build only the specified example --test NAME Build only the specified test target --bench NAME Build only the specified benchmark target --release Build artifacts in release mode, with optimizations --features FEATURES Space-separated list of features to also build --no-default-features Do not build the `default` feature --target TRIPLE Build for the target triple --manifest-path PATH Path to the manifest to compile -v, --verbose Use verbose output -q, --quiet No output printed to stdout --color WHEN Coloring: auto, always, never If the --package argument is given, then SPEC is a package id specification which indicates which package should be built. If it is not given, then the current package is built. For more information on SPEC and its format, see the `cargo help pkgid` command. Compilation can be configured via the use of profiles which are configured in the manifest. The default profile for this command is `dev`, but passing the --release flag will use the `release` profile instead. "; pub fn execute(options: Options, config: &Config) -> CliResult<Option<()>> { debug!("executing; cmd=cargo-build; args={:?}", env::args().collect::<Vec<_>>()); try!(config.configure_shell(options.flag_verbose, options.flag_quiet, &options.flag_color)); let root = try!(find_root_manifest_for_wd(options.flag_manifest_path, config.cwd())); let opts = CompileOptions { config: config, jobs: options.flag_jobs, target: options.flag_target.as_ref().map(|t| &t[..]), features: &options.flag_features, no_default_features: options.flag_no_default_features, spec: &options.flag_package, exec_engine: None, mode: ops::CompileMode::Build, release: options.flag_release, filter: ops::CompileFilter::new(options.flag_lib, &options.flag_bin, &options.flag_test, &options.flag_example, &options.flag_bench), target_rustdoc_args: None, target_rustc_args: None, }; try!(ops::compile(&root, &opts)); Ok(None) }<|fim▁end|>
Usage: cargo build [options]
<|file_name|>mod.rs<|end_file_name|><|fim▁begin|>pub mod requests; pub mod responses; #[derive(Debug, Clone, PartialEq)] pub struct Account { pub sku_name: String,<|fim▁hole|><|fim▁end|>
pub kind: String, }
<|file_name|>lorenz96.rs<|end_file_name|><|fim▁begin|>//! Lorenz 96 model //! https://en.wikipedia.org/wiki/Lorenz_96_model use crate::traits::*; use ndarray::*; #[derive(Clone, Copy, Debug)] pub struct Lorenz96 { pub f: f64, pub n: usize, } impl Default for Lorenz96 { fn default() -> Self { Lorenz96 { f: 8.0, n: 40 } } } impl ModelSpec for Lorenz96 { type Scalar = f64; type Dim = Ix1; fn model_size(&self) -> usize { self.n } } impl Explicit for Lorenz96 { fn rhs<'a, S>(&mut self, v: &'a mut ArrayBase<S, Ix1>) -> &'a mut ArrayBase<S, Ix1> where S: DataMut<Elem = f64>, { let n = v.len(); let v0 = v.to_owned(); for i in 0..n { let p1 = (i + 1) % n; let m1 = (i + n - 1) % n; let m2 = (i + n - 2) % n; v[i] = (v0[p1] - v0[m2]) * v0[m1] - v0[i] + self.f; } v<|fim▁hole|><|fim▁end|>
} }
<|file_name|>functions.js<|end_file_name|><|fim▁begin|>$( document ).ready( function() { /** * * strict mode * */ 'use strict'; /** * * global variables * */ var windowWidth = 0; var windowHeight = 0; /** * * actions after window load * */ $( window ).load( function() { /** * * window width * */ windowWidth = $( window ).width(); /** * * window height * */ windowHeight = $( window ).height(); /** * * configure agents slider * */ $.martanianConfigureAgentsSlider(); /** * * configure value slider * */ $.martanianConfigureValueSlider(); /** * * manage images * */ $.martanianManageImages(); /** * * configure image slider * */ $.martanianConfigureImageSlider(); /** * * configure insurance slider * */ $.martanianConfigureInsuranceSlider(); /** * * heading slider * */ $.martanianHeadingSlider(); /** * * references * */ $.martanianManageReferences(); /** * * numbers highlighter * */ $.martanianNumbersHighlighter(); /** * * autoloaded progress bars * */ $.martanianProgressBarsAutoload(); /** * * configure tabs section * */ $.martanianConfigureTabsSection(); /** * * set parallax * */ $.martanianSetParallax(); /** * * load google map, if exists * */ var elementA = $( '#google-map' ); if( typeof elementA[0] != 'undefined' && elementA[0] != '' ) { $.martanianGoogleMapInit(); }; /** * * load bigger google map, if exists * */ var elementB = $( '#google-map-full' ); if( typeof elementB[0] != 'undefined' && elementB[0] != '' ) { $.martanianGoogleBigMapInit(); }; /** * * delete loader * */ $( '#loader' ).animate({ 'opacity': 0 }, 300 ); setTimeout( function() { $( '#loader' ).remove(); }, 600 ); /** * * end of actions * */ }); /** * * actions after window resize * */ $( window ).resize( function() { /** * * window width * */ windowWidth = $( window ).width(); /** * * window height * */ windowHeight = $( window ).height(); /** * * manage images * */ $.martanianManageImages(); /** * * manage references * */ $.martanianManageReferences(); /** * * configure tabs section * */ $.martanianResizeTabsSection(); /** * * resize manager * */ $.martanianResizeManager(); /** * * set parallax * */ $.martanianSetParallax(); /** * * show menu, if hidden * */ if( windowWidth > 932 ) { $( 'header .menu' ).show(); $( 'header .menu' ).find( 'ul.submenu' ).addClass( 'animated' ); } else { $( 'header .menu' ).hide(); $( 'header .menu' ).find( 'ul.submenu' ).removeClass( 'animated' ); } /** * * end of actions * */ }); /** * * initialize google map function * */ $.martanianGoogleMapInit = function() { var lat = $( '#google-map' ).data( 'lat' ); var lng = $( '#google-map' ).data( 'lng' ); var zoom_level = $( '#google-map' ).data( 'zoom-level' ); var map_center = new google.maps.LatLng( lat, lng ); var mapOptions = { zoom: zoom_level, center: map_center, mapTypeId: google.maps.MapTypeId.ROADMAP, scrollwheel: false } var map = new google.maps.Map( document.getElementById( 'google-map' ), mapOptions ); var beachMarker = new google.maps.Marker({ position: new google.maps.LatLng( lat, lng ), map: map, }); }; /** * * initialize biggest google map function * */ $.martanianGoogleBigMapInit = function() { var lat = $( '#google-map-full' ).data( 'lat' ); var lng = $( '#google-map-full' ).data( 'lng' ); var zoom_level = $( '#google-map-full' ).data( 'zoom-level' ); var map_center = new google.maps.LatLng( lat, lng ); var mapOptions = { zoom: zoom_level, center: map_center, mapTypeId: google.maps.MapTypeId.ROADMAP, scrollwheel: false } var map = new google.maps.Map( document.getElementById( 'google-map-full' ), mapOptions ); var beachMarker = new google.maps.Marker({ position: new google.maps.LatLng( lat, lng ), map: map, }); }; /** * * show contact form popup * */ $.martanianShowContactPopup = function() { var mode = windowWidth > 932 && windowHeight > 670 ? 'fixed' : 'absolute'; $( '#contact-popup #contact-popup-background' ).fadeIn( 300 ); if( mode == 'absolute' ) $( 'html, body' ).animate({ 'scrollTop': '0' }, 300 ); setTimeout( function() { if( mode == 'fixed' ) $( '#contact-popup #contact-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50%', 'position': 'fixed' }); else $( '#contact-popup #contact-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50px', 'marginTop': '0px', 'position': 'absolute' }); }, 300 ); }; /** * * hide contact form popup * */ $.martanianHideContactPopup = function() { $( '#contact-popup #contact-popup-content' ).removeClass( 'bounceInDown' ).addClass( 'bounceOutUp' ); setTimeout( function() { $( '#contact-popup #contact-popup-background' ).fadeOut( 300 ); $( '#contact-popup #contact-popup-content' ).css({ 'top': '-10000px' }).removeClass( 'bounceOutUp' ); }, 300 ); }; /** * * hooks to show contact form popup * */ $( '*[data-action="show-contact-popup"]' ).click( function() { $.martanianShowContactPopup(); }); /** * * hooks to hide contact form popup * */ $( '#contact-popup-close' ).click( function() { $.martanianHideContactPopup(); }); /** * * show quote form popup * */ $.martanianShowQuotePopup = function( type ) { var mode = windowWidth > 932 && windowHeight > 670 ? 'fixed' : 'absolute'; var selectedQuoteForm = $( '#quote-popup #quote-popup-content .quote-form[data-quote-form-for="'+ type +'"]' ); $( '#quote-popup #quote-popup-background' ).fadeIn( 300 ); $( '#quote-popup #quote-popup-content #quote-popup-tabs li[data-quote-tab-for="'+ type +'"]' ).addClass( 'active' ); if( mode == 'absolute' ) $( 'html, body' ).animate({ 'scrollTop': '0' }, 300 ); selectedQuoteForm.show(); setTimeout( function() { if( mode == 'fixed' ) { selectedQuoteForm.children( '.quote-form-background' ).css({ 'height': selectedQuoteForm.height() }); $( '#quote-popup #quote-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50%', 'marginTop': - ( selectedQuoteForm.height() / 2 ), 'height': selectedQuoteForm.height(), 'position': 'fixed' }); } else if( mode == 'absolute' ) { if( windowWidth > 932 ) { $( '#quote-popup #quote-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height(), 'position': 'absolute' }); selectedQuoteForm.children( '.quote-form-background' ).css({ 'height': selectedQuoteForm.height() }); } else { if( windowWidth > 582 ) $( '#quote-popup #quote-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height(), 'position': 'absolute' }); else { $( '#quote-popup #quote-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height() + $( '#quote-popup-tabs' ).height() + 50, 'position': 'absolute' }); } } } }, 300 ); }; /** * * hide quote form popup * */ $.martanianHideQuotePopup = function() { $( '#quote-popup #quote-popup-content' ).removeClass( 'bounceInDown' ).addClass( 'bounceOutUp' ); setTimeout( function() { $( '#quote-popup #quote-popup-background' ).fadeOut( 300 ); $( '#quote-popup #quote-popup-content' ).css({ 'top': '-10000px' }).removeClass( 'bounceOutUp' ); $( '#quote-popup #quote-popup-content .quote-form' ).hide(); $( '#quote-popup #quote-popup-content #quote-popup-tabs li' ).removeClass( 'active' ); }, 300 ); }; /** * * change quote form in popup * */ $( '#quote-popup-tabs li' ).click( function() { if( !$( this ).hasClass( 'active' ) ) { var type = $( this ).data( 'quote-tab-for' ); var mode = windowWidth > 932 && windowHeight > 670 ? 'fixed' : 'absolute'; var newQuoteForm = $( '#quote-popup #quote-popup-content .quote-form[data-quote-form-for="'+ type +'"]' ); $( '#quote-popup #quote-popup-content #quote-popup-tabs li' ).removeClass( 'active' ); $( this ).addClass( 'active' ); $( '#quote-popup #quote-popup-content .quote-form' ).fadeOut( 300 ); if( mode == 'fixed' || windowWidth > 932 ) newQuoteForm.children( '.quote-form-background' ).animate({ 'height': newQuoteForm.height() }, 300 ); setTimeout( function() { $( '#quote-popup #quote-popup-content .quote-form' ).hide(); newQuoteForm.fadeIn( 300 ); if( mode == 'fixed' ) $( '#quote-popup #quote-popup-content' ).animate({ 'height': newQuoteForm.height(), 'marginTop': - ( newQuoteForm.height() / 2 ) }, 300 ); else { if( windowWidth > 582 ) $( '#quote-popup #quote-popup-content' ).animate({ 'height': newQuoteForm.height() }, 300 ); else { $( '#quote-popup #quote-popup-content' ).animate({ 'height': newQuoteForm.height() + $( '#quote-popup-tabs' ).height() + 50 }, 300 ); } } }, 400 ); } }); /** * * hooks to show contact form popup * */ $( '*[data-action="show-quote-popup"]' ).click( function() { var quoteKey = $( this ).data( 'quote-key' ); if( typeof quoteKey != 'undefined' && quoteKey !== false ) $.martanianShowQuotePopup( quoteKey ); }); /** * * hooks to hide quote popup * */ $( '#quote-popup-close' ).click( function() { $.martanianHideQuotePopup(); }); /** * * managing width of images * */ $.martanianManageImages = function() { if( windowWidth > 1332 ) { var width = ( windowWidth - 37.5 ) / 2; var height = 'math'; var margin = width - 531.5; var padding = 75; } else if( windowWidth > 932 ) { var width = ( windowWidth - 40 ) / 2; var height = 'math'; var margin = width - 400; var padding = 50; } else if( windowWidth > 582 ) { var width = ( ( windowWidth - 540 ) / 2 ) + 540; var height = 300; var margin = ( windowWidth - 540 ) / 2; var padding = 50; } else { var width = windowWidth - 30; var height = 300; var margin = 0; var padding = 30; } $( '.about-us .right, .agents .right, .contact-full #google-map-full, .box-with-image-right .image' ).css({ 'width': width +'px', 'margin-right': - margin +'px' }); $( '.insurances-slider .images, .box-with-image-left .image, section.quote-forms .quote-form-background' ).css({ 'width': width +'px', 'margin-left': - margin +'px' }); $( '.about-us, .agents' ).each( function() { var contentHeight = height == 'math' ? $( this ).children( '.center' ).children( '.left' ).height() + padding : height; $( this ).children( '.center' ).children( '.right' ).children( '.images-slider' ).css({ 'height': contentHeight }); }); $( '.contact-full' ).each( function() { var contentHeight = height == 'math' ? $( this ).children( '.center' ).children( '.left' ).height() + padding : height; $( this ).children( '.center' ).children( '.right' ).children( '#google-map-full' ).css({ 'height': contentHeight }); }); $( '.box-with-image-left' ).each( function() { var contentHeight = height == 'math' ? $( this ).children( '.center' ).children( '.content' ).height() + padding : height; $( this ).children( '.center' ).children( '.image' ).css({ 'height': contentHeight }); }); $( '.box-with-image-right' ).each( function() { var contentHeight = height == 'math' ? $( this ).children( '.center' ).children( '.content' ).height() + padding : height; $( this ).children( '.center' ).children( '.image' ).css({ 'height': contentHeight }); }); $( 'section.quote-forms' ).each( function() { var element = $( this ); setTimeout( function() { var contentHeight = height == 'math' ? element.children( '.center' ).children( '.quote-form-content' ).height() + padding : height; element.children( '.center' ).children( '.quote-form-background' ).css({ 'height': contentHeight }); }, 100 ); }); }; /** * * heading slider * */ $.martanianHeadingSlider = function() { var currentHeadingSlideID = 1; var slidesCount = 0; $( '.heading .heading-slide-single' ).each( function() { slidesCount++; }); setInterval( function() { $.martanianHideSlide( currentHeadingSlideID ); setTimeout( function() { currentHeadingSlideID = currentHeadingSlideID + 1 > slidesCount ? 1 : currentHeadingSlideID + 1; $.martanianShowSlide( currentHeadingSlideID ); }, 400 ); }, 10000 ); }; /** * * function hide single heading slide * */ $.martanianHideSlide = function( slideID ) { var currentSlide = $( '.heading .heading-slide-single[data-slide-id="'+ slideID +'"]' ); currentSlide.children( '.flying-1' ).addClass( 'animated bounceOutLeft' ); currentSlide.children( '.flying-2' ).addClass( 'animated bounceOutRight' ); setTimeout( function() { currentSlide.children( '.flying-1' ).removeClass( 'animated bounceOutLeft' ).hide(); currentSlide.children( '.flying-2' ).removeClass( 'animated bounceOutRight' ).hide(); currentSlide.children( '.heading-content' ).addClass( 'animated fadeOutUp' ); currentSlide.addClass( 'animated fadeOut' ); setTimeout( function() { currentSlide.children( '.heading-content' ).removeClass( 'animated fadeOutUp' ).hide(); currentSlide.removeClass( 'animated fadeOut' ).hide(); }, 800 ); }, 400 ); }; /** * * function show single heading slide * */ $.martanianShowSlide = function( slideID ) { var currentSlide = $( '.heading .heading-slide-single[data-slide-id="'+ slideID +'"]' ); currentSlide.children( '.flying-1' ).hide(); currentSlide.children( '.flying-2' ).hide(); currentSlide.children( '.heading-content' ).hide(); currentSlide.addClass( 'animated fadeIn' ).show(); setTimeout( function() { currentSlide.children( '.flying-1' ).addClass( 'animated bounceInLeft' ).show(); currentSlide.children( '.flying-2' ).addClass( 'animated bounceInRight' ).show(); setTimeout( function() { currentSlide.children( '.heading-content' ).addClass( 'animated fadeInDown' ).show(); setTimeout( function() { currentSlide.removeClass( 'animated fadeIn' ); currentSlide.children( '.flying-1' ).removeClass( 'animated bounceInLeft' ); currentSlide.children( '.flying-2' ).removeClass( 'animated bounceInRight' ); currentSlide.children( '.heading-content' ).removeClass( 'animated fadeInDown' ); }, 1000 ); }, 400 ); }, 400 ); }; /** * * configure image slider * */ $.martanianConfigureImageSlider = function() { $( '.about-us .right .images-slider' ).each( function() { var slider = $( this ); var slideID = 1; slider.children( '.images-slider-single' ).each( function() { $( this ).attr( 'data-slide-id', slideID ); slideID++; }); slider.attr( 'data-active-slide-id', 1 ); slider.attr( 'data-slides-count', slideID - 1 ); }); }; /** * * next / prev image * */ $( '.about-us .right .images-slider .images-slider-next' ).click( function() { var imagesSlider = $( this ).parent().parent(); var currentImageID = parseInt( imagesSlider.data( 'active-slide-id' ) ); var slidesCount = parseInt( imagesSlider.data( 'slides-count' ) ); var nextImageID = currentImageID == slidesCount ? 1 : currentImageID + 1; imagesSlider.children( '.images-slider-single[data-slide-id="'+ currentImageID +'"]' ).fadeOut( 300 ); imagesSlider.children( '.images-slider-single[data-slide-id="'+ nextImageID +'"]' ).fadeIn( 300 ); imagesSlider.data( 'active-slide-id', nextImageID ); }); $( '.about-us .right .images-slider .images-slider-prev' ).click( function() { var imagesSlider = $( this ).parent().parent(); var currentImageID = parseInt( imagesSlider.data( 'active-slide-id' ) ); var slidesCount = parseInt( imagesSlider.data( 'slides-count' ) ); var prevImageID = currentImageID == 1 ? slidesCount : currentImageID - 1; imagesSlider.children( '.images-slider-single[data-slide-id="'+ currentImageID +'"]' ).fadeOut( 300 ); imagesSlider.children( '.images-slider-single[data-slide-id="'+ prevImageID +'"]' ).fadeIn( 300 ); imagesSlider.data( 'active-slide-id', prevImageID ); }); /** * * configure insurance slider * */ $.martanianConfigureInsuranceSlider = function() { if( windowWidth > 1332 ) { var padding = 75; var height = 'math'; } else if( windowWidth > 932 ) { var padding = 50; var height = 'math'; } else { var padding = 50; var height = 300; } $( '.insurances-slider' ).each( function() { var slider = $( this ).children( '.center' ); var descriptions = slider.children( '.content' ).children( '.descriptions' ); var activeInsurance = slider.children( '.content' ).children( '.tabs' ).children( 'li.active' ).data( 'insurance-key' ); if( typeof activeInsurance == 'undefined' || activeInsurance === false ) { activeInsurance = slider.children( '.content' ).children( '.tabs' ).children( 'li' ).first().data( 'insurance-key' ); slider.children( '.content' ).children( '.tabs' ).children( 'li' ).first().addClass( 'active' ); } descriptions.children( '.description[data-insurance-key="'+ activeInsurance +'"]' ).show(); descriptions.css({ 'height': descriptions.children( '.description[data-insurance-key="'+ activeInsurance +'"]' ).height() }); slider.children( '.images' ).children( '.image[data-insurance-key="'+ activeInsurance +'"]' ).show(); if( height == 'math' ) height = slider.children( '.content' ).height() + padding; slider.children( '.images' ).css({ 'height': height }); }); }; /** * * change insurances slider single slide * */ $( '.insurances-slider .tabs li' ).click( function() { if( !$( this ).hasClass( 'active' ) ) { if( windowWidth > 1332 ) { var space = 213; } else if( windowWidth > 932 ) { var space = 188; } var newInsuranceKey = $( this ).data( 'insurance-key' ); var oldInsuranceKey = $( this ).siblings( '.active' ).data( 'insurance-key' ); var slider = $( this ).parent().parent().parent(); var newHeight = 0; var oldDescription = slider.children( '.content' ).children( '.descriptions' ).children( '.description[data-insurance-key="'+ oldInsuranceKey +'"]' ); var newDescription = slider.children( '.content' ).children( '.descriptions' ).children( '.description[data-insurance-key="'+ newInsuranceKey +'"]' ); $( '.insurances-slider .tabs li' ).removeClass( 'active' ); $( this ).addClass( 'active' ); oldDescription.addClass( 'animated speed fadeOutRight' ); slider.children( '.images' ).children( '.image[data-insurance-key="'+ oldInsuranceKey +'"]' ).fadeOut( 300 ); slider.children( '.images' ).children( '.image[data-insurance-key="'+ newInsuranceKey +'"]' ).fadeIn( 300 ); setTimeout( function() { newDescription.addClass( 'animated speed fadeInRight' ).show(); newHeight = newDescription.height(); slider.children( '.content' ).children( '.descriptions' ).animate({ 'height': newHeight }, 200 ); slider.children( '.images' ).animate({ 'height': newHeight + space }, 200 ); setTimeout( function() { oldDescription.removeClass( 'animated speed fadeOutRight' ).hide(); newDescription.removeClass( 'animated speed fadeInRight' ); }, 400 ); }, 300 ); } }); /** * * manage references * */ var referencesInterval = {}; $.martanianManageReferences = function() { var referenceBoxID = 0; $( 'section.references' ).each( function() { referenceBoxID++; clearInterval( referencesInterval[referenceBoxID] ); if( windowWidth > 1332 ) { var padding = 150; } else if( windowWidth > 932 ) { var padding = 100; } var referencesSection = $( this ); var references = $( this ).children( '.center' ).children( '.right' ).children( '.references' ); var referenceID = 1; references.children( '.single-reference' ).each( function() { $( this ).attr( 'data-reference-id', referenceID ); if( referenceID > 1 ) $( this ).hide(); else { $( this ).show(); references.css({ 'marginTop': '', 'min-height': $( this ).height() }); references.css({ 'marginTop': ( referencesSection.height() - padding - ( $( this ).children( '.single-reference-content' ).height() + 40 ) ) / 2 }); } referenceID++; }); if( referenceID > 2 ) { var currentReference = 1; referencesInterval[referenceBoxID] = setInterval( function() { var oldReference = references.children( '.single-reference[data-reference-id="'+ currentReference +'"]' ); currentReference = ( currentReference + 1 ) > ( referenceID - 1 ) ? 1 : currentReference + 1; var newReference = references.children( '.single-reference[data-reference-id="'+ currentReference +'"]' ); oldReference.addClass( 'animated speed fadeOutLeft' ); newReference.addClass( 'animated speed fadeInLeft' ).show(); references.animate({ 'min-height': newReference.height(), 'marginTop': ( referencesSection.height() - padding - ( newReference.children( '.single-reference-content' ).height() + 40 ) ) / 2 }, 200 ); setTimeout( function() { oldReference.removeClass( 'animated speed fadeOutLeft' ).hide(); newReference.removeClass( 'animated speed fadeInLeft' ); }, 500 ); }, 5000 ); } });<|fim▁hole|> /** * * numbers highlighter * */ $.martanianNumbersHighlighter = function() { var animation = 'shake'; $( '.key-number-values' ).each( function() { var parent = $( this ); var boxes = []; parent.children( '.single' ).each( function() { boxes.push( $( this ).children( '.number' ) ); }); setInterval( function() { $( boxes[0][0] ).addClass( 'animated '+ animation ); setTimeout( function() { $( boxes[1][0] ).addClass( 'animated '+ animation ); setTimeout( function() { $( boxes[2][0] ).addClass( 'animated '+ animation ); setTimeout( function() { $( boxes[3][0] ).addClass( 'animated '+ animation ); setTimeout( function() { $( boxes[0][0] ).removeClass( 'animated '+ animation ); $( boxes[1][0] ).removeClass( 'animated '+ animation ); $( boxes[2][0] ).removeClass( 'animated '+ animation ); $( boxes[3][0] ).removeClass( 'animated '+ animation ); }, 1000 ); }, 400 ); }, 400 ); }, 400 ); }, 5000 ); }); }; /** * * checkbox field * */ $( '.checkbox' ).click( function() { var checkbox = $( this ); var checked = checkbox.attr( 'data-checked' ) == 'yes' ? true : false; if( checked == true ) { checkbox.attr( 'data-checked', 'no' ); checkbox.data( 'checked', 'no' ); checkbox.children( '.checkbox-status' ).php( '<i class="fa fa-times"></i>' ); } else { checkbox.attr( 'data-checked', 'yes' ); checkbox.data( 'checked', 'yes' ); checkbox.children( '.checkbox-status' ).php( '<i class="fa fa-check"></i>' ); } }); /** * * sliders * */ $.martanianConfigureValueSlider = function() { $( '#quote-popup .quote-form .slider, section.quote-forms .slider' ).each( function() { var sliderValueMin = $( this ).data( 'slider-min' ); var sliderValueMax = $( this ).data( 'slider-max' ); var sliderValueStart = $( this ).data( 'slider-start' ); var sliderValueStep = $( this ).data( 'slider-step' ); var sliderID = $( this ).data( 'slider-id' ); $( this ).noUiSlider({ start: sliderValueStart, step: sliderValueStep, range: { 'min': sliderValueMin, 'max': sliderValueMax } }); $( this ).Link( 'lower' ).to( $( '.slider-value[data-slider-id="'+ sliderID +'"] span' ), null, wNumb({ thousand: '.', decimals: '0' }) ); }); }; /** * * send quote * */ $( '.send-quote' ).click( function() { var quoteForm = $( this ).parent(); var quoteFormParent = quoteForm.parent().parent(); var insuranceType = quoteFormParent.data( 'quote-form-for' ); var fields = {}; var fieldID = 0; var fieldName = ''; var fieldValue = ''; var clientName = ''; var clientEmail = ''; var errorFound = false; quoteForm.find( '.quote-form-element' ).each( function( fieldID ) { fieldName = $( this ).attr( 'name' ); if( typeof fieldName == 'undefined' || fieldName === false ) { fieldName = $( this ).data( 'name' ); } if( $( this ).hasClass( 'checkbox' ) ) { fieldValue = $( this ).data( 'checked' ) == 'yes' ? $( this ).children( '.checkbox-values' ).children( '.checkbox-value-checked' ).text() : $( this ).children( '.checkbox-values' ).children( '.checkbox-value-unchecked' ).text(); } else { fieldValue = $( this ).is( 'input' ) || $( this ).is( 'select' ) ? $( this ).val() : $( this ).text(); if( ( $( this ).is( 'input' ) && fieldValue == '' ) || ( $( this ).is( 'select' ) && fieldValue == '-' ) ) { errorFound = true; $( this ).addClass( 'error' ); } else { $( this ).removeClass( 'error' ); } } if( $( this ).hasClass( 'quote-form-client-name' ) ) clientName = $( this ).val(); if( $( this ).hasClass( 'quote-form-client-email' ) ) clientEmail = $( this ).val(); fields[fieldID] = { 'name': fieldName, 'value': fieldValue }; fieldID++; }); if( errorFound == false ) { $.ajax({ url: '_assets/submit.php', data: { 'send': 'quote-form', 'values': fields, 'clientName': clientName, 'clientEmail': clientEmail }, type: 'post', success: function( output ) { quoteForm.children( '.quote-form-thanks' ).fadeIn( 300 ); } }); } }); /** * * close quote popup notice * */ $( '.quote-form-thanks-close' ).click( function() { var parent = $( this ).parent().parent(); parent.fadeOut( 300 ); }); /** * * send contact form * */ $( '.send-contact' ).click( function() { var contactForm = $( this ).parent(); var contactFormParent = contactForm.parent().parent(); var fields = {}; var fieldID = 0; var fieldName = ''; var fieldValue = ''; var clientName = ''; var clientEmail = ''; var clientMessageTitle = ''; var errorFound = false; contactForm.find( '.contact-form-element' ).each( function( fieldID ) { fieldName = $( this ).attr( 'name' ); if( typeof fieldName == 'undefined' || fieldName === false ) { fieldName = $( this ).data( 'name' ); } if( $( this ).hasClass( 'checkbox' ) ) { fieldValue = $( this ).data( 'checked' ) == 'yes' ? $( this ).children( '.checkbox-values' ).children( '.checkbox-value-checked' ).text() : $( this ).children( '.checkbox-values' ).children( '.checkbox-value-unchecked' ).text(); } else { fieldValue = $( this ).is( 'input' ) || $( this ).is( 'textarea' ) || $( this ).is( 'select' ) ? $( this ).val() : $( this ).text(); if( ( $( this ).is( 'input' ) && fieldValue == '' ) || ( $( this ).is( 'textarea' ) && fieldValue == '' ) || ( $( this ).is( 'select' ) && fieldValue == '-' ) ) { errorFound = true; $( this ).addClass( 'error' ); } else { $( this ).removeClass( 'error' ); } } if( $( this ).hasClass( 'contact-form-client-name' ) ) clientName = $( this ).val(); if( $( this ).hasClass( 'contact-form-client-email' ) ) clientEmail = $( this ).val(); if( $( this ).hasClass( 'contact-form-client-message-title' ) ) clientMessageTitle = $( this ).val(); fields[fieldID] = { 'name': fieldName, 'value': fieldValue }; fieldID++; }); if( errorFound == false ) { $.ajax({ url: '_assets/submit.php', data: { 'send': 'contact-form', 'values': fields, 'clientName': clientName, 'clientEmail': clientEmail, 'clientMessageTitle': clientMessageTitle }, type: 'post', success: function( output ) { contactForm.children( '.contact-form-thanks' ).fadeIn( 300 ); } }); } }); /** * * close contact popup notice * */ $( '.contact-form-thanks .contact-form-thanks-content .contact-form-thanks-close' ).click( function() { var parent = $( this ).parent().parent(); parent.fadeOut( 300 ); }); /** * * get a phone call * */ $( '.send-phone-call-quote' ).click( function() { var element = $( this ); var phoneField = element.siblings( '.phone-number' ); var phoneNumber = phoneField.val(); if( phoneNumber == '' ) phoneField.addClass( 'error' ); else { phoneField.removeClass( 'error' ); $.ajax({ url: '_assets/submit.php', data: { 'send': 'phone-form', 'phoneNumber': phoneNumber }, type: 'post', success: function( output ) { element.siblings( '.call-to-action-thanks' ).fadeIn( 300 ); } }); } }); /** * * close phone call notice * */ $( '.call-to-action-thanks .call-to-action-thanks-content .call-to-action-thanks-close' ).click( function() { var parent = $( this ).parent().parent(); parent.fadeOut( 300 ); }); /** * * progress bars * */ $.martanianProgressBars = function( progressBars ) { if( progressBars.hasClass( 'animated-done' ) ) return; var progressValue = ''; progressBars.children( '.progress-bar' ).each( function() { var progressBar = $( this ).children( '.progress-bar-value' ); progressValue = progressBar.data( 'value' ); progressBar.animate({ 'width': progressValue }, 900 ); setTimeout( function() { progressBar.children( '.progress-bar-value-tip' ).fadeIn( 300 ); }, 900 ); }); progressBars.addClass( 'animated-done' ); }; $.martanianProgressBarsAutoload = function() { setTimeout( function() { $( '.progress-bars.progress-bars-autoload' ).each( function() { var progressBars = $( this ); var progressValue = ''; progressBars.children( '.progress-bar' ).each( function() { var progressBar = $( this ).children( '.progress-bar-value' ); progressValue = progressBar.data( 'value' ); progressBar.animate({ 'width': progressValue }, 900 ); setTimeout( function() { progressBar.children( '.progress-bar-value-tip' ).fadeIn( 300 ); }, 900 ); }); }); }, 500 ); }; /** * * configure insurance slider * */ $.martanianConfigureAgentsSlider = function() { $( 'section.agents' ).each( function() { var agentID = 1; var agentImageID = 1; var agentsData = $( this ).children( '.center' ).children( '.left' ).children( '.agents-data' ); var agentsImages = $( this ).children( '.center' ).children( '.right' ).children( '.images-slider' ); agentsData.children( '.single-agent' ).each( function() { $( this ).attr( 'data-agent-id', agentID ); if( agentID == 1 ) { agentsData.css({ 'height': $( this ).height() - 45 }); var progressBars = $( this ).children( '.progress-bars' ); if( typeof progressBars[0] != 'undefined' && progressBars[0] != '' ) { setTimeout( function() { $.martanianProgressBars( progressBars ); }, 300 ); } } agentID++; }); agentsData.attr( 'data-current-agent-id', 1 ).attr( 'data-agents-count', agentID - 1 ); agentsImages.children( '.images-slider-single' ).each( function() { $( this ).attr( 'data-agent-id', agentImageID ); agentImageID++; }); }); }; /** * * change insurances slider single slide * */ $( '.agents .center .left .switch-agents button' ).click( function() { var agentsData = $( this ).parent().siblings( '.agents-data' ); var agentsImages = $( this ).parent().parent().siblings( '.right' ).children( '.images-slider' ); var currentAgentID = parseInt( agentsData.attr( 'data-current-agent-id' ) ); var agentsCount = parseInt( agentsData.attr( 'data-agents-count' ) ); var action = $( this ).hasClass( 'prev-agent' ) ? 'prev' : ( $( this ).hasClass( 'next-agent' ) ? 'next' : false ); if( action == false ) return false; else { switch( action ) { case 'prev': var newAgentID = currentAgentID == 1 ? agentsCount : currentAgentID - 1; break; case 'next': var newAgentID = currentAgentID == agentsCount ? 1 : currentAgentID + 1; break; } agentsData.children( '.single-agent[data-agent-id="'+ currentAgentID +'"]' ).fadeOut( 300 ); agentsData.children( '.single-agent[data-agent-id="'+ newAgentID +'"]' ).fadeIn( 300 ); agentsImages.children( '.images-slider-single[data-agent-id="'+ currentAgentID +'"]' ).fadeOut( 300 ); agentsImages.children( '.images-slider-single[data-agent-id="'+ newAgentID +'"]' ).fadeIn( 300 ); agentsData.attr( 'data-current-agent-id', newAgentID ); agentsData.animate({ 'height': agentsData.children( '.single-agent[data-agent-id="'+ newAgentID +'"]' ).height() - 30 }, 300 ); if( windowWidth > 932 ) agentsImages.animate({ 'height': agentsData.children( '.single-agent[data-agent-id="'+ newAgentID +'"]' ).height() + 124 }, 300 ) var progressBars = agentsData.children( '.single-agent[data-agent-id="'+ newAgentID +'"]' ).children( '.progress-bars' ); if( typeof progressBars[0] != 'undefined' && progressBars[0] != '' ) { setTimeout( function() { $.martanianProgressBars( progressBars ); }, 300 ); } } }); /** * * tabs section * */ $.martanianConfigureTabsSection = function() { var padding = windowWidth > 1332 ? 150 : 100; $( 'section.tabs' ).each( function() { var tabID = 1; var content = $( this ).children( '.center' ).children( '.content' ); var tabs = $( this ).children( '.center' ).children( '.tabs-selector' ); content.children( '.content-tab-single' ).each( function() { $( this ).attr( 'data-tab-id', tabID ); if( tabID == 1 ) { content.css({ 'height': $( this ).height() + padding }); } tabID++; }); tabID = 1; tabs.children( 'li' ).each( function() { $( this ).attr( 'data-tab-id', tabID ); if( tabID == 1 ) { $( this ).addClass( 'active' ); } tabID++; }); }); }; $.martanianResizeTabsSection = function() { var padding = windowWidth > 1332 ? 150 : 100; $( 'section.tabs' ).each( function() { var content = $( this ).children( '.center' ).children( '.content' ); var activeTabID = $( this ).children( '.center' ).children( '.tabs-selector' ).children( 'li.active' ).data( 'tab-id' ); content.css({ 'height': content.children( '.content-tab-single[data-tab-id="'+ activeTabID +'"]' ).height() + padding }); }); }; $( 'section.tabs .tabs-selector li' ).click( function() { if( $( this ).hasClass( 'active' ) ) return; var padding = windowWidth > 1332 ? 150 : 80; var tabsContent = $( this ).parent().siblings( '.content' ); var newTabID = $( this ).data( 'tab-id' ); var oldTabID = $( this ).siblings( 'li.active' ).data( 'tab-id' ); $( this ).siblings( 'li.active' ).removeClass( 'active' ); $( this ).addClass( 'active' ); tabsContent.children( '.content-tab-single[data-tab-id="'+ oldTabID +'"]' ).fadeOut( 300 ); setTimeout( function() { tabsContent.children( '.content-tab-single[data-tab-id="'+ newTabID +'"]' ).fadeIn( 300 ); tabsContent.animate({ 'height': tabsContent.children( '.content-tab-single[data-tab-id="'+ newTabID +'"]' ).height() + padding }, 300 ); }, 100 ); }); /** * * open menu in responsive mode * */ $( 'header .menu-responsive' ).click( function() { var menu = $( 'header .menu' ); if( menu.css( 'display' ) == 'block' ) menu.hide(); else { menu.find( 'ul.submenu' ).removeClass( 'animated' ); menu.show(); } }); /** * * set parallax * */ $.martanianSetParallax = function() { var speed = windowWidth > 1120 ? 0.25 : 0.1; $( '.with-parallax' ).css({ 'background-position': '' }).parallax( '50%', speed ); }; /** * * resize manager * */ $.martanianResizeManager = function() { /** * * mode * */ var mode = windowWidth > 932 && windowHeight > 670 ? 'fixed' : 'absolute'; /** * * insurances slider * */ $( '.insurances-slider' ).each( function() { if( windowWidth > 1332 ) { var padding = 75; var height = 'math'; } else if( windowWidth > 932 ) { var padding = 50; var height = 'math'; } else { var padding = 50; var height = 300; } var slider = $( this ).children( '.center' ); var activeInsurance = slider.children( '.content' ).children( '.tabs' ).children( 'li.active' ).data( 'insurance-key' ); var image = slider.children( '.images' ).children( '.image[data-insurance-key="'+ activeInsurance +'"]' ); if( height == 'math' ) height = slider.children( '.content' ).height() + padding; image.css({ 'height': height }); }); /** * * quote popup * */ if( $( '#quote-popup #quote-popup-background' ).css( 'display' ) == 'block' ) { var type = $( '#quote-popup #quote-popup-content #quote-popup-tabs li.active' ).data( 'quote-tab-for' ); var selectedQuoteForm = $( '#quote-popup #quote-popup-content .quote-form[data-quote-form-for="'+ type +'"]' ); setTimeout( function() { if( mode == 'fixed' ) { selectedQuoteForm.children( '.quote-form-background' ).css({ 'height': selectedQuoteForm.height() }); $( '#quote-popup #quote-popup-content' ).css({ 'top': '50%', 'marginTop': - ( selectedQuoteForm.height() / 2 ), 'height': selectedQuoteForm.height(), 'position': 'fixed' }); } else if( mode == 'absolute' ) { if( windowWidth > 932 ) { $( '#quote-popup #quote-popup-content' ).addClass( 'bounceInDown' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height(), 'position': 'absolute' }); selectedQuoteForm.children( '.quote-form-background' ).css({ 'height': selectedQuoteForm.height() }); } else { $( '#quote-popup .quote-form-background' ).css({ 'height': '' }); if( windowWidth > 582 ) $( '#quote-popup #quote-popup-content' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height(), 'position': 'absolute' }); else { $( '#quote-popup #quote-popup-content' ).css({ 'top': '50px', 'marginTop': '0px', 'height': selectedQuoteForm.height() + $( '#quote-popup-tabs' ).height() + 50, 'position': 'absolute' }); } } } }, 300 ); } /** * * contact popup * */ if( $( '#contact-popup #contact-popup-background' ).css( 'display' ) == 'block' ) { setTimeout( function() { if( mode == 'fixed' ) $( '#contact-popup #contact-popup-content' ).css({ 'top': '50%', 'position': 'fixed', 'marginTop': '-300px' }); else $( '#contact-popup #contact-popup-content' ).css({ 'top': '50px', 'marginTop': '0px', 'position': 'absolute' }); }, 300 ); } /** * * end of resize manager * */ }; /** * * end of file * */ });<|fim▁end|>
};
<|file_name|>VuxTableColumnDefinition.js<|end_file_name|><|fim▁begin|>export default function VuxTableColumnDefinition (options) { return {<|fim▁hole|> ...{ key: 'id', label: 'Id', isDisabled: false, isHidden: false, isSortable: false, isSorting: false, sortDirection: 'desc', isFilterable: false, displayComponent: null, editComponent: null, span: 1 }, ...options } }<|fim▁end|>
<|file_name|>test_ebs.py<|end_file_name|><|fim▁begin|># Copyright 2016-2017 Capital One Services, LLC # Copyright The Cloud Custodian Authors. # SPDX-License-Identifier: Apache-2.0 import logging from botocore.exceptions import ClientError import mock from c7n.exceptions import PolicyValidationError from c7n.executor import MainThreadExecutor from c7n.resources.aws import shape_validate from c7n.resources.ebs import ( CopyInstanceTags, EncryptInstanceVolumes, CopySnapshot, Delete, ErrorHandler, SnapshotQueryParser as QueryParser ) from .common import BaseTest class SnapshotQueryParse(BaseTest): def test_query(self): qfilters = [ {'Name': 'tag:Name', 'Values': ['Snapshot1']}, {'Name': 'status', 'Values': ['completed']}] self.assertEqual(qfilters, QueryParser.parse(qfilters)) def test_invalid_query(self): self.assertRaises( PolicyValidationError, QueryParser.parse, {}) self.assertRaises( PolicyValidationError, QueryParser.parse, [None]) self.assertRaises( PolicyValidationError, QueryParser.parse, [{'X': 1}]) self.assertRaises( PolicyValidationError, QueryParser.parse, [ {'Name': 'status', 'Values': 'completed'}]) self.assertRaises( PolicyValidationError, QueryParser.parse, [ {'Name': 'status', 'Values': ['Completed']}]) self.assertRaises( PolicyValidationError, QueryParser.parse, [ {'Name': 'snapshot-id', 'Values': [1]}]) class SnapshotErrorHandler(BaseTest): def test_tag_error(self): snaps = [{'SnapshotId': 'aa'}] error_response = { "Error": { "Message": "The snapshot 'aa' does not exist.", "Code": "InvalidSnapshot.NotFound", } } client = mock.MagicMock() client.create_tags.side_effect = ClientError(error_response, 'CreateTags') p = self.load_policy({ "name": "snap-copy", "resource": "ebs-snapshot", 'actions': [{'type': 'tag', 'tags': {'bar': 'foo'}}]}) tagger = p.resource_manager.actions[0] tagger.process_resource_set(client, snaps, [{'Key': 'bar', 'Value': 'foo'}]) client.create_tags.assert_called_once() def test_remove_snapshot(self): snaps = [{'SnapshotId': 'a'}, {'SnapshotId': 'b'}, {'SnapshotId': 'c'}] t1 = list(snaps) ErrorHandler.remove_snapshot('c', t1) self.assertEqual([t['SnapshotId'] for t in t1], ['a', 'b']) ErrorHandler.remove_snapshot('d', snaps) self.assertEqual(len(snaps), 3) def test_get_bad_snapshot_malformed(self): operation_name = "DescribeSnapshots" error_response = { "Error": { "Message": 'Invalid id: "snap-malformedsnap"', "Code": "InvalidSnapshotID.Malformed", } } e = ClientError(error_response, operation_name) snap = ErrorHandler.extract_bad_snapshot(e) self.assertEqual(snap, "snap-malformedsnap") def test_get_bad_snapshot_notfound(self): operation_name = "DescribeSnapshots" error_response = { "Error": { "Message": "The snapshot 'snap-notfound' does not exist.", "Code": "InvalidSnapshot.NotFound", } } e = ClientError(error_response, operation_name) snap = ErrorHandler.extract_bad_snapshot(e) self.assertEqual(snap, "snap-notfound") def test_get_bad_volume_malformed(self): operation_name = "DescribeVolumes" error_response = { "Error": { "Message": 'Invalid id: "vol-malformedvolume"', "Code": "InvalidVolumeID.Malformed", } } e = ClientError(error_response, operation_name) vol = ErrorHandler.extract_bad_volume(e) self.assertEqual(vol, "vol-malformedvolume") def test_get_bad_volume_notfound(self): operation_name = "DescribeVolumes" error_response = { "Error": { "Message": "The volume 'vol-notfound' does not exist.", "Code": "InvalidVolume.NotFound", } } e = ClientError(error_response, operation_name) vol = ErrorHandler.extract_bad_volume(e) self.assertEqual(vol, "vol-notfound") def test_snapshot_copy_related_tags_missing_volumes(self): factory = self.replay_flight_data( "test_ebs_snapshot_copy_related_tags_missing_volumes") p = self.load_policy( { "name": "copy-related-tags", "resource": "aws.ebs-snapshot", "filters": [{"tag:Test": "Test"}], "actions": [ { "type": "copy-related-tag", "resource": "ebs", "key": "VolumeId", "tags": "*" } ] }, session_factory=factory ) try: resources = p.run() except ClientError: # it should filter missing volume and not throw an error self.fail("This should have been handled in ErrorHandler.extract_bad_volume") self.assertEqual(len(resources), 1) try: factory().client("ec2").describe_volumes( VolumeIds=[resources[0]["VolumeId"]] ) except ClientError as e: # this should not filter missing volume and will throw an error msg = e.response["Error"]["Message"] err = e.response["Error"]["Code"] self.assertEqual(err, "InvalidVolume.NotFound") self.assertEqual(msg, f"The volume '{resources[0]['VolumeId']}' does not exist.") class SnapshotAccessTest(BaseTest): def test_snapshot_access(self): # pre conditions, 2 snapshots one shared to a separate account, and one # shared publicly. 2 non matching volumes, one not shared, one shared # explicitly to its own account. self.patch(CopySnapshot, "executor_factory", MainThreadExecutor) factory = self.replay_flight_data("test_ebs_cross_account") p = self.load_policy( { "name": "snap-copy", "resource": "ebs-snapshot", "filters": ["cross-account"], }, session_factory=factory, ) resources = p.run() self.assertEqual(len(resources), 2) self.assertEqual( {r["SnapshotId"]: r["c7n:CrossAccountViolations"] for r in resources}, {"snap-7f9496cf": ["619193117841"], "snap-af0eb71b": ["all"]}, ) class SnapshotDetachTest(BaseTest): def test_volume_detach(self): factory = self.replay_flight_data('test_ebs_detach') p = self.load_policy( { 'name': 'volume-detach', 'resource': 'ebs', 'filters': [{'VolumeId': 'vol-0850cf7c8e949c318'}], 'actions': [ { 'type': 'detach' } ] }, session_factory=factory) resources = p.run() self.assertEqual(len(resources), 1) client = factory(region="us-east-1").client('ec2') volumelist = [] volumelist.append(resources[0]['VolumeId']) response = client.describe_volumes(VolumeIds=volumelist) for resp in response['Volumes']: for attachment in resp['Attachments']: self.assertTrue(attachment['State'] == "detached" or attachment['State'] == "detaching") class SnapshotCopyTest(BaseTest): def test_snapshot_copy(self): self.patch(CopySnapshot, "executor_factory", MainThreadExecutor) self.change_environment(AWS_DEFAULT_REGION="us-west-2") factory = self.replay_flight_data("test_ebs_snapshot_copy") p = self.load_policy( { "name": "snap-copy", "resource": "ebs-snapshot", "filters": [{"tag:ASV": "RoadKill"}], "actions": [ { "type": "copy", "target_region": "us-east-1", "target_key": "82645407-2faa-4d93-be71-7d6a8d59a5fc", } ], }, config=dict(region="us-west-2"), session_factory=factory, ) resources = p.run() self.assertEqual(len(resources), 1) client = factory(region="us-east-1").client("ec2") tags = client.describe_tags( Filters=[ {"Name": "resource-id", "Values": [resources[0]["c7n:CopiedSnapshot"]]} ] )[ "Tags" ] tags = {t["Key"]: t["Value"] for t in tags} self.assertEqual(tags["ASV"], "RoadKill") class SnapshotAmiSnapshotTest(BaseTest): def test_snapshot_ami_snapshot_filter(self): self.patch(CopySnapshot, "executor_factory", MainThreadExecutor) # DEFAULT_REGION needs to be set to west for recording factory = self.replay_flight_data("test_ebs_ami_snapshot_filter") # first case should return only resources that are ami snapshots p = self.load_policy( { "name": "ami-snap-filter", "resource": "ebs-snapshot", "filters": [{"type": "skip-ami-snapshots", "value": False}], }, session_factory=factory, ) resources = p.run() self.assertEqual(len(resources), 3) # second case should return resources that are NOT ami snapshots policy = self.load_policy( { "name": "non-ami-snap-filter", "resource": "ebs-snapshot", "filters": [{"type": "skip-ami-snapshots", "value": True}], }, session_factory=factory, ) resources = policy.run() self.assertEqual(len(resources), 2) class SnapshotUnusedTest(BaseTest): def test_snapshot_unused(self): factory = self.replay_flight_data("test_ebs_snapshot_unused") p = self.load_policy( { "name": "snap-unused", "resource": "ebs-snapshot", "filters": [{"type": "unused", "value": True}], }, session_factory=factory, ) resources = p.run() self.assertEqual(len(resources), 1) policy = self.load_policy( { "name": "snap-used", "resource": "ebs-snapshot", "filters": [{"type": "unused", "value": False}], }, session_factory=factory, ) resources = policy.run() self.assertEqual(len(resources), 2) class SnapshotTrimTest(BaseTest): def test_snapshot_trim(self): factory = self.replay_flight_data("test_ebs_snapshot_delete") p = self.load_policy( { "name": "snapshot-trim", "resource": "ebs-snapshot", "filters": [{"tag:InstanceId": "not-null"}], "actions": ["delete"], }, session_factory=factory, ) resources = p.run() self.assertEqual(len(resources), 1) class AttachedInstanceTest(BaseTest): def test_ebs_instance_filter(self): factory = self.replay_flight_data("test_ebs_instance_filter") p = self.load_policy( { "name": "attached-instance-test", "resource": "ebs", "filters": [ {"type": "instance", "key": "tag:Name", "value": "CompiledLambda"} ], }, session_factory=factory, ) resources = p.run() self.assertEqual(len(resources), 1) class ResizeTest(BaseTest): def test_resize_action(self): factory = self.replay_flight_data("test_ebs_modifyable_action") client = factory().client("ec2") # Change a volume from 32 gb gp2 and 100 iops (sized based) to # 64gb and 500 iops. vol_id = "vol-0073dcd216489ea1b" p = self.load_policy( { "name": "resizable", "resource": "ebs", "filters": ["modifyable", {"VolumeId": vol_id}], "actions": [ { "type": "modify", "volume-type": "io1", "size-percent": 200, "iops-percent": 500, } ], }, session_factory=factory, ) resources = p.run() self.assertEqual(resources[0]["Iops"], 100) self.assertEqual(resources[0]["Size"], 32) vol = client.describe_volumes(VolumeIds=[vol_id])["Volumes"][0] self.assertEqual(vol["Iops"], 500) self.assertEqual(vol["Size"], 64) def test_resize_filter(self): # precondition, 6 volumes, 4 not modifyable. factory = self.replay_flight_data("test_ebs_modifyable_filter") output = self.capture_logging("custodian.filters", level=logging.DEBUG) p = self.load_policy( {"name": "resizable", "resource": "ebs", "filters": ["modifyable"]}, session_factory=factory, ) resources = p.run() self.assertEqual( {r["VolumeId"] for r in resources}, {"vol-0073dcd216489ea1b", "vol-0e4cba7adc4764f79"}, ) self.assertEqual( output.getvalue().strip(), ("filtered 4 of 6 volumes due to [('instance-type', 2), " "('vol-mutation', 1), ('vol-type', 1)]") ) class CopyInstanceTagsTest(BaseTest): def test_copy_instance_tags(self): # More a functional/coverage test then a unit test. self.patch(CopyInstanceTags, "executor_factory", MainThreadExecutor) factory = self.replay_flight_data("test_ebs_copy_instance_tags") volume_id = "vol-2b047792" results = factory().client("ec2").describe_tags( Filters=[{"Name": "resource-id", "Values": [volume_id]}] )[ "Tags" ] tags = {t["Key"]: t["Value"] for t in results} self.assertEqual(tags, {}) policy = self.load_policy( { "name": "test-copy-instance-tags", "resource": "ebs", "actions": [{"type": "copy-instance-tags", "tags": ["Name"]}], }, config={"region": "us-west-2"}, session_factory=factory, ) policy.run() results = factory().client("ec2").describe_tags( Filters=[{"Name": "resource-id", "Values": [volume_id]}] )[ "Tags" ] tags = {t["Key"]: t["Value"] for t in results} self.assertEqual(tags["Name"], "CompileLambda") class VolumePostFindingTest(BaseTest): def test_volume_post_finding(self): factory = self.replay_flight_data('test_ebs_snapshot') p = self.load_policy({ 'name': 'vol-finding', 'resource': 'aws.ebs', 'actions': [{ 'type': 'post-finding', 'types': [ 'Software and Configuration Checks/OrgStandard/abc-123']}]}, session_factory=factory) resources = p.resource_manager.resources() rfinding = p.resource_manager.actions[0].format_resource( resources[0]) self.maxDiff = None self.assertEqual( rfinding, {'Details': { 'AwsEc2Volume': { 'Attachments': [{'AttachTime': '2017-03-28T14:55:28+00:00', 'DeleteOnTermination': True, 'InstanceId': 'i-0a0b51bcf11a8cdfb', 'Status': 'attached'}], 'CreateTime': '2017-03-28T14:55:28.486000+00:00', 'Size': 8, 'SnapshotId': 'snap-037f1f9e6c8ea4d65'}}, 'Id': 'arn:aws:ec2:us-east-1:644160558196:volume/vol-01adbb6a4f175941d', 'Partition': 'aws', 'Region': 'us-east-1', 'Type': 'AwsEc2Volume'}) shape_validate( rfinding['Details']['AwsEc2Volume'], 'AwsEc2VolumeDetails', 'securityhub') class VolumeSnapshotTest(BaseTest): def test_volume_snapshot(self): factory = self.replay_flight_data("test_ebs_snapshot") policy = self.load_policy( { "name": "test-ebs-snapshot", "resource": "ebs", "filters": [{"VolumeId": "vol-01adbb6a4f175941d"}], "actions": ["snapshot"], }, session_factory=factory, ) policy.run() snapshot_data = factory().client("ec2").describe_snapshots( Filters=[{"Name": "volume-id", "Values": ["vol-01adbb6a4f175941d"]}] ) self.assertEqual(len(snapshot_data["Snapshots"]), 1) def test_volume_snapshot_copy_tags(self): factory = self.replay_flight_data("test_ebs_snapshot_copy_tags") policy = self.load_policy( { "name": "ebs-test-snapshot", "resource": "ebs", "filters": [{"VolumeId": "vol-0252f61378ede9d01"}], "actions": [{"type": "snapshot", "copy-tags": ['Name', 'Stage']}] }, session_factory=factory, ) resources = policy.run() self.assertEqual(len(resources), 1) snapshot_data = factory().client("ec2").describe_snapshots( Filters=[{"Name": "volume-id", "Values": ["vol-0252f61378ede9d01"]}] ) rtags = {t['Key']: t['Value'] for t in resources[0]['Tags']} rtags.pop('DoNotCopy') rtags['custodian_snapshot'] = '' for s in snapshot_data['Snapshots']: self.assertEqual(rtags, {t['Key']: t['Value'] for t in s['Tags']}) def test_volume_snapshot_copy_volume_tags(self): factory = self.replay_flight_data("test_ebs_snapshot_copy_volume_tags") policy = self.load_policy( { "name": "ebs-test-snapshot", "resource": "ebs", "filters": [{"VolumeId": "vol-0252f61378ede9d01"}], "actions": [{"type": "snapshot", "copy-volume-tags": False,<|fim▁hole|> resources = policy.run() self.assertEqual(len(resources), 1) snapshot_data = factory().client("ec2").describe_snapshots( Filters=[{"Name": "volume-id", "Values": ["vol-0252f61378ede9d01"]}] ) for s in snapshot_data['Snapshots']: self.assertEqual({'test-tag': 'custodian'}, {t['Key']: t['Value'] for t in s['Tags']}) class VolumeDeleteTest(BaseTest): def test_volume_delete_force(self): self.patch(Delete, "executor_factory", MainThreadExecutor) factory = self.replay_flight_data("test_ebs_force_delete") policy = self.load_policy( { "name": "test-ebs", "resource": "ebs", "filters": [{"VolumeId": "vol-d0790258"}], "actions": [{"type": "delete", "force": True}], }, session_factory=factory, ) resources = policy.run() try: factory().client("ec2").describe_volumes( VolumeIds=[resources[0]["VolumeId"]] ) except ClientError as e: self.assertEqual(e.response["Error"]["Code"], "InvalidVolume.NotFound") else: self.fail("Volume still exists") class EncryptExtantVolumesTest(BaseTest): def test_encrypt_volumes(self): self.patch(EncryptInstanceVolumes, "executor_factory", MainThreadExecutor) session_factory = self.replay_flight_data("test_encrypt_volumes") policy = self.load_policy( { "name": "ebs-remediate-attached", "resource": "ebs", "filters": [ {"Encrypted": False}, {"VolumeId": "vol-0f53c81b92b4ecfce"} ], "actions": [ { "type": "encrypt-instance-volumes", "delay": 0.001, "key": "alias/encryptebs", } ], }, session_factory=session_factory, ) resources = policy.run() self.assertEqual(len(resources), 1) for r in resources: volumes = session_factory().client("ec2").describe_volumes( Filters=[ { "Name": "attachment.instance-id", "Values": [r["Attachments"][0]["InstanceId"]], } ] ) for v in volumes["Volumes"]: self.assertTrue(v["Attachments"][0]["DeleteOnTermination"]) self.assertTrue(v["Encrypted"]) if "Tags" in v: self.assertNotIn( "maid-crypt-remediation", [i["Key"] for i in v["Tags"]] ) self.assertNotIn( "maid-origin-volume", [i["Key"] for i in v["Tags"]] ) self.assertNotIn( "maid-instance-device", [i["Key"] for i in v["Tags"]] ) class TestKmsAlias(BaseTest): def test_ebs_kms_alias(self): session_factory = self.replay_flight_data("test_ebs_aws_managed_kms_keys") p = self.load_policy( { "name": "ebs-aws-managed-kms-keys-filters", "resource": "ebs", "filters": [ { "type": "kms-alias", "key": "AliasName", "value": "^(alias/aws/)", "op": "regex", } ], }, config={"region": "us-west-2"}, session_factory=session_factory, ) resources = p.run() self.assertEqual(len(resources), 1) self.assertEqual(resources[0]["VolumeId"], "vol-14a3cd9d") class EbsFaultToleranceTest(BaseTest): def test_ebs_fault_tolerant(self): session = self.replay_flight_data("test_ebs_fault_tolerant") policy = self.load_policy( { "name": "ebs-fault-tolerant", "resource": "ebs", "filters": ["fault-tolerant"], }, session_factory=session, ) resources = policy.run() self.assertEqual(len(resources), 1) self.assertEqual(resources[0]["VolumeId"], "vol-c5eaa459") def test_ebs_non_fault_tolerant(self): session = self.replay_flight_data("test_ebs_non_fault_tolerant") policy = self.load_policy( { "name": "ebs-non-fault-tolerant", "resource": "ebs", "filters": [{"type": "fault-tolerant", "tolerant": False}], }, session_factory=session, ) resources = policy.run() self.assertEqual(len(resources), 1) self.assertEqual(resources[0]["VolumeId"], "vol-abdb8d37") class PiopsMetricsFilterTest(BaseTest): def test_ebs_metrics_percent_filter(self): session = self.replay_flight_data("test_ebs_metrics_percent_filter") policy = self.load_policy( { "name": "ebs-unused-piops", "resource": "ebs", "filters": [ { "type": "metrics", "name": "VolumeConsumedReadWriteOps", "op": "lt", "value": 50, "statistics": "Maximum", "days": 1, "percent-attr": "Iops", } ], }, session_factory=session, ) resources = policy.run() self.assertEqual(len(resources), 1) class HealthEventsFilterTest(BaseTest): def test_ebs_health_events_filter(self): session_factory = self.replay_flight_data("test_ebs_health_events_filter") policy = self.load_policy( { "name": "ebs-health-events-filter", "resource": "ebs", "filters": [{"type": "health-event", "types": ["AWS_EBS_VOLUME_LOST"]}], }, session_factory=session_factory, ) resources = policy.run() self.assertEqual(len(resources), 1) for r in resources: self.assertTrue( ("c7n:HealthEvent" in r) and ("Description" in e for e in r["c7n:HealthEvent"]) )<|fim▁end|>
"tags": {'test-tag': 'custodian'}}] }, session_factory=factory, )
<|file_name|>libusb.go<|end_file_name|><|fim▁begin|>// Copyright 2017 the gousb Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package gousb import ( "fmt" "log" "reflect" "sync" "time" "unsafe" ) /* #cgo pkg-config: libusb-1.0 #include <libusb.h> int gousb_compact_iso_data(struct libusb_transfer *xfer, unsigned char *status); struct libusb_transfer *gousb_alloc_transfer_and_buffer(int bufLen, int numIsoPackets); void gousb_free_transfer_and_buffer(struct libusb_transfer *xfer); int submit(struct libusb_transfer *xfer); void gousb_set_debug(libusb_context *ctx, int lvl); */ import "C" type libusbContext C.libusb_context type libusbDevice C.libusb_device type libusbDevHandle C.libusb_device_handle type libusbTransfer C.struct_libusb_transfer type libusbEndpoint C.struct_libusb_endpoint_descriptor func (ep libusbEndpoint) endpointDesc(dev *DeviceDesc) EndpointDesc { ei := EndpointDesc{ Address: EndpointAddress(ep.bEndpointAddress), Number: int(ep.bEndpointAddress & endpointNumMask), Direction: EndpointDirection((ep.bEndpointAddress & endpointDirectionMask) != 0), TransferType: TransferType(ep.bmAttributes & transferTypeMask), MaxPacketSize: int(ep.wMaxPacketSize), } if ei.TransferType == TransferTypeIsochronous { // bits 0-10 identify the packet size, bits 11-12 are the number of additional transactions per microframe. // Don't use libusb_get_max_iso_packet_size, as it has a bug where it returns the same value // regardless of alternative setting used, where different alternative settings might define different // max packet sizes. // See http://libusb.org/ticket/77 for more background. ei.MaxPacketSize = int(ep.wMaxPacketSize) & 0x07ff * (int(ep.wMaxPacketSize)>>11&3 + 1) ei.IsoSyncType = IsoSyncType(ep.bmAttributes & isoSyncTypeMask) switch ep.bmAttributes & usageTypeMask { case C.LIBUSB_ISO_USAGE_TYPE_DATA: ei.UsageType = IsoUsageTypeData case C.LIBUSB_ISO_USAGE_TYPE_FEEDBACK: ei.UsageType = IsoUsageTypeFeedback case C.LIBUSB_ISO_USAGE_TYPE_IMPLICIT: ei.UsageType = IsoUsageTypeImplicit } } switch { // If the device conforms to USB1.x: // Interval for polling endpoint for data transfers. Expressed in // milliseconds. // This field is ignored for bulk and control endpoints. For // isochronous endpoints this field must be set to 1. For interrupt // endpoints, this field may range from 1 to 255. // Note: in low-speed mode, isochronous transfers are not supported. case dev.Spec < Version(2, 0): ei.PollInterval = time.Duration(ep.bInterval) * time.Millisecond // If the device conforms to USB[23].x and the device is in low or full // speed mode: // Interval for polling endpoint for data transfers. Expressed in // frames (1ms) // For full-speed isochronous endpoints, the value of this field should // be 1. // For full-/low-speed interrupt endpoints, the value of this field may // be from 1 to 255. // Note: in low-speed mode, isochronous transfers are not supported. case dev.Speed == SpeedUnknown || dev.Speed == SpeedLow || dev.Speed == SpeedFull: ei.PollInterval = time.Duration(ep.bInterval) * time.Millisecond <|fim▁hole|> // For high-speed bulk/control OUT endpoints, the bInterval must // specify the maximum NAK rate of the endpoint. A value of 0 indicates // the endpoint never NAKs. Other values indicate at most 1 NAK each // bInterval number of microframes. This value must be in the range // from 0 to 255. case dev.Speed == SpeedHigh && ei.TransferType == TransferTypeBulk: ei.PollInterval = time.Duration(ep.bInterval) * 125 * time.Microsecond // If the device conforms to USB[23].x and the device is in high speed // mode: // For high-speed isochronous endpoints, this value must be in // the range from 1 to 16. The bInterval value is used as the exponent // for a 2bInterval-1 value; e.g., a bInterval of 4 means a period // of 8 (2^(4-1)). // For high-speed interrupt endpoints, the bInterval value is used as // the exponent for a 2bInterval-1 value; e.g., a bInterval of 4 means // a period of 8 (2^(4-1)). This value must be from 1 to 16. // If the device conforms to USB3.x and the device is in SuperSpeed mode: // Interval for servicing the endpoint for data transfers. Expressed in // 125-µs units. // For Enhanced SuperSpeed isochronous and interrupt endpoints, this // value shall be in the range from 1 to 16. However, the valid ranges // are 8 to 16 for Notification type Interrupt endpoints. The bInterval // value is used as the exponent for a 2(^bInterval-1) value; e.g., a // bInterval of 4 means a period of 8 (2^(4-1) → 2^3 → 8). // This field is reserved and shall not be used for Enhanced SuperSpeed // bulk or control endpoints. case dev.Speed == SpeedHigh || dev.Speed == SpeedSuper: ei.PollInterval = 125 * time.Microsecond << (ep.bInterval - 1) } return ei } // libusbIntf is a set of trivial idiomatic Go wrappers around libusb C functions. // The underlying code is generally not testable or difficult to test, // since libusb interacts directly with the host USB stack. // // All functions here should operate on types defined on C.libusb* data types, // and occasionally on convenience data types (like TransferType or DeviceDesc). type libusbIntf interface { // context init() (*libusbContext, error) handleEvents(*libusbContext, <-chan struct{}) getDevices(*libusbContext) ([]*libusbDevice, error) exit(*libusbContext) error setDebug(*libusbContext, int) // device dereference(*libusbDevice) getDeviceDesc(*libusbDevice) (*DeviceDesc, error) open(*libusbDevice) (*libusbDevHandle, error) close(*libusbDevHandle) reset(*libusbDevHandle) error control(*libusbDevHandle, time.Duration, uint8, uint8, uint16, uint16, []byte) (int, error) getConfig(*libusbDevHandle) (uint8, error) setConfig(*libusbDevHandle, uint8) error getStringDesc(*libusbDevHandle, int) (string, error) setAutoDetach(*libusbDevHandle, int) error detachKernelDriver(*libusbDevHandle, uint8) error // interface claim(*libusbDevHandle, uint8) error release(*libusbDevHandle, uint8) setAlt(*libusbDevHandle, uint8, uint8) error // transfer alloc(*libusbDevHandle, *EndpointDesc, int, int, chan struct{}) (*libusbTransfer, error) cancel(*libusbTransfer) error submit(*libusbTransfer) error buffer(*libusbTransfer) []byte data(*libusbTransfer) (int, TransferStatus) free(*libusbTransfer) setIsoPacketLengths(*libusbTransfer, uint32) } // libusbImpl is an implementation of libusbIntf using real CGo-wrapped libusb. type libusbImpl struct{} func (libusbImpl) init() (*libusbContext, error) { var ctx *C.libusb_context if err := fromErrNo(C.libusb_init(&ctx)); err != nil { return nil, err } return (*libusbContext)(ctx), nil } func (libusbImpl) handleEvents(c *libusbContext, done <-chan struct{}) { tv := C.struct_timeval{tv_usec: 100e3} for { select { case <-done: return default: } if errno := C.libusb_handle_events_timeout_completed((*C.libusb_context)(c), &tv, nil); errno < 0 { log.Printf("handle_events: error: %s", Error(errno)) } } } func (libusbImpl) getDevices(ctx *libusbContext) ([]*libusbDevice, error) { var list **C.libusb_device cnt := C.libusb_get_device_list((*C.libusb_context)(ctx), &list) if cnt < 0 { return nil, fromErrNo(C.int(cnt)) } var devs []*C.libusb_device *(*reflect.SliceHeader)(unsafe.Pointer(&devs)) = reflect.SliceHeader{ Data: uintptr(unsafe.Pointer(list)), Len: int(cnt), Cap: int(cnt), } var ret []*libusbDevice for _, d := range devs { ret = append(ret, (*libusbDevice)(d)) } // devices will be dereferenced later, during close. C.libusb_free_device_list(list, 0) return ret, nil } func (libusbImpl) exit(c *libusbContext) error { C.libusb_exit((*C.libusb_context)(c)) return nil } func (libusbImpl) setDebug(c *libusbContext, lvl int) { C.gousb_set_debug((*C.libusb_context)(c), C.int(lvl)) } func (libusbImpl) getDeviceDesc(d *libusbDevice) (*DeviceDesc, error) { var desc C.struct_libusb_device_descriptor if err := fromErrNo(C.libusb_get_device_descriptor((*C.libusb_device)(d), &desc)); err != nil { return nil, err } dev := &DeviceDesc{ Bus: int(C.libusb_get_bus_number((*C.libusb_device)(d))), Address: int(C.libusb_get_device_address((*C.libusb_device)(d))), Port: int(C.libusb_get_port_number((*C.libusb_device)(d))), Speed: Speed(C.libusb_get_device_speed((*C.libusb_device)(d))), Spec: BCD(desc.bcdUSB), Device: BCD(desc.bcdDevice), Vendor: ID(desc.idVendor), Product: ID(desc.idProduct), Class: Class(desc.bDeviceClass), SubClass: Class(desc.bDeviceSubClass), Protocol: Protocol(desc.bDeviceProtocol), MaxControlPacketSize: int(desc.bMaxPacketSize0), iManufacturer: int(desc.iManufacturer), iProduct: int(desc.iProduct), iSerialNumber: int(desc.iSerialNumber), } // Enumerate configurations cfgs := make(map[int]ConfigDesc) for i := 0; i < int(desc.bNumConfigurations); i++ { var cfg *C.struct_libusb_config_descriptor if err := fromErrNo(C.libusb_get_config_descriptor((*C.libusb_device)(d), C.uint8_t(i), &cfg)); err != nil { return nil, err } c := ConfigDesc{ Number: int(cfg.bConfigurationValue), SelfPowered: (cfg.bmAttributes & selfPoweredMask) != 0, RemoteWakeup: (cfg.bmAttributes & remoteWakeupMask) != 0, MaxPower: 2 * Milliamperes(cfg.MaxPower), iConfiguration: int(cfg.iConfiguration), } // at GenX speeds MaxPower is expressed in units of 8mA, not 2mA. if dev.Speed == SpeedSuper { c.MaxPower *= 4 } var ifaces []C.struct_libusb_interface *(*reflect.SliceHeader)(unsafe.Pointer(&ifaces)) = reflect.SliceHeader{ Data: uintptr(unsafe.Pointer(cfg._interface)), Len: int(cfg.bNumInterfaces), Cap: int(cfg.bNumInterfaces), } c.Interfaces = make([]InterfaceDesc, 0, len(ifaces)) for ifNum, iface := range ifaces { if iface.num_altsetting == 0 { continue } var alts []C.struct_libusb_interface_descriptor *(*reflect.SliceHeader)(unsafe.Pointer(&alts)) = reflect.SliceHeader{ Data: uintptr(unsafe.Pointer(iface.altsetting)), Len: int(iface.num_altsetting), Cap: int(iface.num_altsetting), } descs := make([]InterfaceSetting, 0, len(alts)) for altNum, alt := range alts { i := InterfaceSetting{ Number: int(alt.bInterfaceNumber), Alternate: int(alt.bAlternateSetting), Class: Class(alt.bInterfaceClass), SubClass: Class(alt.bInterfaceSubClass), Protocol: Protocol(alt.bInterfaceProtocol), iInterface: int(alt.iInterface), } if ifNum != i.Number { return nil, fmt.Errorf("config %d interface at index %d has number %d, USB standard states they should be identical", c.Number, ifNum, i.Number) } if altNum != i.Alternate { return nil, fmt.Errorf("config %d interface %d alternate settings at index %d has number %d, USB standard states they should be identical", c.Number, i.Number, altNum, i.Alternate) } var ends []C.struct_libusb_endpoint_descriptor *(*reflect.SliceHeader)(unsafe.Pointer(&ends)) = reflect.SliceHeader{ Data: uintptr(unsafe.Pointer(alt.endpoint)), Len: int(alt.bNumEndpoints), Cap: int(alt.bNumEndpoints), } i.Endpoints = make(map[EndpointAddress]EndpointDesc, len(ends)) for _, end := range ends { epi := libusbEndpoint(end).endpointDesc(dev) i.Endpoints[epi.Address] = epi } descs = append(descs, i) } c.Interfaces = append(c.Interfaces, InterfaceDesc{ Number: descs[0].Number, AltSettings: descs, }) } C.libusb_free_config_descriptor(cfg) cfgs[c.Number] = c } dev.Configs = cfgs return dev, nil } func (libusbImpl) dereference(d *libusbDevice) { C.libusb_unref_device((*C.libusb_device)(d)) } func (libusbImpl) open(d *libusbDevice) (*libusbDevHandle, error) { var handle *C.libusb_device_handle if err := fromErrNo(C.libusb_open((*C.libusb_device)(d), &handle)); err != nil { return nil, err } return (*libusbDevHandle)(handle), nil } func (libusbImpl) close(d *libusbDevHandle) { C.libusb_close((*C.libusb_device_handle)(d)) } func (libusbImpl) reset(d *libusbDevHandle) error { return fromErrNo(C.libusb_reset_device((*C.libusb_device_handle)(d))) } func (libusbImpl) control(d *libusbDevHandle, timeout time.Duration, rType, request uint8, val, idx uint16, data []byte) (int, error) { dataSlice := (*reflect.SliceHeader)(unsafe.Pointer(&data)) n := C.libusb_control_transfer( (*C.libusb_device_handle)(d), C.uint8_t(rType), C.uint8_t(request), C.uint16_t(val), C.uint16_t(idx), (*C.uchar)(unsafe.Pointer(dataSlice.Data)), C.uint16_t(len(data)), C.uint(timeout/time.Millisecond)) if n < 0 { return int(n), fromErrNo(n) } return int(n), nil } func (libusbImpl) getConfig(d *libusbDevHandle) (uint8, error) { var cfg C.int if errno := C.libusb_get_configuration((*C.libusb_device_handle)(d), &cfg); errno < 0 { return 0, fromErrNo(errno) } return uint8(cfg), nil } func (libusbImpl) setConfig(d *libusbDevHandle, cfg uint8) error { return fromErrNo(C.libusb_set_configuration((*C.libusb_device_handle)(d), C.int(cfg))) } // TODO(sebek): device string descriptors are natively in UTF16 and support // multiple languages. get_string_descriptor_ascii uses always the first // language and discards non-ascii bytes. We could do better if needed. func (libusbImpl) getStringDesc(d *libusbDevHandle, index int) (string, error) { // allocate 200-byte array limited the length of string descriptor buf := make([]byte, 200) // get string descriptor from libusb. if errno < 0 then there are any errors. // if errno >= 0; it is a length of result string descriptor errno := C.libusb_get_string_descriptor_ascii( (*C.libusb_device_handle)(d), C.uint8_t(index), (*C.uchar)(unsafe.Pointer(&buf[0])), 200) if errno < 0 { return "", fmt.Errorf("failed to get string descriptor %d: %s", index, fromErrNo(errno)) } return string(buf[:errno]), nil } func (libusbImpl) setAutoDetach(d *libusbDevHandle, val int) error { err := fromErrNo(C.libusb_set_auto_detach_kernel_driver((*C.libusb_device_handle)(d), C.int(val))) if err != nil && err != ErrorNotSupported { return err } return nil } func (libusbImpl) detachKernelDriver(d *libusbDevHandle, iface uint8) error { err := fromErrNo(C.libusb_detach_kernel_driver((*C.libusb_device_handle)(d), C.int(iface))) if err != nil && err != ErrorNotSupported && err != ErrorNotFound { // ErrorNotSupported is returned in non linux systems // ErrorNotFound is returned if libusb's driver is already attached to the device return err } return nil } func (libusbImpl) claim(d *libusbDevHandle, iface uint8) error { return fromErrNo(C.libusb_claim_interface((*C.libusb_device_handle)(d), C.int(iface))) } func (libusbImpl) release(d *libusbDevHandle, iface uint8) { C.libusb_release_interface((*C.libusb_device_handle)(d), C.int(iface)) } func (libusbImpl) setAlt(d *libusbDevHandle, iface, setup uint8) error { return fromErrNo(C.libusb_set_interface_alt_setting((*C.libusb_device_handle)(d), C.int(iface), C.int(setup))) } func (libusbImpl) alloc(d *libusbDevHandle, ep *EndpointDesc, isoPackets int, bufLen int, done chan struct{}) (*libusbTransfer, error) { xfer := C.gousb_alloc_transfer_and_buffer(C.int(bufLen), C.int(isoPackets)) if xfer == nil { return nil, fmt.Errorf("gousb_alloc_transfer_and_buffer(%d, %d) failed", bufLen, isoPackets) } if int(xfer.length) != bufLen { return nil, fmt.Errorf("gousb_alloc_transfer_and_buffer(%d, %d): length = %d, want %d", bufLen, isoPackets, xfer.length, bufLen) } xfer.dev_handle = (*C.libusb_device_handle)(d) xfer.endpoint = C.uchar(ep.Address) xfer._type = C.uchar(ep.TransferType) xfer.num_iso_packets = C.int(isoPackets) ret := (*libusbTransfer)(xfer) xferDoneMap.Lock() xferDoneMap.m[ret] = done xferDoneMap.Unlock() return ret, nil } func (libusbImpl) cancel(t *libusbTransfer) error { return fromErrNo(C.libusb_cancel_transfer((*C.struct_libusb_transfer)(t))) } func (libusbImpl) submit(t *libusbTransfer) error { return fromErrNo(C.submit((*C.struct_libusb_transfer)(t))) } func (libusbImpl) buffer(t *libusbTransfer) []byte { // TODO(go1.10?): replace with more user-friendly construct once // one exists. https://github.com/golang/go/issues/13656 var ret []byte *(*reflect.SliceHeader)(unsafe.Pointer(&ret)) = reflect.SliceHeader{ Data: uintptr(unsafe.Pointer(t.buffer)), Len: int(t.length), Cap: int(t.length), } return ret } func (libusbImpl) data(t *libusbTransfer) (int, TransferStatus) { if TransferType(t._type) == TransferTypeIsochronous { var status TransferStatus n := int(C.gousb_compact_iso_data((*C.struct_libusb_transfer)(t), (*C.uchar)(unsafe.Pointer(&status)))) return n, status } return int(t.actual_length), TransferStatus(t.status) } func (libusbImpl) free(t *libusbTransfer) { xferDoneMap.Lock() delete(xferDoneMap.m, t) xferDoneMap.Unlock() C.gousb_free_transfer_and_buffer((*C.struct_libusb_transfer)(t)) } func (libusbImpl) setIsoPacketLengths(t *libusbTransfer, length uint32) { C.libusb_set_iso_packet_lengths((*C.struct_libusb_transfer)(t), C.uint(length)) } // xferDoneMap keeps a map of done callback channels for all allocated transfers. var xferDoneMap = struct { m map[*libusbTransfer]chan struct{} sync.RWMutex }{ m: make(map[*libusbTransfer]chan struct{}), } //export xferCallback func xferCallback(xfer *C.struct_libusb_transfer) { xferDoneMap.RLock() ch := xferDoneMap.m[(*libusbTransfer)(xfer)] xferDoneMap.RUnlock() ch <- struct{}{} } // for benchmarking of method on implementation vs vanilla function. func libusbSetDebug(c *libusbContext, lvl int) { C.gousb_set_debug((*C.libusb_context)(c), C.int(lvl)) } func newDevicePointer() *libusbDevice { return (*libusbDevice)(unsafe.Pointer(C.malloc(1))) } func newFakeTransferPointer() *libusbTransfer { return (*libusbTransfer)(unsafe.Pointer(C.malloc(1))) }<|fim▁end|>
// If the device conforms to USB[23].x and the device is in high speed // mode: // Interval is expressed in microframe units (125 µs).
<|file_name|>collector.py<|end_file_name|><|fim▁begin|>""" The main purpose of this module is to expose LinkCollector.collect_links(). """ import cgi import functools import itertools import logging import mimetypes import os import re from collections import OrderedDict from pip._vendor import html5lib, requests from pip._vendor.distlib.compat import unescape from pip._vendor.requests.exceptions import RetryError, SSLError from pip._vendor.six.moves.urllib import parse as urllib_parse from pip._vendor.six.moves.urllib import request as urllib_request from pip._internal.exceptions import NetworkConnectionError from pip._internal.models.link import Link from pip._internal.models.search_scope import SearchScope from pip._internal.network.utils import raise_for_status from pip._internal.utils.filetypes import ARCHIVE_EXTENSIONS from pip._internal.utils.misc import pairwise, redact_auth_from_url from pip._internal.utils.typing import MYPY_CHECK_RUNNING from pip._internal.utils.urls import path_to_url, url_to_path from pip._internal.vcs import is_url, vcs if MYPY_CHECK_RUNNING: from optparse import Values from typing import ( Callable, Iterable, List, MutableMapping, Optional, Protocol, Sequence, Tuple, TypeVar, Union, ) import xml.etree.ElementTree from pip._vendor.requests import Response from pip._internal.network.session import PipSession HTMLElement = xml.etree.ElementTree.Element ResponseHeaders = MutableMapping[str, str] # Used in the @lru_cache polyfill. F = TypeVar('F') class LruCache(Protocol): def __call__(self, maxsize=None):<|fim▁hole|> logger = logging.getLogger(__name__) # Fallback to noop_lru_cache in Python 2 # TODO: this can be removed when python 2 support is dropped! def noop_lru_cache(maxsize=None): # type: (Optional[int]) -> Callable[[F], F] def _wrapper(f): # type: (F) -> F return f return _wrapper _lru_cache = getattr(functools, "lru_cache", noop_lru_cache) # type: LruCache def _match_vcs_scheme(url): # type: (str) -> Optional[str] """Look for VCS schemes in the URL. Returns the matched VCS scheme, or None if there's no match. """ for scheme in vcs.schemes: if url.lower().startswith(scheme) and url[len(scheme)] in '+:': return scheme return None def _is_url_like_archive(url): # type: (str) -> bool """Return whether the URL looks like an archive. """ filename = Link(url).filename for bad_ext in ARCHIVE_EXTENSIONS: if filename.endswith(bad_ext): return True return False class _NotHTML(Exception): def __init__(self, content_type, request_desc): # type: (str, str) -> None super(_NotHTML, self).__init__(content_type, request_desc) self.content_type = content_type self.request_desc = request_desc def _ensure_html_header(response): # type: (Response) -> None """Check the Content-Type header to ensure the response contains HTML. Raises `_NotHTML` if the content type is not text/html. """ content_type = response.headers.get("Content-Type", "") if not content_type.lower().startswith("text/html"): raise _NotHTML(content_type, response.request.method) class _NotHTTP(Exception): pass def _ensure_html_response(url, session): # type: (str, PipSession) -> None """Send a HEAD request to the URL, and ensure the response contains HTML. Raises `_NotHTTP` if the URL is not available for a HEAD request, or `_NotHTML` if the content type is not text/html. """ scheme, netloc, path, query, fragment = urllib_parse.urlsplit(url) if scheme not in {'http', 'https'}: raise _NotHTTP() resp = session.head(url, allow_redirects=True) raise_for_status(resp) _ensure_html_header(resp) def _get_html_response(url, session): # type: (str, PipSession) -> Response """Access an HTML page with GET, and return the response. This consists of three parts: 1. If the URL looks suspiciously like an archive, send a HEAD first to check the Content-Type is HTML, to avoid downloading a large file. Raise `_NotHTTP` if the content type cannot be determined, or `_NotHTML` if it is not HTML. 2. Actually perform the request. Raise HTTP exceptions on network failures. 3. Check the Content-Type header to make sure we got HTML, and raise `_NotHTML` otherwise. """ if _is_url_like_archive(url): _ensure_html_response(url, session=session) logger.debug('Getting page %s', redact_auth_from_url(url)) resp = session.get( url, headers={ "Accept": "text/html", # We don't want to blindly returned cached data for # /simple/, because authors generally expecting that # twine upload && pip install will function, but if # they've done a pip install in the last ~10 minutes # it won't. Thus by setting this to zero we will not # blindly use any cached data, however the benefit of # using max-age=0 instead of no-cache, is that we will # still support conditional requests, so we will still # minimize traffic sent in cases where the page hasn't # changed at all, we will just always incur the round # trip for the conditional GET now instead of only # once per 10 minutes. # For more information, please see pypa/pip#5670. "Cache-Control": "max-age=0", }, ) raise_for_status(resp) # The check for archives above only works if the url ends with # something that looks like an archive. However that is not a # requirement of an url. Unless we issue a HEAD request on every # url we cannot know ahead of time for sure if something is HTML # or not. However we can check after we've downloaded it. _ensure_html_header(resp) return resp def _get_encoding_from_headers(headers): # type: (ResponseHeaders) -> Optional[str] """Determine if we have any encoding information in our headers. """ if headers and "Content-Type" in headers: content_type, params = cgi.parse_header(headers["Content-Type"]) if "charset" in params: return params['charset'] return None def _determine_base_url(document, page_url): # type: (HTMLElement, str) -> str """Determine the HTML document's base URL. This looks for a ``<base>`` tag in the HTML document. If present, its href attribute denotes the base URL of anchor tags in the document. If there is no such tag (or if it does not have a valid href attribute), the HTML file's URL is used as the base URL. :param document: An HTML document representation. The current implementation expects the result of ``html5lib.parse()``. :param page_url: The URL of the HTML document. """ for base in document.findall(".//base"): href = base.get("href") if href is not None: return href return page_url def _clean_url_path_part(part): # type: (str) -> str """ Clean a "part" of a URL path (i.e. after splitting on "@" characters). """ # We unquote prior to quoting to make sure nothing is double quoted. return urllib_parse.quote(urllib_parse.unquote(part)) def _clean_file_url_path(part): # type: (str) -> str """ Clean the first part of a URL path that corresponds to a local filesystem path (i.e. the first part after splitting on "@" characters). """ # We unquote prior to quoting to make sure nothing is double quoted. # Also, on Windows the path part might contain a drive letter which # should not be quoted. On Linux where drive letters do not # exist, the colon should be quoted. We rely on urllib.request # to do the right thing here. return urllib_request.pathname2url(urllib_request.url2pathname(part)) # percent-encoded: / _reserved_chars_re = re.compile('(@|%2F)', re.IGNORECASE) def _clean_url_path(path, is_local_path): # type: (str, bool) -> str """ Clean the path portion of a URL. """ if is_local_path: clean_func = _clean_file_url_path else: clean_func = _clean_url_path_part # Split on the reserved characters prior to cleaning so that # revision strings in VCS URLs are properly preserved. parts = _reserved_chars_re.split(path) cleaned_parts = [] for to_clean, reserved in pairwise(itertools.chain(parts, [''])): cleaned_parts.append(clean_func(to_clean)) # Normalize %xx escapes (e.g. %2f -> %2F) cleaned_parts.append(reserved.upper()) return ''.join(cleaned_parts) def _clean_link(url): # type: (str) -> str """ Make sure a link is fully quoted. For example, if ' ' occurs in the URL, it will be replaced with "%20", and without double-quoting other characters. """ # Split the URL into parts according to the general structure # `scheme://netloc/path;parameters?query#fragment`. result = urllib_parse.urlparse(url) # If the netloc is empty, then the URL refers to a local filesystem path. is_local_path = not result.netloc path = _clean_url_path(result.path, is_local_path=is_local_path) return urllib_parse.urlunparse(result._replace(path=path)) def _create_link_from_element( anchor, # type: HTMLElement page_url, # type: str base_url, # type: str ): # type: (...) -> Optional[Link] """ Convert an anchor element in a simple repository page to a Link. """ href = anchor.get("href") if not href: return None url = _clean_link(urllib_parse.urljoin(base_url, href)) pyrequire = anchor.get('data-requires-python') pyrequire = unescape(pyrequire) if pyrequire else None yanked_reason = anchor.get('data-yanked') if yanked_reason: # This is a unicode string in Python 2 (and 3). yanked_reason = unescape(yanked_reason) link = Link( url, comes_from=page_url, requires_python=pyrequire, yanked_reason=yanked_reason, ) return link class CacheablePageContent(object): def __init__(self, page): # type: (HTMLPage) -> None assert page.cache_link_parsing self.page = page def __eq__(self, other): # type: (object) -> bool return (isinstance(other, type(self)) and self.page.url == other.page.url) def __hash__(self): # type: () -> int return hash(self.page.url) def with_cached_html_pages( fn, # type: Callable[[HTMLPage], Iterable[Link]] ): # type: (...) -> Callable[[HTMLPage], List[Link]] """ Given a function that parses an Iterable[Link] from an HTMLPage, cache the function's result (keyed by CacheablePageContent), unless the HTMLPage `page` has `page.cache_link_parsing == False`. """ @_lru_cache(maxsize=None) def wrapper(cacheable_page): # type: (CacheablePageContent) -> List[Link] return list(fn(cacheable_page.page)) @functools.wraps(fn) def wrapper_wrapper(page): # type: (HTMLPage) -> List[Link] if page.cache_link_parsing: return wrapper(CacheablePageContent(page)) return list(fn(page)) return wrapper_wrapper @with_cached_html_pages def parse_links(page): # type: (HTMLPage) -> Iterable[Link] """ Parse an HTML document, and yield its anchor elements as Link objects. """ document = html5lib.parse( page.content, transport_encoding=page.encoding, namespaceHTMLElements=False, ) url = page.url base_url = _determine_base_url(document, url) for anchor in document.findall(".//a"): link = _create_link_from_element( anchor, page_url=url, base_url=base_url, ) if link is None: continue yield link class HTMLPage(object): """Represents one page, along with its URL""" def __init__( self, content, # type: bytes encoding, # type: Optional[str] url, # type: str cache_link_parsing=True, # type: bool ): # type: (...) -> None """ :param encoding: the encoding to decode the given content. :param url: the URL from which the HTML was downloaded. :param cache_link_parsing: whether links parsed from this page's url should be cached. PyPI index urls should have this set to False, for example. """ self.content = content self.encoding = encoding self.url = url self.cache_link_parsing = cache_link_parsing def __str__(self): # type: () -> str return redact_auth_from_url(self.url) def _handle_get_page_fail( link, # type: Link reason, # type: Union[str, Exception] meth=None # type: Optional[Callable[..., None]] ): # type: (...) -> None if meth is None: meth = logger.debug meth("Could not fetch URL %s: %s - skipping", link, reason) def _make_html_page(response, cache_link_parsing=True): # type: (Response, bool) -> HTMLPage encoding = _get_encoding_from_headers(response.headers) return HTMLPage( response.content, encoding=encoding, url=response.url, cache_link_parsing=cache_link_parsing) def _get_html_page(link, session=None): # type: (Link, Optional[PipSession]) -> Optional[HTMLPage] if session is None: raise TypeError( "_get_html_page() missing 1 required keyword argument: 'session'" ) url = link.url.split('#', 1)[0] # Check for VCS schemes that do not support lookup as web pages. vcs_scheme = _match_vcs_scheme(url) if vcs_scheme: logger.warning('Cannot look at %s URL %s because it does not support ' 'lookup as web pages.', vcs_scheme, link) return None # Tack index.html onto file:// URLs that point to directories scheme, _, path, _, _, _ = urllib_parse.urlparse(url) if (scheme == 'file' and os.path.isdir(urllib_request.url2pathname(path))): # add trailing slash if not present so urljoin doesn't trim # final segment if not url.endswith('/'): url += '/' url = urllib_parse.urljoin(url, 'index.html') logger.debug(' file: URL is directory, getting %s', url) try: resp = _get_html_response(url, session=session) except _NotHTTP: logger.warning( 'Skipping page %s because it looks like an archive, and cannot ' 'be checked by a HTTP HEAD request.', link, ) except _NotHTML as exc: logger.warning( 'Skipping page %s because the %s request got Content-Type: %s.' 'The only supported Content-Type is text/html', link, exc.request_desc, exc.content_type, ) except NetworkConnectionError as exc: _handle_get_page_fail(link, exc) except RetryError as exc: _handle_get_page_fail(link, exc) except SSLError as exc: reason = "There was a problem confirming the ssl certificate: " reason += str(exc) _handle_get_page_fail(link, reason, meth=logger.info) except requests.ConnectionError as exc: _handle_get_page_fail(link, "connection error: {}".format(exc)) except requests.Timeout: _handle_get_page_fail(link, "timed out") else: return _make_html_page(resp, cache_link_parsing=link.cache_link_parsing) return None def _remove_duplicate_links(links): # type: (Iterable[Link]) -> List[Link] """ Return a list of links, with duplicates removed and ordering preserved. """ # We preserve the ordering when removing duplicates because we can. return list(OrderedDict.fromkeys(links)) def group_locations(locations, expand_dir=False): # type: (Sequence[str], bool) -> Tuple[List[str], List[str]] """ Divide a list of locations into two groups: "files" (archives) and "urls." :return: A pair of lists (files, urls). """ files = [] urls = [] # puts the url for the given file path into the appropriate list def sort_path(path): # type: (str) -> None url = path_to_url(path) if mimetypes.guess_type(url, strict=False)[0] == 'text/html': urls.append(url) else: files.append(url) for url in locations: is_local_path = os.path.exists(url) is_file_url = url.startswith('file:') if is_local_path or is_file_url: if is_local_path: path = url else: path = url_to_path(url) if os.path.isdir(path): if expand_dir: path = os.path.realpath(path) for item in os.listdir(path): sort_path(os.path.join(path, item)) elif is_file_url: urls.append(url) else: logger.warning( "Path '%s' is ignored: it is a directory.", path, ) elif os.path.isfile(path): sort_path(path) else: logger.warning( "Url '%s' is ignored: it is neither a file " "nor a directory.", url, ) elif is_url(url): # Only add url with clear scheme urls.append(url) else: logger.warning( "Url '%s' is ignored. It is either a non-existing " "path or lacks a specific scheme.", url, ) return files, urls class CollectedLinks(object): """ Encapsulates the return value of a call to LinkCollector.collect_links(). The return value includes both URLs to project pages containing package links, as well as individual package Link objects collected from other sources. This info is stored separately as: (1) links from the configured file locations, (2) links from the configured find_links, and (3) urls to HTML project pages, as described by the PEP 503 simple repository API. """ def __init__( self, files, # type: List[Link] find_links, # type: List[Link] project_urls, # type: List[Link] ): # type: (...) -> None """ :param files: Links from file locations. :param find_links: Links from find_links. :param project_urls: URLs to HTML project pages, as described by the PEP 503 simple repository API. """ self.files = files self.find_links = find_links self.project_urls = project_urls class LinkCollector(object): """ Responsible for collecting Link objects from all configured locations, making network requests as needed. The class's main method is its collect_links() method. """ def __init__( self, session, # type: PipSession search_scope, # type: SearchScope ): # type: (...) -> None self.search_scope = search_scope self.session = session @classmethod def create(cls, session, options, suppress_no_index=False): # type: (PipSession, Values, bool) -> LinkCollector """ :param session: The Session to use to make requests. :param suppress_no_index: Whether to ignore the --no-index option when constructing the SearchScope object. """ index_urls = [options.index_url] + options.extra_index_urls if options.no_index and not suppress_no_index: logger.debug( 'Ignoring indexes: %s', ','.join(redact_auth_from_url(url) for url in index_urls), ) index_urls = [] # Make sure find_links is a list before passing to create(). find_links = options.find_links or [] search_scope = SearchScope.create( find_links=find_links, index_urls=index_urls, ) link_collector = LinkCollector( session=session, search_scope=search_scope, ) return link_collector @property def find_links(self): # type: () -> List[str] return self.search_scope.find_links def fetch_page(self, location): # type: (Link) -> Optional[HTMLPage] """ Fetch an HTML page containing package links. """ return _get_html_page(location, session=self.session) def collect_links(self, project_name): # type: (str) -> CollectedLinks """Find all available links for the given project name. :return: All the Link objects (unfiltered), as a CollectedLinks object. """ search_scope = self.search_scope index_locations = search_scope.get_index_urls_locations(project_name) index_file_loc, index_url_loc = group_locations(index_locations) fl_file_loc, fl_url_loc = group_locations( self.find_links, expand_dir=True, ) file_links = [ Link(url) for url in itertools.chain(index_file_loc, fl_file_loc) ] # We trust every directly linked archive in find_links find_link_links = [Link(url, '-f') for url in self.find_links] # We trust every url that the user has given us whether it was given # via --index-url or --find-links. # We want to filter out anything that does not have a secure origin. url_locations = [ link for link in itertools.chain( # Mark PyPI indices as "cache_link_parsing == False" -- this # will avoid caching the result of parsing the page for links. (Link(url, cache_link_parsing=False) for url in index_url_loc), (Link(url) for url in fl_url_loc), ) if self.session.is_secure_origin(link) ] url_locations = _remove_duplicate_links(url_locations) lines = [ '{} location(s) to search for versions of {}:'.format( len(url_locations), project_name, ), ] for link in url_locations: lines.append('* {}'.format(link)) logger.debug('\n'.join(lines)) return CollectedLinks( files=file_links, find_links=find_link_links, project_urls=url_locations, )<|fim▁end|>
# type: (Optional[int]) -> Callable[[F], F] raise NotImplementedError
<|file_name|>setup.py<|end_file_name|><|fim▁begin|>from setuptools import setup, find_packages from setuptools.command.test import test class TestCommand(test): def run(self): from tests.runtests import runtests runtests() setup(<|fim▁hole|> long_description=open('README.rst').read(), author='Mikko Hellsing', author_email='mikko@aino.se', license='BSD', url='https://github.com/aino/aino-utkik', packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, cmdclass={"test": TestCommand}, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Framework :: Django', ], )<|fim▁end|>
name='aino-utkik', version='0.9.1', description='Small, clean code with a lazy view dispatcher and class based views for Django.',
<|file_name|>day_06.rs<|end_file_name|><|fim▁begin|>use std::iter::Peekable; use std::str::{Chars, FromStr}; #[derive(Debug, PartialEq)] pub enum Ast { Num(f64), Op(char, Box<Ast>, Box<Ast>), } impl Ast { fn parse_num(chars: &mut Peekable<Chars>) -> Result<Self, ParseAstError> { let mut num = String::new(); while let Some(&char) = chars.peek() { match char { '+' | '*' | '/' => break, '-' if !num.is_empty() => break, _ => { num.push(char); chars.next(); } } } f64::from_str(num.as_str()) .map(Ast::Num) .map_err(|_| ParseAstError) } fn parse_high_priority_op(chars: &mut Peekable<Chars>) -> Option<char> { match chars.peek() { Some(&'*') | Some(&'/') => chars.next(), _ => None, } } fn parse_term(chars: &mut Peekable<Chars>) -> Result<Self, ParseAstError> { let mut root = Ast::parse_num(chars.by_ref()); while let Some(op) = Ast::parse_high_priority_op(chars.by_ref()) { root = Ok(Ast::Op( op, Box::new(root.unwrap()), Box::new(Ast::parse_num(chars.by_ref()).unwrap()), )) } root } fn parse_low_priority_op(chars: &mut Peekable<Chars>) -> Option<char> { match chars.peek() { Some(&'+') | Some(&'-') => chars.next(), _ => None, } } fn parse_expression(chars: &mut Peekable<Chars>) -> Result<Self, ParseAstError> { let mut root = Ast::parse_term(chars.by_ref()); while let Some(op) = Ast::parse_low_priority_op(chars.by_ref()) { root = Ok(Ast::Op( op, Box::new(root.unwrap()), Box::new(Ast::parse_term(chars.by_ref()).unwrap()), )) } root } } impl FromStr for Ast { type Err = ParseAstError; fn from_str(s: &str) -> Result<Self, Self::Err> { let mut chars = s.chars().peekable(); Ast::parse_expression(chars.by_ref()) } } #[derive(Debug, PartialEq)] pub struct ParseAstError; #[cfg(test)] mod tests { use super::*; #[test] fn error() { assert_eq!(Ast::from_str("abc"), Err(ParseAstError)) } #[test] fn number() { assert_eq!(Ast::from_str("4"), Ok(Ast::Num(4.0))) } #[test] fn negative_number() { assert_eq!(Ast::from_str("-5"), Ok(Ast::Num(-5.0))) } #[test] fn addition() { assert_eq!( Ast::from_str("4+5"),<|fim▁hole|> '+', Box::new(Ast::Num(4.0)), Box::new(Ast::Num(5.0)) )) ) } #[test] fn subtraction() { assert_eq!( Ast::from_str("6-9"), Ok(Ast::Op( '-', Box::new(Ast::Num(6.0)), Box::new(Ast::Num(9.0)) )) ) } #[test] fn multiplication() { assert_eq!( Ast::from_str("5*9"), Ok(Ast::Op( '*', Box::new(Ast::Num(5.0)), Box::new(Ast::Num(9.0)) )) ) } #[test] fn division() { assert_eq!( Ast::from_str("33/2"), Ok(Ast::Op( '/', Box::new(Ast::Num(33.0)), Box::new(Ast::Num(2.0)) )) ) } #[test] fn many_operations() { assert_eq!( Ast::from_str("4+3*8-45/9"), Ok(Ast::Op( '-', Box::new(Ast::Op( '+', Box::new(Ast::Num(4.0)), Box::new(Ast::Op( '*', Box::new(Ast::Num(3.0)), Box::new(Ast::Num(8.0)) )) )), Box::new(Ast::Op( '/', Box::new(Ast::Num(45.0)), Box::new(Ast::Num(9.0)) )) )) ) } }<|fim▁end|>
Ok(Ast::Op(
<|file_name|>svcmsg.py<|end_file_name|><|fim▁begin|>import traceback import BigWorld from gui.Scaleform.daapi.view.lobby.messengerBar.NotificationListButton import NotificationListButton from xfw import * import xvm_main.python.config as config from xvm_main.python.logger import * ### @overrideMethod(NotificationListButton, 'as_setStateS') def _NotificationListButton_as_setStateS(base, self, isBlinking, counterValue): notificationsButtonType = config.get('hangar/notificationsButtonType', 'full').lower() if notificationsButtonType == 'none': isBlinking = False<|fim▁hole|> elif notificationsButtonType == 'blink': counterValue = '' base(self, isBlinking, counterValue)<|fim▁end|>
counterValue = ''
<|file_name|>loginService.ts<|end_file_name|><|fim▁begin|><|fim▁hole|>import {Http,Response,ConnectionBackend,Headers,RequestMethod} from '@angular/http'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/toPromise'; import{AppHttpUtil} from '../appUtil/httpUtil'; import {AppPermService} from "./permService"; import {AppUrlConfig} from "../appConfig/urlConfig"; @Injectable() export class AppLoginService { constructor(private httpUtil: AppHttpUtil,private urlConfig:AppUrlConfig){ } /** * 用户登录 */ login(_name:string,_pass:string){ return this.httpUtil.ajax({ url:this.urlConfig.emarketService+'system/login/', method:RequestMethod.Post, body:{ loginName:_name, password:_pass } }); } }<|fim▁end|>
import { Injectable } from '@angular/core';
<|file_name|>update_analytics_instance_details.go<|end_file_name|><|fim▁begin|>// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Analytics API // // Analytics API. // package analytics import ( "github.com/oracle/oci-go-sdk/v46/common" ) // UpdateAnalyticsInstanceDetails Input payload to update an Analytics instance. Fields that are not provided // will not be updated. type UpdateAnalyticsInstanceDetails struct { // Optional description. Description *string `mandatory:"false" json:"description"` // Email address receiving notifications. EmailNotification *string `mandatory:"false" json:"emailNotification"` <|fim▁hole|> // Defined tags for this resource. Each key is predefined and scoped to a // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } func (m UpdateAnalyticsInstanceDetails) String() string { return common.PointerString(m) }<|fim▁end|>
// The license used for the service. LicenseType LicenseTypeEnum `mandatory:"false" json:"licenseType,omitempty"`
<|file_name|>api.py<|end_file_name|><|fim▁begin|>from functools import wraps from itertools import chain from django.db.models import Prefetch, Q from django.urls import Resolver404, resolve from django.utils.functional import cached_property from django.utils.translation import ugettext_lazy as _ from rest_framework.authentication import SessionAuthentication from rest_framework.decorators import action from rest_framework.exceptions import NotFound, ParseError, PermissionDenied, ValidationError from rest_framework.generics import get_object_or_404 from rest_framework.response import Response from rest_framework.viewsets import ReadOnlyModelViewSet, ViewSet from shapely import prepared from shapely.ops import cascaded_union from c3nav.api.utils import get_api_post_data from c3nav.editor.forms import ChangeSetForm, RejectForm from c3nav.editor.models import ChangeSet from c3nav.editor.utils import LevelChildEditUtils, SpaceChildEditUtils from c3nav.editor.views.base import etag_func from c3nav.mapdata.api import api_etag from c3nav.mapdata.models import Area, MapUpdate, Source from c3nav.mapdata.models.geometry.space import POI from c3nav.mapdata.utils.user import can_access_editor class EditorViewSetMixin(ViewSet): def initial(self, request, *args, **kwargs): if not can_access_editor(request): raise PermissionDenied return super().initial(request, *args, **kwargs) def api_etag_with_update_cache_key(**outkwargs): outkwargs.setdefault('cache_kwargs', {})['update_cache_key_match'] = bool def wrapper(func): func = api_etag(**outkwargs)(func) @wraps(func) def wrapped_func(self, request, *args, **kwargs): try: changeset = request.changeset except AttributeError: changeset = ChangeSet.get_for_request(request) request.changeset = changeset update_cache_key = request.changeset.raw_cache_key_without_changes update_cache_key_match = request.GET.get('update_cache_key') == update_cache_key return func(self, request, *args, update_cache_key=update_cache_key, update_cache_key_match=update_cache_key_match, **kwargs) return wrapped_func return wrapper class EditorViewSet(EditorViewSetMixin, ViewSet): """ Editor API /geometries/ returns a list of geojson features, you have to specify ?level=<id> or ?space=<id> /geometrystyles/ returns styling information for all geometry types /bounds/ returns the maximum bounds of the map /{path}/ insert an editor path to get an API represantation of it. POST requests on forms are possible as well """ lookup_field = 'path' lookup_value_regex = r'.+' @staticmethod def _get_level_geometries(level): buildings = level.buildings.all() buildings_geom = cascaded_union([building.geometry for building in buildings]) spaces = {space.pk: space for space in level.spaces.all()} holes_geom = [] for space in spaces.values(): if space.outside: space.geometry = space.geometry.difference(buildings_geom) columns = [column.geometry for column in space.columns.all()] if columns: columns_geom = cascaded_union([column.geometry for column in space.columns.all()]) space.geometry = space.geometry.difference(columns_geom) holes = [hole.geometry for hole in space.holes.all()] if holes: space_holes_geom = cascaded_union(holes) holes_geom.append(space_holes_geom.intersection(space.geometry)) space.geometry = space.geometry.difference(space_holes_geom) for building in buildings: building.original_geometry = building.geometry if holes_geom: holes_geom = cascaded_union(holes_geom) holes_geom_prep = prepared.prep(holes_geom) for obj in buildings: if holes_geom_prep.intersects(obj.geometry): obj.geometry = obj.geometry.difference(holes_geom) results = [] results.extend(buildings) for door in level.doors.all(): results.append(door) results.extend(spaces.values()) return results @staticmethod def _get_levels_pk(request, level): # noinspection PyPep8Naming Level = request.changeset.wrap_model('Level') levels_under = () levels_on_top = () lower_level = level.lower(Level).first() primary_levels = (level,) + ((lower_level,) if lower_level else ()) secondary_levels = Level.objects.filter(on_top_of__in=primary_levels).values_list('pk', 'on_top_of') if lower_level: levels_under = tuple(pk for pk, on_top_of in secondary_levels if on_top_of == lower_level.pk) if True: levels_on_top = tuple(pk for pk, on_top_of in secondary_levels if on_top_of == level.pk) levels = chain([level.pk], levels_under, levels_on_top) return levels, levels_on_top, levels_under @staticmethod def area_sorting_func(area): groups = tuple(area.groups.all()) if not groups: return (0, 0, 0) return (1, groups[0].category.priority, groups[0].hierarchy, groups[0].priority) # noinspection PyPep8Naming @action(detail=False, methods=['get']) @api_etag_with_update_cache_key(etag_func=etag_func, cache_parameters={'level': str, 'space': str}) def geometries(self, request, update_cache_key, update_cache_key_match, *args, **kwargs): Level = request.changeset.wrap_model('Level') Space = request.changeset.wrap_model('Space') Column = request.changeset.wrap_model('Column') Hole = request.changeset.wrap_model('Hole') AltitudeMarker = request.changeset.wrap_model('AltitudeMarker') Building = request.changeset.wrap_model('Building') Door = request.changeset.wrap_model('Door') LocationGroup = request.changeset.wrap_model('LocationGroup') WifiMeasurement = request.changeset.wrap_model('WifiMeasurement') level = request.GET.get('level') space = request.GET.get('space') if level is not None: if space is not None: raise ValidationError('Only level or space can be specified.') level = get_object_or_404(Level.objects.filter(Level.q_for_request(request)), pk=level) edit_utils = LevelChildEditUtils(level, request) if not edit_utils.can_access_child_base_mapdata: raise PermissionDenied levels, levels_on_top, levels_under = self._get_levels_pk(request, level) # don't prefetch groups for now as changesets do not yet work with m2m-prefetches levels = Level.objects.filter(pk__in=levels).filter(Level.q_for_request(request)) # graphnodes_qs = request.changeset.wrap_model('GraphNode').objects.all() levels = levels.prefetch_related( Prefetch('spaces', Space.objects.filter(Space.q_for_request(request)).only( 'geometry', 'level', 'outside' )), Prefetch('doors', Door.objects.filter(Door.q_for_request(request)).only('geometry', 'level')), Prefetch('spaces__columns', Column.objects.filter( Q(access_restriction__isnull=True) | ~Column.q_for_request(request) ).only('geometry', 'space')), Prefetch('spaces__groups', LocationGroup.objects.only( 'color', 'category', 'priority', 'hierarchy', 'category__priority', 'category__allow_spaces' )), Prefetch('buildings', Building.objects.only('geometry', 'level')), Prefetch('spaces__holes', Hole.objects.only('geometry', 'space')), Prefetch('spaces__altitudemarkers', AltitudeMarker.objects.only('geometry', 'space')), Prefetch('spaces__wifi_measurements', WifiMeasurement.objects.only('geometry', 'space')), # Prefetch('spaces__graphnodes', graphnodes_qs) ) levels = {s.pk: s for s in levels} level = levels[level.pk] levels_under = [levels[pk] for pk in levels_under] levels_on_top = [levels[pk] for pk in levels_on_top] # todo: permissions # graphnodes = tuple(chain(*(space.graphnodes.all() # for space in chain(*(level.spaces.all() for level in levels.values()))))) # graphnodes_lookup = {node.pk: node for node in graphnodes} # graphedges = request.changeset.wrap_model('GraphEdge').objects.all() # graphedges = graphedges.filter(Q(from_node__in=graphnodes) | Q(to_node__in=graphnodes)) # graphedges = graphedges.select_related('waytype') # this is faster because we only deserialize graphnode geometries once # missing_graphnodes = graphnodes_qs.filter(pk__in=set(chain(*((edge.from_node_id, edge.to_node_id) # for edge in graphedges)))) # graphnodes_lookup.update({node.pk: node for node in missing_graphnodes}) # for edge in graphedges: # edge._from_node_cache = graphnodes_lookup[edge.from_node_id] # edge._to_node_cache = graphnodes_lookup[edge.to_node_id] # graphedges = [edge for edge in graphedges if edge.from_node.space_id != edge.to_node.space_id] results = chain( *(self._get_level_geometries(l) for l in levels_under), self._get_level_geometries(level), *(self._get_level_geometries(l) for l in levels_on_top), *(space.altitudemarkers.all() for space in level.spaces.all()), *(space.wifi_measurements.all() for space in level.spaces.all()) # graphedges, # graphnodes, ) elif space is not None: space_q_for_request = Space.q_for_request(request) qs = Space.objects.filter(space_q_for_request) space = get_object_or_404(qs.select_related('level', 'level__on_top_of'), pk=space) level = space.level edit_utils = SpaceChildEditUtils(space, request) if not edit_utils.can_access_child_base_mapdata: raise PermissionDenied if request.user_permissions.can_access_base_mapdata: doors = [door for door in level.doors.filter(Door.q_for_request(request)).all() if door.geometry.intersects(space.geometry)] doors_space_geom = cascaded_union([door.geometry for door in doors]+[space.geometry]) levels, levels_on_top, levels_under = self._get_levels_pk(request, level.primary_level) if level.on_top_of_id is not None: levels = chain([level.pk], levels_on_top) other_spaces = Space.objects.filter(space_q_for_request, level__pk__in=levels).only( 'geometry', 'level' ).prefetch_related( Prefetch('groups', LocationGroup.objects.only( 'color', 'category', 'priority', 'hierarchy', 'category__priority', 'category__allow_spaces' ).filter(color__isnull=False)) ) space = next(s for s in other_spaces if s.pk == space.pk) other_spaces = [s for s in other_spaces if s.geometry.intersects(doors_space_geom) and s.pk != space.pk] all_other_spaces = other_spaces if level.on_top_of_id is None: other_spaces_lower = [s for s in other_spaces if s.level_id in levels_under] other_spaces_upper = [s for s in other_spaces if s.level_id in levels_on_top] else: other_spaces_lower = [s for s in other_spaces if s.level_id == level.on_top_of_id] other_spaces_upper = [] other_spaces = [s for s in other_spaces if s.level_id == level.pk] space.bounds = True # deactivated for performance reasons buildings = level.buildings.all() # buildings_geom = cascaded_union([building.geometry for building in buildings]) # for other_space in other_spaces: # if other_space.outside: # other_space.geometry = other_space.geometry.difference(buildings_geom) for other_space in chain(other_spaces, other_spaces_lower, other_spaces_upper): other_space.opacity = 0.4 other_space.color = '#ffffff' for building in buildings: building.opacity = 0.5 else: buildings = [] doors = [] other_spaces = [] other_spaces_lower = [] other_spaces_upper = [] all_other_spaces = [] # todo: permissions if request.user_permissions.can_access_base_mapdata: graphnodes = request.changeset.wrap_model('GraphNode').objects.all() graphnodes = graphnodes.filter((Q(space__in=all_other_spaces)) | Q(space__pk=space.pk)) space_graphnodes = tuple(node for node in graphnodes if node.space_id == space.pk) graphedges = request.changeset.wrap_model('GraphEdge').objects.all() space_graphnodes_ids = tuple(node.pk for node in space_graphnodes) graphedges = graphedges.filter(Q(from_node__pk__in=space_graphnodes_ids) | Q(to_node__pk__in=space_graphnodes_ids)) graphedges = graphedges.select_related('from_node', 'to_node', 'waytype').only( 'from_node__geometry', 'to_node__geometry', 'waytype__color' ) else: graphnodes = [] graphedges = [] areas = space.areas.filter(Area.q_for_request(request)).only( 'geometry', 'space' ).prefetch_related( Prefetch('groups', LocationGroup.objects.order_by( '-category__priority', '-hierarchy', '-priority' ).only( 'color', 'category', 'priority', 'hierarchy', 'category__priority', 'category__allow_areas' )) ) for area in areas: area.opacity = 0.5 areas = sorted(areas, key=self.area_sorting_func) results = chain( buildings, other_spaces_lower, doors, other_spaces, [space], areas, space.holes.all().only('geometry', 'space'), space.stairs.all().only('geometry', 'space'), space.ramps.all().only('geometry', 'space'), space.obstacles.all().only('geometry', 'space', 'color'), space.lineobstacles.all().only('geometry', 'width', 'space', 'color'), space.columns.all().only('geometry', 'space'), space.altitudemarkers.all().only('geometry', 'space'), space.wifi_measurements.all().only('geometry', 'space'), space.pois.filter(POI.q_for_request(request)).only('geometry', 'space').prefetch_related( Prefetch('groups', LocationGroup.objects.only( 'color', 'category', 'priority', 'hierarchy', 'category__priority', 'category__allow_pois' ).filter(color__isnull=False)) ), other_spaces_upper, graphedges, graphnodes ) else: raise ValidationError('No level or space specified.') return Response(list(chain( [('update_cache_key', update_cache_key)], (self.conditional_geojson(obj, update_cache_key_match) for obj in results) ))) def conditional_geojson(self, obj, update_cache_key_match): if update_cache_key_match and not obj._affected_by_changeset: return obj.get_geojson_key() result = obj.to_geojson(instance=obj) result['properties']['changed'] = obj._affected_by_changeset return result @action(detail=False, methods=['get']) @api_etag(etag_func=MapUpdate.current_cache_key, cache_parameters={}) def geometrystyles(self, request, *args, **kwargs): return Response({ 'building': '#aaaaaa', 'space': '#eeeeee', 'hole': 'rgba(255, 0, 0, 0.3)', 'door': '#ffffff', 'area': '#55aaff', 'stair': '#a000a0', 'ramp': 'rgba(160, 0, 160, 0.2)', 'obstacle': '#999999', 'lineobstacle': '#999999', 'column': 'rgba(0, 0, 50, 0.3)', 'poi': '#4488cc', 'shadow': '#000000', 'graphnode': '#009900', 'graphedge': '#00CC00', 'altitudemarker': '#0000FF', 'wifimeasurement': '#DDDD00', }) @action(detail=False, methods=['get']) @api_etag(etag_func=etag_func, cache_parameters={}) def bounds(self, request, *args, **kwargs): return Response({ 'bounds': Source.max_bounds(), }) def __getattr__(self, name): # allow POST and DELETE methods for the editor API if getattr(self, 'get', None).__name__ in ('list', 'retrieve'): if name == 'post' and (self.resolved.url_name.endswith('.create') or self.resolved.url_name.endswith('.edit')): return self.post_or_delete if name == 'delete' and self.resolved.url_name.endswith('.edit'): return self.post_or_delete raise AttributeError def post_or_delete(self, request, *args, **kwargs): # django-rest-framework doesn't automatically do this for logged out requests SessionAuthentication().enforce_csrf(request) return self.retrieve(request, *args, **kwargs) def list(self, request, *args, **kwargs): return self.retrieve(request, *args, **kwargs) @cached_property def resolved(self): resolved = None path = self.kwargs.get('path', '') if path: try: resolved = resolve('/editor/'+path+'/') except Resolver404: pass if not resolved: try: resolved = resolve('/editor/'+path) except Resolver404: pass <|fim▁hole|> self.request.sub_resolver_match = resolved return resolved def retrieve(self, request, *args, **kwargs): resolved = self.resolved if not resolved: raise NotFound(_('No matching editor view endpoint found.')) if not getattr(resolved.func, 'api_hybrid', False): raise NotFound(_('Matching editor view point does not provide an API.')) get_api_post_data(request) response = resolved.func(request, api=True, *resolved.args, **resolved.kwargs) return response class ChangeSetViewSet(EditorViewSetMixin, ReadOnlyModelViewSet): """ List and manipulate changesets. All lists are ordered by last update descending. Use ?offset= to specify an offset. Don't forget to set X-Csrftoken for POST requests! / lists all changesets this user can see. /user/ lists changesets by this user /reviewing/ lists changesets this user is currently reviewing. /pending_review/ lists changesets this user can review. /current/ returns the current changeset. /direct_editing/ POST to activate direct editing (if available). /deactive/ POST to deactivate current changeset or deactivate direct editing /{id}/changes/ list all changes of a given changeset. /{id}/activate/ POST to activate given changeset. /{id}/edit/ POST to edit given changeset (provide title and description in POST data). /{id}/restore_object/ POST to restore an object deleted by this changeset (provide change id as id in POST data). /{id}/delete/ POST to delete given changeset. /{id}/propose/ POST to propose given changeset. /{id}/unpropose/ POST to unpropose given changeset. /{id}/review/ POST to review given changeset. /{id}/reject/ POST to reject given changeset (provide reject=1 in POST data for final rejection). /{id}/unreject/ POST to unreject given changeset. /{id}/apply/ POST to accept and apply given changeset. """ queryset = ChangeSet.objects.all() def get_queryset(self): return ChangeSet.qs_for_request(self.request).select_related('last_update', 'last_state_update', 'last_change') def _list(self, request, qs): offset = 0 if 'offset' in request.GET: if not request.GET['offset'].isdigit(): raise ParseError('offset has to be a positive integer.') offset = int(request.GET['offset']) return Response([obj.serialize() for obj in qs.order_by('-last_update')[offset:offset+20]]) def list(self, request, *args, **kwargs): return self._list(request, self.get_queryset()) @action(detail=False, methods=['get']) def user(self, request, *args, **kwargs): return self._list(request, self.get_queryset().filter(author=request.user)) @action(detail=False, methods=['get']) def reviewing(self, request, *args, **kwargs): return self._list(request, self.get_queryset().filter( assigned_to=request.user, state='review' )) @action(detail=False, methods=['get']) def pending_review(self, request, *args, **kwargs): return self._list(request, self.get_queryset().filter( state__in=('proposed', 'reproposed'), )) def retrieve(self, request, *args, **kwargs): return Response(self.get_object().serialize()) @action(detail=False, methods=['get']) def current(self, request, *args, **kwargs): changeset = ChangeSet.get_for_request(request) return Response({ 'direct_editing': changeset.direct_editing, 'changeset': changeset.serialize() if changeset.pk else None, }) @action(detail=False, methods=['post']) def direct_editing(self, request, *args, **kwargs): # django-rest-framework doesn't automatically do this for logged out requests SessionAuthentication().enforce_csrf(request) if not ChangeSet.can_direct_edit(request): raise PermissionDenied(_('You don\'t have the permission to activate direct editing.')) changeset = ChangeSet.get_for_request(request) if changeset.pk is not None: raise PermissionDenied(_('You cannot activate direct editing if you have an active changeset.')) request.session['direct_editing'] = True return Response({ 'success': True, }) @action(detail=False, methods=['post']) def deactivate(self, request, *args, **kwargs): # django-rest-framework doesn't automatically do this for logged out requests SessionAuthentication().enforce_csrf(request) request.session.pop('changeset', None) request.session['direct_editing'] = False return Response({ 'success': True, }) @action(detail=True, methods=['get']) def changes(self, request, *args, **kwargs): changeset = self.get_object() changeset.fill_changes_cache() return Response([obj.serialize() for obj in changeset.iter_changed_objects()]) @action(detail=True, methods=['post']) def activate(self, request, *args, **kwargs): changeset = self.get_object() with changeset.lock_to_edit(request) as changeset: if not changeset.can_activate(request): raise PermissionDenied(_('You can not activate this change set.')) changeset.activate(request) return Response({'success': True}) @action(detail=True, methods=['post']) def edit(self, request, *args, **kwargs): changeset = self.get_object() with changeset.lock_to_edit(request) as changeset: if not changeset.can_edit(request): raise PermissionDenied(_('You cannot edit this change set.')) form = ChangeSetForm(instance=changeset, data=get_api_post_data(request)) if not form.is_valid(): raise ParseError(form.errors) changeset = form.instance update = changeset.updates.create(user=request.user, title=changeset.title, description=changeset.description) changeset.last_update = update changeset.save() return Response({'success': True}) @action(detail=True, methods=['post']) def restore_object(self, request, *args, **kwargs): data = get_api_post_data(request) if 'id' not in data: raise ParseError('Missing id.') restore_id = data['id'] if isinstance(restore_id, str) and restore_id.isdigit(): restore_id = int(restore_id) if not isinstance(restore_id, int): raise ParseError('id needs to be an integer.') changeset = self.get_object() with changeset.lock_to_edit(request) as changeset: if not changeset.can_edit(request): raise PermissionDenied(_('You can not edit changes on this change set.')) try: changed_object = changeset.changed_objects_set.get(pk=restore_id) except Exception: raise NotFound('could not find object.') try: changed_object.restore() except PermissionError: raise PermissionDenied(_('You cannot restore this object, because it depends on ' 'a deleted object or it would violate a unique contraint.')) return Response({'success': True}) @action(detail=True, methods=['post']) def propose(self, request, *args, **kwargs): if not request.user.is_authenticated: raise PermissionDenied(_('You need to log in to propose changes.')) changeset = self.get_object() with changeset.lock_to_edit(request) as changeset: if not changeset.title or not changeset.description: raise PermissionDenied(_('You need to add a title an a description to propose this change set.')) if not changeset.can_propose(request): raise PermissionDenied(_('You cannot propose this change set.')) changeset.propose(request.user) return Response({'success': True}) @action(detail=True, methods=['post']) def unpropose(self, request, *args, **kwargs): changeset = self.get_object() with changeset.lock_to_edit(request) as changeset: if not changeset.can_unpropose(request): raise PermissionDenied(_('You cannot unpropose this change set.')) changeset.unpropose(request.user) return Response({'success': True}) @action(detail=True, methods=['post']) def review(self, request, *args, **kwargs): changeset = self.get_object() with changeset.lock_to_edit(request) as changeset: if not changeset.can_start_review(request): raise PermissionDenied(_('You cannot review these changes.')) changeset.start_review(request.user) return Response({'success': True}) @action(detail=True, methods=['post']) def reject(self, request, *args, **kwargs): changeset = self.get_object() with changeset.lock_to_edit(request) as changeset: if not not changeset.can_end_review(request): raise PermissionDenied(_('You cannot reject these changes.')) form = RejectForm(get_api_post_data(request)) if not form.is_valid(): raise ParseError(form.errors) changeset.reject(request.user, form.cleaned_data['comment'], form.cleaned_data['final']) return Response({'success': True}) @action(detail=True, methods=['post']) def unreject(self, request, *args, **kwargs): changeset = self.get_object() with changeset.lock_to_edit(request) as changeset: if not changeset.can_unreject(request): raise PermissionDenied(_('You cannot unreject these changes.')) changeset.unreject(request.user) return Response({'success': True}) @action(detail=True, methods=['post']) def apply(self, request, *args, **kwargs): changeset = self.get_object() with changeset.lock_to_edit(request) as changeset: if not changeset.can_end_review(request): raise PermissionDenied(_('You cannot accept and apply these changes.')) changeset.apply(request.user) return Response({'success': True}) @action(detail=True, methods=['post']) def delete(self, request, *args, **kwargs): changeset = self.get_object() with changeset.lock_to_edit(request) as changeset: if not changeset.can_delete(request): raise PermissionDenied(_('You cannot delete this change set.')) changeset.delete() return Response({'success': True})<|fim▁end|>
<|file_name|>setup.py<|end_file_name|><|fim▁begin|>from setuptools import setup, find_packages setup( name="gevent-websocket", version="0.3.6", description="Websocket handler for the gevent pywsgi server, a Python network library", long_description=open("README.rst").read(), author="Jeffrey Gelens", author_email="jeffrey@noppo.pro", license="BSD", url="https://bitbucket.org/Jeffrey/gevent-websocket", download_url="https://bitbucket.org/Jeffrey/gevent-websocket", install_requires=("gevent", "greenlet"), packages=find_packages(exclude=["examples","tests"]), classifiers=[ "Development Status :: 4 - Beta",<|fim▁hole|> "Operating System :: POSIX", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules", "Intended Audience :: Developers", ], )<|fim▁end|>
"License :: OSI Approved :: BSD License", "Programming Language :: Python", "Operating System :: MacOS :: MacOS X",
<|file_name|>footer.component.ts<|end_file_name|><|fim▁begin|>import {Component} from "@angular/core"; @Component({ moduleId: module.id, selector: 'ptc-footer',<|fim▁hole|> }<|fim▁end|>
templateUrl: 'footer.component.html' }) export class FooterComponent{
<|file_name|>mastakilla_spider.py<|end_file_name|><|fim▁begin|>from scrapy.contrib.spiders import CrawlSpider, Rule from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor from scrapy.selector import Selector from lyricwiki.items import LyricWikiItem class LyricWikiSpider(CrawlSpider): name = "mastakilla" #CHANGE NAME allowed_domains = ["lyrics.wikia.com"] start_urls = [ <|fim▁hole|> rules = ( #CHANGE REGEX Rule(SgmlLinkExtractor(allow=('/Masta_Killa.*',),restrict_xpaths=('//ol/li',)), callback='parse_item', follow=True), ) def parse_item(self, response): sel = Selector(response) info = sel.xpath('//div[@class="mw-content-ltr"]') item = LyricWikiItem() item['title'] = sel.xpath('//header[@id="WikiaPageHeader"]/h1/text()').extract() item['artist'] = info.xpath('b/a/text()').extract() item['album'] = info.xpath('i/a/text()').extract() item['lyrics'] = sel.xpath('//div[@class="lyricbox"]/text()').extract() return item<|fim▁end|>
"http://lyrics.wikia.com/Masta_Killa", #CHANGE URL ]
<|file_name|>score.py<|end_file_name|><|fim▁begin|>""" @author: Nikhith !! """ from pycricbuzz import Cricbuzz import json import sys """ Writing a CLI for Live score """ try: cric_obj = Cricbuzz() # cric_obj contains object instance of Cricbuzz Class matches = cric_obj.matches() except: print "Connection dobhindhi bey!" sys.exit(0) # matches func is returning List of dictionaries """ Key items in match dict : 1) status -- ex) Starts on Jun 15 at 09:30 GMT 2) mnum -- ex) 2nd Semi-Final (A2 VS B1) 3) mchdesc-- ex) BAN vs IND 4) srs -- ex) ICC Champions Trophy, 2017 5) mchstate- ex) preview / abandon / Result / complete 6) type -- ex) ODI 7) id -- ex) 4 / 6 (anything random given) """ """CLI must contain commands for -- current matches -- selecting match by match id -- getCommentary """ def upcomingmatches(): """Prints upcoming matches list """ count = 1 for match in matches: if match['mchstate'] == "preview": print str(count)+". "+str(match['mchdesc'])+ " - "+ str(match['srs'])+"- - "+str(match['status']) count = count + 1 <|fim▁hole|>def currentlive(): """Prints Current LIVE MATCHES""" count = 1 for match in matches: #print str(match['mchdesc']) + " match id: " + str(match['mchstate']) if (match['mchstate'] == "innings break" ) : print str(match['mchdesc'])+" match id: "+str(match['id']) count = count + 1 if (match['mchstate'] == "inprogress" ) : print str(match['mchdesc'])+" match id: "+str(match['id']) count = count + 1 if match['mchstate'] == "delay": print str(match['mchdesc'])+" -> match has been delayed due to rain..! Enjoy the drizzle..!!" if count == 1: print "\nNO LIVE MATCHES RIGHT NOW!\n" print "UPCOMING MATCHES TODAY!" upcomingmatches() else: id = input("Enter corresponding match id : ") gotolive(id) return id def calculate_runrate(runs, overs): balls = str(overs) arr = balls.split('.') if len(arr) == 2: rr = float(int(arr[0])*6)+int(arr[1]) else: rr = float(int(arr[0])*6) return (float(runs)/rr)*6 def gotolive(matchid): batobj = cric_obj.livescore(matchid)['batting'] bowlobj = cric_obj.livescore(matchid)['bowling'] print "\n "+str(batobj['team'])+" vs "+str(bowlobj['team'])+"\n" print " "+str(cric_obj.livescore(matchid)['matchinfo']['status'])+"\n" if (bowlobj['score'] == []): print "1st INNINGS: "+str(batobj['team'])+" => "+str(batobj['score'][0]['runs'])+"/"+str(batobj['score'][0]['wickets'])+" ("+str(batobj['score'][0]['overs'])+" Overs)" print "Batting:" try: print " " + str(batobj['batsman'][0]['name']) + " : " + str(batobj['batsman'][0]['runs']) + " (" + str(batobj['batsman'][0]['balls']) + ")" print " " + str(batobj['batsman'][1]['name']) + " : " + str(batobj['batsman'][1]['runs']) + " (" + str(batobj['batsman'][1]['balls']) + ")" except: print "Wicket!!!!" print "Bowling:" print " " + str(bowlobj['bowler'][0]['name']) + " : " + str(bowlobj['bowler'][0]['runs']) + " /" + str(bowlobj['bowler'][0]['wickets']) + " (" + str(bowlobj['bowler'][0]['overs']) + ")" print " " + str(bowlobj['bowler'][1]['name']) + " : " + str(bowlobj['bowler'][1]['runs']) + " /" + str(bowlobj['bowler'][1]['wickets']) + " (" + str(bowlobj['bowler'][1]['overs']) + ")" print "Runrate:" print ' {:1.2f}'.format(calculate_runrate(str(batobj['score'][0]['runs']),str(batobj['score'][0]['overs']))) else: print "1st INNINGS: "+str(bowlobj['team'])+" => "+str(bowlobj['score'][0]['runs'])+"/"+str(bowlobj['score'][0]['wickets'])+" ("+str(bowlobj['score'][0]['overs'])+" Overs)" print "2nd INNINGS: "+str(batobj['team'])+" => "+str(batobj['score'][0]['runs'])+"/"+str(batobj['score'][0]['wickets'])+" ("+str(batobj['score'][0]['overs'])+" Overs)" print "Batting:" try: print " "+str(batobj['batsman'][0]['name'])+" : "+str(batobj['batsman'][0]['runs'])+" ("+str(batobj['batsman'][0]['balls'])+")" print " " + str(batobj['batsman'][1]['name']) + " : " + str(batobj['batsman'][1]['runs']) + " (" + str(batobj['batsman'][1]['balls']) + ")" except: print "Wicket!!" print "Bowling:" print " " + str(bowlobj['bowler'][0]['name']) + " : " + str(bowlobj['bowler'][0]['runs'])+" /"+str(bowlobj['bowler'][0]['wickets']) + " (" + str(bowlobj['bowler'][0]['overs']) + ")" print " " + str(bowlobj['bowler'][1]['name']) + " : " + str(bowlobj['bowler'][1]['runs']) + " /" + str(bowlobj['bowler'][1]['wickets']) + " (" + str(bowlobj['bowler'][1]['overs']) + ")" print "Summary:" print " " + str(cric_obj.livescore(matchid)['matchinfo']['status']) def last12Balls(): pass def commentary(matchid): print "\nCommentary: " try: for i in range(6): print " "+str(cric_obj.commentary(matchid)['commentary'][i]) print "************************************************************************************************" except: print "No running commentary.. now..!!" if __name__ == '__main__': matchid=currentlive() commentary(matchid)<|fim▁end|>
<|file_name|>voice_message.py<|end_file_name|><|fim▁begin|>#!/usr/bin/env python import sys, os sys.path.append(os.path.join(os.path.dirname(__file__), '..')) import messagebird # ACCESS_KEY = '' # MESSAGE_ID = '' try: ACCESS_KEY except NameError: print('You need to set an ACCESS_KEY constant in this file') sys.exit(1) try: MESSAGE_ID except NameError: print('You need to set a MESSAGE_ID constant in this file') sys.exit(1) try: # Create a MessageBird client with the specified ACCESS_KEY. client = messagebird.Client(ACCESS_KEY) # Fetch the VoiceMessage object for the specified MESSAGE_ID. vmsg = client.voice_message(MESSAGE_ID) # Print the object information. print('\nThe following information was returned as a VoiceMessage object:\n') print(' id : %s' % vmsg.id) print(' href : %s' % vmsg.href) print(' originator : %s' % vmsg.originator) print(' body : %s' % vmsg.body) print(' reference : %s' % vmsg.reference) print(' language : %s' % vmsg.language)<|fim▁hole|> print(' voice : %s' % vmsg.voice) print(' repeat : %s' % vmsg.repeat) print(' ifMachine : %s' % vmsg.ifMachine) print(' scheduledDatetime : %s' % vmsg.scheduledDatetime) print(' createdDatetime : %s' % vmsg.createdDatetime) print(' recipients : %s\n' % vmsg.recipients) except messagebird.client.ErrorException as e: print('\nAn error occured while requesting a VoiceMessage object:\n') for error in e.errors: print(' code : %d' % error.code) print(' description : %s' % error.description) print(' parameter : %s\n' % error.parameter)<|fim▁end|>
<|file_name|>MemStream.C<|end_file_name|><|fim▁begin|>/***********************************************************************<|fim▁hole|> This is OPEN SOURCE SOFTWARE governed by the Gnu General Public License (GPL) version 3, as described at www.opensource.org. ***********************************************************************/ #include <iostream> #include "MemStream.H" using namespace std; BOOM::MemStream::MemStream(const char *p) : p(p) { } BOOM::String BOOM::MemStream::readLine() { const char *q=p; while(true) switch(*q) { case '\n': case '\0': goto end; default: ++q; } end: const char *oldP=p; unsigned length=q-p; p=q+1; return BOOM::String(oldP,length); } bool BOOM::MemStream::eof() { return *p=='\0'; }<|fim▁end|>
MemStream.C BOOM : Bioinformatics Object Oriented Modules Copyright (C)2012 William H. Majoros (martiandna@gmail.com).
<|file_name|>util.go<|end_file_name|><|fim▁begin|>package metrics import ( "bufio" "fmt" "os" "reflect" "strings" ) // Combine two maps, with the second one overriding duplicate values. func combine(original, override map[string]string) map[string]string { // We know the size must be at least the length of the existing tag map, but // since values can be overridden we cannot assume the length is the sum of // both inputs. combined := make(map[string]string, len(original)) for k, v := range original { combined[k] = v } for k, v := range override { combined[k] = v } return combined } // cloneTagsWithMap clones the original string slice and appends the new tags in the map func cloneTagsWithMap(original []string, newTags map[string]string) []string { combined := make([]string, len(original)+len(newTags)) copy(combined, original) <|fim▁hole|> i++ } return combined } // Converts a map to an array of strings like `key:value`. func mapToStrings(tagMap map[string]string) []string { tags := make([]string, 0, len(tagMap)) for k, v := range tagMap { tags = append(tags, buildTag(k, v)) } return tags } func buildTag(k, v string) string { var b strings.Builder b.Grow(len(k) + len(v) + 1) b.WriteString(k) b.WriteByte(':') b.WriteString(v) return b.String() } // convertType converts a value into an specific type if possible, otherwise // panics. The returned interface is guaranteed to cast properly. func convertType(value interface{}, toType reflect.Type) interface{} { v := reflect.Indirect(reflect.ValueOf(value)) if !v.Type().ConvertibleTo(toType) { panic(fmt.Sprintf("cannot convert %v to %v", v.Type(), toType)) } return v.Convert(toType).Interface() } // toFloat64 converts a value into a float64 if possible, otherwise panics. func toFloat64(value interface{}) float64 { return convertType(value, reflect.TypeOf(float64(0.0))).(float64) } // getBlurb returns a line of text from the given file and line number. Useful // for additional context in stack traces. func getBlurb(fname string, lineno int) string { file, err := os.Open(fname) if err != nil { return "" } defer file.Close() scanner := bufio.NewScanner(file) current := 1 var blurb string for scanner.Scan() { if current == lineno { blurb = strings.Trim(scanner.Text(), " \t") break } current++ } return blurb }<|fim▁end|>
i := len(original) for k, v := range newTags { combined[i] = buildTag(k, v)
<|file_name|>ex03.py<|end_file_name|><|fim▁begin|># https://www.w3resource.com/python-exercises/ # 3. Write a Python program to display the current date and time. # Sample Output : # Current date and time : # 2014-07-05 14:34:14 import datetime<|fim▁hole|> print now.strftime("%Y-%m-%d %H:%M:%S")<|fim▁end|>
now = datetime.datetime.now()
<|file_name|>symbols.py<|end_file_name|><|fim▁begin|># Copyright 2021 The Cirq Developers # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # This is more of a placeholder for now, we can add # official color schemes in follow-ups. import abc import dataclasses from typing import Iterable, List, Optional import cirq from cirq.protocols.circuit_diagram_info_protocol import CircuitDiagramInfoArgs @dataclasses.dataclass<|fim▁hole|> labels: List[str] colors: List[str] @staticmethod def unknown_operation(num_qubits: int) -> 'SymbolInfo': """Generates a SymbolInfo object for an unknown operation. Args: num_qubits: the number of qubits in the operation """ symbol_info = SymbolInfo([], []) for _ in range(num_qubits): symbol_info.colors.append('gray') symbol_info.labels.append('?') return symbol_info class SymbolResolver(metaclass=abc.ABCMeta): """Abstract class providing the interface for users to specify information about how a particular symbol should be displayed in the 3D circuit """ def __call__(self, operation: cirq.Operation) -> Optional[SymbolInfo]: return self.resolve(operation) @abc.abstractmethod def resolve(self, operation: cirq.Operation) -> Optional[SymbolInfo]: """Converts cirq.Operation objects into SymbolInfo objects for serialization.""" class DefaultResolver(SymbolResolver): """Default symbol resolver implementation. Takes information from circuit_diagram_info, if unavailable, returns information representing an unknown symbol. """ _SYMBOL_COLORS = { '@': 'black', 'H': 'yellow', 'I': 'orange', 'X': 'black', 'Y': 'pink', 'Z': 'cyan', 'S': '#90EE90', 'T': '#CBC3E3', } def resolve(self, operation: cirq.Operation) -> Optional[SymbolInfo]: """Checks for the _circuit_diagram_info attribute of the operation, and if it exists, build the symbol information from it. Otherwise, builds symbol info for an unknown operation. Args: operation: the cirq.Operation object to resolve """ try: info = cirq.circuit_diagram_info(operation) except TypeError: return SymbolInfo.unknown_operation(cirq.num_qubits(operation)) wire_symbols = info.wire_symbols symbol_exponent = info._wire_symbols_including_formatted_exponent( CircuitDiagramInfoArgs.UNINFORMED_DEFAULT ) symbol_info = SymbolInfo(list(symbol_exponent), []) for symbol in wire_symbols: symbol_info.colors.append(DefaultResolver._SYMBOL_COLORS.get(symbol, 'gray')) return symbol_info DEFAULT_SYMBOL_RESOLVERS: Iterable[SymbolResolver] = tuple([DefaultResolver()]) def resolve_operation(operation: cirq.Operation, resolvers: Iterable[SymbolResolver]) -> SymbolInfo: """Builds a SymbolInfo object based off of a designated operation and list of resolvers. The latest resolver takes precendent. Args: operation: the cirq.Operation object to resolve resolvers: a list of SymbolResolvers which provides instructions on how to build SymbolInfo objects. Raises: ValueError: if the operation cannot be resolved into a symbol. """ symbol_info = None for resolver in resolvers: info = resolver(operation) if info is not None: symbol_info = info if symbol_info is None: raise ValueError(f'Cannot resolve operation: {operation}') return symbol_info class Operation3DSymbol: def __init__(self, wire_symbols, location_info, color_info, moment): """Gathers symbol information from an operation and builds an object to represent it in 3D. Args: wire_symbols: a list of symbols taken from circuit_diagram_info() that will be used to represent the operation in the 3D circuit. location_info: A list of coordinates for each wire_symbol. The index of the coordinate tuple in the location_info list must correspond with the index of the symbol in the wire_symbols list. color_info: a list representing the desired color of the symbol(s). These will also correspond to index of the symbol in the wire_symbols list. moment: the moment where the symbol should be. """ self.wire_symbols = wire_symbols self.location_info = location_info self.color_info = color_info self.moment = moment def to_typescript(self): return { 'wire_symbols': list(self.wire_symbols), 'location_info': self.location_info, 'color_info': self.color_info, 'moment': self.moment, }<|fim▁end|>
class SymbolInfo: """Organizes information about a symbol."""
<|file_name|>test_watch_tasks.py<|end_file_name|><|fim▁begin|># -*- coding: utf-8 -*- # Copyright (C) 2014-present Taiga Agile LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. import pytest import json from django.urls import reverse from .. import factories as f pytestmark = pytest.mark.django_db def test_watch_task(client): user = f.UserFactory.create() task = f.create_task(owner=user, milestone=None) f.MembershipFactory.create(project=task.project, user=user, is_admin=True) url = reverse("tasks-watch", args=(task.id,)) client.login(user) response = client.post(url) assert response.status_code == 200 def test_unwatch_task(client): user = f.UserFactory.create() task = f.create_task(owner=user, milestone=None) f.MembershipFactory.create(project=task.project, user=user, is_admin=True) url = reverse("tasks-watch", args=(task.id,)) client.login(user) response = client.post(url) assert response.status_code == 200 def test_list_task_watchers(client): user = f.UserFactory.create() task = f.TaskFactory(owner=user) f.MembershipFactory.create(project=task.project, user=user, is_admin=True) f.WatchedFactory.create(content_object=task, user=user) url = reverse("task-watchers-list", args=(task.id,)) client.login(user) response = client.get(url) assert response.status_code == 200 assert response.data[0]['id'] == user.id def test_get_task_watcher(client): user = f.UserFactory.create() task = f.TaskFactory(owner=user) f.MembershipFactory.create(project=task.project, user=user, is_admin=True) watch = f.WatchedFactory.create(content_object=task, user=user) url = reverse("task-watchers-detail", args=(task.id, watch.user.id)) client.login(user) response = client.get(url) assert response.status_code == 200 assert response.data['id'] == watch.user.id def test_get_task_watchers(client): user = f.UserFactory.create() task = f.TaskFactory(owner=user) f.MembershipFactory.create(project=task.project, user=user, is_admin=True) url = reverse("tasks-detail", args=(task.id,)) f.WatchedFactory.create(content_object=task, user=user) client.login(user) response = client.get(url) assert response.status_code == 200 assert response.data['watchers'] == [user.id] assert response.data['total_watchers'] == 1 def test_get_task_is_watcher(client): user = f.UserFactory.create() task = f.create_task(owner=user, milestone=None) f.MembershipFactory.create(project=task.project, user=user, is_admin=True) url_detail = reverse("tasks-detail", args=(task.id,)) url_watch = reverse("tasks-watch", args=(task.id,)) url_unwatch = reverse("tasks-unwatch", args=(task.id,)) <|fim▁hole|> assert response.status_code == 200 assert response.data['watchers'] == [] assert response.data['is_watcher'] == False response = client.post(url_watch) assert response.status_code == 200 response = client.get(url_detail) assert response.status_code == 200 assert response.data['watchers'] == [user.id] assert response.data['is_watcher'] == True response = client.post(url_unwatch) assert response.status_code == 200 response = client.get(url_detail) assert response.status_code == 200 assert response.data['watchers'] == [] assert response.data['is_watcher'] == False def test_remove_task_watcher(client): user = f.UserFactory.create() project = f.ProjectFactory.create() task = f.TaskFactory(project=project, user_story=None, status__project=project, milestone__project=project) task.add_watcher(user) role = f.RoleFactory.create(project=project, permissions=['modify_task', 'view_tasks']) f.MembershipFactory.create(project=project, user=user, role=role) url = reverse("tasks-detail", args=(task.id,)) client.login(user) data = {"version": task.version, "watchers": []} response = client.json.patch(url, json.dumps(data)) assert response.status_code == 200 assert response.data['watchers'] == [] assert response.data['is_watcher'] == False<|fim▁end|>
client.login(user) response = client.get(url_detail)
<|file_name|>database.js<|end_file_name|><|fim▁begin|>//// config/database.js module.exports = { url: 'mongodb://gaurav:gaurav@dogen.mongohq.com:10056/cmpe275' <|fim▁hole|><|fim▁end|>
};
<|file_name|>IpcClient.cpp<|end_file_name|><|fim▁begin|>/* * synergy -- mouse and keyboard sharing utility * Copyright (C) 2012 Bolton Software Ltd. * Copyright (C) 2012 Nick Bolton * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file COPYING that should have accompanied this file. * * This package is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "IpcClient.h" #include <QTcpSocket> #include <QHostAddress> #include <iostream> #include <QTimer><|fim▁hole|>#include "Ipc.h" IpcClient::IpcClient() : m_ReaderStarted(false), m_Enabled(false) { m_Socket = new QTcpSocket(this); connect(m_Socket, SIGNAL(connected()), this, SLOT(connected())); connect(m_Socket, SIGNAL(error(QAbstractSocket::SocketError)), this, SLOT(error(QAbstractSocket::SocketError))); m_Reader = new IpcReader(m_Socket); connect(m_Reader, SIGNAL(readLogLine(const QString&)), this, SLOT(handleReadLogLine(const QString&))); } IpcClient::~IpcClient() { } void IpcClient::connected() { char typeBuf[1]; typeBuf[0] = kIpcClientGui; sendHello(); infoMessage("connection established"); } void IpcClient::connectToHost() { m_Enabled = true; infoMessage("connecting to service..."); m_Socket->connectToHost(QHostAddress(QHostAddress::LocalHost), IPC_PORT); if (!m_ReaderStarted) { m_Reader->start(); m_ReaderStarted = true; } } void IpcClient::disconnectFromHost() { infoMessage("service disconnect"); m_Reader->stop(); m_Socket->close(); } void IpcClient::error(QAbstractSocket::SocketError error) { QString text; switch (error) { case 0: text = "connection refused"; break; case 1: text = "remote host closed"; break; default: text = QString("code=%1").arg(error); break; } errorMessage(QString("ipc connection error, %1").arg(text)); QTimer::singleShot(1000, this, SLOT(retryConnect())); } void IpcClient::retryConnect() { if (m_Enabled) { connectToHost(); } } void IpcClient::sendHello() { QDataStream stream(m_Socket); stream.writeRawData(kIpcMsgHello, 4); char typeBuf[1]; typeBuf[0] = kIpcClientGui; stream.writeRawData(typeBuf, 1); } void IpcClient::sendCommand(const QString& command, bool elevate) { QDataStream stream(m_Socket); stream.writeRawData(kIpcMsgCommand, 4); std::string stdStringCommand = command.toStdString(); const char* charCommand = stdStringCommand.c_str(); int length = strlen(charCommand); char lenBuf[4]; intToBytes(length, lenBuf, 4); stream.writeRawData(lenBuf, 4); stream.writeRawData(charCommand, length); char elevateBuf[1]; elevateBuf[0] = elevate ? 1 : 0; stream.writeRawData(elevateBuf, 1); } void IpcClient::handleReadLogLine(const QString& text) { readLogLine(text); } // TODO: qt must have a built in way of converting int to bytes. void IpcClient::intToBytes(int value, char *buffer, int size) { if (size == 1) { buffer[0] = value & 0xff; } else if (size == 2) { buffer[0] = (value >> 8) & 0xff; buffer[1] = value & 0xff; } else if (size == 4) { buffer[0] = (value >> 24) & 0xff; buffer[1] = (value >> 16) & 0xff; buffer[2] = (value >> 8) & 0xff; buffer[3] = value & 0xff; } else { // TODO: other sizes, if needed. } }<|fim▁end|>
#include "IpcReader.h"
<|file_name|>unit_test_benches.py<|end_file_name|><|fim▁begin|># Working Unit Test Benches for Network Simulator # Last Revised: 14 November 2015 by Sushant Sundaresh & Sith Domrongkitchaiporn ''' IMPORTANT: Please turn off logging (MEASUREMENT_ENABLE = False) in constants.py before running these testbenches. ''' # Unit Testing Framework import unittest # Test Modules import reporter, node, host, link, router import flow, event_simulator, event, events import link, link_buffer, packet import constants from static_flow_test_node import * import visualize class testMeasurementAnalysis (unittest.TestCase): ''' Tests visualize.py time-averaging function ''' def test_time_averaging (self): self.assertTrue(visualize.test_windowed_time_average()) class TestStaticDataSinkFlow (unittest.TestCase): ''' ### Might break for dynamic TCP ### if this is implemented on receiver side as well Create Flow Data Sink Create Static_Data_Sink_Test_Node Tell Flow its number or expected packets Create Event Simulator For now: Ask flow to receive a packet, check that Ack has same packet ID Ask flow to receive the same packet again, should get same result. ''' sim = "" # event simulator f = "" # flow, data source, static n = "" # test node def setUp (self): self.f = flow.Data_Sink("f1sink","h2","h1",\ 3*constants.DATA_PACKET_BITWIDTH, 1.0) self.n = Static_Data_Sink_Test_Node ("h2","f1sink") self.sim = event_simulator.Event_Simulator({"f1sink":self.f,"h2":self.n}) self.f.set_flow_size(2) def test_basic_ack (self): packets = [ packet.Packet("f1source","h1","h2","",0,0), \ packet.Packet("f1source","h1","h2","",1,0)] self.n.receive(packets[0]) self.assertEqual(self.n.head_of_tx_buff(),0) self.n.receive(packets[1]) self.assertEqual(self.n.head_of_tx_buff(),1) # Two packets received, two packets acknowledged with self.assertRaises(ValueError): self.n.head_of_tx_buff() # Repeated packets just get repeated acks self.n.receive(packets[1]) self.assertEqual(self.n.head_of_tx_buff(),1) class TestStaticDataSourceFlow (unittest.TestCase): ''' ### Will break for dynamic TCP ### Assumes Flow (Data Source) Window Size hard-coded to 2 Create Flow Data Source Create Static_Data_Source_Test_Node Create Event Simulator Start Flow -> pokes tcp -> sends two packets to Node Check that these were sent to Node Fake Acks through Node to Flow Check that this updates Node Tx_Buffer (more sends from Flow) Check what Timeout Does ''' sim = "" # event simulator f = "" # flow, data source, static n = "" # test node def setUp (self): self.f = flow.Data_Source("f1","h1","h2",\ 3*constants.DATA_PACKET_BITWIDTH, 1.0) self.n = Static_Data_Source_Test_Node ("h1","f1") self.sim = event_simulator.Event_Simulator({"f1":self.f,"h1":self.n}) def test_static_flow_source (self): # The first static flow source implementation # just has packets/acks have the same id. # There is no chance of 'duplicate acks' to indicate loss self.f.start() # do this manually so don't have to run simulator self.assertEqual(self.n.head_of_tx_buff(),0) packet1 = self.n.tx_buff[0] self.assertEqual(self.n.head_of_tx_buff(),1) with self.assertRaises(ValueError): self.n.head_of_tx_buff() self.n.receive(packet.Packet("","h2","h1",\ constants.DATA_PACKET_ACKNOWLEDGEMENT_TYPE,\ 0,constants.DATA_ACK_BITWIDTH)) self.assertEqual(self.n.head_of_tx_buff(),2) with self.assertRaises(ValueError): self.n.head_of_tx_buff() self.f.time_out(packet1) # check that next packet has id 1 self.assertEqual(self.n.head_of_tx_buff(),1) class TestLinkTransmissionEvents(unittest.TestCase): sim = "" # simulator link = "" # link lNode = "" # left node rNode = "" # right node lPs = [] # left packets rPs = [] # right packets # Create Event Simulator # Create Link & Nodes (not Hosts, so don't need working Flow) on either side # Create three packets from either side, to the other, and send them. def setUp (self): self.lNode = node.Node("h1") self.rNode = node.Node("h2") # don't need flow, as no packet timeouts created to callback to flow # and node receive is a dummy function for i in 1, 2, 3: self.lPs.append(packet.Packet("","h1","h2","data",i,1000)) # 1000kbit self.rPs.append(packet.Packet("","h2","h1","data",i,1000)) self.link = link.Link("l1", "h1", "h2", 1000.0, 10.0, 3000.0) # 1000kbit/ms, 10 ms prop delay, 3000kbit buffers self.sim = event_simulator.Event_Simulator({"l1":self.link, \ "h1":self.lNode, \ "h2":self.rNode}) # Order the packet sends 2L-2R-L-R # Run Sim Forward # Watch for transmission events in EventSimulator, with proper timestamp # Watch for propagation events in EventSimulator, with proper timestamp # Make sure these are sequential, with only one Tx event at a time in # the queue, and two propagations in each direction chained, and one isolated. # Note this tests most events we're trying to deal with. def test_packet_callbacks_and_timing (self): self.link.send(self.rPs.pop(0),"h2") # right going packets # are favored in time tie breaks self.link.send(self.rPs.pop(0),"h2") self.link.send(self.rPs.pop(0),"h2") self.link.send(self.lPs.pop(0),"h1") # all have timestamp 0.0 # so link should switch directions # between each packet # Confirm Handle_Packet_Transmission events show up in EventSim # with proper timestamps self.assertTrue(self.sim.get_current_time() == 0) self.sim.run_next_event() self.assertTrue(self.sim.get_current_time() == 1) # right packet1 load # into channel at # 1ms going h2->h1 self.assertTrue(self.link.transmission_direction == constants.RTL) self.sim.run_next_event() self.assertTrue(self.sim.get_current_time() == 11) # propagation done # direction switched # next packet loaded # LTR self.assertTrue(self.link.transmission_direction == constants.LTR) # next event is a load (12) # then a propagation (22) # then # the next event should be # both remaining h2 packets # loaded, as left buffer # is empty self.sim.run_next_event() self.assertTrue(self.sim.get_current_time() == 12) self.sim.run_next_event() self.assertTrue(self.sim.get_current_time() == 22) self.assertTrue(self.link.transmission_direction == constants.RTL) self.sim.run_next_event() self.sim.run_next_event() # two loads self.assertTrue(self.sim.get_current_time() == 24) self.assertTrue(self.link.transmission_direction == constants.RTL) self.sim.run_next_event() # two propagations self.sim.run_next_event() self.assertTrue(self.link.transmission_direction == constants.RTL) self.assertTrue(self.sim.get_current_time() == 34) class TestLinkBuffer(unittest.TestCase): # test variables l = "" # a link buffer p = "" # a packet exactly half the size of the buffer s = "" # event simulator def setUp (self): c = 100 # buffer capacity in bits self.s = event_simulator.Event_Simulator({}) self.l = link_buffer.LinkBuffer(c) self.l.set_event_simulator(self.s) self.p = packet.Packet("","","","","",c/2) def test_enqueue_dequeue (self): self.assertTrue(self.l.can_enqueue(self.p)) self.l.enqueue(self.p) self.assertTrue(self.l.can_enqueue(self.p)) self.l.enqueue(self.p) self.assertFalse(self.l.can_enqueue(self.p)) self.l.enqueue(self.p) # dropped self.l.enqueue(self.p) # dropped self.assertTrue(self.l.can_dequeue()) self.assertTrue( isinstance(self.l.dequeue(),packet.Packet) ) self.assertTrue(self.l.can_dequeue()) self.assertTrue( isinstance(self.l.dequeue(),packet.Packet) ) self.assertFalse(self.l.can_dequeue()) with self.assertRaises(ValueError): self.l.dequeue() class TestReporter(unittest.TestCase): # Set ID of reporter def test_get_id(self): ID = "H1" r = reporter.Reporter(ID) r.log("Hello World!") self.assertEqual(r.get_id(), ID) class TestNode(unittest.TestCase): # Set ID of node through super initialiation def test_init(self): ID = "H2" n = node.Node(ID) n.log("Hello World!") self.assertEqual(n.get_id(), ID) # Should not break, as receive is a dummy function def test_receive(self): ID = "H2" n = node.Node(ID) n.receive(0) class TestEventSimulator(unittest.TestCase): def test_init_and_basic_simulation (self): e = event_simulator.Event_Simulator({"h1":host.Host("h1",["l1"]),\ "h2":host.Host("h2",["l1"]),\ "f1":flow.Data_Source("f1", "h1", "h2", 20, 1)}) self.assertEqual(e.get_current_time(), 0.0) self.assertFalse(e.are_flows_done()) self.assertEqual(e.get_element("h1").get_id(), "h1") self.assertEqual(e.get_element("h2").get_id(), "h2") self.assertEqual(e.get_element("f1").get_id(), "f1") e.request_event(event.Event().set_completion_time(1.0)) e.request_event(event.Event().set_completion_time(2.0)) e.request_event(event.Event().set_completion_time(0.5)) e.request_event(event.Event().set_completion_time(1.5)) e.request_event(event.Event().set_completion_time(0.2)) ''' Now event heap should be ordered 0.2, 0.5, 1, 1.5, 2 ''' e.run_next_event() self.assertEqual(e.get_current_time(), 0.2) e.run_next_event() self.assertEqual(e.get_current_time(), 0.5) e.run_next_event() self.assertEqual(e.get_current_time(), 1.0) e.run_next_event() self.assertEqual(e.get_current_time(), 1.5) e.run_next_event() self.assertEqual(e.get_current_time(), 2.0) class TestHost(unittest.TestCase): # Set ID of host through super initialiation def test_init(self): ID = "H1" Links = ["L1"] h = host.Host(ID,Links) h.log("Hello World!") self.assertEqual(h.get_id(), ID) with self.assertRaises(ValueError): h2 = host.Host(ID,["L1","L2"]) class TestLink(unittest.TestCase): ID = "" left = "" right = "" rate = "" delay = "" buff = "" l = "" def setUp(self): self.ID = "L1" self.left = "H1" self.right = "H2" self.rate = "10" self.delay = "10" self.buff = "64" self.l = link.Link(self.ID,self.left,self.right,self.rate,self.delay,self.buff) # Set ID of link through super initialiation<|fim▁hole|> def test_get_left(self): self.assertEqual(self.l.get_left(),self.left) def test_get_right(self): self.assertEqual(self.l.get_right(),self.right) def test_get_rate(self): self.assertEqual(self.l.get_rate(),float(self.rate)) def test_get_delay(self): self.assertEqual(self.l.get_delay(),float(self.delay)) def test_get_buff(self): self.assertEqual(self.l.get_buff(),float(self.buff) * 8.0) # bytes to bits class TestRouter(unittest.TestCase): # Set ID of link through super initialiation def test_init(self): ID = "R1" links = ["H1","H2","H3"] r = router.Router(ID,links) self.assertEqual(r.get_id(), ID) self.assertEqual(r.get_link(),links) class TestFlow(unittest.TestCase): # Set ID of link through super initialiation def test_init(self): ID = "F1" source = "H1" dest = "H2" size = "20" start = "1" f = flow.Flow(ID,source,dest,size,start) self.assertEqual(f.get_id(), ID) self.assertEqual(f.get_source(), source) self.assertEqual(f.get_dest(), dest) self.assertEqual(f.get_size(), int(size) * 8.0 * 1000.0) # MByte -> KBit self.assertEqual(f.get_start(), int(start) * 1000) # s to ms # Run Specific Tests if __name__ == "__main__": reporter_suite = unittest.TestLoader().loadTestsFromTestCase(TestReporter) node_suite = unittest.TestLoader().loadTestsFromTestCase(TestNode) host_suite = unittest.TestLoader().loadTestsFromTestCase(TestHost) link_suite = unittest.TestLoader().loadTestsFromTestCase(TestLink) router_suite = unittest.TestLoader().loadTestsFromTestCase(TestRouter) flow_suite = unittest.TestLoader().loadTestsFromTestCase(TestFlow) sim_suite = unittest.TestLoader().loadTestsFromTestCase(TestEventSimulator) linkbuffer_suite = unittest.TestLoader().loadTestsFromTestCase(TestLinkBuffer) link_tx_suite = unittest.TestLoader().loadTestsFromTestCase(TestLinkTransmissionEvents) static_flow_data_source_suite = \ unittest.TestLoader().loadTestsFromTestCase(TestStaticDataSourceFlow) static_flow_data_sink_suite = \ unittest.TestLoader().loadTestsFromTestCase(TestStaticDataSinkFlow) visualize_suite = \ unittest.TestLoader().loadTestsFromTestCase(testMeasurementAnalysis) test_suites = [reporter_suite, node_suite, host_suite, link_suite,\ router_suite, flow_suite, sim_suite, linkbuffer_suite,\ link_tx_suite,static_flow_data_source_suite,\ static_flow_data_sink_suite, visualize_suite] for suite in test_suites: unittest.TextTestRunner(verbosity=2).run(suite) print "\n\n\n"<|fim▁end|>
def test_get_id(self): self.assertEqual(self.l.get_id(), self.ID)
<|file_name|>sendErrorOnError.py<|end_file_name|><|fim▁begin|>""" Answers with an Error message to a previous Error message. """ import copy import random from src import Msg from src import SomeIPPacket from src.attacks import AttackerHelper def sendErrorOnError(a, msgOrig): """ Attack Specific Function. """ sender = msgOrig.receiver receiver = msgOrig.sender<|fim▁hole|> message = {} message['service'] = msgOrig.message['service'] message['method'] = msgOrig.message['method'] message['client'] = msgOrig.message['client'] message['session'] = msgOrig.message['session'] message['proto'] = SomeIPPacket.VERSION message['iface'] = SomeIPPacket.INTERFACE message['type'] = SomeIPPacket.messageTypes['ERROR'] errors = ['E_NOT_OK', 'E_NOT_READY', 'E_NOT_REACHABLE', 'E_TIMEOUT', 'E_MALFORMED_MESSAGE'] message['ret'] = SomeIPPacket.errorCodes[random.choice(errors)] msg = Msg.Msg(sender, receiver, message, timestamp) return msg def doAttack(curAttack, msgOrig, a, attacksSuc): """ Generic Function called from Attacker module. """ RetVal = {} if a.verbose: print ('Send Error On Error Attack') if msgOrig.message['type'] == SomeIPPacket.messageTypes['ERROR']: msg = sendErrorOnError(a, msgOrig) if a.verbose: print ('MALICIOUS MSG: ', msg.message, ' FROM=', msg.sender, ' TO=', msg.receiver) RetVal['msg'] = msg RetVal['attackOngoing'] = False RetVal['dropMsg'] = False RetVal['counter'] = attacksSuc + 1 else: RetVal['msg'] = None RetVal['attackOngoing'] = True RetVal['dropMsg'] = False RetVal['counter'] = attacksSuc return RetVal<|fim▁end|>
timestamp = None
<|file_name|>kk_dictionary.cpp<|end_file_name|><|fim▁begin|>#include "kk_dictionary.h" namespace penciloid { namespace kakuro { Dictionary::Dictionary() : data_(nullptr) { } <|fim▁hole|>void Dictionary::CreateDefault() { Release(); data_ = new unsigned int[kDictionarySize]; for (int n_cells = 0; n_cells <= kMaxCellValue; ++n_cells) { for (int n_sum = 0; n_sum <= kMaxGroupSum; ++n_sum) { for (int bits = 0; bits < (1 << kMaxCellValue); ++bits) { int idx = GetIndex(n_cells, n_sum, bits); if (n_cells == 0) { data_[idx] = 0; continue; } else if (n_cells == 1) { if (1 <= n_sum && n_sum <= kMaxCellValue && (bits & (1 << (n_sum - 1)))) { data_[idx] = 1 << (n_sum - 1); } else { data_[idx] = 0; } continue; } data_[idx] = 0; for (int n = 1; n <= kMaxCellValue; ++n) if (bits & (1 << (n - 1))) { int cand = data_[GetIndex(n_cells - 1, n_sum - n, bits ^ (1 << (n - 1)))]; if (cand != 0) { data_[idx] |= cand | (1 << (n - 1)); } } } } } } void Dictionary::Release() { if (data_) delete[] data_; } } }<|fim▁end|>
Dictionary::~Dictionary() { if (data_ != nullptr) delete[] data_; }
<|file_name|>adaptors.rs<|end_file_name|><|fim▁begin|>pub struct Pairs<I> where I: Iterator { iter: I, } impl<I> Pairs<I> where I: Iterator { pub fn new(iter: I) -> Self { Pairs { iter: iter } } } impl<I> Iterator for Pairs<I> where I: Iterator { type Item = (I::Item, I::Item); fn next(&mut self) -> Option<Self::Item> { let a = match self.iter.next() { None => return None, Some(a) => a, }; match self.iter.next() { None => None, Some(b) => Some((a, b)), } } fn size_hint(&self) -> (usize, Option<usize>) { let (min, max) = self.iter.size_hint(); if let Some(max) = max { (min / 2 + 1, Some(max / 2 + 1)) } else { (min / 2 + 1, None) } } } pub struct Triples<I> where I: Iterator { iter: I, } impl<I> Triples<I> where I: Iterator { pub fn new(iter: I) -> Self { Triples { iter: iter } } } impl<I> Iterator for Triples<I> where I: Iterator {<|fim▁hole|> None => return None, Some(a) => a, }; let b = match self.iter.next() { None => return None, Some(b) => b, }; match self.iter.next() { None => None, Some(c) => Some((a, b, c)), } } fn size_hint(&self) -> (usize, Option<usize>) { let (min, max) = self.iter.size_hint(); if let Some(max) = max { (min / 3 + 1, Some(max / 3 + 1)) } else { (min / 3 + 1, None) } } }<|fim▁end|>
type Item = (I::Item, I::Item, I::Item); fn next(&mut self) -> Option<Self::Item> { let a = match self.iter.next() {
<|file_name|>optionsdialog.py<|end_file_name|><|fim▁begin|>#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, unicode_literals import xbmc from . import kodigui from .. import utils, variables as v class OptionsDialog(kodigui.BaseDialog): xmlFile = 'script-plex-options_dialog.xml' path = v.ADDON_PATH theme = 'Main' res = '1080i' width = 1920 height = 1080 GROUP_ID = 100 BUTTON_IDS = (1001, 1002, 1003) def __init__(self, *args, **kwargs): kodigui.BaseDialog.__init__(self, *args, **kwargs) self.header = kwargs.get('header') self.info = kwargs.get('info') self.button0 = kwargs.get('button0') self.button1 = kwargs.get('button1') self.button2 = kwargs.get('button2') self.buttonChoice = None def onFirstInit(self): self.setProperty('header', self.header) self.setProperty('info', self.info) if self.button2: self.setProperty('button.2', self.button2) if self.button1: self.setProperty('button.1', self.button1) if self.button0: self.setProperty('button.0', self.button0) self.setBoolProperty('initialized', True) xbmc.Monitor().waitForAbort(0.1) self.setFocusId(self.BUTTON_IDS[0])<|fim▁hole|> self.buttonChoice = self.BUTTON_IDS.index(controlID) self.doClose() def show(header, info, button0=None, button1=None, button2=None): w = OptionsDialog.open(header=header, info=info, button0=button0, button1=button1, button2=button2) choice = w.buttonChoice del w utils.garbageCollect() return choice<|fim▁end|>
def onClick(self, controlID): if controlID in self.BUTTON_IDS:
<|file_name|>ParallelGatewayAsyncTest.java<|end_file_name|><|fim▁begin|>/* * Copyright 2021 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ <|fim▁hole|>import java.util.Map; import org.jbpm.executor.ExecutorServiceFactory; import org.jbpm.test.JbpmTestCase; import org.jbpm.test.wih.ListWorkItemHandler; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.kie.api.executor.ExecutorService; import org.kie.api.runtime.KieSession; import org.kie.api.runtime.process.ProcessInstance; import static org.junit.Assert.assertNull; /** * Parallel gateway execution test. 2x parallel fork, 1x join */ public class ParallelGatewayAsyncTest extends JbpmTestCase { private static final String PARALLEL_GATEWAY_ASYNC = "org/jbpm/test/functional/gateway/ParallelGatewayAsync.bpmn"; private static final String PARALLEL_GATEWAY_ASYNC_ID = "org.jbpm.test.functional.gateway.ParallelGatewayAsync"; private ExecutorService executorService; private KieSession kieSession; private ListWorkItemHandler wih; public ParallelGatewayAsyncTest() { super(true, true); } @Override @Before public void setUp() throws Exception { super.setUp(); executorService = ExecutorServiceFactory.newExecutorService(getEmf()); executorService.setInterval(1); executorService.init(); addEnvironmentEntry("AsyncMode", "true"); addEnvironmentEntry("ExecutorService", executorService); wih = new ListWorkItemHandler(); addWorkItemHandler("Human Task", wih); kieSession = createKSession(PARALLEL_GATEWAY_ASYNC); } @After public void tearDown() throws Exception { executorService.clearAllErrors(); executorService.clearAllRequests(); executorService.destroy(); super.tearDown(); } /** * Simple parallel gateway test. */ @Test(timeout = 30000) public void testParallelGatewayAsync() throws Exception { Map<String, Object> inputs = new HashMap<>(); inputs.put("useHT", Boolean.TRUE); inputs.put("mode", "1"); ProcessInstance pi = kieSession.startProcess(PARALLEL_GATEWAY_ASYNC_ID, inputs); Thread.sleep(3000L); wih.getWorkItems().forEach(e -> kieSession.getWorkItemManager().completeWorkItem(e.getId(), e.getParameters())); Thread.sleep(1000L); assertNull(kieSession.getProcessInstance(pi.getId())); } }<|fim▁end|>
package org.jbpm.test.functional.gateway; import java.util.HashMap;
<|file_name|>input.cpp<|end_file_name|><|fim▁begin|>#include <chrono> #include <thread> #include "./input.h" #include "../common/SharedState.h" #include "../common/Logger.h" #include "./FaceDetector.h" using namespace std; void inputLoop() { SharedState& state = SharedState::getInstance(); Logger& logger = Logger::getInstance(); double posX = 0.5; FaceDetector fd; fd.load(); while(true) { if(state.isGameOver()) break; <|fim▁hole|> fd.read(); fd.detect(); state.setHeadPositionX(fd.headPosX); state.setHeadPositionY(fd.headPosY); if (!isSmilingOld && fd.isSmiling) state.pushCommand(Command::SHOOT); this_thread::sleep_for(chrono::milliseconds(10)); } fd.cleanup(); }<|fim▁end|>
bool isSmilingOld = fd.isSmiling;
<|file_name|>SessionListFragment.java<|end_file_name|><|fim▁begin|>/* * Copyright 2013 JCertifLab. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.jcertif.android.fragments; import android.app.Activity; import android.content.Intent; import android.content.res.Configuration; import android.net.Uri; import android.os.Bundle; import android.provider.CalendarContract; import android.provider.CalendarContract.Events; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener;<|fim▁hole|>import com.actionbarsherlock.view.ActionMode; import com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuInflater; import com.actionbarsherlock.view.MenuItem; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.jcertif.android.JcertifApplication; import com.jcertif.android.MainActivity; import com.jcertif.android.R; import com.jcertif.android.adapters.SessionAdapter; import com.jcertif.android.adapters.SpeedScrollListener; import com.jcertif.android.dao.SessionProvider; import com.jcertif.android.dao.SpeakerProvider; import com.jcertif.android.model.Session; import com.jcertif.android.model.Speaker; import com.jcertif.android.service.RESTService; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.GregorianCalendar; import java.util.List; import uk.co.senab.actionbarpulltorefresh.extras.actionbarsherlock.PullToRefreshAttacher; /** * * @author Patrick Bashizi * */ public class SessionListFragment extends RESTResponderFragment implements PullToRefreshAttacher.OnRefreshListener{ public static final String SESSIONS_LIST_URI = JcertifApplication.BASE_URL + "/session/list"; public static final String CATEGORY_LIST_URI = JcertifApplication.BASE_URL + "/ref/category/list"; private static String TAG = SessionListFragment.class.getName(); private List<Session> mSessions = new ArrayList<Session>();; private ListView mLvSessions; private SessionAdapter mAdapter; private SessionProvider mProvider; private SpeedScrollListener mListener; private ActionMode mActionMode; private Session mSelectedSession; private PullToRefreshAttacher mPullToRefreshAttacher ; public SessionListFragment() { // Empty constructor required for fragment subclasses } public interface OnSessionUpdatedListener { void onSessionUpdated(Session session); } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // setRetainInstance(true); View rootView = inflater.inflate(R.layout.fragment_session, container, false); mLvSessions = (ListView) rootView.findViewById(R.id.lv_session); String session = getResources().getStringArray(R.array.menu_array)[0]; setHasOptionsMenu(true); getActivity().setTitle(session); mLvSessions = (ListView) rootView.findViewById(R.id.lv_session); mPullToRefreshAttacher=((MainActivity)getSherlockActivity()).getmPullToRefreshAttacher(); mPullToRefreshAttacher.addRefreshableView(mLvSessions, this); mLvSessions.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int pos, long position) { mAdapter.setSelectedIndex(pos); mSelectedSession = ((Session) parent .getItemAtPosition((int) position)); updateSession(mSelectedSession); } }); mLvSessions .setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() { @Override public boolean onItemLongClick(AdapterView<?> arg0, View arg1, int pos, long arg3) { if (mActionMode != null) { return false; } mActionMode = getSherlockActivity().startActionMode( mActionModeCallback); mSelectedSession = ((Session) arg0 .getItemAtPosition((int) pos)); mAdapter.setSelectedIndex(pos); return true; } }); return rootView; } private ActionMode.Callback mActionModeCallback = new ActionMode.Callback() { @Override public boolean onCreateActionMode(ActionMode mode, Menu menu) { MenuInflater inflater = mode.getMenuInflater(); inflater.inflate(R.menu.context_menu_session, menu); return true; } @Override public boolean onPrepareActionMode(ActionMode mode, Menu menu) { return false; } @Override public boolean onActionItemClicked(ActionMode mode, MenuItem item) { switch (item.getItemId()) { case R.id.menu_share: shareSessionItem(); mode.finish(); // Action picked, so close the CAB break; case R.id.menu_add_to_schedule: addSessionItemToSchedule(); mode.finish(); // Action picked, so close the CAB break; default: return false; } return true; } public void onDestroyActionMode(ActionMode mode) { mActionMode = null; } }; private void addSessionItemToSchedule() { if (android.os.Build.VERSION.SDK_INT >= 14){ Intent intent = new Intent(Intent.ACTION_INSERT); intent.setType("vnd.android.cursor.item/event"); intent.putExtra(Events.TITLE, mSelectedSession.getTitle()); intent.putExtra(Events.EVENT_LOCATION,"Room"+ mSelectedSession.getSalle()); intent.putExtra(Events.DESCRIPTION, mSelectedSession.getDescription()); Date evStartDate= mSelectedSession.getStart(); Date evEndDate= mSelectedSession.getStart(); // Setting dates GregorianCalendar startcalDate = new GregorianCalendar(); startcalDate.setTime(evStartDate); // Setting dates GregorianCalendar endCalDate = new GregorianCalendar(); endCalDate.setTime(evEndDate); intent.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME,startcalDate.getTimeInMillis()); intent.putExtra(CalendarContract.EXTRA_EVENT_END_TIME,endCalDate.getTimeInMillis()); // Make it a full day event intent.putExtra(CalendarContract.EXTRA_EVENT_ALL_DAY, true); // Make it a recurring Event // intent.putExtra(Events.RRULE, "WKST=SU"); // Making it private and shown as busy intent.putExtra(Events.ACCESS_LEVEL, Events.ACCESS_PRIVATE); intent.putExtra(Events.AVAILABILITY, Events.AVAILABILITY_BUSY); //intent.putExtra(Events.DISPLAY_COLOR, Events.EVENT_COLOR); startActivity(intent); }else{ Toast.makeText(this.getSherlockActivity(), "Not supported for your device :(", Toast.LENGTH_SHORT).show(); } } private void shareSessionItem() { Speaker sp = new SpeakerProvider(this.getSherlockActivity()) .getByEmail(mSelectedSession.getSpeakers()[0]); Intent intent = new Intent(android.content.Intent.ACTION_SEND); intent.setType("text/plain"); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); intent.putExtra(Intent.EXTRA_SUBJECT, "Share Session"); intent.putExtra( Intent.EXTRA_TEXT, "Checking out this #Jcertif2013 session : " + mSelectedSession.getTitle() + " by " + sp.getFirstname() + " " + sp.getLastname()); startActivity(intent); } protected void updateSession(Session s) { if(onTablet()){ ((OnSessionUpdatedListener) getParentFragment()).onSessionUpdated(s); }else{ Intent intent = new Intent(this.getActivity().getApplicationContext(), SessionDetailFragmentActivity.class); String sessionJson= new Gson().toJson(s); intent.putExtra("session",sessionJson); startActivity(intent); getSherlockActivity().overridePendingTransition ( 0 , R.anim.slide_up_left); } } public SessionProvider getProvider() { if (mProvider == null) mProvider = new SessionProvider(this.getSherlockActivity()); return mProvider; } @Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); // This gets called each time our Activity has finished creating itself. // First check the local cache, if it's empty data will be fetched from // web mSessions = loadSessionsFromCache(); setSessions(); } @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { super.onCreateOptionsMenu(menu, inflater); } /** * We cache our stored session here so that we can return right away on * multiple calls to setSession() during the Activity lifecycle events (such * as when the user rotates their device). */ private void setSessions() { MainActivity activity = (MainActivity) getActivity(); setLoading(true); if (mSessions.isEmpty() && activity != null) { // This is where we make our REST call to the service. We also pass // in our ResultReceiver // defined in the RESTResponderFragment super class. // We will explicitly call our Service since we probably want to // keep it as a private component in our app. Intent intent = new Intent(activity, RESTService.class); intent.setData(Uri.parse(SESSIONS_LIST_URI)); // Here we are going to place our REST call parameters. Bundle params = new Bundle(); params.putString(RESTService.KEY_JSON_PLAYLOAD, null); intent.putExtra(RESTService.EXTRA_PARAMS, params); intent.putExtra(RESTService.EXTRA_RESULT_RECEIVER,getResultReceiver()); // Here we send our Intent to our RESTService. activity.startService(intent); } else if (activity != null) { // Here we check to see if our activity is null or not. // We only want to update our views if our activity exists. // Load our list adapter with our session. updateList(); setLoading(false); } } void updateList() { mListener = new SpeedScrollListener(); mLvSessions.setOnScrollListener(mListener); mAdapter = new SessionAdapter(this.getActivity(), mListener, mSessions); mLvSessions.setAdapter(mAdapter); if(refreshing){ refreshing=false; mPullToRefreshAttacher.setRefreshComplete(); } } private boolean onTablet() { return ((getResources().getConfiguration().screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) >= Configuration.SCREENLAYOUT_SIZE_LARGE); } public void updateList(String cat) { if (cat.equals("All") || cat.equals("Tous")) { mSessions = loadSessionsFromCache(); } else { mSessions = getProvider().getSessionsByCategory(cat); } updateList(); } @Override public void onRESTResult(int code, Bundle resultData) { // Here is where we handle our REST response. // Check to see if we got an HTTP 200 code and have some data. String result = null; if (resultData != null) { result = resultData.getString(RESTService.REST_RESULT); } else { return; } if (code == 200 && result != null) { mSessions = parseSessionJson(result); Log.d(TAG, result); setSessions(); saveToCache(mSessions); } else { Activity activity = getActivity(); if (activity != null) { Toast.makeText( activity, "Failed to load Session data. Check your internet settings.", Toast.LENGTH_SHORT).show(); } } setLoading(false); } private List<Session> parseSessionJson(String result) { Gson gson = new GsonBuilder().setDateFormat("dd/MM/yyyy hh:mm") .create(); Session[] sessions = gson.fromJson(result, Session[].class); return Arrays.asList(sessions); } protected void saveToCache(final List<Session> sessions) { new Thread(new Runnable() { @Override public void run() { for (Session session : sessions) mProvider.store(session); } }).start(); } private List<Session> loadSessionsFromCache() { List<Session> list = getProvider().getAll(Session.class); return list; } @Override public void onPause() { super.onDestroy(); } @Override public void onDestroy() { super.onDestroy(); } @Override public void onRefreshStarted(View view) { mProvider.deleteAll(Session.class); //mLvSessions.setAdapter(null); mSessions = loadSessionsFromCache(); setSessions(); refreshing=true; } }<|fim▁end|>
import android.widget.ListView; import android.widget.Toast;
<|file_name|>ValidFormatsForDocumentEnum.java<|end_file_name|><|fim▁begin|>package com.aspose.cloud.sdk.cells.model; public enum ValidFormatsForDocumentEnum { csv, <|fim▁hole|> text, html, pdf, ods, xls, spreadsheetml, xlsb, xps, tiff, jpeg, png, emf, bmp, gif }<|fim▁end|>
xlsx, xlsm, xltx, xltm,
<|file_name|>keyboard.rs<|end_file_name|><|fim▁begin|>#[cfg(not(any(test, rustdoc)))] use alloc::prelude::v1::*; #[cfg(any(test, rustdoc))] use std::prelude::v1::*; use crate::event::Event; use crate::util::UnsafeContainer; use crate::KERNEL_EVENTEMITTER; #[derive(Debug)] pub enum SpecialKey { Enter, } #[derive(Debug)] pub enum KeyCode {<|fim▁hole|> SpecialKey(SpecialKey), } pub struct KeyboardHandler { pub buffer: Vec<KeyCode>, } impl KeyboardHandler { pub fn new() -> Self { Self { buffer: Vec::new() } } pub fn process(&mut self) { if self.buffer.len() == 0 { return; } while self.buffer.len() > 0 { let code = self.buffer.remove(0); match code { KeyCode::Unicode(c) => { kbd_write_to_screen(c); let ev = Event::new("console", "input", "keypress", vec![c as u32]); KERNEL_EVENTEMITTER.get().push_event(ev); } KeyCode::SpecialKey(sp) => match sp { SpecialKey::Enter => { kbd_write_to_screen('\n'); let ev = Event::new("console", "input", "keypress", vec!['\n' as u32]); KERNEL_EVENTEMITTER.get().push_event(ev); } }, } } } } lazy_static! { pub static ref KEYBOARD_HANDLER: UnsafeContainer<KeyboardHandler> = UnsafeContainer::new(KeyboardHandler::new()); } #[cfg(all(target_os = "polymorphos", target_arch = "x86_64"))] pub fn kbd_write_to_screen(c: char) { vga_print!("{}", c); } #[cfg(test)] pub fn kbd_write_to_screen(c: char) { print!("{}", c) } #[cfg(all(target_os = "polymorphos", target_arch = "x86_64"))] pub fn process_keyboard() { x86_64::instructions::interrupts::without_interrupts(|| { KEYBOARD_HANDLER.get().process(); }); } #[cfg(test)] pub fn process_keyboard() { KEYBOARD_HANDLER.get().process(); }<|fim▁end|>
Unicode(char),
<|file_name|>char_type_hash.fail.cpp<|end_file_name|><|fim▁begin|>//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // GCC 5 does not evaluate static assertions dependent on a template parameter. // UNSUPPORTED: gcc-5 // UNSUPPORTED: c++98, c++03 // <string> // Test that hash specializations for <string> require "char_traits<_CharT>" not just any "_Trait". #include <string> template <class _CharT> struct trait // copied from <__string> { typedef _CharT char_type; typedef int int_type; typedef std::streamoff off_type; typedef std::streampos pos_type; typedef std::mbstate_t state_type; static inline void assign(char_type& __c1, const char_type& __c2) { __c1 = __c2; } static inline bool eq(char_type __c1, char_type __c2) { return __c1 == __c2; } static inline bool lt(char_type __c1, char_type __c2) { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, size_t __n); static size_t length(const char_type* __s); static const char_type* find(const char_type* __s, size_t __n, const char_type& __a); static char_type* move(char_type* __s1, const char_type* __s2, size_t __n);<|fim▁hole|> static inline int_type not_eof(int_type __c) { return eq_int_type(__c, eof()) ? ~eof() : __c; } static inline char_type to_char_type(int_type __c) { return char_type(__c); } static inline int_type to_int_type(char_type __c) { return int_type(__c); } static inline bool eq_int_type(int_type __c1, int_type __c2) { return __c1 == __c2; } static inline int_type eof() { return int_type(EOF); } }; template <class CharT> void test() { typedef std::basic_string<CharT, trait<CharT> > str_t; std::hash<str_t> h; // expected-error-re 4 {{{{call to implicitly-deleted default constructor of 'std::hash<str_t>'|implicit instantiation of undefined template}} {{.+}}}}}} (void)h; } int main(int, char**) { test<char>(); test<wchar_t>(); test<char16_t>(); test<char32_t>(); return 0; }<|fim▁end|>
static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n); static char_type* assign(char_type* __s, size_t __n, char_type __a);
<|file_name|>recursive-struct.rs<|end_file_name|><|fim▁begin|>// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. // ignore-tidy-linelength // ignore-lldb // compile-flags:-g // gdb-command:run // gdb-command:print stack_unique.value // gdb-check:$1 = 0 // gdb-command:print stack_unique.next.RUST$ENCODED$ENUM$0$Empty.val->value // gdb-check:$2 = 1 // gdb-command:print unique_unique->value // gdb-check:$3 = 2 // gdb-command:print unique_unique->next.RUST$ENCODED$ENUM$0$Empty.val->value // gdb-check:$4 = 3 // gdb-command:print vec_unique[0].value // gdb-check:$5 = 6.5 // gdb-command:print vec_unique[0].next.RUST$ENCODED$ENUM$0$Empty.val->value // gdb-check:$6 = 7.5 // gdb-command:print borrowed_unique->value // gdb-check:$7 = 8.5 // gdb-command:print borrowed_unique->next.RUST$ENCODED$ENUM$0$Empty.val->value // gdb-check:$8 = 9.5 // LONG CYCLE // gdb-command:print long_cycle1.value // gdb-check:$9 = 20 // gdb-command:print long_cycle1.next->value // gdb-check:$10 = 21 // gdb-command:print long_cycle1.next->next->value // gdb-check:$11 = 22 // gdb-command:print long_cycle1.next->next->next->value // gdb-check:$12 = 23 // gdb-command:print long_cycle2.value // gdb-check:$13 = 24 // gdb-command:print long_cycle2.next->value // gdb-check:$14 = 25 // gdb-command:print long_cycle2.next->next->value // gdb-check:$15 = 26 // gdb-command:print long_cycle3.value // gdb-check:$16 = 27 // gdb-command:print long_cycle3.next->value // gdb-check:$17 = 28 // gdb-command:print long_cycle4.value // gdb-check:$18 = 29.5 // gdb-command:print (*****long_cycle_w_anonymous_types).value // gdb-check:$19 = 30 // gdb-command:print (*****((*****long_cycle_w_anonymous_types).next.RUST$ENCODED$ENUM$0$Empty.val)).value // gdb-check:$20 = 31 // gdb-command:continue #![allow(unused_variables)] #![feature(box_syntax)] #![omit_gdb_pretty_printer_section] use self::Opt::{Empty, Val}; enum Opt<T> { Empty, Val { val: T } } struct UniqueNode<T> { next: Opt<Box<UniqueNode<T>>>, value: T } struct LongCycle1<T> { next: Box<LongCycle2<T>>, value: T, } struct LongCycle2<T> { next: Box<LongCycle3<T>>, value: T, } struct LongCycle3<T> { next: Box<LongCycle4<T>>, value: T, } struct LongCycle4<T> { next: Option<Box<LongCycle1<T>>>, value: T, } struct LongCycleWithAnonymousTypes { next: Opt<Box<Box<Box<Box<Box<LongCycleWithAnonymousTypes>>>>>>, value: uint, } // This test case makes sure that recursive structs are properly described. The Node structs are // generic so that we can have a new type (that newly needs to be described) for the different // cases. The potential problem with recursive types is that the DI generation algorithm gets // trapped in an endless loop. To make sure, we actually test this in the different cases, we have // to operate on a new type each time, otherwise we would just hit the DI cache for all but the // first case. // The different cases below (stack_*, unique_*, box_*, etc) are set up so that the type description // algorithm will enter the type reference cycle that is created by a recursive definition from a // different context each time. // The "long cycle" cases are constructed to span a longer, indirect recursion cycle between types. // The different locals will cause the DI algorithm to enter the type reference cycle at different // points. fn main() { let stack_unique: UniqueNode<u16> = UniqueNode { next: Val { val: box UniqueNode { next: Empty, value: 1, } }, value: 0, }; let unique_unique: Box<UniqueNode<u32>> = box UniqueNode { next: Val { val: box UniqueNode { next: Empty, value: 3, } }, value: 2, }; let vec_unique: [UniqueNode<f32>; 1] = [UniqueNode { next: Val { val: box UniqueNode { next: Empty, value: 7.5, } }, value: 6.5, }]; let borrowed_unique: &UniqueNode<f64> = &UniqueNode { next: Val { val: box UniqueNode { next: Empty, value: 9.5, } }, value: 8.5, }; // LONG CYCLE let long_cycle1: LongCycle1<u16> = LongCycle1 { next: box LongCycle2 { next: box LongCycle3 { next: box LongCycle4 { next: None, value: 23, }, value: 22, }, value: 21 }, value: 20 }; let long_cycle2: LongCycle2<u32> = LongCycle2 { next: box LongCycle3 { next: box LongCycle4 { next: None, value: 26,<|fim▁hole|> }, value: 24 }; let long_cycle3: LongCycle3<u64> = LongCycle3 { next: box LongCycle4 { next: None, value: 28, }, value: 27, }; let long_cycle4: LongCycle4<f32> = LongCycle4 { next: None, value: 29.5, }; // It's important that LongCycleWithAnonymousTypes is encountered only at the end of the // `box` chain. let long_cycle_w_anonymous_types = box box box box box LongCycleWithAnonymousTypes { next: Val { val: box box box box box LongCycleWithAnonymousTypes { next: Empty, value: 31, } }, value: 30 }; zzz(); // #break } fn zzz() {()}<|fim▁end|>
}, value: 25,
<|file_name|>HMHomeManager.java<|end_file_name|><|fim▁begin|>/* Copyright 2014-2016 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package apple.homekit; import apple.NSObject; import apple.foundation.NSArray; import apple.foundation.NSError; import apple.foundation.NSMethodSignature; import apple.foundation.NSSet; import apple.homekit.protocol.HMHomeManagerDelegate; import org.moe.natj.c.ann.FunctionPtr; import org.moe.natj.general.NatJ; import org.moe.natj.general.Pointer; import org.moe.natj.general.ann.Generated; import org.moe.natj.general.ann.Library; import org.moe.natj.general.ann.Mapped; import org.moe.natj.general.ann.MappedReturn; import org.moe.natj.general.ann.NInt; import org.moe.natj.general.ann.NUInt; import org.moe.natj.general.ann.Owned; import org.moe.natj.general.ann.Runtime; import org.moe.natj.general.ptr.VoidPtr; import org.moe.natj.objc.Class; import org.moe.natj.objc.ObjCRuntime; import org.moe.natj.objc.SEL; import org.moe.natj.objc.ann.ObjCBlock; import org.moe.natj.objc.ann.ObjCClassBinding; import org.moe.natj.objc.ann.Selector; import org.moe.natj.objc.map.ObjCObjectMapper; /** * Manages collection of one or more homes. * <p> * This class is responsible for managing a collection of homes. */ @Generated @Library("HomeKit") @Runtime(ObjCRuntime.class) @ObjCClassBinding public class HMHomeManager extends NSObject { static { NatJ.register(); } @Generated protected HMHomeManager(Pointer peer) { super(peer); } @Generated @Selector("accessInstanceVariablesDirectly") public static native boolean accessInstanceVariablesDirectly(); @Generated @Owned @Selector("alloc") public static native HMHomeManager alloc(); @Owned @Generated @Selector("allocWithZone:") public static native HMHomeManager allocWithZone(VoidPtr zone); @Generated @Selector("automaticallyNotifiesObserversForKey:") public static native boolean automaticallyNotifiesObserversForKey(String key); @Generated @Selector("cancelPreviousPerformRequestsWithTarget:") public static native void cancelPreviousPerformRequestsWithTarget(@Mapped(ObjCObjectMapper.class) Object aTarget); @Generated @Selector("cancelPreviousPerformRequestsWithTarget:selector:object:") public static native void cancelPreviousPerformRequestsWithTargetSelectorObject( @Mapped(ObjCObjectMapper.class) Object aTarget, SEL aSelector, @Mapped(ObjCObjectMapper.class) Object anArgument); @Generated @Selector("classFallbacksForKeyedArchiver") public static native NSArray<String> classFallbacksForKeyedArchiver(); @Generated @Selector("classForKeyedUnarchiver") public static native Class classForKeyedUnarchiver(); @Generated @Selector("debugDescription") public static native String debugDescription_static(); @Generated @Selector("description") public static native String description_static(); @Generated @Selector("hash") @NUInt public static native long hash_static(); @Generated @Selector("instanceMethodForSelector:") @FunctionPtr(name = "call_instanceMethodForSelector_ret") public static native NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(SEL aSelector); @Generated @Selector("instanceMethodSignatureForSelector:") public static native NSMethodSignature instanceMethodSignatureForSelector(SEL aSelector); @Generated @Selector("instancesRespondToSelector:") public static native boolean instancesRespondToSelector(SEL aSelector); @Generated @Selector("isSubclassOfClass:") public static native boolean isSubclassOfClass(Class aClass); @Generated @Selector("keyPathsForValuesAffectingValueForKey:") public static native NSSet<String> keyPathsForValuesAffectingValueForKey(String key); @Generated @Owned @Selector("new") public static native HMHomeManager new_objc(); @Generated @Selector("resolveClassMethod:") public static native boolean resolveClassMethod(SEL sel); @Generated @Selector("resolveInstanceMethod:") public static native boolean resolveInstanceMethod(SEL sel); @Generated @Selector("setVersion:") public static native void setVersion_static(@NInt long aVersion); <|fim▁hole|> @Generated @Selector("version") @NInt public static native long version_static(); /** * Adds a new home to the collection. * * @param homeName Name of the home to create and add to the collection. * @param completion Block that is invoked once the request is processed. * The NSError provides more information on the status of the request, error * will be nil on success. */ @Generated @Selector("addHomeWithName:completionHandler:") public native void addHomeWithNameCompletionHandler(String homeName, @ObjCBlock(name = "call_addHomeWithNameCompletionHandler") Block_addHomeWithNameCompletionHandler completion); /** * Delegate that receives updates on the collection of homes. */ @Generated @Selector("delegate") @MappedReturn(ObjCObjectMapper.class) public native HMHomeManagerDelegate delegate(); /** * Array of HMHome objects that represents the homes associated with the home manager. * <p> * When a new home manager is created, this array is initialized as an empty array. It is * not guaranteed to be filled with the list of homes, represented as HMHome objects, * until the homeManagerDidUpdateHomes: delegate method has been invoked. */ @Generated @Selector("homes") public native NSArray<? extends HMHome> homes(); @Generated @Selector("init") public native HMHomeManager init(); /** * The primary home for this collection. */ @Generated @Selector("primaryHome") public native HMHome primaryHome(); /** * Removes an existing home from the collection. * * @param home Home object that needs to be removed from the collection. * @param completion Block that is invoked once the request is processed. * The NSError provides more information on the status of the request, error * will be nil on success. */ @Generated @Selector("removeHome:completionHandler:") public native void removeHomeCompletionHandler(HMHome home, @ObjCBlock(name = "call_removeHomeCompletionHandler") Block_removeHomeCompletionHandler completion); /** * Delegate that receives updates on the collection of homes. */ @Generated @Selector("setDelegate:") public native void setDelegate_unsafe(@Mapped(ObjCObjectMapper.class) HMHomeManagerDelegate value); /** * Delegate that receives updates on the collection of homes. */ @Generated public void setDelegate(@Mapped(ObjCObjectMapper.class) HMHomeManagerDelegate value) { Object __old = delegate(); if (value != null) { org.moe.natj.objc.ObjCRuntime.associateObjCObject(this, value); } setDelegate_unsafe(value); if (__old != null) { org.moe.natj.objc.ObjCRuntime.dissociateObjCObject(this, __old); } } /** * This method is used to change the primary home. * * @param home New primary home. * @param completion Block that is invoked once the request is processed. * The NSError provides more information on the status of the request, error * will be nil on success. */ @Generated @Selector("updatePrimaryHome:completionHandler:") public native void updatePrimaryHomeCompletionHandler(HMHome home, @ObjCBlock(name = "call_updatePrimaryHomeCompletionHandler") Block_updatePrimaryHomeCompletionHandler completion); @Runtime(ObjCRuntime.class) @Generated public interface Block_addHomeWithNameCompletionHandler { @Generated void call_addHomeWithNameCompletionHandler(HMHome home, NSError error); } @Runtime(ObjCRuntime.class) @Generated public interface Block_removeHomeCompletionHandler { @Generated void call_removeHomeCompletionHandler(NSError error); } @Runtime(ObjCRuntime.class) @Generated public interface Block_updatePrimaryHomeCompletionHandler { @Generated void call_updatePrimaryHomeCompletionHandler(NSError error); } /** * The current authorization status of the application. * <p> * The authorization is managed by the system, there is no need to explicitly request authorization. */ @Generated @Selector("authorizationStatus") @NUInt public native long authorizationStatus(); }<|fim▁end|>
@Generated @Selector("superclass") public static native Class superclass_static();
<|file_name|>error.rs<|end_file_name|><|fim▁begin|>// Copyright 2016 TiKV Project Authors. Licensed under Apache-2.0. use error_code::{self, ErrorCode, ErrorCodeExt}; use std::error::Error as StdError; use std::result::Result as StdResult; quick_error! { #[derive(Debug)] pub enum Error { Other(err: Box<dyn StdError + Sync + Send>) { from() cause(err.as_ref()) display("{}", err) } } } pub type Result<T> = StdResult<T, Error>; <|fim▁hole|> error_code::raftstore::COPROCESSOR } }<|fim▁end|>
impl ErrorCodeExt for Error { fn error_code(&self) -> ErrorCode {
<|file_name|>application_timeline_server.py<|end_file_name|><|fim▁begin|>""" Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information<|fim▁hole|> http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Ambari Agent """ import sys from resource_management import * from yarn import yarn from service import service class ApplicationTimelineServer(Script): def install(self, env): self.install_packages(env) #self.configure(env) def configure(self, env): import params env.set_params(params) yarn() def start(self, env): import params env.set_params(params) self.configure(env) # FOR SECURITY service('historyserver', action='start') def stop(self, env): import params env.set_params(params) service('historyserver', action='stop') def status(self, env): import status_params env.set_params(status_params) check_process_status(status_params.yarn_historyserver_pid_file) if __name__ == "__main__": ApplicationTimelineServer().execute()<|fim▁end|>
regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
<|file_name|>autotest_regression.py<|end_file_name|><|fim▁begin|>import logging from autotest.client.shared import error from virttest import aexpect, utils_misc @error.context_aware def run_autotest_regression(test, params, env): """ Autotest regression test: Use Virtual Machines to test autotest. 1) Clone the given guest OS (only Linux) image twice. 2) Boot 2 VMs (autotest_server_vm and autotest_client_vm) 4) Install the autotest server in the server vm 5) Run the unittests 6) Run the pylint checker 7) Run a simple client sleeptest 8) Run a simple server sleeptest 9) Register the client vm in the autotest server 10) Schedule a simple job sleeptest in the client. Wait for client reboot. 11) If any of these steps have failed, fail the test and report the error @param test: virt test object @param params: Dictionary with the test parameters @param env: Dictionary with test environment. """ step_failures = [] autotest_repo = params['autotest_repo'] autotest_branch = params['autotest_branch'] autotest_commit = params['autotest_commit'] password = params['password'] autotest_install_timeout = int(params.get('autotest_install_timeout', 1800)) unittests_run_timeout = int(params.get('unittests_run_timeout', 1800)) pylint_run_timeout = int(params.get('pylint_run_timeout', 1800)) vm_names = params["vms"].split() server_name = vm_names[0] client_name = vm_names[1] vm_server = env.get_vm(server_name) vm_server.verify_alive() vm_client = env.get_vm(client_name) vm_client.verify_alive() timeout = float(params.get("login_timeout", 240)) session_server = vm_server.wait_for_login(timeout=timeout) session_client = vm_client.wait_for_login(timeout=timeout) client_ip = vm_client.get_address() server_ip = vm_server.get_address() step1 = "autotest-server-install" try: installer_file = "install-autotest-server.sh" installer_url = ("https://raw.github.com/autotest/autotest/master" "/contrib/%s" % installer_file) # Download the install script and execute it download_cmd = ("python -c 'from urllib2 import urlopen; " "r = urlopen(\"%s\"); " "f = open(\"%s\", \"w\"); " "f.write(r.read())'" % (installer_url, installer_file)) session_server.cmd(download_cmd) permission_cmd = ("chmod +x install-autotest-server.sh") session_server.cmd(permission_cmd) install_cmd = ("./install-autotest-server.sh -u Aut0t3st -d Aut0t3st " "-g %s -b %s" % (autotest_repo, autotest_branch)) if autotest_commit: install_cmd += " -c %s" % autotest_commit session_server.cmd(install_cmd, timeout=autotest_install_timeout) vm_server.copy_files_from(guest_path="/tmp/install-autotest-server*log", host_path=test.resultsdir) except aexpect.ShellCmdError, e: for line in e.output.splitlines(): logging.error(line) step_failures.append(step1) top_commit = None try: session_server.cmd("test -d /usr/local/autotest/.git") session_server.cmd("cd /usr/local/autotest") top_commit = session_server.cmd("echo `git log -n 1 --pretty=format:%H`") top_commit = top_commit.strip() logging.info("Autotest top commit for repo %s, branch %s: %s", autotest_repo, autotest_branch, top_commit) except aexpect.ShellCmdError, e: for line in e.output.splitlines(): logging.error(line) if top_commit is not None: session_server.close() session_server = vm_server.wait_for_login(timeout=timeout, username='autotest', password='Aut0t3st') step2 = "unittests" try: session_server.cmd("cd /usr/local/autotest") session_server.cmd("utils/unittest_suite.py --full", timeout=unittests_run_timeout) except aexpect.ShellCmdError, e: for line in e.output.splitlines(): logging.error(line) step_failures.append(step2)<|fim▁hole|> session_server.cmd("utils/check_patch.py --full --yes", timeout=pylint_run_timeout) except aexpect.ShellCmdError, e: for line in e.output.splitlines(): logging.error(line) step_failures.append(step3) step4 = "client_run" try: session_server.cmd("cd /usr/local/autotest/client") session_server.cmd("./autotest-local run sleeptest", timeout=pylint_run_timeout) session_server.cmd("rm -rf results/default") except aexpect.ShellCmdError, e: for line in e.output.splitlines(): logging.error(line) step_failures.append(step4) step5 = "server_run" try: session_client.cmd("iptables -F") session_server.cmd("cd /usr/local/autotest") session_server.cmd("server/autotest-remote -m %s --ssh-user root " "--ssh-pass %s " "-c client/tests/sleeptest/control" % (client_ip, password), timeout=pylint_run_timeout) session_server.cmd("rm -rf results-*") except aexpect.ShellCmdError, e: for line in e.output.splitlines(): logging.error(line) step_failures.append(step5) step6 = "registering_client_cli" try: label_name = "label-%s" % utils_misc.generate_random_id() create_label_cmd = ("/usr/local/autotest/cli/autotest-rpc-client " "label create -t %s -w %s" % (label_name, server_ip)) session_server.cmd(create_label_cmd) list_labels_cmd = ("/usr/local/autotest/cli/autotest-rpc-client " "label list -a -w %s" % server_ip) list_labels_output = session_server.cmd(list_labels_cmd) for line in list_labels_output.splitlines(): logging.debug(line) if not label_name in list_labels_output: raise ValueError("No label %s in the output of %s" % (label_name, list_labels_cmd)) create_host_cmd = ("/usr/local/autotest/cli/autotest-rpc-client " "host create -t %s %s -w %s" % (label_name, client_ip, server_ip)) session_server.cmd(create_host_cmd) list_hosts_cmd = ("/usr/local/autotest/cli/autotest-rpc-client " "host list -w %s" % server_ip) list_hosts_output = session_server.cmd(list_hosts_cmd) for line in list_hosts_output.splitlines(): logging.debug(line) if not client_ip in list_hosts_output: raise ValueError("No client %s in the output of %s" % (client_ip, create_label_cmd)) if not label_name in list_hosts_output: raise ValueError("No label %s in the output of %s" % (label_name, create_label_cmd)) except (aexpect.ShellCmdError, ValueError), e: if isinstance(e, aexpect.ShellCmdError): for line in e.output.splitlines(): logging.error(line) elif isinstance(e, ValueError): logging.error(e) step_failures.append(step6) step7 = "running_job_cli" try: session_client.cmd("iptables -F") job_name = "Sleeptest %s" % utils_misc.generate_random_id() def job_is_status(status): list_jobs_cmd = ("/usr/local/autotest/cli/autotest-rpc-client " "job list -a -w %s" % server_ip) list_jobs_output = session_server.cmd(list_jobs_cmd) if job_name in list_jobs_output: if status in list_jobs_output: return True elif "Aborted" in list_jobs_output: raise ValueError("Job is in aborted state") elif "Failed" in list_jobs_output: raise ValueError("Job is in failed state") else: return False else: raise ValueError("Job %s does not show in the " "output of %s" % list_jobs_cmd) def job_is_completed(): return job_is_status("Completed") def job_is_running(): return job_is_status("Running") job_create_cmd = ("/usr/local/autotest/cli/autotest-rpc-client " "job create --test sleeptest -m %s '%s' -w %s" % (client_ip, job_name, server_ip)) session_server.cmd(job_create_cmd) if not utils_misc.wait_for(job_is_running, 300, 0, 10, "Waiting for job to start running"): raise ValueError("Job did not start running") # Wait for the session to become unresponsive if not utils_misc.wait_for(lambda: not session_client.is_responsive(), timeout=300): raise error.ValueError("Client machine did not reboot") # Establish a new client session session_client = vm_client.wait_for_login(timeout=timeout) # Wait for the job to complete if not utils_misc.wait_for(job_is_completed, 300, 0, 10, "Waiting for job to complete"): raise ValueError("Job did not complete") # Copy logs back so we can analyze them vm_server.copy_files_from(guest_path="/usr/local/autotest/results/*", host_path=test.resultsdir) except (aexpect.ShellCmdError, ValueError), e: if isinstance(e, aexpect.ShellCmdError): for line in e.output.splitlines(): logging.error(line) elif isinstance(e, ValueError): logging.error(e) step_failures.append(step7) def report_version(): if top_commit is not None: logging.info("Autotest git repo: %s", autotest_repo) logging.info("Autotest git branch: %s", autotest_repo) logging.info("Autotest top commit: %s", top_commit) if step_failures: logging.error("The autotest regression testing failed") report_version() raise error.TestFail("The autotest regression testing had the " "following steps failed: %s" % step_failures) else: logging.info("The autotest regression testing passed") report_version()<|fim▁end|>
step3 = "pylint" try: session_server.cmd("cd /usr/local/autotest")
<|file_name|>stock_move.py<|end_file_name|><|fim▁begin|># -*- coding: utf-8 -*- ############################################################################## # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details.<|fim▁hole|>############################################################################## from openerp import models, fields class StockMove(models.Model): _inherit = 'stock.move' main_project_id = fields.Many2one('project.project', string="Main Project")<|fim▁end|>
# # You should have received a copy of the GNU General Public License # along with this program. If not, see http://www.gnu.org/licenses/. #
<|file_name|>common.go<|end_file_name|><|fim▁begin|>// Copyright (c) 2015, Peter Mrekaj. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE.txt file. // Package epiutil is an utility class with functions // common to all packages in the epi project. package epiutil import "math/rand"<|fim▁hole|>func RandStr(n int, t string, s rand.Source) string { l := len(t) - 1 chars := make([]byte, n) if l > 0 { for i, p := range rand.New(s).Perm(n) { chars[i] = t[p%l] } } return string(chars) }<|fim▁end|>
// RandStr returns a string of length n constructed // from pseudo-randomly selected characters from t. // The pseudo-randomness uses random values from s.
<|file_name|>formatInventoryConfig.d.ts<|end_file_name|><|fim▁begin|><|fim▁hole|><|fim▁end|>
export declare function formatInventoryConfig(inventoryConfig: any, toArray?: boolean): any;
<|file_name|>awesomethings.js<|end_file_name|><|fim▁begin|>'use strict'; describe('Service: awesomeThings', function() { // load the service's module beforeEach(module('initApp')); // instantiate service var awesomeThings; beforeEach(inject(function(_awesomeThings_) { awesomeThings = _awesomeThings_; })); it('should return all the awesomeThings at the static list', function() { expect(awesomeThings.getAll().length).toBe(4); }); it('should return an specific awesome thing', function() { // We can test the object itself here. Not doing for simplicity expect(awesomeThings.get('2').name).toBe('AngularJS'); });<|fim▁hole|><|fim▁end|>
});
<|file_name|>lagrange_elements.py<|end_file_name|><|fim▁begin|># PPFem: An educational finite element code # Copyright (C) 2015 Matthias Rambausek # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. from ppfem.geometry.point import Point from ppfem.elements.base import ReferenceElement from ppfem.elements.lagrange_basis import LagrangeBasis import numpy as np class LagrangeElement(ReferenceElement): def __init__(self, degree, dimension=1): ReferenceElement.__init__(self, degree, dimension) def interpolate_function(self, function, mapping=None): """ This implementation shows the characteristic property of Lagrange Elements! :param function: a callable f(p) where p is a Point (or a coordinate array of size space_dim()) and the result is of dimension dimension()<|fim▁hole|> else: points = self.get_support_points() return np.array([function(p.coords()) for p in points]) def function_value(self, dof_values, point): # first array axis corresponds to basis function! if self._dimension == 1: return np.dot(self.basis_function_values(point).reshape(1, self._n_bases), dof_values) else: return np.einsum('ijk,ijk->jk', dof_values, self.basis_function_values(point)) def function_gradient(self, dof_values, point, jacobian_inv=None): # first array axis corresponds to basis function! if self._dimension == 1: return np.dot(self.basis_function_gradients(point, jacobian_inv=jacobian_inv).reshape(dof_values.shape).T, dof_values) elif self.space_dim() > 1: return np.einsum('ijk,ijkl->jkl', dof_values, self.basis_function_gradients(point, jacobian_inv=jacobian_inv)) elif self.space_dim() == 1: return np.einsum('ijk,ijk->jk', dof_values, self.basis_function_gradients(point, jacobian_inv=jacobian_inv)) class LagrangeLine(LagrangeElement): def __init__(self, degree, dimension=1): LagrangeElement.__init__(self, degree, dimension=dimension) def _setup_basis(self): support_points = self.get_support_points() self._n_bases = len(support_points) self._n_dofs = self._n_bases * self._dimension self._n_internal_dofs = self._n_dofs - 2 self._basis_functions = [LagrangeBasis(support_points, i, dimension=self._dimension) for i in range(len(support_points))] def get_support_points(self): n = self._degree + 1 return [Point(-1), Point(1)] + [Point(-1 + i * 2/(n-1), index=i) for i in range(1, n-1)] @staticmethod def space_dim(): return 1<|fim▁end|>
:param mapping: a Mapping instance to compute the "physical" coordinates of a point in reference space """ if mapping is not None: points = mapping.map_points(self.get_support_points())
<|file_name|>targetdevice.py<|end_file_name|><|fim▁begin|>import os import stat import time from inaugurator import sh class TargetDevice: _found = None @classmethod def device(cls, candidates): if cls._found is None: cls._found = cls._find(candidates) return cls._found pass @classmethod def _find(cls, candidates): RETRIES = 5 for retry in xrange(RETRIES): for device in candidates: if not os.path.exists(device): continue if not stat.S_ISBLK(os.stat(device).st_mode): continue try: output = sh.run("dosfslabel", device + 1) if output.strip() == "STRATODOK": raise Exception( "DOK was found on SDA. cannot continue: its likely the " "the HD driver was not loaded correctly") except: pass print "Found target device %s" % device return device print "didn't find target device, sleeping before retry %d" % retry<|fim▁hole|> raise Exception("Failed finding target device")<|fim▁end|>
time.sleep(1) os.system("/usr/sbin/busybox mdev -s")
<|file_name|>settings.py<|end_file_name|><|fim▁begin|># Django settings for imageuploads project. import os PROJECT_DIR = os.path.dirname(__file__) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': '', # Or path to database file if using sqlite3. # The following settings are not used with sqlite3: 'USER': '', 'PASSWORD': '', 'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. 'PORT': '', # Set to empty string for default. } } # Hosts/domain names that are valid for this site; required if DEBUG is False # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts ALLOWED_HOSTS = [] # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # although not all choices may be available on all operating systems. # In a Windows environment this must be set to your system time zone. TIME_ZONE = 'America/Chicago' # Language code for this installation. All choices can be found here: # http://www.i18nguy.com/unicode/language-identifiers.html LANGUAGE_CODE = 'en-us' SITE_ID = 1 # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery. USE_I18N = True # If you set this to False, Django will not format dates, numbers and # calendars according to the current locale. USE_L10N = True # If you set this to False, Django will not use timezone-aware datetimes. USE_TZ = True MEDIA_ROOT = os.path.join(PROJECT_DIR, "media") STATIC_ROOT = os.path.join(PROJECT_DIR, "static") MEDIA_URL = "/media/" STATIC_URL = "/static/" # Additional locations of static files STATICFILES_DIRS = ( os.path.join(PROJECT_DIR, "site_static"), ) # List of finder classes that know how to find static files in # various locations. STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder',<|fim▁hole|>) # Make this unique, and don't share it with anybody. SECRET_KEY = 'qomeppi59pg-(^lh7o@seb!-9d(yr@5n^=*y9w&(=!yd2p7&e^' # List of callables that know how to import templates from various sources. TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', # 'django.template.loaders.eggs.Loader', ) MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', # Uncomment the next line for simple clickjacking protection: # 'django.middleware.clickjacking.XFrameOptionsMiddleware', ) ROOT_URLCONF = 'imageuploads.urls' # Python dotted path to the WSGI application used by Django's runserver. WSGI_APPLICATION = 'imageuploads.wsgi.application' TEMPLATE_DIRS = ( os.path.join(PROJECT_DIR, "templates"), ) INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'south', 'crispy_forms', 'ajaxuploader', 'images', ) SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer' # A sample logging configuration. The only tangible logging # performed by this configuration is to send an email to # the site admins on every HTTP 500 error when DEBUG=False. # See http://docs.djangoproject.com/en/dev/topics/logging for # more details on how to customize your logging configuration. LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'filters': { 'require_debug_false': { '()': 'django.utils.log.RequireDebugFalse' } }, 'handlers': { 'mail_admins': { 'level': 'ERROR', 'filters': ['require_debug_false'], 'class': 'django.utils.log.AdminEmailHandler' } }, 'loggers': { 'django.request': { 'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True, }, } } CRISPY_TEMPLATE_PACK = 'bootstrap3' try: execfile(os.path.join(os.path.dirname(__file__), "local_settings.py")) except IOError: pass<|fim▁end|>
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
<|file_name|>app.module.ts<|end_file_name|><|fim▁begin|>/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { Router } from '@angular/router'; import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import {HttpClientModule, HTTP_INTERCEPTORS} from '@angular/common/http'; import { APP_INITIALIZER } from '@angular/core'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { AppComponent } from './app.component'; import {MetronAlertsRoutingModule} from './app-routing.module'; import {AlertsListModule} from './alerts/alerts-list/alerts-list.module'; import {AlertDetailsModule} from './alerts/alert-details/alerts-details.module'; import {ConfigureTableModule} from './alerts/configure-table/configure-table.module'; import {ConfigureTableService} from './service/configure-table.service'; import {SaveSearchModule} from './alerts/save-search/save-search.module'; import {SaveSearchService} from './service/save-search.service'; import {SavedSearchesModule} from './alerts/saved-searches/saved-searches.module'; import {ConfigureRowsModule} from './alerts/configure-rows/configure-rows.module'; import {ColumnNamesService} from './service/column-names.service'; import {DataSource} from './service/data-source'; import {ElasticSearchLocalstorageImpl} from './service/elasticsearch-localstorage-impl'; import {LoginModule} from './login/login.module'; import {AuthGuard} from './shared/auth-guard'; import {AuthenticationService} from './service/authentication.service'; import {LoginGuard} from './shared/login-guard'; import {UpdateService} from './service/update.service'; import {MetaAlertService} from './service/meta-alert.service'; import { MetaAlertsModule } from './alerts/meta-alerts/meta-alerts.module'; import { SearchService } from './service/search.service'; import { GlobalConfigService } from './service/global-config.service'; import { DefaultHeadersInterceptor } from './http-interceptors/default-headers.interceptor'; import { DialogService } from './service/dialog.service'; import { MetronDialogComponent } from './shared/metron-dialog/metron-dialog.component'; import { PcapModule } from './pcap/pcap.module'; import { AppConfigService } from './service/app-config.service'; import {<|fim▁hole|> NZ_ICONS } from 'ng-zorro-antd'; import { ToolOutline, WarningOutline, FileOutline } from '@ant-design/icons-angular/icons'; import { IconDefinition } from '@ant-design/icons-angular'; export function initConfig(appConfigService: AppConfigService) { return () => appConfigService.loadAppConfig(); } const icons: IconDefinition[] = [ ToolOutline, WarningOutline, FileOutline ]; @NgModule({ declarations: [ AppComponent, MetronDialogComponent ], imports: [ BrowserModule, FormsModule, HttpClientModule, MetronAlertsRoutingModule, LoginModule, AlertsListModule, AlertDetailsModule, MetaAlertsModule, ConfigureTableModule, ConfigureRowsModule, SaveSearchModule, SavedSearchesModule, PcapModule, NzLayoutModule, NzMenuModule, BrowserAnimationsModule, NgZorroAntdModule, ], providers: [{ provide: APP_INITIALIZER, useFactory: initConfig, deps: [AppConfigService], multi: true }, { provide: DataSource, useClass: ElasticSearchLocalstorageImpl }, { provide: HTTP_INTERCEPTORS, useClass: DefaultHeadersInterceptor, multi: true }, { provide: NZ_ICONS, useValue: icons }, AppConfigService, AuthenticationService, AuthGuard, LoginGuard, ConfigureTableService, SearchService, SaveSearchService, ColumnNamesService, UpdateService, MetaAlertService, GlobalConfigService, DialogService, ], bootstrap: [AppComponent] }) export class AppModule { constructor(router: Router) { } }<|fim▁end|>
NzLayoutModule, NzMenuModule, NgZorroAntdModule,
<|file_name|>test_polygon.py<|end_file_name|><|fim▁begin|>import unittest from gis.protobuf.polygon_pb2 import Polygon2D, Polygon3D, MultiPolygon2D, MultiPolygon3D from gis.protobuf.point_pb2 import Point2D, Point3D class Polygon2DTestCase(unittest.TestCase): def test_toGeoJSON(self): polygon = Polygon2D(point=[Point2D(x=1.0, y=2.0), Point2D(x=3.0, y=4.0)]) self.assertEqual(polygon.toGeoJSON(), { 'type': 'Polygon', 'coordinates': [[[1.0, 2.0], [3.0, 4.0]]] }) class Polygon3DTestCase(unittest.TestCase): def test_toGeoJSON(self): polygon = Polygon3D(point=[Point3D(x=1.0, y=2.0, z=3.0), Point3D(x=4.0, y=5.0, z=6.0)]) self.assertEqual(polygon.toGeoJSON(), { 'type': 'Polygon', 'coordinates': [[[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]] }) class MultiPolygon2DTestCase(unittest.TestCase): def test_toGeoJSON(self): multiPolygon = MultiPolygon2D(polygon=[Polygon2D(point=[Point2D(x=1.0, y=2.0), Point2D(x=3.0, y=4.0)]), Polygon2D(point=[Point2D(x=5.0, y=6.0), Point2D(x=7.0, y=8.0)])]) self.assertEqual(multiPolygon.toGeoJSON(), { 'type': 'MultiPolygon', 'coordinates': [[[[1.0, 2.0], [3.0, 4.0]]], [[[5.0, 6.0], [7.0, 8.0]]]] }) class MultiPolygon3DTestCase(unittest.TestCase):<|fim▁hole|> Point3D(x=4.0, y=5.0, z=6.0)]), Polygon3D(point=[Point3D(x=7.0, y=8.0, z=9.0), Point3D(x=10.0, y=11.0, z=12.0)])]) self.assertEqual(multiPolygon.toGeoJSON(), { 'type': 'MultiPolygon', 'coordinates': [[[[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]], [[[7.0, 8.0, 9.0], [10.0, 11.0, 12.0]]]] })<|fim▁end|>
def test_toGeoJSON(self): multiPolygon = MultiPolygon3D(polygon=[Polygon3D(point=[Point3D(x=1.0, y=2.0, z=3.0),
<|file_name|>vec-ivec-deadlock.rs<|end_file_name|><|fim▁begin|>// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. pub fn main() { let a = ~[1, 2, 3, 4, 5];<|fim▁hole|><|fim▁end|>
let mut b = ~[a.clone(), a.clone()]; b = b + b; // FIXME(#3387)---can't write b += b }
<|file_name|>event.js<|end_file_name|><|fim▁begin|>'use strict'; describe('Controller: EventCtrl', function () {<|fim▁hole|> beforeEach(module('ngBrxApp')); var EventCtrl, scope; // Initialize the controller and a mock scope beforeEach(inject(function ($controller, $rootScope) { scope = $rootScope.$new(); EventCtrl = $controller('EventCtrl', { $scope: scope }); })); it('should attach a list of awesomeThings to the scope', function () { expect(scope.awesomeThings.length).toBe(3); }); });<|fim▁end|>
// load the controller's module
<|file_name|>client.go<|end_file_name|><|fim▁begin|>// Copyright (C) 2015 The GoHBase Authors. All rights reserved. // This file is part of GoHBase. // Use of this source code is governed by the Apache License 2.0 // that can be found in the COPYING file. package region import ( "encoding/binary" "errors" "fmt" "io" "net" "sync" "sync/atomic" "time" log "github.com/sirupsen/logrus" "github.com/golang/protobuf/proto" "github.com/tsuna/gohbase/hrpc" "github.com/tsuna/gohbase/pb" ) // ClientType is a type alias to represent the type of this region client type ClientType string type canDeserializeCellBlocks interface { // DeserializeCellBlocks populates passed protobuf message with results // deserialized from the reader and returns number of bytes read or error. DeserializeCellBlocks(proto.Message, []byte) (uint32, error) } var ( // ErrMissingCallID is used when HBase sends us a response message for a // request that we didn't send ErrMissingCallID = errors.New("got a response with a nonsensical call ID") // ErrClientDead is returned to rpcs when Close() is called or when client // died because of failed send or receive ErrClientDead = UnrecoverableError{errors.New("client is dead")} // javaRetryableExceptions is a map where all Java exceptions that signify // the RPC should be sent again are listed (as keys). If a Java exception // listed here is returned by HBase, the client should attempt to resend // the RPC message, potentially via a different region client. javaRetryableExceptions = map[string]struct{}{ "org.apache.hadoop.hbase.CallQueueTooBigException": struct{}{}, "org.apache.hadoop.hbase.NotServingRegionException": struct{}{}, "org.apache.hadoop.hbase.exceptions.RegionMovedException": struct{}{}, "org.apache.hadoop.hbase.exceptions.RegionOpeningException": struct{}{}, "org.apache.hadoop.hbase.ipc.ServerNotRunningYetException": struct{}{}, "org.apache.hadoop.hbase.quotas.RpcThrottlingException": struct{}{}, "org.apache.hadoop.hbase.RetryImmediatelyException": struct{}{}, } // javaUnrecoverableExceptions is a map where all Java exceptions that signify // the RPC should be sent again are listed (as keys). If a Java exception // listed here is returned by HBase, the RegionClient will be closed and a new // one should be established. javaUnrecoverableExceptions = map[string]struct{}{ "org.apache.hadoop.hbase.regionserver.RegionServerAbortedException": struct{}{}, "org.apache.hadoop.hbase.regionserver.RegionServerStoppedException": struct{}{}, } ) const ( //DefaultLookupTimeout is the default region lookup timeout DefaultLookupTimeout = 30 * time.Second //DefaultReadTimeout is the default region read timeout DefaultReadTimeout = 30 * time.Second // RegionClient is a ClientType that means this will be a normal client RegionClient = ClientType("ClientService") // MasterClient is a ClientType that means this client will talk to the // master server MasterClient = ClientType("MasterService") ) var bufferPool = sync.Pool{ New: func() interface{} { var b []byte return b }, } func newBuffer(size int) []byte { b := bufferPool.Get().([]byte) if cap(b) < size { doublecap := 2 * cap(b) if doublecap > size { return make([]byte, size, doublecap) } return make([]byte, size) } return b[:size] } func freeBuffer(b []byte) { bufferPool.Put(b[:0]) } // UnrecoverableError is an error that this region.Client can't recover from. // The connection to the RegionServer has to be closed and all queued and // outstanding RPCs will be failed / retried. type UnrecoverableError struct { error } func (e UnrecoverableError) Error() string { return e.error.Error() } // RetryableError is an error that indicates the RPC should be retried because // the error is transient (e.g. a region being momentarily unavailable). type RetryableError struct { error } func (e RetryableError) Error() string { return e.error.Error() } // client manages a connection to a RegionServer. type client struct { conn net.Conn // Address of the RegionServer. addr string // once used for concurrent calls to fail once sync.Once rpcs chan hrpc.Call done chan struct{} // sent contains the mapping of sent call IDs to RPC calls, so that when // a response is received it can be tied to the correct RPC sentM sync.Mutex // protects sent sent map[uint32]hrpc.Call // inFlight is number of rpcs sent to regionserver awaiting response inFlightM sync.Mutex // protects inFlight and SetReadDeadline inFlight uint32 id uint32 rpcQueueSize int flushInterval time.Duration effectiveUser string // readTimeout is the maximum amount of time to wait for regionserver reply readTimeout time.Duration } // QueueRPC will add an rpc call to the queue for processing by the writer goroutine func (c *client) QueueRPC(rpc hrpc.Call) { if b, ok := rpc.(hrpc.Batchable); ok && c.rpcQueueSize > 1 && !b.SkipBatch() { // queue up the rpc select { case <-rpc.Context().Done(): // rpc timed out before being processed case <-c.done: returnResult(rpc, nil, ErrClientDead) case c.rpcs <- rpc: } } else { if err := c.trySend(rpc); err != nil { returnResult(rpc, nil, err) } } } // Close asks this region.Client to close its connection to the RegionServer. // All queued and outstanding RPCs, if any, will be failed as if a connection // error had happened. func (c *client) Close() { c.fail(ErrClientDead) } // Addr returns address of the region server the client is connected to func (c *client) Addr() string { return c.addr } // String returns a string represintation of the current region client func (c *client) String() string { return fmt.Sprintf("RegionClient{Addr: %s}", c.addr) } func (c *client) inFlightUp() { c.inFlightM.Lock() c.inFlight++ // we expect that at least the last request can be completed within readTimeout c.conn.SetReadDeadline(time.Now().Add(c.readTimeout)) c.inFlightM.Unlock() } func (c *client) inFlightDown() { c.inFlightM.Lock() c.inFlight-- // reset read timeout if we are not waiting for any responses // in order to prevent from closing this client if there are no request if c.inFlight == 0 { c.conn.SetReadDeadline(time.Time{}) } c.inFlightM.Unlock() } func (c *client) fail(err error) { c.once.Do(func() { log.WithFields(log.Fields{ "client": c, "err": err, }).Error("error occured, closing region client") // we don't close c.rpcs channel to make it block in select of QueueRPC // and avoid dealing with synchronization of closing it while someone // might be sending to it. Go's GC will take care of it. // tell goroutines to stop close(c.done) // close connection to the regionserver // to let it know that we can't receive anymore // and fail all the rpcs being sent c.conn.Close() c.failSentRPCs() }) } func (c *client) failSentRPCs() { // channel is closed, clean up awaiting rpcs c.sentM.Lock() sent := c.sent c.sent = make(map[uint32]hrpc.Call) c.sentM.Unlock() log.WithFields(log.Fields{ "client": c, "count": len(sent), }).Debug("failing awaiting RPCs") // send error to awaiting rpcs for _, rpc := range sent { returnResult(rpc, nil, ErrClientDead) } } func (c *client) registerRPC(rpc hrpc.Call) uint32 { currID := atomic.AddUint32(&c.id, 1) c.sentM.Lock() c.sent[currID] = rpc c.sentM.Unlock() return currID } func (c *client) unregisterRPC(id uint32) hrpc.Call { c.sentM.Lock() rpc := c.sent[id] delete(c.sent, id) c.sentM.Unlock() return rpc } func (c *client) processRPCs() { // TODO: flush when the size is too large // TODO: if multi has only one call, send that call instead m := newMulti(c.rpcQueueSize) defer func() { m.returnResults(nil, ErrClientDead) }() flush := func() { if log.GetLevel() == log.DebugLevel { log.WithFields(log.Fields{ "len": m.len(), "addr": c.Addr(), }).Debug("flushing MultiRequest") } if err := c.trySend(m); err != nil { m.returnResults(nil, err) } m = newMulti(c.rpcQueueSize) } for { // first loop is to accomodate request heavy workload // it will batch as long as conccurent writers are sending // new rpcs or until multi is filled up for { select { case <-c.done: return case rpc := <-c.rpcs: // have things queued up, batch them if !m.add(rpc) { // can still put more rpcs into batch continue } default: // no more rpcs queued up } break } if l := m.len(); l == 0 { // wait for the next batch select { case <-c.done: return case rpc := <-c.rpcs: m.add(rpc) } continue } else if l == c.rpcQueueSize || c.flushInterval == 0 { // batch is full, flush flush() continue } // second loop is to accomodate less frequent callers // that would like to maximize their batches at the expense // of waiting for flushInteval timer := time.NewTimer(c.flushInterval) for { select { case <-c.done: return case <-timer.C: // time to flush case rpc := <-c.rpcs: if !m.add(rpc) { // can still put more rpcs into batch continue } // batch is full if !timer.Stop() { <-timer.C } } break } flush() } } func returnResult(c hrpc.Call, msg proto.Message, err error) { if m, ok := c.(*multi); ok { m.returnResults(msg, err) } else { c.ResultChan() <- hrpc.RPCResult{Msg: msg, Error: err} } } func (c *client) trySend(rpc hrpc.Call) error { select { case <-c.done: // An unrecoverable error has occured, // region client has been stopped, // don't send rpcs return ErrClientDead case <-rpc.Context().Done(): // If the deadline has been exceeded, don't bother sending the // request. The function that placed the RPC in our queue should // stop waiting for a result and return an error. return nil default: if id, err := c.send(rpc); err != nil { if _, ok := err.(UnrecoverableError); ok { c.fail(err) } if r := c.unregisterRPC(id); r != nil { // we are the ones to unregister the rpc, // return err to notify client of it return err } } return nil } } func (c *client) receiveRPCs() { for { select { case <-c.done: return default: if err := c.receive(); err != nil { switch err.(type) { case UnrecoverableError: c.fail(err) return case RetryableError: continue } } } } } func (c *client) receive() (err error) { var ( sz [4]byte header pb.ResponseHeader response proto.Message ) err = c.readFully(sz[:]) if err != nil { return UnrecoverableError{err} } size := binary.BigEndian.Uint32(sz[:]) b := make([]byte, size) err = c.readFully(b) if err != nil { return UnrecoverableError{err} } buf := proto.NewBuffer(b) if err = buf.DecodeMessage(&header); err != nil { return fmt.Errorf("failed to decode the response header: %s", err) } if header.CallId == nil { return ErrMissingCallID } callID := *header.CallId rpc := c.unregisterRPC(callID) if rpc == nil { return fmt.Errorf("got a response with an unexpected call ID: %d", callID) } c.inFlightDown() select { case <-rpc.Context().Done(): // context has expired, don't bother deserializing return default: } // Here we know for sure that we got a response for rpc we asked. // It's our responsibility to deliver the response or error to the // caller as we unregistered the rpc. defer func() { returnResult(rpc, response, err) }() if header.Exception == nil { response = rpc.NewResponse() if err = buf.DecodeMessage(response); err != nil { err = fmt.Errorf("failed to decode the response: %s", err) return } var cellsLen uint32 if header.CellBlockMeta != nil { cellsLen = header.CellBlockMeta.GetLength() } if d, ok := rpc.(canDeserializeCellBlocks); cellsLen > 0 && ok { b := buf.Bytes()[size-cellsLen:] var nread uint32 nread, err = d.DeserializeCellBlocks(response, b) if err != nil { err = fmt.Errorf("failed to decode the response: %s", err) return } if int(nread) < len(b) { err = fmt.Errorf("short read: buffer len %d, read %d", len(b), nread) return } } } else { err = exceptionToError(*header.Exception.ExceptionClassName, *header.Exception.StackTrace) } return } func exceptionToError(class, stack string) error { err := fmt.Errorf("HBase Java exception %s:\n%s", class, stack) if _, ok := javaRetryableExceptions[class]; ok { return RetryableError{err} } else if _, ok := javaUnrecoverableExceptions[class]; ok { return UnrecoverableError{err} } return err } // write sends the given buffer to the RegionServer. func (c *client) write(buf []byte) error { _, err := c.conn.Write(buf) return err } // Tries to read enough data to fully fill up the given buffer. func (c *client) readFully(buf []byte) error { _, err := io.ReadFull(c.conn, buf) return err } // sendHello sends the "hello" message needed when opening a new connection. func (c *client) sendHello(ctype ClientType) error { connHeader := &pb.ConnectionHeader{ UserInfo: &pb.UserInformation{ EffectiveUser: proto.String(c.effectiveUser), }, ServiceName: proto.String(string(ctype)), CellBlockCodecClass: proto.String("org.apache.hadoop.hbase.codec.KeyValueCodec"), } data, err := proto.Marshal(connHeader) if err != nil { return fmt.Errorf("failed to marshal connection header: %s", err) } const header = "HBas\x00\x50" // \x50 = Simple Auth. buf := make([]byte, 0, len(header)+4+len(data)) buf = append(buf, header...) buf = buf[:len(header)+4] binary.BigEndian.PutUint32(buf[6:], uint32(len(data))) buf = append(buf, data...) return c.write(buf) } // send sends an RPC out to the wire. // Returns the response (for now, as the call is synchronous). func (c *client) send(rpc hrpc.Call) (uint32, error) { b := newBuffer(4) defer func() { freeBuffer(b) }() buf := proto.NewBuffer(b[4:]) buf.Reset() request := rpc.ToProto() // we have to register rpc after we marhsal because // registered rpc can fail before it was even sent // in all the cases where c.fail() is called. // If that happens, client can retry sending the rpc // again potentially changing it's contents. id := c.registerRPC(rpc) header := &pb.RequestHeader{ CallId: &id, MethodName: proto.String(rpc.Name()), RequestParam: proto.Bool(true), } if err := buf.EncodeMessage(header); err != nil { return id, fmt.Errorf("failed to marshal request header: %s", err) } if err := buf.EncodeMessage(request); err != nil { return id, fmt.Errorf("failed to marshal request: %s", err) } payload := buf.Bytes() binary.BigEndian.PutUint32(b, uint32(len(payload))) b = append(b[:4], payload...)<|fim▁hole|> return id, UnrecoverableError{err} } c.inFlightUp() return id, nil }<|fim▁end|>
if err := c.write(b); err != nil {
<|file_name|>account.cpp<|end_file_name|><|fim▁begin|>/* $Id$ */ /* * Copyright (C) 2013 Teluu Inc. (http://www.teluu.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <pjsua2/account.hpp> #include <pjsua2/endpoint.hpp> #include <pjsua2/presence.hpp> #include <pj/ctype.h> #include "util.hpp" using namespace pj; using namespace std; #define THIS_FILE "account.cpp" /////////////////////////////////////////////////////////////////////////////// void RtcpFbCap::fromPj(const pjmedia_rtcp_fb_cap &prm) { this->codecId = pj2Str(prm.codec_id); this->type = prm.type; this->typeName = pj2Str(prm.type_name); this->param = pj2Str(prm.param); } pjmedia_rtcp_fb_cap RtcpFbCap::toPj() const { pjmedia_rtcp_fb_cap cap; pj_bzero(&cap, sizeof(cap)); cap.codec_id = str2Pj(this->codecId); cap.type = this->type; cap.type_name = str2Pj(this->typeName); cap.param = str2Pj(this->param); return cap; } /////////////////////////////////////////////////////////////////////////////// RtcpFbConfig::RtcpFbConfig() { pjmedia_rtcp_fb_setting setting; pjmedia_rtcp_fb_setting_default(&setting); fromPj(setting); } void RtcpFbConfig::fromPj(const pjmedia_rtcp_fb_setting &prm) { this->dontUseAvpf = PJ2BOOL(prm.dont_use_avpf); this->caps.clear(); for (unsigned i = 0; i < prm.cap_count; ++i) { RtcpFbCap cap; cap.fromPj(prm.caps[i]); this->caps.push_back(cap); } } pjmedia_rtcp_fb_setting RtcpFbConfig::toPj() const { pjmedia_rtcp_fb_setting setting; pj_bzero(&setting, sizeof(setting)); setting.dont_use_avpf = this->dontUseAvpf; setting.cap_count = this->caps.size(); for (unsigned i = 0; i < setting.cap_count; ++i) { setting.caps[i] = this->caps[i].toPj(); } return setting; } void RtcpFbConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("RtcpFbConfig"); NODE_READ_BOOL (this_node, dontUseAvpf); ContainerNode cap_node = this_node.readArray("caps"); this->caps.clear(); while (cap_node.hasUnread()) { RtcpFbCap cap; NODE_READ_STRING (cap_node, cap.codecId); NODE_READ_NUM_T (cap_node, pjmedia_rtcp_fb_type, cap.type); NODE_READ_STRING (cap_node, cap.typeName); NODE_READ_STRING (cap_node, cap.param); this->caps.push_back(cap); } } void RtcpFbConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("RtcpFbConfig"); NODE_WRITE_BOOL (this_node, dontUseAvpf); ContainerNode cap_node = this_node.writeNewArray("caps"); for (unsigned i=0; i<this->caps.size(); ++i) { NODE_WRITE_STRING (cap_node, this->caps[i].codecId); NODE_WRITE_NUM_T (cap_node, pjmedia_rtcp_fb_type, this->caps[i].type); NODE_WRITE_STRING (cap_node, this->caps[i].typeName); NODE_WRITE_STRING (cap_node, this->caps[i].param); } } /////////////////////////////////////////////////////////////////////////////// void SrtpCrypto::fromPj(const pjmedia_srtp_crypto &prm) { this->key = pj2Str(prm.key); this->name = pj2Str(prm.name); this->flags = prm.flags; } pjmedia_srtp_crypto SrtpCrypto::toPj() const { pjmedia_srtp_crypto crypto; crypto.key = str2Pj(this->key); crypto.name = str2Pj(this->name); crypto.flags = this->flags; return crypto; } /////////////////////////////////////////////////////////////////////////////// SrtpOpt::SrtpOpt() { pjsua_srtp_opt opt; pjsua_srtp_opt_default(&opt); fromPj(opt); } void SrtpOpt::fromPj(const pjsua_srtp_opt &prm) { this->cryptos.clear(); for (unsigned i = 0; i < prm.crypto_count; ++i) { SrtpCrypto crypto; crypto.fromPj(prm.crypto[i]); this->cryptos.push_back(crypto); }<|fim▁hole|> this->keyings.push_back(prm.keying[i]); } } pjsua_srtp_opt SrtpOpt::toPj() const { pjsua_srtp_opt opt; pj_bzero(&opt, sizeof(opt)); opt.crypto_count = this->cryptos.size(); for (unsigned i = 0; i < opt.crypto_count; ++i) { opt.crypto[i] = this->cryptos[i].toPj(); } opt.keying_count = this->keyings.size(); for (unsigned i = 0; i < opt.keying_count; ++i) { opt.keying[i] = (pjmedia_srtp_keying_method)this->keyings[i]; } return opt; } void SrtpOpt::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("SrtpOpt"); ContainerNode crypto_node = this_node.readArray("cryptos"); this->cryptos.clear(); while (crypto_node.hasUnread()) { SrtpCrypto crypto; NODE_READ_STRING (crypto_node, crypto.key); NODE_READ_STRING (crypto_node, crypto.name); NODE_READ_UNSIGNED (crypto_node, crypto.flags); this->cryptos.push_back(crypto); } ContainerNode keying_node = this_node.readArray("keyings"); this->keyings.clear(); while (keying_node.hasUnread()) { unsigned keying; NODE_READ_UNSIGNED (keying_node, keying); this->keyings.push_back(keying); } } void SrtpOpt::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("SrtpOpt"); ContainerNode crypto_node = this_node.writeNewArray("cryptos"); for (unsigned i=0; i<this->cryptos.size(); ++i) { NODE_WRITE_STRING (crypto_node, this->cryptos[i].key); NODE_WRITE_STRING (crypto_node, this->cryptos[i].name); NODE_WRITE_UNSIGNED (crypto_node, this->cryptos[i].flags); } ContainerNode keying_node = this_node.writeNewArray("keyings"); for (unsigned i=0; i<this->keyings.size(); ++i) { NODE_WRITE_UNSIGNED (keying_node, this->keyings[i]); } } /////////////////////////////////////////////////////////////////////////////// void AccountRegConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("AccountRegConfig"); NODE_READ_STRING (this_node, registrarUri); NODE_READ_BOOL (this_node, registerOnAdd); NODE_READ_UNSIGNED (this_node, timeoutSec); NODE_READ_UNSIGNED (this_node, retryIntervalSec); NODE_READ_UNSIGNED (this_node, firstRetryIntervalSec); NODE_READ_UNSIGNED (this_node, randomRetryIntervalSec); NODE_READ_UNSIGNED (this_node, delayBeforeRefreshSec); NODE_READ_BOOL (this_node, dropCallsOnFail); NODE_READ_UNSIGNED (this_node, unregWaitMsec); NODE_READ_UNSIGNED (this_node, proxyUse); NODE_READ_STRING (this_node, contactParams); readSipHeaders(this_node, "headers", headers); } void AccountRegConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("AccountRegConfig"); NODE_WRITE_STRING (this_node, registrarUri); NODE_WRITE_BOOL (this_node, registerOnAdd); NODE_WRITE_UNSIGNED (this_node, timeoutSec); NODE_WRITE_UNSIGNED (this_node, retryIntervalSec); NODE_WRITE_UNSIGNED (this_node, firstRetryIntervalSec); NODE_WRITE_UNSIGNED (this_node, randomRetryIntervalSec); NODE_WRITE_UNSIGNED (this_node, delayBeforeRefreshSec); NODE_WRITE_BOOL (this_node, dropCallsOnFail); NODE_WRITE_UNSIGNED (this_node, unregWaitMsec); NODE_WRITE_UNSIGNED (this_node, proxyUse); NODE_WRITE_STRING (this_node, contactParams); writeSipHeaders(this_node, "headers", headers); } /////////////////////////////////////////////////////////////////////////////// void AccountSipConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("AccountSipConfig"); NODE_READ_STRINGV (this_node, proxies); NODE_READ_STRING (this_node, contactForced); NODE_READ_STRING (this_node, contactParams); NODE_READ_STRING (this_node, contactUriParams); NODE_READ_BOOL (this_node, authInitialEmpty); NODE_READ_STRING (this_node, authInitialAlgorithm); NODE_READ_INT (this_node, transportId); ContainerNode creds_node = this_node.readArray("authCreds"); authCreds.resize(0); while (creds_node.hasUnread()) { AuthCredInfo cred; cred.readObject(creds_node); authCreds.push_back(cred); } } void AccountSipConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("AccountSipConfig"); NODE_WRITE_STRINGV (this_node, proxies); NODE_WRITE_STRING (this_node, contactForced); NODE_WRITE_STRING (this_node, contactParams); NODE_WRITE_STRING (this_node, contactUriParams); NODE_WRITE_BOOL (this_node, authInitialEmpty); NODE_WRITE_STRING (this_node, authInitialAlgorithm); NODE_WRITE_INT (this_node, transportId); ContainerNode creds_node = this_node.writeNewArray("authCreds"); for (unsigned i=0; i<authCreds.size(); ++i) { authCreds[i].writeObject(creds_node); } } /////////////////////////////////////////////////////////////////////////////// void AccountCallConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("AccountCallConfig"); NODE_READ_NUM_T ( this_node, pjsua_call_hold_type, holdType); NODE_READ_NUM_T ( this_node, pjsua_100rel_use, prackUse); NODE_READ_NUM_T ( this_node, pjsua_sip_timer_use, timerUse); NODE_READ_UNSIGNED( this_node, timerMinSESec); NODE_READ_UNSIGNED( this_node, timerSessExpiresSec); } void AccountCallConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("AccountCallConfig"); NODE_WRITE_NUM_T ( this_node, pjsua_call_hold_type, holdType); NODE_WRITE_NUM_T ( this_node, pjsua_100rel_use, prackUse); NODE_WRITE_NUM_T ( this_node, pjsua_sip_timer_use, timerUse); NODE_WRITE_UNSIGNED( this_node, timerMinSESec); NODE_WRITE_UNSIGNED( this_node, timerSessExpiresSec); } /////////////////////////////////////////////////////////////////////////////// void AccountPresConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("AccountPresConfig"); NODE_READ_BOOL ( this_node, publishEnabled); NODE_READ_BOOL ( this_node, publishQueue); NODE_READ_UNSIGNED( this_node, publishShutdownWaitMsec); NODE_READ_STRING ( this_node, pidfTupleId); readSipHeaders(this_node, "headers", headers); } void AccountPresConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("AccountPresConfig"); NODE_WRITE_BOOL ( this_node, publishEnabled); NODE_WRITE_BOOL ( this_node, publishQueue); NODE_WRITE_UNSIGNED( this_node, publishShutdownWaitMsec); NODE_WRITE_STRING ( this_node, pidfTupleId); writeSipHeaders(this_node, "headers", headers); } /////////////////////////////////////////////////////////////////////////////// void AccountMwiConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("AccountMwiConfig"); NODE_READ_BOOL ( this_node, enabled); NODE_READ_UNSIGNED( this_node, expirationSec); } void AccountMwiConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("AccountMwiConfig"); NODE_WRITE_BOOL ( this_node, enabled); NODE_WRITE_UNSIGNED( this_node, expirationSec); } /////////////////////////////////////////////////////////////////////////////// void AccountNatConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("AccountNatConfig"); NODE_READ_NUM_T ( this_node, pjsua_stun_use, sipStunUse); NODE_READ_NUM_T ( this_node, pjsua_stun_use, mediaStunUse); NODE_READ_NUM_T ( this_node, pjsua_nat64_opt, nat64Opt); NODE_READ_BOOL ( this_node, iceEnabled); NODE_READ_INT ( this_node, iceMaxHostCands); NODE_READ_BOOL ( this_node, iceAggressiveNomination); NODE_READ_UNSIGNED( this_node, iceNominatedCheckDelayMsec); NODE_READ_INT ( this_node, iceWaitNominationTimeoutMsec); NODE_READ_BOOL ( this_node, iceNoRtcp); NODE_READ_BOOL ( this_node, iceAlwaysUpdate); NODE_READ_BOOL ( this_node, turnEnabled); NODE_READ_STRING ( this_node, turnServer); NODE_READ_NUM_T ( this_node, pj_turn_tp_type, turnConnType); NODE_READ_STRING ( this_node, turnUserName); NODE_READ_INT ( this_node, turnPasswordType); NODE_READ_STRING ( this_node, turnPassword); NODE_READ_INT ( this_node, contactRewriteUse); NODE_READ_INT ( this_node, contactRewriteMethod); NODE_READ_INT ( this_node, viaRewriteUse); NODE_READ_INT ( this_node, sdpNatRewriteUse); NODE_READ_INT ( this_node, sipOutboundUse); NODE_READ_STRING ( this_node, sipOutboundInstanceId); NODE_READ_STRING ( this_node, sipOutboundRegId); NODE_READ_UNSIGNED( this_node, udpKaIntervalSec); NODE_READ_STRING ( this_node, udpKaData); NODE_READ_INT ( this_node, contactUseSrcPort); } void AccountNatConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("AccountNatConfig"); NODE_WRITE_NUM_T ( this_node, pjsua_stun_use, sipStunUse); NODE_WRITE_NUM_T ( this_node, pjsua_stun_use, mediaStunUse); NODE_WRITE_NUM_T ( this_node, pjsua_nat64_opt, nat64Opt); NODE_WRITE_BOOL ( this_node, iceEnabled); NODE_WRITE_INT ( this_node, iceMaxHostCands); NODE_WRITE_BOOL ( this_node, iceAggressiveNomination); NODE_WRITE_UNSIGNED( this_node, iceNominatedCheckDelayMsec); NODE_WRITE_INT ( this_node, iceWaitNominationTimeoutMsec); NODE_WRITE_BOOL ( this_node, iceNoRtcp); NODE_WRITE_BOOL ( this_node, iceAlwaysUpdate); NODE_WRITE_BOOL ( this_node, turnEnabled); NODE_WRITE_STRING ( this_node, turnServer); NODE_WRITE_NUM_T ( this_node, pj_turn_tp_type, turnConnType); NODE_WRITE_STRING ( this_node, turnUserName); NODE_WRITE_INT ( this_node, turnPasswordType); NODE_WRITE_STRING ( this_node, turnPassword); NODE_WRITE_INT ( this_node, contactRewriteUse); NODE_WRITE_INT ( this_node, contactRewriteMethod); NODE_WRITE_INT ( this_node, viaRewriteUse); NODE_WRITE_INT ( this_node, sdpNatRewriteUse); NODE_WRITE_INT ( this_node, sipOutboundUse); NODE_WRITE_STRING ( this_node, sipOutboundInstanceId); NODE_WRITE_STRING ( this_node, sipOutboundRegId); NODE_WRITE_UNSIGNED( this_node, udpKaIntervalSec); NODE_WRITE_STRING ( this_node, udpKaData); NODE_WRITE_INT ( this_node, contactUseSrcPort); } /////////////////////////////////////////////////////////////////////////////// void AccountMediaConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("AccountMediaConfig"); NODE_READ_BOOL ( this_node, lockCodecEnabled); NODE_READ_BOOL ( this_node, streamKaEnabled); NODE_READ_NUM_T ( this_node, pjmedia_srtp_use, srtpUse); NODE_READ_INT ( this_node, srtpSecureSignaling); NODE_READ_OBJ ( this_node, srtpOpt); NODE_READ_NUM_T ( this_node, pjsua_ipv6_use, ipv6Use); NODE_READ_OBJ ( this_node, transportConfig); NODE_READ_BOOL ( this_node, rtcpMuxEnabled); } void AccountMediaConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("AccountMediaConfig"); NODE_WRITE_BOOL ( this_node, lockCodecEnabled); NODE_WRITE_BOOL ( this_node, streamKaEnabled); NODE_WRITE_NUM_T ( this_node, pjmedia_srtp_use, srtpUse); NODE_WRITE_INT ( this_node, srtpSecureSignaling); NODE_WRITE_OBJ ( this_node, srtpOpt); NODE_WRITE_NUM_T ( this_node, pjsua_ipv6_use, ipv6Use); NODE_WRITE_OBJ ( this_node, transportConfig); NODE_WRITE_BOOL ( this_node, rtcpMuxEnabled); } /////////////////////////////////////////////////////////////////////////////// void AccountVideoConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("AccountVideoConfig"); NODE_READ_BOOL ( this_node, autoShowIncoming); NODE_READ_BOOL ( this_node, autoTransmitOutgoing); NODE_READ_UNSIGNED( this_node, windowFlags); NODE_READ_NUM_T ( this_node, pjmedia_vid_dev_index, defaultCaptureDevice); NODE_READ_NUM_T ( this_node, pjmedia_vid_dev_index, defaultRenderDevice); NODE_READ_NUM_T ( this_node, pjmedia_vid_stream_rc_method, rateControlMethod); NODE_READ_UNSIGNED( this_node, rateControlBandwidth); NODE_READ_UNSIGNED( this_node, startKeyframeCount); NODE_READ_UNSIGNED( this_node, startKeyframeInterval); } void AccountVideoConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("AccountVideoConfig"); NODE_WRITE_BOOL ( this_node, autoShowIncoming); NODE_WRITE_BOOL ( this_node, autoTransmitOutgoing); NODE_WRITE_UNSIGNED( this_node, windowFlags); NODE_WRITE_NUM_T ( this_node, pjmedia_vid_dev_index, defaultCaptureDevice); NODE_WRITE_NUM_T ( this_node, pjmedia_vid_dev_index, defaultRenderDevice); NODE_WRITE_NUM_T ( this_node, pjmedia_vid_stream_rc_method, rateControlMethod); NODE_WRITE_UNSIGNED( this_node, rateControlBandwidth); NODE_WRITE_UNSIGNED( this_node, startKeyframeCount); NODE_WRITE_UNSIGNED( this_node, startKeyframeInterval); } /////////////////////////////////////////////////////////////////////////////// void AccountIpChangeConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("AccountIpChangeConfig"); NODE_READ_BOOL ( this_node, shutdownTp); NODE_READ_BOOL ( this_node, hangupCalls); NODE_READ_UNSIGNED( this_node, reinviteFlags); } void AccountIpChangeConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("AccountIpChangeConfig"); NODE_WRITE_BOOL ( this_node, shutdownTp); NODE_WRITE_BOOL ( this_node, hangupCalls); NODE_WRITE_UNSIGNED( this_node, reinviteFlags); } /////////////////////////////////////////////////////////////////////////////// AccountConfig::AccountConfig() { pjsua_acc_config acc_cfg; pjsua_acc_config_default(&acc_cfg); pjsua_media_config med_cfg; pjsua_media_config_default(&med_cfg); fromPj(acc_cfg, &med_cfg); } /* Convert to pjsip. */ void AccountConfig::toPj(pjsua_acc_config &ret) const { unsigned i; pjsua_acc_config_default(&ret); // Global ret.priority = priority; ret.id = str2Pj(idUri); // AccountRegConfig ret.reg_uri = str2Pj(regConfig.registrarUri); ret.register_on_acc_add = regConfig.registerOnAdd; ret.reg_timeout = regConfig.timeoutSec; ret.reg_retry_interval = regConfig.retryIntervalSec; ret.reg_first_retry_interval= regConfig.firstRetryIntervalSec; ret.reg_retry_random_interval= regConfig.randomRetryIntervalSec; ret.reg_delay_before_refresh= regConfig.delayBeforeRefreshSec; ret.drop_calls_on_reg_fail = regConfig.dropCallsOnFail; ret.unreg_timeout = regConfig.unregWaitMsec; ret.reg_use_proxy = regConfig.proxyUse; ret.reg_contact_params = str2Pj(regConfig.contactParams); for (i=0; i<regConfig.headers.size(); ++i) { pj_list_push_back(&ret.reg_hdr_list, &regConfig.headers[i].toPj()); } // AccountSipConfig ret.cred_count = 0; if (sipConfig.authCreds.size() > PJ_ARRAY_SIZE(ret.cred_info)) PJSUA2_RAISE_ERROR(PJ_ETOOMANY); for (i=0; i<sipConfig.authCreds.size(); ++i) { const AuthCredInfo &src = sipConfig.authCreds[i]; pjsip_cred_info *dst = &ret.cred_info[i]; dst->realm = str2Pj(src.realm); dst->scheme = str2Pj(src.scheme); dst->username = str2Pj(src.username); dst->data_type = src.dataType; dst->data = str2Pj(src.data); dst->ext.aka.k = str2Pj(src.akaK); dst->ext.aka.op = str2Pj(src.akaOp); dst->ext.aka.amf= str2Pj(src.akaAmf); ret.cred_count++; } ret.proxy_cnt = 0; if (sipConfig.proxies.size() > PJ_ARRAY_SIZE(ret.proxy)) PJSUA2_RAISE_ERROR(PJ_ETOOMANY); for (i=0; i<sipConfig.proxies.size(); ++i) { ret.proxy[ret.proxy_cnt++] = str2Pj(sipConfig.proxies[i]); } ret.force_contact = str2Pj(sipConfig.contactForced); ret.contact_params = str2Pj(sipConfig.contactParams); ret.contact_uri_params = str2Pj(sipConfig.contactUriParams); ret.auth_pref.initial_auth = sipConfig.authInitialEmpty; ret.auth_pref.algorithm = str2Pj(sipConfig.authInitialAlgorithm); ret.transport_id = sipConfig.transportId; // AccountCallConfig ret.call_hold_type = callConfig.holdType; ret.require_100rel = callConfig.prackUse; ret.use_timer = callConfig.timerUse; ret.timer_setting.min_se = callConfig.timerMinSESec; ret.timer_setting.sess_expires = callConfig.timerSessExpiresSec; // AccountPresConfig for (i=0; i<presConfig.headers.size(); ++i) { pj_list_push_back(&ret.sub_hdr_list, &presConfig.headers[i].toPj()); } ret.publish_enabled = presConfig.publishEnabled; ret.publish_opt.queue_request= presConfig.publishQueue; ret.unpublish_max_wait_time_msec = presConfig.publishShutdownWaitMsec; ret.pidf_tuple_id = str2Pj(presConfig.pidfTupleId); // AccountMwiConfig ret.mwi_enabled = mwiConfig.enabled; ret.mwi_expires = mwiConfig.expirationSec; // AccountNatConfig ret.sip_stun_use = natConfig.sipStunUse; ret.media_stun_use = natConfig.mediaStunUse; ret.nat64_opt = natConfig.nat64Opt; ret.ice_cfg_use = PJSUA_ICE_CONFIG_USE_CUSTOM; ret.ice_cfg.enable_ice = natConfig.iceEnabled; ret.ice_cfg.ice_max_host_cands = natConfig.iceMaxHostCands; ret.ice_cfg.ice_opt.aggressive = natConfig.iceAggressiveNomination; ret.ice_cfg.ice_opt.nominated_check_delay = natConfig.iceNominatedCheckDelayMsec; ret.ice_cfg.ice_opt.controlled_agent_want_nom_timeout = natConfig.iceWaitNominationTimeoutMsec; ret.ice_cfg.ice_no_rtcp = natConfig.iceNoRtcp; ret.ice_cfg.ice_always_update = natConfig.iceAlwaysUpdate; ret.turn_cfg_use = PJSUA_TURN_CONFIG_USE_CUSTOM; ret.turn_cfg.enable_turn = natConfig.turnEnabled; ret.turn_cfg.turn_server = str2Pj(natConfig.turnServer); ret.turn_cfg.turn_conn_type = natConfig.turnConnType; ret.turn_cfg.turn_auth_cred.type = PJ_STUN_AUTH_CRED_STATIC; ret.turn_cfg.turn_auth_cred.data.static_cred.username = str2Pj(natConfig.turnUserName); ret.turn_cfg.turn_auth_cred.data.static_cred.data_type = (pj_stun_passwd_type)natConfig.turnPasswordType; ret.turn_cfg.turn_auth_cred.data.static_cred.data = str2Pj(natConfig.turnPassword); ret.turn_cfg.turn_auth_cred.data.static_cred.realm = pj_str((char*)""); ret.turn_cfg.turn_auth_cred.data.static_cred.nonce = pj_str((char*)""); ret.allow_contact_rewrite = natConfig.contactRewriteUse; ret.contact_rewrite_method = natConfig.contactRewriteMethod; ret.contact_use_src_port = natConfig.contactUseSrcPort; ret.allow_via_rewrite = natConfig.viaRewriteUse; ret.allow_sdp_nat_rewrite = natConfig.sdpNatRewriteUse; ret.use_rfc5626 = natConfig.sipOutboundUse; ret.rfc5626_instance_id = str2Pj(natConfig.sipOutboundInstanceId); ret.rfc5626_reg_id = str2Pj(natConfig.sipOutboundRegId); ret.ka_interval = natConfig.udpKaIntervalSec; ret.ka_data = str2Pj(natConfig.udpKaData); // AccountMediaConfig ret.rtp_cfg = mediaConfig.transportConfig.toPj(); ret.lock_codec = mediaConfig.lockCodecEnabled; #if defined(PJMEDIA_STREAM_ENABLE_KA) && (PJMEDIA_STREAM_ENABLE_KA != 0) ret.use_stream_ka = mediaConfig.streamKaEnabled; #endif ret.use_srtp = mediaConfig.srtpUse; ret.srtp_secure_signaling = mediaConfig.srtpSecureSignaling; ret.srtp_opt = mediaConfig.srtpOpt.toPj(); ret.ipv6_media_use = mediaConfig.ipv6Use; ret.enable_rtcp_mux = mediaConfig.rtcpMuxEnabled; ret.rtcp_fb_cfg = mediaConfig.rtcpFbConfig.toPj(); // AccountVideoConfig ret.vid_in_auto_show = videoConfig.autoShowIncoming; ret.vid_out_auto_transmit = videoConfig.autoTransmitOutgoing; ret.vid_wnd_flags = videoConfig.windowFlags; ret.vid_cap_dev = videoConfig.defaultCaptureDevice; ret.vid_rend_dev = videoConfig.defaultRenderDevice; ret.vid_stream_rc_cfg.method= videoConfig.rateControlMethod; ret.vid_stream_rc_cfg.bandwidth = videoConfig.rateControlBandwidth; ret.vid_stream_sk_cfg.count = videoConfig.startKeyframeCount; ret.vid_stream_sk_cfg.interval = videoConfig.startKeyframeInterval; // AccountIpChangeConfig ret.ip_change_cfg.shutdown_tp = ipChangeConfig.shutdownTp; ret.ip_change_cfg.hangup_calls = ipChangeConfig.hangupCalls; ret.ip_change_cfg.reinvite_flags = ipChangeConfig.reinviteFlags; } /* Initialize from pjsip. */ void AccountConfig::fromPj(const pjsua_acc_config &prm, const pjsua_media_config *mcfg) { const pjsip_hdr *hdr; unsigned i; // Global priority = prm.priority; idUri = pj2Str(prm.id); // AccountRegConfig regConfig.registrarUri = pj2Str(prm.reg_uri); regConfig.registerOnAdd = (prm.register_on_acc_add != 0); regConfig.timeoutSec = prm.reg_timeout; regConfig.retryIntervalSec = prm.reg_retry_interval; regConfig.firstRetryIntervalSec = prm.reg_first_retry_interval; regConfig.randomRetryIntervalSec = prm.reg_retry_random_interval; regConfig.delayBeforeRefreshSec = prm.reg_delay_before_refresh; regConfig.dropCallsOnFail = PJ2BOOL(prm.drop_calls_on_reg_fail); regConfig.unregWaitMsec = prm.unreg_timeout; regConfig.proxyUse = prm.reg_use_proxy; regConfig.contactParams = pj2Str(prm.reg_contact_params); regConfig.headers.clear(); hdr = prm.reg_hdr_list.next; while (hdr != &prm.reg_hdr_list) { SipHeader new_hdr; new_hdr.fromPj(hdr); regConfig.headers.push_back(new_hdr); hdr = hdr->next; } // AccountSipConfig sipConfig.authCreds.clear(); for (i=0; i<prm.cred_count; ++i) { AuthCredInfo cred; const pjsip_cred_info &src = prm.cred_info[i]; cred.realm = pj2Str(src.realm); cred.scheme = pj2Str(src.scheme); cred.username = pj2Str(src.username); cred.dataType = src.data_type; cred.data = pj2Str(src.data); cred.akaK = pj2Str(src.ext.aka.k); cred.akaOp = pj2Str(src.ext.aka.op); cred.akaAmf = pj2Str(src.ext.aka.amf); sipConfig.authCreds.push_back(cred); } sipConfig.proxies.clear(); for (i=0; i<prm.proxy_cnt; ++i) { sipConfig.proxies.push_back(pj2Str(prm.proxy[i])); } sipConfig.contactForced = pj2Str(prm.force_contact); sipConfig.contactParams = pj2Str(prm.contact_params); sipConfig.contactUriParams = pj2Str(prm.contact_uri_params); sipConfig.authInitialEmpty = PJ2BOOL(prm.auth_pref.initial_auth); sipConfig.authInitialAlgorithm = pj2Str(prm.auth_pref.algorithm); sipConfig.transportId = prm.transport_id; // AccountCallConfig callConfig.holdType = prm.call_hold_type; callConfig.prackUse = prm.require_100rel; callConfig.timerUse = prm.use_timer; callConfig.timerMinSESec = prm.timer_setting.min_se; callConfig.timerSessExpiresSec = prm.timer_setting.sess_expires; // AccountPresConfig presConfig.headers.clear(); hdr = prm.sub_hdr_list.next; while (hdr != &prm.sub_hdr_list) { SipHeader new_hdr; new_hdr.fromPj(hdr); presConfig.headers.push_back(new_hdr); hdr = hdr->next; } presConfig.publishEnabled = PJ2BOOL(prm.publish_enabled); presConfig.publishQueue = PJ2BOOL(prm.publish_opt.queue_request); presConfig.publishShutdownWaitMsec = prm.unpublish_max_wait_time_msec; presConfig.pidfTupleId = pj2Str(prm.pidf_tuple_id); // AccountMwiConfig mwiConfig.enabled = PJ2BOOL(prm.mwi_enabled); mwiConfig.expirationSec = prm.mwi_expires; // AccountNatConfig natConfig.sipStunUse = prm.sip_stun_use; natConfig.mediaStunUse = prm.media_stun_use; natConfig.nat64Opt = prm.nat64_opt; if (prm.ice_cfg_use == PJSUA_ICE_CONFIG_USE_CUSTOM) { natConfig.iceEnabled = PJ2BOOL(prm.ice_cfg.enable_ice); natConfig.iceMaxHostCands = prm.ice_cfg.ice_max_host_cands; natConfig.iceAggressiveNomination = PJ2BOOL(prm.ice_cfg.ice_opt.aggressive); natConfig.iceNominatedCheckDelayMsec = prm.ice_cfg.ice_opt.nominated_check_delay; natConfig.iceWaitNominationTimeoutMsec = prm.ice_cfg.ice_opt.controlled_agent_want_nom_timeout; natConfig.iceNoRtcp = PJ2BOOL(prm.ice_cfg.ice_no_rtcp); natConfig.iceAlwaysUpdate = PJ2BOOL(prm.ice_cfg.ice_always_update); } else { pjsua_media_config default_mcfg; if (!mcfg) { pjsua_media_config_default(&default_mcfg); mcfg = &default_mcfg; } natConfig.iceEnabled = PJ2BOOL(mcfg->enable_ice); natConfig.iceMaxHostCands= mcfg->ice_max_host_cands; natConfig.iceAggressiveNomination = PJ2BOOL(mcfg->ice_opt.aggressive); natConfig.iceNominatedCheckDelayMsec = mcfg->ice_opt.nominated_check_delay; natConfig.iceWaitNominationTimeoutMsec = mcfg->ice_opt.controlled_agent_want_nom_timeout; natConfig.iceNoRtcp = PJ2BOOL(mcfg->ice_no_rtcp); natConfig.iceAlwaysUpdate = PJ2BOOL(mcfg->ice_always_update); } if (prm.turn_cfg_use == PJSUA_TURN_CONFIG_USE_CUSTOM) { natConfig.turnEnabled = PJ2BOOL(prm.turn_cfg.enable_turn); natConfig.turnServer = pj2Str(prm.turn_cfg.turn_server); natConfig.turnConnType = prm.turn_cfg.turn_conn_type; natConfig.turnUserName = pj2Str(prm.turn_cfg.turn_auth_cred.data.static_cred.username); natConfig.turnPasswordType = prm.turn_cfg.turn_auth_cred.data.static_cred.data_type; natConfig.turnPassword = pj2Str(prm.turn_cfg.turn_auth_cred.data.static_cred.data); } else { pjsua_media_config default_mcfg; if (!mcfg) { pjsua_media_config_default(&default_mcfg); mcfg = &default_mcfg; } natConfig.turnEnabled = PJ2BOOL(mcfg->enable_turn); natConfig.turnServer = pj2Str(mcfg->turn_server); natConfig.turnConnType = mcfg->turn_conn_type; natConfig.turnUserName = pj2Str(mcfg->turn_auth_cred.data.static_cred.username); natConfig.turnPasswordType = mcfg->turn_auth_cred.data.static_cred.data_type; natConfig.turnPassword = pj2Str(mcfg->turn_auth_cred.data.static_cred.data); } natConfig.contactRewriteUse = prm.allow_contact_rewrite; natConfig.contactRewriteMethod = prm.contact_rewrite_method; natConfig.contactUseSrcPort = prm.contact_use_src_port; natConfig.viaRewriteUse = prm.allow_via_rewrite; natConfig.sdpNatRewriteUse = prm.allow_sdp_nat_rewrite; natConfig.sipOutboundUse = prm.use_rfc5626; natConfig.sipOutboundInstanceId = pj2Str(prm.rfc5626_instance_id); natConfig.sipOutboundRegId = pj2Str(prm.rfc5626_reg_id); natConfig.udpKaIntervalSec = prm.ka_interval; natConfig.udpKaData = pj2Str(prm.ka_data); // AccountMediaConfig mediaConfig.transportConfig.fromPj(prm.rtp_cfg); mediaConfig.lockCodecEnabled= PJ2BOOL(prm.lock_codec); #if defined(PJMEDIA_STREAM_ENABLE_KA) && (PJMEDIA_STREAM_ENABLE_KA != 0) mediaConfig.streamKaEnabled = PJ2BOOL(prm.use_stream_ka); #else mediaConfig.streamKaEnabled = false; #endif mediaConfig.srtpUse = prm.use_srtp; mediaConfig.srtpSecureSignaling = prm.srtp_secure_signaling; mediaConfig.srtpOpt.fromPj(prm.srtp_opt); mediaConfig.ipv6Use = prm.ipv6_media_use; mediaConfig.rtcpMuxEnabled = PJ2BOOL(prm.enable_rtcp_mux); mediaConfig.rtcpFbConfig.fromPj(prm.rtcp_fb_cfg); // AccountVideoConfig videoConfig.autoShowIncoming = PJ2BOOL(prm.vid_in_auto_show); videoConfig.autoTransmitOutgoing = PJ2BOOL(prm.vid_out_auto_transmit); videoConfig.windowFlags = prm.vid_wnd_flags; videoConfig.defaultCaptureDevice = prm.vid_cap_dev; videoConfig.defaultRenderDevice = prm.vid_rend_dev; videoConfig.rateControlMethod = prm.vid_stream_rc_cfg.method; videoConfig.rateControlBandwidth = prm.vid_stream_rc_cfg.bandwidth; videoConfig.startKeyframeCount = prm.vid_stream_sk_cfg.count; videoConfig.startKeyframeInterval = prm.vid_stream_sk_cfg.interval; // AccountIpChangeConfig ipChangeConfig.shutdownTp = PJ2BOOL(prm.ip_change_cfg.shutdown_tp); ipChangeConfig.hangupCalls = PJ2BOOL(prm.ip_change_cfg.hangup_calls); ipChangeConfig.reinviteFlags = prm.ip_change_cfg.reinvite_flags; } void AccountConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) { ContainerNode this_node = node.readContainer("AccountConfig"); NODE_READ_INT ( this_node, priority); NODE_READ_STRING ( this_node, idUri); NODE_READ_OBJ ( this_node, regConfig); NODE_READ_OBJ ( this_node, sipConfig); NODE_READ_OBJ ( this_node, callConfig); NODE_READ_OBJ ( this_node, presConfig); NODE_READ_OBJ ( this_node, mwiConfig); NODE_READ_OBJ ( this_node, natConfig); NODE_READ_OBJ ( this_node, mediaConfig); NODE_READ_OBJ ( this_node, videoConfig); } void AccountConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) { ContainerNode this_node = node.writeNewContainer("AccountConfig"); NODE_WRITE_INT ( this_node, priority); NODE_WRITE_STRING ( this_node, idUri); NODE_WRITE_OBJ ( this_node, regConfig); NODE_WRITE_OBJ ( this_node, sipConfig); NODE_WRITE_OBJ ( this_node, callConfig); NODE_WRITE_OBJ ( this_node, presConfig); NODE_WRITE_OBJ ( this_node, mwiConfig); NODE_WRITE_OBJ ( this_node, natConfig); NODE_WRITE_OBJ ( this_node, mediaConfig); NODE_WRITE_OBJ ( this_node, videoConfig); } /////////////////////////////////////////////////////////////////////////////// void AccountInfo::fromPj(const pjsua_acc_info &pai) { id = pai.id; isDefault = pai.is_default != 0; uri = pj2Str(pai.acc_uri); regIsConfigured = pai.has_registration != 0; regIsActive = pai.has_registration && pai.expires > 0 && (pai.status / 100 == 2); regExpiresSec = pai.expires; regStatus = pai.status; regStatusText = pj2Str(pai.status_text); regLastErr = pai.reg_last_err; onlineStatus = pai.online_status != 0; onlineStatusText = pj2Str(pai.online_status_text); } /////////////////////////////////////////////////////////////////////////////// Account::Account() : id(PJSUA_INVALID_ID) { } Account::~Account() { /* If this instance is deleted, also delete the corresponding account in * PJSUA library. */ shutdown(); } void Account::create(const AccountConfig &acc_cfg, bool make_default) PJSUA2_THROW(Error) { pjsua_acc_config pj_acc_cfg; acc_cfg.toPj(pj_acc_cfg); pj_acc_cfg.user_data = (void*)this; PJSUA2_CHECK_EXPR( pjsua_acc_add(&pj_acc_cfg, make_default, &id) ); } void Account::shutdown() { if (isValid() && pjsua_get_state() < PJSUA_STATE_CLOSING) { // Cleanup buddies in the buddy list while(buddyList.size() > 0) { Buddy *b = buddyList[0]; delete b; /* this will remove itself from the list */ } // This caused error message of "Error: cannot find Account.." // when Endpoint::on_reg_started() is called for unregistration. //pjsua_acc_set_user_data(id, NULL); pjsua_acc_del(id); } } void Account::modify(const AccountConfig &acc_cfg) PJSUA2_THROW(Error) { pjsua_acc_config pj_acc_cfg; acc_cfg.toPj(pj_acc_cfg); pj_acc_cfg.user_data = (void*)this; PJSUA2_CHECK_EXPR( pjsua_acc_modify(id, &pj_acc_cfg) ); } bool Account::isValid() const { return pjsua_acc_is_valid(id) != 0; } void Account::setDefault() PJSUA2_THROW(Error) { PJSUA2_CHECK_EXPR( pjsua_acc_set_default(id) ); } bool Account::isDefault() const { return pjsua_acc_get_default() == id; } int Account::getId() const { return id; } Account *Account::lookup(int acc_id) { return (Account*)pjsua_acc_get_user_data(acc_id); } AccountInfo Account::getInfo() const PJSUA2_THROW(Error) { pjsua_acc_info pj_ai; AccountInfo ai; PJSUA2_CHECK_EXPR( pjsua_acc_get_info(id, &pj_ai) ); ai.fromPj(pj_ai); return ai; } void Account::setRegistration(bool renew) PJSUA2_THROW(Error) { PJSUA2_CHECK_EXPR( pjsua_acc_set_registration(id, renew) ); } void Account::setOnlineStatus(const PresenceStatus &pres_st) PJSUA2_THROW(Error) { pjrpid_element pj_rpid; pj_bzero(&pj_rpid, sizeof(pj_rpid)); pj_rpid.type = PJRPID_ELEMENT_TYPE_PERSON; pj_rpid.activity = pres_st.activity; pj_rpid.id = str2Pj(pres_st.rpidId); pj_rpid.note = str2Pj(pres_st.note); PJSUA2_CHECK_EXPR( pjsua_acc_set_online_status2( id, pres_st.status == PJSUA_BUDDY_STATUS_ONLINE, &pj_rpid) ); } void Account::setTransport(TransportId tp_id) PJSUA2_THROW(Error) { PJSUA2_CHECK_EXPR( pjsua_acc_set_transport(id, tp_id) ); } void Account::presNotify(const PresNotifyParam &prm) PJSUA2_THROW(Error) { pj_str_t pj_state_str = str2Pj(prm.stateStr); pj_str_t pj_reason = str2Pj(prm.reason); pjsua_msg_data msg_data; prm.txOption.toPj(msg_data); PJSUA2_CHECK_EXPR( pjsua_pres_notify(id, (pjsua_srv_pres*)prm.srvPres, prm.state, &pj_state_str, &pj_reason, prm.withBody, &msg_data) ); } const BuddyVector& Account::enumBuddies() const PJSUA2_THROW(Error) { return buddyList; } BuddyVector2 Account::enumBuddies2() const PJSUA2_THROW(Error) { BuddyVector2 bv2; pjsua_buddy_id ids[PJSUA_MAX_BUDDIES]; unsigned i, count = PJSUA_MAX_BUDDIES; PJSUA2_CHECK_EXPR( pjsua_enum_buddies(ids, &count) ); for (i = 0; i < count; ++i) { bv2.push_back(Buddy(ids[i])); } return bv2; } Buddy* Account::findBuddy(string uri, FindBuddyMatch *buddy_match) const PJSUA2_THROW(Error) { if (!buddy_match) { static FindBuddyMatch def_bm; buddy_match = &def_bm; } for (unsigned i = 0; i < buddyList.size(); i++) { if (buddy_match->match(uri, *buddyList[i])) return buddyList[i]; } PJSUA2_RAISE_ERROR(PJ_ENOTFOUND); } Buddy Account::findBuddy2(string uri) const PJSUA2_THROW(Error) { pj_str_t pj_uri; pjsua_buddy_id bud_id; pj_strset2(&pj_uri, (char*)uri.c_str()); bud_id = pjsua_buddy_find(&pj_uri); if (id == PJSUA_INVALID_ID) { PJSUA2_RAISE_ERROR(PJ_ENOTFOUND); } Buddy buddy(bud_id); return buddy; } void Account::addBuddy(Buddy *buddy) { pj_assert(buddy); buddyList.push_back(buddy); } void Account::removeBuddy(Buddy *buddy) { pj_assert(buddy); BuddyVector::iterator it; for (it = buddyList.begin(); it != buddyList.end(); it++) { if (*it == buddy) { buddyList.erase(it); return; } } pj_assert(!"Bug! Buddy to be removed is not in the buddy list!"); }<|fim▁end|>
this->keyings.clear(); for (unsigned i = 0; i < prm.keying_count; ++i) {
<|file_name|>recent_commits_test.py<|end_file_name|><|fim▁begin|># coding: utf-8 # # Copyright 2018 The Oppia Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Tests for recent commit controllers.""" from __future__ import annotations from core import feconf from core.platform import models from core.tests import test_utils (exp_models,) = models.Registry.import_models([models.NAMES.exploration]) class RecentCommitsHandlerUnitTests(test_utils.GenericTestBase): """Test the RecentCommitsHandler class.""" def setUp(self): super(RecentCommitsHandlerUnitTests, self).setUp() self.signup(self.MODERATOR_EMAIL, self.MODERATOR_USERNAME) self.set_moderators([self.MODERATOR_USERNAME]) self.signup(self.VIEWER_EMAIL, self.VIEWER_USERNAME) self.committer_1_id = self.get_user_id_from_email(self.VIEWER_EMAIL) self.signup(self.NEW_USER_EMAIL, self.NEW_USER_USERNAME) self.committer_2_id = self.get_user_id_from_email(self.NEW_USER_EMAIL) commit1 = exp_models.ExplorationCommitLogEntryModel.create( 'entity_1', 0, self.committer_1_id, 'create', 'created first commit', [], 'public', True) commit2 = exp_models.ExplorationCommitLogEntryModel.create( 'entity_1', 1, self.committer_2_id, 'edit', 'edited commit', [], 'public', True) commit3 = exp_models.ExplorationCommitLogEntryModel.create( 'entity_2', 0, self.committer_1_id, 'create', 'created second commit', [], 'private', False) commit1.exploration_id = 'exp_1' commit2.exploration_id = 'exp_1' commit3.exploration_id = 'exp_2' commit1.update_timestamps() commit1.put() commit2.update_timestamps() commit2.put() commit3.update_timestamps() commit3.put() def test_get_recent_commits(self): """Test that this method should return all nonprivate commits.""" self.login(self.MODERATOR_EMAIL) response_dict = self.get_json( feconf.RECENT_COMMITS_DATA_URL, params={'query_type': 'all_non_private_commits'}) self.assertEqual(len(response_dict['results']), 2) self.assertDictContainsSubset( {'username': self.VIEWER_USERNAME, 'exploration_id': 'exp_1', 'post_commit_status': 'public', 'version': 0, 'commit_message': 'created first commit', 'commit_type': 'create'}, response_dict['results'][1]) self.assertDictContainsSubset( {'username': self.NEW_USER_USERNAME, 'exploration_id': 'exp_1', 'post_commit_status': 'public', 'version': 1, 'commit_message': 'edited commit', 'commit_type': 'edit'}, response_dict['results'][0]) self.logout() def test_get_recent_commits_explorations(self): """Test that the response dict contains the correct exploration.""" self.login(self.MODERATOR_EMAIL) self.save_new_default_exploration( 'exp_1', 'owner0', title='MyExploration') response_dict = self.get_json( feconf.RECENT_COMMITS_DATA_URL, params={'query_type': 'all_non_private_commits'}) self.assertEqual(len(response_dict['exp_ids_to_exp_data']), 1) self.assertEqual( response_dict['exp_ids_to_exp_data']['exp_1']['title'], 'MyExploration') self.logout() def test_get_recent_commits_three_pages_with_cursor(self): self.login(self.MODERATOR_EMAIL) response_dict = self.get_json( feconf.RECENT_COMMITS_DATA_URL, params={'query_type': 'all_non_private_commits'}) self.assertFalse(response_dict['more']) for i in range(feconf.COMMIT_LIST_PAGE_SIZE * 2): entity_id = 'my_entity_%s' % i exp_id = 'exp_%s' % i commit_i = exp_models.ExplorationCommitLogEntryModel.create( entity_id, 0, self.committer_2_id, 'create', 'created commit', [], 'public', True) commit_i.exploration_id = exp_id commit_i.update_timestamps() commit_i.put() response_dict = self.get_json( feconf.RECENT_COMMITS_DATA_URL, params={'query_type': 'all_non_private_commits'})<|fim▁hole|> self.assertTrue(response_dict['more']) cursor = response_dict['cursor'] response_dict = self.get_json( feconf.RECENT_COMMITS_DATA_URL, params={ 'query_type': 'all_non_private_commits', 'cursor': cursor }) self.assertEqual( len(response_dict['results']), feconf.COMMIT_LIST_PAGE_SIZE) self.assertTrue(response_dict['more']) cursor = response_dict['cursor'] response_dict = self.get_json( feconf.RECENT_COMMITS_DATA_URL, params={ 'query_type': 'all_non_private_commits', 'cursor': cursor }) self.assertFalse(response_dict['more']) self.assertEqual(len(response_dict['results']), 2) self.logout() def test_get_recent_commits_with_invalid_query_type_returns_404_status( self): self.login(self.MODERATOR_EMAIL) self.get_json( feconf.RECENT_COMMITS_DATA_URL, params={'query_type': 'invalid_query_type'}, expected_status_int=404) self.logout()<|fim▁end|>
self.assertEqual( len(response_dict['results']), feconf.COMMIT_LIST_PAGE_SIZE)
<|file_name|>main.ts<|end_file_name|><|fim▁begin|>import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { enableProdMode } from '@angular/core'; import { environment } from './environments/environment';<|fim▁hole|>} platformBrowserDynamic().bootstrapModule(AppModule).catch(err => console.log(err));<|fim▁end|>
import { AppModule } from './app/app.module'; if (environment.production) { enableProdMode();
<|file_name|>socialnetwork.py<|end_file_name|><|fim▁begin|># -*- coding: utf-8 -*- from canaimagnulinux.wizard.interfaces import IChat from canaimagnulinux.wizard.interfaces import ISocialNetwork from canaimagnulinux.wizard.utils import CanaimaGnuLinuxWizardMF as _ from collective.beaker.interfaces import ISession from collective.z3cform.wizard import wizard from plone import api from plone.z3cform.fieldsets import group from z3c.form import field try: from zope.browserpage import viewpagetemplatefile<|fim▁hole|> import logging logger = logging.getLogger(__name__) class ChatGroup(group.Group): prefix = 'chats' label = _(u'Chats Information') fields = field.Fields(IChat) class SocialNetworkGroup(group.Group): prefix = 'socialnetwork' label = _(u'Social Network Information') fields = field.Fields(ISocialNetwork) class SocialNetworkStep(wizard.GroupStep): prefix = 'Social' label = _(u'Social Network accounts') description = _(u'Input your social networks details') template = viewpagetemplatefile.ViewPageTemplateFile('templates/socialnetwork.pt') fields = field.Fields() groups = [ChatGroup, SocialNetworkGroup] def __init__(self, context, request, wizard): # Use collective.beaker for session managment session = ISession(request, None) self.sessionmanager = session super(SocialNetworkStep, self).__init__(context, request, wizard) def load(self, context): member = api.user.get_current() data = self.getContent() # Chats group if not data.get('irc', None): irc = member.getProperty('irc') if type(irc).__name__ == 'object': irc = None data['irc'] = irc if not data.get('telegram', None): telegram = member.getProperty('telegram') if type(telegram).__name__ == 'object': telegram = None data['telegram'] = telegram if not data.get('skype', None): skype = member.getProperty('skype') if type(skype).__name__ == 'object': skype = None data['skype'] = skype # Social Network group if not data.get('twitter', None): twitter = member.getProperty('twitter') if type(twitter).__name__ == 'object': twitter = None data['twitter'] = twitter if not data.get('instagram', None): instagram = member.getProperty('instagram') if type(instagram).__name__ == 'object': instagram = None data['instagram'] = instagram if not data.get('facebook', None): facebook = member.getProperty('facebook') if type(facebook).__name__ == 'object': facebook = None data['facebook'] = facebook def apply(self, context, initial_finish=False): data = self.getContent() return data def applyChanges(self, data): member = api.user.get_current() member.setMemberProperties(mapping={ 'irc': data['irc'], 'telegram': data['telegram'], 'skype': data['skype'], 'twitter': data['twitter'], 'instagram': data['instagram'], 'facebook': data['facebook']} )<|fim▁end|>
except ImportError: # Plone < 4.1 from zope.app.pagetemplate import viewpagetemplatefile
<|file_name|>devices.py<|end_file_name|><|fim▁begin|>#!/usr/bin/env python # -*- coding: utf-8 -*- # StartOS Device Manager(ydm). # Copyright (C) 2011 ivali, Inc. # hechao <hechao@ivali.com>, 2011. __author__="hechao" __date__ ="$2011-12-20 16:36:20$" import gc from xml.parsers import expat from hwclass import * class Device: def __init__(self, dev_xml): self.description = '' self.product = '' self.vendor = '' self.version = '' self.businfo = '' self.logicalname = '' self.date = '' self.serial = '' self.capacity = '' self.width = '' self.clock = '' self.slot = '' self.size = '' self.config = {} self.capability = [] self.attr = {} self.dev_type = {} self.pcid = {} self._parser = expat.ParserCreate() self._parser.buffer_size = 102400 self._parser.StartElementHandler = self.start_handler self._parser.CharacterDataHandler = self.data_handler self._parser.EndElementHandler = self.end_handler self._parser.returns_unicode = False fd = file(dev_xml) self._parser.ParseFile(fd) fd.close() def start_handler(self, tag, attrs): self.flag = tag if tag == "node": self.attr = attrs elif tag == "setting": self.config.setdefault(attrs["id"], attrs["value"]) elif tag == "capability": self.capability.append(attrs["id"]) def data_handler(self, data): if(data == '\n'): return if(data.isspace()): return if self.flag == "description": self.description = data.strip() elif self.flag == "product": self.product = data.strip() elif self.flag == "vendor": self.vendor = data.strip() elif self.flag == "businfo": self.businfo = data.strip() elif self.flag == "logicalname": self.logicalname = data.strip() elif self.flag == "version": self.version = data.strip() elif self.flag == "date": self.date = data.strip() elif self.flag == "serial": self.serial = data.strip() elif self.flag == "capacity": self.capacity = data.strip() elif self.flag == "width": self.width = data.strip() elif self.flag == "clock": self.clock = data.strip() elif self.flag == "slot": self.slot = data.strip() elif self.flag == "size": self.size = data.strip() def end_handler(self, tag): if tag == "node": if self.attr["class"] == "system": system = System(self.description, self.product, self.vendor, self.version, \<|fim▁hole|> elif self.attr["id"].split(":")[0] == "cpu" and self.attr["class"] == "processor": cpu = Cpu(self.description, self.product, self.vendor, self.version, \ self.businfo, self.serial, self.slot, self.size, self.capacity, self.width, self.clock, self.config, self.capability) self.dev_type.setdefault((1, "cpu"), []).append(cpu) elif self.attr["id"].split(":")[0] == "cache" and self.attr["class"] == "memory": cache = Cache(self.description, self.product, self.vendor, self.version, self.slot, self.size) self.dev_type.setdefault((1, "cpu"), []).append(cache) elif (self.attr["id"] == "core" or self.attr["id"] == "board") and self.attr["class"] == "bus": motherboard = Motherboard(self.description, self.product, self.vendor, self.version, self.serial) self.dev_type.setdefault((2, "motherboard"), []).append(motherboard) elif self.attr["id"] == "firmware" and self.attr["class"] == "memory": bios = Bios(self.description, self.product, self.vendor, self.version, \ self.date, self.size, self.capability) self.dev_type.setdefault((2, "motherboard"), []).append(bios) elif self.attr["id"].split(":")[0] == "memory" and self.attr["class"] == "memory": memory = Memory(self.description, self.product, self.vendor, self.version, \ self.slot, self.size) self.dev_type.setdefault((3, "memory"), []).append(memory) elif self.attr["id"].split(":")[0] == "bank" and self.attr["class"] == "memory": bank = Bank(self.description, self.product, self.vendor, self.version, \ self.serial, self.slot, self.size, self.width, self.clock) self.dev_type.setdefault((3, "memory"), []).append(bank) elif self.attr["id"].split(":")[0] == "display" and self.attr["class"] == "display": display = Display(self.description, self.product, self.vendor, self.version, \ self.businfo, self.config, self.capability) self.dev_type.setdefault((4, "display"), []).append(display) self.pcid[display.pcid] = "display" if get_monitor(): monitor = Monitor("", "", "", "") self.dev_type.setdefault((5, "monitor"), [monitor])#.append(monitor) elif self.attr["id"].split(":")[0] == "disk" and self.attr["class"] == "disk": disk = Disk(self.description, self.product, self.vendor, self.version, \ self.businfo, self.logicalname, self.serial, self.size, self.config, self.capability) self.dev_type.setdefault((6, "disk"), []).append(disk) elif self.attr["id"].split(":")[0] == "cdrom" and self.attr["class"] == "disk": cdrom = Cdrom(self.description, self.product, self.vendor, self.version, \ self.businfo, self.logicalname, self.config, self.capability) self.dev_type.setdefault((7, "cdrom"), []).append(cdrom) elif self.attr["class"] == "storage" and self.attr["handle"]: storage = Storage(self.description, self.product, self.vendor, self.version, \ self.businfo, self.logicalname, self.serial, self.config, self.capability) self.dev_type.setdefault((8, "storage"), []).append(storage) elif (self.attr["class"] == "network") or (self.attr["id"].split(":")[0] == "bridge" \ and self.attr["class"] == "bridge"): network = Network(self.description, self.product, self.vendor, self.version, \ self.businfo, self.logicalname, self.serial, self.capacity, self.config, self.capability) self.dev_type.setdefault((9, "network"), []).append(network) self.pcid[network.pcid] = "network" elif self.attr["class"] == "multimedia": media = Multimedia(self.description, self.product, self.vendor, self.version, \ self.businfo, self.config, self.capability) self.dev_type.setdefault((10, "multimedia"), []).append(media) self.pcid[media.pcid] = "multimedia" elif self.attr["class"] == "input": imput = Imput(self.description, self.product, self.vendor, self.version, \ self.businfo, self.config, self.capability) self.dev_type.setdefault((11, "input"), []).append(imput) self.pcid[imput.pcid] = "input" elif self.attr["id"].split(":")[0] != "generic" and self.attr["class"] == "generic": generic = Generic(self.description, self.product, self.vendor, self.version, \ self.businfo, self.serial, self.config, self.capability) self.dev_type.setdefault((12, "generic"), []).append(generic) self.pcid[generic.pcid] = "generic" elif self.attr["id"].split(":")[0] != "communication" and self.attr["class"] == "communication": modem = Modem(self.description, self.product, self.vendor, self.version, \ self.businfo, self.serial, self.config, self.capability) self.dev_type.setdefault((12, "generic"), []).append(modem) elif self.attr["id"].split(":")[0] == "battery" and self.attr["class"] == "power": power = Power(self.description, self.product, self.vendor, self.version, \ self.slot, self.capacity, self.config) self.dev_type.setdefault((12, "generic"), []).append(power) self.clear() def clear(self): self.description = '' self.product = '' self.vendor = '' self.version = '' self.businfo = '' self.logicalname = '' self.date = '' self.serial = '' self.capacity = '' self.width = '' self.clock = '' self.slot = '' self.size = '' self.config = {} self.capability = [] self.attr = {} def close(self): del self._parser gc.collect()<|fim▁end|>
self.serial, self.width, self.config, self.capability) self.dev_type.setdefault((0, "system"), []).append(system)
<|file_name|>BeMoBI_PyAnalytics.py<|end_file_name|><|fim▁begin|>import os import pandas as pd import seaborn as sns dataDir = '..\\Test_Data\\' pilotMarkerDataFile = 'Pilot.csv' df = pd.read_csv( dataDir + '\\' + pilotMarkerDataFile,sep='\t', engine='python') repr(df.head()) # TODO times per position # plotting a heatmap http://stanford.edu/~mwaskom/software/seaborn/examples/many_pairwise_correlations.html ## Generate a custom diverging colormap #cmap = sns.diverging_palette(220, 10, as_cmap=True) # Draw the heatmap with the mask and correct aspect ratio #sns.heatmap(timesAtPositions, mask=mask, cmap=cmap, vmax=.3, # square=True, xticklabels=5, yticklabels=5,<|fim▁hole|># linewidths=.5, cbar_kws={"shrink": .5}, ax=ax)<|fim▁end|>
<|file_name|>plot_regional_maxima.py<|end_file_name|><|fim▁begin|>""" ========================= Filtering regional maxima ========================= Here, we use morphological reconstruction to create a background image, which we can subtract from the original image to isolate bright features (regional maxima). First we try reconstruction by dilation starting at the edges of the image. We initialize a seed image to the minimum intensity of the image, and set its border to be the pixel values in the original image. These maximal pixels will get dilated in order to reconstruct the background image. """ import numpy as np from scipy.ndimage import gaussian_filter import matplotlib.pyplot as plt from skimage import data from skimage import img_as_float from skimage.morphology import reconstruction # Convert to float: Important for subtraction later which won't work with uint8 image = img_as_float(data.coins()) image = gaussian_filter(image, 1) seed = np.copy(image) seed[1:-1, 1:-1] = image.min() mask = image dilated = reconstruction(seed, mask, method='dilation') """ Subtracting the dilated image leaves an image with just the coins and a flat, black background, as shown below. """ <|fim▁hole|>fig, (ax1, ax2, ax3) = plt.subplots(1, 3, figsize=(8, 2.5), sharex=True, sharey=True) ax1.imshow(image) ax1.set_title('original image') ax1.axis('off') ax1.set_adjustable('box-forced') ax2.imshow(dilated, vmin=image.min(), vmax=image.max()) ax2.set_title('dilated') ax2.axis('off') ax2.set_adjustable('box-forced') ax3.imshow(image - dilated) ax3.set_title('image - dilated') ax3.axis('off') ax3.set_adjustable('box-forced') fig.tight_layout() """ .. image:: PLOT2RST.current_figure Although the features (i.e. the coins) are clearly isolated, the coins surrounded by a bright background in the original image are dimmer in the subtracted image. We can attempt to correct this using a different seed image. Instead of creating a seed image with maxima along the image border, we can use the features of the image itself to seed the reconstruction process. Here, the seed image is the original image minus a fixed value, ``h``. """ h = 0.4 seed = image - h dilated = reconstruction(seed, mask, method='dilation') hdome = image - dilated """ To get a feel for the reconstruction process, we plot the intensity of the mask, seed, and dilated images along a slice of the image (indicated by red line). """ fig, (ax1, ax2, ax3) = plt.subplots(1, 3, figsize=(8, 2.5)) yslice = 197 ax1.plot(mask[yslice], '0.5', label='mask') ax1.plot(seed[yslice], 'k', label='seed') ax1.plot(dilated[yslice], 'r', label='dilated') ax1.set_ylim(-0.2, 2) ax1.set_title('image slice') ax1.set_xticks([]) ax1.legend() ax2.imshow(dilated, vmin=image.min(), vmax=image.max()) ax2.axhline(yslice, color='r', alpha=0.4) ax2.set_title('dilated') ax2.axis('off') ax3.imshow(hdome) ax3.axhline(yslice, color='r', alpha=0.4) ax3.set_title('image - dilated') ax3.axis('off') fig.tight_layout() plt.show() """ .. image:: PLOT2RST.current_figure As you can see in the image slice, each coin is given a different baseline intensity in the reconstructed image; this is because we used the local intensity (shifted by ``h``) as a seed value. As a result, the coins in the subtracted image have similar pixel intensities. The final result is known as the h-dome of an image since this tends to isolate regional maxima of height ``h``. This operation is particularly useful when your images are unevenly illuminated. """<|fim▁end|>
<|file_name|>RepeaterChildSupport.js<|end_file_name|><|fim▁begin|>(function (enyo, scope) { /** * The {@link enyo.RepeaterChildSupport} [mixin]{@glossary mixin} contains methods and * properties that are automatically applied to all children of {@link enyo.DataRepeater} * to assist in selection support. (See {@link enyo.DataRepeater} for details on how to * use selection support.) This mixin also [adds]{@link enyo.Repeater#decorateEvent} the * `model`, `child` ([control]{@link enyo.Control} instance), and `index` properties to * all [events]{@glossary event} emitted from the repeater's children. * * @mixin enyo.RepeaterChildSupport * @public */ enyo.RepeaterChildSupport = { /* * @private */ name: 'RepeaterChildSupport', /** * Indicates whether the current child is selected in the [repeater]{@link enyo.DataRepeater}. * * @type {Boolean} * @default false * @public */ selected: false, /* * @method * @private */ selectedChanged: enyo.inherit(function (sup) { return function () { if (this.repeater.selection) {<|fim▁hole|> // for efficiency purposes, we now directly call this method as opposed to // forcing a synchronous event dispatch var idx = this.repeater.collection.indexOf(this.model); if (this.selected && !this.repeater.isSelected(this.model)) { this.repeater.select(idx); } else if (!this.selected && this.repeater.isSelected(this.model)) { this.repeater.deselect(idx); } } sup.apply(this, arguments); }; }), /* * @method * @private */ decorateEvent: enyo.inherit(function (sup) { return function (sender, event) { event.model = this.model; event.child = this; event.index = this.repeater.collection.indexOf(this.model); sup.apply(this, arguments); }; }), /* * @private */ _selectionHandler: function () { if (this.repeater.selection && !this.get('disabled')) { if (!this.repeater.groupSelection || !this.selected) { this.set('selected', !this.selected); } } }, /** * Deliberately used to supersede the default method and set * [owner]{@link enyo.Component#owner} to this [control]{@link enyo.Control} so that there * are no name collisions in the instance [owner]{@link enyo.Component#owner}, and also so * that [bindings]{@link enyo.Binding} will correctly map to names. * * @method * @private */ createClientComponents: enyo.inherit(function () { return function (components) { this.createComponents(components, {owner: this}); }; }), /** * Used so that we don't stomp on any built-in handlers for the `ontap` * {@glossary event}. * * @method * @private */ dispatchEvent: enyo.inherit(function (sup) { return function (name, event, sender) { if (!event._fromRepeaterChild) { if (!!~enyo.indexOf(name, this.repeater.selectionEvents)) { this._selectionHandler(); event._fromRepeaterChild = true; } } return sup.apply(this, arguments); }; }), /* * @method * @private */ constructed: enyo.inherit(function (sup) { return function () { sup.apply(this, arguments); var r = this.repeater, s = r.selectionProperty; // this property will only be set if the instance of the repeater needs // to track the selected state from the view and model and keep them in sync if (s) { var bnd = this.binding({ from: 'model.' + s, to: 'selected', oneWay: false/*, kind: enyo.BooleanBinding*/ }); this._selectionBindingId = bnd.euid; } }; }), /* * @method * @private */ destroy: enyo.inherit(function (sup) { return function () { if (this._selectionBindingId) { var b$ = enyo.Binding.find(this._selectionBindingId); if (b$) { b$.destroy(); } } sup.apply(this, arguments); }; }), /* * @private */ _selectionBindingId: null }; })(enyo, this);<|fim▁end|>
this.addRemoveClass(this.selectedClass || 'selected', this.selected);
<|file_name|>effective_tld_names.cc<|end_file_name|><|fim▁begin|>/* C++ code produced by gperf version 3.0.3 */ /* Command-line: gperf -a -L C++ -C -c -o -t -k '*' -NFindDomain -D -m 2 effective_tld_names.gperf */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>." #endif #line 1 "effective_tld_names.gperf" // Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // This file is generated by net/tools/tld_cleanup/. // DO NOT MANUALLY EDIT! #line 9 "effective_tld_names.gperf" struct DomainRule { const char *name; int type; // 1: exception, 2: wildcard }; #define TOTAL_KEYWORDS 3637 #define MIN_WORD_LENGTH 2 #define MAX_WORD_LENGTH 43 #define MIN_HASH_VALUE 3 #define MAX_HASH_VALUE 54846 /* maximum key range = 54844, duplicates = 0 */ class Perfect_Hash { private: static inline unsigned int hash (const char *str, unsigned int len); public: static const struct DomainRule *FindDomain (const char *str, unsigned int len); }; inline unsigned int Perfect_Hash::hash (register const char *str, register unsigned int len) { static const unsigned short asso_values[] = { 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 2, 18, 10, 9511, 3, 23, 0, 0, 0, 1, 1, 0, 9795, 61, 0, 0, 54847, 2, 54847, 3, 3905, 0, 54847, 0, 54847, 54847, 54847, 0, 15, 14, 12, 11, 10, 9, 5, 8, 7, 6, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 1028, 6669, 713, 4, 14, 5079, 1392, 4218, 1087, 5578, 2938, 3327, 524, 96, 0, 1333, 1976, 64, 146, 154, 351, 443, 4591, 818, 25, 595, 3198, 22, 8347, 2, 1449, 0, 3, 1, 6029, 11607, 1285, 661, 13, 117, 6398, 1807, 13010, 1479, 12724, 2783, 13030, 1602, 4, 59, 102, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847, 54847 }; register int hval = len; switch (hval) { default: hval += asso_values[(unsigned char)str[42]]; /*FALLTHROUGH*/ case 42: hval += asso_values[(unsigned char)str[41]]; /*FALLTHROUGH*/ case 41: hval += asso_values[(unsigned char)str[40]]; /*FALLTHROUGH*/ case 40: hval += asso_values[(unsigned char)str[39]]; /*FALLTHROUGH*/ case 39: hval += asso_values[(unsigned char)str[38]]; /*FALLTHROUGH*/ case 38: hval += asso_values[(unsigned char)str[37]]; /*FALLTHROUGH*/ case 37: hval += asso_values[(unsigned char)str[36]]; /*FALLTHROUGH*/ case 36: hval += asso_values[(unsigned char)str[35]]; /*FALLTHROUGH*/ case 35: hval += asso_values[(unsigned char)str[34]]; /*FALLTHROUGH*/ case 34: hval += asso_values[(unsigned char)str[33]]; /*FALLTHROUGH*/ case 33: hval += asso_values[(unsigned char)str[32]]; /*FALLTHROUGH*/ case 32: hval += asso_values[(unsigned char)str[31]]; /*FALLTHROUGH*/ case 31: hval += asso_values[(unsigned char)str[30]]; /*FALLTHROUGH*/ case 30: hval += asso_values[(unsigned char)str[29]]; /*FALLTHROUGH*/ case 29: hval += asso_values[(unsigned char)str[28]]; /*FALLTHROUGH*/ case 28: hval += asso_values[(unsigned char)str[27]]; /*FALLTHROUGH*/ case 27: hval += asso_values[(unsigned char)str[26]]; /*FALLTHROUGH*/ case 26: hval += asso_values[(unsigned char)str[25]]; /*FALLTHROUGH*/ case 25: hval += asso_values[(unsigned char)str[24]]; /*FALLTHROUGH*/ case 24: hval += asso_values[(unsigned char)str[23]]; /*FALLTHROUGH*/ case 23: hval += asso_values[(unsigned char)str[22]]; /*FALLTHROUGH*/ case 22: hval += asso_values[(unsigned char)str[21]]; /*FALLTHROUGH*/ case 21: hval += asso_values[(unsigned char)str[20]]; /*FALLTHROUGH*/ case 20: hval += asso_values[(unsigned char)str[19]]; /*FALLTHROUGH*/ case 19: hval += asso_values[(unsigned char)str[18]]; /*FALLTHROUGH*/ case 18: hval += asso_values[(unsigned char)str[17]]; /*FALLTHROUGH*/ case 17: hval += asso_values[(unsigned char)str[16]]; /*FALLTHROUGH*/ case 16: hval += asso_values[(unsigned char)str[15]]; /*FALLTHROUGH*/ case 15: hval += asso_values[(unsigned char)str[14]]; /*FALLTHROUGH*/ case 14: hval += asso_values[(unsigned char)str[13]]; /*FALLTHROUGH*/ case 13: hval += asso_values[(unsigned char)str[12]]; /*FALLTHROUGH*/ case 12: hval += asso_values[(unsigned char)str[11]]; /*FALLTHROUGH*/ case 11: hval += asso_values[(unsigned char)str[10]]; /*FALLTHROUGH*/ case 10: hval += asso_values[(unsigned char)str[9]]; /*FALLTHROUGH*/ case 9: hval += asso_values[(unsigned char)str[8]]; /*FALLTHROUGH*/ case 8: hval += asso_values[(unsigned char)str[7]]; /*FALLTHROUGH*/ case 7: hval += asso_values[(unsigned char)str[6]+1]; /*FALLTHROUGH*/ case 6: hval += asso_values[(unsigned char)str[5]+19]; /*FALLTHROUGH*/ case 5: hval += asso_values[(unsigned char)str[4]+2]; /*FALLTHROUGH*/ case 4: hval += asso_values[(unsigned char)str[3]+4]; /*FALLTHROUGH*/ case 3: hval += asso_values[(unsigned char)str[2]+12]; /*FALLTHROUGH*/ case 2: hval += asso_values[(unsigned char)str[1]]; /*FALLTHROUGH*/ case 1: hval += asso_values[(unsigned char)str[0]+25]; break; } return hval; } const struct DomainRule * Perfect_Hash::FindDomain (register const char *str, register unsigned int len) { static const struct DomainRule wordlist[] = { #line 1519 "effective_tld_names.gperf" {"io", 0}, #line 1180 "effective_tld_names.gperf" {"gov", 0}, #line 1107 "effective_tld_names.gperf" {"gd", 0}, #line 1441 "effective_tld_names.gperf" {"id", 2}, #line 815 "effective_tld_names.gperf" {"edu", 0}, #line 2235 "effective_tld_names.gperf" {"no", 0}, #line 1112 "effective_tld_names.gperf" {"ge", 0}, #line 1449 "effective_tld_names.gperf" {"ie", 0}, #line 909 "effective_tld_names.gperf" {"ee", 0}, #line 538 "effective_tld_names.gperf" {"co", 0}, #line 1336 "effective_tld_names.gperf" {"gy", 0}, #line 460 "effective_tld_names.gperf" {"cd", 0}, #line 2090 "effective_tld_names.gperf" {"ne", 0}, #line 2107 "effective_tld_names.gperf" {"net", 0}, #line 1242 "effective_tld_names.gperf" {"gov.mo", 0}, #line 1240 "effective_tld_names.gperf" {"gov.mk", 0}, #line 1241 "effective_tld_names.gperf" {"gov.mn", 0}, #line 1190 "effective_tld_names.gperf" {"gov.bm", 0}, #line 1191 "effective_tld_names.gperf" {"gov.bo", 0}, #line 869 "effective_tld_names.gperf" {"edu.mo", 0}, #line 867 "effective_tld_names.gperf" {"edu.mk", 0}, #line 868 "effective_tld_names.gperf" {"edu.mn", 0}, #line 824 "effective_tld_names.gperf" {"edu.bm", 0}, #line 825 "effective_tld_names.gperf" {"edu.bo", 0}, #line 1198 "effective_tld_names.gperf" {"gov.cm", 0}, #line 1200 "effective_tld_names.gperf" {"gov.co", 0}, #line 1199 "effective_tld_names.gperf" {"gov.cn", 0}, #line 740 "effective_tld_names.gperf" {"cy", 2}, #line 588 "effective_tld_names.gperf" {"com", 0}, #line 831 "effective_tld_names.gperf" {"edu.co", 0}, #line 830 "effective_tld_names.gperf" {"edu.cn", 0}, #line 2161 "effective_tld_names.gperf" {"net.mo", 0}, #line 2160 "effective_tld_names.gperf" {"net.mk", 0}, #line 1189 "effective_tld_names.gperf" {"gov.bf", 0}, #line 2118 "effective_tld_names.gperf" {"net.bm", 0}, #line 2119 "effective_tld_names.gperf" {"net.bo", 0}, #line 823 "effective_tld_names.gperf" {"edu.bi", 0}, #line 1281 "effective_tld_names.gperf" {"gr", 0}, #line 1522 "effective_tld_names.gperf" {"ir", 0}, #line 945 "effective_tld_names.gperf" {"er", 2}, #line 1422 "effective_tld_names.gperf" {"hr", 0}, #line 2125 "effective_tld_names.gperf" {"net.co", 0}, #line 2124 "effective_tld_names.gperf" {"net.cn", 0}, #line 829 "effective_tld_names.gperf" {"edu.ci", 0}, #line 3617 "effective_tld_names.gperf" {"ye", 2}, #line 646 "effective_tld_names.gperf" {"com.mo", 0}, #line 645 "effective_tld_names.gperf" {"com.mk", 0}, #line 2273 "effective_tld_names.gperf" {"nr", 0}, #line 601 "effective_tld_names.gperf" {"com.bm", 0}, #line 602 "effective_tld_names.gperf" {"com.bo", 0}, #line 2241 "effective_tld_names.gperf" {"nom.co", 0}, #line 720 "effective_tld_names.gperf" {"cr", 0}, #line 609 "effective_tld_names.gperf" {"com.co", 0}, #line 2123 "effective_tld_names.gperf" {"net.ci", 0}, #line 608 "effective_tld_names.gperf" {"com.cn", 0}, #line 1250 "effective_tld_names.gperf" {"gov.pk", 0}, #line 1252 "effective_tld_names.gperf" {"gov.pn", 0}, #line 1146 "effective_tld_names.gperf" {"gn", 0}, #line 1460 "effective_tld_names.gperf" {"in", 0}, #line 1501 "effective_tld_names.gperf" {"int", 0}, #line 1402 "effective_tld_names.gperf" {"hn", 0}, #line 600 "effective_tld_names.gperf" {"com.bi", 0}, #line 879 "effective_tld_names.gperf" {"edu.pk", 0}, #line 881 "effective_tld_names.gperf" {"edu.pn", 0}, #line 1255 "effective_tld_names.gperf" {"gov.pt", 0}, #line 607 "effective_tld_names.gperf" {"com.ci", 0}, #line 884 "effective_tld_names.gperf" {"edu.pt", 0}, #line 1170 "effective_tld_names.gperf" {"gop.pk", 0}, #line 532 "effective_tld_names.gperf" {"cn", 0}, #line 2172 "effective_tld_names.gperf" {"net.pk", 0}, #line 2174 "effective_tld_names.gperf" {"net.pn", 0}, #line 877 "effective_tld_names.gperf" {"edu.pf", 0}, #line 1232 "effective_tld_names.gperf" {"gov.lk", 0}, #line 1158 "effective_tld_names.gperf" {"gob.bo", 0}, #line 1503 "effective_tld_names.gperf" {"int.bo", 0}, #line 2177 "effective_tld_names.gperf" {"net.pt", 0}, #line 577 "effective_tld_names.gperf" {"co.uz", 0}, #line 861 "effective_tld_names.gperf" {"edu.lk", 0}, #line 1234 "effective_tld_names.gperf" {"gov.lt", 0}, #line 1505 "effective_tld_names.gperf" {"int.co", 0}, #line 659 "effective_tld_names.gperf" {"com.pk", 0}, #line 1244 "effective_tld_names.gperf" {"gov.mu", 0}, #line 1300 "effective_tld_names.gperf" {"gs", 0}, #line 1527 "effective_tld_names.gperf" {"is", 0}, #line 948 "effective_tld_names.gperf" {"es", 0}, #line 663 "effective_tld_names.gperf" {"com.pt", 0}, #line 2154 "effective_tld_names.gperf" {"net.lk", 0}, #line 1324 "effective_tld_names.gperf" {"gt", 2}, #line 1534 "effective_tld_names.gperf" {"it", 0}, #line 954 "effective_tld_names.gperf" {"et", 2}, #line 1424 "effective_tld_names.gperf" {"ht", 0}, #line 1201 "effective_tld_names.gperf" {"gov.cu", 0}, #line 1504 "effective_tld_names.gperf" {"int.ci", 0}, #line 657 "effective_tld_names.gperf" {"com.pf", 0}, #line 832 "effective_tld_names.gperf" {"edu.cu", 0}, #line 2162 "effective_tld_names.gperf" {"net.mu", 0}, #line 640 "effective_tld_names.gperf" {"com.lk", 0}, #line 1237 "effective_tld_names.gperf" {"gov.ma", 0}, #line 2126 "effective_tld_names.gperf" {"net.cu", 0}, #line 1187 "effective_tld_names.gperf" {"gov.ba", 0}, #line 1165 "effective_tld_names.gperf" {"gob.pk", 0}, #line 1478 "effective_tld_names.gperf" {"inf.mk", 0}, #line 647 "effective_tld_names.gperf" {"com.mu", 0}, #line 821 "effective_tld_names.gperf" {"edu.ba", 0}, #line 1510 "effective_tld_names.gperf" {"int.pt", 0}, #line 610 "effective_tld_names.gperf" {"com.cu", 0}, #line 2158 "effective_tld_names.gperf" {"net.ma", 0}, #line 1298 "effective_tld_names.gperf" {"grp.lk", 0}, #line 2116 "effective_tld_names.gperf" {"net.ba", 0}, #line 1152 "effective_tld_names.gperf" {"go.kr", 0}, #line 2250 "effective_tld_names.gperf" {"nom.ro", 0}, #line 1508 "effective_tld_names.gperf" {"int.lk", 0}, #line 1151 "effective_tld_names.gperf" {"go.jp", 0}, #line 665 "effective_tld_names.gperf" {"com.ro", 0}, #line 813 "effective_tld_names.gperf" {"ed.jp", 0}, #line 597 "effective_tld_names.gperf" {"com.ba", 0}, #line 557 "effective_tld_names.gperf" {"co.kr", 0}, #line 1153 "effective_tld_names.gperf" {"go.pw", 0}, #line 2092 "effective_tld_names.gperf" {"ne.kr", 0}, #line 556 "effective_tld_names.gperf" {"co.jp", 0}, #line 814 "effective_tld_names.gperf" {"ed.pw", 0}, #line 2091 "effective_tld_names.gperf" {"ne.jp", 0}, #line 875 "effective_tld_names.gperf" {"edu.pa", 0}, #line 566 "effective_tld_names.gperf" {"co.pw", 0}, #line 2093 "effective_tld_names.gperf" {"ne.pw", 0}, #line 2169 "effective_tld_names.gperf" {"net.pa", 0}, #line 1229 "effective_tld_names.gperf" {"gov.la", 0}, #line 2246 "effective_tld_names.gperf" {"nom.pa", 0}, #line 858 "effective_tld_names.gperf" {"edu.la", 0}, #line 1283 "effective_tld_names.gperf" {"gr.jp", 0}, #line 655 "effective_tld_names.gperf" {"com.pa", 0}, #line 1257 "effective_tld_names.gperf" {"gov.ru", 0}, #line 2151 "effective_tld_names.gperf" {"net.la", 0}, #line 886 "effective_tld_names.gperf" {"edu.ru", 0}, #line 1479 "effective_tld_names.gperf" {"info", 0}, #line 2268 "effective_tld_names.gperf" {"nov.ru", 0}, #line 1477 "effective_tld_names.gperf" {"inf.cu", 0}, #line 637 "effective_tld_names.gperf" {"com.la", 0}, #line 2178 "effective_tld_names.gperf" {"net.ru", 0}, #line 2350 "effective_tld_names.gperf" {"org", 0}, #line 1163 "effective_tld_names.gperf" {"gob.pa", 0}, #line 666 "effective_tld_names.gperf" {"com.ru", 0}, #line 1325 "effective_tld_names.gperf" {"gu", 2}, #line 960 "effective_tld_names.gperf" {"eu", 0}, #line 1425 "effective_tld_names.gperf" {"hu", 0}, #line 2414 "effective_tld_names.gperf" {"org.mo", 0}, #line 2412 "effective_tld_names.gperf" {"org.mk", 0}, #line 2413 "effective_tld_names.gperf" {"org.mn", 0}, #line 2362 "effective_tld_names.gperf" {"org.bm", 0}, #line 2363 "effective_tld_names.gperf" {"org.bo", 0}, #line 2286 "effective_tld_names.gperf" {"nu", 0}, #line 949 "effective_tld_names.gperf" {"es.kr", 0}, #line 1423 "effective_tld_names.gperf" {"hs.kr", 0}, #line 2370 "effective_tld_names.gperf" {"org.co", 0}, #line 2369 "effective_tld_names.gperf" {"org.cn", 0}, #line 732 "effective_tld_names.gperf" {"cu", 0}, #line 1507 "effective_tld_names.gperf" {"int.la", 0}, #line 2361 "effective_tld_names.gperf" {"org.bi", 0}, #line 1188 "effective_tld_names.gperf" {"gov.bb", 0}, #line 2368 "effective_tld_names.gperf" {"org.ci", 0}, #line 822 "effective_tld_names.gperf" {"edu.bb", 0}, #line 1265 "effective_tld_names.gperf" {"gov.st", 0}, #line 1511 "effective_tld_names.gperf" {"int.ru", 0}, #line 2339 "effective_tld_names.gperf" {"or.kr", 0}, #line 894 "effective_tld_names.gperf" {"edu.st", 0}, #line 2338 "effective_tld_names.gperf" {"or.jp", 0}, #line 2117 "effective_tld_names.gperf" {"net.bb", 0}, #line 3626 "effective_tld_names.gperf" {"yu", 2}, #line 2186 "effective_tld_names.gperf" {"net.st", 0}, #line 2426 "effective_tld_names.gperf" {"org.pk", 0}, #line 2428 "effective_tld_names.gperf" {"org.pn", 0}, #line 2342 "effective_tld_names.gperf" {"or.pw", 0}, #line 598 "effective_tld_names.gperf" {"com.bb", 0}, #line 2431 "effective_tld_names.gperf" {"org.pt", 0}, #line 674 "effective_tld_names.gperf" {"com.st", 0}, #line 2424 "effective_tld_names.gperf" {"org.pf", 0}, #line 1445 "effective_tld_names.gperf" {"id.us", 0}, #line 2404 "effective_tld_names.gperf" {"org.lk", 0}, #line 2089 "effective_tld_names.gperf" {"nd.us", 0}, #line 576 "effective_tld_names.gperf" {"co.us", 0}, #line 737 "effective_tld_names.gperf" {"cv", 0}, #line 2096 "effective_tld_names.gperf" {"ne.us", 0}, #line 2415 "effective_tld_names.gperf" {"org.mu", 0}, #line 1270 "effective_tld_names.gperf" {"gov.to", 0}, #line 1269 "effective_tld_names.gperf" {"gov.tn", 0}, #line 1230 "effective_tld_names.gperf" {"gov.lb", 0}, #line 2294 "effective_tld_names.gperf" {"ny.us", 0}, #line 897 "effective_tld_names.gperf" {"edu.to", 0}, #line 859 "effective_tld_names.gperf" {"edu.lb", 0}, #line 1271 "effective_tld_names.gperf" {"gov.tt", 0}, #line 2371 "effective_tld_names.gperf" {"org.cu", 0}, #line 1498 "effective_tld_names.gperf" {"ing.pa", 0}, #line 898 "effective_tld_names.gperf" {"edu.tt", 0}, #line 2191 "effective_tld_names.gperf" {"net.to", 0}, #line 2190 "effective_tld_names.gperf" {"net.tn", 0}, #line 2152 "effective_tld_names.gperf" {"net.lb", 0}, #line 2409 "effective_tld_names.gperf" {"org.ma", 0}, #line 2432 "effective_tld_names.gperf" {"org.ro", 0}, #line 2192 "effective_tld_names.gperf" {"net.tt", 0}, #line 2359 "effective_tld_names.gperf" {"org.ba", 0}, #line 678 "effective_tld_names.gperf" {"com.to", 0}, #line 677 "effective_tld_names.gperf" {"com.tn", 0}, #line 638 "effective_tld_names.gperf" {"com.lb", 0}, #line 1144 "effective_tld_names.gperf" {"gm", 0}, #line 1455 "effective_tld_names.gperf" {"im", 0}, #line 1400 "effective_tld_names.gperf" {"hm", 0}, #line 679 "effective_tld_names.gperf" {"com.tt", 0}, #line 1259 "effective_tld_names.gperf" {"gov.sa", 0}, #line 1466 "effective_tld_names.gperf" {"in.us", 0}, #line 888 "effective_tld_names.gperf" {"edu.sa", 0}, #line 542 "effective_tld_names.gperf" {"co.at", 0}, #line 530 "effective_tld_names.gperf" {"cm", 0}, #line 1225 "effective_tld_names.gperf" {"gov.km", 0}, #line 568 "effective_tld_names.gperf" {"co.rw", 0}, #line 1226 "effective_tld_names.gperf" {"gov.kn", 0}, #line 2180 "effective_tld_names.gperf" {"net.sa", 0}, #line 854 "effective_tld_names.gperf" {"edu.km", 0}, #line 855 "effective_tld_names.gperf" {"edu.kn", 0}, #line 1231 "effective_tld_names.gperf" {"gov.lc", 0}, #line 2422 "effective_tld_names.gperf" {"org.pa", 0}, #line 1224 "effective_tld_names.gperf" {"gov.ki", 0}, #line 860 "effective_tld_names.gperf" {"edu.lc", 0}, #line 668 "effective_tld_names.gperf" {"com.sa", 0}, #line 1514 "effective_tld_names.gperf" {"int.tt", 0}, #line 2148 "effective_tld_names.gperf" {"net.kn", 0}, #line 853 "effective_tld_names.gperf" {"edu.ki", 0}, #line 2244 "effective_tld_names.gperf" {"nom.km", 0}, #line 2153 "effective_tld_names.gperf" {"net.lc", 0}, #line 156 "effective_tld_names.gperf" {"ao", 0}, #line 634 "effective_tld_names.gperf" {"com.km", 0}, #line 68 "effective_tld_names.gperf" {"ad", 0}, #line 2147 "effective_tld_names.gperf" {"net.ki", 0}, #line 2401 "effective_tld_names.gperf" {"org.la", 0}, #line 2298 "effective_tld_names.gperf" {"nz", 2}, #line 74 "effective_tld_names.gperf" {"ae", 0}, #line 551 "effective_tld_names.gperf" {"co.im", 0}, #line 639 "effective_tld_names.gperf" {"com.lc", 0}, #line 731 "effective_tld_names.gperf" {"ct.us", 0}, #line 743 "effective_tld_names.gperf" {"cz", 0}, #line 633 "effective_tld_names.gperf" {"com.ki", 0}, #line 2346 "effective_tld_names.gperf" {"or.us", 0}, #line 1239 "effective_tld_names.gperf" {"gov.mg", 0}, #line 2434 "effective_tld_names.gperf" {"org.ru", 0}, #line 3645 "effective_tld_names.gperf" {"zm", 2}, #line 866 "effective_tld_names.gperf" {"edu.mg", 0}, #line 2321 "effective_tld_names.gperf" {"om", 2}, #line 166 "effective_tld_names.gperf" {"ar", 2}, #line 2245 "effective_tld_names.gperf" {"nom.mg", 0}, #line 1969 "effective_tld_names.gperf" {"mo", 0}, #line 1864 "effective_tld_names.gperf" {"md", 0}, #line 644 "effective_tld_names.gperf" {"com.mg", 0}, #line 1867 "effective_tld_names.gperf" {"me", 0}, #line 2032 "effective_tld_names.gperf" {"my", 0}, #line 1169 "effective_tld_names.gperf" {"gon.pk", 0}, #line 145 "effective_tld_names.gperf" {"an", 0}, #line 1193 "effective_tld_names.gperf" {"gov.bs", 0}, #line 180 "effective_tld_names.gperf" {"arpa", 0}, #line 827 "effective_tld_names.gperf" {"edu.bs", 0}, #line 2333 "effective_tld_names.gperf" {"or.at", 0}, #line 2360 "effective_tld_names.gperf" {"org.bb", 0}, #line 1277 "effective_tld_names.gperf" {"gov.ws", 0}, #line 808 "effective_tld_names.gperf" {"ec", 0}, #line 2442 "effective_tld_names.gperf" {"org.st", 0}, #line 2121 "effective_tld_names.gperf" {"net.bs", 0}, #line 903 "effective_tld_names.gperf" {"edu.ws", 0}, #line 2002 "effective_tld_names.gperf" {"mr", 0}, #line 2087 "effective_tld_names.gperf" {"nc", 0}, #line 1260 "effective_tld_names.gperf" {"gov.sb", 0}, #line 457 "effective_tld_names.gperf" {"cc", 0}, #line 889 "effective_tld_names.gperf" {"edu.sb", 0}, #line 604 "effective_tld_names.gperf" {"com.bs", 0}, #line 2199 "effective_tld_names.gperf" {"net.ws", 0}, #line 197 "effective_tld_names.gperf" {"as", 0}, #line 1442 "effective_tld_names.gperf" {"id.ir", 0}, #line 228 "effective_tld_names.gperf" {"at", 0}, #line 819 "effective_tld_names.gperf" {"edu.an", 0}, #line 1254 "effective_tld_names.gperf" {"gov.ps", 0}, #line 2181 "effective_tld_names.gperf" {"net.sb", 0}, #line 1966 "effective_tld_names.gperf" {"mn", 0}, #line 77 "effective_tld_names.gperf" {"aero", 0}, #line 687 "effective_tld_names.gperf" {"com.ws", 0}, #line 883 "effective_tld_names.gperf" {"edu.ps", 0}, #line 553 "effective_tld_names.gperf" {"co.ir", 0}, #line 1183 "effective_tld_names.gperf" {"gov.af", 0}, #line 2114 "effective_tld_names.gperf" {"net.an", 0}, #line 817 "effective_tld_names.gperf" {"edu.af", 0}, #line 669 "effective_tld_names.gperf" {"com.sb", 0}, #line 2176 "effective_tld_names.gperf" {"net.ps", 0}, #line 2112 "effective_tld_names.gperf" {"net.ai", 0}, #line 594 "effective_tld_names.gperf" {"com.an", 0}, #line 1326 "effective_tld_names.gperf" {"gu.us", 0}, #line 2110 "effective_tld_names.gperf" {"net.af", 0}, #line 2447 "effective_tld_names.gperf" {"org.to", 0}, #line 662 "effective_tld_names.gperf" {"com.ps", 0}, #line 2446 "effective_tld_names.gperf" {"org.tn", 0}, #line 2402 "effective_tld_names.gperf" {"org.lb", 0}, #line 2005 "effective_tld_names.gperf" {"ms", 0}, #line 592 "effective_tld_names.gperf" {"com.ai", 0}, #line 2448 "effective_tld_names.gperf" {"org.tt", 0}, #line 590 "effective_tld_names.gperf" {"com.af", 0}, #line 2010 "effective_tld_names.gperf" {"mt", 2}, #line 1261 "effective_tld_names.gperf" {"gov.sc", 0}, #line 69 "effective_tld_names.gperf" {"ad.jp", 0}, #line 890 "effective_tld_names.gperf" {"edu.sc", 0}, #line 739 "effective_tld_names.gperf" {"cx", 0}, #line 1256 "effective_tld_names.gperf" {"gov.rs", 0}, #line 1238 "effective_tld_names.gperf" {"gov.me", 0}, #line 2182 "effective_tld_names.gperf" {"net.sc", 0}, #line 1276 "effective_tld_names.gperf" {"gov.vn", 0}, #line 885 "effective_tld_names.gperf" {"edu.rs", 0}, #line 865 "effective_tld_names.gperf" {"edu.me", 0}, #line 902 "effective_tld_names.gperf" {"edu.vn", 0}, #line 2435 "effective_tld_names.gperf" {"org.sa", 0}, #line 564 "effective_tld_names.gperf" {"co.na", 0}, #line 670 "effective_tld_names.gperf" {"com.sc", 0}, #line 2159 "effective_tld_names.gperf" {"net.me", 0}, #line 425 "effective_tld_names.gperf" {"c.la", 0}, #line 2198 "effective_tld_names.gperf" {"net.vn", 0}, #line 2397 "effective_tld_names.gperf" {"org.km", 0}, #line 567 "effective_tld_names.gperf" {"co.rs", 0}, #line 2398 "effective_tld_names.gperf" {"org.kn", 0}, #line 2403 "effective_tld_names.gperf" {"org.lc", 0}, #line 2197 "effective_tld_names.gperf" {"net.vi", 0}, #line 686 "effective_tld_names.gperf" {"com.vn", 0}, #line 2292 "effective_tld_names.gperf" {"nv.us", 0}, #line 1465 "effective_tld_names.gperf" {"in.ua", 0}, #line 2396 "effective_tld_names.gperf" {"org.ki", 0}, #line 1156 "effective_tld_names.gperf" {"go.tz", 0}, #line 685 "effective_tld_names.gperf" {"com.vi", 0}, #line 876 "effective_tld_names.gperf" {"edu.pe", 0}, #line 535 "effective_tld_names.gperf" {"cn.ua", 0}, #line 2303 "effective_tld_names.gperf" {"od.ua", 0}, #line 574 "effective_tld_names.gperf" {"co.tz", 0}, #line 2094 "effective_tld_names.gperf" {"ne.tz", 0}, #line 2170 "effective_tld_names.gperf" {"net.pe", 0}, #line 1462 "effective_tld_names.gperf" {"in.na", 0}, #line 1515 "effective_tld_names.gperf" {"int.vn", 0}, #line 233 "effective_tld_names.gperf" {"au", 2}, #line 2247 "effective_tld_names.gperf" {"nom.pe", 0}, #line 2411 "effective_tld_names.gperf" {"org.mg", 0}, #line 1463 "effective_tld_names.gperf" {"in.rs", 0}, #line 656 "effective_tld_names.gperf" {"com.pe", 0}, #line 1332 "effective_tld_names.gperf" {"gv.at", 0}, #line 1263 "effective_tld_names.gperf" {"gov.sg", 0}, #line 2233 "effective_tld_names.gperf" {"nm.us", 0}, #line 892 "effective_tld_names.gperf" {"edu.sg", 0}, #line 2184 "effective_tld_names.gperf" {"net.sg", 0}, #line 1164 "effective_tld_names.gperf" {"gob.pe", 0}, #line 2013 "effective_tld_names.gperf" {"mu", 0}, #line 2365 "effective_tld_names.gperf" {"org.bs", 0}, #line 672 "effective_tld_names.gperf" {"com.sg", 0}, #line 2341 "effective_tld_names.gperf" {"or.na", 0}, #line 2007 "effective_tld_names.gperf" {"ms.kr", 0}, #line 1090 "effective_tld_names.gperf" {"ga", 0}, #line 1150 "effective_tld_names.gperf" {"go.it", 0}, #line 2249 "effective_tld_names.gperf" {"nom.re", 0}, #line 2455 "effective_tld_names.gperf" {"org.ws", 0}, #line 2037 "effective_tld_names.gperf" {"na", 0}, #line 2237 "effective_tld_names.gperf" {"no.it", 0}, #line 1113 "effective_tld_names.gperf" {"ge.it", 0}, #line 664 "effective_tld_names.gperf" {"com.re", 0}, #line 427 "effective_tld_names.gperf" {"ca", 0}, #line 451 "effective_tld_names.gperf" {"cat", 0}, #line 554 "effective_tld_names.gperf" {"co.it", 0}, #line 2436 "effective_tld_names.gperf" {"org.sb", 0}, #line 3649 "effective_tld_names.gperf" {"zt.ua", 0}, #line 461 "effective_tld_names.gperf" {"ce.it", 0}, #line 2357 "effective_tld_names.gperf" {"org.an", 0}, #line 2430 "effective_tld_names.gperf" {"org.ps", 0}, #line 2344 "effective_tld_names.gperf" {"or.tz", 0}, #line 1126 "effective_tld_names.gperf" {"gi", 0}, #line 2355 "effective_tld_names.gperf" {"org.ai", 0}, #line 2353 "effective_tld_names.gperf" {"org.af", 0}, #line 1282 "effective_tld_names.gperf" {"gr.it", 0}, #line 169 "effective_tld_names.gperf" {"ar.us", 0}, #line 2216 "effective_tld_names.gperf" {"ni", 2}, #line 1973 "effective_tld_names.gperf" {"mo.us", 0}, #line 2028 "effective_tld_names.gperf" {"mv", 2}, #line 1866 "effective_tld_names.gperf" {"md.us", 0}, #line 202 "effective_tld_names.gperf" {"asia", 0}, #line 495 "effective_tld_names.gperf" {"ci", 0}, #line 2406 "effective_tld_names.gperf" {"org.ls", 0}, #line 1869 "effective_tld_names.gperf" {"me.us", 0}, #line 721 "effective_tld_names.gperf" {"cr.it", 0}, #line 1211 "effective_tld_names.gperf" {"gov.gn", 0}, #line 130 "effective_tld_names.gperf" {"am", 0}, #line 841 "effective_tld_names.gperf" {"edu.gn", 0}, #line 928 "effective_tld_names.gperf" {"en.it", 0}, #line 3630 "effective_tld_names.gperf" {"za", 2}, #line 1210 "effective_tld_names.gperf" {"gov.gi", 0}, #line 2132 "effective_tld_names.gperf" {"net.gn", 0}, #line 840 "effective_tld_names.gperf" {"edu.gi", 0}, #line 1223 "effective_tld_names.gperf" {"gov.kg", 0}, #line 2437 "effective_tld_names.gperf" {"org.sc", 0}, #line 534 "effective_tld_names.gperf" {"cn.it", 0}, #line 852 "effective_tld_names.gperf" {"edu.kg", 0}, #line 620 "effective_tld_names.gperf" {"com.gn", 0}, #line 2088 "effective_tld_names.gperf" {"nc.us", 0}, #line 2433 "effective_tld_names.gperf" {"org.rs", 0}, #line 2410 "effective_tld_names.gperf" {"org.me", 0}, #line 2146 "effective_tld_names.gperf" {"net.kg", 0}, #line 2454 "effective_tld_names.gperf" {"org.vn", 0}, #line 1157 "effective_tld_names.gperf" {"go.ug", 0}, #line 1528 "effective_tld_names.gperf" {"is.it", 0}, #line 198 "effective_tld_names.gperf" {"as.us", 0}, #line 619 "effective_tld_names.gperf" {"com.gi", 0}, #line 1181 "effective_tld_names.gperf" {"gov.ac", 0}, #line 1965 "effective_tld_names.gperf" {"mm", 2}, #line 540 "effective_tld_names.gperf" {"co.ag", 0}, #line 256 "effective_tld_names.gperf" {"az", 0}, #line 816 "effective_tld_names.gperf" {"edu.ac", 0}, #line 632 "effective_tld_names.gperf" {"com.kg", 0}, #line 2453 "effective_tld_names.gperf" {"org.vi", 0}, #line 1968 "effective_tld_names.gperf" {"mn.us", 0}, #line 575 "effective_tld_names.gperf" {"co.ug", 0}, #line 729 "effective_tld_names.gperf" {"cs.it", 0}, #line 2095 "effective_tld_names.gperf" {"ne.ug", 0}, #line 730 "effective_tld_names.gperf" {"ct.it", 0}, #line 2108 "effective_tld_names.gperf" {"net.ac", 0}, #line 2337 "effective_tld_names.gperf" {"or.it", 0}, #line 2295 "effective_tld_names.gperf" {"nyc.museum", 0}, #line 589 "effective_tld_names.gperf" {"com.ac", 0}, #line 2423 "effective_tld_names.gperf" {"org.pe", 0}, #line 2008 "effective_tld_names.gperf" {"ms.us", 0}, #line 2012 "effective_tld_names.gperf" {"mt.us", 0}, #line 2034 "effective_tld_names.gperf" {"mz", 2}, #line 738 "effective_tld_names.gperf" {"cv.ua", 0}, #line 1975 "effective_tld_names.gperf" {"mobi", 0}, #line 1275 "effective_tld_names.gperf" {"gov.vc", 0}, #line 901 "effective_tld_names.gperf" {"edu.vc", 0}, #line 2440 "effective_tld_names.gperf" {"org.sg", 0}, #line 801 "effective_tld_names.gperf" {"e-burg.ru", 0}, #line 32 "effective_tld_names.gperf" {"ac", 0}, #line 1813 "effective_tld_names.gperf" {"ly", 0}, #line 1243 "effective_tld_names.gperf" {"gov.mr", 0}, #line 2196 "effective_tld_names.gperf" {"net.vc", 0}, #line 1192 "effective_tld_names.gperf" {"gov.br", 0}, #line 1089 "effective_tld_names.gperf" {"g12.br", 0}, #line 826 "effective_tld_names.gperf" {"edu.br", 0}, #line 2263 "effective_tld_names.gperf" {"not.br", 0}, #line 1279 "effective_tld_names.gperf" {"gp", 0}, #line 684 "effective_tld_names.gperf" {"com.vc", 0}, #line 2120 "effective_tld_names.gperf" {"net.br", 0}, #line 2272 "effective_tld_names.gperf" {"np", 2}, #line 573 "effective_tld_names.gperf" {"co.tt", 0}, #line 1790 "effective_tld_names.gperf" {"lr", 0}, #line 2240 "effective_tld_names.gperf" {"nom.br", 0}, #line 2345 "effective_tld_names.gperf" {"or.ug", 0}, #line 2111 "effective_tld_names.gperf" {"net.ag", 0}, #line 603 "effective_tld_names.gperf" {"com.br", 0}, #line 2239 "effective_tld_names.gperf" {"nom.ag", 0}, #line 1862 "effective_tld_names.gperf" {"mc", 0}, #line 1253 "effective_tld_names.gperf" {"gov.pr", 0}, #line 591 "effective_tld_names.gperf" {"com.ag", 0}, #line 882 "effective_tld_names.gperf" {"edu.pr", 0}, #line 1123 "effective_tld_names.gperf" {"gg", 0}, #line 910 "effective_tld_names.gperf" {"eg", 2}, #line 2288 "effective_tld_names.gperf" {"nu.it", 0}, #line 1775 "effective_tld_names.gperf" {"local", 0}, #line 1185 "effective_tld_names.gperf" {"gov.as", 0}, #line 2175 "effective_tld_names.gperf" {"net.pr", 0}, #line 2210 "effective_tld_names.gperf" {"ng", 0}, #line 1233 "effective_tld_names.gperf" {"gov.lr", 0}, #line 2166 "effective_tld_names.gperf" {"net.nf", 0}, #line 254 "effective_tld_names.gperf" {"ax", 0}, #line 466 "effective_tld_names.gperf" {"cg", 0}, #line 862 "effective_tld_names.gperf" {"edu.lr", 0}, #line 661 "effective_tld_names.gperf" {"com.pr", 0}, #line 1405 "effective_tld_names.gperf" {"hof.no", 0}, #line 1791 "effective_tld_names.gperf" {"ls", 0}, #line 652 "effective_tld_names.gperf" {"com.nf", 0}, #line 558 "effective_tld_names.gperf" {"co.lc", 0}, #line 537 "effective_tld_names.gperf" {"cnt.br", 0}, #line 2155 "effective_tld_names.gperf" {"net.lr", 0}, #line 1792 "effective_tld_names.gperf" {"lt", 0}, #line 2381 "effective_tld_names.gperf" {"org.gn", 0}, #line 1041 "effective_tld_names.gperf" {"fo", 0}, #line 641 "effective_tld_names.gperf" {"com.lr", 0}, #line 2380 "effective_tld_names.gperf" {"org.gi", 0}, #line 1091 "effective_tld_names.gperf" {"ga.us", 0}, #line 1437 "effective_tld_names.gperf" {"ia.us", 0}, #line 955 "effective_tld_names.gperf" {"etc.br", 0}, #line 2395 "effective_tld_names.gperf" {"org.kg", 0}, #line 1476 "effective_tld_names.gperf" {"inf.br", 0}, #line 2030 "effective_tld_names.gperf" {"mx", 0}, #line 2876 "effective_tld_names.gperf" {"sd", 0}, #line 2285 "effective_tld_names.gperf" {"ntr.br", 0}, #line 950 "effective_tld_names.gperf" {"esp.br", 0}, #line 430 "effective_tld_names.gperf" {"ca.us", 0}, #line 1197 "effective_tld_names.gperf" {"gov.cl", 0}, #line 539 "effective_tld_names.gperf" {"co.ae", 0}, #line 2879 "effective_tld_names.gperf" {"se", 0}, #line 3065 "effective_tld_names.gperf" {"sy", 0}, #line 1246 "effective_tld_names.gperf" {"gov.my", 0}, #line 2351 "effective_tld_names.gperf" {"org.ac", 0}, #line 1194 "effective_tld_names.gperf" {"gov.by", 0}, #line 1056 "effective_tld_names.gperf" {"fr", 0}, #line 2068 "effective_tld_names.gperf" {"nat.tn", 0}, #line 872 "effective_tld_names.gperf" {"edu.my", 0}, #line 2439 "effective_tld_names.gperf" {"org.se", 0}, #line 952 "effective_tld_names.gperf" {"est.pr", 0}, #line 44 "effective_tld_names.gperf" {"ac.kr", 0}, #line 1383 "effective_tld_names.gperf" {"hi.us", 0}, #line 43 "effective_tld_names.gperf" {"ac.jp", 0}, #line 2165 "effective_tld_names.gperf" {"net.my", 0}, #line 1251 "effective_tld_names.gperf" {"gov.pl", 0}, #line 1174 "effective_tld_names.gperf" {"gos.pk", 0}, #line 2993 "effective_tld_names.gperf" {"sr", 0}, #line 880 "effective_tld_names.gperf" {"edu.pl", 0}, #line 650 "effective_tld_names.gperf" {"com.my", 0}, #line 1456 "effective_tld_names.gperf" {"im.it", 0}, #line 605 "effective_tld_names.gperf" {"com.by", 0}, #line 1182 "effective_tld_names.gperf" {"gov.ae", 0}, #line 931 "effective_tld_names.gperf" {"eng.br", 0}, #line 651 "effective_tld_names.gperf" {"com.na", 0}, #line 2173 "effective_tld_names.gperf" {"net.pl", 0}, #line 75 "effective_tld_names.gperf" {"ae.org", 0}, #line 565 "effective_tld_names.gperf" {"co.pn", 0}, #line 555 "effective_tld_names.gperf" {"co.je", 0}, #line 2949 "effective_tld_names.gperf" {"sn", 0}, #line 458 "effective_tld_names.gperf" {"cc.na", 0}, #line 2248 "effective_tld_names.gperf" {"nom.pl", 0}, #line 536 "effective_tld_names.gperf" {"cng.br", 0}, #line 2109 "effective_tld_names.gperf" {"net.ae", 0}, #line 1159 "effective_tld_names.gperf" {"gob.cl", 0}, #line 660 "effective_tld_names.gperf" {"com.pl", 0}, #line 2269 "effective_tld_names.gperf" {"novara.it", 0}, #line 1236 "effective_tld_names.gperf" {"gov.ly", 0}, #line 2958 "effective_tld_names.gperf" {"soc.lk", 0}, #line 1524 "effective_tld_names.gperf" {"irc.pl", 0}, #line 1149 "effective_tld_names.gperf" {"go.cr", 0}, #line 864 "effective_tld_names.gperf" {"edu.ly", 0}, #line 1288 "effective_tld_names.gperf" {"granvin.no", 0}, #line 2452 "effective_tld_names.gperf" {"org.vc", 0}, #line 812 "effective_tld_names.gperf" {"ed.cr", 0}, #line 157 "effective_tld_names.gperf" {"ao.it", 0}, #line 2157 "effective_tld_names.gperf" {"net.ly", 0}, #line 257 "effective_tld_names.gperf" {"az.us", 0}, #line 547 "effective_tld_names.gperf" {"co.cr", 0}, #line 2999 "effective_tld_names.gperf" {"st", 0}, #line 1797 "effective_tld_names.gperf" {"lu", 0}, #line 2364 "effective_tld_names.gperf" {"org.br", 0}, #line 744 "effective_tld_names.gperf" {"cz.it", 0}, #line 643 "effective_tld_names.gperf" {"com.ly", 0}, #line 2354 "effective_tld_names.gperf" {"org.ag", 0}, #line 1446 "effective_tld_names.gperf" {"idrett.no", 0}, #line 51 "effective_tld_names.gperf" {"ac.pr", 0}, #line 97 "effective_tld_names.gperf" {"ai", 0}, #line 1818 "effective_tld_names.gperf" {"ma", 0}, #line 168 "effective_tld_names.gperf" {"ar.it", 0}, #line 1972 "effective_tld_names.gperf" {"mo.it", 0}, #line 2429 "effective_tld_names.gperf" {"org.pr", 0}, #line 1868 "effective_tld_names.gperf" {"me.it", 0}, #line 1208 "effective_tld_names.gperf" {"gov.gg", 0}, #line 1323 "effective_tld_names.gperf" {"gsm.pl", 0}, #line 146 "effective_tld_names.gperf" {"an.it", 0}, #line 1811 "effective_tld_names.gperf" {"lv", 0}, #line 2405 "effective_tld_names.gperf" {"org.lr", 0}, #line 2131 "effective_tld_names.gperf" {"net.gg", 0}, #line 908 "effective_tld_names.gperf" {"edunet.tn", 0}, #line 3401 "effective_tld_names.gperf" {"ws", 0}, #line 3377 "effective_tld_names.gperf" {"web.co", 0}, #line 559 "effective_tld_names.gperf" {"co.ls", 0}, #line 229 "effective_tld_names.gperf" {"at.it", 0}, #line 715 "effective_tld_names.gperf" {"council.aero", 0}, #line 1967 "effective_tld_names.gperf" {"mn.it", 0}, #line 2336 "effective_tld_names.gperf" {"or.cr", 0}, #line 3380 "effective_tld_names.gperf" {"web.pk", 0}, #line 957 "effective_tld_names.gperf" {"eti.br", 0}, #line 1264 "effective_tld_names.gperf" {"gov.sl", 0}, #line 34 "effective_tld_names.gperf" {"ac.at", 0}, #line 3040 "effective_tld_names.gperf" {"su", 0}, #line 2418 "effective_tld_names.gperf" {"org.my", 0}, #line 1245 "effective_tld_names.gperf" {"gov.mw", 0}, #line 893 "effective_tld_names.gperf" {"edu.sl", 0}, #line 3378 "effective_tld_names.gperf" {"web.lk", 0}, #line 2006 "effective_tld_names.gperf" {"ms.it", 0}, #line 54 "effective_tld_names.gperf" {"ac.rw", 0}, #line 2419 "effective_tld_names.gperf" {"org.na", 0}, #line 870 "effective_tld_names.gperf" {"edu.mw", 0}, #line 2011 "effective_tld_names.gperf" {"mt.it", 0}, #line 185 "effective_tld_names.gperf" {"art.museum", 0}, #line 2185 "effective_tld_names.gperf" {"net.sl", 0}, #line 1266 "effective_tld_names.gperf" {"gov.sy", 0}, #line 2163 "effective_tld_names.gperf" {"net.mw", 0}, #line 1205 "effective_tld_names.gperf" {"gov.ec", 0}, #line 895 "effective_tld_names.gperf" {"edu.sy", 0}, #line 2427 "effective_tld_names.gperf" {"org.pl", 0}, #line 835 "effective_tld_names.gperf" {"edu.ec", 0}, #line 673 "effective_tld_names.gperf" {"com.sl", 0}, #line 648 "effective_tld_names.gperf" {"com.mw", 0}, #line 2187 "effective_tld_names.gperf" {"net.sy", 0}, #line 2352 "effective_tld_names.gperf" {"org.ae", 0}, #line 2129 "effective_tld_names.gperf" {"net.ec", 0}, #line 429 "effective_tld_names.gperf" {"ca.na", 0}, #line 40 "effective_tld_names.gperf" {"ac.im", 0}, #line 1470 "effective_tld_names.gperf" {"ind.tn", 0}, #line 675 "effective_tld_names.gperf" {"com.sy", 0}, #line 613 "effective_tld_names.gperf" {"com.ec", 0}, #line 72 "effective_tld_names.gperf" {"adv.br", 0}, #line 1268 "effective_tld_names.gperf" {"gov.tl", 0}, #line 3054 "effective_tld_names.gperf" {"sv", 2}, #line 2878 "effective_tld_names.gperf" {"sd.us", 0}, #line 2408 "effective_tld_names.gperf" {"org.ly", 0}, #line 1509 "effective_tld_names.gperf" {"int.mw", 0}, #line 3039 "effective_tld_names.gperf" {"stv.ru", 0}, #line 1207 "effective_tld_names.gperf" {"gov.ge", 0}, #line 1458 "effective_tld_names.gperf" {"imb.br", 0}, #line 70 "effective_tld_names.gperf" {"adm.br", 0}, #line 838 "effective_tld_names.gperf" {"edu.ge", 0}, #line 1352 "effective_tld_names.gperf" {"hamaroy.no", 0}, #line 552 "effective_tld_names.gperf" {"co.in", 0}, #line 1247 "effective_tld_names.gperf" {"gov.ng", 0}, #line 2130 "effective_tld_names.gperf" {"net.ge", 0}, #line 873 "effective_tld_names.gperf" {"edu.ng", 0}, #line 1037 "effective_tld_names.gperf" {"fm", 0}, #line 182 "effective_tld_names.gperf" {"art.br", 0}, #line 1280 "effective_tld_names.gperf" {"gq", 0}, #line 1521 "effective_tld_names.gperf" {"iq", 0}, #line 617 "effective_tld_names.gperf" {"com.ge", 0}, #line 2167 "effective_tld_names.gperf" {"net.ng", 0}, #line 85 "effective_tld_names.gperf" {"ag", 0}, #line 1258 "effective_tld_names.gperf" {"gov.rw", 0}, #line 2000 "effective_tld_names.gperf" {"mp", 0}, #line 887 "effective_tld_names.gperf" {"edu.rw", 0}, #line 1731 "effective_tld_names.gperf" {"lc", 0}, #line 653 "effective_tld_names.gperf" {"com.ng", 0}, #line 2946 "effective_tld_names.gperf" {"sm", 0}, #line 2179 "effective_tld_names.gperf" {"net.rw", 0}, #line 938 "effective_tld_names.gperf" {"ens.tn", 0}, #line 1227 "effective_tld_names.gperf" {"gov.ky", 0}, #line 667 "effective_tld_names.gperf" {"com.rw", 0}, #line 2378 "effective_tld_names.gperf" {"org.gg", 0}, #line 856 "effective_tld_names.gperf" {"edu.ky", 0}, #line 42 "effective_tld_names.gperf" {"ac.ir", 0}, #line 1899 "effective_tld_names.gperf" {"mg", 0}, #line 2149 "effective_tld_names.gperf" {"net.ky", 0}, #line 810 "effective_tld_names.gperf" {"ed.ao", 0}, #line 3405 "effective_tld_names.gperf" {"wy.us", 0}, #line 1109 "effective_tld_names.gperf" {"gda.pl", 0}, #line 247 "effective_tld_names.gperf" {"av.it", 0}, #line 2038 "effective_tld_names.gperf" {"na.it", 0}, #line 3069 "effective_tld_names.gperf" {"sz", 0}, #line 541 "effective_tld_names.gperf" {"co.ao", 0}, #line 635 "effective_tld_names.gperf" {"com.ky", 0}, #line 428 "effective_tld_names.gperf" {"ca.it", 0}, #line 1512 "effective_tld_names.gperf" {"int.rw", 0}, #line 563 "effective_tld_names.gperf" {"co.mw", 0}, #line 837 "effective_tld_names.gperf" {"edu.es", 0}, #line 3633 "effective_tld_names.gperf" {"za.org", 0}, #line 2242 "effective_tld_names.gperf" {"nom.es", 0}, #line 615 "effective_tld_names.gperf" {"com.es", 0}, #line 1819 "effective_tld_names.gperf" {"ma.us", 0}, #line 2441 "effective_tld_names.gperf" {"org.sl", 0}, #line 2048 "effective_tld_names.gperf" {"name", 0}, #line 2416 "effective_tld_names.gperf" {"org.mw", 0}, #line 2366 "effective_tld_names.gperf" {"org.bw", 0}, #line 52 "effective_tld_names.gperf" {"ac.rs", 0}, #line 1160 "effective_tld_names.gperf" {"gob.es", 0}, #line 1168 "effective_tld_names.gperf" {"gol.no", 0}, #line 1408 "effective_tld_names.gperf" {"hol.no", 0}, #line 2443 "effective_tld_names.gperf" {"org.sy", 0}, #line 1903 "effective_tld_names.gperf" {"mi.us", 0}, #line 2374 "effective_tld_names.gperf" {"org.ec", 0}, #line 1184 "effective_tld_names.gperf" {"gov.al", 0}, #line 2845 "effective_tld_names.gperf" {"sc", 0}, #line 818 "effective_tld_names.gperf" {"edu.al", 0}, #line 186 "effective_tld_names.gperf" {"art.pl", 0}, #line 1535 "effective_tld_names.gperf" {"it.ao", 0}, #line 59 "effective_tld_names.gperf" {"ac.tz", 0}, #line 2113 "effective_tld_names.gperf" {"net.al", 0}, #line 1443 "effective_tld_names.gperf" {"id.lv", 0}, #line 2470 "effective_tld_names.gperf" {"osteroy.no", 0}, #line 593 "effective_tld_names.gperf" {"com.al", 0}, #line 3648 "effective_tld_names.gperf" {"zp.ua", 0}, #line 1206 "effective_tld_names.gperf" {"gov.ee", 0}, #line 50 "effective_tld_names.gperf" {"ac.pa", 0}, #line 2884 "effective_tld_names.gperf" {"sec.ps", 0}, #line 836 "effective_tld_names.gperf" {"edu.ee", 0}, #line 1876 "effective_tld_names.gperf" {"med.pa", 0}, #line 2377 "effective_tld_names.gperf" {"org.ge", 0}, #line 2283 "effective_tld_names.gperf" {"nt.no", 0}, #line 1376 "effective_tld_names.gperf" {"hemnes.no", 0}, #line 1273 "effective_tld_names.gperf" {"gov.tw", 0}, #line 2420 "effective_tld_names.gperf" {"org.ng", 0}, #line 1448 "effective_tld_names.gperf" {"idv.tw", 0}, #line 614 "effective_tld_names.gperf" {"com.ee", 0}, #line 899 "effective_tld_names.gperf" {"edu.tw", 0}, #line 962 "effective_tld_names.gperf" {"eu.int", 0}, #line 1895 "effective_tld_names.gperf" {"meraker.no", 0}, #line 2194 "effective_tld_names.gperf" {"net.tw", 0}, #line 1706 "effective_tld_names.gperf" {"la", 0}, #line 231 "effective_tld_names.gperf" {"atm.pl", 0}, #line 1773 "effective_tld_names.gperf" {"lo.it", 0}, #line 2031 "effective_tld_names.gperf" {"mx.na", 0}, #line 681 "effective_tld_names.gperf" {"com.tw", 0}, #line 2275 "effective_tld_names.gperf" {"ns.ca", 0}, #line 1733 "effective_tld_names.gperf" {"le.it", 0}, #line 1416 "effective_tld_names.gperf" {"horten.no", 0}, #line 2280 "effective_tld_names.gperf" {"nt.ca", 0}, #line 143 "effective_tld_names.gperf" {"amursk.ru", 0}, #line 2399 "effective_tld_names.gperf" {"org.ky", 0}, #line 1755 "effective_tld_names.gperf" {"li", 0}, #line 2325 "effective_tld_names.gperf" {"on.ca", 0}, #line 1212 "effective_tld_names.gperf" {"gov.gr", 0}, #line 1863 "effective_tld_names.gperf" {"mc.it", 0}, #line 2376 "effective_tld_names.gperf" {"org.es", 0}, #line 843 "effective_tld_names.gperf" {"edu.gr", 0}, #line 2847 "effective_tld_names.gperf" {"sc.kr", 0}, #line 2134 "effective_tld_names.gperf" {"net.gr", 0}, #line 622 "effective_tld_names.gperf" {"com.gr", 0}, #line 1536 "effective_tld_names.gperf" {"its.me", 0}, #line 497 "effective_tld_names.gperf" {"cim.br", 0}, #line 1793 "effective_tld_names.gperf" {"lt.it", 0}, #line 2855 "effective_tld_names.gperf" {"sch.lk", 0}, #line 60 "effective_tld_names.gperf" {"ac.ug", 0}, #line 3403 "effective_tld_names.gperf" {"wv.us", 0}, #line 984 "effective_tld_names.gperf" {"fe.it", 0}, #line 1331 "effective_tld_names.gperf" {"gv.ao", 0}, #line 2800 "effective_tld_names.gperf" {"sa", 0}, #line 2957 "effective_tld_names.gperf" {"so.it", 0}, #line 2356 "effective_tld_names.gperf" {"org.al", 0}, #line 49 "effective_tld_names.gperf" {"ac.ng", 0}, #line 2287 "effective_tld_names.gperf" {"nu.ca", 0}, #line 2955 "effective_tld_names.gperf" {"snz.ru", 0}, #line 997 "effective_tld_names.gperf" {"fi", 0}, #line 1879 "effective_tld_names.gperf" {"med.sa", 0}, #line 1057 "effective_tld_names.gperf" {"fr.it", 0}, #line 1088 "effective_tld_names.gperf" {"g.se", 0}, #line 1436 "effective_tld_names.gperf" {"i.se", 0}, #line 803 "effective_tld_names.gperf" {"e.se", 0}, #line 1342 "effective_tld_names.gperf" {"h.se", 0}, #line 3407 "effective_tld_names.gperf" {"x.se", 0}, #line 2375 "effective_tld_names.gperf" {"org.ee", 0}, #line 2910 "effective_tld_names.gperf" {"si", 0}, #line 1913 "effective_tld_names.gperf" {"mil", 0}, #line 2036 "effective_tld_names.gperf" {"n.se", 0}, #line 162 "effective_tld_names.gperf" {"aq", 0}, #line 2995 "effective_tld_names.gperf" {"sr.it", 0}, #line 426 "effective_tld_names.gperf" {"c.se", 0}, #line 2063 "effective_tld_names.gperf" {"napoli.it", 0}, #line 3402 "effective_tld_names.gperf" {"ws.na", 0}, #line 595 "effective_tld_names.gperf" {"com.aw", 0}, #line 973 "effective_tld_names.gperf" {"fam.pk", 0}, #line 1918 "effective_tld_names.gperf" {"mil.bo", 0}, #line 2450 "effective_tld_names.gperf" {"org.tw", 0}, #line 1922 "effective_tld_names.gperf" {"mil.co", 0}, #line 1921 "effective_tld_names.gperf" {"mil.cn", 0}, #line 3610 "effective_tld_names.gperf" {"y.se", 0}, #line 2135 "effective_tld_names.gperf" {"net.gy", 0}, #line 809 "effective_tld_names.gperf" {"ecn.br", 0}, #line 1401 "effective_tld_names.gperf" {"hm.no", 0}, #line 2849 "effective_tld_names.gperf" {"sc.us", 0}, #line 2001 "effective_tld_names.gperf" {"mq", 0}, #line 623 "effective_tld_names.gperf" {"com.gy", 0}, #line 1248 "effective_tld_names.gperf" {"gov.nr", 0}, #line 2284 "effective_tld_names.gperf" {"nt.ro", 0}, #line 874 "effective_tld_names.gperf" {"edu.nr", 0}, #line 2997 "effective_tld_names.gperf" {"ss.it", 0}, #line 3629 "effective_tld_names.gperf" {"z.se", 0}, #line 3632 "effective_tld_names.gperf" {"za.net", 0}, #line 1798 "effective_tld_names.gperf" {"lu.it", 0}, #line 1780 "effective_tld_names.gperf" {"lom.no", 0}, #line 2168 "effective_tld_names.gperf" {"net.nr", 0}, #line 2300 "effective_tld_names.gperf" {"o.se", 0}, #line 2978 "effective_tld_names.gperf" {"sortland.no", 0}, #line 654 "effective_tld_names.gperf" {"com.nr", 0}, #line 2383 "effective_tld_names.gperf" {"org.gr", 0}, #line 210 "effective_tld_names.gperf" {"ass.km", 0}, #line 1278 "effective_tld_names.gperf" {"government.aero", 0}, #line 1468 "effective_tld_names.gperf" {"ind.br", 0}, #line 1917 "effective_tld_names.gperf" {"mil.ba", 0}, #line 1708 "effective_tld_names.gperf" {"la.us", 0}, #line 1054 "effective_tld_names.gperf" {"fot.br", 0}, #line 1124 "effective_tld_names.gperf" {"ggf.br", 0}, #line 560 "effective_tld_names.gperf" {"co.ma", 0}, #line 33 "effective_tld_names.gperf" {"ac.ae", 0}, #line 1901 "effective_tld_names.gperf" {"mi.it", 0}, #line 1108 "effective_tld_names.gperf" {"gd.cn", 0}, #line 1368 "effective_tld_names.gperf" {"he.cn", 0}, #line 3264 "effective_tld_names.gperf" {"uy", 2}, #line 1712 "effective_tld_names.gperf" {"lahppi.no", 0}, #line 990 "effective_tld_names.gperf" {"fet.no", 0}, #line 2003 "effective_tld_names.gperf" {"mr.no", 0}, #line 2692 "effective_tld_names.gperf" {"qa", 2}, #line 440 "effective_tld_names.gperf" {"can.museum", 0}, #line 2471 "effective_tld_names.gperf" {"ostre-toten.no", 0}, #line 1308 "effective_tld_names.gperf" {"gs.jan-mayen.no", 0}, #line 2996 "effective_tld_names.gperf" {"srv.br", 0}, #line 1941 "effective_tld_names.gperf" {"mil.ru", 0}, #line 2898 "effective_tld_names.gperf" {"sg", 0}, #line 103 "effective_tld_names.gperf" {"air.museum", 0}, #line 2857 "effective_tld_names.gperf" {"sch.sa", 0}, #line 1106 "effective_tld_names.gperf" {"gc.ca", 0}, #line 1403 "effective_tld_names.gperf" {"hn.cn", 0}, #line 1796 "effective_tld_names.gperf" {"ltd.lk", 0}, #line 1753 "effective_tld_names.gperf" {"lg.jp", 0}, #line 1075 "effective_tld_names.gperf" {"fst.br", 0}, #line 38 "effective_tld_names.gperf" {"ac.cr", 0}, #line 3243 "effective_tld_names.gperf" {"us", 0}, #line 1304 "effective_tld_names.gperf" {"gs.cn", 0}, #line 1396 "effective_tld_names.gperf" {"hk", 0}, #line 3620 "effective_tld_names.gperf" {"yn.cn", 0}, #line 3055 "effective_tld_names.gperf" {"sv.it", 0}, #line 932 "effective_tld_names.gperf" {"eng.pro", 0}, #line 1943 "effective_tld_names.gperf" {"mil.st", 0}, #line 161 "effective_tld_names.gperf" {"ap.it", 0}, #line 522 "effective_tld_names.gperf" {"ck", 2}, #line 439 "effective_tld_names.gperf" {"can.br", 0}, #line 1215 "effective_tld_names.gperf" {"gov.im", 0}, #line 1216 "effective_tld_names.gperf" {"gov.in", 0}, #line 2421 "effective_tld_names.gperf" {"org.nr", 0}, #line 847 "effective_tld_names.gperf" {"edu.in", 0}, #line 1220 "effective_tld_names.gperf" {"gov.it", 0}, #line 1118 "effective_tld_names.gperf" {"genova.it", 0}, #line 850 "effective_tld_names.gperf" {"edu.it", 0}, #line 2139 "effective_tld_names.gperf" {"net.im", 0}, #line 2140 "effective_tld_names.gperf" {"net.in", 0}, #line 1855 "effective_tld_names.gperf" {"mat.br", 0}, #line 628 "effective_tld_names.gperf" {"com.io", 0}, #line 86 "effective_tld_names.gperf" {"ag.it", 0}, #line 2881 "effective_tld_names.gperf" {"se.net", 0}, #line 1732 "effective_tld_names.gperf" {"lc.it", 0}, #line 1946 "effective_tld_names.gperf" {"mil.to", 0}, #line 1824 "effective_tld_names.gperf" {"magazine.aero", 0}, #line 1980 "effective_tld_names.gperf" {"modalen.no", 0}, #line 1087 "effective_tld_names.gperf" {"g.bg", 0}, #line 1434 "effective_tld_names.gperf" {"i.bg", 0}, #line 802 "effective_tld_names.gperf" {"e.bg", 0}, #line 1341 "effective_tld_names.gperf" {"h.bg", 0}, #line 3406 "effective_tld_names.gperf" {"x.bg", 0}, #line 21 "effective_tld_names.gperf" {"6.bg", 0}, #line 25 "effective_tld_names.gperf" {"9.bg", 0}, #line 24 "effective_tld_names.gperf" {"8.bg", 0}, #line 23 "effective_tld_names.gperf" {"7.bg", 0}, #line 20 "effective_tld_names.gperf" {"5.bg", 0}, #line 19 "effective_tld_names.gperf" {"4.bg", 0}, #line 18 "effective_tld_names.gperf" {"3.bg", 0}, #line 16 "effective_tld_names.gperf" {"2.bg", 0}, #line 2035 "effective_tld_names.gperf" {"n.bg", 0}, #line 15 "effective_tld_names.gperf" {"1.bg", 0}, #line 14 "effective_tld_names.gperf" {"0.bg", 0}, #line 3365 "effective_tld_names.gperf" {"wa.us", 0}, #line 424 "effective_tld_names.gperf" {"c.bg", 0}, #line 3379 "effective_tld_names.gperf" {"web.nf", 0}, #line 3219 "effective_tld_names.gperf" {"udm.ru", 0}, #line 3609 "effective_tld_names.gperf" {"y.bg", 0}, #line 1931 "effective_tld_names.gperf" {"mil.km", 0}, #line 2217 "effective_tld_names.gperf" {"nic.ar", 1}, #line 3386 "effective_tld_names.gperf" {"wi.us", 0}, #line 1979 "effective_tld_names.gperf" {"mod.gi", 0}, #line 238 "effective_tld_names.gperf" {"aurland.no", 0}, #line 1344 "effective_tld_names.gperf" {"ha.no", 0}, #line 27 "effective_tld_names.gperf" {"a.se", 0}, #line 3628 "effective_tld_names.gperf" {"z.bg", 0}, #line 2299 "effective_tld_names.gperf" {"o.bg", 0}, #line 1935 "effective_tld_names.gperf" {"mil.mg", 0}, #line 983 "effective_tld_names.gperf" {"fc.it", 0}, #line 363 "effective_tld_names.gperf" {"bo", 0}, #line 296 "effective_tld_names.gperf" {"bd", 2}, #line 2987 "effective_tld_names.gperf" {"spb.ru", 0}, #line 298 "effective_tld_names.gperf" {"be", 0}, #line 148 "effective_tld_names.gperf" {"and.museum", 0}, #line 1817 "effective_tld_names.gperf" {"m.se", 0}, #line 417 "effective_tld_names.gperf" {"by", 0}, #line 41 "effective_tld_names.gperf" {"ac.in", 0}, #line 702 "effective_tld_names.gperf" {"control.aero", 0}, #line 381 "effective_tld_names.gperf" {"br", 0}, #line 599 "effective_tld_names.gperf" {"com.bh", 0}, #line 431 "effective_tld_names.gperf" {"caa.aero", 0}, #line 2818 "effective_tld_names.gperf" {"samara.ru", 0}, #line 1249 "effective_tld_names.gperf" {"gov.ph", 0}, #line 2388 "effective_tld_names.gperf" {"org.im", 0}, #line 361 "effective_tld_names.gperf" {"bn", 2}, #line 2389 "effective_tld_names.gperf" {"org.in", 0}, #line 878 "effective_tld_names.gperf" {"edu.ph", 0}, #line 61 "effective_tld_names.gperf" {"ac.vn", 0}, #line 89 "effective_tld_names.gperf" {"agr.br", 0}, #line 2171 "effective_tld_names.gperf" {"net.ph", 0}, #line 1871 "effective_tld_names.gperf" {"med.br", 0}, #line 2232 "effective_tld_names.gperf" {"nm.cn", 0}, #line 1137 "effective_tld_names.gperf" {"gl", 0}, #line 1451 "effective_tld_names.gperf" {"il", 2}, #line 658 "effective_tld_names.gperf" {"com.ph", 0}, #line 2228 "effective_tld_names.gperf" {"nl", 0}, #line 405 "effective_tld_names.gperf" {"bs", 0}, #line 150 "effective_tld_names.gperf" {"andebu.no", 0}, #line 524 "effective_tld_names.gperf" {"cl", 0}, #line 407 "effective_tld_names.gperf" {"bt", 2}, #line 133 "effective_tld_names.gperf" {"ambulance.aero", 0}, #line 953 "effective_tld_names.gperf" {"estate.museum", 0}, #line 1222 "effective_tld_names.gperf" {"gov.jo", 0}, #line 851 "effective_tld_names.gperf" {"edu.jo", 0}, #line 2848 "effective_tld_names.gperf" {"sc.ug", 0}, #line 1435 "effective_tld_names.gperf" {"i.ph", 0}, #line 48 "effective_tld_names.gperf" {"ac.mw", 0}, #line 704 "effective_tld_names.gperf" {"coop", 0}, #line 3258 "effective_tld_names.gperf" {"ut.us", 0}, #line 3266 "effective_tld_names.gperf" {"uz", 0}, #line 2145 "effective_tld_names.gperf" {"net.jo", 0}, #line 1340 "effective_tld_names.gperf" {"gz.cn", 0}, #line 3608 "effective_tld_names.gperf" {"xz.cn", 0}, #line 1471 "effective_tld_names.gperf" {"inderoy.no", 0}, #line 2951 "effective_tld_names.gperf" {"snaase.no", 0}, #line 631 "effective_tld_names.gperf" {"com.jo", 0}, #line 1756 "effective_tld_names.gperf" {"li.it", 0}, #line 1746 "effective_tld_names.gperf" {"lel.br", 0}, #line 2236 "effective_tld_names.gperf" {"no.com", 0}, #line 1971 "effective_tld_names.gperf" {"mo.cn", 0}, #line 561 "effective_tld_names.gperf" {"co.me", 0}, #line 1938 "effective_tld_names.gperf" {"mil.pe", 0}, #line 1754 "effective_tld_names.gperf" {"lg.ua", 0}, #line 2312 "effective_tld_names.gperf" {"ok.us", 0}, #line 941 "effective_tld_names.gperf" {"environment.museum", 0}, #line 2805 "effective_tld_names.gperf" {"sa.it", 0}, #line 1877 "effective_tld_names.gperf" {"med.pl", 0}, #line 533 "effective_tld_names.gperf" {"cn.com", 0}, #line 2309 "effective_tld_names.gperf" {"og.ao", 0}, #line 999 "effective_tld_names.gperf" {"fi.it", 0}, #line 1116 "effective_tld_names.gperf" {"gen.in", 0}, #line 147 "effective_tld_names.gperf" {"ancona.it", 0}, #line 2911 "effective_tld_names.gperf" {"si.it", 0}, #line 1962 "effective_tld_names.gperf" {"mk", 0}, #line 163 "effective_tld_names.gperf" {"aq.it", 0}, #line 1007 "effective_tld_names.gperf" {"fin.tn", 0}, #line 1335 "effective_tld_names.gperf" {"gx.cn", 0}, #line 1314 "effective_tld_names.gperf" {"gs.oslo.no", 0}, #line 1875 "effective_tld_names.gperf" {"med.ly", 0}, #line 2425 "effective_tld_names.gperf" {"org.ph", 0}, #line 207 "effective_tld_names.gperf" {"asmatart.museum", 0}, #line 578 "effective_tld_names.gperf" {"co.vi", 0}, #line 2293 "effective_tld_names.gperf" {"nx.cn", 0}, #line 1219 "effective_tld_names.gperf" {"gov.is", 0}, #line 849 "effective_tld_names.gperf" {"edu.is", 0}, #line 1421 "effective_tld_names.gperf" {"hoylandet.no", 0}, #line 26 "effective_tld_names.gperf" {"a.bg", 0}, #line 2143 "effective_tld_names.gperf" {"net.is", 0}, #line 2886 "effective_tld_names.gperf" {"sel.no", 0}, #line 630 "effective_tld_names.gperf" {"com.is", 0}, #line 2327 "effective_tld_names.gperf" {"ontario.museum", 0}, #line 2394 "effective_tld_names.gperf" {"org.jo", 0}, #line 2188 "effective_tld_names.gperf" {"net.th", 0}, #line 1930 "effective_tld_names.gperf" {"mil.kg", 0}, #line 1727 "effective_tld_names.gperf" {"lavagis.no", 0}, #line 1816 "effective_tld_names.gperf" {"m.bg", 0}, #line 359 "effective_tld_names.gperf" {"bm", 0}, #line 1506 "effective_tld_names.gperf" {"int.is", 0}, #line 28 "effective_tld_names.gperf" {"aa.no", 0}, #line 1347 "effective_tld_names.gperf" {"hagebostad.no", 0}, #line 3000 "effective_tld_names.gperf" {"st.no", 0}, #line 1500 "effective_tld_names.gperf" {"insurance.aero", 0}, #line 587 "effective_tld_names.gperf" {"columbus.museum", 0}, #line 1914 "effective_tld_names.gperf" {"mil.ac", 0}, #line 3068 "effective_tld_names.gperf" {"syzran.ru", 0}, #line 523 "effective_tld_names.gperf" {"ck.ua", 0}, #line 1452 "effective_tld_names.gperf" {"il.us", 0}, #line 3245 "effective_tld_names.gperf" {"us.na", 0}, #line 2020 "effective_tld_names.gperf" {"mus.br", 0}, #line 914 "effective_tld_names.gperf" {"eid.no", 0}, #line 1214 "effective_tld_names.gperf" {"gov.ie", 0}, #line 961 "effective_tld_names.gperf" {"eu.com", 0}, #line 1426 "effective_tld_names.gperf" {"hu.com", 0}, #line 422 "effective_tld_names.gperf" {"bz", 0}, #line 975 "effective_tld_names.gperf" {"far.br", 0}, #line 919 "effective_tld_names.gperf" {"eigersund.no", 0}, #line 3215 "effective_tld_names.gperf" {"ua", 0}, #line 3217 "effective_tld_names.gperf" {"ud.it", 0}, #line 1343 "effective_tld_names.gperf" {"ha.cn", 0}, #line 3370 "effective_tld_names.gperf" {"war.museum", 0}, #line 2960 "effective_tld_names.gperf" {"software.aero", 0}, #line 1705 "effective_tld_names.gperf" {"l.se", 0}, #line 2985 "effective_tld_names.gperf" {"sp.it", 0}, #line 304 "effective_tld_names.gperf" {"beiarn.no", 0}, #line 1948 "effective_tld_names.gperf" {"mil.vc", 0}, #line 1872 "effective_tld_names.gperf" {"med.ec", 0}, #line 992 "effective_tld_names.gperf" {"fg.it", 0}, #line 1382 "effective_tld_names.gperf" {"hi.cn", 0}, #line 1919 "effective_tld_names.gperf" {"mil.br", 0}, #line 1736 "effective_tld_names.gperf" {"lebesby.no", 0}, #line 2850 "effective_tld_names.gperf" {"sch.ae", 0}, #line 1795 "effective_tld_names.gperf" {"ltd.gi", 0}, #line 2227 "effective_tld_names.gperf" {"nkz.ru", 0}, #line 177 "effective_tld_names.gperf" {"arezzo.it", 0}, #line 113 "effective_tld_names.gperf" {"al", 0}, #line 1937 "effective_tld_names.gperf" {"mil.no", 0}, #line 100 "effective_tld_names.gperf" {"aip.ee", 0}, #line 717 "effective_tld_names.gperf" {"county.museum", 0}, #line 2856 "effective_tld_names.gperf" {"sch.ly", 0}, #line 2392 "effective_tld_names.gperf" {"org.is", 0}, #line 2078 "effective_tld_names.gperf" {"nature.museum", 0}, #line 109 "effective_tld_names.gperf" {"ak.us", 0}, #line 1964 "effective_tld_names.gperf" {"ml", 2}, #line 972 "effective_tld_names.gperf" {"f.se", 0}, #line 1841 "effective_tld_names.gperf" {"mari-el.ru", 0}, #line 2799 "effective_tld_names.gperf" {"s.se", 0}, #line 934 "effective_tld_names.gperf" {"engine.aero", 0}, #line 2851 "effective_tld_names.gperf" {"sch.gg", 0}, #line 45 "effective_tld_names.gperf" {"ac.ma", 0}, #line 2218 "effective_tld_names.gperf" {"nic.im", 0}, #line 2219 "effective_tld_names.gperf" {"nic.in", 0}, #line 1936 "effective_tld_names.gperf" {"mil.my", 0}, #line 2332 "effective_tld_names.gperf" {"oppegard.no", 0}, #line 1920 "effective_tld_names.gperf" {"mil.by", 0}, #line 1039 "effective_tld_names.gperf" {"fm.no", 0}, #line 2698 "effective_tld_names.gperf" {"qsl.br", 0}, #line 167 "effective_tld_names.gperf" {"ar.com", 0}, #line 37 "effective_tld_names.gperf" {"ac.cn", 0}, #line 1940 "effective_tld_names.gperf" {"mil.pl", 0}, #line 548 "effective_tld_names.gperf" {"co.gg", 0}, #line 2802 "effective_tld_names.gperf" {"sa.cr", 0}, #line 1915 "effective_tld_names.gperf" {"mil.ae", 0}, #line 940 "effective_tld_names.gperf" {"entomology.museum", 0}, #line 1542 "effective_tld_names.gperf" {"iz.hr", 0}, #line 998 "effective_tld_names.gperf" {"fi.cr", 0}, #line 3362 "effective_tld_names.gperf" {"w.se", 0}, #line 134 "effective_tld_names.gperf" {"ambulance.museum", 0}, #line 1772 "effective_tld_names.gperf" {"ln.cn", 0}, #line 1221 "effective_tld_names.gperf" {"gov.je", 0}, #line 3221 "effective_tld_names.gperf" {"ug", 0}, #line 1040 "effective_tld_names.gperf" {"fnd.br", 0}, #line 2144 "effective_tld_names.gperf" {"net.je", 0}, #line 79 "effective_tld_names.gperf" {"aerobatic.aero", 0}, #line 2085 "effective_tld_names.gperf" {"navuotna.no", 0}, #line 1155 "effective_tld_names.gperf" {"go.tj", 0}, #line 3056 "effective_tld_names.gperf" {"svalbard.no", 0}, #line 1821 "effective_tld_names.gperf" {"mad.museum", 0}, #line 1125 "effective_tld_names.gperf" {"gh", 0}, #line 1771 "effective_tld_names.gperf" {"lk", 0}, #line 260 "effective_tld_names.gperf" {"ba", 0}, #line 364 "effective_tld_names.gperf" {"bo.it", 0}, #line 572 "effective_tld_names.gperf" {"co.tj", 0}, #line 3004 "effective_tld_names.gperf" {"stange.no", 0}, #line 467 "effective_tld_names.gperf" {"ch", 0}, #line 1873 "effective_tld_names.gperf" {"med.ee", 0}, #line 936 "effective_tld_names.gperf" {"england.museum", 0}, #line 1218 "effective_tld_names.gperf" {"gov.ir", 0}, #line 1404 "effective_tld_names.gperf" {"hobol.no", 0}, #line 2877 "effective_tld_names.gperf" {"sd.cn", 0}, #line 2142 "effective_tld_names.gperf" {"net.ir", 0}, #line 1310 "effective_tld_names.gperf" {"gs.nl.no", 0}, #line 323 "effective_tld_names.gperf" {"bi", 0}, #line 1430 "effective_tld_names.gperf" {"hurum.no", 0}, #line 383 "effective_tld_names.gperf" {"br.it", 0}, #line 2916 "effective_tld_names.gperf" {"siljan.no", 0}, #line 1209 "effective_tld_names.gperf" {"gov.gh", 0}, #line 2460 "effective_tld_names.gperf" {"orskog.no", 0}, #line 839 "effective_tld_names.gperf" {"edu.gh", 0}, #line 2349 "effective_tld_names.gperf" {"orenburg.ru", 0}, #line 362 "effective_tld_names.gperf" {"bn.it", 0}, #line 712 "effective_tld_names.gperf" {"corvette.museum", 0}, #line 1704 "effective_tld_names.gperf" {"l.bg", 0}, #line 1856 "effective_tld_names.gperf" {"matera.it", 0}, #line 618 "effective_tld_names.gperf" {"com.gh", 0}, #line 1313 "effective_tld_names.gperf" {"gs.ol.no", 0}, #line 116 "effective_tld_names.gperf" {"al.us", 0}, #line 2950 "effective_tld_names.gperf" {"sn.cn", 0}, #line 406 "effective_tld_names.gperf" {"bs.it", 0}, #line 525 "effective_tld_names.gperf" {"cl.it", 0}, #line 1023 "effective_tld_names.gperf" {"fk", 2}, #line 1148 "effective_tld_names.gperf" {"go.ci", 0}, #line 1469 "effective_tld_names.gperf" {"ind.in", 0}, #line 811 "effective_tld_names.gperf" {"ed.ci", 0}, #line 1963 "effective_tld_names.gperf" {"mk.ua", 0}, #line 1932 "effective_tld_names.gperf" {"mil.kr", 0}, #line 911 "effective_tld_names.gperf" {"egersund.no", 0}, #line 546 "effective_tld_names.gperf" {"co.ci", 0}, #line 2921 "effective_tld_names.gperf" {"sk", 0}, #line 1944 "effective_tld_names.gperf" {"mil.sy", 0}, #line 1923 "effective_tld_names.gperf" {"mil.ec", 0}, #line 1794 "effective_tld_names.gperf" {"ltd.co.im", 0}, #line 2980 "effective_tld_names.gperf" {"sos.pl", 0}, #line 1102 "effective_tld_names.gperf" {"gaular.no", 0}, #line 1846 "effective_tld_names.gperf" {"marker.no", 0}, #line 1924 "effective_tld_names.gperf" {"mil.ge", 0}, #line 2393 "effective_tld_names.gperf" {"org.je", 0}, #line 971 "effective_tld_names.gperf" {"f.bg", 0}, #line 2798 "effective_tld_names.gperf" {"s.bg", 0}, #line 62 "effective_tld_names.gperf" {"aca.pro", 0}, #line 226 "effective_tld_names.gperf" {"astrakhan.ru", 0}, #line 1942 "effective_tld_names.gperf" {"mil.rw", 0}, #line 99 "effective_tld_names.gperf" {"aid.pl", 0}, #line 3631 "effective_tld_names.gperf" {"za.com", 0}, #line 2335 "effective_tld_names.gperf" {"or.ci", 0}, #line 2391 "effective_tld_names.gperf" {"org.ir", 0}, #line 336 "effective_tld_names.gperf" {"bir.ru", 0}, #line 718 "effective_tld_names.gperf" {"cpa.pro", 0}, #line 320 "effective_tld_names.gperf" {"bg", 0}, #line 1333 "effective_tld_names.gperf" {"gw", 0}, #line 1444 "effective_tld_names.gperf" {"id.ly", 0}, #line 1472 "effective_tld_names.gperf" {"indian.museum", 0}, #line 1539 "effective_tld_names.gperf" {"iveland.no", 0}, #line 165 "effective_tld_names.gperf" {"aquila.it", 0}, #line 1311 "effective_tld_names.gperf" {"gs.nt.no", 0}, #line 970 "effective_tld_names.gperf" {"express.aero", 0}, #line 1196 "effective_tld_names.gperf" {"gov.cd", 0}, #line 2253 "effective_tld_names.gperf" {"nord-fron.no", 0}, #line 2306 "effective_tld_names.gperf" {"odo.br", 0}, #line 2379 "effective_tld_names.gperf" {"org.gh", 0}, #line 2977 "effective_tld_names.gperf" {"sorreisa.no", 0}, #line 3246 "effective_tld_names.gperf" {"usa.museum", 0}, #line 964 "effective_tld_names.gperf" {"evenes.no", 0}, #line 2040 "effective_tld_names.gperf" {"nacion.ar", 1}, #line 3361 "effective_tld_names.gperf" {"w.bg", 0}, #line 1315 "effective_tld_names.gperf" {"gs.rl.no", 0}, #line 907 "effective_tld_names.gperf" {"educator.aero", 0}, #line 2214 "effective_tld_names.gperf" {"nh.us", 0}, #line 1167 "effective_tld_names.gperf" {"gok.pk", 0}, #line 2693 "effective_tld_names.gperf" {"qc.ca", 0}, #line 2067 "effective_tld_names.gperf" {"narvik.no", 0}, #line 3650 "effective_tld_names.gperf" {"zw", 2}, #line 570 "effective_tld_names.gperf" {"co.sz", 0}, #line 1097 "effective_tld_names.gperf" {"gamvik.no", 0}, #line 1757 "effective_tld_names.gperf" {"lib.ee", 0}, #line 1845 "effective_tld_names.gperf" {"maritimo.museum", 0}, #line 1878 "effective_tld_names.gperf" {"med.pro", 0}, #line 2211 "effective_tld_names.gperf" {"ngo.lk", 0}, #line 1844 "effective_tld_names.gperf" {"maritime.museum", 0}, #line 46 "effective_tld_names.gperf" {"ac.me", 0}, #line 1018 "effective_tld_names.gperf" {"fitjar.no", 0}, #line 1274 "effective_tld_names.gperf" {"gov.ua", 0}, #line 2310 "effective_tld_names.gperf" {"oh.us", 0}, #line 900 "effective_tld_names.gperf" {"edu.ua", 0}, #line 1787 "effective_tld_names.gperf" {"louvre.museum", 0}, #line 719 "effective_tld_names.gperf" {"cq.cn", 0}, #line 1843 "effective_tld_names.gperf" {"marine.ru", 0}, #line 2195 "effective_tld_names.gperf" {"net.ua", 0}, #line 2940 "effective_tld_names.gperf" {"sl", 0}, #line 682 "effective_tld_names.gperf" {"com.ua", 0}, #line 423 "effective_tld_names.gperf" {"bz.it", 0}, #line 1101 "effective_tld_names.gperf" {"gateway.museum", 0}, #line 454 "effective_tld_names.gperf" {"catering.aero", 0}, #line 1947 "effective_tld_names.gperf" {"mil.tw", 0}, #line 1301 "effective_tld_names.gperf" {"gs.aa.no", 0}, #line 2691 "effective_tld_names.gperf" {"q.bg", 0}, #line 499 "effective_tld_names.gperf" {"cinema.museum", 0}, #line 1900 "effective_tld_names.gperf" {"mh", 0}, #line 3644 "effective_tld_names.gperf" {"zlg.br", 0}, #line 703 "effective_tld_names.gperf" {"convent.museum", 0}, #line 925 "effective_tld_names.gperf" {"elverum.no", 0}, #line 3624 "effective_tld_names.gperf" {"yosemite.museum", 0}, #line 2880 "effective_tld_names.gperf" {"se.com", 0}, #line 246 "effective_tld_names.gperf" {"automotive.museum", 0}, #line 1319 "effective_tld_names.gperf" {"gs.tm.no", 0}, #line 340 "effective_tld_names.gperf" {"biz", 0}, #line 1789 "effective_tld_names.gperf" {"loyalist.museum", 0}, #line 114 "effective_tld_names.gperf" {"al.it", 0}, #line 1359 "effective_tld_names.gperf" {"haram.no", 0}, #line 1262 "effective_tld_names.gperf" {"gov.sd", 0}, #line 1996 "effective_tld_names.gperf" {"mosreg.ru", 0}, #line 891 "effective_tld_names.gperf" {"edu.sd", 0}, #line 2846 "effective_tld_names.gperf" {"sc.cn", 0}, #line 2267 "effective_tld_names.gperf" {"notteroy.no", 0}, #line 1006 "effective_tld_names.gperf" {"fin.ec", 0}, #line 2183 "effective_tld_names.gperf" {"net.sd", 0}, #line 968 "effective_tld_names.gperf" {"exhibition.museum", 0}, #line 671 "effective_tld_names.gperf" {"com.sd", 0}, #line 213 "effective_tld_names.gperf" {"assisi.museum", 0}, #line 345 "effective_tld_names.gperf" {"biz.pk", 0}, #line 170 "effective_tld_names.gperf" {"arboretum.museum", 0}, #line 2276 "effective_tld_names.gperf" {"nsk.ru", 0}, #line 1865 "effective_tld_names.gperf" {"md.ci", 0}, #line 2261 "effective_tld_names.gperf" {"norilsk.ru", 0}, #line 1122 "effective_tld_names.gperf" {"gf", 0}, #line 1805 "effective_tld_names.gperf" {"lunner.no", 0}, #line 3064 "effective_tld_names.gperf" {"sx.cn", 0}, #line 1320 "effective_tld_names.gperf" {"gs.tr.no", 0}, #line 2208 "effective_tld_names.gperf" {"nf", 0}, #line 1431 "effective_tld_names.gperf" {"hvaler.no", 0}, #line 2451 "effective_tld_names.gperf" {"org.ua", 0}, #line 465 "effective_tld_names.gperf" {"cf", 0}, #line 1203 "effective_tld_names.gperf" {"gov.dm", 0}, #line 833 "effective_tld_names.gperf" {"edu.dm", 0}, #line 569 "effective_tld_names.gperf" {"co.st", 0}, #line 1994 "effective_tld_names.gperf" {"mosjoen.no", 0}, #line 926 "effective_tld_names.gperf" {"embroidery.museum", 0}, #line 1053 "effective_tld_names.gperf" {"fosnes.no", 0}, #line 2127 "effective_tld_names.gperf" {"net.dm", 0}, #line 1351 "effective_tld_names.gperf" {"hamar.no", 0}, #line 1517 "effective_tld_names.gperf" {"interactive.museum", 0}, #line 611 "effective_tld_names.gperf" {"com.dm", 0}, #line 2919 "effective_tld_names.gperf" {"siracusa.it", 0}, #line 1887 "effective_tld_names.gperf" {"medical.museum", 0}, #line 3619 "effective_tld_names.gperf" {"yk.ca", 0}, #line 1983 "effective_tld_names.gperf" {"modern.museum", 0}, #line 1950 "effective_tld_names.gperf" {"milano.it", 0}, #line 253 "effective_tld_names.gperf" {"aw", 0}, #line 1407 "effective_tld_names.gperf" {"hokksund.no", 0}, #line 545 "effective_tld_names.gperf" {"co.bw", 0}, #line 1024 "effective_tld_names.gperf" {"fl.us", 0}, #line 963 "effective_tld_names.gperf" {"evenassi.no", 0}, #line 250 "effective_tld_names.gperf" {"aviation.museum", 0}, #line 2029 "effective_tld_names.gperf" {"mw", 0}, #line 1060 "effective_tld_names.gperf" {"frankfurt.museum", 0}, #line 261 "effective_tld_names.gperf" {"ba.it", 0}, #line 2061 "effective_tld_names.gperf" {"nannestad.no", 0}, #line 232 "effective_tld_names.gperf" {"ato.br", 0}, #line 468 "effective_tld_names.gperf" {"ch.it", 0}, #line 2101 "effective_tld_names.gperf" {"nes.buskerud.no", 0}, #line 1770 "effective_tld_names.gperf" {"livorno.it", 0}, #line 2990 "effective_tld_names.gperf" {"spy.museum", 0}, #line 1428 "effective_tld_names.gperf" {"humanities.museum", 0}, #line 93 "effective_tld_names.gperf" {"agrinet.tn", 0}, #line 2438 "effective_tld_names.gperf" {"org.sd", 0}, #line 324 "effective_tld_names.gperf" {"bi.it", 0}, #line 2975 "effective_tld_names.gperf" {"sor-varanger.no", 0}, #line 3261 "effective_tld_names.gperf" {"utsira.no", 0}, #line 3214 "effective_tld_names.gperf" {"u.se", 0}, #line 727 "effective_tld_names.gperf" {"crimea.ua", 0}, #line 76 "effective_tld_names.gperf" {"aejrie.no", 0}, #line 2238 "effective_tld_names.gperf" {"nom.ad", 0}, #line 2924 "effective_tld_names.gperf" {"skanland.no", 0}, #line 2843 "effective_tld_names.gperf" {"savona.it", 0}, #line 2954 "effective_tld_names.gperf" {"snoasa.no", 0}, #line 1375 "effective_tld_names.gperf" {"hemne.no", 0}, #line 2979 "effective_tld_names.gperf" {"sorum.no", 0}, #line 1321 "effective_tld_names.gperf" {"gs.va.no", 0}, #line 349 "effective_tld_names.gperf" {"biz.tt", 0}, #line 2372 "effective_tld_names.gperf" {"org.dm", 0}, #line 1399 "effective_tld_names.gperf" {"hl.no", 0}, #line 201 "effective_tld_names.gperf" {"aseral.no", 0}, #line 2230 "effective_tld_names.gperf" {"nl.no", 0}, #line 2894 "effective_tld_names.gperf" {"settlers.museum", 0}, #line 2099 "effective_tld_names.gperf" {"nel.uk", 1}, #line 1810 "effective_tld_names.gperf" {"luzern.museum", 0}, #line 1372 "effective_tld_names.gperf" {"hellas.museum", 0}, #line 2084 "effective_tld_names.gperf" {"navigation.aero", 0}, #line 2229 "effective_tld_names.gperf" {"nl.ca", 0}, #line 58 "effective_tld_names.gperf" {"ac.tj", 0}, #line 342 "effective_tld_names.gperf" {"biz.ki", 0}, #line 3250 "effective_tld_names.gperf" {"usculture.museum", 0}, #line 2893 "effective_tld_names.gperf" {"settlement.museum", 0}, #line 1927 "effective_tld_names.gperf" {"mil.in", 0}, #line 199 "effective_tld_names.gperf" {"ascoli-piceno.it", 0}, #line 1747 "effective_tld_names.gperf" {"lenvik.no", 0}, #line 2316 "effective_tld_names.gperf" {"ol.no", 0}, #line 3015 "effective_tld_names.gperf" {"stavern.no", 0}, #line 419 "effective_tld_names.gperf" {"bygland.no", 0}, #line 2243 "effective_tld_names.gperf" {"nom.fr", 0}, #line 616 "effective_tld_names.gperf" {"com.fr", 0}, #line 1726 "effective_tld_names.gperf" {"latina.it", 0}, #line 1213 "effective_tld_names.gperf" {"gov.hk", 0}, #line 1447 "effective_tld_names.gperf" {"idv.hk", 0}, #line 844 "effective_tld_names.gperf" {"edu.hk", 0}, #line 845 "effective_tld_names.gperf" {"edu.hn", 0}, #line 321 "effective_tld_names.gperf" {"bg.it", 0}, #line 1110 "effective_tld_names.gperf" {"gdansk.pl", 0}, #line 846 "effective_tld_names.gperf" {"edu.ht", 0}, #line 3614 "effective_tld_names.gperf" {"yamal.ru", 0}, #line 2136 "effective_tld_names.gperf" {"net.hk", 0}, #line 2137 "effective_tld_names.gperf" {"net.hn", 0}, #line 2326 "effective_tld_names.gperf" {"online.museum", 0}, #line 39 "effective_tld_names.gperf" {"ac.gn", 0}, #line 2138 "effective_tld_names.gperf" {"net.ht", 0}, #line 408 "effective_tld_names.gperf" {"bu.no", 0}, #line 624 "effective_tld_names.gperf" {"com.hk", 0}, #line 625 "effective_tld_names.gperf" {"com.hn", 0}, #line 627 "effective_tld_names.gperf" {"com.ht", 0}, #line 164 "effective_tld_names.gperf" {"aquarium.museum", 0}, #line 83 "effective_tld_names.gperf" {"af", 0}, #line 91 "effective_tld_names.gperf" {"agriculture.museum", 0}, #line 2009 "effective_tld_names.gperf" {"msk.ru", 0}, #line 2899 "effective_tld_names.gperf" {"sh", 0}, #line 2854 "effective_tld_names.gperf" {"sch.jo", 0}, #line 36 "effective_tld_names.gperf" {"ac.ci", 0}, #line 1161 "effective_tld_names.gperf" {"gob.hn", 0}, #line 2062 "effective_tld_names.gperf" {"naples.it", 0}, #line 3224 "effective_tld_names.gperf" {"uk", 2}, #line 1397 "effective_tld_names.gperf" {"hk.cn", 0}, #line 1820 "effective_tld_names.gperf" {"macerata.it", 0}, #line 976 "effective_tld_names.gperf" {"fareast.ru", 0}, #line 248 "effective_tld_names.gperf" {"avellino.it", 0}, #line 3002 "effective_tld_names.gperf" {"stalbans.museum", 0}, #line 1432 "effective_tld_names.gperf" {"hyllestad.no", 0}, #line 259 "effective_tld_names.gperf" {"b.se", 0}, #line 1998 "effective_tld_names.gperf" {"mosvik.no", 0}, #line 350 "effective_tld_names.gperf" {"biz.vn", 0}, #line 1951 "effective_tld_names.gperf" {"military.museum", 0}, #line 2889 "effective_tld_names.gperf" {"seljord.no", 0}, #line 188 "effective_tld_names.gperf" {"artcenter.museum", 0}, #line 1982 "effective_tld_names.gperf" {"modena.it", 0}, #line 3213 "effective_tld_names.gperf" {"u.bg", 0}, #line 92 "effective_tld_names.gperf" {"agrigento.it", 0}, #line 1939 "effective_tld_names.gperf" {"mil.ph", 0}, #line 716 "effective_tld_names.gperf" {"countryestate.museum", 0}, #line 543 "effective_tld_names.gperf" {"co.ba", 0}, #line 1896 "effective_tld_names.gperf" {"mesaverde.museum", 0}, #line 1450 "effective_tld_names.gperf" {"if.ua", 0}, #line 1345 "effective_tld_names.gperf" {"habmer.no", 0}, #line 724 "effective_tld_names.gperf" {"creation.museum", 0}, #line 1929 "effective_tld_names.gperf" {"mil.jo", 0}, #line 2270 "effective_tld_names.gperf" {"novosibirsk.ru", 0}, #line 1984 "effective_tld_names.gperf" {"modum.no", 0}, #line 2384 "effective_tld_names.gperf" {"org.hk", 0}, #line 2385 "effective_tld_names.gperf" {"org.hn", 0}, #line 2801 "effective_tld_names.gperf" {"sa.com", 0}, #line 2959 "effective_tld_names.gperf" {"society.museum", 0}, #line 2386 "effective_tld_names.gperf" {"org.ht", 0}, #line 1529 "effective_tld_names.gperf" {"isa.us", 0}, #line 2694 "effective_tld_names.gperf" {"qc.com", 0}, #line 1287 "effective_tld_names.gperf" {"grane.no", 0}, #line 2928 "effective_tld_names.gperf" {"ski.museum", 0}, #line 1724 "effective_tld_names.gperf" {"larvik.no", 0}, #line 2033 "effective_tld_names.gperf" {"mytis.ru", 0}, #line 1953 "effective_tld_names.gperf" {"mincom.tn", 0}, #line 56 "effective_tld_names.gperf" {"ac.sz", 0}, #line 2220 "effective_tld_names.gperf" {"niepce.museum", 0}, #line 174 "effective_tld_names.gperf" {"ardal.no", 0}, #line 2308 "effective_tld_names.gperf" {"off.ai", 0}, #line 115 "effective_tld_names.gperf" {"al.no", 0}, #line 1567 "effective_tld_names.gperf" {"jo", 0}, #line 2226 "effective_tld_names.gperf" {"nj.us", 0}, #line 2277 "effective_tld_names.gperf" {"nsn.us", 0}, #line 1550 "effective_tld_names.gperf" {"je", 0}, #line 2387 "effective_tld_names.gperf" {"org.hu", 0}, #line 463 "effective_tld_names.gperf" {"center.museum", 0}, #line 104 "effective_tld_names.gperf" {"aircraft.aero", 0}, #line 1370 "effective_tld_names.gperf" {"health.vn", 0}, #line 295 "effective_tld_names.gperf" {"bc.ca", 0}, #line 1783 "effective_tld_names.gperf" {"loppa.no", 0}, #line 153 "effective_tld_names.gperf" {"anthro.museum", 0}, #line 2462 "effective_tld_names.gperf" {"oryol.ru", 0}, #line 1398 "effective_tld_names.gperf" {"hl.cn", 0}, #line 1363 "effective_tld_names.gperf" {"hasvik.no", 0}, #line 2929 "effective_tld_names.gperf" {"ski.no", 0}, #line 922 "effective_tld_names.gperf" {"elburg.museum", 0}, #line 2213 "effective_tld_names.gperf" {"ngo.pl", 0}, #line 526 "effective_tld_names.gperf" {"clinton.museum", 0}, #line 1833 "effective_tld_names.gperf" {"malvik.no", 0}, #line 1393 "effective_tld_names.gperf" {"hitra.no", 0}, #line 3019 "effective_tld_names.gperf" {"steigen.no", 0}, #line 449 "effective_tld_names.gperf" {"castle.museum", 0}, #line 200 "effective_tld_names.gperf" {"ascolipiceno.it", 0}, #line 2102 "effective_tld_names.gperf" {"nesna.no", 0}, #line 1954 "effective_tld_names.gperf" {"miners.museum", 0}, #line 413 "effective_tld_names.gperf" {"bus.museum", 0}, #line 2967 "effective_tld_names.gperf" {"somna.no", 0}, #line 519 "effective_tld_names.gperf" {"civilisation.museum", 0}, #line 549 "effective_tld_names.gperf" {"co.gy", 0}, #line 3059 "effective_tld_names.gperf" {"svizzera.museum", 0}, #line 3265 "effective_tld_names.gperf" {"uy.com", 0}, #line 1309 "effective_tld_names.gperf" {"gs.mr.no", 0}, #line 258 "effective_tld_names.gperf" {"b.bg", 0}, #line 88 "effective_tld_names.gperf" {"agents.aero", 0}, #line 2944 "effective_tld_names.gperf" {"slg.br", 0}, #line 184 "effective_tld_names.gperf" {"art.ht", 0}, #line 2836 "effective_tld_names.gperf" {"sarpsborg.no", 0}, #line 3025 "effective_tld_names.gperf" {"stokke.no", 0}, #line 82 "effective_tld_names.gperf" {"aeroport.fr", 0}, #line 2328 "effective_tld_names.gperf" {"openair.museum", 0}, #line 347 "effective_tld_names.gperf" {"biz.pr", 0}, #line 1413 "effective_tld_names.gperf" {"honefoss.no", 0}, #line 1815 "effective_tld_names.gperf" {"lyngen.no", 0}, #line 1827 "effective_tld_names.gperf" {"maintenance.aero", 0}, #line 1361 "effective_tld_names.gperf" {"harstad.no", 0}, #line 3244 "effective_tld_names.gperf" {"us.com", 0}, #line 1520 "effective_tld_names.gperf" {"ip6.arpa", 0}, #line 360 "effective_tld_names.gperf" {"bmd.br", 0}, #line 1737 "effective_tld_names.gperf" {"lebork.pl", 0}, #line 2992 "effective_tld_names.gperf" {"square.museum", 0}, #line 1743 "effective_tld_names.gperf" {"leirvik.no", 0}, #line 450 "effective_tld_names.gperf" {"castres.museum", 0}, #line 2943 "effective_tld_names.gperf" {"sld.pa", 0}, #line 53 "effective_tld_names.gperf" {"ac.ru", 0}, #line 2513 "effective_tld_names.gperf" {"pe", 0}, #line 131 "effective_tld_names.gperf" {"am.br", 0}, #line 2688 "effective_tld_names.gperf" {"py", 2}, #line 1415 "effective_tld_names.gperf" {"horology.museum", 0}, #line 1081 "effective_tld_names.gperf" {"fuoisku.no", 0}, #line 1154 "effective_tld_names.gperf" {"go.th", 0}, #line 2587 "effective_tld_names.gperf" {"pr", 0}, #line 571 "effective_tld_names.gperf" {"co.th", 0}, #line 346 "effective_tld_names.gperf" {"biz.pl", 0}, #line 2559 "effective_tld_names.gperf" {"pn", 0}, #line 3247 "effective_tld_names.gperf" {"usantiques.museum", 0}, #line 1297 "effective_tld_names.gperf" {"grozny.ru", 0}, #line 2953 "effective_tld_names.gperf" {"snillfjord.no", 0}, #line 2853 "effective_tld_names.gperf" {"sch.je", 0}, #line 1410 "effective_tld_names.gperf" {"holmestrand.no", 0}, #line 1235 "effective_tld_names.gperf" {"gov.lv", 0}, #line 863 "effective_tld_names.gperf" {"edu.lv", 0}, #line 974 "effective_tld_names.gperf" {"family.museum", 0}, #line 1417 "effective_tld_names.gperf" {"hotel.hu", 0}, #line 2672 "effective_tld_names.gperf" {"ps", 0}, #line 2156 "effective_tld_names.gperf" {"net.lv", 0}, #line 2083 "effective_tld_names.gperf" {"naval.museum", 0}, #line 2676 "effective_tld_names.gperf" {"pt", 0}, #line 1566 "effective_tld_names.gperf" {"jm", 2}, #line 1464 "effective_tld_names.gperf" {"in.th", 0}, #line 642 "effective_tld_names.gperf" {"com.lv", 0}, #line 1289 "effective_tld_names.gperf" {"gratangen.no", 0}, #line 107 "effective_tld_names.gperf" {"airport.aero", 0}, #line 2922 "effective_tld_names.gperf" {"sk.ca", 0}, #line 2852 "effective_tld_names.gperf" {"sch.ir", 0}, #line 459 "effective_tld_names.gperf" {"cci.fr", 0}, #line 1882 "effective_tld_names.gperf" {"medecin.km", 0}, #line 2081 "effective_tld_names.gperf" {"naumburg.museum", 0}, #line 2861 "effective_tld_names.gperf" {"schokoladen.museum", 0}, #line 2516 "effective_tld_names.gperf" {"pe.kr", 0}, #line 2343 "effective_tld_names.gperf" {"or.th", 0}, #line 562 "effective_tld_names.gperf" {"co.mu", 0}, #line 1025 "effective_tld_names.gperf" {"fla.no", 0}, #line 209 "effective_tld_names.gperf" {"asnes.no", 0}, #line 2518 "effective_tld_names.gperf" {"per.la", 0}, #line 1365 "effective_tld_names.gperf" {"haugesund.no", 0}, #line 1807 "effective_tld_names.gperf" {"luster.no", 0}, #line 382 "effective_tld_names.gperf" {"br.com", 0}, #line 2806 "effective_tld_names.gperf" {"safety.aero", 0}, #line 927 "effective_tld_names.gperf" {"emergency.aero", 0}, #line 1058 "effective_tld_names.gperf" {"frana.no", 0}, #line 1955 "effective_tld_names.gperf" {"mining.museum", 0}, #line 2315 "effective_tld_names.gperf" {"oksnes.no", 0}, #line 1000 "effective_tld_names.gperf" {"fie.ee", 0}, #line 1768 "effective_tld_names.gperf" {"living.museum", 0}, #line 1011 "effective_tld_names.gperf" {"finnoy.no", 0}, #line 2076 "effective_tld_names.gperf" {"naturalsciences.museum", 0}, #line 343 "effective_tld_names.gperf" {"biz.mw", 0}, #line 741 "effective_tld_names.gperf" {"cyber.museum", 0}, #line 1741 "effective_tld_names.gperf" {"leikanger.no", 0}, #line 2340 "effective_tld_names.gperf" {"or.mu", 0}, #line 1052 "effective_tld_names.gperf" {"forum.hu", 0}, #line 87 "effective_tld_names.gperf" {"agdenes.no", 0}, #line 2407 "effective_tld_names.gperf" {"org.lv", 0}, #line 1429 "effective_tld_names.gperf" {"hurdal.no", 0}, #line 986 "effective_tld_names.gperf" {"federation.aero", 0}, #line 996 "effective_tld_names.gperf" {"fhv.se", 0}, #line 2200 "effective_tld_names.gperf" {"neues.museum", 0}, #line 1272 "effective_tld_names.gperf" {"gov.tv", 0}, #line 531 "effective_tld_names.gperf" {"cmw.ru", 0}, #line 1925 "effective_tld_names.gperf" {"mil.gh", 0}, #line 2021 "effective_tld_names.gperf" {"museet.museum", 0}, #line 1049 "effective_tld_names.gperf" {"forsand.no", 0}, #line 2193 "effective_tld_names.gperf" {"net.tv", 0}, #line 1070 "effective_tld_names.gperf" {"froland.no", 0}, #line 301 "effective_tld_names.gperf" {"beauxarts.museum", 0}, #line 2589 "effective_tld_names.gperf" {"pr.us", 0}, #line 680 "effective_tld_names.gperf" {"com.tv", 0}, #line 96 "effective_tld_names.gperf" {"ah.no", 0}, #line 2942 "effective_tld_names.gperf" {"slattum.no", 0}, #line 2817 "effective_tld_names.gperf" {"salzburg.museum", 0}, #line 3248 "effective_tld_names.gperf" {"usarts.museum", 0}, #line 626 "effective_tld_names.gperf" {"com.hr", 0}, #line 281 "effective_tld_names.gperf" {"bar.pro", 0}, #line 2972 "effective_tld_names.gperf" {"sor-aurdal.no", 0}, #line 2858 "effective_tld_names.gperf" {"sch.uk", 2}, #line 1880 "effective_tld_names.gperf" {"med.sd", 0}, #line 462 "effective_tld_names.gperf" {"celtic.museum", 0}, #line 227 "effective_tld_names.gperf" {"astronomy.museum", 0}, #line 2456 "effective_tld_names.gperf" {"oristano.it", 0}, #line 2962 "effective_tld_names.gperf" {"sogne.no", 0}, #line 1063 "effective_tld_names.gperf" {"freemasonry.museum", 0}, #line 249 "effective_tld_names.gperf" {"averoy.no", 0}, #line 1019 "effective_tld_names.gperf" {"fj", 2}, #line 445 "effective_tld_names.gperf" {"cartoonart.museum", 0}, #line 2459 "effective_tld_names.gperf" {"orland.no", 0}, #line 1759 "effective_tld_names.gperf" {"lierne.no", 0}, #line 2863 "effective_tld_names.gperf" {"school.na", 0}, #line 2461 "effective_tld_names.gperf" {"orsta.no", 0}, #line 3052 "effective_tld_names.gperf" {"surrey.museum", 0}, #line 1889 "effective_tld_names.gperf" {"meeres.museum", 0}, #line 1543 "effective_tld_names.gperf" {"izhevsk.ru", 0}, #line 1010 "effective_tld_names.gperf" {"finland.museum", 0}, #line 456 "effective_tld_names.gperf" {"cbg.ru", 0}, #line 357 "effective_tld_names.gperf" {"bl.uk", 1}, #line 2860 "effective_tld_names.gperf" {"schoenbrunn.museum", 0}, #line 842 "effective_tld_names.gperf" {"edu.gp", 0}, #line 2814 "effective_tld_names.gperf" {"salerno.it", 0}, #line 2133 "effective_tld_names.gperf" {"net.gp", 0}, #line 270 "effective_tld_names.gperf" {"baikal.ru", 0}, #line 621 "effective_tld_names.gperf" {"com.gp", 0}, #line 2449 "effective_tld_names.gperf" {"org.tv", 0}, #line 1533 "effective_tld_names.gperf" {"isleofman.museum", 0}, #line 2019 "effective_tld_names.gperf" {"murmansk.ru", 0}, #line 3226 "effective_tld_names.gperf" {"uk.net", 0}, #line 2209 "effective_tld_names.gperf" {"nf.ca", 0}, #line 1038 "effective_tld_names.gperf" {"fm.br", 0}, #line 3395 "effective_tld_names.gperf" {"wolomin.pl", 0}, #line 1083 "effective_tld_names.gperf" {"furniture.museum", 0}, #line 149 "effective_tld_names.gperf" {"andasuolo.no", 0}, #line 3227 "effective_tld_names.gperf" {"ulan-ude.ru", 0}, #line 2274 "effective_tld_names.gperf" {"nrw.museum", 0}, #line 2307 "effective_tld_names.gperf" {"of.no", 0}, #line 1379 "effective_tld_names.gperf" {"heritage.museum", 0}, #line 582 "effective_tld_names.gperf" {"coldwar.museum", 0}, #line 3230 "effective_tld_names.gperf" {"ulm.museum", 0}, #line 372 "effective_tld_names.gperf" {"bolzano.it", 0}, #line 3254 "effective_tld_names.gperf" {"ushistory.museum", 0}, #line 444 "effective_tld_names.gperf" {"carrier.museum", 0}, #line 1573 "effective_tld_names.gperf" {"jor.br", 0}, #line 55 "effective_tld_names.gperf" {"ac.se", 0}, #line 1548 "effective_tld_names.gperf" {"jar.ru", 0}, #line 1579 "effective_tld_names.gperf" {"jp", 0}, #line 1358 "effective_tld_names.gperf" {"hapmir.no", 0}, #line 2680 "effective_tld_names.gperf" {"pub.sa", 0}, #line 2077 "effective_tld_names.gperf" {"naturbruksgymn.se", 0}, #line 2520 "effective_tld_names.gperf" {"per.sg", 0}, #line 482 "effective_tld_names.gperf" {"chieti.it", 0}, #line 293 "effective_tld_names.gperf" {"bauern.museum", 0}, #line 322 "effective_tld_names.gperf" {"bh", 0}, #line 2511 "effective_tld_names.gperf" {"pc.pl", 0}, #line 2486 "effective_tld_names.gperf" {"pa", 0}, #line 2562 "effective_tld_names.gperf" {"po.it", 0}, #line 2512 "effective_tld_names.gperf" {"pd.it", 0}, #line 2515 "effective_tld_names.gperf" {"pe.it", 0}, #line 1307 "effective_tld_names.gperf" {"gs.hm.no", 0}, #line 1369 "effective_tld_names.gperf" {"health.museum", 0}, #line 1385 "effective_tld_names.gperf" {"histoire.museum", 0}, #line 1749 "effective_tld_names.gperf" {"lesja.no", 0}, #line 2382 "effective_tld_names.gperf" {"org.gp", 0}, #line 583 "effective_tld_names.gperf" {"collection.museum", 0}, #line 2588 "effective_tld_names.gperf" {"pr.it", 0}, #line 1328 "effective_tld_names.gperf" {"gulen.no", 0}, #line 1414 "effective_tld_names.gperf" {"hornindal.no", 0}, #line 90 "effective_tld_names.gperf" {"agrar.hu", 0}, #line 2678 "effective_tld_names.gperf" {"ptz.ru", 0}, #line 1823 "effective_tld_names.gperf" {"magadan.ru", 0}, #line 2560 "effective_tld_names.gperf" {"pn.it", 0}, #line 71 "effective_tld_names.gperf" {"adult.ht", 0}, #line 1355 "effective_tld_names.gperf" {"hammerfest.no", 0}, #line 1306 "effective_tld_names.gperf" {"gs.hl.no", 0}, #line 1890 "effective_tld_names.gperf" {"meland.no", 0}, #line 356 "effective_tld_names.gperf" {"bl.it", 0}, #line 2961 "effective_tld_names.gperf" {"sogndal.no", 0}, #line 1348 "effective_tld_names.gperf" {"halden.no", 0}, #line 1147 "effective_tld_names.gperf" {"gniezno.pl", 0}, #line 2677 "effective_tld_names.gperf" {"pt.it", 0}, #line 2106 "effective_tld_names.gperf" {"nesset.no", 0}, #line 344 "effective_tld_names.gperf" {"biz.nr", 0}, #line 95 "effective_tld_names.gperf" {"ah.cn", 0}, #line 1065 "effective_tld_names.gperf" {"freiburg.museum", 0}, #line 1099 "effective_tld_names.gperf" {"gangwon.kr", 0}, #line 1786 "effective_tld_names.gperf" {"loten.no", 0}, #line 1874 "effective_tld_names.gperf" {"med.ht", 0}, #line 313 "effective_tld_names.gperf" {"bergen.no", 0}, #line 1143 "effective_tld_names.gperf" {"gloppen.no", 0}, #line 3034 "effective_tld_names.gperf" {"strand.no", 0}, #line 2812 "effective_tld_names.gperf" {"salat.no", 0}, #line 331 "effective_tld_names.gperf" {"bievat.no", 0}, #line 3066 "effective_tld_names.gperf" {"sydney.museum", 0}, #line 2888 "effective_tld_names.gperf" {"selje.no", 0}, #line 959 "effective_tld_names.gperf" {"etnedal.no", 0}, #line 455 "effective_tld_names.gperf" {"cb.it", 0}, #line 2882 "effective_tld_names.gperf" {"seaport.museum", 0}, #line 1774 "effective_tld_names.gperf" {"loabat.no", 0}, #line 2819 "effective_tld_names.gperf" {"samnanger.no", 0}, #line 471 "effective_tld_names.gperf" {"charter.aero", 0}, #line 57 "effective_tld_names.gperf" {"ac.th", 0}, #line 2679 "effective_tld_names.gperf" {"pu.it", 0}, #line 416 "effective_tld_names.gperf" {"bw", 0}, #line 2529 "effective_tld_names.gperf" {"pg", 2}, #line 1748 "effective_tld_names.gperf" {"lerdal.no", 0}, #line 2519 "effective_tld_names.gperf" {"per.nf", 0}, #line 2480 "effective_tld_names.gperf" {"oxford.museum", 0}, #line 2583 "effective_tld_names.gperf" {"pp.az", 0}, #line 1131 "effective_tld_names.gperf" {"giske.no", 0}, #line 1096 "effective_tld_names.gperf" {"games.hu", 0}, #line 35 "effective_tld_names.gperf" {"ac.be", 0}, #line 1467 "effective_tld_names.gperf" {"incheon.kr", 0}, #line 2862 "effective_tld_names.gperf" {"school.museum", 0}, #line 132 "effective_tld_names.gperf" {"amber.museum", 0}, #line 3013 "effective_tld_names.gperf" {"station.museum", 0}, #line 208 "effective_tld_names.gperf" {"asn.lv", 0}, #line 2673 "effective_tld_names.gperf" {"psc.br", 0}, #line 2489 "effective_tld_names.gperf" {"pa.us", 0}, #line 158 "effective_tld_names.gperf" {"aomori.jp", 2}, #line 2685 "effective_tld_names.gperf" {"pv.it", 0}, #line 3014 "effective_tld_names.gperf" {"stavanger.no", 0}, #line 2212 "effective_tld_names.gperf" {"ngo.ph", 0}, #line 274 "effective_tld_names.gperf" {"balestrand.no", 0}, #line 2281 "effective_tld_names.gperf" {"nt.edu.au", 0}, #line 700 "effective_tld_names.gperf" {"contemporary.museum", 0}, #line 47 "effective_tld_names.gperf" {"ac.mu", 0}, #line 309 "effective_tld_names.gperf" {"benevento.it", 0}, #line 1730 "effective_tld_names.gperf" {"lb", 0}, #line 379 "effective_tld_names.gperf" {"botany.museum", 0}, #line 2331 "effective_tld_names.gperf" {"oppdal.no", 0}, #line 1891 "effective_tld_names.gperf" {"meldal.no", 0}, #line 1999 "effective_tld_names.gperf" {"motorcycle.museum", 0}, #line 2835 "effective_tld_names.gperf" {"saratov.ru", 0}, #line 550 "effective_tld_names.gperf" {"co.hu", 0}, #line 127 "effective_tld_names.gperf" {"alto-adige.it", 0}, #line 2690 "effective_tld_names.gperf" {"pz.it", 0}, #line 2923 "effective_tld_names.gperf" {"skanit.no", 0}, #line 985 "effective_tld_names.gperf" {"fed.us", 0}, #line 1457 "effective_tld_names.gperf" {"imageandsound.museum", 0}, #line 241 "effective_tld_names.gperf" {"austin.museum", 0}, #line 1580 "effective_tld_names.gperf" {"jpn.com", 0}, #line 399 "effective_tld_names.gperf" {"brunel.museum", 0}, #line 242 "effective_tld_names.gperf" {"australia.museum", 0}, #line 544 "effective_tld_names.gperf" {"co.bi", 0}, #line 1710 "effective_tld_names.gperf" {"labor.museum", 0}, #line 2831 "effective_tld_names.gperf" {"santacruz.museum", 0}, #line 433 "effective_tld_names.gperf" {"cagliari.it", 0}, #line 1356 "effective_tld_names.gperf" {"handson.museum", 0}, #line 2510 "effective_tld_names.gperf" {"pc.it", 0}, #line 2022 "effective_tld_names.gperf" {"museum", 0}, #line 2844 "effective_tld_names.gperf" {"sb", 0}, #line 287 "effective_tld_names.gperf" {"barum.no", 0}, #line 1092 "effective_tld_names.gperf" {"gaivuotna.no", 0}, #line 2483 "effective_tld_names.gperf" {"oystre-slidre.no", 0}, #line 1926 "effective_tld_names.gperf" {"mil.hn", 0}, #line 723 "effective_tld_names.gperf" {"cranbrook.museum", 0}, #line 987 "effective_tld_names.gperf" {"fedje.no", 0}, #line 1105 "effective_tld_names.gperf" {"gb.net", 0}, #line 1902 "effective_tld_names.gperf" {"mi.th", 0}, #line 2674 "effective_tld_names.gperf" {"psi.br", 0}, #line 967 "effective_tld_names.gperf" {"exeter.museum", 0}, #line 1974 "effective_tld_names.gperf" {"moareke.no", 0}, #line 3241 "effective_tld_names.gperf" {"uri.arpa", 0}, #line 2097 "effective_tld_names.gperf" {"nebraska.museum", 0}, #line 1848 "effective_tld_names.gperf" {"marnardal.no", 0}, #line 2023 "effective_tld_names.gperf" {"museum.no", 0}, #line 2334 "effective_tld_names.gperf" {"or.bi", 0}, #line 319 "effective_tld_names.gperf" {"bf", 0}, #line 2065 "effective_tld_names.gperf" {"naroy.no", 0}, #line 1047 "effective_tld_names.gperf" {"forli-cesena.it", 0}, #line 1881 "effective_tld_names.gperf" {"medecin.fr", 0}, #line 1293 "effective_tld_names.gperf" {"grong.no", 0}, #line 191 "effective_tld_names.gperf" {"artgallery.museum", 0}, #line 2256 "effective_tld_names.gperf" {"nordkapp.no", 0}, #line 2592 "effective_tld_names.gperf" {"prd.km", 0}, #line 786 "effective_tld_names.gperf" {"do", 2}, #line 1767 "effective_tld_names.gperf" {"lipetsk.ru", 0}, #line 2966 "effective_tld_names.gperf" {"solund.no", 0}, #line 759 "effective_tld_names.gperf" {"de", 0}, #line 3048 "effective_tld_names.gperf" {"sunndal.no", 0}, #line 3408 "effective_tld_names.gperf" {"xj.cn", 0}, #line 1061 "effective_tld_names.gperf" {"franziskaner.museum", 0}, #line 1093 "effective_tld_names.gperf" {"gallery.museum", 0}, #line 2027 "effective_tld_names.gperf" {"music.museum", 0}, #line 2875 "effective_tld_names.gperf" {"scotland.museum", 0}, #line 2059 "effective_tld_names.gperf" {"namsos.no", 0}, #line 67 "effective_tld_names.gperf" {"act.gov.au", 0}, #line 2593 "effective_tld_names.gperf" {"prd.mg", 0}, #line 2488 "effective_tld_names.gperf" {"pa.it", 0}, #line 2024 "effective_tld_names.gperf" {"museum.tt", 0}, #line 3643 "effective_tld_names.gperf" {"zj.cn", 0}, #line 3242 "effective_tld_names.gperf" {"urn.arpa", 0}, #line 994 "effective_tld_names.gperf" {"fhs.no", 0}, #line 1312 "effective_tld_names.gperf" {"gs.of.no", 0}, #line 2900 "effective_tld_names.gperf" {"sh.cn", 0}, #line 956 "effective_tld_names.gperf" {"ethnology.museum", 0}, #line 1420 "effective_tld_names.gperf" {"hoyanger.no", 0}, #line 3383 "effective_tld_names.gperf" {"western.museum", 0}, #line 1172 "effective_tld_names.gperf" {"gorizia.it", 0}, #line 1008 "effective_tld_names.gperf" {"fineart.museum", 0}, #line 1750 "effective_tld_names.gperf" {"levanger.no", 0}, #line 2540 "effective_tld_names.gperf" {"pi.it", 0}, #line 1802 "effective_tld_names.gperf" {"lugansk.ua", 0}, #line 982 "effective_tld_names.gperf" {"fauske.no", 0}, #line 2105 "effective_tld_names.gperf" {"nesseby.no", 0}, #line 2973 "effective_tld_names.gperf" {"sor-fron.no", 0}, #line 434 "effective_tld_names.gperf" {"cahcesuolo.no", 0}, #line 1418 "effective_tld_names.gperf" {"hotel.lk", 0}, #line 1100 "effective_tld_names.gperf" {"garden.museum", 0}, #line 396 "effective_tld_names.gperf" {"bronnoy.no", 0}, #line 176 "effective_tld_names.gperf" {"arendal.no", 0}, #line 2514 "effective_tld_names.gperf" {"pe.ca", 0}, #line 2305 "effective_tld_names.gperf" {"odessa.ua", 0}, #line 1884 "effective_tld_names.gperf" {"media.hu", 0}, #line 3020 "effective_tld_names.gperf" {"steinkjer.no", 0}, #line 1547 "effective_tld_names.gperf" {"jan-mayen.no", 0}, #line 1885 "effective_tld_names.gperf" {"media.museum", 0}, #line 155 "effective_tld_names.gperf" {"antiques.museum", 0}, #line 3016 "effective_tld_names.gperf" {"stavropol.ru", 0}, #line 1009 "effective_tld_names.gperf" {"finearts.museum", 0}, #line 1339 "effective_tld_names.gperf" {"gyeongnam.kr", 0}, #line 244 "effective_tld_names.gperf" {"author.aero", 0}, #line 2897 "effective_tld_names.gperf" {"sf.no", 0}, #line 1764 "effective_tld_names.gperf" {"lindas.no", 0}, #line 951 "effective_tld_names.gperf" {"essex.museum", 0}, #line 3006 "effective_tld_names.gperf" {"stargard.pl", 0}, #line 1859 "effective_tld_names.gperf" {"mazury.pl", 0}, #line 2017 "effective_tld_names.gperf" {"muncie.museum", 0}, #line 312 "effective_tld_names.gperf" {"bergbau.museum", 0}, #line 3037 "effective_tld_names.gperf" {"student.aero", 0}, #line 2254 "effective_tld_names.gperf" {"nord-odal.no", 0}, #line 1893 "effective_tld_names.gperf" {"meloy.no", 0}, #line 402 "effective_tld_names.gperf" {"bruxelles.museum", 0}, #line 1051 "effective_tld_names.gperf" {"fortworth.museum", 0}, #line 2686 "effective_tld_names.gperf" {"pvt.ge", 0}, #line 351 "effective_tld_names.gperf" {"bj", 0}, #line 1835 "effective_tld_names.gperf" {"mandal.no", 0}, #line 335 "effective_tld_names.gperf" {"bio.br", 0}, #line 761 "effective_tld_names.gperf" {"de.us", 0}, #line 1722 "effective_tld_names.gperf" {"lardal.no", 0}, #line 2695 "effective_tld_names.gperf" {"qh.cn", 0}, #line 1267 "effective_tld_names.gperf" {"gov.tj", 0}, #line 2530 "effective_tld_names.gperf" {"pg.it", 0}, #line 441 "effective_tld_names.gperf" {"canada.museum", 0}, #line 896 "effective_tld_names.gperf" {"edu.tj", 0}, #line 2047 "effective_tld_names.gperf" {"namdalseid.no", 0}, #line 2189 "effective_tld_names.gperf" {"net.tj", 0}, #line 2086 "effective_tld_names.gperf" {"nb.ca", 0}, #line 1995 "effective_tld_names.gperf" {"moskenes.no", 0}, #line 676 "effective_tld_names.gperf" {"com.tj", 0}, #line 782 "effective_tld_names.gperf" {"dm", 0}, #line 1042 "effective_tld_names.gperf" {"foggia.it", 0}, #line 1806 "effective_tld_names.gperf" {"luroy.no", 0}, #line 1475 "effective_tld_names.gperf" {"indianmarket.museum", 0}, #line 1513 "effective_tld_names.gperf" {"int.tj", 0}, #line 1956 "effective_tld_names.gperf" {"minnesota.museum", 0}, #line 1354 "effective_tld_names.gperf" {"hammarfeasta.no", 0}, #line 1322 "effective_tld_names.gperf" {"gs.vf.no", 0}, #line 1291 "effective_tld_names.gperf" {"greta.fr", 0}, #line 123 "effective_tld_names.gperf" {"algard.no", 0}, #line 800 "effective_tld_names.gperf" {"dz", 0}, #line 448 "effective_tld_names.gperf" {"casino.hu", 0}, #line 805 "effective_tld_names.gperf" {"eastafrica.museum", 0}, #line 2485 "effective_tld_names.gperf" {"p.se", 0}, #line 1581 "effective_tld_names.gperf" {"js.cn", 0}, #line 1454 "effective_tld_names.gperf" {"illustration.museum", 0}, #line 2347 "effective_tld_names.gperf" {"oregon.museum", 0}, #line 3017 "effective_tld_names.gperf" {"steam.museum", 0}, #line 1378 "effective_tld_names.gperf" {"herad.no", 0}, #line 944 "effective_tld_names.gperf" {"equipment.aero", 0}, #line 2649 "effective_tld_names.gperf" {"pri.ee", 0}, #line 2920 "effective_tld_names.gperf" {"sirdal.no", 0}, #line 2969 "effective_tld_names.gperf" {"sondrio.it", 0}, #line 476 "effective_tld_names.gperf" {"cherkassy.ua", 0}, #line 2066 "effective_tld_names.gperf" {"narviika.no", 0}, #line 1544 "effective_tld_names.gperf" {"j.bg", 0}, #line 1934 "effective_tld_names.gperf" {"mil.lv", 0}, #line 1586 "effective_tld_names.gperf" {"jur.pro", 0}, #line 1411 "effective_tld_names.gperf" {"holtalen.no", 0}, #line 329 "effective_tld_names.gperf" {"biella.it", 0}, #line 378 "effective_tld_names.gperf" {"botanicgarden.museum", 0}, #line 1111 "effective_tld_names.gperf" {"gdynia.pl", 0}, #line 3044 "effective_tld_names.gperf" {"suldal.no", 0}, #line 2445 "effective_tld_names.gperf" {"org.tj", 0}, #line 1587 "effective_tld_names.gperf" {"jus.br", 0}, #line 1317 "effective_tld_names.gperf" {"gs.st.no", 0}, #line 1391 "effective_tld_names.gperf" {"history.museum", 0}, #line 3225 "effective_tld_names.gperf" {"uk.com", 0}, #line 66 "effective_tld_names.gperf" {"act.edu.au", 0}, #line 397 "effective_tld_names.gperf" {"bronnoysund.no", 0}, #line 701 "effective_tld_names.gperf" {"contemporaryart.museum", 0}, #line 2586 "effective_tld_names.gperf" {"ppg.br", 0}, #line 935 "effective_tld_names.gperf" {"engineer.aero", 0}, #line 1723 "effective_tld_names.gperf" {"larsson.museum", 0}, #line 2915 "effective_tld_names.gperf" {"sigdal.no", 0}, #line 1003 "effective_tld_names.gperf" {"filatelia.museum", 0}, #line 1784 "effective_tld_names.gperf" {"lorenskog.no", 0}, #line 1993 "effective_tld_names.gperf" {"moscow.museum", 0}, #line 722 "effective_tld_names.gperf" {"crafts.museum", 0}, #line 979 "effective_tld_names.gperf" {"farmers.museum", 0}, #line 2650 "effective_tld_names.gperf" {"principe.st", 0}, #line 1050 "effective_tld_names.gperf" {"fortmissoula.museum", 0}, #line 783 "effective_tld_names.gperf" {"dn.ua", 0}, #line 297 "effective_tld_names.gperf" {"bd.se", 0}, #line 793 "effective_tld_names.gperf" {"dr.na", 0}, #line 520 "effective_tld_names.gperf" {"civilization.museum", 0}, #line 151 "effective_tld_names.gperf" {"andoy.no", 0}, #line 2933 "effective_tld_names.gperf" {"skjak.no", 0}, #line 1769 "effective_tld_names.gperf" {"livinghistory.museum", 0}, #line 2549 "effective_tld_names.gperf" {"pk", 0}, #line 2016 "effective_tld_names.gperf" {"mulhouse.museum", 0}, #line 2883 "effective_tld_names.gperf" {"sebastopol.ua", 0}, #line 3634 "effective_tld_names.gperf" {"zachpomor.pl", 0}, #line 375 "effective_tld_names.gperf" {"boston.museum", 0}, #line 2252 "effective_tld_names.gperf" {"nord-aurdal.no", 0}, #line 2231 "effective_tld_names.gperf" {"nls.uk", 1}, #line 272 "effective_tld_names.gperf" {"balat.no", 0}, #line 2577 "effective_tld_names.gperf" {"portland.museum", 0}, #line 316 "effective_tld_names.gperf" {"berlin.museum", 0}, #line 3260 "effective_tld_names.gperf" {"utazas.hu", 0}, #line 2323 "effective_tld_names.gperf" {"omasvuotna.no", 0}, #line 30 "effective_tld_names.gperf" {"ab.ca", 0}, #line 2484 "effective_tld_names.gperf" {"p.bg", 0}, #line 923 "effective_tld_names.gperf" {"elk.pl", 0}, #line 1367 "effective_tld_names.gperf" {"hb.cn", 0}, #line 2041 "effective_tld_names.gperf" {"nagano.jp", 2}, #line 311 "effective_tld_names.gperf" {"bergamo.it", 0}, #line 1044 "effective_tld_names.gperf" {"folldal.no", 0}, #line 300 "effective_tld_names.gperf" {"beardu.no", 0}, #line 916 "effective_tld_names.gperf" {"eidsberg.no", 0}, #line 1860 "effective_tld_names.gperf" {"mb.ca", 0}, #line 757 "effective_tld_names.gperf" {"dc.us", 0}, #line 2467 "effective_tld_names.gperf" {"oskol.ru", 0}, #line 3058 "effective_tld_names.gperf" {"svelvik.no", 0}, #line 1765 "effective_tld_names.gperf" {"lindesnes.no", 0}, #line 2074 "effective_tld_names.gperf" {"naturalhistory.museum", 0}, #line 758 "effective_tld_names.gperf" {"ddr.museum", 0}, #line 1292 "effective_tld_names.gperf" {"grimstad.no", 0}, #line 1525 "effective_tld_names.gperf" {"irkutsk.ru", 0}, #line 1728 "effective_tld_names.gperf" {"lavangen.no", 0}, #line 141 "effective_tld_names.gperf" {"amsterdam.museum", 0}, #line 2913 "effective_tld_names.gperf" {"siellak.no", 0}, #line 1556 "effective_tld_names.gperf" {"jerusalem.museum", 0}, #line 1576 "effective_tld_names.gperf" {"journal.aero", 0}, #line 1045 "effective_tld_names.gperf" {"force.museum", 0}, #line 1588 "effective_tld_names.gperf" {"jx.cn", 0}, #line 2018 "effective_tld_names.gperf" {"muosat.no", 0}, #line 1825 "effective_tld_names.gperf" {"magnitka.ru", 0}, #line 1119 "effective_tld_names.gperf" {"geology.museum", 0}, #line 2656 "effective_tld_names.gperf" {"pro", 0}, #line 2808 "effective_tld_names.gperf" {"saintlouis.museum", 0}, #line 2465 "effective_tld_names.gperf" {"osaka.jp", 2}, #line 500 "effective_tld_names.gperf" {"circus.museum", 0}, #line 437 "effective_tld_names.gperf" {"cambridge.museum", 0}, #line 1305 "effective_tld_names.gperf" {"gs.fm.no", 0}, #line 1302 "effective_tld_names.gperf" {"gs.ah.no", 0}, #line 1763 "effective_tld_names.gperf" {"lincoln.museum", 0}, #line 2550 "effective_tld_names.gperf" {"pl", 0}, #line 1171 "effective_tld_names.gperf" {"gorge.museum", 0}, #line 3021 "effective_tld_names.gperf" {"stjohn.museum", 0}, #line 3647 "effective_tld_names.gperf" {"zoology.museum", 0}, #line 905 "effective_tld_names.gperf" {"education.museum", 0}, #line 768 "effective_tld_names.gperf" {"dep.no", 0}, #line 1459 "effective_tld_names.gperf" {"imperia.it", 0}, #line 2825 "effective_tld_names.gperf" {"sandnes.no", 0}, #line 1114 "effective_tld_names.gperf" {"geelvinck.museum", 0}, #line 3398 "effective_tld_names.gperf" {"workshop.museum", 0}, #line 1360 "effective_tld_names.gperf" {"hareid.no", 0}, #line 586 "effective_tld_names.gperf" {"columbia.museum", 0}, #line 3010 "effective_tld_names.gperf" {"state.museum", 0}, #line 204 "effective_tld_names.gperf" {"askim.no", 0}, #line 1066 "effective_tld_names.gperf" {"freight.aero", 0}, #line 2257 "effective_tld_names.gperf" {"nordre-land.no", 0}, #line 3050 "effective_tld_names.gperf" {"surgut.ru", 0}, #line 2813 "effective_tld_names.gperf" {"salem.museum", 0}, #line 1020 "effective_tld_names.gperf" {"fj.cn", 0}, #line 432 "effective_tld_names.gperf" {"cadaques.museum", 0}, #line 1495 "effective_tld_names.gperf" {"info.tn", 0}, #line 494 "effective_tld_names.gperf" {"chuvashia.ru", 0}, #line 3237 "effective_tld_names.gperf" {"university.museum", 0}, #line 294 "effective_tld_names.gperf" {"bb", 0}, #line 1716 "effective_tld_names.gperf" {"lancashire.museum", 0}, #line 3042 "effective_tld_names.gperf" {"suisse.museum", 0}, #line 1779 "effective_tld_names.gperf" {"logistics.aero", 0}, #line 1546 "effective_tld_names.gperf" {"jamison.museum", 0}, #line 1801 "effective_tld_names.gperf" {"lucerne.museum", 0}, #line 1284 "effective_tld_names.gperf" {"grajewo.pl", 0}, #line 1346 "effective_tld_names.gperf" {"hadsel.no", 0}, #line 404 "effective_tld_names.gperf" {"bryne.no", 0}, #line 1059 "effective_tld_names.gperf" {"francaise.museum", 0}, #line 1489 "effective_tld_names.gperf" {"info.nr", 0}, #line 3071 "effective_tld_names.gperf" {"szczytno.pl", 0}, #line 63 "effective_tld_names.gperf" {"academy.museum", 0}, #line 2060 "effective_tld_names.gperf" {"namsskogan.no", 0}, #line 189 "effective_tld_names.gperf" {"artdeco.museum", 0}, #line 2945 "effective_tld_names.gperf" {"slupsk.pl", 0}, #line 206 "effective_tld_names.gperf" {"askvoll.no", 0}, #line 1782 "effective_tld_names.gperf" {"london.museum", 0}, #line 1073 "effective_tld_names.gperf" {"frosta.no", 0}, #line 2815 "effective_tld_names.gperf" {"saltdal.no", 0}, #line 3220 "effective_tld_names.gperf" {"udmurtia.ru", 0}, #line 175 "effective_tld_names.gperf" {"aremark.no", 0}, #line 111 "effective_tld_names.gperf" {"aknoluokta.no", 0}, #line 1830 "effective_tld_names.gperf" {"mallorca.museum", 0}, #line 691 "effective_tld_names.gperf" {"como.it", 0}, #line 1349 "effective_tld_names.gperf" {"halloffame.museum", 0}, #line 1104 "effective_tld_names.gperf" {"gb.com", 0}, #line 2255 "effective_tld_names.gperf" {"norddal.no", 0}, #line 2499 "effective_tld_names.gperf" {"panama.museum", 0}, #line 81 "effective_tld_names.gperf" {"aerodrome.aero", 0}, #line 1440 "effective_tld_names.gperf" {"icnet.uk", 1}, #line 2663 "effective_tld_names.gperf" {"pro.tt", 0}, #line 2495 "effective_tld_names.gperf" {"palana.ru", 0}, #line 1892 "effective_tld_names.gperf" {"melhus.no", 0}, #line 1496 "effective_tld_names.gperf" {"info.tt", 0}, #line 3376 "effective_tld_names.gperf" {"waw.pl", 0}, #line 2925 "effective_tld_names.gperf" {"skaun.no", 0}, #line 1178 "effective_tld_names.gperf" {"gouv.km", 0}, #line 1055 "effective_tld_names.gperf" {"foundation.museum", 0}, #line 966 "effective_tld_names.gperf" {"exchange.aero", 0}, #line 2803 "effective_tld_names.gperf" {"sa.edu.au", 0}, #line 498 "effective_tld_names.gperf" {"cincinnati.museum", 0}, #line 395 "effective_tld_names.gperf" {"broker.aero", 0}, #line 1762 "effective_tld_names.gperf" {"limanowa.pl", 0}, #line 2291 "effective_tld_names.gperf" {"nuremberg.museum", 0}, #line 3368 "effective_tld_names.gperf" {"wales.museum", 0}, #line 1176 "effective_tld_names.gperf" {"gouv.fr", 0}, #line 1531 "effective_tld_names.gperf" {"ishikawa.jp", 2}, #line 2215 "effective_tld_names.gperf" {"nhs.uk", 1}, #line 1371 "effective_tld_names.gperf" {"heimatunduhren.museum", 0}, #line 3057 "effective_tld_names.gperf" {"sveio.no", 0}, #line 181 "effective_tld_names.gperf" {"arq.br", 0}, #line 403 "effective_tld_names.gperf" {"bryansk.ru", 0}, #line 2482 "effective_tld_names.gperf" {"oygarden.no", 0}, #line 452 "effective_tld_names.gperf" {"catania.it", 0}, #line 280 "effective_tld_names.gperf" {"bamble.no", 0}, #line 1711 "effective_tld_names.gperf" {"labour.museum", 0}, #line 1778 "effective_tld_names.gperf" {"lodingen.no", 0}, #line 3363 "effective_tld_names.gperf" {"wa.edu.au", 0}, #line 2912 "effective_tld_names.gperf" {"sibenik.museum", 0}, #line 1852 "effective_tld_names.gperf" {"masoy.no", 0}, #line 129 "effective_tld_names.gperf" {"alvdal.no", 0}, #line 2025 "effective_tld_names.gperf" {"museumcenter.museum", 0}, #line 373 "effective_tld_names.gperf" {"bomlo.no", 0}, #line 29 "effective_tld_names.gperf" {"aarborte.no", 0}, #line 80 "effective_tld_names.gperf" {"aeroclub.aero", 0}, #line 792 "effective_tld_names.gperf" {"dp.ua", 0}, #line 203 "effective_tld_names.gperf" {"asker.no", 0}, #line 585 "effective_tld_names.gperf" {"coloradoplateau.museum", 0}, #line 1494 "effective_tld_names.gperf" {"info.sd", 0}, #line 2015 "effective_tld_names.gperf" {"muenster.museum", 0}, #line 742 "effective_tld_names.gperf" {"cymru.museum", 0}, #line 2664 "effective_tld_names.gperf" {"pro.vn", 0}, #line 3638 "effective_tld_names.gperf" {"zarow.pl", 0}, #line 2551 "effective_tld_names.gperf" {"pl.ua", 0}, #line 3381 "effective_tld_names.gperf" {"web.tj", 0}, #line 488 "effective_tld_names.gperf" {"chita.ru", 0}, #line 472 "effective_tld_names.gperf" {"chattanooga.museum", 0}, #line 2965 "effective_tld_names.gperf" {"sologne.museum", 0}, #line 481 "effective_tld_names.gperf" {"chicago.museum", 0}, #line 2811 "effective_tld_names.gperf" {"salangen.no", 0}, #line 937 "effective_tld_names.gperf" {"enna.it", 0}, #line 2322 "effective_tld_names.gperf" {"omaha.museum", 0}, #line 236 "effective_tld_names.gperf" {"aukra.no", 0}, #line 1166 "effective_tld_names.gperf" {"gobiernoelectronico.ar", 1}, #line 2259 "effective_tld_names.gperf" {"nore-og-uvdal.no", 0}, #line 2531 "effective_tld_names.gperf" {"ph", 0}, #line 2976 "effective_tld_names.gperf" {"sorfold.no", 0}, #line 78 "effective_tld_names.gperf" {"aero.tt", 0}, #line 1294 "effective_tld_names.gperf" {"grosseto.it", 0}, #line 1482 "effective_tld_names.gperf" {"info.ec", 0}, #line 2477 "effective_tld_names.gperf" {"other.nf", 0}, #line 1558 "effective_tld_names.gperf" {"jet.uk", 1}, #line 3382 "effective_tld_names.gperf" {"wegrow.pl", 0}, #line 112 "effective_tld_names.gperf" {"akrehamn.no", 0}, #line 3612 "effective_tld_names.gperf" {"yamagata.jp", 2}, #line 31 "effective_tld_names.gperf" {"abo.pa", 0}, #line 1568 "effective_tld_names.gperf" {"jobs", 0}, #line 442 "effective_tld_names.gperf" {"capebreton.museum", 0}, #line 1814 "effective_tld_names.gperf" {"lyngdal.no", 0}, #line 3030 "effective_tld_names.gperf" {"store.ro", 0}, #line 921 "effective_tld_names.gperf" {"elblag.pl", 0}, #line 1128 "effective_tld_names.gperf" {"giessen.museum", 0}, #line 991 "effective_tld_names.gperf" {"fetsund.no", 0}, #line 3636 "effective_tld_names.gperf" {"zakopane.pl", 0}, #line 3384 "effective_tld_names.gperf" {"westfalen.museum", 0}, #line 1145 "effective_tld_names.gperf" {"gmina.pl", 0}, #line 376 "effective_tld_names.gperf" {"botanical.museum", 0}, #line 3238 "effective_tld_names.gperf" {"unjarga.no", 0}, #line 3031 "effective_tld_names.gperf" {"store.st", 0}, #line 2827 "effective_tld_names.gperf" {"sandoy.no", 0}, #line 748 "effective_tld_names.gperf" {"d.se", 0}, #line 269 "effective_tld_names.gperf" {"baidar.no", 0}, #line 435 "effective_tld_names.gperf" {"california.museum", 0}, #line 1987 "effective_tld_names.gperf" {"money.museum", 0}, #line 1518 "effective_tld_names.gperf" {"intl.tn", 0}, #line 2202 "effective_tld_names.gperf" {"newjersey.museum", 0}, #line 965 "effective_tld_names.gperf" {"evje-og-hornnes.no", 0}, #line 1046 "effective_tld_names.gperf" {"forde.no", 0}, #line 2658 "effective_tld_names.gperf" {"pro.br", 0}, #line 353 "effective_tld_names.gperf" {"bjarkoy.no", 0}, #line 2687 "effective_tld_names.gperf" {"pw", 0}, #line 3641 "effective_tld_names.gperf" {"zgrad.ru", 0}, #line 1985 "effective_tld_names.gperf" {"molde.no", 0}, #line 2970 "effective_tld_names.gperf" {"songdalen.no", 0}, #line 1578 "effective_tld_names.gperf" {"journalist.aero", 0}, #line 2494 "effective_tld_names.gperf" {"palace.museum", 0}, #line 491 "effective_tld_names.gperf" {"chukotka.ru", 0}, #line 338 "effective_tld_names.gperf" {"birkenes.no", 0}, #line 2662 "effective_tld_names.gperf" {"pro.pr", 0}, #line 3252 "effective_tld_names.gperf" {"usenet.pl", 0}, #line 1729 "effective_tld_names.gperf" {"law.pro", 0}, #line 392 "effective_tld_names.gperf" {"british.museum", 0}, #line 3622 "effective_tld_names.gperf" {"york.museum", 0}, #line 1094 "effective_tld_names.gperf" {"galsa.no", 0}, #line 1350 "effective_tld_names.gperf" {"halsa.no", 0}, #line 518 "effective_tld_names.gperf" {"civilaviation.aero", 0}, #line 1912 "effective_tld_names.gperf" {"mielno.pl", 0}, #line 3232 "effective_tld_names.gperf" {"ulvik.no", 0}, #line 1858 "effective_tld_names.gperf" {"mazowsze.pl", 0}, #line 1959 "effective_tld_names.gperf" {"miyagi.jp", 2}, #line 1034 "effective_tld_names.gperf" {"florence.it", 0}, #line 2930 "effective_tld_names.gperf" {"skien.no", 0}, #line 2476 "effective_tld_names.gperf" {"otago.museum", 0}, #line 1337 "effective_tld_names.gperf" {"gyeongbuk.kr", 0}, #line 2039 "effective_tld_names.gperf" {"naamesjevuemie.no", 0}, #line 1717 "effective_tld_names.gperf" {"landes.museum", 0}, #line 1117 "effective_tld_names.gperf" {"genoa.it", 0}, #line 390 "effective_tld_names.gperf" {"bristol.museum", 0}, #line 84 "effective_tld_names.gperf" {"afjord.no", 0}, #line 939 "effective_tld_names.gperf" {"entertainment.aero", 0}, #line 2492 "effective_tld_names.gperf" {"padova.it", 0}, #line 3028 "effective_tld_names.gperf" {"stordal.no", 0}, #line 225 "effective_tld_names.gperf" {"asti.it", 0}, #line 2947 "effective_tld_names.gperf" {"smola.no", 0}, #line 1978 "effective_tld_names.gperf" {"mobi.tt", 0}, #line 2661 "effective_tld_names.gperf" {"pro.na", 0}, #line 365 "effective_tld_names.gperf" {"bo.nordland.no", 0}, #line 1538 "effective_tld_names.gperf" {"ivanovo.ru", 0}, #line 3389 "effective_tld_names.gperf" {"wildlife.museum", 0}, #line 3430 "effective_tld_names.gperf" {"xn--bod-2na.no", 0}, #line 2479 "effective_tld_names.gperf" {"ovre-eiker.no", 0}, #line 3623 "effective_tld_names.gperf" {"yorkshire.museum", 0}, #line 904 "effective_tld_names.gperf" {"educ.ar", 1}, #line 1488 "effective_tld_names.gperf" {"info.nf", 0}, #line 1781 "effective_tld_names.gperf" {"lomza.pl", 0}, #line 1028 "effective_tld_names.gperf" {"flatanger.no", 0}, #line 190 "effective_tld_names.gperf" {"arteducation.museum", 0}, #line 2458 "effective_tld_names.gperf" {"orkdal.no", 0}, #line 762 "effective_tld_names.gperf" {"deatnu.no", 0}, #line 1473 "effective_tld_names.gperf" {"indiana.museum", 0}, #line 126 "effective_tld_names.gperf" {"altai.ru", 0}, #line 780 "effective_tld_names.gperf" {"dk", 0}, #line 389 "effective_tld_names.gperf" {"brindisi.it", 0}, #line 187 "effective_tld_names.gperf" {"artanddesign.museum", 0}, #line 1847 "effective_tld_names.gperf" {"marketplace.aero", 0}, #line 2971 "effective_tld_names.gperf" {"sopot.pl", 0}, #line 2576 "effective_tld_names.gperf" {"portal.museum", 0}, #line 2952 "effective_tld_names.gperf" {"snasa.no", 0}, #line 930 "effective_tld_names.gperf" {"enebakk.no", 0}, #line 2557 "effective_tld_names.gperf" {"plc.ly", 0}, #line 2840 "effective_tld_names.gperf" {"sauda.no", 0}, #line 334 "effective_tld_names.gperf" {"bindal.no", 0}, #line 1945 "effective_tld_names.gperf" {"mil.tj", 0}, #line 1419 "effective_tld_names.gperf" {"house.museum", 0}, #line 2556 "effective_tld_names.gperf" {"plc.co.im", 0}, #line 1082 "effective_tld_names.gperf" {"fuossko.no", 0}, #line 747 "effective_tld_names.gperf" {"d.bg", 0}, #line 1412 "effective_tld_names.gperf" {"homebuilt.aero", 0}, #line 1715 "effective_tld_names.gperf" {"lanbib.se", 0}, #line 2075 "effective_tld_names.gperf" {"naturalhistorymuseum.museum", 0}, #line 105 "effective_tld_names.gperf" {"airguard.museum", 0}, #line 2948 "effective_tld_names.gperf" {"smolensk.ru", 0}, #line 1540 "effective_tld_names.gperf" {"ivgu.no", 0}, #line 765 "effective_tld_names.gperf" {"delaware.museum", 0}, #line 252 "effective_tld_names.gperf" {"avoues.fr", 0}, #line 2528 "effective_tld_names.gperf" {"pf", 0}, #line 2544 "effective_tld_names.gperf" {"pilots.museum", 0}, #line 1395 "effective_tld_names.gperf" {"hjelmeland.no", 0}, #line 400 "effective_tld_names.gperf" {"brussel.museum", 0}, #line 1103 "effective_tld_names.gperf" {"gausdal.no", 0}, #line 2320 "effective_tld_names.gperf" {"olsztyn.pl", 0}, #line 1285 "effective_tld_names.gperf" {"gran.no", 0}, #line 251 "effective_tld_names.gperf" {"avocat.fr", 0}, #line 223 "effective_tld_names.gperf" {"association.aero", 0}, #line 2986 "effective_tld_names.gperf" {"space.museum", 0}, #line 2659 "effective_tld_names.gperf" {"pro.ec", 0}, #line 230 "effective_tld_names.gperf" {"atlanta.museum", 0}, #line 275 "effective_tld_names.gperf" {"ballangen.no", 0}, #line 3026 "effective_tld_names.gperf" {"stor-elvdal.no", 0}, #line 352 "effective_tld_names.gperf" {"bj.cn", 0}, #line 3249 "effective_tld_names.gperf" {"uscountryestate.museum", 0}, #line 1911 "effective_tld_names.gperf" {"mielec.pl", 0}, #line 3251 "effective_tld_names.gperf" {"usdecorativearts.museum", 0}, #line 1290 "effective_tld_names.gperf" {"graz.museum", 0}, #line 2982 "effective_tld_names.gperf" {"soundandvision.museum", 0}, #line 1709 "effective_tld_names.gperf" {"laakesvuemie.no", 0}, #line 1481 "effective_tld_names.gperf" {"info.co", 0}, #line 1545 "effective_tld_names.gperf" {"jamal.ru", 0}, #line 915 "effective_tld_names.gperf" {"eidfjord.no", 0}, #line 277 "effective_tld_names.gperf" {"balsan.it", 0}, #line 2043 "effective_tld_names.gperf" {"nagoya.jp", 2}, #line 1991 "effective_tld_names.gperf" {"monza.it", 0}, #line 1618 "effective_tld_names.gperf" {"ke", 2}, #line 3409 "effective_tld_names.gperf" {"xn--55qx5d.cn", 0}, #line 1700 "effective_tld_names.gperf" {"ky", 0}, #line 401 "effective_tld_names.gperf" {"brussels.museum", 0}, #line 120 "effective_tld_names.gperf" {"alaska.museum", 0}, #line 754 "effective_tld_names.gperf" {"database.museum", 0}, #line 1666 "effective_tld_names.gperf" {"kr", 0}, #line 1021 "effective_tld_names.gperf" {"fjaler.no", 0}, #line 2832 "effective_tld_names.gperf" {"santafe.museum", 0}, #line 447 "effective_tld_names.gperf" {"caserta.it", 0}, #line 1986 "effective_tld_names.gperf" {"moma.museum", 0}, #line 1646 "effective_tld_names.gperf" {"kn", 0}, #line 993 "effective_tld_names.gperf" {"fh.se", 0}, #line 942 "effective_tld_names.gperf" {"environmentalconservation.museum", 0}, #line 3073 "effective_tld_names.gperf" {"szkola.pl", 0}, #line 1836 "effective_tld_names.gperf" {"mansion.museum", 0}, #line 2204 "effective_tld_names.gperf" {"newport.museum", 0}, #line 438 "effective_tld_names.gperf" {"campobasso.it", 0}, #line 760 "effective_tld_names.gperf" {"de.com", 0}, #line 981 "effective_tld_names.gperf" {"farsund.no", 0}, #line 918 "effective_tld_names.gperf" {"eidsvoll.no", 0}, #line 2262 "effective_tld_names.gperf" {"north.museum", 0}, #line 1327 "effective_tld_names.gperf" {"guernsey.museum", 0}, #line 1329 "effective_tld_names.gperf" {"gunma.jp", 2}, #line 2892 "effective_tld_names.gperf" {"services.aero", 0}, #line 1988 "effective_tld_names.gperf" {"monmouth.museum", 0}, #line 3635 "effective_tld_names.gperf" {"zagan.pl", 0}, #line 989 "effective_tld_names.gperf" {"ferrara.it", 0}, #line 794 "effective_tld_names.gperf" {"drammen.no", 0}, #line 3625 "effective_tld_names.gperf" {"youth.museum", 0}, #line 221 "effective_tld_names.gperf" {"asso.mc", 0}, #line 1530 "effective_tld_names.gperf" {"isernia.it", 0}, #line 2968 "effective_tld_names.gperf" {"sondre-land.no", 0}, #line 2823 "effective_tld_names.gperf" {"sandefjord.no", 0}, #line 917 "effective_tld_names.gperf" {"eidskog.no", 0}, #line 692 "effective_tld_names.gperf" {"computer.museum", 0}, #line 436 "effective_tld_names.gperf" {"caltanissetta.it", 0}, #line 1837 "effective_tld_names.gperf" {"mansions.museum", 0}, #line 3640 "effective_tld_names.gperf" {"zgorzelec.pl", 0}, #line 1381 "effective_tld_names.gperf" {"heroy.nordland.no", 0}, #line 1523 "effective_tld_names.gperf" {"iraq.museum", 0}, #line 220 "effective_tld_names.gperf" {"asso.km", 0}, #line 1132 "effective_tld_names.gperf" {"gjemnes.no", 0}, #line 1366 "effective_tld_names.gperf" {"hawaii.museum", 0}, #line 3552 "effective_tld_names.gperf" {"xn--sandy-yua.no", 0}, #line 3424 "effective_tld_names.gperf" {"xn--bidr-5nac.no", 0}, #line 2457 "effective_tld_names.gperf" {"orkanger.no", 0}, #line 2874 "effective_tld_names.gperf" {"scientist.aero", 0}, #line 3216 "effective_tld_names.gperf" {"uba.ar", 1}, #line 912 "effective_tld_names.gperf" {"egyptian.museum", 0}, #line 1299 "effective_tld_names.gperf" {"grue.no", 0}, #line 306 "effective_tld_names.gperf" {"belgorod.ru", 0}, #line 3400 "effective_tld_names.gperf" {"wroclaw.pl", 0}, #line 2963 "effective_tld_names.gperf" {"sokndal.no", 0}, #line 2318 "effective_tld_names.gperf" {"olecko.pl", 0}, #line 217 "effective_tld_names.gperf" {"asso.fr", 0}, #line 2057 "effective_tld_names.gperf" {"name.tt", 0}, #line 1831 "effective_tld_names.gperf" {"malopolska.pl", 0}, #line 2271 "effective_tld_names.gperf" {"nowaruda.pl", 0}, #line 276 "effective_tld_names.gperf" {"ballooning.aero", 0}, #line 1701 "effective_tld_names.gperf" {"ky.us", 0}, #line 2469 "effective_tld_names.gperf" {"osoyro.no", 0}, #line 2468 "effective_tld_names.gperf" {"oslo.no", 0}, #line 2258 "effective_tld_names.gperf" {"nordreisa.no", 0}, #line 2329 "effective_tld_names.gperf" {"opoczno.pl", 0}, #line 2497 "effective_tld_names.gperf" {"palermo.it", 0}, #line 1559 "effective_tld_names.gperf" {"jevnaker.no", 0}, #line 235 "effective_tld_names.gperf" {"augustow.pl", 0}, #line 2864 "effective_tld_names.gperf" {"schweiz.museum", 0}, #line 2891 "effective_tld_names.gperf" {"seoul.kr", 0}, #line 179 "effective_tld_names.gperf" {"arna.no", 0}, #line 2517 "effective_tld_names.gperf" {"penza.ru", 0}, #line 1643 "effective_tld_names.gperf" {"km", 0}, #line 1808 "effective_tld_names.gperf" {"lutsk.ua", 0}, #line 1904 "effective_tld_names.gperf" {"miasta.pl", 0}, #line 1565 "effective_tld_names.gperf" {"jl.cn", 0}, #line 279 "effective_tld_names.gperf" {"baltimore.museum", 0}, #line 492 "effective_tld_names.gperf" {"chungbuk.kr", 0}, #line 302 "effective_tld_names.gperf" {"bedzin.pl", 0}, #line 106 "effective_tld_names.gperf" {"airline.aero", 0}, #line 804 "effective_tld_names.gperf" {"e164.arpa", 0}, #line 1577 "effective_tld_names.gperf" {"journalism.museum", 0}, #line 1679 "effective_tld_names.gperf" {"ks.us", 0}, #line 1703 "effective_tld_names.gperf" {"kz", 0}, #line 521 "effective_tld_names.gperf" {"civilwar.museum", 0}, #line 3001 "effective_tld_names.gperf" {"stadt.museum", 0}, #line 1179 "effective_tld_names.gperf" {"gouv.rw", 0}, #line 108 "effective_tld_names.gperf" {"airtraffic.aero", 0}, #line 806 "effective_tld_names.gperf" {"eastcoast.museum", 0}, #line 1849 "effective_tld_names.gperf" {"maryland.museum", 0}, #line 2989 "effective_tld_names.gperf" {"sport.hu", 0}, #line 290 "effective_tld_names.gperf" {"bashkiria.ru", 0}, #line 289 "effective_tld_names.gperf" {"basel.museum", 0}, #line 2053 "effective_tld_names.gperf" {"name.my", 0}, #line 1406 "effective_tld_names.gperf" {"hokkaido.jp", 2}, #line 267 "effective_tld_names.gperf" {"bahccavuotna.no", 0}, #line 2304 "effective_tld_names.gperf" {"odda.no", 0}, #line 3038 "effective_tld_names.gperf" {"stuttgart.museum", 0}, #line 224 "effective_tld_names.gperf" {"association.museum", 0}, #line 65 "effective_tld_names.gperf" {"accident-prevention.aero", 0}, #line 2100 "effective_tld_names.gperf" {"nes.akershus.no", 0}, #line 387 "effective_tld_names.gperf" {"bremanger.no", 0}, #line 3371 "effective_tld_names.gperf" {"warmia.pl", 0}, #line 1834 "effective_tld_names.gperf" {"manchester.museum", 0}, #line 1908 "effective_tld_names.gperf" {"midsund.no", 0}, #line 3404 "effective_tld_names.gperf" {"www.ro", 0}, #line 1338 "effective_tld_names.gperf" {"gyeonggi.kr", 0}, #line 2926 "effective_tld_names.gperf" {"skedsmo.no", 0}, #line 1136 "effective_tld_names.gperf" {"gjovik.no", 0}, #line 2866 "effective_tld_names.gperf" {"science.museum", 0}, #line 728 "effective_tld_names.gperf" {"crotone.it", 0}, #line 1851 "effective_tld_names.gperf" {"masfjorden.no", 0}, #line 1493 "effective_tld_names.gperf" {"info.ro", 0}, #line 3255 "effective_tld_names.gperf" {"ushuaia.museum", 0}, #line 1886 "effective_tld_names.gperf" {"media.pl", 0}, #line 1026 "effective_tld_names.gperf" {"flakstad.no", 0}, #line 1669 "effective_tld_names.gperf" {"kr.ua", 0}, #line 3267 "effective_tld_names.gperf" {"uzhgorod.ua", 0}, #line 1593 "effective_tld_names.gperf" {"k12.vi", 0}, #line 1516 "effective_tld_names.gperf" {"intelligence.museum", 0}, #line 2683 "effective_tld_names.gperf" {"pubol.museum", 0}, #line 1095 "effective_tld_names.gperf" {"game.tw", 0}, #line 327 "effective_tld_names.gperf" {"bible.museum", 0}, #line 1776 "effective_tld_names.gperf" {"localhistory.museum", 0}, #line 2098 "effective_tld_names.gperf" {"nedre-eiker.no", 0}, #line 3539 "effective_tld_names.gperf" {"xn--risa-5na.no", 0}, #line 1067 "effective_tld_names.gperf" {"fribourg.museum", 0}, #line 2582 "effective_tld_names.gperf" {"poznan.pl", 0}, #line 2464 "effective_tld_names.gperf" {"os.hordaland.no", 0}, #line 770 "effective_tld_names.gperf" {"design.aero", 0}, #line 1002 "effective_tld_names.gperf" {"figueres.museum", 0}, #line 3532 "effective_tld_names.gperf" {"xn--rady-ira.no", 0}, #line 1678 "effective_tld_names.gperf" {"ks.ua", 0}, #line 308 "effective_tld_names.gperf" {"belluno.it", 0}, #line 943 "effective_tld_names.gperf" {"epilepsy.museum", 0}, #line 2872 "effective_tld_names.gperf" {"sciences.museum", 0}, #line 421 "effective_tld_names.gperf" {"bytom.pl", 0}, #line 205 "effective_tld_names.gperf" {"askoy.no", 0}, #line 3506 "effective_tld_names.gperf" {"xn--lury-ira.no", 0}, #line 1115 "effective_tld_names.gperf" {"gemological.museum", 0}, #line 3540 "effective_tld_names.gperf" {"xn--risr-ira.no", 0}, #line 3397 "effective_tld_names.gperf" {"works.aero", 0}, #line 1714 "effective_tld_names.gperf" {"lakas.hu", 0}, #line 2046 "effective_tld_names.gperf" {"nalchik.ru", 0}, #line 3567 "effective_tld_names.gperf" {"xn--snsa-roa.no", 0}, #line 1062 "effective_tld_names.gperf" {"fredrikstad.no", 0}, #line 958 "effective_tld_names.gperf" {"etne.no", 0}, #line 1632 "effective_tld_names.gperf" {"ki", 0}, #line 1668 "effective_tld_names.gperf" {"kr.it", 0}, #line 288 "effective_tld_names.gperf" {"baseball.museum", 0}, #line 3499 "effective_tld_names.gperf" {"xn--linds-pra.no", 0}, #line 3133 "effective_tld_names.gperf" {"to", 0}, #line 3090 "effective_tld_names.gperf" {"td", 0}, #line 1195 "effective_tld_names.gperf" {"gov.bz", 0}, #line 3536 "effective_tld_names.gperf" {"xn--rennesy-v1a.no", 0}, #line 1409 "effective_tld_names.gperf" {"hole.no", 0}, #line 3007 "effective_tld_names.gperf" {"starnberg.museum", 0}, #line 828 "effective_tld_names.gperf" {"edu.bz", 0}, #line 2122 "effective_tld_names.gperf" {"net.bz", 0}, #line 3155 "effective_tld_names.gperf" {"tr", 2}, #line 337 "effective_tld_names.gperf" {"birdart.museum", 0}, #line 1870 "effective_tld_names.gperf" {"mecon.ar", 1}, #line 606 "effective_tld_names.gperf" {"com.bz", 0}, #line 1799 "effective_tld_names.gperf" {"lubin.pl", 0}, #line 3477 "effective_tld_names.gperf" {"xn--karmy-yua.no", 0}, #line 142 "effective_tld_names.gperf" {"amur.ru", 0}, #line 3130 "effective_tld_names.gperf" {"tn", 0}, #line 332 "effective_tld_names.gperf" {"bilbao.museum", 0}, #line 1981 "effective_tld_names.gperf" {"modelling.aero", 0}, #line 2584 "effective_tld_names.gperf" {"pp.ru", 0}, #line 2566 "effective_tld_names.gperf" {"pol.ht", 0}, #line 154 "effective_tld_names.gperf" {"anthropology.museum", 0}, #line 1690 "effective_tld_names.gperf" {"kv.ua", 0}, #line 3257 "effective_tld_names.gperf" {"ustka.pl", 0}, #line 282 "effective_tld_names.gperf" {"barcelona.museum", 0}, #line 980 "effective_tld_names.gperf" {"farmstead.museum", 0}, #line 1828 "effective_tld_names.gperf" {"malatvuopmi.no", 0}, #line 579 "effective_tld_names.gperf" {"coal.museum", 0}, #line 3187 "effective_tld_names.gperf" {"tt", 0}, #line 3018 "effective_tld_names.gperf" {"steiermark.museum", 0}, #line 237 "effective_tld_names.gperf" {"aure.no", 0}, #line 1069 "effective_tld_names.gperf" {"frogn.no", 0}, #line 1822 "effective_tld_names.gperf" {"madrid.museum", 0}, #line 1316 "effective_tld_names.gperf" {"gs.sf.no", 0}, #line 1644 "effective_tld_names.gperf" {"km.ua", 0}, #line 2282 "effective_tld_names.gperf" {"nt.gov.au", 0}, #line 2289 "effective_tld_names.gperf" {"nuernberg.museum", 0}, #line 1894 "effective_tld_names.gperf" {"memorial.museum", 0}, #line 3412 "effective_tld_names.gperf" {"xn--andy-ira.no", 0}, #line 2265 "effective_tld_names.gperf" {"notaires.km", 0}, #line 1571 "effective_tld_names.gperf" {"jolster.no", 0}, #line 2699 "effective_tld_names.gperf" {"quebec.museum", 0}, #line 2829 "effective_tld_names.gperf" {"sanok.pl", 0}, #line 707 "effective_tld_names.gperf" {"coop.km", 0}, #line 1853 "effective_tld_names.gperf" {"massa-carrara.it", 0}, #line 1622 "effective_tld_names.gperf" {"kg", 0}, #line 384 "effective_tld_names.gperf" {"brand.se", 0}, #line 2766 "effective_tld_names.gperf" {"ro", 0}, #line 2223 "effective_tld_names.gperf" {"nikolaev.ua", 0}, #line 2720 "effective_tld_names.gperf" {"re", 0}, #line 1777 "effective_tld_names.gperf" {"lodi.it", 0}, #line 3429 "effective_tld_names.gperf" {"xn--bmlo-gra.no", 0}, #line 1033 "effective_tld_names.gperf" {"flora.no", 0}, #line 3396 "effective_tld_names.gperf" {"workinggroup.aero", 0}, #line 3294 "effective_tld_names.gperf" {"ve", 2}, #line 871 "effective_tld_names.gperf" {"edu.mx", 0}, #line 3140 "effective_tld_names.gperf" {"tom.ru", 0}, #line 1202 "effective_tld_names.gperf" {"gov.cx", 0}, #line 1713 "effective_tld_names.gperf" {"lajolla.museum", 0}, #line 2042 "effective_tld_names.gperf" {"nagasaki.jp", 2}, #line 2164 "effective_tld_names.gperf" {"net.mx", 0}, #line 2725 "effective_tld_names.gperf" {"rec.co", 0}, #line 2367 "effective_tld_names.gperf" {"org.bz", 0}, #line 649 "effective_tld_names.gperf" {"com.mx", 0}, #line 772 "effective_tld_names.gperf" {"detroit.museum", 0}, #line 314 "effective_tld_names.gperf" {"berkeley.museum", 0}, #line 3486 "effective_tld_names.gperf" {"xn--ksnes-uua.no", 0}, #line 1910 "effective_tld_names.gperf" {"mie.jp", 2}, #line 1572 "effective_tld_names.gperf" {"jondal.no", 0}, #line 3344 "effective_tld_names.gperf" {"vn", 0}, #line 415 "effective_tld_names.gperf" {"bushey.museum", 0}, #line 775 "effective_tld_names.gperf" {"dinosaur.museum", 0}, #line 1162 "effective_tld_names.gperf" {"gob.mx", 0}, #line 2466 "effective_tld_names.gperf" {"osen.no", 0}, #line 2785 "effective_tld_names.gperf" {"rs", 0}, #line 2964 "effective_tld_names.gperf" {"sola.no", 0}, #line 3195 "effective_tld_names.gperf" {"tv", 0}, #line 1480 "effective_tld_names.gperf" {"info.az", 0}, #line 370 "effective_tld_names.gperf" {"bologna.it", 0}, #line 211 "effective_tld_names.gperf" {"assassination.museum", 0}, #line 778 "effective_tld_names.gperf" {"divttasvuotna.no", 0}, #line 2727 "effective_tld_names.gperf" {"rec.ro", 0}, #line 1623 "effective_tld_names.gperf" {"kg.kr", 0}, #line 159 "effective_tld_names.gperf" {"aosta.it", 0}, #line 3041 "effective_tld_names.gperf" {"suedtirol.it", 0}, #line 2722 "effective_tld_names.gperf" {"re.kr", 0}, #line 3119 "effective_tld_names.gperf" {"tm", 0}, #line 709 "effective_tld_names.gperf" {"coop.tt", 0}, #line 3132 "effective_tld_names.gperf" {"tn.us", 0}, #line 1228 "effective_tld_names.gperf" {"gov.kz", 0}, #line 3611 "effective_tld_names.gperf" {"yakutia.ru", 0}, #line 857 "effective_tld_names.gperf" {"edu.kz", 0}, #line 2279 "effective_tld_names.gperf" {"nsw.gov.au", 0}, #line 291 "effective_tld_names.gperf" {"baths.museum", 0}, #line 2150 "effective_tld_names.gperf" {"net.kz", 0}, #line 1839 "effective_tld_names.gperf" {"manx.museum", 0}, #line 3122 "effective_tld_names.gperf" {"tm.km", 0}, #line 139 "effective_tld_names.gperf" {"amli.no", 0}, #line 3391 "effective_tld_names.gperf" {"windmill.museum", 0}, #line 3212 "effective_tld_names.gperf" {"tz", 0}, #line 636 "effective_tld_names.gperf" {"com.kz", 0}, #line 2591 "effective_tld_names.gperf" {"prd.fr", 0}, #line 2324 "effective_tld_names.gperf" {"omsk.ru", 0}, #line 2554 "effective_tld_names.gperf" {"plants.museum", 0}, #line 771 "effective_tld_names.gperf" {"design.museum", 0}, #line 3012 "effective_tld_names.gperf" {"stathelle.no", 0}, #line 2787 "effective_tld_names.gperf" {"ru", 0}, #line 2417 "effective_tld_names.gperf" {"org.mx", 0}, #line 1976 "effective_tld_names.gperf" {"mobi.gp", 0}, #line 1483 "effective_tld_names.gperf" {"info.ht", 0}, #line 1121 "effective_tld_names.gperf" {"georgia.museum", 0}, #line 1958 "effective_tld_names.gperf" {"missoula.museum", 0}, #line 243 "effective_tld_names.gperf" {"austrheim.no", 0}, #line 2014 "effective_tld_names.gperf" {"muenchen.museum", 0}, #line 3358 "effective_tld_names.gperf" {"vu", 0}, #line 1800 "effective_tld_names.gperf" {"lucca.it", 0}, #line 705 "effective_tld_names.gperf" {"coop.br", 0}, #line 711 "effective_tld_names.gperf" {"corporation.museum", 0}, #line 2481 "effective_tld_names.gperf" {"oyer.no", 0}, #line 2444 "effective_tld_names.gperf" {"org.sz", 0}, #line 3088 "effective_tld_names.gperf" {"tc", 0}, #line 1842 "effective_tld_names.gperf" {"mari.ru", 0}, #line 1484 "effective_tld_names.gperf" {"info.hu", 0}, #line 1186 "effective_tld_names.gperf" {"gov.az", 0}, #line 1761 "effective_tld_names.gperf" {"lillesand.no", 0}, #line 3554 "effective_tld_names.gperf" {"xn--sgne-gra.no", 0}, #line 377 "effective_tld_names.gperf" {"botanicalgarden.museum", 0}, #line 820 "effective_tld_names.gperf" {"edu.az", 0}, #line 1592 "effective_tld_names.gperf" {"k12.ec", 0}, #line 2869 "effective_tld_names.gperf" {"sciencecenter.museum", 0}, #line 2682 "effective_tld_names.gperf" {"public.museum", 0}, #line 2115 "effective_tld_names.gperf" {"net.az", 0}, #line 101 "effective_tld_names.gperf" {"air-surveillance.aero", 0}, #line 1027 "effective_tld_names.gperf" {"flanders.museum", 0}, #line 1499 "effective_tld_names.gperf" {"ingatlan.hu", 0}, #line 596 "effective_tld_names.gperf" {"com.az", 0}, #line 3043 "effective_tld_names.gperf" {"sula.no", 0}, #line 2839 "effective_tld_names.gperf" {"satx.museum", 0}, #line 172 "effective_tld_names.gperf" {"archaeology.museum", 0}, #line 3092 "effective_tld_names.gperf" {"te.ua", 0}, #line 212 "effective_tld_names.gperf" {"assedic.fr", 0}, #line 1949 "effective_tld_names.gperf" {"milan.it", 0}, #line 3094 "effective_tld_names.gperf" {"tel", 0}, #line 1502 "effective_tld_names.gperf" {"int.az", 0}, #line 3126 "effective_tld_names.gperf" {"tm.pl", 0}, #line 144 "effective_tld_names.gperf" {"amusement.aero", 0}, #line 3507 "effective_tld_names.gperf" {"xn--mely-ira.no", 0}, #line 2697 "effective_tld_names.gperf" {"qld.gov.au", 0}, #line 446 "effective_tld_names.gperf" {"casadelamoneda.museum", 0}, #line 2765 "effective_tld_names.gperf" {"rnu.tn", 0}, #line 2828 "effective_tld_names.gperf" {"sanfrancisco.museum", 0}, #line 110 "effective_tld_names.gperf" {"akita.jp", 2}, #line 2400 "effective_tld_names.gperf" {"org.kz", 0}, #line 464 "effective_tld_names.gperf" {"certification.aero", 0}, #line 3357 "effective_tld_names.gperf" {"vt.us", 0}, #line 789 "effective_tld_names.gperf" {"donna.no", 0}, #line 2870 "effective_tld_names.gperf" {"sciencecenters.museum", 0}, #line 414 "effective_tld_names.gperf" {"busan.kr", 0}, #line 1177 "effective_tld_names.gperf" {"gouv.ht", 0}, #line 410 "effective_tld_names.gperf" {"building.museum", 0}, #line 736 "effective_tld_names.gperf" {"cuneo.it", 0}, #line 2558 "effective_tld_names.gperf" {"plo.ps", 0}, #line 2502 "effective_tld_names.gperf" {"paris.museum", 0}, #line 2534 "effective_tld_names.gperf" {"pharmacy.museum", 0}, #line 708 "effective_tld_names.gperf" {"coop.mw", 0}, #line 2478 "effective_tld_names.gperf" {"overhalla.no", 0}, #line 1738 "effective_tld_names.gperf" {"lecce.it", 0}, #line 3291 "effective_tld_names.gperf" {"vc", 0}, #line 3433 "effective_tld_names.gperf" {"xn--brum-voa.no", 0}, #line 3134 "effective_tld_names.gperf" {"to.it", 0}, #line 2684 "effective_tld_names.gperf" {"pulawy.pl", 0}, #line 348 "effective_tld_names.gperf" {"biz.tj", 0}, #line 3091 "effective_tld_names.gperf" {"te.it", 0}, #line 2585 "effective_tld_names.gperf" {"pp.se", 0}, #line 2491 "effective_tld_names.gperf" {"paderborn.museum", 0}, #line 1303 "effective_tld_names.gperf" {"gs.bu.no", 0}, #line 2358 "effective_tld_names.gperf" {"org.az", 0}, #line 1048 "effective_tld_names.gperf" {"forlicesena.it", 0}, #line 3156 "effective_tld_names.gperf" {"tr.it", 0}, #line 1030 "effective_tld_names.gperf" {"flesberg.no", 0}, #line 3009 "effective_tld_names.gperf" {"stat.no", 0}, #line 3131 "effective_tld_names.gperf" {"tn.it", 0}, #line 527 "effective_tld_names.gperf" {"clock.museum", 0}, #line 496 "effective_tld_names.gperf" {"cieszyn.pl", 0}, #line 1645 "effective_tld_names.gperf" {"kms.ru", 0}, #line 2668 "effective_tld_names.gperf" {"project.museum", 0}, #line 2463 "effective_tld_names.gperf" {"os.hedmark.no", 0}, #line 3563 "effective_tld_names.gperf" {"xn--smna-gra.no", 0}, #line 160 "effective_tld_names.gperf" {"aoste.it", 0}, #line 714 "effective_tld_names.gperf" {"costume.museum", 0}, #line 3184 "effective_tld_names.gperf" {"ts.it", 0}, #line 2833 "effective_tld_names.gperf" {"saotome.st", 0}, #line 1883 "effective_tld_names.gperf" {"media.aero", 0}, #line 1555 "effective_tld_names.gperf" {"jeonnam.kr", 0}, #line 3616 "effective_tld_names.gperf" {"yaroslavl.ru", 0}, #line 779 "effective_tld_names.gperf" {"dj", 0}, #line 3345 "effective_tld_names.gperf" {"vn.ua", 0}, #line 3372 "effective_tld_names.gperf" {"warszawa.pl", 0}, #line 3497 "effective_tld_names.gperf" {"xn--lgrd-poac.no", 0}, #line 725 "effective_tld_names.gperf" {"cremona.it", 0}, #line 1766 "effective_tld_names.gperf" {"linz.museum", 0}, #line 2890 "effective_tld_names.gperf" {"sendai.jp", 2}, #line 1439 "effective_tld_names.gperf" {"ibestad.no", 0}, #line 1752 "effective_tld_names.gperf" {"lezajsk.pl", 0}, #line 2934 "effective_tld_names.gperf" {"skjervoy.no", 0}, #line 3204 "effective_tld_names.gperf" {"tx.us", 0}, #line 1734 "effective_tld_names.gperf" {"leangaviika.no", 0}, #line 3355 "effective_tld_names.gperf" {"vrn.ru", 0}, #line 2004 "effective_tld_names.gperf" {"mragowo.pl", 0}, #line 3062 "effective_tld_names.gperf" {"swiebodzin.pl", 0}, #line 3199 "effective_tld_names.gperf" {"tv.na", 0}, #line 1296 "effective_tld_names.gperf" {"group.aero", 0}, #line 3097 "effective_tld_names.gperf" {"teramo.it", 0}, #line 698 "effective_tld_names.gperf" {"consultant.aero", 0}, #line 264 "effective_tld_names.gperf" {"badajoz.museum", 0}, #line 2767 "effective_tld_names.gperf" {"ro.it", 0}, #line 2278 "effective_tld_names.gperf" {"nsw.edu.au", 0}, #line 763 "effective_tld_names.gperf" {"decorativearts.museum", 0}, #line 1015 "effective_tld_names.gperf" {"firm.in", 0}, #line 2721 "effective_tld_names.gperf" {"re.it", 0}, #line 3269 "effective_tld_names.gperf" {"va", 0}, #line 1380 "effective_tld_names.gperf" {"heroy.more-og-romsdal.no", 0}, #line 785 "effective_tld_names.gperf" {"dni.us", 0}, #line 3295 "effective_tld_names.gperf" {"ve.it", 0}, #line 477 "effective_tld_names.gperf" {"chernigov.ua", 0}, #line 791 "effective_tld_names.gperf" {"dovre.no", 0}, #line 906 "effective_tld_names.gperf" {"educational.museum", 0}, #line 1084 "effective_tld_names.gperf" {"fusa.no", 0}, #line 3104 "effective_tld_names.gperf" {"tg", 0}, #line 3320 "effective_tld_names.gperf" {"vi", 0}, #line 2574 "effective_tld_names.gperf" {"porsgrunn.no", 0}, #line 3354 "effective_tld_names.gperf" {"vr.it", 0}, #line 2490 "effective_tld_names.gperf" {"pacific.museum", 0}, #line 2761 "effective_tld_names.gperf" {"rn.it", 0}, #line 580 "effective_tld_names.gperf" {"coastaldefence.museum", 0}, #line 3256 "effective_tld_names.gperf" {"uslivinghistory.museum", 0}, #line 3585 "effective_tld_names.gperf" {"xn--tysvr-vra.no", 0}, #line 3235 "effective_tld_names.gperf" {"undersea.museum", 0}, #line 1591 "effective_tld_names.gperf" {"k.se", 0}, #line 1318 "effective_tld_names.gperf" {"gs.svalbard.no", 0}, #line 1139 "effective_tld_names.gperf" {"glass.museum", 0}, #line 3198 "effective_tld_names.gperf" {"tv.it", 0}, #line 2834 "effective_tld_names.gperf" {"sapporo.jp", 2}, #line 3356 "effective_tld_names.gperf" {"vt.it", 0}, #line 3218 "effective_tld_names.gperf" {"udine.it", 0}, #line 2792 "effective_tld_names.gperf" {"rv.ua", 0}, #line 3027 "effective_tld_names.gperf" {"stord.no", 0}, #line 3070 "effective_tld_names.gperf" {"szczecin.pl", 0}, #line 317 "effective_tld_names.gperf" {"bern.museum", 0}, #line 2260 "effective_tld_names.gperf" {"norfolk.museum", 0}, #line 1698 "effective_tld_names.gperf" {"kvitsoy.no", 0}, #line 3369 "effective_tld_names.gperf" {"wallonie.museum", 0}, #line 1036 "effective_tld_names.gperf" {"floro.no", 0}, #line 3432 "effective_tld_names.gperf" {"xn--brnnysund-m8ac.no", 0}, #line 1739 "effective_tld_names.gperf" {"lecco.it", 0}, #line 690 "effective_tld_names.gperf" {"community.museum", 0}, #line 478 "effective_tld_names.gperf" {"chernovtsy.ua", 0}, #line 3306 "effective_tld_names.gperf" {"verran.no", 0}, #line 2696 "effective_tld_names.gperf" {"qld.edu.au", 0}, #line 1526 "effective_tld_names.gperf" {"iron.museum", 0}, #line 1120 "effective_tld_names.gperf" {"geometre-expert.fr", 0}, #line 398 "effective_tld_names.gperf" {"brumunddal.no", 0}, #line 2724 "effective_tld_names.gperf" {"rec.br", 0}, #line 1022 "effective_tld_names.gperf" {"fjell.no", 0}, #line 3313 "effective_tld_names.gperf" {"vet.br", 0}, #line 1127 "effective_tld_names.gperf" {"giehtavuoatna.no", 0}, #line 3035 "effective_tld_names.gperf" {"stranda.no", 0}, #line 769 "effective_tld_names.gperf" {"depot.museum", 0}, #line 2917 "effective_tld_names.gperf" {"silk.museum", 0}, #line 2553 "effective_tld_names.gperf" {"plantation.museum", 0}, #line 271 "effective_tld_names.gperf" {"bajddar.no", 0}, #line 3189 "effective_tld_names.gperf" {"tur.br", 0}, #line 2104 "effective_tld_names.gperf" {"nesoddtangen.no", 0}, #line 2726 "effective_tld_names.gperf" {"rec.nf", 0}, #line 2885 "effective_tld_names.gperf" {"sejny.pl", 0}, #line 3318 "effective_tld_names.gperf" {"vg", 0}, #line 218 "effective_tld_names.gperf" {"asso.gp", 0}, #line 121 "effective_tld_names.gperf" {"alessandria.it", 0}, #line 420 "effective_tld_names.gperf" {"bykle.no", 0}, #line 1173 "effective_tld_names.gperf" {"gorlice.pl", 0}, #line 3272 "effective_tld_names.gperf" {"va.us", 0}, #line 2901 "effective_tld_names.gperf" {"shell.museum", 0}, #line 1692 "effective_tld_names.gperf" {"kvalsund.no", 0}, #line 3359 "effective_tld_names.gperf" {"vv.it", 0}, #line 3642 "effective_tld_names.gperf" {"zhitomir.ua", 0}, #line 2936 "effective_tld_names.gperf" {"skoczow.pl", 0}, #line 2748 "effective_tld_names.gperf" {"ri.us", 0}, #line 1537 "effective_tld_names.gperf" {"ivano-frankivsk.ua", 0}, #line 3322 "effective_tld_names.gperf" {"vi.us", 0}, #line 2708 "effective_tld_names.gperf" {"raholt.no", 0}, #line 2760 "effective_tld_names.gperf" {"rm.it", 0}, #line 1217 "effective_tld_names.gperf" {"gov.iq", 0}, #line 1960 "effective_tld_names.gperf" {"miyazaki.jp", 2}, #line 3613 "effective_tld_names.gperf" {"yamaguchi.jp", 2}, #line 848 "effective_tld_names.gperf" {"edu.iq", 0}, #line 3129 "effective_tld_names.gperf" {"tmp.br", 0}, #line 2141 "effective_tld_names.gperf" {"net.iq", 0}, #line 629 "effective_tld_names.gperf" {"com.iq", 0}, #line 2056 "effective_tld_names.gperf" {"name.tj", 0}, #line 2896 "effective_tld_names.gperf" {"sex.pl", 0}, #line 284 "effective_tld_names.gperf" {"bari.it", 0}, #line 2264 "effective_tld_names.gperf" {"notaires.fr", 0}, #line 3558 "effective_tld_names.gperf" {"xn--sknit-yqa.no", 0}, #line 1832 "effective_tld_names.gperf" {"malselv.no", 0}, #line 3089 "effective_tld_names.gperf" {"tcm.museum", 0}, #line 1590 "effective_tld_names.gperf" {"k.bg", 0}, #line 798 "effective_tld_names.gperf" {"durham.museum", 0}, #line 386 "effective_tld_names.gperf" {"brasil.museum", 0}, #line 1735 "effective_tld_names.gperf" {"leasing.aero", 0}, #line 2794 "effective_tld_names.gperf" {"ryazan.ru", 0}, #line 3033 "effective_tld_names.gperf" {"stpetersburg.museum", 0}, #line 1373 "effective_tld_names.gperf" {"helsinki.museum", 0}, #line 2571 "effective_tld_names.gperf" {"pordenone.it", 0}, #line 266 "effective_tld_names.gperf" {"bahcavuotna.no", 0}, #line 2762 "effective_tld_names.gperf" {"rnd.ru", 0}, #line 2719 "effective_tld_names.gperf" {"rc.it", 0}, #line 1745 "effective_tld_names.gperf" {"leksvik.no", 0}, #line 3292 "effective_tld_names.gperf" {"vc.it", 0}, #line 1031 "effective_tld_names.gperf" {"flight.aero", 0}, #line 3076 "effective_tld_names.gperf" {"ta.it", 0}, #line 125 "effective_tld_names.gperf" {"alta.no", 0}, #line 73 "effective_tld_names.gperf" {"adygeya.ru", 0}, #line 3223 "effective_tld_names.gperf" {"uhren.museum", 0}, #line 753 "effective_tld_names.gperf" {"dallas.museum", 0}, #line 374 "effective_tld_names.gperf" {"bonn.museum", 0}, #line 2206 "effective_tld_names.gperf" {"newspaper.museum", 0}, #line 1064 "effective_tld_names.gperf" {"frei.no", 0}, #line 2348 "effective_tld_names.gperf" {"oregontrail.museum", 0}, #line 265 "effective_tld_names.gperf" {"baghdad.museum", 0}, #line 3516 "effective_tld_names.gperf" {"xn--mot-tla.no", 0}, #line 3157 "effective_tld_names.gperf" {"tr.no", 0}, #line 1952 "effective_tld_names.gperf" {"mill.museum", 0}, #line 2390 "effective_tld_names.gperf" {"org.iq", 0}, #line 735 "effective_tld_names.gperf" {"culture.museum", 0}, #line 3253 "effective_tld_names.gperf" {"usgarden.museum", 0}, #line 1072 "effective_tld_names.gperf" {"frosinone.it", 0}, #line 2914 "effective_tld_names.gperf" {"siena.it", 0}, #line 2500 "effective_tld_names.gperf" {"parachuting.aero", 0}, #line 3162 "effective_tld_names.gperf" {"tranby.no", 0}, #line 1990 "effective_tld_names.gperf" {"montreal.museum", 0}, #line 2052 "effective_tld_names.gperf" {"name.mk", 0}, #line 3615 "effective_tld_names.gperf" {"yamanashi.jp", 2}, #line 2050 "effective_tld_names.gperf" {"name.hr", 0}, #line 2049 "effective_tld_names.gperf" {"name.az", 0}, #line 2764 "effective_tld_names.gperf" {"rns.tn", 0}, #line 1607 "effective_tld_names.gperf" {"karlsoy.no", 0}, #line 988 "effective_tld_names.gperf" {"fermo.it", 0}, #line 3639 "effective_tld_names.gperf" {"zgora.pl", 0}, #line 2702 "effective_tld_names.gperf" {"ra.it", 0}, #line 3154 "effective_tld_names.gperf" {"tp.it", 0}, #line 3270 "effective_tld_names.gperf" {"va.it", 0}, #line 1667 "effective_tld_names.gperf" {"kr.com", 0}, #line 196 "effective_tld_names.gperf" {"artsandcrafts.museum", 0}, #line 3574 "effective_tld_names.gperf" {"xn--srum-gra.no", 0}, #line 2509 "effective_tld_names.gperf" {"pb.ao", 0}, #line 3637 "effective_tld_names.gperf" {"zaporizhzhe.ua", 0}, #line 2266 "effective_tld_names.gperf" {"notodden.no", 0}, #line 2747 "effective_tld_names.gperf" {"ri.it", 0}, #line 2234 "effective_tld_names.gperf" {"nnov.ru", 0}, #line 3321 "effective_tld_names.gperf" {"vi.it", 0}, #line 1599 "effective_tld_names.gperf" {"kaluga.ru", 0}, #line 1134 "effective_tld_names.gperf" {"gjerstad.no", 0}, #line 1785 "effective_tld_names.gperf" {"losangeles.museum", 0}, #line 122 "effective_tld_names.gperf" {"alesund.no", 0}, #line 3036 "effective_tld_names.gperf" {"stryn.no", 0}, #line 173 "effective_tld_names.gperf" {"architecture.museum", 0}, #line 1029 "effective_tld_names.gperf" {"flekkefjord.no", 0}, #line 2505 "effective_tld_names.gperf" {"parti.se", 0}, #line 3387 "effective_tld_names.gperf" {"wielun.pl", 0}, #line 2804 "effective_tld_names.gperf" {"sa.gov.au", 0}, #line 2660 "effective_tld_names.gperf" {"pro.ht", 0}, #line 3075 "effective_tld_names.gperf" {"t.se", 0}, #line 1080 "effective_tld_names.gperf" {"fundacio.museum", 0}, #line 3123 "effective_tld_names.gperf" {"tm.mc", 0}, #line 2841 "effective_tld_names.gperf" {"sauherad.no", 0}, #line 699 "effective_tld_names.gperf" {"consulting.aero", 0}, #line 3556 "effective_tld_names.gperf" {"xn--skjervy-v1a.no", 0}, #line 2073 "effective_tld_names.gperf" {"nativeamerican.museum", 0}, #line 3125 "effective_tld_names.gperf" {"tm.no", 0}, #line 286 "effective_tld_names.gperf" {"barlettaandriatrani.it", 0}, #line 285 "effective_tld_names.gperf" {"barletta-andria-trani.it", 0}, #line 3236 "effective_tld_names.gperf" {"union.aero", 0}, #line 2735 "effective_tld_names.gperf" {"rel.pl", 0}, #line 118 "effective_tld_names.gperf" {"alaheadju.no", 0}, #line 795 "effective_tld_names.gperf" {"drangedal.no", 0}, #line 3364 "effective_tld_names.gperf" {"wa.gov.au", 0}, #line 411 "effective_tld_names.gperf" {"burghof.museum", 0}, #line 219 "effective_tld_names.gperf" {"asso.ht", 0}, #line 1485 "effective_tld_names.gperf" {"info.ki", 0}, #line 1016 "effective_tld_names.gperf" {"firm.nf", 0}, #line 2918 "effective_tld_names.gperf" {"simbirsk.ru", 0}, #line 3544 "effective_tld_names.gperf" {"xn--rros-gra.no", 0}, #line 2746 "effective_tld_names.gperf" {"rg.it", 0}, #line 3169 "effective_tld_names.gperf" {"trd.br", 0}, #line 268 "effective_tld_names.gperf" {"bahn.museum", 0}, #line 1133 "effective_tld_names.gperf" {"gjerdrum.no", 0}, #line 977 "effective_tld_names.gperf" {"farm.museum", 0}, #line 1909 "effective_tld_names.gperf" {"midtre-gauldal.no", 0}, #line 2070 "effective_tld_names.gperf" {"national.museum", 0}, #line 2474 "effective_tld_names.gperf" {"ostrowiec.pl", 0}, #line 2524 "effective_tld_names.gperf" {"perugia.it", 0}, #line 2868 "effective_tld_names.gperf" {"scienceandindustry.museum", 0}, #line 1961 "effective_tld_names.gperf" {"mjondalen.no", 0}, #line 3360 "effective_tld_names.gperf" {"vyatka.ru", 0}, #line 1541 "effective_tld_names.gperf" {"iwate.jp", 2}, #line 367 "effective_tld_names.gperf" {"bodo.no", 0}, #line 2503 "effective_tld_names.gperf" {"parliament.uk", 1}, #line 307 "effective_tld_names.gperf" {"bellevue.museum", 0}, #line 262 "effective_tld_names.gperf" {"babia-gora.pl", 0}, #line 2701 "effective_tld_names.gperf" {"r.se", 0}, #line 3067 "effective_tld_names.gperf" {"sykkylven.no", 0}, #line 2826 "effective_tld_names.gperf" {"sandnessjoen.no", 0}, #line 3060 "effective_tld_names.gperf" {"sweden.museum", 0}, #line 1665 "effective_tld_names.gperf" {"kostroma.ru", 0}, #line 2935 "effective_tld_names.gperf" {"sklep.pl", 0}, #line 1803 "effective_tld_names.gperf" {"lukow.pl", 0}, #line 493 "effective_tld_names.gperf" {"chungnam.kr", 0}, #line 2290 "effective_tld_names.gperf" {"nuoro.it", 0}, #line 135 "effective_tld_names.gperf" {"american.museum", 0}, #line 799 "effective_tld_names.gperf" {"dyroy.no", 0}, #line 2902 "effective_tld_names.gperf" {"sherbrooke.museum", 0}, #line 1758 "effective_tld_names.gperf" {"lier.no", 0}, #line 1907 "effective_tld_names.gperf" {"midatlantic.museum", 0}, #line 3029 "effective_tld_names.gperf" {"store.nf", 0}, #line 3117 "effective_tld_names.gperf" {"tk", 0}, #line 2988 "effective_tld_names.gperf" {"spjelkavik.no", 0}, #line 3127 "effective_tld_names.gperf" {"tm.ro", 0}, #line 3584 "effective_tld_names.gperf" {"xn--troms-zua.no", 0}, #line 2938 "effective_tld_names.gperf" {"skole.museum", 0}, #line 2927 "effective_tld_names.gperf" {"skedsmokorset.no", 0}, #line 710 "effective_tld_names.gperf" {"copenhagen.museum", 0}, #line 3074 "effective_tld_names.gperf" {"t.bg", 0}, #line 1554 "effective_tld_names.gperf" {"jeonbuk.kr", 0}, #line 3444 "effective_tld_names.gperf" {"xn--finny-yua.no", 0}, #line 3473 "effective_tld_names.gperf" {"xn--io0a7i.cn", 0}, #line 2783 "effective_tld_names.gperf" {"royken.no", 0}, #line 1013 "effective_tld_names.gperf" {"firm.co", 0}, #line 64 "effective_tld_names.gperf" {"accident-investigation.aero", 0}, #line 1624 "effective_tld_names.gperf" {"kh", 2}, #line 1933 "effective_tld_names.gperf" {"mil.kz", 0}, #line 3144 "effective_tld_names.gperf" {"torino.it", 0}, #line 1604 "effective_tld_names.gperf" {"karate.museum", 0}, #line 788 "effective_tld_names.gperf" {"donetsk.ua", 0}, #line 750 "effective_tld_names.gperf" {"daejeon.kr", 0}, #line 2781 "effective_tld_names.gperf" {"rovigo.it", 0}, #line 2887 "effective_tld_names.gperf" {"selbu.no", 0}, #line 3603 "effective_tld_names.gperf" {"xn--yer-zna.no", 0}, #line 695 "effective_tld_names.gperf" {"conference.aero", 0}, #line 1574 "effective_tld_names.gperf" {"jorpeland.no", 0}, #line 380 "effective_tld_names.gperf" {"bozen.it", 0}, #line 3305 "effective_tld_names.gperf" {"verona.it", 0}, #line 3005 "effective_tld_names.gperf" {"starachowice.pl", 0}, #line 766 "effective_tld_names.gperf" {"delmenhorst.museum", 0}, #line 3262 "effective_tld_names.gperf" {"uvic.museum", 0}, #line 2706 "effective_tld_names.gperf" {"ragusa.it", 0}, #line 119 "effective_tld_names.gperf" {"aland.fi", 0}, #line 1130 "effective_tld_names.gperf" {"gildeskal.no", 0}, #line 140 "effective_tld_names.gperf" {"amot.no", 0}, #line 2737 "effective_tld_names.gperf" {"rennebu.no", 0}, #line 1492 "effective_tld_names.gperf" {"info.pr", 0}, #line 2646 "effective_tld_names.gperf" {"presse.ci", 0}, #line 1916 "effective_tld_names.gperf" {"mil.az", 0}, #line 1685 "effective_tld_names.gperf" {"kurgan.ru", 0}, #line 3478 "effective_tld_names.gperf" {"xn--kfjord-iua.no", 0}, #line 3118 "effective_tld_names.gperf" {"tl", 0}, #line 2700 "effective_tld_names.gperf" {"r.bg", 0}, #line 1850 "effective_tld_names.gperf" {"marylhurst.museum", 0}, #line 3268 "effective_tld_names.gperf" {"v.bg", 0}, #line 2937 "effective_tld_names.gperf" {"skodje.no", 0}, #line 913 "effective_tld_names.gperf" {"ehime.jp", 2}, #line 1631 "effective_tld_names.gperf" {"khv.ru", 0}, #line 2572 "effective_tld_names.gperf" {"porsanger.no", 0}, #line 98 "effective_tld_names.gperf" {"aichi.jp", 2}, #line 1175 "effective_tld_names.gperf" {"gouv.ci", 0}, #line 2745 "effective_tld_names.gperf" {"retina.ar", 1}, #line 2671 "effective_tld_names.gperf" {"przeworsk.pl", 0}, #line 194 "effective_tld_names.gperf" {"arts.nf", 0}, #line 3271 "effective_tld_names.gperf" {"va.no", 0}, #line 1552 "effective_tld_names.gperf" {"jeju.kr", 0}, #line 470 "effective_tld_names.gperf" {"championship.aero", 0}, #line 2740 "effective_tld_names.gperf" {"res.aero", 0}, #line 1742 "effective_tld_names.gperf" {"leirfjord.no", 0}, #line 1140 "effective_tld_names.gperf" {"gliding.aero", 0}, #line 3618 "effective_tld_names.gperf" {"yekaterinburg.ru", 0}, #line 1594 "effective_tld_names.gperf" {"kafjord.no", 0}, #line 933 "effective_tld_names.gperf" {"engerdal.no", 0}, #line 1699 "effective_tld_names.gperf" {"kw", 2}, #line 3231 "effective_tld_names.gperf" {"ulsan.kr", 0}, #line 1497 "effective_tld_names.gperf" {"info.vn", 0}, #line 2689 "effective_tld_names.gperf" {"pyatigorsk.ru", 0}, #line 1740 "effective_tld_names.gperf" {"legnica.pl", 0}, #line 787 "effective_tld_names.gperf" {"dolls.museum", 0}, #line 193 "effective_tld_names.gperf" {"arts.museum", 0}, #line 3490 "effective_tld_names.gperf" {"xn--l-1fa.no", 0}, #line 3300 "effective_tld_names.gperf" {"venice.it", 0}, #line 1085 "effective_tld_names.gperf" {"fylkesbibl.no", 0}, #line 2541 "effective_tld_names.gperf" {"piacenza.it", 0}, #line 1330 "effective_tld_names.gperf" {"guovdageaidnu.no", 0}, #line 3504 "effective_tld_names.gperf" {"xn--lt-liac.no", 0}, #line 1001 "effective_tld_names.gperf" {"field.museum", 0}, #line 1433 "effective_tld_names.gperf" {"hyogo.jp", 2}, #line 475 "effective_tld_names.gperf" {"chelyabinsk.ru", 0}, #line 1005 "effective_tld_names.gperf" {"film.museum", 0}, #line 3045 "effective_tld_names.gperf" {"suli.hu", 0}, #line 3298 "effective_tld_names.gperf" {"vegarshei.no", 0}, #line 929 "effective_tld_names.gperf" {"encyclopedic.museum", 0}, #line 2555 "effective_tld_names.gperf" {"plaza.museum", 0}, #line 3124 "effective_tld_names.gperf" {"tm.mg", 0}, #line 1491 "effective_tld_names.gperf" {"info.pl", 0}, #line 696 "effective_tld_names.gperf" {"congresodelalengua3.ar", 1}, #line 1357 "effective_tld_names.gperf" {"hanggliding.aero", 0}, #line 3316 "effective_tld_names.gperf" {"vevelstad.no", 0}, #line 2573 "effective_tld_names.gperf" {"porsangu.no", 0}, #line 3209 "effective_tld_names.gperf" {"tysnes.no", 0}, #line 1575 "effective_tld_names.gperf" {"joshkar-ola.ru", 0}, #line 706 "effective_tld_names.gperf" {"coop.ht", 0}, #line 1487 "effective_tld_names.gperf" {"info.na", 0}, #line 3086 "effective_tld_names.gperf" {"tatarstan.ru", 0}, #line 2569 "effective_tld_names.gperf" {"pomorskie.pl", 0}, #line 3550 "effective_tld_names.gperf" {"xn--s-1fa.no", 0}, #line 2675 "effective_tld_names.gperf" {"pskov.ru", 0}, #line 3145 "effective_tld_names.gperf" {"torino.museum", 0}, #line 1888 "effective_tld_names.gperf" {"medizinhistorisches.museum", 0}, #line 474 "effective_tld_names.gperf" {"cheltenham.museum", 0}, #line 3172 "effective_tld_names.gperf" {"trento.it", 0}, #line 192 "effective_tld_names.gperf" {"arts.co", 0}, #line 214 "effective_tld_names.gperf" {"assn.lk", 0}, #line 1606 "effective_tld_names.gperf" {"karikatur.museum", 0}, #line 1551 "effective_tld_names.gperf" {"jefferson.museum", 0}, #line 3211 "effective_tld_names.gperf" {"tyumen.ru", 0}, #line 3171 "effective_tld_names.gperf" {"trentino.it", 0}, #line 2533 "effective_tld_names.gperf" {"pharmaciens.km", 0}, #line 2837 "effective_tld_names.gperf" {"saskatchewan.museum", 0}, #line 2772 "effective_tld_names.gperf" {"rollag.no", 0}, #line 2330 "effective_tld_names.gperf" {"opole.pl", 0}, #line 2103 "effective_tld_names.gperf" {"nesodden.no", 0}, #line 443 "effective_tld_names.gperf" {"cargo.aero", 0}, #line 1625 "effective_tld_names.gperf" {"kh.ua", 0}, #line 1017 "effective_tld_names.gperf" {"firm.ro", 0}, #line 136 "effective_tld_names.gperf" {"americana.museum", 0}, #line 1532 "effective_tld_names.gperf" {"isla.pr", 0}, #line 366 "effective_tld_names.gperf" {"bo.telemark.no", 0}, #line 2496 "effective_tld_names.gperf" {"paleo.museum", 0}, #line 2991 "effective_tld_names.gperf" {"spydeberg.no", 0}, #line 3008 "effective_tld_names.gperf" {"starostwo.gov.pl", 0}, #line 3166 "effective_tld_names.gperf" {"travel", 0}, #line 1744 "effective_tld_names.gperf" {"leka.no", 0}, #line 3593 "effective_tld_names.gperf" {"xn--vestvgy-ixa6o.no", 0}, #line 3385 "effective_tld_names.gperf" {"whaling.museum", 0}, #line 3606 "effective_tld_names.gperf" {"xn--zf0ao64a.tw", 0}, #line 2788 "effective_tld_names.gperf" {"ru.com", 0}, #line 2221 "effective_tld_names.gperf" {"nieruchomosci.pl", 0}, #line 746 "effective_tld_names.gperf" {"czest.pl", 0}, #line 3311 "effective_tld_names.gperf" {"vestre-toten.no", 0}, #line 764 "effective_tld_names.gperf" {"defense.tn", 0}, #line 138 "effective_tld_names.gperf" {"americanart.museum", 0}, #line 1563 "effective_tld_names.gperf" {"jfk.museum", 0}, #line 3436 "effective_tld_names.gperf" {"xn--comunicaes-v6a2o.museum", 0}, #line 3210 "effective_tld_names.gperf" {"tysvar.no", 0}, #line 2575 "effective_tld_names.gperf" {"port.fr", 0}, #line 3308 "effective_tld_names.gperf" {"vestby.no", 0}, #line 3548 "effective_tld_names.gperf" {"xn--ryken-vua.no", 0}, #line 3414 "effective_tld_names.gperf" {"xn--asky-ira.no", 0}, #line 3515 "effective_tld_names.gperf" {"xn--mosjen-eya.no", 0}, #line 3106 "effective_tld_names.gperf" {"th", 0}, #line 3163 "effective_tld_names.gperf" {"tranoy.no", 0}, #line 283 "effective_tld_names.gperf" {"bardu.no", 0}, #line 355 "effective_tld_names.gperf" {"bjugn.no", 0}, #line 1453 "effective_tld_names.gperf" {"ilawa.pl", 0}, #line 310 "effective_tld_names.gperf" {"berg.no", 0}, #line 2984 "effective_tld_names.gperf" {"southwest.museum", 0}, #line 3502 "effective_tld_names.gperf" {"xn--lrdal-sra.no", 0}, #line 2251 "effective_tld_names.gperf" {"nome.pt", 0}, #line 1392 "effective_tld_names.gperf" {"historyofscience.museum", 0}, #line 1760 "effective_tld_names.gperf" {"lillehammer.no", 0}, #line 2548 "effective_tld_names.gperf" {"pittsburgh.museum", 0}, #line 3024 "effective_tld_names.gperf" {"stockholm.museum", 0}, #line 3168 "effective_tld_names.gperf" {"travel.tt", 0}, #line 1560 "effective_tld_names.gperf" {"jewelry.museum", 0}, #line 3293 "effective_tld_names.gperf" {"vdonsk.ru", 0}, #line 3022 "effective_tld_names.gperf" {"stjordal.no", 0}, #line 2317 "effective_tld_names.gperf" {"olawa.pl", 0}, #line 3573 "effective_tld_names.gperf" {"xn--srreisa-q1a.no", 0}, #line 3417 "effective_tld_names.gperf" {"xn--b-5ga.nordland.no", 0}, #line 2998 "effective_tld_names.gperf" {"sshn.se", 0}, #line 745 "effective_tld_names.gperf" {"czeladz.pl", 0}, #line 2932 "effective_tld_names.gperf" {"skiptvet.no", 0}, #line 273 "effective_tld_names.gperf" {"bale.museum", 0}, #line 1928 "effective_tld_names.gperf" {"mil.iq", 0}, #line 3150 "effective_tld_names.gperf" {"tourism.tn", 0}, #line 3496 "effective_tld_names.gperf" {"xn--lesund-hua.no", 0}, #line 245 "effective_tld_names.gperf" {"auto.pl", 0}, #line 1474 "effective_tld_names.gperf" {"indianapolis.museum", 0}, #line 2738 "effective_tld_names.gperf" {"rennesoy.no", 0}, #line 688 "effective_tld_names.gperf" {"communication.museum", 0}, #line 3072 "effective_tld_names.gperf" {"szex.hu", 0}, #line 3319 "effective_tld_names.gperf" {"vgs.no", 0}, #line 2824 "effective_tld_names.gperf" {"sandiego.museum", 0}, #line 3562 "effective_tld_names.gperf" {"xn--smla-hra.no", 0}, #line 3229 "effective_tld_names.gperf" {"ullensvang.no", 0}, #line 1898 "effective_tld_names.gperf" {"metro.tokyo.jp", 1}, #line 2751 "effective_tld_names.gperf" {"rimini.it", 0}, #line 3160 "effective_tld_names.gperf" {"trainer.aero", 0}, #line 3545 "effective_tld_names.gperf" {"xn--rskog-uua.no", 0}, #line 2770 "effective_tld_names.gperf" {"rockart.museum", 0}, #line 1804 "effective_tld_names.gperf" {"lund.no", 0}, #line 1905 "effective_tld_names.gperf" {"michigan.museum", 0}, #line 3202 "effective_tld_names.gperf" {"tw", 0}, #line 3051 "effective_tld_names.gperf" {"surnadal.no", 0}, #line 3346 "effective_tld_names.gperf" {"voagat.no", 0}, #line 2523 "effective_tld_names.gperf" {"perso.tn", 0}, #line 255 "effective_tld_names.gperf" {"axis.museum", 0}, #line 689 "effective_tld_names.gperf" {"communications.museum", 0}, #line 3394 "effective_tld_names.gperf" {"wodzislaw.pl", 0}, #line 807 "effective_tld_names.gperf" {"ebiz.tw", 0}, #line 195 "effective_tld_names.gperf" {"arts.ro", 0}, #line 683 "effective_tld_names.gperf" {"com.uz", 0}, #line 2838 "effective_tld_names.gperf" {"sassari.it", 0}, #line 2778 "effective_tld_names.gperf" {"roros.no", 0}, #line 2651 "effective_tld_names.gperf" {"priv.at", 0}, #line 3557 "effective_tld_names.gperf" {"xn--skjk-soa.no", 0}, #line 3301 "effective_tld_names.gperf" {"vennesla.no", 0}, #line 333 "effective_tld_names.gperf" {"bill.museum", 0}, #line 469 "effective_tld_names.gperf" {"chambagri.fr", 0}, #line 2741 "effective_tld_names.gperf" {"res.in", 0}, #line 2645 "effective_tld_names.gperf" {"press.se", 0}, #line 1977 "effective_tld_names.gperf" {"mobi.na", 0}, #line 318 "effective_tld_names.gperf" {"beskidy.pl", 0}, #line 3373 "effective_tld_names.gperf" {"washingtondc.museum", 0}, #line 3047 "effective_tld_names.gperf" {"sund.no", 0}, #line 3185 "effective_tld_names.gperf" {"tsaritsyn.ru", 0}, #line 3422 "effective_tld_names.gperf" {"xn--bhcavuotna-s4a.no", 0}, #line 796 "effective_tld_names.gperf" {"drobak.no", 0}, #line 2956 "effective_tld_names.gperf" {"so.gov.pl", 0}, #line 1612 "effective_tld_names.gperf" {"katowice.pl", 0}, #line 1077 "effective_tld_names.gperf" {"fukui.jp", 2}, #line 1997 "effective_tld_names.gperf" {"moss.no", 0}, #line 2297 "effective_tld_names.gperf" {"nysa.pl", 0}, #line 3287 "effective_tld_names.gperf" {"varese.it", 0}, #line 1014 "effective_tld_names.gperf" {"firm.ht", 0}, #line 2525 "effective_tld_names.gperf" {"pesaro-urbino.it", 0}, #line 693 "effective_tld_names.gperf" {"computerhistory.museum", 0}, #line 1897 "effective_tld_names.gperf" {"messina.it", 0}, #line 2994 "effective_tld_names.gperf" {"sr.gov.pl", 0}, #line 2475 "effective_tld_names.gperf" {"ostrowwlkp.pl", 0}, #line 2793 "effective_tld_names.gperf" {"rw", 0}, #line 1652 "effective_tld_names.gperf" {"koenig.ru", 0}, #line 1086 "effective_tld_names.gperf" {"fyresdal.no", 0}, #line 128 "effective_tld_names.gperf" {"altoadige.it", 0}, #line 2526 "effective_tld_names.gperf" {"pesarourbino.it", 0}, #line 2648 "effective_tld_names.gperf" {"presse.km", 0}, #line 1074 "effective_tld_names.gperf" {"froya.no", 0}, #line 2728 "effective_tld_names.gperf" {"recreation.aero", 0}, #line 3061 "effective_tld_names.gperf" {"swidnica.pl", 0}, #line 3081 "effective_tld_names.gperf" {"taranto.it", 0}, #line 3309 "effective_tld_names.gperf" {"vestnes.no", 0}, #line 1589 "effective_tld_names.gperf" {"k-uralsk.ru", 0}, #line 2506 "effective_tld_names.gperf" {"pasadena.museum", 0}, #line 3186 "effective_tld_names.gperf" {"tsk.ru", 0}, #line 2981 "effective_tld_names.gperf" {"sosnowiec.pl", 0}, #line 3011 "effective_tld_names.gperf" {"stateofdelaware.museum", 0}, #line 3259 "effective_tld_names.gperf" {"utah.museum", 0}, #line 3505 "effective_tld_names.gperf" {"xn--lten-gra.no", 0}, #line 3455 "effective_tld_names.gperf" {"xn--gls-elac.no", 0}, #line 388 "effective_tld_names.gperf" {"brescia.it", 0}, #line 3103 "effective_tld_names.gperf" {"tf", 0}, #line 1694 "effective_tld_names.gperf" {"kvanangen.no", 0}, #line 1680 "effective_tld_names.gperf" {"kuban.ru", 0}, #line 3388 "effective_tld_names.gperf" {"wiki.br", 0}, #line 3591 "effective_tld_names.gperf" {"xn--vard-jra.no", 0}, #line 777 "effective_tld_names.gperf" {"divtasvuodna.no", 0}, #line 3590 "effective_tld_names.gperf" {"xn--vads-jra.no", 0}, #line 1204 "effective_tld_names.gperf" {"gov.dz", 0}, #line 834 "effective_tld_names.gperf" {"edu.dz", 0}, #line 2055 "effective_tld_names.gperf" {"name.pr", 0}, #line 2128 "effective_tld_names.gperf" {"net.dz", 0}, #line 2473 "effective_tld_names.gperf" {"ostroleka.pl", 0}, #line 215 "effective_tld_names.gperf" {"asso.ci", 0}, #line 784 "effective_tld_names.gperf" {"dnepropetrovsk.ua", 0}, #line 612 "effective_tld_names.gperf" {"com.dz", 0}, #line 2903 "effective_tld_names.gperf" {"shiga.jp", 2}, #line 3513 "effective_tld_names.gperf" {"xn--mlselv-iua.no", 0}, #line 1619 "effective_tld_names.gperf" {"kemerovo.ru", 0}, #line 1142 "effective_tld_names.gperf" {"glogow.pl", 0}, #line 1486 "effective_tld_names.gperf" {"info.la", 0}, #line 755 "effective_tld_names.gperf" {"davvenjarga.no", 0}, #line 3566 "effective_tld_names.gperf" {"xn--snes-poa.no", 0}, #line 3410 "effective_tld_names.gperf" {"xn--55qx5d.hk", 0}, #line 326 "effective_tld_names.gperf" {"bialystok.pl", 0}, #line 371 "effective_tld_names.gperf" {"bolt.hu", 0}, #line 2790 "effective_tld_names.gperf" {"ruovat.no", 0}, #line 2809 "effective_tld_names.gperf" {"saitama.jp", 2}, #line 790 "effective_tld_names.gperf" {"donostia.museum", 0}, #line 3161 "effective_tld_names.gperf" {"trana.no", 0}, #line 2816 "effective_tld_names.gperf" {"salvadordali.museum", 0}, #line 3555 "effective_tld_names.gperf" {"xn--skierv-uta.no", 0}, #line 2225 "effective_tld_names.gperf" {"nittedal.no", 0}, #line 1135 "effective_tld_names.gperf" {"gjesdal.no", 0}, #line 3448 "effective_tld_names.gperf" {"xn--frde-gra.no", 0}, #line 2058 "effective_tld_names.gperf" {"name.vn", 0}, #line 1637 "effective_tld_names.gperf" {"kirov.ru", 0}, #line 1561 "effective_tld_names.gperf" {"jewish.museum", 0}, #line 1334 "effective_tld_names.gperf" {"gwangju.kr", 0}, #line 1906 "effective_tld_names.gperf" {"microlight.aero", 0}, #line 3206 "effective_tld_names.gperf" {"tydal.no", 0}, #line 2532 "effective_tld_names.gperf" {"pharmacien.fr", 0}, #line 3431 "effective_tld_names.gperf" {"xn--brnny-wuac.no", 0}, #line 2871 "effective_tld_names.gperf" {"sciencehistory.museum", 0}, #line 2522 "effective_tld_names.gperf" {"perso.ht", 0}, #line 2045 "effective_tld_names.gperf" {"naklo.pl", 0}, #line 2373 "effective_tld_names.gperf" {"org.dz", 0}, #line 3063 "effective_tld_names.gperf" {"swinoujscie.pl", 0}, #line 1353 "effective_tld_names.gperf" {"hamburg.museum", 0}, #line 2974 "effective_tld_names.gperf" {"sor-odal.no", 0}, #line 751 "effective_tld_names.gperf" {"dagestan.ru", 0}, #line 1608 "effective_tld_names.gperf" {"karmoy.no", 0}, #line 767 "effective_tld_names.gperf" {"denmark.museum", 0}, #line 1286 "effective_tld_names.gperf" {"grandrapids.museum", 0}, #line 94 "effective_tld_names.gperf" {"agro.pl", 0}, #line 409 "effective_tld_names.gperf" {"budejju.no", 0}, #line 222 "effective_tld_names.gperf" {"asso.re", 0}, #line 2538 "effective_tld_names.gperf" {"phoenix.museum", 0}, #line 3393 "effective_tld_names.gperf" {"wloclawek.pl", 0}, #line 920 "effective_tld_names.gperf" {"eisenbahn.museum", 0}, #line 3053 "effective_tld_names.gperf" {"suwalki.pl", 0}, #line 697 "effective_tld_names.gperf" {"consulado.st", 0}, #line 1621 "effective_tld_names.gperf" {"ketrzyn.pl", 0}, #line 2654 "effective_tld_names.gperf" {"priv.no", 0}, #line 3284 "effective_tld_names.gperf" {"vantaa.museum", 0}, #line 947 "effective_tld_names.gperf" {"erotika.hu", 0}, #line 1670 "effective_tld_names.gperf" {"kraanghke.no", 0}, #line 3113 "effective_tld_names.gperf" {"tj", 0}, #line 2508 "effective_tld_names.gperf" {"pavia.it", 0}, #line 3338 "effective_tld_names.gperf" {"viterbo.it", 0}, #line 3508 "effective_tld_names.gperf" {"xn--merker-kua.no", 0}, #line 2054 "effective_tld_names.gperf" {"name.na", 0}, #line 2581 "effective_tld_names.gperf" {"powiat.pl", 0}, #line 3547 "effective_tld_names.gperf" {"xn--rsta-fra.no", 0}, #line 3564 "effective_tld_names.gperf" {"xn--snase-nra.no", 0}, #line 3583 "effective_tld_names.gperf" {"xn--trna-woa.no", 0}, #line 3582 "effective_tld_names.gperf" {"xn--trgstad-r1a.no", 0}, #line 341 "effective_tld_names.gperf" {"biz.az", 0}, #line 3453 "effective_tld_names.gperf" {"xn--givuotna-8ya.no", 0}, #line 2643 "effective_tld_names.gperf" {"press.ma", 0}, #line 3446 "effective_tld_names.gperf" {"xn--fl-zia.no", 0}, #line 3179 "effective_tld_names.gperf" {"tromso.no", 0}, #line 3500 "effective_tld_names.gperf" {"xn--lns-qla.museum", 0}, #line 2710 "effective_tld_names.gperf" {"railway.museum", 0}, #line 2759 "effective_tld_names.gperf" {"rl.no", 0}, #line 3197 "effective_tld_names.gperf" {"tv.br", 0}, #line 1295 "effective_tld_names.gperf" {"groundhandling.aero", 0}, #line 1004 "effective_tld_names.gperf" {"film.hu", 0}, #line 183 "effective_tld_names.gperf" {"art.dz", 0}, #line 2859 "effective_tld_names.gperf" {"schlesisches.museum", 0}, #line 1719 "effective_tld_names.gperf" {"lans.museum", 0}, #line 3601 "effective_tld_names.gperf" {"xn--vry-yla5g.no", 0}, #line 234 "effective_tld_names.gperf" {"audnedaln.no", 0}, #line 3531 "effective_tld_names.gperf" {"xn--porsgu-sta26f.no", 0}, #line 480 "effective_tld_names.gperf" {"chiba.jp", 2}, #line 3178 "effective_tld_names.gperf" {"tromsa.no", 0}, #line 3621 "effective_tld_names.gperf" {"yokohama.jp", 2}, #line 3390 "effective_tld_names.gperf" {"williamsburg.museum", 0}, #line 3435 "effective_tld_names.gperf" {"xn--ciqpn.hk", 0}, #line 3440 "effective_tld_names.gperf" {"xn--dnna-gra.no", 0}, #line 2472 "effective_tld_names.gperf" {"ostroda.pl", 0}, #line 2079 "effective_tld_names.gperf" {"naturhistorisches.museum", 0}, #line 124 "effective_tld_names.gperf" {"alstahaug.no", 0}, #line 1068 "effective_tld_names.gperf" {"frog.museum", 0}, #line 3366 "effective_tld_names.gperf" {"wakayama.jp", 2}, #line 3479 "effective_tld_names.gperf" {"xn--klbu-woa.no", 0}, #line 2810 "effective_tld_names.gperf" {"sakhalin.ru", 0}, #line 368 "effective_tld_names.gperf" {"bokn.no", 0}, #line 3288 "effective_tld_names.gperf" {"varggat.no", 0}, #line 2222 "effective_tld_names.gperf" {"niigata.jp", 2}, #line 946 "effective_tld_names.gperf" {"erotica.hu", 0}, #line 2301 "effective_tld_names.gperf" {"oceanographic.museum", 0}, #line 3096 "effective_tld_names.gperf" {"television.museum", 0}, #line 2644 "effective_tld_names.gperf" {"press.museum", 0}, #line 529 "effective_tld_names.gperf" {"club.tw", 0}, #line 3146 "effective_tld_names.gperf" {"torsken.no", 0}, #line 473 "effective_tld_names.gperf" {"chel.ru", 0}, #line 1840 "effective_tld_names.gperf" {"marburg.museum", 0}, #line 2895 "effective_tld_names.gperf" {"sex.hu", 0}, #line 486 "effective_tld_names.gperf" {"chiropractic.museum", 0}, #line 3392 "effective_tld_names.gperf" {"wlocl.pl", 0}, #line 2545 "effective_tld_names.gperf" {"pisa.it", 0}, #line 117 "effective_tld_names.gperf" {"alabama.museum", 0}, #line 1384 "effective_tld_names.gperf" {"hiroshima.jp", 2}, #line 2578 "effective_tld_names.gperf" {"portlligat.museum", 0}, #line 1829 "effective_tld_names.gperf" {"malbork.pl", 0}, #line 2080 "effective_tld_names.gperf" {"natuurwetenschappen.museum", 0}, #line 3483 "effective_tld_names.gperf" {"xn--krdsherad-m8a.no", 0}, #line 3575 "effective_tld_names.gperf" {"xn--stjrdal-s1a.no", 0}, #line 3442 "effective_tld_names.gperf" {"xn--dyry-ira.no", 0}, #line 3577 "effective_tld_names.gperf" {"xn--stre-toten-zcb.no", 0}, #line 1812 "effective_tld_names.gperf" {"lviv.ua", 0}, #line 797 "effective_tld_names.gperf" {"dudinka.ru", 0}, #line 1695 "effective_tld_names.gperf" {"kvinesdal.no", 0}, #line 2786 "effective_tld_names.gperf" {"rs.ba", 0}, #line 3522 "effective_tld_names.gperf" {"xn--nry-yla5g.no", 0}, #line 2784 "effective_tld_names.gperf" {"royrvik.no", 0}, #line 3120 "effective_tld_names.gperf" {"tm.fr", 0}, #line 3570 "effective_tld_names.gperf" {"xn--sr-odal-q1a.no", 0}, #line 1615 "effective_tld_names.gperf" {"kazan.ru", 0}, #line 1854 "effective_tld_names.gperf" {"massacarrara.it", 0}, #line 239 "effective_tld_names.gperf" {"aurskog-holand.no", 0}, #line 924 "effective_tld_names.gperf" {"elvendrell.museum", 0}, #line 2842 "effective_tld_names.gperf" {"savannahga.museum", 0}, #line 305 "effective_tld_names.gperf" {"belau.pw", 0}, #line 240 "effective_tld_names.gperf" {"austevoll.no", 0}, #line 1989 "effective_tld_names.gperf" {"monticello.museum", 0}, #line 2493 "effective_tld_names.gperf" {"padua.it", 0}, #line 1362 "effective_tld_names.gperf" {"harvestcelebration.museum", 0}, #line 3143 "effective_tld_names.gperf" {"topology.museum", 0}, #line 1490 "effective_tld_names.gperf" {"info.pk", 0}, #line 2527 "effective_tld_names.gperf" {"pescara.it", 0}, #line 1957 "effective_tld_names.gperf" {"missile.museum", 0}, #line 2931 "effective_tld_names.gperf" {"skierva.no", 0}, #line 1386 "effective_tld_names.gperf" {"historical.museum", 0}, #line 1389 "effective_tld_names.gperf" {"historisch.museum", 0}, #line 3472 "effective_tld_names.gperf" {"xn--indery-fya.no", 0}, #line 3529 "effective_tld_names.gperf" {"xn--ostery-fya.no", 0}, #line 2867 "effective_tld_names.gperf" {"scienceandhistory.museum", 0}, #line 1671 "effective_tld_names.gperf" {"kragero.no", 0}, #line 2501 "effective_tld_names.gperf" {"paragliding.aero", 0}, #line 1681 "effective_tld_names.gperf" {"kumamoto.jp", 2}, #line 3530 "effective_tld_names.gperf" {"xn--osyro-wua.no", 0}, #line 3128 "effective_tld_names.gperf" {"tm.se", 0}, #line 418 "effective_tld_names.gperf" {"bydgoszcz.pl", 0}, #line 263 "effective_tld_names.gperf" {"badaddja.no", 0}, #line 3233 "effective_tld_names.gperf" {"um.gov.pl", 0}, #line 2647 "effective_tld_names.gperf" {"presse.fr", 0}, #line 3032 "effective_tld_names.gperf" {"storfjord.no", 0}, #line 1390 "effective_tld_names.gperf" {"historisches.museum", 0}, #line 3375 "effective_tld_names.gperf" {"watchandclock.museum", 0}, #line 3491 "effective_tld_names.gperf" {"xn--laheadju-7ya.no", 0}, #line 483 "effective_tld_names.gperf" {"children.museum", 0}, #line 1838 "effective_tld_names.gperf" {"mantova.it", 0}, #line 2820 "effective_tld_names.gperf" {"sande.more-og-romsdal.no", 0}, #line 3607 "effective_tld_names.gperf" {"xn--zf0avx.hk", 0}, #line 2590 "effective_tld_names.gperf" {"prato.it", 0}, #line 1636 "effective_tld_names.gperf" {"kirkenes.no", 0}, #line 1138 "effective_tld_names.gperf" {"glas.museum", 0}, #line 1826 "effective_tld_names.gperf" {"mail.pl", 0}, #line 3207 "effective_tld_names.gperf" {"tynset.no", 0}, #line 2734 "effective_tld_names.gperf" {"rel.ht", 0}, #line 3276 "effective_tld_names.gperf" {"vagan.no", 0}, #line 3324 "effective_tld_names.gperf" {"vibovalentia.it", 0}, #line 152 "effective_tld_names.gperf" {"annefrank.museum", 0}, #line 3304 "effective_tld_names.gperf" {"verdal.no", 0}, #line 2201 "effective_tld_names.gperf" {"newhampshire.museum", 0}, #line 1071 "effective_tld_names.gperf" {"from.hr", 0}, #line 484 "effective_tld_names.gperf" {"childrens.museum", 0}, #line 2543 "effective_tld_names.gperf" {"pilot.aero", 0}, #line 3523 "effective_tld_names.gperf" {"xn--nttery-byae.no", 0}, #line 2314 "effective_tld_names.gperf" {"okinawa.jp", 2}, #line 2521 "effective_tld_names.gperf" {"perm.ru", 0}, #line 216 "effective_tld_names.gperf" {"asso.dz", 0}, #line 2941 "effective_tld_names.gperf" {"slask.pl", 0}, #line 1689 "effective_tld_names.gperf" {"kuzbass.ru", 0}, #line 171 "effective_tld_names.gperf" {"archaeological.museum", 0}, #line 412 "effective_tld_names.gperf" {"buryatia.ru", 0}, #line 2546 "effective_tld_names.gperf" {"pistoia.it", 0}, #line 1043 "effective_tld_names.gperf" {"folkebibl.no", 0}, #line 1582 "effective_tld_names.gperf" {"judaica.museum", 0}, #line 1388 "effective_tld_names.gperf" {"historichouses.museum", 0}, #line 2757 "effective_tld_names.gperf" {"risor.no", 0}, #line 2504 "effective_tld_names.gperf" {"parma.it", 0}, #line 1809 "effective_tld_names.gperf" {"luxembourg.museum", 0}, #line 3560 "effective_tld_names.gperf" {"xn--slat-5na.no", 0}, #line 3646 "effective_tld_names.gperf" {"zoological.museum", 0}, #line 3538 "effective_tld_names.gperf" {"xn--rholt-mra.no", 0}, #line 354 "effective_tld_names.gperf" {"bjerkreim.no", 0}, #line 3228 "effective_tld_names.gperf" {"ullensaker.no", 0}, #line 733 "effective_tld_names.gperf" {"cultural.museum", 0}, #line 756 "effective_tld_names.gperf" {"davvesiida.no", 0}, #line 3191 "effective_tld_names.gperf" {"turen.tn", 0}, #line 1595 "effective_tld_names.gperf" {"kagawa.jp", 2}, #line 2026 "effective_tld_names.gperf" {"museumvereniging.museum", 0}, #line 1076 "effective_tld_names.gperf" {"fuel.aero", 0}, #line 3569 "effective_tld_names.gperf" {"xn--sr-fron-q1a.no", 0}, #line 3471 "effective_tld_names.gperf" {"xn--hylandet-54a.no", 0}, #line 2753 "effective_tld_names.gperf" {"ringebu.no", 0}, #line 3581 "effective_tld_names.gperf" {"xn--trany-yua.no", 0}, #line 3579 "effective_tld_names.gperf" {"xn--tn0ag.hk", 0}, #line 3460 "effective_tld_names.gperf" {"xn--hbmer-xqa.no", 0}, #line 2296 "effective_tld_names.gperf" {"nyny.museum", 0}, #line 3315 "effective_tld_names.gperf" {"veterinaire.km", 0}, #line 1629 "effective_tld_names.gperf" {"kherson.ua", 0}, #line 3510 "effective_tld_names.gperf" {"xn--mk0axi.hk", 0}, #line 1141 "effective_tld_names.gperf" {"gliwice.pl", 0}, #line 3234 "effective_tld_names.gperf" {"unbi.ba", 0}, #line 3329 "effective_tld_names.gperf" {"vik.no", 0}, #line 726 "effective_tld_names.gperf" {"crew.aero", 0}, #line 3514 "effective_tld_names.gperf" {"xn--moreke-jua.no", 0}, #line 3203 "effective_tld_names.gperf" {"tw.cn", 0}, #line 3553 "effective_tld_names.gperf" {"xn--seral-lra.no", 0}, #line 3541 "effective_tld_names.gperf" {"xn--rland-uua.no", 0}, #line 3049 "effective_tld_names.gperf" {"surgeonshall.museum", 0}, #line 3303 "effective_tld_names.gperf" {"vercelli.it", 0}, #line 1970 "effective_tld_names.gperf" {"mo-i-rana.no", 0}, #line 3317 "effective_tld_names.gperf" {"vf.no", 0}, #line 3222 "effective_tld_names.gperf" {"ug.gov.pl", 0}, #line 330 "effective_tld_names.gperf" {"bieszczady.pl", 0}, #line 3594 "effective_tld_names.gperf" {"xn--vg-yiab.no", 0}, #line 3196 "effective_tld_names.gperf" {"tv.bo", 0}, #line 3273 "effective_tld_names.gperf" {"vaapste.no", 0}, #line 1992 "effective_tld_names.gperf" {"mordovia.ru", 0}, #line 2044 "effective_tld_names.gperf" {"nakhodka.ru", 0}, #line 299 "effective_tld_names.gperf" {"bearalvahki.no", 0}, #line 178 "effective_tld_names.gperf" {"arkhangelsk.ru", 0}, #line 1638 "effective_tld_names.gperf" {"kirovograd.ua", 0}, #line 2302 "effective_tld_names.gperf" {"oceanographique.museum", 0}, #line 3142 "effective_tld_names.gperf" {"tonsberg.no", 0}, #line 2782 "effective_tld_names.gperf" {"rovno.ua", 0}, #line 1627 "effective_tld_names.gperf" {"khakassia.ru", 0}, #line 137 "effective_tld_names.gperf" {"americanantiques.museum", 0}, #line 315 "effective_tld_names.gperf" {"berlevag.no", 0}, #line 303 "effective_tld_names.gperf" {"beeldengeluid.museum", 0}, #line 3418 "effective_tld_names.gperf" {"xn--b-5ga.telemark.no", 0}, #line 22 "effective_tld_names.gperf" {"6bone.pl", 0}, #line 2652 "effective_tld_names.gperf" {"priv.hu", 0}, #line 1569 "effective_tld_names.gperf" {"jobs.tt", 0}, #line 2716 "effective_tld_names.gperf" {"rauma.no", 0}, #line 3312 "effective_tld_names.gperf" {"vestvagoy.no", 0}, #line 2865 "effective_tld_names.gperf" {"science-fiction.museum", 0}, #line 1672 "effective_tld_names.gperf" {"krakow.pl", 0}, #line 581 "effective_tld_names.gperf" {"cody.museum", 0}, #line 2564 "effective_tld_names.gperf" {"podlasie.pl", 0}, #line 3290 "effective_tld_names.gperf" {"vb.it", 0}, #line 1377 "effective_tld_names.gperf" {"hemsedal.no", 0}, #line 2904 "effective_tld_names.gperf" {"shimane.jp", 2}, #line 2769 "effective_tld_names.gperf" {"rochester.museum", 0}, #line 3177 "effective_tld_names.gperf" {"trolley.museum", 0}, #line 2082 "effective_tld_names.gperf" {"naustdal.no", 0}, #line 2795 "effective_tld_names.gperf" {"rybnik.pl", 0}, #line 3480 "effective_tld_names.gperf" {"xn--koluokta-7ya57h.no", 0}, #line 2669 "effective_tld_names.gperf" {"promocion.ar", 1}, #line 1438 "effective_tld_names.gperf" {"ibaraki.jp", 2}, #line 3239 "effective_tld_names.gperf" {"unsa.ba", 0}, #line 734 "effective_tld_names.gperf" {"culturalcenter.museum", 0}, #line 2064 "effective_tld_names.gperf" {"nara.jp", 2}, #line 394 "effective_tld_names.gperf" {"broadcast.museum", 0}, #line 1032 "effective_tld_names.gperf" {"flog.br", 0}, #line 339 "effective_tld_names.gperf" {"birthplace.museum", 0}, #line 3174 "effective_tld_names.gperf" {"trieste.it", 0}, #line 3492 "effective_tld_names.gperf" {"xn--langevg-jxa.no", 0}, #line 1605 "effective_tld_names.gperf" {"karelia.ru", 0}, #line 3348 "effective_tld_names.gperf" {"volgograd.ru", 0}, #line 3349 "effective_tld_names.gperf" {"volkenkunde.museum", 0}, #line 1564 "effective_tld_names.gperf" {"jgora.pl", 0}, #line 3282 "effective_tld_names.gperf" {"valley.museum", 0}, #line 1129 "effective_tld_names.gperf" {"gifu.jp", 2}, #line 3423 "effective_tld_names.gperf" {"xn--bhccavuotna-k7a.no", 0}, #line 3165 "effective_tld_names.gperf" {"trapani.it", 0}, #line 489 "effective_tld_names.gperf" {"chocolate.museum", 0}, #line 1641 "effective_tld_names.gperf" {"klepp.no", 0}, #line 2311 "effective_tld_names.gperf" {"oita.jp", 2}, #line 3310 "effective_tld_names.gperf" {"vestre-slidre.no", 0}, #line 3114 "effective_tld_names.gperf" {"tj.cn", 0}, #line 2873 "effective_tld_names.gperf" {"sciencesnaturelles.museum", 0}, #line 3139 "effective_tld_names.gperf" {"tolga.no", 0}, #line 3152 "effective_tld_names.gperf" {"toyama.jp", 2}, #line 3542 "effective_tld_names.gperf" {"xn--rlingen-mxa.no", 0}, #line 2752 "effective_tld_names.gperf" {"rindal.no", 0}, #line 1861 "effective_tld_names.gperf" {"mbone.pl", 0}, #line 3595 "effective_tld_names.gperf" {"xn--vgan-qoa.no", 0}, #line 3326 "effective_tld_names.gperf" {"vic.gov.au", 0}, #line 3121 "effective_tld_names.gperf" {"tm.hu", 0}, #line 3093 "effective_tld_names.gperf" {"technology.museum", 0}, #line 3589 "effective_tld_names.gperf" {"xn--unjrga-rta.no", 0}, #line 2780 "effective_tld_names.gperf" {"rotorcraft.aero", 0}, #line 3289 "effective_tld_names.gperf" {"varoy.no", 0}, #line 3158 "effective_tld_names.gperf" {"trader.aero", 0}, #line 3587 "effective_tld_names.gperf" {"xn--uc0atv.tw", 0}, #line 969 "effective_tld_names.gperf" {"experts-comptables.fr", 0}, #line 2051 "effective_tld_names.gperf" {"name.jo", 0}, #line 1387 "effective_tld_names.gperf" {"historicalsociety.museum", 0}, #line 1654 "effective_tld_names.gperf" {"komforb.se", 0}, #line 1857 "effective_tld_names.gperf" {"matta-varjjat.no", 0}, #line 2498 "effective_tld_names.gperf" {"palmsprings.museum", 0}, #line 2796 "effective_tld_names.gperf" {"rygge.no", 0}, #line 3167 "effective_tld_names.gperf" {"travel.pl", 0}, #line 328 "effective_tld_names.gperf" {"bielawa.pl", 0}, #line 1686 "effective_tld_names.gperf" {"kursk.ru", 0}, #line 3281 "effective_tld_names.gperf" {"valle.no", 0}, #line 3498 "effective_tld_names.gperf" {"xn--lhppi-xqa.no", 0}, #line 3149 "effective_tld_names.gperf" {"tourism.pl", 0}, #line 3079 "effective_tld_names.gperf" {"tananger.no", 0}, #line 3173 "effective_tld_names.gperf" {"treviso.it", 0}, #line 3512 "effective_tld_names.gperf" {"xn--mli-tla.no", 0}, #line 1697 "effective_tld_names.gperf" {"kviteseid.no", 0}, #line 2666 "effective_tld_names.gperf" {"production.aero", 0}, #line 2771 "effective_tld_names.gperf" {"rodoy.no", 0}, #line 1651 "effective_tld_names.gperf" {"koeln.museum", 0}, #line 2755 "effective_tld_names.gperf" {"ringsaker.no", 0}, #line 3314 "effective_tld_names.gperf" {"veterinaire.fr", 0}, #line 2670 "effective_tld_names.gperf" {"pruszkow.pl", 0}, #line 1394 "effective_tld_names.gperf" {"hjartdal.no", 0}, #line 3458 "effective_tld_names.gperf" {"xn--h-2fa.no", 0}, #line 752 "effective_tld_names.gperf" {"dali.museum", 0}, #line 3600 "effective_tld_names.gperf" {"xn--vrggt-xqad.no", 0}, #line 694 "effective_tld_names.gperf" {"conf.lv", 0}, #line 1691 "effective_tld_names.gperf" {"kvafjord.no", 0}, #line 3559 "effective_tld_names.gperf" {"xn--sknland-fxa.no", 0}, #line 3580 "effective_tld_names.gperf" {"xn--tnsberg-q1a.no", 0}, #line 1718 "effective_tld_names.gperf" {"langevag.no", 0}, #line 1613 "effective_tld_names.gperf" {"kautokeino.no", 0}, #line 3467 "effective_tld_names.gperf" {"xn--hobl-ira.no", 0}, #line 3546 "effective_tld_names.gperf" {"xn--rst-0na.no", 0}, #line 325 "effective_tld_names.gperf" {"bialowieza.pl", 0}, #line 1609 "effective_tld_names.gperf" {"karpacz.pl", 0}, #line 3568 "effective_tld_names.gperf" {"xn--sr-aurdal-l8a.no", 0}, #line 2905 "effective_tld_names.gperf" {"shizuoka.jp", 2}, #line 3325 "effective_tld_names.gperf" {"vic.edu.au", 0}, #line 2567 "effective_tld_names.gperf" {"polkowice.pl", 0}, #line 1078 "effective_tld_names.gperf" {"fukuoka.jp", 2}, #line 2653 "effective_tld_names.gperf" {"priv.me", 0}, #line 3427 "effective_tld_names.gperf" {"xn--bjddar-pta.no", 0}, #line 3503 "effective_tld_names.gperf" {"xn--lrenskog-54a.no", 0}, #line 2906 "effective_tld_names.gperf" {"shop.ht", 0}, #line 3476 "effective_tld_names.gperf" {"xn--jrpeland-54a.no", 0}, #line 3111 "effective_tld_names.gperf" {"tingvoll.no", 0}, #line 3474 "effective_tld_names.gperf" {"xn--io0a7i.hk", 0}, #line 3336 "effective_tld_names.gperf" {"virtual.museum", 0}, #line 485 "effective_tld_names.gperf" {"childrensgarden.museum", 0}, #line 3449 "effective_tld_names.gperf" {"xn--frna-woa.no", 0}, #line 2712 "effective_tld_names.gperf" {"rakkestad.no", 0}, #line 2907 "effective_tld_names.gperf" {"shop.hu", 0}, #line 2776 "effective_tld_names.gperf" {"romsa.no", 0}, #line 3141 "effective_tld_names.gperf" {"tomsk.ru", 0}, #line 3107 "effective_tld_names.gperf" {"theater.museum", 0}, #line 3493 "effective_tld_names.gperf" {"xn--lcvr32d.hk", 0}, #line 3085 "effective_tld_names.gperf" {"tas.gov.au", 0}, #line 3399 "effective_tld_names.gperf" {"wroc.pl", 0}, #line 3602 "effective_tld_names.gperf" {"xn--wcvs22d.hk", 0}, #line 2552 "effective_tld_names.gperf" {"planetarium.museum", 0}, #line 3277 "effective_tld_names.gperf" {"vagsoy.no", 0}, #line 995 "effective_tld_names.gperf" {"fhsk.se", 0}, #line 3543 "effective_tld_names.gperf" {"xn--rmskog-bya.no", 0}, #line 1684 "effective_tld_names.gperf" {"kunstunddesign.museum", 0}, #line 490 "effective_tld_names.gperf" {"christiansburg.museum", 0}, #line 3481 "effective_tld_names.gperf" {"xn--krager-gya.no", 0}, #line 1098 "effective_tld_names.gperf" {"gangaviika.no", 0}, #line 2561 "effective_tld_names.gperf" {"po.gov.pl", 0}, #line 2830 "effective_tld_names.gperf" {"santabarbara.museum", 0}, #line 1751 "effective_tld_names.gperf" {"lewismiller.museum", 0}, #line 3450 "effective_tld_names.gperf" {"xn--frya-hra.no", 0}, #line 2777 "effective_tld_names.gperf" {"romskog.no", 0}, #line 1584 "effective_tld_names.gperf" {"juedisches.museum", 0}, #line 1659 "effective_tld_names.gperf" {"kongsberg.no", 0}, #line 2807 "effective_tld_names.gperf" {"saga.jp", 2}, #line 385 "effective_tld_names.gperf" {"brandywinevalley.museum", 0}, #line 2983 "effective_tld_names.gperf" {"southcarolina.museum", 0}, #line 2713 "effective_tld_names.gperf" {"ralingen.no", 0}, #line 504 "effective_tld_names.gperf" {"city.hu", 0}, #line 3136 "effective_tld_names.gperf" {"tokke.no", 0}, #line 2705 "effective_tld_names.gperf" {"radoy.no", 0}, #line 358 "effective_tld_names.gperf" {"blog.br", 0}, #line 17 "effective_tld_names.gperf" {"2000.hu", 0}, #line 3347 "effective_tld_names.gperf" {"volda.no", 0}, #line 3299 "effective_tld_names.gperf" {"venezia.it", 0}, #line 2789 "effective_tld_names.gperf" {"rubtsovsk.ru", 0}, #line 3333 "effective_tld_names.gperf" {"vindafjord.no", 0}, #line 3337 "effective_tld_names.gperf" {"virtuel.museum", 0}, #line 3428 "effective_tld_names.gperf" {"xn--blt-elab.no", 0}, #line 1620 "effective_tld_names.gperf" {"kepno.pl", 0}, #line 292 "effective_tld_names.gperf" {"batsfjord.no", 0}, #line 3475 "effective_tld_names.gperf" {"xn--jlster-bya.no", 0}, #line 2742 "effective_tld_names.gperf" {"research.aero", 0}, #line 2207 "effective_tld_names.gperf" {"newyork.museum", 0}, #line 2773 "effective_tld_names.gperf" {"roma.it", 0}, #line 3296 "effective_tld_names.gperf" {"vefsn.no", 0}, #line 3083 "effective_tld_names.gperf" {"tarnobrzeg.pl", 0}, #line 1682 "effective_tld_names.gperf" {"kunst.museum", 0}, #line 2563 "effective_tld_names.gperf" {"podhale.pl", 0}, #line 1721 "effective_tld_names.gperf" {"laquila.it", 0}, #line 3604 "effective_tld_names.gperf" {"xn--ygarden-p1a.no", 0}, #line 978 "effective_tld_names.gperf" {"farmequipment.museum", 0}, #line 3525 "effective_tld_names.gperf" {"xn--od0alg.cn", 0}, #line 3084 "effective_tld_names.gperf" {"tas.edu.au", 0}, #line 3200 "effective_tld_names.gperf" {"tvedestrand.no", 0}, #line 3330 "effective_tld_names.gperf" {"viking.museum", 0}, #line 453 "effective_tld_names.gperf" {"catanzaro.it", 0}, #line 2657 "effective_tld_names.gperf" {"pro.az", 0}, #line 1687 "effective_tld_names.gperf" {"kustanai.ru", 0}, #line 1553 "effective_tld_names.gperf" {"jelenia-gora.pl", 0}, #line 1653 "effective_tld_names.gperf" {"kolobrzeg.pl", 0}, #line 3627 "effective_tld_names.gperf" {"yuzhno-sakhalinsk.ru", 0}, #line 3183 "effective_tld_names.gperf" {"trysil.no", 0}, #line 2723 "effective_tld_names.gperf" {"realestate.pl", 0}, #line 3351 "effective_tld_names.gperf" {"voronezh.ru", 0}, #line 1461 "effective_tld_names.gperf" {"in-addr.arpa", 0}, #line 2707 "effective_tld_names.gperf" {"rahkkeravju.no", 0}, #line 1688 "effective_tld_names.gperf" {"kutno.pl", 0}, #line 3561 "effective_tld_names.gperf" {"xn--slt-elab.no", 0}, #line 3511 "effective_tld_names.gperf" {"xn--mlatvuopmi-s4a.no", 0}, #line 2568 "effective_tld_names.gperf" {"poltava.ua", 0}, #line 3181 "effective_tld_names.gperf" {"trust.museum", 0}, #line 2224 "effective_tld_names.gperf" {"nissedal.no", 0}, #line 528 "effective_tld_names.gperf" {"club.aero", 0}, #line 3164 "effective_tld_names.gperf" {"transport.museum", 0}, #line 1601 "effective_tld_names.gperf" {"kanagawa.jp", 2}, #line 1661 "effective_tld_names.gperf" {"konin.pl", 0}, #line 1374 "effective_tld_names.gperf" {"hembygdsforbund.museum", 0}, #line 1696 "effective_tld_names.gperf" {"kvinnherad.no", 0}, #line 1585 "effective_tld_names.gperf" {"juif.museum", 0}, #line 1628 "effective_tld_names.gperf" {"kharkov.ua", 0}, #line 1673 "effective_tld_names.gperf" {"krasnoyarsk.ru", 0}, #line 3208 "effective_tld_names.gperf" {"tysfjord.no", 0}, #line 3331 "effective_tld_names.gperf" {"vikna.no", 0}, #line 2537 "effective_tld_names.gperf" {"philately.museum", 0}, #line 1655 "effective_tld_names.gperf" {"komi.ru", 0}, #line 1657 "effective_tld_names.gperf" {"kommune.no", 0}, #line 3462 "effective_tld_names.gperf" {"xn--hery-ira.nordland.no", 0}, #line 3263 "effective_tld_names.gperf" {"uw.gov.pl", 0}, #line 2763 "effective_tld_names.gperf" {"rnrt.tn", 0}, #line 2072 "effective_tld_names.gperf" {"nationalheritage.museum", 0}, #line 487 "effective_tld_names.gperf" {"chirurgiens-dentistes.fr", 0}, #line 2487 "effective_tld_names.gperf" {"pa.gov.pl", 0}, #line 2655 "effective_tld_names.gperf" {"priv.pl", 0}, #line 2071 "effective_tld_names.gperf" {"nationalfirearms.museum", 0}, #line 1648 "effective_tld_names.gperf" {"kobierzyce.pl", 0}, #line 3421 "effective_tld_names.gperf" {"xn--berlevg-jxa.no", 0}, #line 2711 "effective_tld_names.gperf" {"raisa.no", 0}, #line 3416 "effective_tld_names.gperf" {"xn--avery-yua.no", 0}, #line 2743 "effective_tld_names.gperf" {"research.museum", 0}, #line 278 "effective_tld_names.gperf" {"balsfjord.no", 0}, #line 3586 "effective_tld_names.gperf" {"xn--uc0atv.hk", 0}, #line 3447 "effective_tld_names.gperf" {"xn--flor-jra.no", 0}, #line 2205 "effective_tld_names.gperf" {"news.hu", 0}, #line 1583 "effective_tld_names.gperf" {"judygarland.museum", 0}, #line 1570 "effective_tld_names.gperf" {"jogasz.hu", 0}, #line 3457 "effective_tld_names.gperf" {"xn--gmqw5a.hk", 0}, #line 3328 "effective_tld_names.gperf" {"video.hu", 0}, #line 3509 "effective_tld_names.gperf" {"xn--mjndalen-64a.no", 0}, #line 3190 "effective_tld_names.gperf" {"turek.pl", 0}, #line 2665 "effective_tld_names.gperf" {"prochowice.pl", 0}, #line 3549 "effective_tld_names.gperf" {"xn--ryrvik-bya.no", 0}, #line 2775 "effective_tld_names.gperf" {"rome.it", 0}, #line 1012 "effective_tld_names.gperf" {"firenze.it", 0}, #line 1079 "effective_tld_names.gperf" {"fukushima.jp", 2}, #line 1427 "effective_tld_names.gperf" {"huissier-justice.fr", 0}, #line 2642 "effective_tld_names.gperf" {"press.aero", 0}, #line 2774 "effective_tld_names.gperf" {"roma.museum", 0}, #line 3297 "effective_tld_names.gperf" {"vega.no", 0}, #line 2681 "effective_tld_names.gperf" {"publ.pt", 0}, #line 3572 "effective_tld_names.gperf" {"xn--srfold-bya.no", 0}, #line 1617 "effective_tld_names.gperf" {"kchr.ru", 0}, #line 1707 "effective_tld_names.gperf" {"la-spezia.it", 0}, #line 3286 "effective_tld_names.gperf" {"vardo.no", 0}, #line 3588 "effective_tld_names.gperf" {"xn--uc0ay4a.hk", 0}, #line 3578 "effective_tld_names.gperf" {"xn--tjme-hra.no", 0}, #line 2733 "effective_tld_names.gperf" {"reklam.hu", 0}, #line 3519 "effective_tld_names.gperf" {"xn--muost-0qa.no", 0}, #line 1611 "effective_tld_names.gperf" {"kaszuby.pl", 0}, #line 3307 "effective_tld_names.gperf" {"versailles.museum", 0}, #line 3194 "effective_tld_names.gperf" {"tuva.ru", 0}, #line 3413 "effective_tld_names.gperf" {"xn--aroport-bya.ci", 0}, #line 2542 "effective_tld_names.gperf" {"pila.pl", 0}, #line 2717 "effective_tld_names.gperf" {"ravenna.it", 0}, #line 3528 "effective_tld_names.gperf" {"xn--oppegrd-ixa.no", 0}, #line 2791 "effective_tld_names.gperf" {"russia.museum", 0}, #line 2768 "effective_tld_names.gperf" {"roan.no", 0}, #line 2709 "effective_tld_names.gperf" {"railroad.museum", 0}, #line 1600 "effective_tld_names.gperf" {"kamchatka.ru", 0}, #line 713 "effective_tld_names.gperf" {"cosenza.it", 0}, #line 1035 "effective_tld_names.gperf" {"florida.museum", 0}, #line 3534 "effective_tld_names.gperf" {"xn--rde-ula.no", 0}, #line 1675 "effective_tld_names.gperf" {"kristiansund.no", 0}, #line 773 "effective_tld_names.gperf" {"dgca.aero", 0}, #line 3095 "effective_tld_names.gperf" {"telekommunikation.museum", 0}, #line 3192 "effective_tld_names.gperf" {"turin.it", 0}, #line 3332 "effective_tld_names.gperf" {"village.museum", 0}, #line 2640 "effective_tld_names.gperf" {"preservation.museum", 0}, #line 3484 "effective_tld_names.gperf" {"xn--krehamn-dxa.no", 0}, #line 1650 "effective_tld_names.gperf" {"koebenhavn.museum", 0}, #line 369 "effective_tld_names.gperf" {"boleslawiec.pl", 0}, #line 3551 "effective_tld_names.gperf" {"xn--sandnessjen-ogb.no", 0}, #line 1557 "effective_tld_names.gperf" {"jessheim.no", 0}, #line 391 "effective_tld_names.gperf" {"british-library.uk", 1}, #line 2704 "effective_tld_names.gperf" {"radom.pl", 0}, #line 2758 "effective_tld_names.gperf" {"rissa.no", 0}, #line 393 "effective_tld_names.gperf" {"britishcolumbia.museum", 0}, #line 2744 "effective_tld_names.gperf" {"resistance.museum", 0}, #line 3494 "effective_tld_names.gperf" {"xn--ldingen-q1a.no", 0}, #line 1562 "effective_tld_names.gperf" {"jewishart.museum", 0}, #line 2547 "effective_tld_names.gperf" {"pisz.pl", 0}, #line 2565 "effective_tld_names.gperf" {"pol.dz", 0}, #line 3275 "effective_tld_names.gperf" {"vaga.no", 0}, #line 3148 "effective_tld_names.gperf" {"touch.museum", 0}, #line 3465 "effective_tld_names.gperf" {"xn--hmmrfeasta-s4ac.no", 0}, #line 2908 "effective_tld_names.gperf" {"shop.pl", 0}, #line 3188 "effective_tld_names.gperf" {"tula.ru", 0}, #line 3078 "effective_tld_names.gperf" {"tana.no", 0}, #line 1674 "effective_tld_names.gperf" {"kristiansand.no", 0}, #line 1788 "effective_tld_names.gperf" {"lowicz.pl", 0}, #line 3571 "effective_tld_names.gperf" {"xn--sr-varanger-ggb.no", 0}, #line 2736 "effective_tld_names.gperf" {"rendalen.no", 0}, #line 3599 "effective_tld_names.gperf" {"xn--vre-eiker-k8a.no", 0}, #line 3112 "effective_tld_names.gperf" {"tinn.no", 0}, #line 3080 "effective_tld_names.gperf" {"tank.museum", 0}, #line 3098 "effective_tld_names.gperf" {"terni.it", 0}, #line 1693 "effective_tld_names.gperf" {"kvam.no", 0}, #line 2714 "effective_tld_names.gperf" {"rana.no", 0}, #line 3182 "effective_tld_names.gperf" {"trustee.museum", 0}, #line 1598 "effective_tld_names.gperf" {"kalmykia.ru", 0}, #line 2797 "effective_tld_names.gperf" {"rzeszow.pl", 0}, #line 1603 "effective_tld_names.gperf" {"karasjok.no", 0}, #line 3109 "effective_tld_names.gperf" {"time.no", 0}, #line 3468 "effective_tld_names.gperf" {"xn--holtlen-hxa.no", 0}, #line 2507 "effective_tld_names.gperf" {"passenger-association.aero", 0}, #line 1702 "effective_tld_names.gperf" {"kyoto.jp", 2}, #line 3279 "effective_tld_names.gperf" {"valer.hedmark.no", 0}, #line 2319 "effective_tld_names.gperf" {"olkusz.pl", 0}, #line 3159 "effective_tld_names.gperf" {"trading.aero", 0}, #line 3274 "effective_tld_names.gperf" {"vadso.no", 0}, #line 2539 "effective_tld_names.gperf" {"photography.museum", 0}, #line 1725 "effective_tld_names.gperf" {"laspezia.it", 0}, #line 3108 "effective_tld_names.gperf" {"time.museum", 0}, #line 3487 "effective_tld_names.gperf" {"xn--kvfjord-nxa.no", 0}, #line 3374 "effective_tld_names.gperf" {"watch-and-clock.museum", 0}, #line 1649 "effective_tld_names.gperf" {"kochi.jp", 2}, #line 2821 "effective_tld_names.gperf" {"sande.vestfold.no", 0}, #line 3023 "effective_tld_names.gperf" {"stjordalshalsen.no", 0}, #line 3176 "effective_tld_names.gperf" {"trogstad.no", 0}, #line 2779 "effective_tld_names.gperf" {"rost.no", 0}, #line 749 "effective_tld_names.gperf" {"daegu.kr", 0}, #line 3334 "effective_tld_names.gperf" {"vinnica.ua", 0}, #line 2313 "effective_tld_names.gperf" {"okayama.jp", 2}, #line 3100 "effective_tld_names.gperf" {"test.ru", 0}, #line 2739 "effective_tld_names.gperf" {"repbody.aero", 0}, #line 3046 "effective_tld_names.gperf" {"sumy.ua", 0}, #line 2715 "effective_tld_names.gperf" {"randaberg.no", 0}, #line 508 "effective_tld_names.gperf" {"city.kyoto.jp", 1}, #line 3469 "effective_tld_names.gperf" {"xn--hpmir-xqa.no", 0}, #line 3302 "effective_tld_names.gperf" {"verbania.it", 0}, #line 1720 "effective_tld_names.gperf" {"lapy.pl", 0}, #line 3350 "effective_tld_names.gperf" {"vologda.ru", 0}, #line 1639 "effective_tld_names.gperf" {"kitakyushu.jp", 2}, #line 3201 "effective_tld_names.gperf" {"tver.ru", 0}, #line 1677 "effective_tld_names.gperf" {"krokstadelva.no", 0}, #line 3170 "effective_tld_names.gperf" {"tree.museum", 0}, #line 2909 "effective_tld_names.gperf" {"show.aero", 0}, #line 3441 "effective_tld_names.gperf" {"xn--drbak-wua.no", 0}, #line 3240 "effective_tld_names.gperf" {"upow.gov.pl", 0}, #line 3533 "effective_tld_names.gperf" {"xn--rdal-poa.no", 0}, #line 1662 "effective_tld_names.gperf" {"konskowola.pl", 0}, #line 3110 "effective_tld_names.gperf" {"timekeeping.museum", 0}, #line 1663 "effective_tld_names.gperf" {"konyvelo.hu", 0}, #line 2703 "effective_tld_names.gperf" {"rade.no", 0}, #line 2730 "effective_tld_names.gperf" {"reggio-emilia.it", 0}, #line 2939 "effective_tld_names.gperf" {"skydiving.aero", 0}, #line 102 "effective_tld_names.gperf" {"air-traffic-control.aero", 0}, #line 3003 "effective_tld_names.gperf" {"stalowa-wola.pl", 0}, #line 3077 "effective_tld_names.gperf" {"tambov.ru", 0}, #line 3175 "effective_tld_names.gperf" {"troandin.no", 0}, #line 1616 "effective_tld_names.gperf" {"kazimierz-dolny.pl", 0}, #line 776 "effective_tld_names.gperf" {"discovery.museum", 0}, #line 2579 "effective_tld_names.gperf" {"posts-and-telecommunications.museum", 0}, #line 1664 "effective_tld_names.gperf" {"kopervik.no", 0}, #line 3115 "effective_tld_names.gperf" {"tjeldsund.no", 0}, #line 2641 "effective_tld_names.gperf" {"presidio.museum", 0}, #line 3425 "effective_tld_names.gperf" {"xn--bievt-0qa.no", 0}, #line 3470 "effective_tld_names.gperf" {"xn--hyanger-q1a.no", 0}, #line 1630 "effective_tld_names.gperf" {"khmelnitskiy.ua", 0}, #line 1642 "effective_tld_names.gperf" {"klodzko.pl", 0}, #line 1634 "effective_tld_names.gperf" {"kids.us", 0}, #line 3445 "effective_tld_names.gperf" {"xn--fjord-lra.no", 0}, #line 3283 "effective_tld_names.gperf" {"vang.no", 0}, #line 3153 "effective_tld_names.gperf" {"tozsde.hu", 0}, #line 3205 "effective_tld_names.gperf" {"tychy.pl", 0}, #line 3419 "effective_tld_names.gperf" {"xn--bdddj-mrabd.no", 0}, #line 3335 "effective_tld_names.gperf" {"virginia.museum", 0}, #line 1626 "effective_tld_names.gperf" {"khabarovsk.ru", 0}, #line 3116 "effective_tld_names.gperf" {"tjome.no", 0}, #line 3082 "effective_tld_names.gperf" {"targi.pl", 0}, #line 1676 "effective_tld_names.gperf" {"krodsherad.no", 0}, #line 2754 "effective_tld_names.gperf" {"ringerike.no", 0}, #line 3488 "effective_tld_names.gperf" {"xn--kvitsy-fya.no", 0}, #line 1640 "effective_tld_names.gperf" {"klabu.no", 0}, #line 3466 "effective_tld_names.gperf" {"xn--hnefoss-q1a.no", 0}, #line 3278 "effective_tld_names.gperf" {"vaksdal.no", 0}, #line 1660 "effective_tld_names.gperf" {"kongsvinger.no", 0}, #line 2570 "effective_tld_names.gperf" {"pomorze.pl", 0}, #line 3597 "effective_tld_names.gperf" {"xn--vler-qoa.hedmark.no", 0}, #line 3147 "effective_tld_names.gperf" {"tottori.jp", 2}, #line 3524 "effective_tld_names.gperf" {"xn--nvuotna-hwa.no", 0}, #line 3526 "effective_tld_names.gperf" {"xn--od0alg.hk", 0}, #line 2749 "effective_tld_names.gperf" {"rieti.it", 0}, #line 2580 "effective_tld_names.gperf" {"potenza.it", 0}, #line 3439 "effective_tld_names.gperf" {"xn--davvenjrga-y4a.no", 0}, #line 1633 "effective_tld_names.gperf" {"kids.museum", 0}, #line 3459 "effective_tld_names.gperf" {"xn--h1aegh.museum", 0}, #line 3596 "effective_tld_names.gperf" {"xn--vgsy-qoa0j.no", 0}, #line 3517 "effective_tld_names.gperf" {"xn--msy-ula0h.no", 0}, #line 3151 "effective_tld_names.gperf" {"town.museum", 0}, #line 2750 "effective_tld_names.gperf" {"riik.ee", 0}, #line 3352 "effective_tld_names.gperf" {"voss.no", 0}, #line 1658 "effective_tld_names.gperf" {"komvux.se", 0}, #line 3339 "effective_tld_names.gperf" {"vlaanderen.museum", 0}, #line 3452 "effective_tld_names.gperf" {"xn--gildeskl-g0a.no", 0}, #line 3101 "effective_tld_names.gperf" {"texas.museum", 0}, #line 3341 "effective_tld_names.gperf" {"vladimir.ru", 0}, #line 3105 "effective_tld_names.gperf" {"tgory.pl", 0}, #line 3280 "effective_tld_names.gperf" {"valer.ostfold.no", 0}, #line 3451 "effective_tld_names.gperf" {"xn--ggaviika-8ya47h.no", 0}, #line 1614 "effective_tld_names.gperf" {"kawasaki.jp", 2}, #line 1596 "effective_tld_names.gperf" {"kagoshima.jp", 2}, #line 2822 "effective_tld_names.gperf" {"sande.xn--mre-og-romsdal-qqb.no", 0}, #line 1364 "effective_tld_names.gperf" {"hattfjelldal.no", 0}, #line 2203 "effective_tld_names.gperf" {"newmexico.museum", 0}, #line 1549 "effective_tld_names.gperf" {"jaworzno.pl", 0}, #line 774 "effective_tld_names.gperf" {"dielddanuorri.no", 0}, #line 2667 "effective_tld_names.gperf" {"prof.pr", 0}, #line 1602 "effective_tld_names.gperf" {"karasjohka.no", 0}, #line 3193 "effective_tld_names.gperf" {"turystyka.pl", 0}, #line 512 "effective_tld_names.gperf" {"city.osaka.jp", 1}, #line 3099 "effective_tld_names.gperf" {"ternopil.ua", 0}, #line 3180 "effective_tld_names.gperf" {"trondheim.no", 0}, #line 2615 "effective_tld_names.gperf" {"pref.kyoto.jp", 1}, #line 3605 "effective_tld_names.gperf" {"xn--ystre-slidre-ujb.no", 0}, #line 1635 "effective_tld_names.gperf" {"kiev.ua", 0}, #line 3367 "effective_tld_names.gperf" {"walbrzych.pl", 0}, #line 3420 "effective_tld_names.gperf" {"xn--bearalvhki-y4a.no", 0}, #line 3464 "effective_tld_names.gperf" {"xn--hgebostad-g3a.no", 0}, #line 1597 "effective_tld_names.gperf" {"kalisz.pl", 0}, #line 781 "effective_tld_names.gperf" {"dlugoleka.pl", 0}, #line 3565 "effective_tld_names.gperf" {"xn--sndre-land-0cb.no", 0}, #line 2718 "effective_tld_names.gperf" {"rawa-maz.pl", 0}, #line 3135 "effective_tld_names.gperf" {"tochigi.jp", 2}, #line 3434 "effective_tld_names.gperf" {"xn--btsfjord-9za.no", 0}, #line 2732 "effective_tld_names.gperf" {"reggioemilia.it", 0}, #line 2609 "effective_tld_names.gperf" {"pref.iwate.jp", 1}, #line 3343 "effective_tld_names.gperf" {"vlog.br", 0}, #line 1647 "effective_tld_names.gperf" {"kobe.jp", 2}, #line 3592 "effective_tld_names.gperf" {"xn--vegrshei-c0a.no", 0}, #line 3535 "effective_tld_names.gperf" {"xn--rdy-0nab.no", 0}, #line 3461 "effective_tld_names.gperf" {"xn--hcesuolo-7ya35b.no", 0}, #line 511 "effective_tld_names.gperf" {"city.okayama.jp", 1}, #line 3520 "effective_tld_names.gperf" {"xn--mxtq1m.hk", 0}, #line 3489 "effective_tld_names.gperf" {"xn--kvnangen-k0a.no", 0}, #line 1683 "effective_tld_names.gperf" {"kunstsammlung.museum", 0}, #line 2614 "effective_tld_names.gperf" {"pref.kumamoto.jp", 1}, #line 2603 "effective_tld_names.gperf" {"pref.gunma.jp", 1}, #line 3521 "effective_tld_names.gperf" {"xn--nmesjevuemie-tcba.no", 0}, #line 2634 "effective_tld_names.gperf" {"pref.tottori.jp", 1}, #line 3495 "effective_tld_names.gperf" {"xn--leagaviika-52b.no", 0}, #line 3518 "effective_tld_names.gperf" {"xn--mtta-vrjjat-k7af.no", 0}, #line 3527 "effective_tld_names.gperf" {"xn--od0aq3b.hk", 0}, #line 2596 "effective_tld_names.gperf" {"pref.aomori.jp", 1}, #line 502 "effective_tld_names.gperf" {"city.fukuoka.jp", 1}, #line 516 "effective_tld_names.gperf" {"city.shizuoka.jp", 1}, #line 3411 "effective_tld_names.gperf" {"xn--9dbhblg6di.museum", 0}, #line 515 "effective_tld_names.gperf" {"city.sendai.jp", 1}, #line 507 "effective_tld_names.gperf" {"city.kobe.jp", 1}, #line 2598 "effective_tld_names.gperf" {"pref.ehime.jp", 1}, #line 3454 "effective_tld_names.gperf" {"xn--gjvik-wua.no", 0}, #line 3426 "effective_tld_names.gperf" {"xn--bjarky-fya.no", 0}, #line 3323 "effective_tld_names.gperf" {"vibo-valentia.it", 0}, #line 2635 "effective_tld_names.gperf" {"pref.toyama.jp", 1}, #line 2731 "effective_tld_names.gperf" {"reggiocalabria.it", 0}, #line 2069 "effective_tld_names.gperf" {"national-library-scotland.uk", 1}, #line 3285 "effective_tld_names.gperf" {"vanylven.no", 0}, #line 3137 "effective_tld_names.gperf" {"tokushima.jp", 2}, #line 2630 "effective_tld_names.gperf" {"pref.shimane.jp", 1}, #line 509 "effective_tld_names.gperf" {"city.nagoya.jp", 1}, #line 3353 "effective_tld_names.gperf" {"vossevangen.no", 0}, #line 2729 "effective_tld_names.gperf" {"reggio-calabria.it", 0}, #line 2599 "effective_tld_names.gperf" {"pref.fukui.jp", 1}, #line 3342 "effective_tld_names.gperf" {"vladivostok.ru", 0}, #line 3576 "effective_tld_names.gperf" {"xn--stjrdalshalsen-sqb.no", 0}, #line 2626 "effective_tld_names.gperf" {"pref.osaka.jp", 1}, #line 2535 "effective_tld_names.gperf" {"philadelphia.museum", 0}, #line 2606 "effective_tld_names.gperf" {"pref.hyogo.jp", 1}, #line 2629 "effective_tld_names.gperf" {"pref.shiga.jp", 1}, #line 3138 "effective_tld_names.gperf" {"tokyo.jp", 2}, #line 514 "effective_tld_names.gperf" {"city.sapporo.jp", 1}, #line 1610 "effective_tld_names.gperf" {"kartuzy.pl", 0}, #line 2616 "effective_tld_names.gperf" {"pref.mie.jp", 1}, #line 3501 "effective_tld_names.gperf" {"xn--loabt-0qa.no", 0}, #line 3340 "effective_tld_names.gperf" {"vladikavkaz.ru", 0}, #line 510 "effective_tld_names.gperf" {"city.niigata.jp", 1}, #line 2595 "effective_tld_names.gperf" {"pref.akita.jp", 1}, #line 501 "effective_tld_names.gperf" {"city.chiba.jp", 1}, #line 479 "effective_tld_names.gperf" {"chesapeakebay.museum", 0}, #line 3415 "effective_tld_names.gperf" {"xn--aurskog-hland-jnb.no", 0}, #line 3102 "effective_tld_names.gperf" {"textile.museum", 0}, #line 513 "effective_tld_names.gperf" {"city.saitama.jp", 1}, #line 3327 "effective_tld_names.gperf" {"vicenza.it", 0}, #line 2623 "effective_tld_names.gperf" {"pref.oita.jp", 1}, #line 2607 "effective_tld_names.gperf" {"pref.ibaraki.jp", 1}, #line 2624 "effective_tld_names.gperf" {"pref.okayama.jp", 1}, #line 3463 "effective_tld_names.gperf" {"xn--hery-ira.xn--mre-og-romsdal-qqb.no", 0}, #line 2536 "effective_tld_names.gperf" {"philadelphiaarea.museum", 0}, #line 2613 "effective_tld_names.gperf" {"pref.kochi.jp", 1}, #line 584 "effective_tld_names.gperf" {"colonialwilliamsburg.museum", 0}, #line 2600 "effective_tld_names.gperf" {"pref.fukuoka.jp", 1}, #line 2631 "effective_tld_names.gperf" {"pref.shizuoka.jp", 1}, #line 2621 "effective_tld_names.gperf" {"pref.nara.jp", 1}, #line 3456 "effective_tld_names.gperf" {"xn--gmq050i.hk", 0}, #line 517 "effective_tld_names.gperf" {"city.yokohama.jp", 1}, #line 3437 "effective_tld_names.gperf" {"xn--correios-e-telecomunicaes-ghc29a.museum", 0}, #line 3438 "effective_tld_names.gperf" {"xn--czrw28b.tw", 0}, #line 2617 "effective_tld_names.gperf" {"pref.miyagi.jp", 1}, #line 2619 "effective_tld_names.gperf" {"pref.nagano.jp", 1}, #line 2627 "effective_tld_names.gperf" {"pref.saga.jp", 1}, #line 2632 "effective_tld_names.gperf" {"pref.tochigi.jp", 1}, #line 1656 "effective_tld_names.gperf" {"kommunalforbund.se", 0}, #line 3087 "effective_tld_names.gperf" {"taxi.aero", 0}, #line 506 "effective_tld_names.gperf" {"city.kitakyushu.jp", 1}, #line 2622 "effective_tld_names.gperf" {"pref.niigata.jp", 1}, #line 2597 "effective_tld_names.gperf" {"pref.chiba.jp", 1}, #line 2756 "effective_tld_names.gperf" {"riodejaneiro.museum", 0}, #line 2601 "effective_tld_names.gperf" {"pref.fukushima.jp", 1}, #line 2628 "effective_tld_names.gperf" {"pref.saitama.jp", 1}, #line 2625 "effective_tld_names.gperf" {"pref.okinawa.jp", 1}, #line 3537 "effective_tld_names.gperf" {"xn--rhkkervju-01af.no", 0}, #line 3598 "effective_tld_names.gperf" {"xn--vler-qoa.xn--stfold-9xa.no", 0}, #line 503 "effective_tld_names.gperf" {"city.hiroshima.jp", 1}, #line 2602 "effective_tld_names.gperf" {"pref.gifu.jp", 1}, #line 2633 "effective_tld_names.gperf" {"pref.tokushima.jp", 1}, #line 2594 "effective_tld_names.gperf" {"pref.aichi.jp", 1}, #line 2618 "effective_tld_names.gperf" {"pref.miyazaki.jp", 1}, #line 2605 "effective_tld_names.gperf" {"pref.hokkaido.jp", 1}, #line 505 "effective_tld_names.gperf" {"city.kawasaki.jp", 1}, #line 2637 "effective_tld_names.gperf" {"pref.yamagata.jp", 1}, #line 3482 "effective_tld_names.gperf" {"xn--kranghke-b0a.no", 0}, #line 2620 "effective_tld_names.gperf" {"pref.nagasaki.jp", 1}, #line 2610 "effective_tld_names.gperf" {"pref.kagawa.jp", 1}, #line 2636 "effective_tld_names.gperf" {"pref.wakayama.jp", 1}, #line 2608 "effective_tld_names.gperf" {"pref.ishikawa.jp", 1}, #line 2611 "effective_tld_names.gperf" {"pref.kagoshima.jp", 1}, #line 2612 "effective_tld_names.gperf" {"pref.kanagawa.jp", 1}, #line 2604 "effective_tld_names.gperf" {"pref.hiroshima.jp", 1}, #line 2639 "effective_tld_names.gperf" {"pref.yamanashi.jp", 1}, #line 2638 "effective_tld_names.gperf" {"pref.yamaguchi.jp", 1}, #line 3443 "effective_tld_names.gperf" {"xn--eveni-0qa01ga.no", 0}, #line 3485 "effective_tld_names.gperf" {"xn--krjohka-hwab49j.no", 0} }; static const short lookup[] = { -1, -1, -1, 0, 1, -1, 2, 3, -1, -1, -1, -1, 4, -1, -1, 5, 6, 7, 8, -1, -1, -1, -1, -1, 9, -1, -1, 10, 11, 12, 13, 14, 15, 16, 17, 18, -1, -1, -1, 19, 20, 21, 22, 23, 24, 25, -1, 26, -1, 27, 28, -1, -1, 29, -1, 30, -1, 31, 32, 33, 34, 35, -1, -1, 36, -1, 37, 38, 39, 40, -1, 41, -1, 42, 43, 44, -1, 45, 46, 47, 48, 49, 50, -1, -1, -1, -1, -1, 51, -1, -1, 52, 53, 54, -1, -1, 55, 56, 57, 58, 59, 60, 61, -1, 62, 63, -1, 64, -1, -1, -1, -1, 65, -1, -1, 66, -1, 67, -1, -1, 68, -1, 69, 70, -1, -1, -1, 71, 72, -1, 73, 74, -1, 75, -1, 76, 77, -1, -1, 78, -1, 79, 80, -1, -1, -1, -1, 81, 82, 83, 84, -1, -1, 85, 86, -1, 87, 88, 89, 90, -1, 91, 92, -1, -1, 93, -1, -1, -1, 94, -1, -1, -1, 95, 96, -1, -1, -1, -1, -1, -1, -1, -1, -1, 97, -1, -1, 98, 99, -1, -1, 100, 101, 102, -1, -1, 103, -1, -1, -1, -1, -1, -1, 104, -1, -1, -1, 105, -1, -1, 106, -1, -1, 107, 108, -1, -1, -1, -1, -1, 109, -1, 110, -1, 111, -1, 112, -1, -1, -1, -1, 113, 114, -1, 115, -1, -1, -1, -1, -1, -1, -1, 116, -1, -1, 117, -1, 118, 119, -1, -1, 120, -1, 121, -1, -1, 122, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, -1, -1, -1, -1, 124, -1, 125, -1, -1, -1, -1, -1, 126, -1, -1, -1, -1, 127, -1, -1, 128, -1, 129, -1, -1, -1, 130, -1, -1, -1, -1, -1, -1, 131, -1, -1, -1, -1, 132, -1, -1, 133, -1, 134, -1, -1, 135, -1, -1, -1, -1, -1, -1, 136, -1, -1, -1, -1, 137, 138, -1, -1, 139, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 140, -1, -1, -1, 141, -1, -1, -1, -1, -1, 142, -1, 143, 144, 145, 146, 147, 148, 149, -1, -1, -1, -1, 150, -1, 151, 152, -1, 153, -1, 154, -1, 155, 156, -1, -1, -1, -1, -1, 157, -1, -1, 158, -1, -1, -1, -1, -1, -1, 159, 160, 161, -1, -1, 162, -1, -1, -1, 163, 164, -1, -1, -1, -1, 165, -1, -1, -1, 166, 167, -1, -1, -1, -1, -1, -1, -1, 168, -1, 169, 170, -1, -1, 171, -1, -1, -1, -1, 172, -1, 173, -1, -1, -1, -1, -1, -1, 174, -1, -1, -1, -1, 175, -1, 176, -1, -1, -1, -1, -1, -1, 177, -1, -1, -1, -1, 178, -1, -1, -1, -1, 179, -1, -1, 180, -1, 181, -1, -1, -1, 182, 183, -1, 184, 185, -1, -1, 186, -1, 187, -1, -1, 188, 189, 190, -1, -1, 191, -1, -1, -1, 192, -1, -1, -1, -1, -1, 193, -1, 194, 195, -1, -1, -1, -1, -1, -1, 196, 197, 198, -1, 199, -1, -1, -1, -1, -1, 200, -1, 201, 202, -1, -1, 203, 204, -1, 205, -1, -1, 206, -1, -1, 207, -1, -1, -1, 208, -1, -1, -1, 209, -1, 210, -1, -1, 211, -1, -1, -1, -1, -1, 212, -1, 213, 214, -1, -1, -1, 215, 216, -1, -1, 217, -1, -1, -1, 218, -1, -1, -1, -1, 219, -1, 220, 221, -1, -1, -1, 222, 223, 224, 225, -1, -1, -1, -1, -1, -1, 226, -1, -1, -1, 227, -1, 228, -1, -1, 229, 230, 231, -1, -1, -1, 232, -1, -1, -1, 233, 234, 235, -1, -1, 236, -1, -1, 237, 238, -1, -1, 239, 240, -1, 241, -1, 242, 243, -1, -1, -1, -1, 244, -1, -1, -1, -1, -1, -1, -1, -1, -1, 245, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 246, 247, 248, -1, -1, -1, 249, -1, -1, -1, 250, -1, -1, -1, -1, -1, 251, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 252, -1, 253, -1, -1, 254, -1, 255, -1, -1, -1, 256, -1, -1, -1, 257, 258, -1, -1, -1, -1, -1, -1, 259, -1, -1, -1, -1, 260, 261, -1, -1, 262, 263, -1, -1, 264, -1, -1, 265, 266, -1, -1, -1, 267, -1, -1, -1, -1, 268, -1, -1, 269, 270, 271, 272, -1, -1, -1, -1, -1, 273, -1, 274, -1, -1, 275, 276, -1, -1, 277, 278, -1, 279, 280, 281, -1, -1, 282, -1, 283, -1, -1, -1, 284, -1, -1, -1, 285, -1, 286, -1, -1, 287, -1, -1, -1, -1, -1, -1, -1, -1, -1, 288, 289, 290, 291, -1, -1, -1, -1, -1, 292, 293, 294, 295, -1, -1, -1, -1, -1, 296, -1, 297, 298, -1, 299, -1, -1, 300, -1, -1, -1, -1, -1, -1, 301, 302, -1, -1, -1, -1, -1, -1, 303, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, -1, -1, 305, -1, -1, 306, -1, 307, 308, -1, 309, -1, -1, 310, -1, -1, 311, -1, 312, -1, -1, -1, 313, -1, -1, -1, -1, 314, -1, -1, -1, 315, -1, 316, 317, -1, -1, 318, -1, 319, 320, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, -1, -1, 325, 326, -1, -1, -1, 327, -1, -1, -1, -1, -1, -1, -1, -1, -1, 328, -1, -1, -1, 329, -1, 330, -1, -1, 331, -1, -1, 332, -1, -1, -1, -1, 333, -1, -1, -1, -1, 334, -1, 335, -1, -1, -1, -1, -1, -1, 336, 337, 338, -1, 339, -1, -1, -1, -1, -1, 340, 341, -1, -1, -1, -1, -1, -1, -1, 342, -1, -1, -1, -1, -1, -1, -1, -1, -1, 343, -1, -1, 344, -1, -1, -1, -1, 345, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 346, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, 348, -1, -1, -1, -1, -1, -1, 349, 350, -1, 351, -1, -1, 352, -1, -1, 353, -1, -1, 354, -1, -1, -1, -1, -1, 355, -1, -1, 356, 357, -1, -1, 358, 359, 360, -1, -1, -1, 361, 362, -1, 363, -1, -1, 364, -1, 365, -1, -1, -1, -1, -1, -1, -1, -1, 366, -1, -1, 367, -1, -1, -1, -1, -1, -1, -1, -1, 368, -1, -1, -1, -1, -1, 369, -1, 370, -1, 371, -1, -1, 372, -1, -1, 373, -1, -1, -1, 374, 375, 376, -1, -1, 377, 378, -1, -1, 379, 380, -1, 381, -1, -1, -1, 382, -1, 383, 384, 385, -1, -1, -1, -1, -1, -1, 386, -1, -1, 387, 388, -1, -1, -1, -1, -1, -1, 389, -1, -1, -1, -1, -1, -1, 390, 391, -1, 392, 393, 394, -1, -1, -1, -1, -1, 395, -1, -1, -1, -1, -1, -1, -1, -1, 396, -1, 397, -1, -1, 398, -1, -1, 399, 400, -1, 401, 402, -1, 403, -1, -1, 404, -1, 405, 406, 407, -1, 408, -1, -1, 409, -1, 410, 411, 412, -1, -1, 413, 414, 415, -1, -1, -1, 416, -1, -1, -1, 417, -1, -1, 418, -1, 419, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 420, 421, -1, -1, -1, -1, -1, 422, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 423, -1, -1, -1, -1, -1, -1, -1, 424, 425, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 426, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 427, -1, -1, -1, -1, -1, 428, -1, -1, -1, -1, -1, -1, -1, 429, -1, -1, 430, -1, -1, -1, -1, -1, 431, -1, 432, -1, 433, -1, -1, 434, -1, 435, -1, 436, -1, -1, -1, 437, -1, -1, -1, 438, -1, -1, -1, 439, -1, -1, -1, 440, -1, 441, -1, -1, -1, -1, -1, -1, -1, 442, -1, -1, 443, 444, -1, 445, -1, -1, -1, -1, 446, -1, -1, 447, -1, -1, -1, -1, 448, 449, -1, -1, -1, -1, -1, -1, -1, -1, -1, 450, 451, -1, -1, 452, -1, -1, -1, -1, 453, -1, -1, 454, -1, -1, -1, -1, -1, -1, 455, -1, 456, 457, -1, -1, 458, -1, -1, -1, 459, 460, -1, 461, -1, -1, -1, 462, -1, -1, 463, 464, 465, -1, -1, 466, -1, -1, -1, -1, -1, 467, -1, -1, -1, -1, 468, -1, -1, 469, 470, 471, 472, 473, -1, -1, -1, 474, -1, -1, -1, -1, 475, -1, -1, -1, -1, 476, -1, -1, -1, -1, -1, 477, -1, -1, -1, -1, -1, -1, -1, 478, -1, -1, -1, -1, 479, 480, -1, -1, 481, 482, -1, -1, -1, 483, -1, 484, -1, -1, -1, 485, -1, 486, 487, -1, -1, -1, 488, 489, 490, 491, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 492, -1, -1, 493, -1, -1, 494, 495, -1, 496, 497, 498, -1, -1, -1, -1, -1, -1, -1, 499, 500, -1, 501, -1, -1, -1, 502, -1, 503, 504, -1, -1, -1, -1, -1, -1, -1, 505, 506, 507, -1, -1, -1, -1, -1, 508, -1, -1, -1, 509, -1, -1, 510, 511, -1, 512, 513, 514, -1, -1, -1, -1, -1, 515, -1, 516, -1, -1, -1, 517, 518, 519, 520, -1, 521, -1, 522, -1, -1, -1, -1, 523, 524, 525, -1, -1, -1, -1, -1, -1, 526, -1, -1, -1, -1, -1, -1, -1, -1, 527, 528, 529, -1, -1, -1, -1, 530, 531, -1, -1, 532, 533, 534, -1, -1, -1, -1, -1, -1, -1, -1, -1, 535, -1, -1, 536, 537, -1, 538, 539, -1, -1, 540, -1, -1, -1, -1, -1, -1, 541, -1, -1, -1, -1, 542, 543, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 544, 545, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 546, -1, 547, -1, -1, -1, -1, -1, -1, 548, 549, -1, 550, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 551, -1, -1, 552, -1, -1, -1, 553, 554, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, 556, -1, -1, -1, -1, -1, -1, 557, 558, -1, -1, -1, -1, -1, -1, -1, -1, 559, -1, -1, 560, -1, -1, -1, -1, -1, 561, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 562, -1, -1, -1, -1, -1, -1, -1, -1, -1, 563, -1, -1, 564, -1, -1, -1, -1, 565, -1, -1, 566, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 567, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 568, -1, -1, -1, -1, 569, 570, 571, -1, -1, 572, -1, 573, 574, 575, 576, -1, 577, 578, -1, 579, -1, -1, 580, -1, -1, -1, 581, -1, -1, -1, 582, -1, -1, -1, 583, -1, -1, 584, -1, 585, -1, -1, 586, 587, -1, -1, -1, 588, -1, -1, 589, -1, -1, -1, -1, -1, -1, 590, -1, -1, 591, 592, -1, -1, -1, 593, -1, 594, -1, -1, -1, -1, 595, -1, -1, -1, -1, -1, -1, 596, 597, -1, -1, -1, -1, 598, -1, -1, -1, -1, -1, -1, 599, -1, -1, -1, 600, -1, 601, 602, -1, -1, -1, -1, -1, 603, -1, 604, 605, 606, -1, -1, -1, 607, -1, -1, 608, 609, 610, 611, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 612, -1, -1, 613, -1, -1, -1, -1, 614, -1, -1, -1, -1, -1, -1, -1, -1, 615, -1, 616, 617, 618, -1, 619, -1, -1, 620, -1, -1, -1, -1, 621, -1, 622, -1, -1, -1, -1, 623, -1, -1, 624, 625, -1, -1, -1, 626, 627, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 628, -1, -1, -1, -1, 629, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 630, -1, -1, -1, 631, 632, -1, -1, 633, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 634, -1, -1, 635, -1, -1, -1, 636, -1, -1, 637, -1, -1, -1, -1, -1, -1, 638, 639, 640, -1, -1, 641, -1, 642, -1, 643, 644, -1, -1, -1, 645, -1, -1, -1, 646, -1, 647, -1, 648, 649, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 650, -1, -1, -1, -1, -1, -1, -1, -1, 651, -1, 652, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 653, 654, -1, -1, -1, -1, -1, 655, -1, -1, -1, 656, 657, -1, -1, -1, -1, -1, -1, -1, -1, -1, 658, -1, -1, 659, -1, -1, 660, -1, 661, -1, -1, -1, 662, 663, 664, -1, 665, -1, -1, -1, -1, -1, 666, 667, -1, -1, -1, -1, -1, -1, -1, -1, -1, 668, -1, -1, 669, -1, -1, -1, 670, -1, -1, -1, 671, -1, 672, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 673, 674, 675, 676, -1, -1, -1, -1, -1, 677, 678, -1, -1, -1, -1, -1, -1, 679, -1, -1, -1, -1, -1, 680, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 681, 682, -1, -1, -1, -1, -1, 683, -1, -1, -1, 684, 685, 686, -1, 687, -1, 688, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 689, -1, -1, 690, -1, -1, -1, -1, -1, -1, -1, -1, 691, 692, -1, 693, -1, -1, -1, 694, -1, -1, -1, 695, -1, -1, -1, 696, -1, 697, 698, -1, -1, -1, -1, 699, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 700, -1, -1, -1, -1, -1, -1, 701, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 702, -1, -1, -1, -1, -1, -1, -1, -1, -1, 703, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 704, -1, -1, -1, -1, 705, -1, 706, 707, -1, 708, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 709, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 710, -1, -1, 711, 712, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 713, 714, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 715, 716, -1, -1, -1, -1, -1, -1, -1, -1, 717, -1, -1, 718, -1, -1, -1, -1, -1, -1, -1, -1, -1, 719, -1, -1, 720, -1, -1, -1, -1, -1, 721, -1, -1, -1, -1, -1, -1, 722, -1, -1, -1, -1, -1, -1, -1, -1, -1, 723, 724, -1, 725, -1, -1, -1, 726, -1, -1, -1, 727, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 728, 729, 730, 731, 732, -1, -1, -1, 733, -1, 734, 735, -1, 736, -1, 737, -1, -1, 738, -1, -1, -1, 739, -1, -1, -1, -1, -1, -1, 740, -1, -1, -1, 741, -1, -1, -1, -1, 742, 743, -1, -1, 744, -1, -1, -1, -1, -1, 745, -1, -1, -1, 746, -1, 747, -1, -1, -1, -1, 748, -1, -1, -1, -1, 749, -1, -1, -1, -1, -1, 750, -1, -1, -1, -1, 751, 752, -1, -1, -1, -1, 753, -1, -1, 754, -1, -1, -1, -1, -1, 755, -1, -1, -1, 756, -1, -1, -1, 757, -1, 758, -1, 759, -1, -1, -1, -1, -1, 760, -1, -1, 761, -1, -1, -1, 762, 763, 764, -1, -1, 765, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 766, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 767, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 768, 769, -1, -1, -1, 770, -1, -1, -1, -1, 771, -1, 772, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 773, -1, -1, -1, -1, -1, -1, 774, -1, -1, 775, -1, -1, 776, 777, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 778, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 779, -1, 780, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 781, -1, -1, -1, 782, -1, -1, -1, -1, 783, -1, -1, -1, -1, -1, 784, 785, -1, -1, -1, -1, -1, 786, -1, -1, -1, -1, -1, -1, -1, -1, 787, -1, -1, -1, -1, -1, -1, -1, -1, 788, -1, -1, -1, 789, -1, -1, -1, -1, -1, -1, 790, -1, -1, -1, 791, -1, -1, 792, -1, -1, -1, 793, -1, -1, -1, -1, -1, 794, -1, -1, -1, -1, -1, -1, -1, -1, 795, -1, -1, -1, 796, -1, -1, -1, -1, -1, -1, -1, -1, -1, 797, -1, -1, -1, -1, -1, -1, 798, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 799, -1, -1, -1, -1, -1, 800, -1, -1, -1, -1, -1, 801, -1, -1, 802, -1, -1, -1, -1, -1, -1, -1, -1, 803, 804, -1, -1, 805, -1, 806, 807, 808, -1, -1, -1, -1, 809, -1, -1, 810, -1, -1, 811, -1, -1, -1, -1, 812, -1, 813, -1, -1, -1, -1, -1, 814, -1, 815, -1, -1, -1, -1, 816, -1, -1, 817, -1, -1, -1, -1, -1, -1, -1, -1, -1, 818, -1, -1, -1, -1, -1, -1, -1, 819, -1, -1, -1, -1, 820, -1, -1, -1, -1, -1, -1, -1, -1, 821, -1, 822, -1, -1, -1, -1, -1, -1, -1, 823, -1, -1, -1, -1, 824, -1, 825, -1, -1, -1, -1, -1, -1, -1, -1, -1, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, -1, -1, -1, -1, -1, 843, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 844, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 845, -1, -1, 846, -1, -1, -1, 847, -1, -1, -1, -1, -1, -1, -1, 848, -1, -1, -1, 849, 850, -1, -1, 851, -1, 852, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 853, -1, -1, -1, -1, 854, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 855, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 856, -1, -1, -1, -1, 857, -1, -1, -1, -1, 858, -1, -1, -1, 859, -1, -1, -1, 860, -1, -1, -1, -1, -1, 861, -1, -1, 862, -1, 863, -1, -1, -1, -1, -1, 864, -1, -1, -1, -1, -1, 865, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 866, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 867, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 868, -1, -1, -1, 869, -1, -1, -1, -1, -1, 870, -1, -1, -1, 871, -1, 872, -1, 873, 874, -1, -1, 875, -1, 876, -1, -1, -1, -1, 877, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 878, -1, -1, -1, -1, -1, -1, -1, 879, -1, 880, 881, 882, -1, -1, -1, -1, -1, -1, -1, 883, -1, -1, -1, 884, -1, -1, -1, 885, 886, -1, -1, -1, 887, -1, -1, 888, 889, 890, -1, 891, -1, -1, -1, -1, -1, -1, -1, 892, -1, -1, -1, 893, -1, 894, -1, -1, 895, -1, -1, 896, 897, 898, -1, -1, -1, 899, -1, 900, -1, -1, -1, 901, 902, -1, -1, -1, -1, -1, 903, -1, -1, -1, -1, -1, -1, 904, 905, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 906, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 907, -1, -1, -1, 908, -1, -1, -1, 909, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 910, -1, -1, -1, 911, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 912, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 913, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 914, -1, -1, -1, -1, -1, -1, -1, -1, -1, 915, -1, -1, 916, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 917, -1, -1, -1, 918, -1, -1, -1, -1, -1, -1, -1, -1, -1, 919, -1, -1, -1, -1, 920, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 921, -1, 922, -1, -1, 923, -1, 924, -1, -1, 925, 926, -1, 927, -1, -1, -1, -1, -1, 928, -1, 929, 930, 931, -1, -1, -1, -1, -1, -1, 932, -1, -1, -1, -1, -1, -1, -1, 933, -1, -1, -1, -1, -1, -1, -1, 934, -1, -1, -1, -1, -1, 935, -1, -1, -1, 936, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 937, 938, -1, -1, 939, -1, -1, -1, -1, -1, 940, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 941, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 942, 943, -1, 944, -1, -1, -1, -1, -1, -1, 945, 946, -1, -1, -1, 947, -1, -1, -1, -1, -1, -1, 948, -1, -1, 949, -1, -1, -1, -1, 950, -1, -1, -1, 951, -1, -1, 952, -1, -1, -1, -1, -1, -1, 953, -1, -1, -1, -1, -1, 954, -1, -1, -1, -1, -1, 955, -1, 956, -1, -1, -1, -1, -1, -1, 957, -1, -1, -1, -1, -1, 958, 959, -1, 960, 961, -1, -1, -1, -1, -1, 962, -1, 963, -1, -1, -1, -1, -1, -1, -1, -1, 964, -1, -1, -1, -1, -1, -1, 965, -1, -1, -1, -1, -1, -1, 966, -1, 967, -1, -1, 968, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 969, -1, -1, -1, -1, -1, 970, -1, 971, -1, -1, -1, 972, -1, -1, -1, -1, -1, -1, 973, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 974, -1, 975, -1, -1, -1, -1, -1, -1, 976, -1, -1, 977, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 978, -1, -1, 979, -1, -1, -1, 980, -1, 981, -1, -1, -1, -1, -1, -1, -1, 982, -1, -1, -1, 983, -1, -1, -1, -1, 984, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 985, 986, -1, -1, -1, -1, -1, 987, -1, -1, -1, -1, 988, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 989, -1, -1, -1, 990, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 991, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 992, -1, -1, 993, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 994, -1, -1, -1, -1, -1, -1, -1, -1, 995, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 996, -1, -1, -1, -1, -1, 997, -1, -1, -1, 998, -1, -1, 999, -1, -1, -1, 1000, 1001, -1, -1, 1002, 1003, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1004, -1, -1, -1, -1, 1005, -1, -1, -1, -1, 1006, -1, -1, -1, -1, -1, -1, -1, -1, 1007, -1, -1, -1, -1, 1008, -1, -1, -1, -1, -1, 1009, -1, -1, -1, -1, -1, -1, 1010, -1, -1, -1, -1, 1011, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1012, -1, -1, -1, -1, 1013, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1014, 1015, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1016, -1, -1, 1017, -1, 1018, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1019, -1, -1, -1, -1, 1020, -1, -1, 1021, -1, -1, -1, -1, 1022, -1, 1023, 1024, -1, -1, 1025, -1, -1, -1, -1, 1026, -1, -1, -1, -1, 1027, -1, -1, 1028, -1, -1, 1029, -1, 1030, -1, -1, -1, -1, -1, -1, -1, 1031, 1032, -1, -1, -1, -1, 1033, -1, 1034, -1, -1, -1, 1035, 1036, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1037, -1, -1, -1, -1, 1038, 1039, -1, -1, -1, -1, -1, -1, 1040, -1, -1, -1, -1, -1, -1, 1041, 1042, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1043, -1, -1, -1, 1044, 1045, -1, -1, -1, -1, -1, -1, 1046, 1047, -1, -1, 1048, -1, -1, -1, -1, 1049, -1, -1, -1, -1, -1, -1, -1, -1, 1050, -1, -1, 1051, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1052, 1053, -1, 1054, -1, 1055, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1056, -1, -1, -1, -1, 1057, -1, -1, -1, -1, -1, -1, 1058, -1, -1, -1, -1, -1, -1, 1059, -1, -1, -1, 1060, -1, 1061, 1062, 1063, -1, -1, -1, -1, -1, 1064, -1, -1, -1, -1, -1, -1, -1, 1065, 1066, -1, -1, -1, -1, -1, 1067, -1, -1, -1, -1, 1068, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1069, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1070, -1, -1, -1, -1, -1, -1, 1071, -1, -1, -1, -1, -1, 1072, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1073, 1074, -1, -1, -1, 1075, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1076, -1, -1, -1, -1, -1, -1, -1, -1, 1077, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1078, 1079, 1080, -1, -1, -1, -1, -1, -1, -1, 1081, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1082, -1, 1083, -1, -1, -1, -1, -1, -1, -1, 1084, -1, -1, -1, 1085, 1086, 1087, -1, -1, -1, -1, -1, -1, -1, -1, 1088, 1089, -1, -1, -1, 1090, 1091, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1092, 1093, -1, -1, -1, -1, -1, -1, 1094, 1095, 1096, -1, -1, -1, 1097, -1, -1, -1, 1098, 1099, -1, -1, -1, -1, -1, -1, 1100, -1, 1101, -1, -1, 1102, 1103, -1, 1104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1105, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1106, -1, -1, -1, -1, 1107, -1, 1108, -1, 1109, -1, -1, -1, -1, -1, 1110, -1, 1111, -1, -1, -1, 1112, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1113, 1114, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1115, -1, -1, 1116, -1, -1, -1, -1, -1, -1, -1, -1, 1117, -1, -1, 1118, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1119, -1, 1120, -1, -1, -1, -1, -1, 1121, -1, -1, -1, -1, 1122, 1123, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1124, 1125, -1, -1, -1, -1, -1, -1, 1126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1127, -1, -1, -1, -1, 1128, -1, -1, -1, -1, 1129, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1130, -1, -1, 1131, -1, 1132, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1133, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1134, -1, -1, 1135, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1136, -1, -1, -1, -1, -1, -1, 1137, -1, -1, -1, -1, -1, -1, -1, 1138, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1139, -1, -1, 1140, -1, -1, -1, -1, 1141, -1, -1, -1, -1, 1142, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1143, -1, -1, -1, 1144, -1, 1145, -1, -1, -1, -1, 1146, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1147, -1, 1148, -1, -1, -1, -1, -1, 1149, -1, -1, 1150, -1, -1, -1, -1, -1, -1, -1, 1151, -1, -1, -1, 1152, -1, -1, 1153, -1, -1, -1, -1, 1154, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1155, -1, 1156, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1157, -1, 1158, -1, -1, -1, -1, -1, -1, 1159, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1160, -1, -1, -1, -1, 1161, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1162, -1, -1, -1, -1, -1, 1163, 1164, -1, -1, -1, 1165, -1, 1166, 1167, -1, -1, -1, -1, -1, 1168, -1, 1169, -1, -1, -1, -1, -1, 1170, -1, -1, -1, -1, -1, -1, -1, 1171, -1, -1, -1, -1, 1172, -1, 1173, 1174, -1, -1, -1, -1, 1175, -1, -1, -1, -1, 1176, -1, 1177, -1, -1, 1178, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1179, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1180, 1181, -1, 1182, -1, -1, 1183, -1, -1, 1184, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1185, -1, -1, 1186, 1187, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1188, -1, -1, -1, -1, -1, -1, 1189, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1190, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1191, 1192, -1, -1, -1, 1193, -1, -1, 1194, -1, -1, 1195, -1, -1, -1, -1, -1, -1, -1, 1196, 1197, -1, -1, -1, 1198, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1199, 1200, -1, 1201, -1, -1, -1, -1, 1202, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1203, -1, -1, -1, -1, -1, -1, 1204, -1, -1, -1, -1, -1, -1, -1, 1205, -1, -1, -1, -1, -1, -1, -1, 1206, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1207, -1, -1, -1, -1, -1, -1, -1, -1, 1208, -1, -1, -1, -1, 1209, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1210, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1211, -1, -1, -1, -1, -1, 1212, -1, -1, -1, 1213, -1, -1, -1, -1, -1, -1, -1, 1214, -1, -1, -1, -1, -1, -1, -1, -1, 1215, -1, -1, 1216, -1, -1, -1, 1217, 1218, 1219, -1, -1, -1, -1, -1, -1, -1, -1, 1220, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1221, -1, -1, -1, -1, -1, -1, 1222, -1, -1, -1, -1, -1, -1, 1223, 1224, -1, -1, -1, -1, 1225, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1226, -1, -1, -1, -1, -1, -1, -1, 1227, -1, 1228, -1, -1, -1, -1, -1, -1, 1229, -1, 1230, -1, -1, -1, -1, -1, 1231, -1, -1, -1, -1, 1232, -1, -1, 1233, -1, -1, -1, -1, -1, 1234, -1, -1, 1235, -1, -1, 1236, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1237, -1, -1, -1, -1, -1, -1, -1, -1, 1238, -1, -1, -1, -1, 1239, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1240, -1, -1, -1, -1, 1241, -1, -1, 1242, 1243, -1, -1, -1, 1244, 1245, -1, -1, -1, -1, 1246, -1, -1, 1247, -1, -1, -1, 1248, 1249, -1, 1250, -1, -1, -1, -1, -1, 1251, -1, 1252, -1, -1, -1, -1, -1, -1, -1, 1253, 1254, 1255, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1256, -1, -1, -1, -1, -1, -1, 1257, -1, 1258, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1259, 1260, 1261, -1, -1, -1, 1262, 1263, -1, 1264, -1, -1, 1265, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1266, -1, -1, -1, -1, -1, -1, -1, -1, 1267, 1268, 1269, 1270, -1, 1271, -1, -1, -1, 1272, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1273, -1, -1, -1, 1274, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1275, -1, -1, -1, -1, 1276, -1, -1, -1, -1, 1277, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1278, -1, -1, -1, -1, -1, -1, -1, -1, 1279, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1280, -1, -1, -1, 1281, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1282, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1283, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1284, -1, 1285, -1, 1286, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1287, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1288, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1289, -1, -1, -1, -1, 1290, -1, -1, -1, 1291, -1, -1, -1, 1292, 1293, -1, -1, -1, -1, 1294, -1, -1, 1295, -1, 1296, -1, -1, -1, -1, 1297, -1, -1, 1298, -1, 1299, -1, -1, -1, 1300, -1, -1, -1, 1301, -1, -1, -1, -1, -1, 1302, -1, -1, -1, -1, -1, -1, -1, -1, 1303, -1, -1, -1, -1, -1, -1, 1304, -1, -1, -1, -1, -1, -1, -1, 1305, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1306, -1, -1, -1, -1, -1, -1, -1, -1, 1307, -1, -1, -1, 1308, -1, -1, 1309, -1, 1310, -1, 1311, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1312, -1, -1, -1, -1, -1, 1313, -1, -1, -1, -1, -1, -1, -1, 1314, -1, -1, -1, -1, -1, -1, -1, 1315, -1, -1, -1, -1, -1, 1316, -1, -1, -1, -1, -1, -1, -1, -1, 1317, -1, -1, -1, -1, 1318, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1320, -1, -1, 1321, -1, -1, -1, -1, -1, -1, -1, -1, 1322, 1323, 1324, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1325, -1, -1, -1, -1, 1326, -1, -1, -1, -1, -1, -1, 1327, -1, 1328, -1, -1, 1329, -1, 1330, 1331, 1332, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1333, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1334, -1, -1, 1335, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1336, -1, -1, -1, -1, -1, 1337, -1, -1, -1, -1, -1, -1, -1, 1338, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1339, -1, -1, -1, -1, -1, -1, 1340, -1, -1, -1, 1341, -1, -1, -1, 1342, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1343, -1, -1, -1, -1, -1, -1, -1, -1, 1344, 1345, -1, -1, -1, -1, -1, -1, -1, 1346, -1, -1, -1, -1, -1, 1347, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1348, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1349, -1, -1, -1, -1, 1350, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1351, -1, -1, 1352, -1, -1, 1353, -1, -1, -1, -1, 1354, -1, -1, 1355, -1, -1, -1, -1, -1, 1356, -1, -1, 1357, 1358, -1, -1, -1, -1, -1, -1, 1359, 1360, 1361, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1362, -1, -1, -1, -1, -1, 1363, -1, -1, -1, 1364, -1, -1, -1, -1, -1, -1, 1365, -1, -1, -1, -1, -1, -1, -1, -1, 1366, -1, -1, -1, -1, -1, -1, -1, 1367, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1368, -1, 1369, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1370, -1, -1, -1, 1371, -1, -1, -1, -1, -1, -1, -1, 1372, -1, -1, -1, -1, -1, 1373, -1, -1, -1, -1, -1, -1, -1, 1374, -1, -1, 1375, -1, -1, -1, -1, -1, -1, 1376, 1377, -1, -1, 1378, -1, -1, -1, -1, -1, -1, -1, 1379, -1, 1380, -1, -1, 1381, -1, -1, -1, -1, -1, -1, -1, -1, 1382, -1, -1, -1, 1383, 1384, -1, -1, 1385, 1386, -1, -1, -1, 1387, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1388, -1, -1, -1, -1, -1, 1389, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1390, -1, 1391, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1392, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1393, -1, -1, 1394, 1395, -1, -1, -1, -1, -1, -1, 1396, -1, -1, 1397, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1398, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1399, -1, -1, -1, -1, -1, -1, -1, 1400, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1401, -1, -1, -1, -1, -1, 1402, 1403, 1404, -1, 1405, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1406, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1407, 1408, 1409, -1, -1, -1, -1, -1, -1, -1, 1410, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1411, -1, -1, -1, -1, -1, -1, 1412, -1, -1, -1, -1, -1, -1, 1413, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1414, -1, -1, -1, -1, 1415, 1416, -1, -1, -1, -1, 1417, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1418, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1419, -1, -1, -1, -1, -1, -1, -1, -1, 1420, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1421, 1422, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1423, -1, 1424, 1425, -1, -1, -1, 1426, -1, -1, -1, 1427, -1, -1, -1, -1, 1428, -1, -1, -1, -1, -1, 1429, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1430, 1431, 1432, -1, 1433, -1, -1, -1, 1434, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1435, -1, 1436, -1, -1, -1, -1, -1, -1, -1, -1, 1437, 1438, -1, -1, -1, 1439, -1, -1, -1, -1, -1, 1440, 1441, -1, -1, -1, -1, -1, 1442, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1443, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1444, -1, -1, -1, -1, -1, -1, 1445, -1, -1, 1446, 1447, -1, -1, -1, 1448, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1449, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1450, -1, 1451, -1, -1, -1, -1, -1, -1, -1, -1, 1452, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1453, -1, -1, -1, -1, 1454, -1, -1, 1455, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1456, -1, -1, -1, -1, 1457, 1458, -1, -1, -1, -1, -1, 1459, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1460, 1461, -1, -1, 1462, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1463, 1464, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1465, 1466, 1467, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1468, -1, -1, -1, -1, 1469, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1470, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1471, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1472, -1, -1, -1, -1, -1, 1473, -1, -1, -1, -1, -1, -1, -1, -1, 1474, -1, -1, -1, 1475, -1, -1, -1, -1, -1, 1476, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1477, -1, -1, -1, -1, 1478, -1, 1479, -1, -1, 1480, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1481, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1482, -1, -1, 1483, -1, -1, -1, -1, -1, -1, -1, 1484, 1485, -1, 1486, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1487, -1, -1, -1, -1, -1, -1, -1, 1488, -1, 1489, -1, -1, -1, -1, 1490, -1, -1, 1491, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1492, -1, -1, -1, -1, 1493, -1, -1, -1, -1, 1494, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1495, -1, -1, 1496, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1497, -1, -1, -1, -1, -1, -1, -1, -1, 1498, 1499, -1, -1, 1500, -1, -1, -1, 1501, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1502, -1, 1503, 1504, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1505, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1506, -1, 1507, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1508, -1, -1, -1, -1, -1, -1, -1, 1509, -1, -1, -1, -1, -1, -1, 1510, -1, -1, 1511, -1, -1, 1512, -1, -1, -1, -1, 1513, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1514, -1, 1515, -1, -1, -1, -1, 1516, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1517, 1518, -1, -1, 1519, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1520, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1521, -1, -1, -1, -1, -1, -1, 1522, -1, -1, 1523, -1, -1, -1, -1, 1524, -1, 1525, -1, -1, -1, -1, -1, 1526, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1527, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1528, -1, 1529, 1530, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1531, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1532, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1533, -1, -1, 1534, -1, -1, -1, -1, -1, -1, 1535, -1, 1536, -1, -1, -1, -1, -1, -1, -1, 1537, -1, -1, -1, -1, -1, -1, 1538, -1, -1, -1, -1, -1, -1, 1539, -1, -1, -1, -1, 1540, 1541, -1, -1, -1, 1542, -1, -1, -1, -1, 1543, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1544, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1545, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1546, -1, -1, -1, -1, -1, -1, -1, -1, 1547, 1548, -1, -1, -1, 1549, -1, -1, -1, -1, 1550, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1551, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1552, -1, -1, -1, -1, -1, -1, -1, 1553, 1554, -1, -1, 1555, -1, 1556, -1, -1, 1557, -1, -1, -1, -1, 1558, 1559, -1, -1, 1560, -1, -1, 1561, -1, -1, -1, -1, -1, 1562, -1, -1, -1, 1563, -1, 1564, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1565, -1, -1, -1, 1566, -1, 1567, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1568, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1569, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1570, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1571, 1572, 1573, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1574, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1575, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1576, -1, -1, 1577, -1, -1, -1, -1, 1578, -1, -1, -1, -1, 1579, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1580, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1581, -1, -1, -1, -1, -1, 1582, -1, -1, -1, -1, 1583, -1, -1, -1, -1, 1584, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1585, -1, -1, -1, -1, 1586, 1587, 1588, -1, -1, 1589, -1, -1, -1, 1590, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1591, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1592, -1, -1, -1, -1, -1, 1593, 1594, -1, -1, -1, -1, 1595, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1596, 1597, -1, -1, -1, 1598, -1, -1, -1, -1, 1599, -1, 1600, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1601, -1, -1, -1, -1, -1, -1, -1, 1602, -1, -1, -1, -1, 1603, -1, -1, 1604, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1605, 1606, -1, -1, -1, -1, -1, 1607, -1, -1, -1, -1, -1, -1, 1608, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1609, -1, -1, -1, -1, -1, 1610, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1611, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1612, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1613, 1614, 1615, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1616, -1, -1, -1, -1, 1617, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1618, -1, -1, 1619, 1620, -1, -1, -1, -1, -1, 1621, -1, -1, -1, -1, -1, 1622, -1, 1623, -1, -1, -1, -1, -1, -1, 1624, -1, -1, 1625, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1626, -1, -1, -1, -1, -1, -1, 1627, -1, -1, -1, -1, 1628, -1, -1, -1, -1, -1, -1, 1629, -1, -1, -1, 1630, -1, -1, -1, -1, -1, -1, -1, 1631, -1, 1632, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1633, -1, -1, -1, -1, -1, -1, 1634, -1, -1, -1, -1, 1635, -1, -1, -1, 1636, -1, -1, -1, 1637, -1, -1, -1, -1, 1638, -1, -1, -1, 1639, -1, -1, -1, -1, 1640, -1, -1, -1, -1, 1641, -1, -1, -1, 1642, -1, -1, -1, -1, -1, 1643, 1644, 1645, -1, -1, -1, -1, -1, -1, -1, 1646, -1, -1, -1, -1, -1, 1647, -1, -1, -1, 1648, 1649, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1650, -1, -1, -1, -1, 1651, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1652, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1653, 1654, -1, -1, 1655, -1, -1, 1656, -1, -1, -1, -1, -1, -1, -1, 1657, -1, -1, -1, -1, 1658, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1659, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1660, -1, -1, -1, 1661, -1, 1662, -1, -1, -1, -1, -1, -1, -1, -1, 1663, 1664, -1, -1, 1665, -1, 1666, -1, -1, 1667, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1668, -1, -1, -1, 1669, -1, 1670, -1, -1, -1, -1, -1, -1, 1671, 1672, -1, -1, -1, -1, -1, -1, 1673, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1674, -1, -1, 1675, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1676, -1, -1, -1, -1, -1, 1677, 1678, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1679, -1, -1, 1680, 1681, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1682, -1, 1683, -1, -1, -1, -1, -1, -1, 1684, -1, -1, -1, -1, -1, 1685, -1, -1, -1, 1686, -1, -1, 1687, -1, 1688, -1, -1, 1689, -1, -1, -1, 1690, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1691, -1, -1, -1, -1, -1, -1, 1692, -1, 1693, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1694, -1, -1, -1, -1, -1, -1, 1695, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1696, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1697, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1698, -1, -1, -1, -1, 1699, -1, -1, 1700, -1, 1701, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1702, -1, -1, -1, -1, -1, -1, 1703, -1, 1704, -1, 1705, 1706, -1, -1, -1, -1, -1, -1, -1, -1, 1707, -1, 1708, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1709, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1710, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1711, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1712, -1, -1, 1713, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1714, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1715, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1716, -1, -1, -1, -1, -1, -1, 1717, 1718, -1, -1, -1, -1, -1, -1, 1719, -1, -1, -1, -1, -1, -1, 1720, -1, -1, -1, 1721, -1, -1, -1, -1, 1722, -1, -1, -1, -1, -1, -1, 1723, -1, -1, 1724, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1725, -1, -1, -1, -1, -1, -1, 1726, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1727, -1, -1, 1728, 1729, -1, -1, -1, -1, -1, -1, 1730, 1731, 1732, -1, -1, -1, -1, -1, -1, -1, 1733, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1734, -1, 1735, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1736, -1, -1, -1, 1737, 1738, -1, -1, -1, -1, -1, -1, 1739, -1, -1, -1, -1, 1740, 1741, -1, -1, -1, -1, 1742, -1, -1, -1, -1, -1, -1, 1743, -1, -1, 1744, -1, -1, -1, 1745, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1746, -1, -1, 1747, -1, -1, -1, 1748, -1, -1, 1749, -1, -1, -1, -1, -1, -1, -1, 1750, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1751, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1752, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1753, -1, 1754, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1755, -1, -1, -1, -1, -1, -1, -1, -1, 1756, -1, 1757, -1, -1, -1, -1, 1758, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1759, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1760, -1, -1, 1761, 1762, -1, -1, -1, -1, -1, 1763, -1, -1, -1, 1764, -1, -1, -1, 1765, -1, -1, -1, -1, -1, 1766, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1767, -1, -1, -1, -1, -1, -1, -1, 1768, 1769, -1, 1770, -1, 1771, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1772, -1, -1, -1, -1, -1, -1, -1, -1, 1773, -1, -1, -1, -1, -1, -1, -1, 1774, -1, -1, 1775, 1776, -1, -1, -1, 1777, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1778, -1, 1779, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1780, -1, -1, -1, -1, 1781, -1, -1, -1, -1, -1, -1, 1782, -1, 1783, 1784, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1785, -1, -1, 1786, -1, -1, -1, -1, 1787, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1788, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1789, -1, -1, -1, 1790, -1, -1, -1, 1791, -1, -1, -1, -1, -1, -1, 1792, -1, -1, -1, 1793, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1794, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1795, -1, -1, -1, -1, -1, -1, -1, 1796, -1, -1, -1, 1797, -1, -1, -1, -1, -1, 1798, -1, -1, -1, 1799, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1800, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1801, 1802, -1, -1, -1, 1803, -1, -1, -1, -1, 1804, -1, -1, -1, -1, 1805, -1, -1, -1, 1806, 1807, -1, 1808, 1809, -1, -1, -1, -1, -1, -1, -1, -1, 1810, -1, -1, -1, 1811, -1, 1812, 1813, 1814, -1, -1, 1815, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1816, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1817, -1, 1818, -1, -1, 1819, -1, -1, -1, -1, -1, -1, 1820, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1821, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1822, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1823, -1, -1, -1, -1, -1, -1, -1, 1824, -1, 1825, -1, 1826, -1, -1, 1827, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1828, -1, -1, -1, -1, -1, 1829, 1830, -1, -1, 1831, -1, -1, -1, -1, -1, -1, 1832, -1, -1, -1, -1, 1833, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1834, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1835, -1, 1836, -1, -1, 1837, -1, -1, -1, -1, -1, -1, 1838, 1839, -1, -1, -1, -1, -1, -1, -1, 1840, -1, -1, -1, -1, 1841, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1842, -1, -1, -1, 1843, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1844, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1845, -1, -1, -1, -1, -1, 1846, -1, -1, -1, -1, -1, -1, 1847, -1, -1, -1, -1, -1, -1, -1, -1, 1848, -1, -1, -1, -1, -1, -1, -1, 1849, -1, 1850, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1851, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1852, -1, -1, -1, -1, -1, -1, -1, 1853, -1, -1, -1, -1, -1, -1, -1, 1854, -1, -1, 1855, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1856, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1857, -1, -1, -1, -1, -1, -1, -1, 1858, -1, 1859, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1860, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1861, -1, 1862, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1863, -1, -1, -1, 1864, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1865, -1, 1866, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1867, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1868, -1, -1, 1869, -1, 1870, -1, 1871, -1, 1872, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1873, -1, -1, 1874, -1, -1, -1, -1, -1, 1875, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1876, 1877, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1878, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1879, -1, 1880, -1, -1, -1, -1, 1881, -1, -1, -1, -1, -1, 1882, -1, 1883, 1884, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1885, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1886, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1887, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1888, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1889, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1890, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1891, -1, 1892, -1, -1, -1, -1, -1, -1, 1893, -1, -1, -1, -1, -1, -1, 1894, -1, 1895, -1, -1, 1896, -1, -1, -1, -1, 1897, -1, -1, -1, -1, -1, -1, -1, -1, 1898, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1899, -1, 1900, 1901, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1902, -1, -1, -1, -1, -1, -1, -1, -1, 1903, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1904, 1905, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1906, -1, -1, -1, -1, -1, 1907, -1, 1908, -1, -1, -1, -1, 1909, -1, -1, -1, -1, 1910, -1, 1911, -1, -1, -1, 1912, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1913, -1, -1, -1, 1914, -1, -1, -1, 1915, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1916, -1, -1, -1, -1, -1, -1, 1917, -1, 1918, -1, -1, -1, 1919, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1920, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1921, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1922, -1, 1923, -1, 1924, 1925, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1926, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1927, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1928, -1, 1929, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1930, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1931, -1, 1932, -1, -1, -1, -1, -1, -1, -1, 1933, -1, -1, -1, -1, -1, -1, -1, -1, 1934, -1, -1, 1935, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1936, -1, -1, 1937, -1, -1, -1, -1, 1938, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1939, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1940, -1, -1, -1, -1, 1941, -1, -1, -1, -1, -1, 1942, -1, 1943, -1, -1, -1, 1944, -1, -1, -1, -1, -1, -1, -1, -1, 1945, -1, -1, -1, 1946, -1, -1, -1, -1, -1, -1, -1, 1947, -1, -1, 1948, -1, -1, 1949, -1, -1, -1, -1, -1, -1, 1950, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1951, -1, -1, -1, -1, -1, -1, -1, 1952, 1953, -1, -1, -1, -1, -1, 1954, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1955, 1956, -1, -1, -1, -1, 1957, -1, 1958, -1, 1959, -1, -1, 1960, -1, -1, 1961, 1962, -1, 1963, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1964, -1, -1, 1965, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1966, 1967, -1, -1, -1, -1, -1, -1, 1968, 1969, 1970, -1, 1971, 1972, 1973, -1, -1, -1, -1, -1, -1, -1, -1, 1974, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1975, -1, -1, 1976, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1977, 1978, -1, -1, -1, 1979, -1, -1, 1980, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1981, -1, -1, -1, -1, 1982, 1983, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1984, -1, 1985, -1, -1, -1, 1986, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1987, -1, -1, -1, -1, -1, -1, -1, -1, 1988, 1989, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1990, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1991, -1, 1992, -1, -1, -1, -1, -1, -1, -1, -1, 1993, 1994, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1995, -1, -1, 1996, -1, -1, 1997, -1, 1998, -1, -1, -1, 1999, 2000, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2001, -1, -1, -1, -1, -1, -1, 2002, -1, -1, 2003, -1, -1, 2004, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2005, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2006, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2007, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2008, -1, -1, 2009, -1, -1, -1, -1, 2010, -1, -1, -1, -1, -1, 2011, -1, -1, -1, 2012, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2013, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2014, -1, 2015, -1, -1, 2016, -1, -1, -1, -1, 2017, -1, -1, -1, 2018, -1, -1, -1, -1, -1, 2019, 2020, -1, -1, 2021, -1, -1, -1, -1, -1, -1, 2022, 2023, -1, -1, -1, 2024, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2025, -1, 2026, 2027, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2028, -1, 2029, 2030, -1, -1, -1, -1, 2031, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2032, -1, -1, -1, -1, -1, -1, -1, -1, 2033, -1, -1, -1, -1, -1, -1, -1, -1, 2034, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2035, -1, 2036, -1, 2037, -1, -1, -1, -1, -1, -1, -1, 2038, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2039, 2040, -1, -1, -1, -1, -1, -1, -1, -1, 2041, 2042, 2043, 2044, -1, -1, -1, -1, -1, -1, -1, 2045, -1, -1, -1, 2046, 2047, -1, -1, -1, -1, -1, -1, 2048, -1, 2049, -1, -1, -1, -1, -1, -1, -1, -1, 2050, -1, -1, -1, 2051, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2052, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2053, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2054, -1, -1, 2055, -1, -1, 2056, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2057, -1, -1, -1, -1, -1, -1, -1, -1, 2058, -1, -1, -1, -1, 2059, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2060, -1, -1, -1,<|fim▁hole|> -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2063, -1, -1, -1, -1, -1, -1, -1, 2064, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2065, -1, -1, -1, -1, -1, -1, 2066, -1, -1, -1, -1, -1, 2067, -1, -1, -1, -1, -1, 2068, -1, 2069, 2070, -1, -1, -1, -1, -1, -1, -1, 2071, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2072, -1, -1, -1, 2073, -1, 2074, -1, -1, -1, -1, 2075, -1, -1, -1, -1, -1, -1, -1, -1, 2076, -1, -1, -1, 2077, 2078, 2079, -1, -1, -1, -1, -1, 2080, -1, -1, -1, -1, 2081, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2082, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2083, -1, -1, -1, -1, -1, 2084, -1, -1, -1, -1, -1, 2085, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2086, -1, -1, -1, -1, -1, 2087, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2088, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2089, -1, -1, -1, -1, -1, -1, 2090, -1, -1, -1, -1, -1, -1, -1, 2091, 2092, -1, -1, 2093, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2094, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2095, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2096, -1, -1, 2097, -1, 2098, -1, 2099, -1, 2100, -1, -1, 2101, 2102, -1, -1, -1, -1, -1, -1, -1, -1, 2103, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2104, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2105, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2106, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2107, -1, -1, -1, -1, -1, 2108, -1, -1, -1, 2109, -1, -1, 2110, -1, 2111, -1, -1, 2112, 2113, -1, -1, -1, 2114, -1, -1, 2115, -1, -1, -1, 2116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2117, -1, -1, -1, -1, -1, 2118, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2119, 2120, -1, 2121, -1, -1, -1, 2122, -1, -1, -1, -1, -1, -1, -1, 2123, -1, -1, -1, -1, -1, -1, -1, 2124, -1, 2125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2126, -1, -1, -1, -1, -1, 2127, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2128, -1, 2129, -1, -1, -1, -1, -1, -1, 2130, -1, -1, -1, -1, -1, -1, -1, -1, 2131, -1, -1, -1, -1, -1, -1, -1, -1, 2132, -1, -1, -1, 2133, -1, 2134, 2135, -1, -1, -1, -1, 2136, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2137, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2138, -1, -1, -1, -1, -1, -1, 2139, -1, -1, 2140, -1, -1, -1, -1, -1, -1, -1, -1, 2141, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2142, -1, -1, -1, -1, -1, 2143, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2144, 2145, 2146, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2147, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2148, -1, -1, -1, -1, 2149, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2150, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2151, 2152, -1, 2153, -1, -1, -1, -1, 2154, -1, -1, -1, -1, -1, -1, -1, 2155, -1, -1, -1, -1, -1, -1, 2156, 2157, -1, 2158, -1, 2159, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2160, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2161, -1, -1, -1, -1, -1, -1, 2162, 2163, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2164, 2165, -1, -1, -1, -1, 2166, -1, 2167, -1, -1, 2168, -1, -1, 2169, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2170, -1, 2171, 2172, -1, -1, 2173, -1, -1, -1, -1, -1, 2174, 2175, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2176, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2177, 2178, -1, -1, 2179, -1, 2180, -1, 2181, -1, -1, 2182, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2183, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2184, -1, -1, -1, 2185, -1, -1, 2186, -1, -1, -1, -1, -1, -1, -1, -1, 2187, 2188, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2189, -1, -1, 2190, 2191, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2192, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2193, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2194, -1, -1, -1, 2195, -1, -1, -1, -1, -1, -1, -1, 2196, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2197, -1, -1, -1, -1, -1, -1, -1, -1, 2198, -1, -1, 2199, -1, -1, -1, 2200, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2201, 2202, -1, -1, 2203, 2204, -1, -1, 2205, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2206, -1, -1, -1, -1, -1, 2207, -1, -1, -1, -1, -1, 2208, -1, -1, -1, 2209, -1, -1, -1, 2210, 2211, -1, 2212, -1, -1, -1, 2213, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2214, -1, -1, -1, -1, -1, -1, 2215, 2216, 2217, -1, -1, -1, -1, 2218, -1, -1, -1, 2219, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2220, -1, -1, -1, 2221, -1, -1, -1, 2222, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2223, -1, -1, 2224, -1, 2225, 2226, 2227, -1, -1, -1, -1, -1, -1, -1, 2228, -1, -1, -1, -1, -1, 2229, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2230, -1, 2231, -1, -1, -1, -1, -1, 2232, -1, -1, 2233, -1, -1, -1, -1, -1, -1, -1, 2234, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2235, -1, 2236, -1, -1, 2237, -1, -1, 2238, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2239, -1, -1, -1, -1, -1, -1, 2240, -1, 2241, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2242, 2243, -1, -1, -1, -1, -1, -1, -1, -1, 2244, -1, 2245, -1, -1, -1, -1, 2246, -1, -1, -1, -1, -1, -1, -1, -1, 2247, -1, -1, -1, -1, -1, -1, 2248, -1, -1, -1, -1, -1, -1, -1, 2249, -1, 2250, 2251, -1, 2252, -1, 2253, 2254, -1, -1, -1, -1, 2255, -1, -1, -1, 2256, -1, 2257, -1, -1, -1, -1, -1, 2258, -1, 2259, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2260, -1, 2261, -1, -1, -1, -1, -1, -1, -1, -1, 2262, -1, -1, -1, -1, -1, -1, 2263, -1, -1, 2264, -1, -1, -1, 2265, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2266, -1, -1, -1, -1, -1, -1, -1, -1, 2267, 2268, 2269, -1, -1, -1, -1, 2270, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2271, 2272, -1, -1, -1, -1, -1, -1, 2273, -1, -1, -1, 2274, -1, -1, -1, -1, -1, -1, -1, 2275, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2276, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2277, -1, -1, 2278, -1, 2279, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2280, 2281, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2282, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2283, -1, -1, -1, -1, -1, 2284, -1, -1, -1, -1, -1, 2285, -1, -1, -1, -1, -1, 2286, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2287, -1, 2288, -1, -1, -1, -1, -1, 2289, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2290, -1, -1, -1, -1, -1, 2291, 2292, -1, 2293, -1, -1, -1, -1, -1, -1, -1, 2294, 2295, -1, -1, 2296, -1, -1, 2297, -1, -1, 2298, -1, -1, 2299, -1, -1, -1, -1, -1, -1, -1, -1, 2300, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2301, -1, -1, -1, -1, -1, -1, 2302, -1, -1, -1, -1, 2303, 2304, -1, -1, 2305, -1, -1, -1, 2306, -1, -1, -1, 2307, 2308, 2309, -1, -1, -1, -1, 2310, 2311, 2312, -1, -1, 2313, -1, -1, 2314, -1, 2315, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2316, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2317, -1, -1, -1, -1, -1, -1, -1, 2318, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2319, -1, -1, -1, -1, 2320, 2321, -1, -1, -1, 2322, -1, 2323, 2324, 2325, 2326, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2327, -1, -1, -1, 2328, 2329, -1, 2330, 2331, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2332, 2333, -1, -1, 2334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2335, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2336, -1, 2337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2338, -1, -1, -1, -1, 2339, 2340, -1, -1, -1, 2341, 2342, -1, -1, -1, -1, -1, -1, -1, 2343, -1, -1, 2344, 2345, 2346, -1, -1, -1, -1, -1, -1, 2347, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2348, -1, -1, -1, -1, 2349, -1, -1, -1, -1, 2350, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2351, -1, -1, -1, -1, -1, -1, -1, -1, 2352, -1, -1, -1, -1, -1, 2353, -1, -1, 2354, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2355, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2356, -1, -1, -1, 2357, -1, -1, -1, -1, -1, -1, 2358, 2359, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2360, -1, -1, -1, -1, -1, -1, 2361, 2362, -1, -1, -1, -1, -1, 2363, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2364, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2365, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2366, 2367, -1, -1, -1, -1, -1, -1, 2368, 2369, -1, -1, -1, -1, -1, 2370, -1, -1, -1, -1, -1, -1, -1, -1, 2371, -1, -1, -1, -1, -1, -1, -1, 2372, -1, 2373, -1, -1, 2374, -1, -1, -1, -1, -1, -1, -1, 2375, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2376, -1, -1, -1, -1, -1, -1, 2377, 2378, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2379, -1, -1, -1, -1, -1, -1, -1, -1, 2380, -1, -1, 2381, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2382, -1, -1, -1, 2383, -1, -1, 2384, -1, -1, -1, -1, 2385, -1, -1, -1, -1, -1, -1, 2386, -1, 2387, -1, 2388, -1, -1, 2389, 2390, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2391, 2392, -1, -1, -1, -1, -1, -1, -1, 2393, -1, -1, 2394, -1, -1, -1, 2395, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2396, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2397, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2398, -1, 2399, 2400, -1, -1, -1, -1, 2401, -1, -1, -1, -1, 2402, -1, 2403, -1, -1, 2404, -1, 2405, -1, 2406, -1, -1, -1, -1, 2407, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2408, -1, -1, 2409, -1, 2410, 2411, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2412, -1, 2413, 2414, -1, -1, -1, -1, -1, -1, 2415, -1, -1, 2416, -1, -1, 2417, -1, -1, 2418, -1, -1, -1, -1, -1, -1, -1, -1, 2419, -1, -1, -1, -1, -1, 2420, -1, 2421, -1, -1, -1, -1, -1, -1, 2422, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2423, -1, -1, -1, -1, -1, 2424, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2425, 2426, 2427, -1, -1, -1, -1, 2428, -1, -1, 2429, -1, -1, -1, -1, -1, -1, -1, -1, 2430, -1, -1, 2431, -1, 2432, -1, -1, -1, -1, -1, 2433, 2434, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2435, 2436, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2437, -1, -1, -1, -1, 2438, -1, -1, -1, -1, -1, -1, -1, 2439, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2440, 2441, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2442, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2443, -1, -1, -1, -1, -1, -1, -1, -1, 2444, -1, -1, -1, -1, -1, -1, -1, 2445, -1, -1, -1, 2446, -1, -1, -1, -1, -1, -1, -1, -1, 2447, -1, -1, 2448, -1, -1, -1, -1, 2449, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2450, 2451, -1, -1, -1, -1, 2452, -1, -1, -1, -1, -1, 2453, 2454, 2455, -1, -1, 2456, -1, -1, -1, 2457, -1, -1, -1, 2458, -1, -1, -1, 2459, -1, -1, -1, -1, -1, -1, 2460, -1, -1, 2461, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2462, -1, -1, 2463, 2464, -1, -1, -1, -1, 2465, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2466, -1, -1, -1, -1, 2467, 2468, -1, -1, -1, -1, 2469, -1, -1, 2470, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2471, -1, -1, 2472, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2473, 2474, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2475, -1, 2476, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2477, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2478, 2479, -1, -1, 2480, -1, 2481, -1, -1, -1, -1, -1, -1, -1, -1, 2482, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2483, -1, -1, 2484, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2485, 2486, -1, -1, 2487, -1, -1, -1, -1, 2488, -1, -1, -1, -1, -1, -1, -1, 2489, -1, 2490, -1, -1, 2491, -1, -1, 2492, -1, -1, -1, -1, 2493, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2494, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2495, 2496, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2497, 2498, -1, -1, -1, 2499, -1, -1, -1, -1, -1, 2500, 2501, 2502, -1, -1, -1, -1, -1, -1, -1, 2503, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2504, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2505, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2506, -1, 2507, -1, -1, -1, -1, -1, -1, 2508, -1, -1, -1, -1, -1, 2509, -1, -1, 2510, -1, -1, -1, -1, 2511, -1, -1, -1, -1, -1, -1, 2512, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2513, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2514, -1, -1, -1, 2515, -1, -1, -1, -1, -1, -1, 2516, -1, 2517, -1, -1, -1, -1, 2518, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2519, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2520, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2521, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2522, -1, -1, -1, -1, -1, 2523, -1, -1, -1, 2524, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2525, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2526, 2527, -1, -1, -1, -1, 2528, -1, -1, -1, -1, 2529, -1, 2530, -1, -1, -1, -1, 2531, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2532, -1, -1, -1, -1, 2533, -1, -1, -1, -1, -1, -1, 2534, -1, 2535, -1, -1, -1, -1, -1, -1, -1, 2536, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2537, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2538, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2539, -1, 2540, -1, -1, -1, -1, -1, -1, -1, 2541, -1, -1, -1, -1, -1, -1, 2542, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2543, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2544, -1, 2545, -1, -1, -1, -1, -1, -1, 2546, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2547, 2548, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2549, -1, -1, -1, -1, -1, 2550, -1, -1, -1, 2551, -1, -1, -1, -1, -1, -1, 2552, -1, -1, -1, -1, 2553, 2554, 2555, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2556, -1, 2557, -1, -1, 2558, -1, -1, -1, -1, -1, 2559, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2560, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2561, -1, -1, -1, -1, -1, -1, 2562, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2563, 2564, -1, -1, -1, -1, 2565, -1, -1, -1, -1, -1, 2566, -1, -1, -1, -1, -1, -1, 2567, -1, 2568, -1, 2569, -1, -1, -1, -1, -1, -1, -1, 2570, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2571, -1, -1, -1, -1, -1, -1, -1, 2572, 2573, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2574, -1, 2575, -1, -1, -1, -1, -1, -1, -1, -1, 2576, -1, -1, -1, -1, -1, -1, -1, 2577, -1, -1, -1, -1, -1, 2578, -1, -1, 2579, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2580, -1, -1, -1, 2581, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2582, -1, 2583, 2584, 2585, -1, 2586, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2587, -1, 2588, -1, 2589, -1, -1, -1, 2590, -1, -1, -1, 2591, -1, -1, -1, -1, 2592, -1, -1, -1, -1, -1, -1, -1, -1, 2593, -1, 2594, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2595, -1, -1, -1, -1, -1, 2596, 2597, -1, 2598, -1, -1, -1, -1, -1, -1, 2599, 2600, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2601, 2602, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2603, -1, 2604, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2605, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2606, -1, -1, -1, -1, 2607, 2608, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2609, -1, -1, -1, 2610, -1, -1, -1, -1, 2611, -1, -1, -1, -1, 2612, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2613, -1, -1, -1, -1, -1, -1, 2614, -1, -1, -1, -1, 2615, 2616, -1, -1, -1, 2617, -1, -1, -1, 2618, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2619, -1, -1, -1, -1, -1, -1, 2620, -1, -1, -1, -1, -1, 2621, -1, -1, -1, -1, -1, 2622, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2623, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2624, -1, 2625, -1, -1, -1, 2626, -1, 2627, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2628, -1, 2629, -1, -1, 2630, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2631, 2632, -1, -1, -1, -1, -1, -1, -1, -1, 2633, -1, -1, 2634, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2635, -1, -1, -1, -1, -1, -1, 2636, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2637, 2638, 2639, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2640, -1, -1, 2641, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2642, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2643, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2644, -1, -1, -1, 2645, -1, -1, -1, -1, -1, -1, -1, 2646, -1, -1, 2647, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2648, -1, 2649, -1, -1, -1, -1, -1, 2650, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2651, -1, -1, -1, -1, 2652, -1, -1, -1, -1, -1, -1, 2653, -1, -1, 2654, -1, -1, -1, -1, 2655, -1, -1, -1, 2656, -1, -1, -1, -1, -1, -1, 2657, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2658, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2659, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2660, -1, -1, -1, 2661, 2662, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2663, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2664, -1, 2665, -1, -1, -1, -1, -1, -1, 2666, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2667, -1, -1, 2668, -1, -1, 2669, -1, 2670, -1, -1, -1, -1, -1, 2671, -1, -1, -1, -1, -1, -1, -1, -1, 2672, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2673, -1, -1, -1, -1, -1, -1, 2674, 2675, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2676, -1, -1, 2677, 2678, -1, -1, -1, 2679, -1, -1, -1, -1, -1, 2680, -1, 2681, 2682, -1, -1, 2683, -1, -1, 2684, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2685, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2686, -1, 2687, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2688, 2689, -1, 2690, -1, -1, 2691, -1, 2692, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2693, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2694, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2695, -1, -1, 2696, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2697, 2698, -1, -1, -1, 2699, -1, 2700, 2701, -1, 2702, -1, -1, -1, -1, -1, 2703, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2704, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2705, 2706, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2707, -1, -1, 2708, 2709, -1, -1, 2710, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2711, -1, -1, 2712, -1, -1, -1, -1, -1, -1, -1, 2713, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2714, -1, -1, -1, 2715, 2716, -1, -1, -1, -1, -1, 2717, 2718, -1, -1, -1, -1, -1, -1, -1, 2719, -1, -1, -1, -1, -1, 2720, -1, 2721, -1, -1, -1, -1, -1, -1, 2722, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2723, -1, -1, -1, 2724, 2725, -1, -1, -1, -1, -1, -1, 2726, 2727, -1, -1, -1, -1, -1, 2728, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2729, -1, 2730, -1, -1, -1, 2731, -1, -1, -1, -1, 2732, -1, -1, 2733, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2734, 2735, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2736, -1, -1, -1, -1, -1, 2737, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2738, -1, -1, -1, -1, -1, -1, 2739, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2740, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2741, -1, -1, -1, -1, -1, -1, 2742, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2743, -1, -1, -1, 2744, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2745, -1, -1, -1, -1, -1, 2746, -1, -1, -1, -1, 2747, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2748, -1, -1, -1, -1, -1, -1, -1, 2749, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2750, -1, -1, -1, -1, 2751, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2752, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2753, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2754, -1, -1, -1, 2755, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2756, 2757, -1, 2758, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2759, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2760, -1, -1, -1, -1, -1, -1, 2761, -1, -1, 2762, -1, 2763, -1, -1, -1, 2764, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2765, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2766, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2767, -1, 2768, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2769, -1, -1, -1, -1, 2770, -1, -1, 2771, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2772, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2773, -1, -1, -1, -1, -1, 2774, -1, 2775, -1, 2776, -1, -1, -1, -1, -1, 2777, -1, -1, -1, -1, 2778, -1, -1, -1, -1, -1, -1, 2779, 2780, -1, 2781, -1, -1, 2782, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2783, -1, -1, -1, -1, 2784, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2785, -1, -1, -1, -1, -1, -1, -1, -1, 2786, -1, -1, 2787, -1, -1, -1, 2788, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2789, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2790, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2791, -1, 2792, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2793, -1, -1, 2794, -1, -1, 2795, -1, -1, -1, -1, 2796, 2797, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2798, -1, -1, -1, -1, 2799, -1, -1, -1, -1, -1, -1, -1, 2800, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2801, -1, -1, -1, -1, -1, -1, 2802, -1, 2803, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2804, 2805, -1, -1, -1, 2806, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2807, -1, -1, -1, -1, -1, -1, -1, 2808, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2809, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2810, 2811, -1, -1, -1, 2812, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2813, -1, -1, -1, -1, 2814, 2815, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2816, -1, -1, -1, -1, -1, -1, -1, -1, 2817, 2818, 2819, -1, -1, 2820, -1, -1, -1, 2821, -1, -1, 2822, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2823, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2824, -1, 2825, -1, -1, -1, -1, -1, 2826, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2827, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2828, -1, -1, -1, -1, -1, -1, 2829, -1, -1, 2830, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2831, -1, -1, -1, 2832, -1, -1, 2833, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2834, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2835, -1, -1, -1, 2836, -1, -1, -1, -1, 2837, -1, -1, -1, -1, -1, -1, -1, -1, 2838, -1, 2839, -1, 2840, 2841, 2842, -1, -1, -1, -1, -1, -1, 2843, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2844, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2845, 2846, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2847, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2848, -1, -1, -1, -1, 2849, -1, 2850, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2851, 2852, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2853, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2854, -1, -1, -1, 2855, -1, -1, -1, 2856, -1, -1, -1, -1, -1, -1, -1, -1, 2857, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2858, -1, -1, -1, -1, -1, -1, -1, 2859, -1, -1, -1, -1, -1, -1, -1, -1, 2860, -1, -1, -1, 2861, -1, 2862, -1, 2863, -1, -1, 2864, -1, -1, 2865, -1, -1, -1, -1, -1, -1, -1, 2866, -1, 2867, -1, -1, -1, -1, 2868, -1, -1, -1, -1, 2869, -1, 2870, -1, -1, -1, -1, -1, -1, -1, 2871, -1, -1, -1, -1, 2872, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2873, -1, -1, -1, -1, -1, -1, 2874, -1, -1, -1, -1, -1, -1, -1, -1, 2875, -1, 2876, -1, 2877, -1, -1, -1, 2878, 2879, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2880, -1, 2881, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2882, 2883, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2884, -1, -1, 2885, -1, -1, -1, -1, -1, -1, -1, 2886, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2887, -1, 2888, -1, 2889, -1, -1, -1, 2890, 2891, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2892, -1, 2893, -1, -1, -1, -1, -1, 2894, -1, -1, -1, 2895, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2896, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2897, 2898, -1, -1, -1, -1, -1, -1, -1, 2899, -1, -1, -1, -1, -1, -1, -1, 2900, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2901, -1, -1, -1, -1, -1, -1, -1, 2902, -1, -1, -1, -1, -1, -1, 2903, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2904, -1, -1, -1, 2905, -1, -1, -1, -1, -1, -1, 2906, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2907, -1, 2908, -1, -1, -1, -1, -1, -1, -1, -1, 2909, -1, -1, 2910, 2911, -1, -1, -1, -1, -1, -1, -1, -1, 2912, -1, 2913, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2914, -1, 2915, -1, -1, -1, -1, 2916, -1, -1, -1, 2917, -1, -1, -1, -1, -1, -1, -1, 2918, -1, -1, -1, -1, 2919, -1, -1, -1, -1, -1, 2920, -1, -1, -1, -1, -1, -1, 2921, 2922, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2923, -1, 2924, -1, -1, -1, -1, -1, -1, -1, -1, 2925, -1, -1, -1, -1, -1, -1, -1, -1, 2926, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2927, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2928, -1, 2929, -1, -1, -1, -1, 2930, -1, 2931, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2932, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2933, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2934, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2935, -1, -1, -1, -1, -1, -1, 2936, -1, -1, 2937, 2938, -1, -1, -1, -1, -1, -1, 2939, -1, -1, 2940, -1, 2941, -1, -1, 2942, -1, -1, -1, -1, -1, -1, -1, -1, 2943, 2944, -1, -1, -1, -1, -1, -1, -1, 2945, -1, -1, -1, -1, 2946, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2947, -1, -1, -1, -1, 2948, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2949, -1, 2950, -1, -1, 2951, -1, -1, -1, -1, 2952, 2953, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2954, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2955, -1, 2956, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2957, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2958, -1, -1, -1, -1, 2959, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2960, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2961, -1, -1, -1, -1, -1, -1, 2962, -1, -1, -1, -1, -1, 2963, -1, 2964, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2965, -1, 2966, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2967, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2968, -1, 2969, -1, -1, -1, -1, -1, -1, 2970, -1, -1, -1, -1, -1, -1, -1, -1, 2971, -1, -1, -1, -1, -1, 2972, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2973, -1, 2974, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2975, 2976, -1, -1, 2977, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2978, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2979, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2980, -1, -1, 2981, -1, -1, -1, 2982, -1, -1, -1, -1, -1, -1, -1, 2983, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2984, -1, -1, -1, -1, -1, -1, -1, -1, 2985, -1, 2986, -1, 2987, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2988, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2989, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2990, -1, -1, 2991, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2992, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2993, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2994, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2995, 2996, 2997, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2998, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2999, -1, -1, -1, -1, -1, 3000, 3001, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3002, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3003, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3004, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3005, -1, -1, -1, -1, 3006, 3007, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3008, -1, -1, -1, -1, -1, -1, -1, -1, 3009, -1, -1, -1, -1, -1, -1, -1, -1, 3010, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3011, -1, -1, -1, -1, -1, 3012, -1, -1, -1, -1, -1, -1, -1, 3013, -1, -1, -1, -1, -1, -1, 3014, -1, -1, -1, 3015, -1, -1, -1, -1, -1, -1, -1, -1, 3016, -1, -1, -1, -1, -1, -1, -1, -1, 3017, -1, -1, 3018, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3019, -1, -1, -1, -1, 3020, -1, -1, -1, -1, -1, -1, -1, 3021, -1, -1, -1, -1, -1, -1, -1, 3022, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3023, -1, -1, -1, -1, -1, -1, 3024, 3025, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3026, -1, -1, -1, -1, -1, -1, 3027, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3028, 3029, -1, -1, -1, -1, -1, 3030, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3031, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3032, -1, 3033, -1, -1, -1, -1, -1, -1, 3034, -1, -1, -1, -1, -1, -1, -1, 3035, -1, -1, -1, 3036, -1, -1, -1, -1, -1, 3037, 3038, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3039, 3040, -1, 3041, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3042, -1, -1, -1, -1, -1, -1, 3043, -1, 3044, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3045, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3046, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3047, -1, -1, -1, -1, -1, -1, 3048, 3049, -1, -1, -1, 3050, 3051, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3052, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3053, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3054, -1, -1, -1, -1, -1, -1, 3055, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3056, -1, -1, -1, -1, -1, -1, -1, 3057, -1, -1, -1, 3058, 3059, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3060, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3061, -1, -1, -1, -1, -1, -1, -1, -1, 3062, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3063, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3064, -1, -1, 3065, -1, -1, -1, 3066, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3067, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3068, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3069, -1, -1, -1, -1, -1, -1, -1, 3070, 3071, -1, -1, 3072, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3073, -1, -1, -1, -1, -1, -1, -1, -1, 3074, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3075, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3076, -1, -1, 3077, -1, -1, -1, -1, -1, 3078, -1, -1, -1, -1, -1, 3079, -1, 3080, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3081, 3082, -1, 3083, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3084, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3085, -1, -1, -1, -1, -1, -1, -1, -1, 3086, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3087, 3088, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3089, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3090, -1, -1, -1, -1, -1, 3091, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3092, -1, -1, -1, -1, 3093, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3094, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3095, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3096, -1, -1, -1, 3097, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3098, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3099, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3100, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3101, -1, -1, 3102, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3103, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3104, -1, 3105, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3106, -1, -1, -1, -1, -1, 3107, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3108, -1, 3109, -1, -1, -1, -1, -1, -1, -1, 3110, -1, 3111, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3112, -1, 3113, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3114, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3115, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3116, 3117, -1, 3118, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3119, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3120, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3121, -1, -1, -1, -1, -1, -1, -1, -1, 3122, 3123, -1, -1, -1, 3124, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3127, -1, -1, -1, -1, 3128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3129, -1, -1, -1, -1, 3130, -1, -1, -1, -1, -1, -1, 3131, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3132, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3133, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3134, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3135, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3136, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3137, -1, -1, -1, -1, 3138, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3139, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3141, -1, -1, -1, -1, -1, -1, -1, -1, 3142, -1, 3143, -1, -1, -1, -1, -1, -1, -1, -1, 3144, -1, -1, -1, -1, -1, -1, 3145, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3146, 3147, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3148, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3149, -1, -1, -1, 3150, -1, -1, -1, -1, 3151, -1, -1, -1, -1, -1, -1, 3152, -1, -1, -1, -1, -1, -1, 3153, -1, -1, -1, -1, 3154, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3155, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3156, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3157, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3158, 3159, 3160, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3161, -1, -1, -1, -1, -1, 3162, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3163, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3164, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3165, -1, -1, -1, -1, -1, 3166, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3167, -1, -1, -1, -1, -1, -1, -1, 3168, -1, -1, -1, -1, -1, 3169, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3170, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3171, -1, 3172, -1, -1, -1, -1, -1, 3173, -1, -1, -1, -1, -1, -1, -1, -1, 3174, -1, -1, -1, 3175, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3176, -1, 3177, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3178, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3179, -1, -1, 3180, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3181, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3182, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3183, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3184, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3185, -1, -1, -1, 3186, -1, -1, 3187, -1, -1, -1, 3188, -1, -1, -1, 3189, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3190, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3191, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3192, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3193, -1, -1, -1, -1, -1, -1, -1, -1, 3194, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3195, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3196, -1, -1, -1, -1, -1, -1, -1, -1, 3197, -1, -1, -1, -1, 3198, -1, -1, -1, -1, -1, -1, 3199, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3200, -1, 3201, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3202, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3203, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3204, 3205, -1, -1, -1, 3206, -1, 3207, -1, 3208, -1, 3209, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3210, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3211, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3212, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3213, -1, -1, -1, -1, -1, -1, -1, 3214, -1, -1, 3215, -1, 3216, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3217, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3218, -1, 3219, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3220, -1, -1, -1, 3221, -1, -1, -1, -1, 3222, -1, -1, -1, -1, -1, -1, -1, -1, 3223, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3224, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3225, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3226, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3227, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3228, -1, -1, -1, -1, -1, -1, 3229, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3230, -1, -1, 3231, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3232, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3233, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3234, -1, -1, -1, -1, -1, 3235, -1, -1, -1, -1, -1, -1, -1, -1, 3236, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3237, -1, -1, -1, -1, 3238, -1, -1, -1, -1, -1, -1, 3239, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3240, -1, -1, -1, -1, -1, 3241, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3242, -1, -1, 3243, -1, -1, -1, -1, -1, 3244, -1, -1, -1, -1, -1, 3245, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3246, -1, -1, -1, -1, -1, -1, 3247, -1, -1, 3248, -1, -1, -1, -1, 3249, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3250, -1, 3251, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3252, -1, -1, -1, -1, -1, -1, 3253, -1, -1, -1, -1, 3254, -1, -1, -1, -1, -1, -1, -1, 3255, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3256, -1, -1, -1, -1, -1, 3257, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3258, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3259, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3260, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3261, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3262, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3263, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3264, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3265, -1, -1, -1, -1, -1, 3266, -1, 3267, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3268, -1, -1, -1, -1, -1, -1, 3269, -1, -1, -1, -1, 3270, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3271, -1, -1, 3272, 3273, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3274, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3275, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3276, -1, 3277, -1, 3278, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3279, -1, -1, -1, -1, -1, -1, -1, 3280, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3281, 3282, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3283, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3284, -1, -1, 3285, 3286, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3287, -1, -1, -1, -1, -1, 3288, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3289, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3290, -1, -1, 3291, -1, -1, -1, -1, -1, 3292, -1, -1, -1, 3293, 3294, -1, 3295, -1, -1, 3296, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3297, -1, -1, -1, 3298, -1, -1, 3299, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3300, -1, -1, -1, 3301, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3302, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3303, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3304, -1, -1, -1, -1, -1, 3305, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3306, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3307, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3308, -1, -1, 3309, 3310, -1, -1, 3311, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3312, -1, -1, -1, -1, 3313, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3314, -1, -1, -1, -1, 3315, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3316, -1, -1, -1, -1, 3317, 3318, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3320, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3321, -1, -1, -1, -1, -1, 3322, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3323, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3324, -1, -1, -1, 3325, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3326, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3327, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3328, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3329, -1, -1, -1, 3330, -1, -1, 3331, -1, -1, -1, -1, -1, -1, -1, -1, 3332, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3333, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3335, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3336, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3338, -1, -1, -1, -1, -1, 3339, 3340, -1, -1, -1, -1, 3341, -1, -1, -1, -1, -1, -1, 3342, -1, -1, -1, -1, -1, -1, -1, -1, 3343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3344, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3345, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3346, -1, 3347, -1, 3348, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3349, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3350, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3351, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3352, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3353, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3354, -1, -1, -1, -1, -1, -1, -1, 3355, -1, -1, -1, 3356, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3357, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3358, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3359, -1, -1, -1, -1, -1, 3360, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3361, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3362, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3363, -1, -1, -1, -1, -1, -1, 3364, -1, -1, -1, 3365, 3366, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3367, 3368, -1, -1, -1, -1, -1, -1, 3369, -1, 3370, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3371, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3372, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3373, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3374, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3375, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3376, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3377, -1, 3378, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3379, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3380, -1, -1, 3381, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3382, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3383, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3384, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3385, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3386, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3387, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3388, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3389, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3390, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3391, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3392, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3393, -1, -1, -1, -1, -1, -1, -1, -1, 3394, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3395, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3396, -1, 3397, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3398, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3400, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3401, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3402, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3403, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3404, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3405, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3406, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3407, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3408, -1, -1, -1, 3409, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3410, -1, -1, 3411, -1, -1, 3412, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3413, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3414, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3415, -1, -1, -1, -1, -1, -1, -1, -1, 3416, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3417, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3418, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3419, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3420, -1, -1, -1, -1, -1, -1, 3421, -1, -1, -1, -1, -1, -1, 3422, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3423, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3424, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3425, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3426, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3427, -1, -1, -1, 3428, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3429, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3430, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3431, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3432, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3433, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3434, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3435, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3436, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3437, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3438, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3439, -1, -1, -1, 3440, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3441, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3442, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3443, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3444, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3446, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3447, -1, -1, -1, -1, 3448, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3449, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3450, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3451, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3452, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3453, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3454, -1, -1, -1, -1, -1, -1, 3455, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3456, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3457, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3458, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3459, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3460, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3461, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3462, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3463, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3464, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3465, -1, -1, -1, -1, -1, -1, -1, 3466, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3467, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3468, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3469, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3470, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3471, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3472, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3473, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3474, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3475, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3476, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3477, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3478, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3479, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3480, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3481, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3482, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3483, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3484, 3485, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3486, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3487, -1, -1, -1, -1, -1, 3488, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3489, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3490, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3491, -1, 3492, -1, -1, -1, -1, 3493, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3494, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3495, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3496, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3497, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3498, -1, -1, -1, -1, -1, -1, -1, -1, 3499, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3500, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3501, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3502, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3503, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3504, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3505, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3506, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3507, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3508, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3509, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3510, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3511, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3512, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3513, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3514, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3515, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3516, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3517, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3518, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3519, -1, 3520, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3521, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3522, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3523, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3524, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3525, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3526, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3527, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3528, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3529, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3530, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3531, -1, -1, 3532, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3533, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3534, -1, -1, -1, -1, 3535, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3536, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3537, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3538, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3539, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3540, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3541, -1, -1, -1, -1, -1, -1, -1, 3542, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3543, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3544, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3545, -1, -1, -1, -1, -1, -1, -1, -1, 3546, -1, -1, -1, -1, -1, -1, 3547, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3548, -1, 3549, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3550, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3551, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3552, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3553, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3554, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3555, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3556, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3557, -1, -1, -1, 3558, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3559, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3560, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3561, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3562, -1, -1, -1, -1, -1, -1, -1, 3563, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3564, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3565, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3566, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3567, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3568, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3569, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3570, -1, -1, -1, -1, 3571, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3572, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3573, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3574, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3575, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3576, -1, -1, -1, -1, -1, 3577, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3578, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3579, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3580, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3581, -1, -1, -1, 3582, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3583, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3584, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3585, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3586, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3587, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3588, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3589, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3590, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3591, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3592, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3593, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3594, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3595, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3596, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3597, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3598, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3599, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3600, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3601, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3602, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3603, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3604, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3605, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3606, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3607, -1, -1, -1, -1, 3608, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3609, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3610, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3611, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3612, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3613, -1, -1, -1, -1, -1, -1, 3614, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3615, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3616, -1, -1, -1, -1, -1, -1, -1, -1, 3617, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3618, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3619, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3620, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3621, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3622, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3623, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3624, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3625, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3626, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3627, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3628, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3629, 3630, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3631, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3632, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3633, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3634, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3635, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3636 }; if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register int key = hash (str, len); if (key <= MAX_HASH_VALUE && key >= 0) { register int index = lookup[key]; if (index >= 0) { register const char *s = wordlist[index].name; if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') return &wordlist[index]; } } } return 0; } #line 3651 "effective_tld_names.gperf"<|fim▁end|>
-1, -1, 2061, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2062, -1, -1, -1,
<|file_name|>index.js<|end_file_name|><|fim▁begin|>var _ = require('lodash'), Promise = require('bluebird'), models = require('../../../../models'), utils = require('../../../../utils'), SubscribersImporter = require('./subscribers'), PostsImporter = require('./posts'), TagsImporter = require('./tags'), SettingsImporter = require('./settings'), UsersImporter = require('./users'), RolesImporter = require('./roles'), importers = {}, DataImporter;<|fim▁hole|>DataImporter = { type: 'data', preProcess: function preProcess(importData) { importData.preProcessedByData = true; return importData; }, init: function init(importData) { importers.roles = new RolesImporter(importData.data); importers.tags = new TagsImporter(importData.data); importers.users = new UsersImporter(importData.data); importers.subscribers = new SubscribersImporter(importData.data); importers.posts = new PostsImporter(importData.data); importers.settings = new SettingsImporter(importData.data); return importData; }, doImport: function doImport(importData) { var ops = [], errors = [], results = [], options = { importing: true, context: { internal: true } }; this.init(importData); return models.Base.transaction(function (transacting) { options.transacting = transacting; _.each(importers, function (importer) { ops.push(function doModelImport() { return importer.beforeImport(options) .then(function () { return importer.doImport(options) .then(function (_results) { results = results.concat(_results); }); }); }); }); _.each(importers, function (importer) { ops.push(function afterImport() { return importer.afterImport(options); }); }); utils.sequence(ops) .then(function () { results.forEach(function (promise) { if (!promise.isFulfilled()) { errors = errors.concat(promise.reason()); } }); if (errors.length === 0) { transacting.commit(); } else { transacting.rollback(errors); } }); }).then(function () { /** * data: imported data * originalData: data from the json file * problems: warnings */ var toReturn = { data: {}, originalData: importData.data, problems: [] }; _.each(importers, function (importer) { toReturn.problems = toReturn.problems.concat(importer.problems); toReturn.data[importer.dataKeyToImport] = importer.importedData; }); return toReturn; }).catch(function (errors) { return Promise.reject(errors); }); } }; module.exports = DataImporter;<|fim▁end|>
<|file_name|>apply-location-offset.js<|end_file_name|><|fim▁begin|>export default function applyLocationOffset(rect, location, isOffsetBody) { var top = rect.top; var left = rect.left; if (isOffsetBody) { left = 0; top = 0; } return { top: top + location.top,<|fim▁hole|>} //# sourceMappingURL=apply-location-offset.js.map<|fim▁end|>
left: left + location.left, height: rect.height, width: rect.width };
<|file_name|>admin.py<|end_file_name|><|fim▁begin|>""" Django admin dashboard configuration. """ from config_models.admin import ConfigurationModelAdmin, KeyedConfigurationModelAdmin from django.contrib import admin from django.utils.translation import ugettext_lazy as _ from common.djangoapps.xblock_django.models import XBlockConfiguration, XBlockStudioConfiguration, XBlockStudioConfigurationFlag # lint-amnesty, pylint: disable=line-too-long class XBlockConfigurationAdmin(KeyedConfigurationModelAdmin): """ Admin for XBlockConfiguration. """ fieldsets = ( ('XBlock Name', { 'fields': ('name',) }), ('Enable/Disable XBlock', { 'description': _('To disable the XBlock and prevent rendering in the LMS, leave "Enabled" deselected; ' 'for clarity, update XBlockStudioConfiguration support state accordingly.'), 'fields': ('enabled',) }), ('Deprecate XBlock', { 'description': _("Only XBlocks listed in a course's Advanced Module List can be flagged as deprecated. " "Remember to update XBlockStudioConfiguration support state accordingly, as deprecated " "does not impact whether or not new XBlock instances can be created in Studio."), 'fields': ('deprecated',) }), ) class XBlockStudioConfigurationAdmin(KeyedConfigurationModelAdmin): """ Admin for XBlockStudioConfiguration. """ fieldsets = (<|fim▁hole|> ('Enable Studio Authoring', { 'description': _( 'XBlock/template combinations that are disabled cannot be edited in Studio, regardless of support ' 'level. Remember to also check if all instances of the XBlock are disabled in XBlockConfiguration.' ), 'fields': ('enabled',) }), ('Support Level', { 'description': _( "Enabled XBlock/template combinations with full or provisional support can always be created " "in Studio. Unsupported XBlock/template combinations require course author opt-in." ), 'fields': ('support_level',) }), ) admin.site.register(XBlockConfiguration, XBlockConfigurationAdmin) admin.site.register(XBlockStudioConfiguration, XBlockStudioConfigurationAdmin) admin.site.register(XBlockStudioConfigurationFlag, ConfigurationModelAdmin)<|fim▁end|>
('', { 'fields': ('name', 'template') }),
<|file_name|>grove_barometer_example_BMP085.py<|end_file_name|><|fim▁begin|>#!/usr/bin/env python # # GrovePi Example for using the Grove Barometer module (http://www.seeedstudio.com/depot/Grove-Barometer-HighAccuracy-p-1865.html) # # The GrovePi connects the Raspberry Pi and Grove sensors. You can learn more about GrovePi here: http://www.dexterindustries.com/GrovePi # # Have a question about this example? Ask on the forums here: http://www.dexterindustries.com/forum/?forum=grovepi # ''' ## License The MIT License (MIT) GrovePi for the Raspberry Pi: an open source platform for connecting Grove Sensors to the Raspberry Pi. Copyright (C) 2015 Dexter Industries Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal<|fim▁hole|>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ''' import grove_barometer_lib b = grove_barometer_lib.barometer() while True(): print ("Temp:",b.temperature," Pressure:",b.pressure," Altitude:",b.altitude) b.update() time.sleep(.1)<|fim▁end|>
in the Software without restriction, including without limitation the rights
<|file_name|>decoder.py<|end_file_name|><|fim▁begin|># # This file is part of pyasn1 software. # # Copyright (c) 2005-2017, Ilya Etingof <etingof@gmail.com> # License: http://pyasn1.sf.net/license.html # from pyasn1.type import univ from pyasn1.codec.cer import decoder __all__ = ['decode'] class BitStringDecoder(decoder.BitStringDecoder): supportConstructedForm = False class OctetStringDecoder(decoder.OctetStringDecoder): supportConstructedForm = False # TODO: prohibit non-canonical encoding RealDecoder = decoder.RealDecoder tagMap = decoder.tagMap.copy() tagMap.update( {univ.BitString.tagSet: BitStringDecoder(), univ.OctetString.tagSet: OctetStringDecoder(), univ.Real.tagSet: RealDecoder()} ) typeMap = decoder.typeMap.copy() # Put in non-ambiguous types for faster codec lookup for typeDecoder in tagMap.values(): if typeDecoder.protoComponent is not None: typeId = typeDecoder.protoComponent.__class__.typeId if typeId is not None and typeId not in typeMap: typeMap[typeId] = typeDecoder class Decoder(decoder.Decoder): supportIndefLength = False <|fim▁hole|>#: Turns DER octet stream into an ASN.1 object. #: #: Takes DER octetstream and decode it into an ASN.1 object #: (e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative) which #: may be a scalar or an arbitrary nested structure. #: #: Parameters #: ---------- #: substrate: :py:class:`bytes` (Python 3) or :py:class:`str` (Python 2) #: DER octetstream #: #: asn1Spec: any pyasn1 type object e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative #: A pyasn1 type object to act as a template guiding the decoder. Depending on the ASN.1 structure #: being decoded, *asn1Spec* may or may not be required. Most common reason for #: it to require is that ASN.1 structure is encoded in *IMPLICIT* tagging mode. #: #: Returns #: ------- #: : :py:class:`tuple` #: A tuple of pyasn1 object recovered from DER substrate (:py:class:`~pyasn1.type.base.PyAsn1Item` derivative) #: and the unprocessed trailing portion of the *substrate* (may be empty) #: #: Raises #: ------ #: : :py:class:`pyasn1.error.PyAsn1Error` #: On decoding errors decode = Decoder(tagMap, typeMap)<|fim▁end|>
<|file_name|>QuestStatus.java<|end_file_name|><|fim▁begin|>package org.winterblade.minecraft.harmony.api.questing; import org.winterblade.minecraft.scripting.api.IScriptObjectDeserializer; import org.winterblade.minecraft.scripting.api.ScriptObjectDeserializer; /** * Created by Matt on 5/29/2016. */ public enum QuestStatus { INVALID, ACTIVE, LOCKED, COMPLETE, CLOSED; @ScriptObjectDeserializer(deserializes = QuestStatus.class) public static class Deserializer implements IScriptObjectDeserializer { @Override public Object Deserialize(Object input) { if(!String.class.isAssignableFrom(input.getClass())) return null; return QuestStatus.valueOf(input.toString().toUpperCase()); }<|fim▁hole|><|fim▁end|>
} }
<|file_name|>urls.py<|end_file_name|><|fim▁begin|>""" Map urls to the relevant view handlers """ <|fim▁hole|>from django.conf.urls import url from openedx.core.djangoapps.zendesk_proxy.v0.views import ZendeskPassthroughView as v0_view from openedx.core.djangoapps.zendesk_proxy.v1.views import ZendeskPassthroughView as v1_view urlpatterns = [ url(r'^v0$', v0_view.as_view(), name='zendesk_proxy_v0'), url(r'^v1$', v1_view.as_view(), name='zendesk_proxy_v1'), ]<|fim▁end|>
<|file_name|>stylesheets.rs<|end_file_name|><|fim▁begin|>/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use cssparser::{self, Parser, SourcePosition}; use media_queries::CSSErrorReporterTest; use selectors::parser::*; use std::borrow::ToOwned; use std::sync::Arc; use std::sync::Mutex; use string_cache::{Atom, Namespace as NsAtom}; use style::error_reporting::ParseErrorReporter; use style::keyframes::{Keyframe, KeyframeSelector, KeyframePercentage}; use style::parser::ParserContextExtraData; use style::properties::{PropertyDeclaration, PropertyDeclarationBlock, DeclaredValue, longhands}; use style::properties::Importance; use style::properties::longhands::animation_play_state; use style::stylesheets::{Stylesheet, NamespaceRule, CSSRule, StyleRule, KeyframesRule, Origin}; use style::values::specified::{LengthOrPercentageOrAuto, Percentage}; use url::Url; #[test] fn test_parse_stylesheet() { let css = r" @namespace url(http://www.w3.org/1999/xhtml); /* FIXME: only if scripting is enabled */ input[type=hidden i] { display: block !important; display: none !important; display: inline; --a: b !important; --a: inherit !important; --a: c; } html , body /**/ { display: none; display: block; } #d1 > .ok { background: blue; } @keyframes foo { from { width: 0% } to { width: 100%; width: 50% !important; /* !important not allowed here */ animation-name: 'foo'; /* animation properties not allowed here */ animation-play-state: running; /* … except animation-play-state */ } }"; let url = Url::parse("about::test").unwrap(); let stylesheet = Stylesheet::from_str(css, url, Origin::UserAgent, Box::new(CSSErrorReporterTest), ParserContextExtraData::default()); macro_rules! assert_eq { ($left: expr, $right: expr) => { let left = $left; let right = $right; if left != right { panic!("{:#?} != {:#?}", left, right) } } } assert_eq!(stylesheet, Stylesheet { origin: Origin::UserAgent, media: None, dirty_on_viewport_size_change: false, rules: vec![ CSSRule::Namespace(Arc::new(NamespaceRule { prefix: None, url: NsAtom(Atom::from("http://www.w3.org/1999/xhtml")) })), CSSRule::Style(Arc::new(StyleRule { selectors: vec![ Selector { complex_selector: Arc::new(ComplexSelector { compound_selector: vec![ SimpleSelector::Namespace(Namespace { prefix: None, url: NsAtom(Atom::from("http://www.w3.org/1999/xhtml")) }), SimpleSelector::LocalName(LocalName { name: atom!("input"), lower_name: atom!("input"), }), SimpleSelector::AttrEqual(AttrSelector { name: atom!("type"), lower_name: atom!("type"), namespace: NamespaceConstraint::Specific(Namespace { prefix: None, url: ns!() }), }, "hidden".to_owned(), CaseSensitivity::CaseInsensitive) ], next: None, }), pseudo_element: None, specificity: (0 << 20) + (1 << 10) + (1 << 0), }, ], declarations: Arc::new(PropertyDeclarationBlock { declarations: vec![ (PropertyDeclaration::Display(DeclaredValue::Value( longhands::display::SpecifiedValue::none)), Importance::Important), (PropertyDeclaration::Custom(Atom::from("a"), DeclaredValue::Inherit), Importance::Important), ], important_count: 2, }), })), CSSRule::Style(Arc::new(StyleRule { selectors: vec![ Selector { complex_selector: Arc::new(ComplexSelector { compound_selector: vec![ SimpleSelector::Namespace(Namespace { prefix: None, url: NsAtom(Atom::from("http://www.w3.org/1999/xhtml")) }), SimpleSelector::LocalName(LocalName { name: atom!("html"), lower_name: atom!("html"), }), ], next: None, }), pseudo_element: None, specificity: (0 << 20) + (0 << 10) + (1 << 0), }, Selector { complex_selector: Arc::new(ComplexSelector { compound_selector: vec![ SimpleSelector::Namespace(Namespace { prefix: None, url: NsAtom(Atom::from("http://www.w3.org/1999/xhtml")) }), SimpleSelector::LocalName(LocalName { name: atom!("body"), lower_name: atom!("body"), }), ], next: None, }), pseudo_element: None, specificity: (0 << 20) + (0 << 10) + (1 << 0), }, ], declarations: Arc::new(PropertyDeclarationBlock { declarations: vec![ (PropertyDeclaration::Display(DeclaredValue::Value( longhands::display::SpecifiedValue::block)), Importance::Normal), ], important_count: 0, }), })), CSSRule::Style(Arc::new(StyleRule { selectors: vec![ Selector { complex_selector: Arc::new(ComplexSelector { compound_selector: vec![ SimpleSelector::Namespace(Namespace { prefix: None, url: NsAtom(Atom::from("http://www.w3.org/1999/xhtml")) }), SimpleSelector::Class(Atom::from("ok")), ], next: Some((Arc::new(ComplexSelector { compound_selector: vec![ SimpleSelector::Namespace(Namespace { prefix: None, url: NsAtom(Atom::from("http://www.w3.org/1999/xhtml")) }), SimpleSelector::ID(Atom::from("d1")), ], next: None, }), Combinator::Child)), }), pseudo_element: None, specificity: (1 << 20) + (1 << 10) + (0 << 0), }, ], declarations: Arc::new(PropertyDeclarationBlock { declarations: vec![ (PropertyDeclaration::BackgroundColor(DeclaredValue::Value( longhands::background_color::SpecifiedValue { authored: Some("blue".to_owned()), parsed: cssparser::Color::RGBA(cssparser::RGBA { red: 0., green: 0., blue: 1., alpha: 1. }), } )), Importance::Normal), (PropertyDeclaration::BackgroundPosition(DeclaredValue::Value( longhands::background_position::SpecifiedValue( vec![longhands::background_position::single_value ::get_initial_specified_value()]))), Importance::Normal), (PropertyDeclaration::BackgroundRepeat(DeclaredValue::Value( longhands::background_repeat::SpecifiedValue( vec![longhands::background_repeat::single_value ::get_initial_specified_value()]))), Importance::Normal), (PropertyDeclaration::BackgroundAttachment(DeclaredValue::Value( longhands::background_attachment::SpecifiedValue( vec![longhands::background_attachment::single_value ::get_initial_specified_value()]))), Importance::Normal), (PropertyDeclaration::BackgroundImage(DeclaredValue::Value( longhands::background_image::SpecifiedValue( vec![longhands::background_image::single_value ::get_initial_specified_value()]))), Importance::Normal),<|fim▁hole|> Importance::Normal), (PropertyDeclaration::BackgroundOrigin(DeclaredValue::Value( longhands::background_origin::SpecifiedValue( vec![longhands::background_origin::single_value ::get_initial_specified_value()]))), Importance::Normal), (PropertyDeclaration::BackgroundClip(DeclaredValue::Value( longhands::background_clip::SpecifiedValue( vec![longhands::background_clip::single_value ::get_initial_specified_value()]))), Importance::Normal), ], important_count: 0, }), })), CSSRule::Keyframes(Arc::new(KeyframesRule { name: "foo".into(), keyframes: vec![ Arc::new(Keyframe { selector: KeyframeSelector::new_for_unit_testing( vec![KeyframePercentage::new(0.)]), block: Arc::new(PropertyDeclarationBlock { declarations: vec![ (PropertyDeclaration::Width(DeclaredValue::Value( LengthOrPercentageOrAuto::Percentage(Percentage(0.)))), Importance::Normal), ], important_count: 0, }) }), Arc::new(Keyframe { selector: KeyframeSelector::new_for_unit_testing( vec![KeyframePercentage::new(1.)]), block: Arc::new(PropertyDeclarationBlock { declarations: vec![ (PropertyDeclaration::Width(DeclaredValue::Value( LengthOrPercentageOrAuto::Percentage(Percentage(1.)))), Importance::Normal), (PropertyDeclaration::AnimationPlayState(DeclaredValue::Value( animation_play_state::SpecifiedValue( vec![animation_play_state::SingleSpecifiedValue::running]))), Importance::Normal), ], important_count: 0, }), }), ] })) ], }); } struct CSSError { pub line: usize, pub column: usize, pub message: String } struct CSSInvalidErrorReporterTest { pub errors: Arc<Mutex<Vec<CSSError>>> } impl CSSInvalidErrorReporterTest { pub fn new() -> CSSInvalidErrorReporterTest { return CSSInvalidErrorReporterTest{ errors: Arc::new(Mutex::new(Vec::new())) } } } impl ParseErrorReporter for CSSInvalidErrorReporterTest { fn report_error(&self, input: &mut Parser, position: SourcePosition, message: &str) { let location = input.source_location(position); let errors = self.errors.clone(); let mut errors = errors.lock().unwrap(); errors.push( CSSError{ line: location.line, column: location.column, message: message.to_owned() } ); } fn clone(&self) -> Box<ParseErrorReporter + Send + Sync> { return Box::new( CSSInvalidErrorReporterTest{ errors: self.errors.clone() } ); } } #[test] fn test_report_error_stylesheet() { let css = r" div { background-color: red; display: invalid; invalid: true; } "; let url = Url::parse("about::test").unwrap(); let error_reporter = Box::new(CSSInvalidErrorReporterTest::new()); let errors = error_reporter.errors.clone(); Stylesheet::from_str(css, url, Origin::UserAgent, error_reporter, ParserContextExtraData::default()); let mut errors = errors.lock().unwrap(); let error = errors.pop().unwrap(); assert_eq!("Unsupported property declaration: 'invalid: true;'", error.message); assert_eq!(5, error.line); assert_eq!(9, error.column); let error = errors.pop().unwrap(); assert_eq!("Unsupported property declaration: 'display: invalid;'", error.message); assert_eq!(4, error.line); assert_eq!(9, error.column); }<|fim▁end|>
(PropertyDeclaration::BackgroundSize(DeclaredValue::Value( longhands::background_size::SpecifiedValue( vec![longhands::background_size::single_value ::get_initial_specified_value()]))),
<|file_name|>annotate.go<|end_file_name|><|fim▁begin|>/* Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package cmd import ( "bytes" "fmt" "io" jsonpatch "github.com/evanphx/json-patch" "github.com/golang/glog" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/json" "k8s.io/cli-runtime/pkg/genericclioptions" "k8s.io/cli-runtime/pkg/genericclioptions/printers" "k8s.io/cli-runtime/pkg/genericclioptions/resource" "k8s.io/kubernetes/pkg/kubectl" "k8s.io/kubernetes/pkg/kubectl/cmd/templates" cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util" "k8s.io/kubernetes/pkg/kubectl/scheme" "k8s.io/kubernetes/pkg/kubectl/util/i18n" ) // AnnotateOptions have the data required to perform the annotate operation type AnnotateOptions struct { PrintFlags *genericclioptions.PrintFlags PrintObj printers.ResourcePrinterFunc // Filename options resource.FilenameOptions RecordFlags *genericclioptions.RecordFlags // Common user flags overwrite bool local bool dryrun bool all bool resourceVersion string selector string fieldSelector string outputFormat string // results of arg parsing resources []string newAnnotations map[string]string removeAnnotations []string Recorder genericclioptions.Recorder namespace string enforceNamespace bool builder *resource.Builder unstructuredClientForMapping func(mapping *meta.RESTMapping) (resource.RESTClient, error) includeUninitialized bool genericclioptions.IOStreams } var ( annotateLong = templates.LongDesc(` Update the annotations on one or more resources All Kubernetes objects support the ability to store additional data with the object as annotations. Annotations are key/value pairs that can be larger than labels and include arbitrary string values such as structured JSON. Tools and system extensions may use annotations to store their own data. Attempting to set an annotation that already exists will fail unless --overwrite is set. If --resource-version is specified and does not match the current resource version on the server the command will fail.`) annotateExample = templates.Examples(i18n.T(` # Update pod 'foo' with the annotation 'description' and the value 'my frontend'. # If the same annotation is set multiple times, only the last value will be applied kubectl annotate pods foo description='my frontend' # Update a pod identified by type and name in "pod.json" kubectl annotate -f pod.json description='my frontend' # Update pod 'foo' with the annotation 'description' and the value 'my frontend running nginx', overwriting any existing value. kubectl annotate --overwrite pods foo description='my frontend running nginx' # Update all pods in the namespace kubectl annotate pods --all description='my frontend running nginx' # Update pod 'foo' only if the resource is unchanged from version 1. kubectl annotate pods foo description='my frontend running nginx' --resource-version=1 # Update pod 'foo' by removing an annotation named 'description' if it exists. # Does not require the --overwrite flag. kubectl annotate pods foo description-`)) ) func NewAnnotateOptions(ioStreams genericclioptions.IOStreams) *AnnotateOptions { return &AnnotateOptions{ PrintFlags: genericclioptions.NewPrintFlags("annotated").WithTypeSetter(scheme.Scheme), RecordFlags: genericclioptions.NewRecordFlags(), Recorder: genericclioptions.NoopRecorder{}, IOStreams: ioStreams, } } func NewCmdAnnotate(parent string, f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command { o := NewAnnotateOptions(ioStreams) cmd := &cobra.Command{ Use: "annotate [--overwrite] (-f FILENAME | TYPE NAME) KEY_1=VAL_1 ... KEY_N=VAL_N [--resource-version=version]", DisableFlagsInUseLine: true, Short: i18n.T("Update the annotations on a resource"), Long: annotateLong + "\n\n" + cmdutil.SuggestApiResources(parent), Example: annotateExample, Run: func(cmd *cobra.Command, args []string) { cmdutil.CheckErr(o.Complete(f, cmd, args)) cmdutil.CheckErr(o.Validate()) cmdutil.CheckErr(o.RunAnnotate()) }, } // bind flag structs o.RecordFlags.AddFlags(cmd) o.PrintFlags.AddFlags(cmd) cmdutil.AddIncludeUninitializedFlag(cmd) cmd.Flags().BoolVar(&o.overwrite, "overwrite", o.overwrite, "If true, allow annotations to be overwritten, otherwise reject annotation updates that overwrite existing annotations.") cmd.Flags().BoolVar(&o.local, "local", o.local, "If true, annotation will NOT contact api-server but run locally.") cmd.Flags().StringVarP(&o.selector, "selector", "l", o.selector, "Selector (label query) to filter on, not including uninitialized ones, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2).") cmd.Flags().StringVar(&o.fieldSelector, "field-selector", o.fieldSelector, "Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.") cmd.Flags().BoolVar(&o.all, "all", o.all, "Select all resources, including uninitialized ones, in the namespace of the specified resource types.") cmd.Flags().StringVar(&o.resourceVersion, "resource-version", o.resourceVersion, i18n.T("If non-empty, the annotation update will only succeed if this is the current resource-version for the object. Only valid when specifying a single resource.")) usage := "identifying the resource to update the annotation" cmdutil.AddFilenameOptionFlags(cmd, &o.FilenameOptions, usage) cmdutil.AddDryRunFlag(cmd) return cmd } // Complete adapts from the command line args and factory to the data required. func (o *AnnotateOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error { var err error o.RecordFlags.Complete(cmd) o.Recorder, err = o.RecordFlags.ToRecorder() if err != nil { return err } o.outputFormat = cmdutil.GetFlagString(cmd, "output") o.dryrun = cmdutil.GetDryRunFlag(cmd) if o.dryrun { o.PrintFlags.Complete("%s (dry run)") } printer, err := o.PrintFlags.ToPrinter() if err != nil { return err } o.PrintObj = func(obj runtime.Object, out io.Writer) error { return printer.PrintObj(obj, out) } o.namespace, o.enforceNamespace, err = f.ToRawKubeConfigLoader().Namespace() if err != nil { return err } o.includeUninitialized = cmdutil.ShouldIncludeUninitialized(cmd, false) o.builder = f.NewBuilder() o.unstructuredClientForMapping = f.UnstructuredClientForMapping // retrieves resource and annotation args from args // also checks args to verify that all resources are specified before annotations resources, annotationArgs, err := cmdutil.GetResourcesAndPairs(args, "annotation") if err != nil { return err } o.resources = resources<|fim▁hole|> return err } return nil } // Validate checks to the AnnotateOptions to see if there is sufficient information run the command. func (o AnnotateOptions) Validate() error { if o.all && len(o.selector) > 0 { return fmt.Errorf("cannot set --all and --selector at the same time") } if o.all && len(o.fieldSelector) > 0 { return fmt.Errorf("cannot set --all and --field-selector at the same time") } if len(o.resources) < 1 && cmdutil.IsFilenameSliceEmpty(o.Filenames) { return fmt.Errorf("one or more resources must be specified as <resource> <name> or <resource>/<name>") } if len(o.newAnnotations) < 1 && len(o.removeAnnotations) < 1 { return fmt.Errorf("at least one annotation update is required") } return validateAnnotations(o.removeAnnotations, o.newAnnotations) } // RunAnnotate does the work func (o AnnotateOptions) RunAnnotate() error { b := o.builder. Unstructured(). LocalParam(o.local). ContinueOnError(). NamespaceParam(o.namespace).DefaultNamespace(). FilenameParam(o.enforceNamespace, &o.FilenameOptions). IncludeUninitialized(o.includeUninitialized). Flatten() if !o.local { b = b.LabelSelectorParam(o.selector). FieldSelectorParam(o.fieldSelector). ResourceTypeOrNameArgs(o.all, o.resources...). Latest() } r := b.Do() if err := r.Err(); err != nil { return err } var singleItemImpliedResource bool r.IntoSingleItemImplied(&singleItemImpliedResource) // only apply resource version locking on a single resource. // we must perform this check after o.builder.Do() as // []o.resources can not not accurately return the proper number // of resources when they are not passed in "resource/name" format. if !singleItemImpliedResource && len(o.resourceVersion) > 0 { return fmt.Errorf("--resource-version may only be used with a single resource") } return r.Visit(func(info *resource.Info, err error) error { if err != nil { return err } var outputObj runtime.Object obj := info.Object if o.dryrun || o.local { if err := o.updateAnnotations(obj); err != nil { return err } outputObj = obj } else { name, namespace := info.Name, info.Namespace oldData, err := json.Marshal(obj) if err != nil { return err } if err := o.Recorder.Record(info.Object); err != nil { glog.V(4).Infof("error recording current command: %v", err) } if err := o.updateAnnotations(obj); err != nil { return err } newData, err := json.Marshal(obj) if err != nil { return err } patchBytes, err := jsonpatch.CreateMergePatch(oldData, newData) createdPatch := err == nil if err != nil { glog.V(2).Infof("couldn't compute patch: %v", err) } mapping := info.ResourceMapping() client, err := o.unstructuredClientForMapping(mapping) if err != nil { return err } helper := resource.NewHelper(client, mapping) if createdPatch { outputObj, err = helper.Patch(namespace, name, types.MergePatchType, patchBytes) } else { outputObj, err = helper.Replace(namespace, name, false, obj) } if err != nil { return err } } return o.PrintObj(outputObj, o.Out) }) } // parseAnnotations retrieves new and remove annotations from annotation args func parseAnnotations(annotationArgs []string) (map[string]string, []string, error) { return cmdutil.ParsePairs(annotationArgs, "annotation", true) } // validateAnnotations checks the format of annotation args and checks removed annotations aren't in the new annotations map func validateAnnotations(removeAnnotations []string, newAnnotations map[string]string) error { var modifyRemoveBuf bytes.Buffer for _, removeAnnotation := range removeAnnotations { if _, found := newAnnotations[removeAnnotation]; found { if modifyRemoveBuf.Len() > 0 { modifyRemoveBuf.WriteString(", ") } modifyRemoveBuf.WriteString(fmt.Sprintf(removeAnnotation)) } } if modifyRemoveBuf.Len() > 0 { return fmt.Errorf("can not both modify and remove the following annotation(s) in the same command: %s", modifyRemoveBuf.String()) } return nil } // validateNoAnnotationOverwrites validates that when overwrite is false, to-be-updated annotations don't exist in the object annotation map (yet) func validateNoAnnotationOverwrites(accessor metav1.Object, annotations map[string]string) error { var buf bytes.Buffer for key := range annotations { // change-cause annotation can always be overwritten if key == kubectl.ChangeCauseAnnotation { continue } if value, found := accessor.GetAnnotations()[key]; found { if buf.Len() > 0 { buf.WriteString("; ") } buf.WriteString(fmt.Sprintf("'%s' already has a value (%s)", key, value)) } } if buf.Len() > 0 { return fmt.Errorf("--overwrite is false but found the following declared annotation(s): %s", buf.String()) } return nil } // updateAnnotations updates annotations of obj func (o AnnotateOptions) updateAnnotations(obj runtime.Object) error { accessor, err := meta.Accessor(obj) if err != nil { return err } if !o.overwrite { if err := validateNoAnnotationOverwrites(accessor, o.newAnnotations); err != nil { return err } } annotations := accessor.GetAnnotations() if annotations == nil { annotations = make(map[string]string) } for key, value := range o.newAnnotations { annotations[key] = value } for _, annotation := range o.removeAnnotations { delete(annotations, annotation) } accessor.SetAnnotations(annotations) if len(o.resourceVersion) != 0 { accessor.SetResourceVersion(o.resourceVersion) } return nil }<|fim▁end|>
o.newAnnotations, o.removeAnnotations, err = parseAnnotations(annotationArgs) if err != nil {
<|file_name|>main.go<|end_file_name|><|fim▁begin|>package main import ( "encoding/json" "fmt" "io/ioutil" "os" "os/signal" "path/filepath" "syscall" "text/tabwriter" "github.com/Sirupsen/logrus" ) const ( credentialsPath = "/var/run/secrets/boostport.com" ) type authToken struct { ClientToken string `json:"clientToken"` Accessor string `json:"accessor"` LeaseDuration int `json:"leaseDuration"` Renewable bool `json:"renewable"` VaultAddr string `json:"vaultAddr"` } type secretID struct { RoleID string `json:"roleId"` SecretID string `json:"secretId"` Accessor string `json:"accessor"` VaultAddr string `json:"vaultAddr"` } func main() { logger := logrus.New() logger.Level = logrus.DebugLevel tokenPath := filepath.Join(credentialsPath, "vault-token") secretIDPath := filepath.Join(credentialsPath, "vault-secret-id") w := tabwriter.NewWriter(os.Stdout, 0, 0, 2, ' ', 0) if _, err := os.Stat(tokenPath); err == nil { content, err := ioutil.ReadFile(tokenPath) if err != nil { logger.Fatalf("Error opening token file (%s): %s", tokenPath, err) } var token authToken err = json.Unmarshal(content, &token) if err != nil { logger.Fatalf("Error unmarhsaling JSON: %s", err) } fmt.Fprint(w, "Found Vault token...\n") fmt.Fprintf(w, "Token:\t%s\n", token.ClientToken) fmt.Fprintf(w, "Accessor:\t%s\n", token.Accessor) fmt.Fprintf(w, "Lease Duration:\t%d\n", token.LeaseDuration) fmt.Fprintf(w, "Renewable:\t%t\n", token.Renewable) fmt.Fprintf(w, "Vault Address:\t%s\n", token.VaultAddr) } else if _, err := os.Stat(secretIDPath); err == nil { content, err := ioutil.ReadFile(secretIDPath) if err != nil { logger.Fatalf("Error opening secret_id file (%s): %s", secretIDPath, err) } var secret secretID err = json.Unmarshal(content, &secret) if err != nil { logger.Fatalf("Error unmarhsaling JSON: %s", err) } fmt.Fprint(w, "Found Vault secret_id...\n") fmt.Fprintf(w, "RoleID:\t%s\n", secret.RoleID) fmt.Fprintf(w, "SecretID:\t%s\n", secret.SecretID) fmt.Fprintf(w, "Accessor:\t%s\n", secret.Accessor) fmt.Fprintf(w, "Vault Address:\t%s\n", secret.VaultAddr) } else { logger.Fatal("Could not find a vault-token or vault-secret-id.") } caBundlePath := filepath.Join(credentialsPath, "ca.crt") _, err := os.Stat(caBundlePath) caBundleExists := true if err != nil && os.IsNotExist(err) { caBundleExists = false } fmt.Fprintf(w, "CA Bundle Exists:\t%t\n", caBundleExists) w.Flush() sigs := make(chan os.Signal, 1) signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM) <|fim▁hole|><|fim▁end|>
<-sigs }
<|file_name|>simple_save.py<|end_file_name|><|fim▁begin|># Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== """SavedModel simple save functionality.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from tensorflow.python.framework import ops<|fim▁hole|>from tensorflow.python.saved_model import signature_constants from tensorflow.python.saved_model import signature_def_utils from tensorflow.python.saved_model import tag_constants from tensorflow.python.util import deprecation from tensorflow.python.util.tf_export import tf_export @tf_export(v1=['saved_model.simple_save']) @deprecation.deprecated( None, 'This function will only be available through the v1 compatibility ' 'library as tf.compat.v1.saved_model.simple_save.') def simple_save(session, export_dir, inputs, outputs, legacy_init_op=None): """Convenience function to build a SavedModel suitable for serving. In many common cases, saving models for serving will be as simple as: simple_save(session, export_dir, inputs={"x": x, "y": y}, outputs={"z": z}) Although in many cases it's not necessary to understand all of the many ways to configure a SavedModel, this method has a few practical implications: - It will be treated as a graph for inference / serving (i.e. uses the tag `tag_constants.SERVING`) - The SavedModel will load in TensorFlow Serving and supports the [Predict API](https://github.com/tensorflow/serving/blob/master/tensorflow_serving/apis/predict.proto). To use the Classify, Regress, or MultiInference APIs, please use either [tf.Estimator](https://www.tensorflow.org/api_docs/python/tf/estimator/Estimator) or the lower level [SavedModel APIs](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/saved_model/README.md). - Some TensorFlow ops depend on information on disk or other information called "assets". These are generally handled automatically by adding the assets to the `GraphKeys.ASSET_FILEPATHS` collection. Only assets in that collection are exported; if you need more custom behavior, you'll need to use the [SavedModelBuilder](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/saved_model/builder.py). More information about SavedModel and signatures can be found here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/saved_model/README.md. Args: session: The TensorFlow session from which to save the meta graph and variables. export_dir: The path to which the SavedModel will be stored. inputs: dict mapping string input names to tensors. These are added to the SignatureDef as the inputs. outputs: dict mapping string output names to tensors. These are added to the SignatureDef as the outputs. legacy_init_op: Legacy support for op or group of ops to execute after the restore op upon a load. """ signature_def_map = { signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY: signature_def_utils.predict_signature_def(inputs, outputs) } b = builder.SavedModelBuilder(export_dir) b.add_meta_graph_and_variables( session, tags=[tag_constants.SERVING], signature_def_map=signature_def_map, assets_collection=ops.get_collection(ops.GraphKeys.ASSET_FILEPATHS), main_op=legacy_init_op, clear_devices=True) b.save()<|fim▁end|>
from tensorflow.python.saved_model import builder
<|file_name|>_quantum_network.py<|end_file_name|><|fim▁begin|>#!/usr/bin/python #coding: utf-8 -*- # (c) 2013, Benno Joy <benno@ansible.com> # # This module is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This software is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this software. If not, see <http://www.gnu.org/licenses/>. try: try: from neutronclient.neutron import client except ImportError: from quantumclient.quantum import client from keystoneclient.v2_0 import client as ksclient HAVE_DEPS = True except ImportError: HAVE_DEPS = False DOCUMENTATION = ''' --- module: quantum_network version_added: "1.4" deprecated: Deprecated in 2.0. Use os_network instead short_description: Creates/Removes networks from OpenStack description: - Add or Remove network from OpenStack. options: login_username: description: - login username to authenticate to keystone required: true default: admin login_password: description: - Password of login user required: true default: 'yes' login_tenant_name: description: - The tenant name of the login user required: true default: 'yes' tenant_name: description: - The name of the tenant for whom the network is created required: false default: None auth_url: description: - The keystone url for authentication required: false default: 'http://127.0.0.1:35357/v2.0/' region_name: description: - Name of the region required: false default: None state: description: - Indicate desired state of the resource choices: ['present', 'absent'] default: present name: description: - Name to be assigned to the network required: true default: None provider_network_type: description: - The type of the network to be created, gre, vlan, local. Available types depend on the plugin. The Quantum service decides if not specified. required: false default: None provider_physical_network: description: - The physical network which would realize the virtual network for flat and vlan networks. required: false default: None provider_segmentation_id: description: - The id that has to be assigned to the network, in case of vlan networks that would be vlan id and for gre the tunnel id required: false default: None router_external: description: - If 'yes', specifies that the virtual network is a external network (public). required: false default: false shared: description: - Whether this network is shared or not required: false default: false admin_state_up: description: - Whether the state should be marked as up or down required: false default: true requirements: - "python >= 2.6" - "python-neutronclient or python-quantumclient" - "python-keystoneclient" ''' EXAMPLES = ''' # Create a GRE backed Quantum network with tunnel id 1 for tenant1 - quantum_network: name=t1network tenant_name=tenant1 state=present provider_network_type=gre provider_segmentation_id=1 login_username=admin login_password=admin login_tenant_name=admin # Create an external network - quantum_network: name=external_network state=present provider_network_type=local router_external=yes login_username=admin login_password=admin login_tenant_name=admin ''' _os_keystone = None _os_tenant_id = None def _get_ksclient(module, kwargs): try: kclient = ksclient.Client(username=kwargs.get('login_username'), password=kwargs.get('login_password'), tenant_name=kwargs.get('login_tenant_name'), auth_url=kwargs.get('auth_url')) except Exception as e: module.fail_json(msg = "Error authenticating to the keystone: %s" %e.message) global _os_keystone _os_keystone = kclient return kclient def _get_endpoint(module, ksclient): try: endpoint = ksclient.service_catalog.url_for(service_type='network', endpoint_type='publicURL') except Exception as e: module.fail_json(msg = "Error getting network endpoint: %s " %e.message) return endpoint def _get_neutron_client(module, kwargs): _ksclient = _get_ksclient(module, kwargs) token = _ksclient.auth_token endpoint = _get_endpoint(module, _ksclient) kwargs = { 'token': token, 'endpoint_url': endpoint } try: neutron = client.Client('2.0', **kwargs) except Exception as e: module.fail_json(msg = " Error in connecting to neutron: %s " %e.message) return neutron def _set_tenant_id(module): global _os_tenant_id if not module.params['tenant_name']: _os_tenant_id = _os_keystone.tenant_id else: tenant_name = module.params['tenant_name'] for tenant in _os_keystone.tenants.list(): if tenant.name == tenant_name: _os_tenant_id = tenant.id break if not _os_tenant_id: module.fail_json(msg = "The tenant id cannot be found, please check the parameters") def _get_net_id(neutron, module): kwargs = { 'tenant_id': _os_tenant_id, 'name': module.params['name'], } try: networks = neutron.list_networks(**kwargs) except Exception as e: module.fail_json(msg = "Error in listing neutron networks: %s" % e.message) if not networks['networks']: return None return networks['networks'][0]['id'] def _create_network(module, neutron): neutron.format = 'json' network = { 'name': module.params.get('name'), 'tenant_id': _os_tenant_id, 'provider:network_type': module.params.get('provider_network_type'), 'provider:physical_network': module.params.get('provider_physical_network'), 'provider:segmentation_id': module.params.get('provider_segmentation_id'), 'router:external': module.params.get('router_external'), 'shared': module.params.get('shared'), 'admin_state_up': module.params.get('admin_state_up'), } if module.params['provider_network_type'] == 'local': network.pop('provider:physical_network', None) network.pop('provider:segmentation_id', None) if module.params['provider_network_type'] == 'flat': network.pop('provider:segmentation_id', None) if module.params['provider_network_type'] == 'gre': network.pop('provider:physical_network', None) if module.params['provider_network_type'] is None: network.pop('provider:network_type', None) network.pop('provider:physical_network', None) network.pop('provider:segmentation_id', None) try: net = neutron.create_network({'network':network}) except Exception as e: module.fail_json(msg = "Error in creating network: %s" % e.message) return net['network']['id'] def _delete_network(module, net_id, neutron):<|fim▁hole|> try: id = neutron.delete_network(net_id) except Exception as e: module.fail_json(msg = "Error in deleting the network: %s" % e.message) return True def main(): argument_spec = openstack_argument_spec() argument_spec.update(dict( name = dict(required=True), tenant_name = dict(default=None), provider_network_type = dict(default=None, choices=['local', 'vlan', 'flat', 'gre']), provider_physical_network = dict(default=None), provider_segmentation_id = dict(default=None), router_external = dict(default=False, type='bool'), shared = dict(default=False, type='bool'), admin_state_up = dict(default=True, type='bool'), state = dict(default='present', choices=['absent', 'present']) )) module = AnsibleModule(argument_spec=argument_spec) if not HAVE_DEPS: module.fail_json(msg='python-keystoneclient and either python-neutronclient or python-quantumclient are required') if module.params['provider_network_type'] in ['vlan' , 'flat']: if not module.params['provider_physical_network']: module.fail_json(msg = " for vlan and flat networks, variable provider_physical_network should be set.") if module.params['provider_network_type'] in ['vlan', 'gre']: if not module.params['provider_segmentation_id']: module.fail_json(msg = " for vlan & gre networks, variable provider_segmentation_id should be set.") neutron = _get_neutron_client(module, module.params) _set_tenant_id(module) if module.params['state'] == 'present': network_id = _get_net_id(neutron, module) if not network_id: network_id = _create_network(module, neutron) module.exit_json(changed = True, result = "Created", id = network_id) else: module.exit_json(changed = False, result = "Success", id = network_id) if module.params['state'] == 'absent': network_id = _get_net_id(neutron, module) if not network_id: module.exit_json(changed = False, result = "Success") else: _delete_network(module, network_id, neutron) module.exit_json(changed = True, result = "Deleted") # this is magic, see lib/ansible/module.params['common.py from ansible.module_utils.basic import * from ansible.module_utils.openstack import * if __name__ == '__main__': main()<|fim▁end|>
<|file_name|>chi_squared_test.hpp<|end_file_name|><|fim▁begin|>/* chi_squared_test.hpp header file * * Copyright Steven Watanabe 2010 * Distributed under the Boost Software License, Version 1.0. (See * accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * $Id: chi_squared_test.hpp 71018 2011-04-05 21:27:52Z steven_watanabe $ * */ #ifndef BOOST_RANDOM_TEST_CHI_SQUARED_TEST_HPP_INCLUDED #define BOOST_RANDOM_TEST_CHI_SQUARED_TEST_HPP_INCLUDED #include <vector> #include <boost/math/special_functions/pow.hpp> #include <boost/math/distributions/chi_squared.hpp> // This only works for discrete distributions with fixed // upper and lower bounds. template<class IntType> struct chi_squared_collector { static const IntType cutoff = 5; chi_squared_collector() : chi_squared(0), variables(0), prev_actual(0), prev_expected(0), current_actual(0), current_expected(0) {} void operator()(IntType actual, double expected) { current_actual += actual; current_expected += expected; if(current_expected >= cutoff) { if(prev_expected != 0) { update(prev_actual, prev_expected); } prev_actual = current_actual; prev_expected = current_expected; current_actual = 0; current_expected = 0; } } void update(IntType actual, double expected) { chi_squared += boost::math::pow<2>(actual - expected) / expected; ++variables; } double cdf() { if(prev_expected != 0) {<|fim▁hole|> prev_actual = 0; prev_expected = 0; current_actual = 0; current_expected = 0; } if(variables <= 1) { return 0; } else { return boost::math::cdf(boost::math::chi_squared(variables - 1), chi_squared); } } double chi_squared; std::size_t variables; IntType prev_actual; double prev_expected; IntType current_actual; double current_expected; }; template<class IntType> double chi_squared_test(const std::vector<IntType>& results, const std::vector<double>& probabilities, IntType iterations) { chi_squared_collector<IntType> calc; for(std::size_t i = 0; i < results.size(); ++i) { calc(results[i], iterations * probabilities[i]); } return calc.cdf(); } #endif<|fim▁end|>
update(prev_actual + current_actual, prev_expected + current_expected);
<|file_name|>admin.py<|end_file_name|><|fim▁begin|>from django.contrib import admin from books.models import * <|fim▁hole|># Register your models here. # Register your models here. class BookInfoAdmin(admin.ModelAdmin): list_display=('title','isbn','price') class GoodInfoAdmin(admin.ModelAdmin): list_display=('seller','book','price') admin.site.register(UserInfo) admin.site.register(BookInfo,BookInfoAdmin) admin.site.register(GoodsInfo,GoodInfoAdmin)<|fim▁end|>
<|file_name|>index.d.ts<|end_file_name|><|fim▁begin|>// Type definitions for enzyme-adapter-react-15 1.0 // Project: https://github.com/airbnb/enzyme, http://airbnb.io/enzyme // Definitions by: Tanguy Krotoff <https://github.com/tkrotoff><|fim▁hole|>// TypeScript Version: 3.1 import { EnzymeAdapter } from 'enzyme'; declare class ReactFifteenAdapter extends EnzymeAdapter { } declare namespace ReactFifteenAdapter { } export = ReactFifteenAdapter;<|fim▁end|>
// Jordan Harband <https://github.com/ljharb> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
<|file_name|>asm_2d.py<|end_file_name|><|fim▁begin|># This file is part of PooPyLab. # # PooPyLab is a simulation software for biological wastewater treatment processes using International Water Association # Activated Sludge Models. # # Copyright (C) Kai Zhang # # PooPyLab is free software: you can redistribute it and/or modify it under the terms of the GNU General Public # License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any # later version. # # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more # details. # # You should have received a copy of the GNU General Public License along with PooPyLab. If not, see # <http://www.gnu.org/licenses/>. # # # This is the definition of the ASM1 model to be imported as part of the Reactor object # # """Definition of the IWA Activated Sludge Model #2d. Reference: Grady Jr. et al, 1999: Biological Wastewater Treatment, 2nd Ed. IWA Task Group on Math. Modelling for Design and Operation of Biological Wastewater Treatment, 2000. Activated Sludge Model No. 1, in Activated Sludge Models ASM1, ASM2, ASM2d, and ASM 3. """ ## @namespace asm_2d ## @file asm_2d.py from ..ASMModel import constants from .asmbase import asm_model class ASM_2d(asm_model): """ Kinetics and stoichiometrics of the IWA ASM 2d model. """ __id = 0 def __init__(self, ww_temp=20, DO=2): """ Initialize the model with water temperature and dissolved O2. Args: ww_temp: wastewater temperature, degC; DO: dissolved oxygen, mg/L Return: None See: _set_ideal_kinetics_20C(); _set_params(); _set_stoichs(). """ asm_model.__init__(self) self.__class__.__id += 1 self._set_ideal_kinetics_20C_to_defaults() # wastewater temperature used in the model, degC self._temperature = ww_temp # mixed liquor bulk dissolved oxygen, mg/L self._bulk_DO = DO # temperature difference b/t what's used and baseline (20C), degC self._delta_t = self._temperature - 20 self.update(ww_temp, DO) # The Components the ASM components IN THE REACTOR # For ASM #2d: # # self._comps[0]: S_DO as COD # self._comps[1]: S_I # self._comps[2]: S_S # self._comps[3]: S_NH # self._comps[4]: S_NS # self._comps[5]: S_NO # self._comps[6]: S_ALK # self._comps[7]: X_I # self._comps[8]: X_S # self._comps[9]: X_BH # self._comps[10]: X_BA # self._comps[11]: X_D # self._comps[12]: X_NS # # ASM model components self._comps = [0.0] * constants._NUM_ASM1_COMPONENTS return None def _set_ideal_kinetics_20C_to_defaults(self): """ Set the kinetic params/consts @ 20C to default ideal values. See: update(); _set_params(); _set_stoichs(). """ # Ideal Growth Rate of Heterotrophs (u_max_H, 1/DAY) self._kinetics_20C['u_max_H'] = 6.0 # Decay Rate of Heterotrophs (b_H, 1/DAY) self._kinetics_20C['b_LH'] = 0.62 # Ideal Growth Rate of Autotrophs (u_max_A, 1/DAY) self._kinetics_20C['u_max_A'] = 0.8 # Decay Rate of Autotrophs (b_A, 1/DAY) # A wide range exists. Table 6.3 on Grady 1999 shows 0.096 (1/d). IWA's # ASM report did not even show b_A on its table for typical value. ASIM # software show a value of "0.000", probably cut off by the print # function. I can only assume it was < 0.0005 (1/d) at 20C. #self._kinetics_20C['b_LA'] = 0.096 self._kinetics_20C['b_LA'] = 0.0007 # Half Growth Rate Concentration of Heterotrophs (K_s, mgCOD/L) self._kinetics_20C['K_S'] = 20.0 # Switch Coefficient for Dissolved O2 of Hetero. (K_OH, mgO2/L) self._kinetics_20C['K_OH'] = 0.2 # Association Conc. for Dissolved O2 of Auto. (K_OA, mgN/L) self._kinetics_20C['K_OA'] = 0.4 # Association Conc. for NH3-N of Auto. (K_NH, mgN/L) self._kinetics_20C['K_NH'] = 1.0 # Association Conc. for NOx of Hetero. (K_NO, mgN/L) self._kinetics_20C['K_NO'] = 0.5 # Hydrolysis Rate (k_h, mgCOD/mgBiomassCOD-day) self._kinetics_20C['k_h'] = 3.0 # Half Rate Conc. for Hetero. Growth on Part. COD # (K_X, mgCOD/mgBiomassCOD) self._kinetics_20C['K_X'] = 0.03 # Ammonification of Org-N in biomass (k_a, L/mgBiomassCOD-day) self._kinetics_20C['k_a'] = 0.08 # Yield of Hetero. Growth on COD (Y_H, mgBiomassCOD/mgCODremoved) self._kinetics_20C['Y_H'] = 0.67 # Yield of Auto. Growth on TKN (Y_A, mgBiomassCOD/mgTKNoxidized) self._kinetics_20C['Y_A'] = 0.24 # Fract. of Debris in Lysed Biomass(f_D, gDebrisCOD/gBiomassCOD) self._kinetics_20C['f_D'] = 0.08 # Correction Factor for Hydrolysis (cf_h, unitless) self._kinetics_20C['cf_h'] = 0.4 # Correction Factor for Anoxic Heterotrophic Growth (cf_g, unitless) self._kinetics_20C['cf_g'] = 0.8 # Ratio of N in Active Biomass (i_N_XB, mgN/mgActiveBiomassCOD) self._kinetics_20C['i_N_XB'] = 0.086 # Ratio of N in Debris Biomass (i_N_XD, mgN/mgDebrisBiomassCOD) self._kinetics_20C['i_N_XD'] = 0.06 return None def _set_params(self): """ Set the kinetic parameters/constants @ project temperature. This function updates the self._params based on the model temperature and DO. See: update(); _set_ideal_kinetics_20C(); _set_stoichs(). """ # Ideal Growth Rate of Heterotrophs (u_max_H, 1/DAY) self._params['u_max_H'] = self._kinetics_20C['u_max_H']\ * pow(1.072, self._delta_t) # Decay Rate of Heterotrophs (b_H, 1/DAY) self._params['b_LH'] = self._kinetics_20C['b_LH']\ * pow(1.12, self._delta_t) # Ideal Growth Rate of Autotrophs (u_max_A, 1/DAY) self._params['u_max_A'] = self._kinetics_20C['u_max_A']\ * pow(1.103, self._delta_t) # Decay Rate of Autotrophs (b_A, 1/DAY) self._params['b_LA'] = self._kinetics_20C['b_LA']\ * pow(1.114, self._delta_t) # Half Growth Rate Concentration of Heterotrophs (K_s, mgCOD/L) self._params['K_S'] = self._kinetics_20C['K_S'] # Switch Coefficient for Dissolved O2 of Hetero. (K_OH, mgO2/L) self._params['K_OH'] = self._kinetics_20C['K_OH'] # Association Conc. for Dissolved O2 of Auto. (K_OA, mgN/L) self._params['K_OA'] = self._kinetics_20C['K_OA'] # Association Conc. for NH3-N of Auto. (K_NH, mgN/L) self._params['K_NH'] = self._kinetics_20C['K_NH'] # Association Conc. for NOx of Hetero. (K_NO, mgN/L) self._params['K_NO'] = self._kinetics_20C['K_NO'] # Hydrolysis Rate (k_h, mgCOD/mgBiomassCOD-day) self._params['k_h'] = self._kinetics_20C['k_h']\ * pow(1.116, self._delta_t) # Half Rate Conc. for Hetero. Growth on Part. COD # (K_X, mgCOD/mgBiomassCOD) self._params['K_X'] = self._kinetics_20C['K_X']\ * pow(1.116, self._delta_t) # Ammonification of Org-N in biomass (k_a, L/mgBiomassCOD-day) self._params['k_a'] = self._kinetics_20C['k_a']\ * pow(1.072, self._delta_t) # Yield of Hetero. Growth on COD (Y_H, mgBiomassCOD/mgCODremoved) self._params['Y_H'] = self._kinetics_20C['Y_H'] # Yield of Auto. Growth on TKN (Y_A, mgBiomassCOD/mgTKNoxidized) self._params['Y_A'] = self._kinetics_20C['Y_A'] # Fract. of Debris in Lysed Biomass(f_D, gDebrisCOD/gBiomassCOD) self._params['f_D'] = self._kinetics_20C['f_D'] # Correction Factor for Hydrolysis (cf_h, unitless) self._params['cf_h'] = self._kinetics_20C['cf_h'] # Correction Factor for Anoxic Heterotrophic Growth (cf_g, unitless) self._params['cf_g'] = self._kinetics_20C['cf_g'] # Ratio of N in Active Biomass (i_N_XB, mgN/mgActiveBiomassCOD) self._params['i_N_XB'] = self._kinetics_20C['i_N_XB'] # Ratio of N in Debris Biomass (i_N_XD, mgN/mgDebrisBiomassCOD) self._params['i_N_XD'] = self._kinetics_20C['i_N_XD'] return None # STOCHIOMETRIC MATRIX def _set_stoichs(self): """ Set the stoichiometrics for the model. Note: Make sure to match the .csv model template file in the model_builder folder, Sep 04, 2019): _stoichs['x_y'] ==> x is process rate id, and y is component id See: _set_params(); _set_ideal_kinetics_20C(); update(). """ # S_O for aerobic hetero. growth, as O2 self._stoichs['0_0'] = (self._params['Y_H'] - 1.0) \ / self._params['Y_H'] # S_O for aerobic auto. growth, as O2 self._stoichs['2_0'] = (self._params['Y_A'] - 4.57) \ / self._params['Y_A'] # S_S for aerobic hetero. growth, as COD self._stoichs['0_2'] = -1.0 / self._params['Y_H'] # S_S for anoxic hetero. growth, as COD self._stoichs['1_2'] = -1.0 / self._params['Y_H'] # S_S for hydrolysis of part. substrate self._stoichs['6_2'] = 1.0 # S_NH required for aerobic hetero. growth, as N self._stoichs['0_3'] = -self._params['i_N_XB'] # S_NH required for anoxic hetero. growth, as N self._stoichs['1_3'] = -self._params['i_N_XB'] # S_NH required for aerobic auto. growth, as N self._stoichs['2_3'] = -self._params['i_N_XB'] \ - 1.0 / self._params['Y_A'] # S_NH from ammonification, as N self._stoichs['5_3'] = 1.0 # S_NS used by ammonification, as N self._stoichs['5_4'] = -1.0 # S_NS from hydrolysis of part.TKN, as N self._stoichs['7_4'] = 1.0 # S_NO for anoxic hetero. growth, as N self._stoichs['1_5'] = (self._params['Y_H'] - 1.0) \ / (2.86 * self._params['Y_H']) # S_NO from nitrification, as N self._stoichs['2_5'] = 1.0 / self._params['Y_A'] # S_ALK consumed by aerobic hetero. growth, as mM CaCO3 self._stoichs['0_6'] = -self._params['i_N_XB'] / 14.0 # S_ALK generated by anoxic hetero. growth, as mM CaCO3 self._stoichs['1_6'] = (1.0 - self._params['Y_H']) \ / (14.0 * 2.86 * self._params['Y_H']) \ - self._params['i_N_XB'] / 14.0 # S_ALK consumed by aerobic auto. growth, as mM CaCO3 self._stoichs['2_6'] = -self._params['i_N_XB'] / 14 \ - 1.0 / (7.0 * self._params['Y_A']) # S_ALK generated by ammonification, as mM CaCO3 self._stoichs['5_6'] = 1.0 / 14.0 # X_S from hetero. decay, as COD self._stoichs['3_8'] = 1.0 - self._params['f_D'] # X_S from auto. decay, as COD self._stoichs['4_8'] = 1.0 - self._params['f_D'] # X_S consumed by hydrolysis of biomass self._stoichs['6_8'] = -1.0 # X_BH from aerobic hetero. growth, as COD self._stoichs['0_9'] = 1.0 # X_BH from anoxic hetero. growth, as COD self._stoichs['1_9'] = 1.0 # X_BH lost in hetero. decay, as COD self._stoichs['3_9'] = -1.0 # X_BA from aerobic auto. growth, as COD self._stoichs['2_10'] = 1.0 # X_BA lost in auto. decay, as COD self._stoichs['4_10'] = -1.0 # X_D from hetero. decay, as COD self._stoichs['3_11'] = self._params['f_D'] # X_D from auto. decay, as COD self._stoichs['4_11'] = self._params['f_D'] # X_NS from hetero. decay, as N self._stoichs['3_12'] = self._params['i_N_XB'] - self._params['f_D'] \ * self._params['i_N_XD'] # X_NS from auto. decay, as COD self._stoichs['4_12'] = self._params['i_N_XB'] - self._params['f_D'] \ * self._params['i_N_XD'] # X_NS consumed in hydrolysis of part. TKN, as N self._stoichs['7_12'] = -1.0 return None # PROCESS RATE DEFINITIONS (Rj, M/L^3/T): # def _r0_AerGH(self, comps): """ Aerobic Growth Rate of Heterotrophs (mgCOD/L/day). Args: comps: list of current model components (concentrations). Return: float """ return self._params['u_max_H'] \ * self._monod(comps[2], self._params['K_S']) \ * self._monod(comps[0], self._params['K_OH']) \ * comps[9] def _r1_AxGH(self, comps): """ Anoxic Growth Rate of Heterotrophs (mgCOD/L/day). Args: comps: list of current model components (concentrations). Return: float """ return self._params['u_max_H'] \ * self._monod(comps[2], self._params['K_S']) \ * self._monod(self._params['K_OH'], comps[0]) \ * self._monod(comps[5], self._params['K_NO']) \ * self._params['cf_g'] \ * comps[9] def _r2_AerGA(self, comps): """ Aerobic Growth Rate of Autotrophs (mgCOD/L/day). Args: comps: list of current model components (concentrations). Return: float """ return self._params['u_max_A'] \ * self._monod(comps[3], self._params['K_NH']) \ * self._monod(comps[0], self._params['K_OA']) \ * comps[10] def _r3_DLH(self, comps): """ Death and Lysis Rate of Heterotrophs (mgCOD/L/day). Args: comps: list of current model components (concentrations). Return: float """ return self._params['b_LH'] * comps[9] def _r4_DLA(self, comps): """ Death and Lysis Rate of Autotrophs (mgCOD/L/day). Args: comps: list of current model components (concentrations). Return: float """ return self._params['b_LA'] * comps[10] def _r5_AmmSN(self, comps): """ Ammonification Rate of Soluable Organic N (mgN/L/day). Args: comps: list of current model components (concentrations). Return: float """ return self._params['k_a'] \ * comps[4] \ * comps[9] def _r6_HydX(self, comps): """ Hydrolysis Rate of Particulate Organics (mgCOD/L/day). Args: comps: list of current model components (concentrations). Return: float """ return self._params['k_h'] \ * self._monod(comps[8] / comps[9], self._params['K_X']) \ * (self._monod(comps[0], self._params['K_OH']) + self._params['cf_h'] * self._monod(self._params['K_OH'], comps[0]) * self._monod(comps[5], self._params['K_NO'])) \ * comps[9] def _r7_HydXN(self, comps): """ Hydrolysis Rate of Particulate Organic N (mgN/L/day). Args: comps: list of current model components (concentrations). Return: float """ return self._r6_HydX(comps) * comps[12] / comps[8] # OVERALL PROCESS RATE EQUATIONS FOR INDIVIDUAL COMPONENTS def _rate0_S_DO(self, comps): """ Overall process rate for dissolved O2 (mgCOD/L/d). Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['0_0'] * self._r0_AerGH(comps)\ + self._stoichs['2_0'] * self._r2_AerGA(comps) def _rate1_S_I(self, comps): """ Overall process rate for inert soluble COD (mgCOD/L/d). Args: comps: list of current model components (concentrations). Return: 0.0<|fim▁hole|> def _rate2_S_S(self, comps): """ Overall process rate for soluble biodegradable COD (mgCOD/L/d). Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['0_2'] * self._r0_AerGH(comps)\ + self._stoichs['1_2'] * self._r1_AxGH(comps)\ + self._stoichs['6_2'] * self._r6_HydX(comps) def _rate3_S_NH(self, comps): """ Overall process rate for ammonia nitrogen (mgN/L/d). Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['0_3'] * self._r0_AerGH(comps)\ + self._stoichs['1_3'] * self._r1_AxGH(comps)\ + self._stoichs['2_3'] * self._r2_AerGA(comps)\ + self._stoichs['5_3'] * self._r5_AmmSN(comps) def _rate4_S_NS(self, comps): """ Overall process rate for soluble organic nitrogen (mgN/L/d). Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['5_4'] * self._r5_AmmSN(comps)\ + self._stoichs['7_4'] * self._r7_HydXN(comps) def _rate5_S_NO(self, comps): """ Overall process rate for nitrite/nitrate nitrogen (mgN/L/d). Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['1_5'] * self._r1_AxGH(comps)\ + self._stoichs['2_5'] * self._r2_AerGA(comps) def _rate6_S_ALK(self, comps): """ Overall process rate for alkalinity (mg/L/d as CaCO3) Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['0_6'] * self._r0_AerGH(comps)\ + self._stoichs['1_6'] * self._r1_AxGH(comps)\ + self._stoichs['2_6'] * self._r2_AerGA(comps)\ + self._stoichs['5_6'] * self._r5_AmmSN(comps) def _rate7_X_I(self, comps): """ Overall process rate for inert particulate COD (mgCOD/L/d) Args: comps: list of current model components (concentrations). Return: 0.0 """ return 0.0 def _rate8_X_S(self, comps): """ Overall process rate for particulate biodegradable COD (mgCOD/L/d). Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['3_8'] * self._r3_DLH(comps)\ + self._stoichs['4_8'] * self._r4_DLA(comps)\ + self._stoichs['6_8'] * self._r6_HydX(comps) def _rate9_X_BH(self, comps): """ Overall process rate for heterotrophic biomass (mgCOD/L/d). Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['0_9'] * self._r0_AerGH(comps)\ + self._stoichs['1_9'] * self._r1_AxGH(comps)\ + self._stoichs['3_9'] * self._r3_DLH(comps) def _rate10_X_BA(self, comps): """ Overall process rate for autotrophic biomass (mgCOD/L/d). Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['2_10'] * self._r2_AerGA(comps)\ + self._stoichs['4_10'] * self._r4_DLA(comps) def _rate11_X_D(self, comps): """ Overall process rate for biomass debris (mgCOD/L/d). Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['3_11'] * self._r3_DLH(comps)\ + self._stoichs['4_11'] * self._r4_DLA(comps) def _rate12_X_NS(self, comps): """ Overall process rate for particulate organic nitrogen (mgN/L/d). Args: comps: list of current model components (concentrations). Return: float """ return self._stoichs['3_12'] * self._r3_DLH(comps)\ + self._stoichs['4_12'] * self._r4_DLA(comps)\ + self._stoichs['7_12'] * self._r7_HydXN(comps) def _dCdt(self, t, mo_comps, vol, flow, in_comps, fix_DO, DO_sat_T): ''' Defines dC/dt for the reactor based on mass balance. Overall mass balance: dComp/dt == InfFlow / Actvol * (in_comps - mo_comps) + GrowthRate == (in_comps - mo_comps) / HRT + GrowthRate Args: t: time for use in ODE integration routine, d mo_comps: list of model component for mainstream outlet, mg/L. vol: reactor's active volume, m3; flow: reactor's total inflow, m3/d in_comps: list of model components for inlet, mg/L; fix_DO: whether to use a fix DO setpoint, bool DO_sat_T: saturation DO of the project elev. and temp, mg/L Return: dC/dt of the system ([float]) ASM1 Components: 0_S_DO, 1_S_I, 2_S_S, 3_S_NH, 4_S_NS, 5_S_NO, 6_S_ALK, 7_X_I, 8_X_S, 9_X_BH, 10_X_BA, 11_X_D, 12_X_NS ''' _HRT = vol / flow # set DO rate to zero since DO is set to a fix conc., which is # recommended for steady state simulation; alternatively, use the given # KLa to dynamically estimate residual DO if fix_DO or self._bulk_DO == 0: result = [0.0] else: #TODO: what if the user provides a fix scfm of air? result = [(in_comps[0] - mo_comps[0]) / _HRT + self._KLa * (DO_sat_T - mo_comps[0]) + self._rate0_S_DO(mo_comps)] result.append((in_comps[1] - mo_comps[1]) / _HRT + self._rate1_S_I(mo_comps)) result.append((in_comps[2] - mo_comps[2]) / _HRT + self._rate2_S_S(mo_comps)) result.append((in_comps[3] - mo_comps[3]) / _HRT + self._rate3_S_NH(mo_comps)) result.append((in_comps[4] - mo_comps[4]) / _HRT + self._rate4_S_NS(mo_comps)) result.append((in_comps[5] - mo_comps[5]) / _HRT + self._rate5_S_NO(mo_comps)) result.append((in_comps[6] - mo_comps[6]) / _HRT + self._rate6_S_ALK(mo_comps)) result.append((in_comps[7] - mo_comps[7]) / _HRT + self._rate7_X_I(mo_comps)) result.append((in_comps[8] - mo_comps[8]) / _HRT + self._rate8_X_S(mo_comps)) result.append((in_comps[9] - mo_comps[9]) / _HRT + self._rate9_X_BH(mo_comps)) result.append((in_comps[10] - mo_comps[10]) / _HRT + self._rate10_X_BA(mo_comps)) result.append((in_comps[11] - mo_comps[11]) / _HRT + self._rate11_X_D(mo_comps)) result.append((in_comps[12] - mo_comps[12]) / _HRT + self._rate12_X_NS(mo_comps)) return result[:]<|fim▁end|>
""" return 0.0
<|file_name|>unrooted_must_root.rs<|end_file_name|><|fim▁begin|>/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use syntax::{ast, codemap, visit}; use syntax::attr::AttrMetaMethods; use rustc::ast_map; use rustc::lint::{Context, LintPass, LintArray}; use rustc::middle::ty::expr_ty; use rustc::middle::{ty, def}; use utils::unsafe_context; declare_lint!(UNROOTED_MUST_ROOT, Deny, "Warn and report usage of unrooted jsmanaged objects"); /// Lint for ensuring safe usage of unrooted pointers /// /// This lint (disable with `-A unrooted-must-root`/`#[allow(unrooted_must_root)]`) ensures that `#[must_root]` /// values are used correctly. /// /// "Incorrect" usage includes: /// /// - Not being used in a struct/enum field which is not `#[must_root]` itself /// - Not being used as an argument to a function (Except onces named `new` and `new_inherited`) /// - Not being bound locally in a `let` statement, assignment, `for` loop, or `match` statement.<|fim▁hole|> // Checks if a type has the #[must_root] annotation. // Unwraps pointers as well // TODO (#3874, sort of): unwrap other types like Vec/Option/HashMap/etc fn lint_unrooted_ty(cx: &Context, ty: &ast::Ty, warning: &str) { match ty.node { ast::TyVec(ref t) | ast::TyFixedLengthVec(ref t, _) => lint_unrooted_ty(cx, &**t, warning), ast::TyPath(..) => { match cx.tcx.def_map.borrow()[&ty.id] { def::PathResolution{ base_def: def::DefTy(def_id, _), .. } => { if ty::has_attr(cx.tcx, def_id, "must_root") { cx.span_lint(UNROOTED_MUST_ROOT, ty.span, warning); } } _ => (), } } _ => (), }; } impl LintPass for UnrootedPass { fn get_lints(&self) -> LintArray { lint_array!(UNROOTED_MUST_ROOT) } /// All structs containing #[must_root] types must be #[must_root] themselves fn check_struct_def(&mut self, cx: &Context, def: &ast::StructDef, _i: ast::Ident, _gen: &ast::Generics, id: ast::NodeId) { let item = match cx.tcx.map.get(id) { ast_map::Node::NodeItem(item) => item, _ => cx.tcx.map.expect_item(cx.tcx.map.get_parent(id)), }; if item.attrs.iter().all(|a| !a.check_name("must_root")) { for ref field in def.fields.iter() { lint_unrooted_ty(cx, &*field.node.ty, "Type must be rooted, use #[must_root] on the struct definition to propagate"); } } } /// All enums containing #[must_root] types must be #[must_root] themselves fn check_variant(&mut self, cx: &Context, var: &ast::Variant, _gen: &ast::Generics) { let ref map = cx.tcx.map; if map.expect_item(map.get_parent(var.node.id)).attrs.iter().all(|a| !a.check_name("must_root")) { match var.node.kind { ast::TupleVariantKind(ref vec) => { for ty in vec.iter() { lint_unrooted_ty(cx, &*ty.ty, "Type must be rooted, use #[must_root] on the enum definition to propagate") } } _ => () // Struct variants already caught by check_struct_def } } } /// Function arguments that are #[must_root] types are not allowed fn check_fn(&mut self, cx: &Context, kind: visit::FnKind, decl: &ast::FnDecl, block: &ast::Block, _span: codemap::Span, id: ast::NodeId) { match kind { visit::FkItemFn(i, _, _, _, _, _) | visit::FkMethod(i, _, _) if i.as_str() == "new" || i.as_str() == "new_inherited" => { return; }, visit::FkItemFn(_, _, style, _, _, _) => match style { ast::Unsafety::Unsafe => return, _ => () }, _ => () } if unsafe_context(&cx.tcx.map, id) { return; } match block.rules { ast::DefaultBlock => { for arg in decl.inputs.iter() { lint_unrooted_ty(cx, &*arg.ty, "Type must be rooted") } } _ => () // fn is `unsafe` } } // Partially copied from rustc::middle::lint::builtin // Catches `let` statements and assignments which store a #[must_root] value // Expressions which return out of blocks eventually end up in a `let` or assignment // statement or a function return (which will be caught when it is used elsewhere) fn check_stmt(&mut self, cx: &Context, s: &ast::Stmt) { match s.node { ast::StmtDecl(_, id) | ast::StmtExpr(_, id) | ast::StmtSemi(_, id) if unsafe_context(&cx.tcx.map, id) => { return }, _ => () }; let expr = match s.node { // Catch a `let` binding ast::StmtDecl(ref decl, _) => match decl.node { ast::DeclLocal(ref loc) => match loc.init { Some(ref e) => &**e, _ => return }, _ => return }, ast::StmtExpr(ref expr, _) => match expr.node { // This catches deferred `let` statements ast::ExprAssign(_, ref e) | // Match statements allow you to bind onto the variable later in an arm // We need not check arms individually since enum/struct fields are already // linted in `check_struct_def` and `check_variant` // (so there is no way of destructuring out a `#[must_root]` field) ast::ExprMatch(ref e, _, _) | // For loops allow you to bind a return value locally ast::ExprForLoop(_, ref e, _, _) => &**e, // XXXManishearth look into `if let` once it lands in our rustc _ => return }, _ => return }; let t = expr_ty(cx.tcx, &*expr); match t.sty { ty::TyStruct(did, _) | ty::TyEnum(did, _) => { if ty::has_attr(cx.tcx, did, "must_root") { cx.span_lint(UNROOTED_MUST_ROOT, expr.span, &format!("Expression of type {:?} must be rooted", t)); } } _ => {} } } }<|fim▁end|>
/// /// This helps catch most situations where pointers like `JS<T>` are used in a way that they can be invalidated by a /// GC pass. pub struct UnrootedPass;
<|file_name|>fuzzy_logic_defuzzifier.py<|end_file_name|><|fim▁begin|># COPYRIGHT: Robosub Club of the Palouse under the GPL v3 import argparse import time import os import sys from copy import deepcopy from random import random sys.path.append(os.path.abspath("../..")) from util.communication.grapevine import Communicator # TODO: This module should take the fuzzy sets produced by<|fim▁hole|># but it shouldn't. microcontroller_interface.py should figure out how # to send data over the serial interface and how to receive data over # the serial interface. Anything that is beyond that scope, such as # translating a magnitude into a raw value, should be moved into this # module. def main(args): com = Communicator("movement/physical") last_packet_time = 0.0 while True: rx_packet = com.get_last_message("movement/stabilization") if rx_packet and rx_packet['timestamp'] > last_packet_time: last_packet_time = rx_packet['timestamp'] tx_packet = { 'vector': rx_packet['vector'], 'rotation': rx_packet['rotation']} com.publish_message(tx_packet) time.sleep(args.epoch) def commandline(): parser = argparse.ArgumentParser(description='Mock module.') parser.add_argument('-e', '--epoch', type=float, default=0.05, help='Sleep time per cycle.') return parser.parse_args() if __name__ == '__main__': args = commandline() main(args)<|fim▁end|>
# movement/stabilization and should translate them into raw digital # values that can be sent over the serial interface. # microcontroller_interface.py currently does much of this processing,
<|file_name|>approvals.go<|end_file_name|><|fim▁begin|>package formatter import ( "fmt" "strconv" "github.com/keel-hq/keel/types" ) // Formatter headers const ( defaultApprovalQuietFormat = "{{.Identifier}} {{.Delta}}" defaultApprovalTableFormat = "table {{.Identifier}}\t{{.Delta}}\t{{.Votes}}\t{{.Rejected}}\t{{.Provider}}\t{{.Created}}" ApprovalIdentifierHeader = "Identifier" ApprovalDeltaHeader = "Delta" ApprovalVotesHeader = "Votes" ApprovalRejectedHeader = "Rejected" ApprovalProviderHeader = "Provider" ApprovalCreatedHeader = "Created" ) // NewApprovalsFormat returns a format for use with a approval Context func NewApprovalsFormat(source string, quiet bool) Format { switch source { case TableFormatKey: if quiet { return defaultApprovalQuietFormat } return defaultApprovalTableFormat case RawFormatKey: if quiet { return `name: {{.Identifier}}` } return `name: {{.Identifier}}\n` } return Format(source) } // ApprovalWrite writes formatted approvals using the Context func ApprovalWrite(ctx Context, approvals []*types.Approval) error { render := func(format func(subContext subContext) error) error { for _, approval := range approvals { if err := format(&ApprovalContext{v: *approval}); err != nil { return err } } return nil } return ctx.Write(&DeploymentContext{}, render) } // ApprovalContext - approval context is a container for each line type ApprovalContext struct { HeaderContext v types.Approval } // MarshalJSON - marshal to json (inspect) func (c *ApprovalContext) MarshalJSON() ([]byte, error) { return marshalJSON(c) } func (c *ApprovalContext) Identifier() string { c.AddHeader(ApprovalIdentifierHeader) return c.v.Identifier }<|fim▁hole|> func (c *ApprovalContext) Delta() string { c.AddHeader(ApprovalDeltaHeader) return c.v.Delta() } func (c *ApprovalContext) Votes() string { c.AddHeader(ApprovalVotesHeader) return fmt.Sprintf("%d/%d", c.v.VotesReceived, c.v.VotesRequired) } func (c *ApprovalContext) Rejected() string { c.AddHeader(ApprovalRejectedHeader) return strconv.FormatBool(c.v.Rejected) } func (c *ApprovalContext) Provider() string { c.AddHeader(ApprovalProviderHeader) return c.v.Provider.String() } func (c *ApprovalContext) Created() string { c.AddHeader(ApprovalCreatedHeader) return c.v.CreatedAt.String() }<|fim▁end|>
<|file_name|>configure.py<|end_file_name|><|fim▁begin|>#!/usr/bin/env python from build import ninja_common build = ninja_common.Build('serial/seriald') build.build_cmd( 'auv-seriald', [ 'main.cpp', 'config.cpp', 'device.cpp', 'device_list.cpp', 'sub_status.cpp', ], deps=['nanomsg'], auv_deps=['shm', 'auvlog', 'auv-serial', 'fmt'],) #build.test_gtest( # 'seriald-new', # [ # 'config.cpp', # 'device.cpp', # 'device_list.cpp', # 'sub_status.cpp', # # 'test/config/config.cpp', # # 'test/device/device.cpp', # ], # deps=['nanomsg', 'cppformat'],<|fim▁hole|><|fim▁end|>
# auv_deps=['shm', 'auvlog', 'auv-serial'],)
<|file_name|>generated.pb.go<|end_file_name|><|fim▁begin|>/* Copyright The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/generated.proto package resource import ( fmt "fmt" math "math" proto "github.com/gogo/protobuf/proto" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package func (m *Quantity) Reset() { *m = Quantity{} } func (*Quantity) ProtoMessage() {} func (*Quantity) Descriptor() ([]byte, []int) { return fileDescriptor_612bba87bd70906c, []int{0} } func (m *Quantity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Quantity.Unmarshal(m, b) } func (m *Quantity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Quantity.Marshal(b, m, deterministic) } func (m *Quantity) XXX_Merge(src proto.Message) { xxx_messageInfo_Quantity.Merge(m, src) } func (m *Quantity) XXX_Size() int { return xxx_messageInfo_Quantity.Size(m) } func (m *Quantity) XXX_DiscardUnknown() { xxx_messageInfo_Quantity.DiscardUnknown(m) } var xxx_messageInfo_Quantity proto.InternalMessageInfo func init() { proto.RegisterType((*Quantity)(nil), "k8s.io.apimachinery.pkg.api.resource.Quantity") } <|fim▁hole|> proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/generated.proto", fileDescriptor_612bba87bd70906c) } var fileDescriptor_612bba87bd70906c = []byte{ // 237 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x8e, 0xb1, 0x4e, 0xc3, 0x30, 0x10, 0x40, 0xcf, 0x0b, 0x2a, 0x19, 0x2b, 0x84, 0x10, 0xc3, 0xa5, 0x42, 0x0c, 0x2c, 0xd8, 0x6b, 0xc5, 0xc8, 0xce, 0x00, 0x23, 0x5b, 0x92, 0x1e, 0xae, 0x15, 0xd5, 0x8e, 0x2e, 0x36, 0x52, 0xb7, 0x8e, 0x8c, 0x1d, 0x19, 0x9b, 0xbf, 0xe9, 0xd8, 0xb1, 0x03, 0x03, 0x31, 0x3f, 0x82, 0xea, 0x36, 0x52, 0xb7, 0x7b, 0xef, 0xf4, 0x4e, 0x97, 0xbd, 0xd4, 0xd3, 0x56, 0x1a, 0xa7, 0xea, 0x50, 0x12, 0x5b, 0xf2, 0xd4, 0xaa, 0x4f, 0xb2, 0x33, 0xc7, 0xea, 0xb4, 0x28, 0x1a, 0xb3, 0x28, 0xaa, 0xb9, 0xb1, 0xc4, 0x4b, 0xd5, 0xd4, 0xfa, 0x20, 0x14, 0x53, 0xeb, 0x02, 0x57, 0xa4, 0x34, 0x59, 0xe2, 0xc2, 0xd3, 0x4c, 0x36, 0xec, 0xbc, 0x1b, 0xdf, 0x1f, 0x2b, 0x79, 0x5e, 0xc9, 0xa6, 0xd6, 0x07, 0x21, 0x87, 0xea, 0xf6, 0x51, 0x1b, 0x3f, 0x0f, 0xa5, 0xac, 0xdc, 0x42, 0x69, 0xa7, 0x9d, 0x4a, 0x71, 0x19, 0x3e, 0x12, 0x25, 0x48, 0xd3, 0xf1, 0xe8, 0xdd, 0x34, 0x1b, 0xbd, 0x86, 0xc2, 0x7a, 0xe3, 0x97, 0xe3, 0xeb, 0xec, 0xa2, 0xf5, 0x6c, 0xac, 0xbe, 0x11, 0x13, 0xf1, 0x70, 0xf9, 0x76, 0xa2, 0xa7, 0xab, 0xef, 0x4d, 0x0e, 0x5f, 0x5d, 0x0e, 0xeb, 0x2e, 0x87, 0x4d, 0x97, 0xc3, 0xea, 0x67, 0x02, 0xcf, 0x72, 0xdb, 0x23, 0xec, 0x7a, 0x84, 0x7d, 0x8f, 0xb0, 0x8a, 0x28, 0xb6, 0x11, 0xc5, 0x2e, 0xa2, 0xd8, 0x47, 0x14, 0xbf, 0x11, 0xc5, 0xfa, 0x0f, 0xe1, 0x7d, 0x34, 0x3c, 0xf6, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x08, 0x88, 0x49, 0x0e, 0x01, 0x00, 0x00, }<|fim▁end|>
func init() {
<|file_name|>0002_add_index_on_webhook_secret.py<|end_file_name|><|fim▁begin|># -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('telerivet', '0001_initial'), ] operations = [ migrations.AlterField( model_name='incomingrequest', name='secret', field=models.CharField(max_length=255, null=True, db_index=True), preserve_default=True, ),<|fim▁hole|><|fim▁end|>
]
<|file_name|>examples.py<|end_file_name|><|fim▁begin|># $Id$ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ This module contains practical examples of Docutils client code. Importing this module from client code is not recommended; its contents are subject to change in future Docutils releases. Instead, it is recommended that you copy and paste the parts you need into your own code, modifying as necessary. """ from docutils import core, io def html_parts(input_string, source_path=None, destination_path=None, input_encoding='unicode', doctitle=True, initial_header_level=1): """ Given an input string, returns a dictionary of HTML document parts. Dictionary keys are the names of parts, and values are Unicode strings; encoding is up to the client. Parameters: - `input_string`: A multi-line text string; required. - `source_path`: Path to the source file or object. Optional, but useful for diagnostic output (system messages). - `destination_path`: Path to the file or object which will receive the output; optional. Used for determining relative paths (stylesheets, source links, etc.). - `input_encoding`: The encoding of `input_string`. If it is an encoded 8-bit string, provide the correct encoding. If it is a Unicode string, use "unicode", the default. - `doctitle`: Disable the promotion of a lone top-level section title to document title (and subsequent section title to document subtitle<|fim▁hole|> promotion); enabled by default. - `initial_header_level`: The initial level for header elements (e.g. 1 for "<h1>"). """ overrides = {'input_encoding': input_encoding, 'doctitle_xform': doctitle, 'initial_header_level': initial_header_level} parts = core.publish_parts( source=input_string, source_path=source_path, destination_path=destination_path, writer_name='html', settings_overrides=overrides) return parts def html_body(input_string, source_path=None, destination_path=None, input_encoding='unicode', output_encoding='unicode', doctitle=True, initial_header_level=1): """ Given an input string, returns an HTML fragment as a string. The return value is the contents of the <body> element. Parameters (see `html_parts()` for the remainder): - `output_encoding`: The desired encoding of the output. If a Unicode string is desired, use the default value of "unicode" . """ parts = html_parts( input_string=input_string, source_path=source_path, destination_path=destination_path, input_encoding=input_encoding, doctitle=doctitle, initial_header_level=initial_header_level) fragment = parts['html_body'] if output_encoding != 'unicode': fragment = fragment.encode(output_encoding) return fragment def internals(input_string, source_path=None, destination_path=None, input_encoding='unicode', settings_overrides=None): """ Return the document tree and publisher, for exploring Docutils internals. Parameters: see `html_parts()`. """ if settings_overrides: overrides = settings_overrides.copy() else: overrides = {} overrides['input_encoding'] = input_encoding output, pub = core.publish_programmatically( source_class=io.StringInput, source=input_string, source_path=source_path, destination_class=io.NullOutput, destination=None, destination_path=destination_path, reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', writer=None, writer_name='null', settings=None, settings_spec=None, settings_overrides=overrides, config_section=None, enable_exit_status=None) return pub.writer.document, pub<|fim▁end|>